| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967 |
- 2007-03-10 Gert Driesen <[email protected]>
- * TextBox.cs: Set for foreground color.
- * TextBoxBase.cs: Remove Invalidate when setting BackColor, since
- this is already done in Control.
- 2007-03-10 Jackson Harper <[email protected]>
- * TextBox.cs: Set the background color, but reset the
- backcolor_set flag which is just for the user setting the
- background color.
- 2007-03-09 Chris Toshok <[email protected]>
- * Control.cs: really remove the call to XplatUI.SetVisible from
- CreateHandle(), like I said I did when I merged the branch.
- * BindingSource.cs: implement some more of this stuff.
- 2007-03-09 Jackson Harper <[email protected]>
- * TextBox.cs: Don't explicitly set our background colors.
- * TextControl.cs:
- * TextBoxBase.cs: Draw readonly text.
- - Need to invalidate when backcolor or readonly are changed.
-
- 2007-03-09 Jackson Harper <[email protected]>
- * TextBoxBase.cs: Don't set the forecolor until the handle is
- created.
- - Do not raise OnPaint, and removed some old debug code.
- 2007-03-09 George Giolfan <[email protected]>
- * ScrollableControl.cs: Fix mouse wheel scrolling.
- 2007-03-09 Jonathan Pobst <[email protected]>
- * Control.cs: Wire up MouseDoubleClick event.
- 2007-03-09 Jonathan Pobst <[email protected]>
- * ToolStrip.cs: Rework AutoSize to adjust height when docked to the
- top or bottom.
- * ToolStripItem.cs: Make Image drawing take ImageScaling into account.
- * ToolStripItemCollection.cs: Don't call owner.PerformLayout when a new
- item is added. This logic was moved to ToolStrip.OnItemAdded.
- [Fixes bug #81090]
- 2007-03-08 Carlos Alberto Cortez <[email protected]>
- * ListVieItem.cs: SetIndex is only valid for 2.0 profile by now.
- 2007-03-08 Jackson Harper <[email protected]>
- * TreeView.cs: Show the correct image for selected node (this used
- to work, not sure how the code got deleted). Also implemented 2.0 feature
- SelectedImageKey.
- 2007-03-08 Carlos Alberto Cortez <[email protected]>
- * ListView.cs:
- * ListViewItem.cs: Cache index in items when retrieving them
- in VirtualMode.
- 2007-03-08 Jonathan Pobst <[email protected]>
- * ToolStripItem.cs: Don't return the explicit_size if we are using
- AutoSize. Fixes invalidation issue when user has explicitly set a
- size and has AutoSize = true.
- 2007-03-08 Jonathan Pobst <[email protected]>
- * XplatUIX11.cs: Hardcode FrameBorderSize value temporarily to fix MWF.
- 2007-03-07 Pedro Martínez Juliá <[email protected]>
- * DataGridView.cs: Remove event handler from DataView when a
- DataTable is used as DataSource.
- 2007-03-08 Jonathan Pobst <[email protected]>
- * Control.cs: Create internal setter for client_size to allow it to be
- set without triggering resizing code.
- * Form.cs: Calculate client_size in constructor, only change client_size
- in FormBorderStyle property if Handle has been created.
- [Fixes #80574, #80791]
- 2007-03-08 George Giolfan <[email protected]>
- * SystemInformation.cs: Add TerminalServerSession.
- 2007-03-07 Jonathan Pobst <[email protected]>
- * TreeViewDrawMode.cs: Make internal for 1.1 to allow for consolidated
- TreeView code.
- 2007-03-07 Jonathan Pobst <[email protected]>
- * XplatUIWin32.cs: The no_activate stuff was forcing us to create a
- Handle before we were supposed to. Now checks ActivateOnShow property
- in Control.
- * Control.cs: Add internal ActivateOnShow property.
- * ComboBox.cs, Form.cs, MenuAPI.cs, ToolStripDropDown.cs: Return false
- for ActivateOnShow.
- * Hwnd.cs Remove no longer needed no_activate field.
- 2007-03-07 Jackson Harper <[email protected]>
- * TreeView.cs: Implement owner draw tree nodes. And a couple more
- 2.0 properties
- * DrawTreeNodeEventHandler.cs: Add
- * DrawTreeNodeEventArgs.cs: Correct default value.
-
- 2007-03-07 Chris Toshok <[email protected]>
- * XplatUIWin32.cs: create InternalWndProc so that we're guaranteed
- to be called before NativeWindow.WndProc. Put the HwndCreating
- magic there to hook up our Hwnd's to handles.
- 2007-03-07 Gert Driesen <[email protected]>
- * DataGridView.cs: Comment out debug code.
- 2007-03-07 Chris Toshok <[email protected]>
- [merge -r72718:73765 from mwf-handle-branch, and include 2 changes
- to make the rest of the world happy]
- * Control.cs (CreateHandle): there's no need to call
- XplatUI.SetVisible here, it's effectively done by
- XplatUI.CreateWindow on X now, and always was on windows.
- * XplatUIX11.cs (WaitForHwndMessage): only use the PostQuitState
- shortcircuit out of the loop if we have a message loop running on
- this thread.
- [Changelog from merge]
- 2007-03-05 Chris Toshok <[email protected]>
- * Control.cs (AccessibilityNotifyClients): turns out in 1.1 this
- causes handle creation.
- 2007-02-28 Chris Toshok <[email protected]>
- * ApplicationContext.cs: Add a flag to make sure we only raise the
- ThreadExit event once (ExitThreadCore can be indirectly called
- from a few places.) I don't like the additional flag, but it
- makes the event ordering/count correct.
- * Application.cs (MWFThread.LoopCount): don't use an enumerator
- without locking the collection. An enumerator doesn't give us any
- protection from modification anyway. Lock the thread hash and
- replace the complicated enumerator loop with a foreach.
- (Application.CloseForms): make internal so it can be called from
- ApplicationContext. This should probably be moved to MWFThread.
- (Application.ExitThread): don't call MWFThread.Current.Exit()
- here. just call XplatUI.PostQuitMessage. We'll exit the thread
- when the runloop exits (in response to WM_QUIT.)
- (Application.RunLoop): add a comment (and check) for
- context.MainForm being null after setting context.MainForm.Visible
- = true. This is because you're perfectly free to dispose of a
- form in VisibilityChanged. Chalk this up to another case where we
- need to synchronously generate WM_ACTIVATE from Control.Show.
- Also, add handling for WM_QUIT here so we'll exit the loop.
-
- * XplatUIX11.cs: clean up MapWindow and UnmapWindow a bit. The
- fact that we don't wait if we're only unmapping the whole_window
- makes me a bit nervous, but it doesn't seem to cause any problems
- yet.
- also, add a comment about the stupid, broken and wrong resetting
- of PostQuitState to false in GetMessage().
- In PostQuitMessage, we need to add a WM_QUIT message to the
- thread's queue. We use the FosterParent to get the right
- handle/hwnd/queue.
- Lastly, in SetVisible, we need to unmap both windows, since the
- waiting only happens when we're unmapping the client window. So
- now, the *only* time we unmap just the whole_window is in the hack
- for resizing a control to 0,0.
-
- 2007-02-21 Chris Toshok <[email protected]>
- * Application.cs (CloseForms): rewrite this so that we don't
- modify the list while we're traversing it.
- 2007-02-20 Chris Toshok <[email protected]>
- * ListBox.cs (.ctor): move the Control.AddImplicits here instead
- of OnHandleCreated.
- (HorizontalScrollEvent): only call XplatUI.ScrollWindow if the
- handle is created. otherwise we'll create it here.
- (VerticalScrollEvent): same here.
- * Application.cs (CloseForms): call Form.Dispose, don't post
- WM_CLOSE_INTERNAL.
- * Form.cs (WndProc): we don't need to use CLOSE_INTERNAL
- here. Application should Dispose() of the Form's.
- * XplatUIX11.cs (WaitForHwndMessage): break out of the loop on
- WM_DESTROY as well.
- (MapWindow,UnmapWindow): only actually do the waiting for
- SHOWWINDOW if the control we're dealing with is a Form.
- (CreateWindow): if the control isn't a form, SendMessage
- WM_SHOWWINDOW here (if the WS_VISIBLE style is set).
- * Control.cs (SetVisibleCore): always use is_visible here, not
- value. If we use value, we can end up re-setting something
- visible if, for instance, you do Control.Hide() in a delegate
- attached to VisibleChanged as we do in FormTest.ShowDialogTest.
- 2007-02-20 Chris Toshok <[email protected]>
- * XplatUIX11.cs (WaitForHwndMessage): we need to loop until we get
- the message we need. PeekMessage returning false should not be a
- condition under which we exit the loop.
- 2007-02-15 Chris Toshok <[email protected]>
- * Control.cs (Refresh): only refresh if we've got a handle and are
- visible.
- (CreateAccessibilityInstance): CreateControl() here.
- (UpdateChildrenZOrder): complicate the code loop even more by
- taking into account controls that haven't had their handle
- created, and those that aren't visible. But on the flip side,
- simplify the code by splitting it into two loops. one which
- builds up the list of child controls we're interested in, and the
- other that sets the z order of those children.
- 2007-02-14 Chris Toshok <[email protected]>
- * Control.cs: Control.AccessibilityObject causes the control to be
- created, not just the handle.
- 2007-02-14 Chris Toshok <[email protected]>
- * Control.cs: rework UpdateChildrenZOrder to correctly handle the
- problem on X where a window might have its handle created (and be
- visible) while the window is unmapped. calling XConfigureWindow
- on an unmapped window is bad, and generates X errors.
- 2007-02-13 Chris Toshok <[email protected]>
- * Control.cs (CreateHandle): don't loop over our children setting
- their parent here. do it when in WndProc when we're shown.
- (UpdateChildrenZOrder): make this internal so we can call it from
- ScrollableControl.
- (WndProc): for WM_SHOWWINDOW, reparent the child control after
- creating its handle. Also, remove the calls to PerformLayout from
- here. they're done in ScrollableControl.OnVisibleChanged. Also,
- OnVisibleChanged only seems to be called directly here for the
- toplevel control. It's propagated down the window hierarchy by
- calls to child.OnParentVisibleChanged.
- (OnVisibleChanged): don't do layout here - it's done (oddly
- enough, according to a glance at stack traces on ms.net..) in
- ScrollableControl.
-
- * ScrollableControl.cs (OnVisibleChanged): make sure we update the
- z order of our children before calling PerformLayout.
- 2007-02-12 Chris Toshok <[email protected]>
- [big change, fixes #80020]
-
- * AccessibleObject.cs: we need to make owner internal again to fix
- some of ControlAccessibleObject.
- * Control.cs: lots of changes here. add support for WM_CREATE,
- for which we generate OnHandleCreated. Remove the OnHandleCreated
- call from CreateHandle. Also add support for WM_SHOWWINDOW where
- we create child controls. leave the MonoTODO's for the
- accessibility calls, but fix the exceptions so the tests pass.
- Add the InvalidOperationExceptions to Invoke methods, and remove a
- couple of InvokeInternal methods we aren't using.
-
- Also, add a couple of CreateHandle calls in places where we know
- the handles are being created but our code doesn't reference
- .Handle.
- Make SetVisibleCore call OnVisibleChange if the handle isn't
- created. If the handle is created, we rely on XplatUI.SetVisible
- generating the event synchronously.
-
- Lastly, make sure we don't use this.Handle inside CreateHandle,
- because we can call back into client (and that code can dispose of
- the control).
- * XplatUIStructs.cs: misc/cleanup.
- * XplatUIX11.cs: Map/Unmap X events correspond to WM_SHOWWINDOW,
- although we don't populate the wParam properly.
- (CreateWindow): generate WM_CREATE.
- (MapWindow,UnmapWindow): make these calls synchronous, at great
- performance expense (particularly in the unmap case), to match
- win32 behavior.
- * Form.cs (.ctor): remove the call to UpdateBounds. we don't need
- to call it.
- (set_MdiParent): don't recreate the handle unless it's been
- created already.
-
- * MdiClient.cs (OnResize): don't InvalidateNC Parent.Handle unless
- it's created.
- * NativeWindow.cs: this is probably the weirdest part of the
- patch. We need a way to link up the window being created to the
- WM_CREATE message. Since we can only be creating one window at a
- time on a given thread, we keep track of a per-thread reference so
- we can dispatch it properly. We also need to keep track of the
- Hwnd currently being created so that the win32 backend doesn't
- have problems.
-
- * XplatUIWin32.cs: a similar change to the one we made in
- NativeWindow.cs.
- 2007-03-07 Jonathan Pobst <[email protected]>
- * ToolStripItem.cs: Make CalculatePreferredSize virtual.
- * ToolStripMenuItem.cs: Modify CalculatePreferredSize and OnPaint
- to draw the menu shortcut string.
- 2007-03-07 Jackson Harper <[email protected]>
- * TreeNode.cs: Add the 2.0 collapse method.
- 2007-03-07 Pedro Martínez Juliá <[email protected]>
- * DataGridViewColumn.cs: Fix HeaderText behaviour (Bug #80746).
- 2007-03-07 Pedro Martínez Juliá <[email protected]>
- * DataGridView.cs: Change DataSource will clear column and row
- lists. Call Invalidate() to reflect DataSource change.
- 2007-03-07 Pedro Martínez Juliá <[email protected]>
- * DataGridView.cs: Add rows when DataSource is System.Data.DataView
- and a new row is added to it.
- 2007-03-07 Pedro Martínez Juliá <[email protected]>
- * DataGridView.cs: Add columns when DataSource is en empty list but
- is a System.Data.DataView (from a System.Data.DataTable).
- 2007-03-06 Andreia Gaita <[email protected]>
- * Label.cs: Implement AutoEllipsis (2.0)
- 2007-03-06 Jackson Harper <[email protected]>
- * TreeView.cs: Implement 2.0 TopNode setter property.
- - Use a local var instead of the skipped_nodes field for computing
- how many nodes to skip. Otherwise we won't scroll because the
- valuechanged handler checks if skipped_nodes is equal to the new
- value.
- - Implement 2.0 Sort method.
- - Add useless 2.0 DoubleBuffer property
- - Implement 2.0 LineColors property. Lets you change the color of
- the lines in the tree. Terribly useful for creating non cohesive
- desktops.
- - Implement 2.0 image key feature.
- 2007-03-06 Jackson Harper <[email protected]>
- * TreeView.cs: We can't get the bounds of the nodes before raising
- the AfterSelect event, because that event could change the node's
- bounds (scrolling, font change, etc).
- 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
- * XplatUIWin32.cs: When faking styles don't remove the WS_VISIBLE flag.
- * Form.cs: Don't recreate handle when creating FormWindowManager, just
- update window styles. In CreateParams us VisibleInternal instead of
- VIsible to get the actual visible flag set for this form.
- * FormWindowManager.cs: Activate the form whenever the mouse clicks on
- the nc area. Fixes #81042. Also fix HandleTitleBarDoubleClick to
- handle the case when the form is already maximized, in which case
- it should be restored. Fixes #81043.
- 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
- * XplatUIX11.cs: Tool windows still get wm styles. Fixes toolwindows showing up with double decorations.
- 2007-03-05 Jackson Harper <[email protected]>
- * TreeViewHitTestInfo.cs: implement.
- 2007-03-05 Jackson Harper <[email protected]>
- * InternalWindowManager.cs: class status fix.
- 2007-03-05 Rolf Bjarne Kvinge <[email protected]>
- * InternalWindowManager.cs: All windows that have a parent
- are confined to their parent when they're being moved.
- Fixes #80822.
- 2007-03-04 Gert Driesen <[email protected]>
- * SystemInformation.cs: Marked KeyboardDelay and KeyboardSpeed public
- on 2.0 profile. Fixes bug #81018. Small code formatting fixes.
- 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
- * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations: Make all
- buttons invisible before deciding which ones should be visible
- (fixes minimize/maximize buttons showing up in toolwindows). Remove
- an unused variable.
- * InternalWindowManager.cs: Remove warning.
- 2007-03-02 Carlos Alberto Cortez <[email protected]>
- * ListView.cs: Add a check in ListViewItemCollection.RemoveAt
- to throw an InvalidOperationException is virtual mode is being used.
- 2007-03-02 Jonathan Pobst <[email protected]>
- * SplitContainer.cs, SplitterPanel.cs, StatusStrip.cs, TableLayoutPanel.cs,
- ToolStrip.cs, ToolStripContainer.cs, ToolStripContentPanel.cs,
- ToolStripControlHost.cs, ToolStripDropDownItems.cs, ToolStripItem.cs,
- ToolStripMenuItem.cs, ToolStripOverflowButton.cs, ToolStripPanel.cs,
- ToolStripPanelRow.cs, ToolStripProfessionalRenderer.cs, ToolStripSplitButton.cs,
- ToolStripStatusLabel.cs, ToolStripTextBox.cs: Corcompare work.
- 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
- * XplatUI.cs: Fixed returning driver.KeyboardSpeed instead of
- driver.KeyboardDelay from XplatUI.KeyboardDelay
- * XplatUIW in32.cs: Implemented KeyboardSpeed/KeyboardDelay properties
- (patch by Sergey Volk)
- 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
- * ToolWindowManager.cs: Added, contains logic for
- tool windows.
- * CreateParams.cs: Add a few helper methods and an
- internal variable to know which control the CreateParams belongs
- to.
- * Control.cs: Call Form.ChangingParent when the
- parent is about to be changed.
- * XplatUIX11.cs: DeriveStyles (): Set
- caption_height for all windows that have captions and are children.
- Update to use ToolWindowManager instead of InternalWindowManager
- for ToolWindows.
- * XplatUIWin32.cs: Set fake window styles for all
- windows that have window managers.
- * MdiWindowManager.cs: Added MaximizedTitleButtons (buttons are
- now duplicated for mdi windows when they are
- maximized, first for the buttons the window itself has, then for
- the buttons that appear in the menu bar. Makes things a little
- easier). Updated UpdateWindowDecorations, SetWindowState and the
- mouse eventhandlers accordingly.
- * Form.cs: Add ChangingParent (), contains the
- logic of what should happen when the parent changes. In MdiParent
- don't set things that ChangingParent () is doing. When handling
- WM_CLOSE, we can close the form if there are any other modal forms
- and the current form is a descendent of the modal form.
- * InternalWindowManager.cs: A lot of refactoring,
- the title buttons are now extracted to a separate container class
- that takes care of all button code (clicks, tooltips, etc). Moved
- Iconic|Maximized|Normal Bounds properties to this class from
- MdiWindowManager, so that the window state logic can succeed for
- other than mdi wm's. Implemented general window state change logic.
- Moved CreateButtons to ThemeWin32Classic, since the theme might
- override which buttons are available when as well as the exact
- location.
- * FormWindowManager.cs: Added, contains logic for
- normal forms.
- * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations now decides
- which buttons go where (and if they are at all visible).
- Removed special handling of maximized windows, since they aren't special.
- In DrawManagedWindowDecorations don't try to draw the text if it is
- empty.
- * MdiClient.cs: ArrangeIconicWindows: Don't calculate any sizes,
- use whatever the wm gives us.
- 2007-03-02 Jonathan Pobst <[email protected]>
- * ButtonBase.cs: Add 2.0 properties.
- * Button.cs: Override Draw for 2.0.
- * Control.cs: Add Entered and Selected properties.
- * FlatButtonAppearance.cs, TextFormatFlags.cs, TextImageRelation.cs,
- TextRenderer.cs: Make internal for 1.1 to unify drawing code.
- * Theme.cs: New abstract functions for drawing Standard, Flat, Popup
- buttons.
- * ThemeWin32Classic.cs: Implement layout calculations for 2.0 buttons.
- 2007-03-01 Jonathan Pobst <[email protected]>
- * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code. :/
- 2007-03-01 Jonathan Pobst <[email protected]>
- * XplatUIWin32.cs: Register a new class with Windows each time we get
- a new ClassStyle. [Fixes bugs #79432, #80817]
- * Controls.cs: Set the correct ClassStyle in CreateParams.
- * ToolStripDropDown.cs: Don't request an invalid ClassStyle.
- 2007-03-01 Gert Driesen <[email protected]>
- * ListView.cs: Add fireEvent argument to ReorderColumn since the
- ColumnReordered event must not be signaled when modifying DisplayIndex
- of a ColumnHeader. Added internal ReorderColumns method which takes
- care of drawing, and updating the internal DisplayIndex of the
- ColumnHeader. Added AddColumn method which is invoked from
- ColumnHeaderCollection when adding or inserting columns, and which
- ensures that reorder_columns_indices is kept in sync. Avoid redrawing
- after adding each ColumnHeader in ColumnHeaderCollection.AddRange.
- Recalculated dispay indices after removing a ColumnHeader.
- * ColumnHeader.cs: Save DisplayIndex separately from ListView to
- match MS. Allows last display index to be returned after ListView
- is disposed. Update actual location of ColumnHeader when DisplayIndex
- is modified.
- 2007-03-01 Everaldo Canuto <[email protected]>
- * LinkLabel.cs: Improve CalcTrimRectangle.
-
- * ThemeWin32Classic.cs: Fix some compilation problem under VS 2003.
- 2007-02-28 Everaldo Canuto <[email protected]>
- * LinkLabel.cs: Rename CalcMeasurementFactor as CalcTrimRectangle and
- get rectangle as a result value.
- 2007-02-28 Everaldo Canuto <[email protected]>
- * LinkLabel.cs: Theres some diferences between rectangle return from
- MeasureCharacterRanges and the area used for DrawString to fix this
- CalcMeasurementFactor method was created, it calcules the diferences
- to be use later to adjust rectangle in draw operations. Fixes #80473.
-
- * ThemeWin32Classic.cs: Use factor calculated by CalcMeasurementFactor
- to adjust draw rectangle.
- 2007-02-27 Everaldo Canuto <[email protected]>
- * ThemeWin32Classic.cs: In DrawLinkLabel draw focus rectangle before draw
- text and some other changes to reduce and optimize source code.
- 2007-02-27 Jonathan Pobst <[email protected]>
- * RadioButton.cs: Implement 2.0 event.
- * RelatedImageListAttribute.cs: Implement new class.
- 2007-02-27 Everaldo Canuto <[email protected]>
- * MenuAPI.cs: Change keynav_state before call SelectItem. Fixes #80901.
- 2007-02-27 Jonathan Pobst <[email protected]>
- * CheckBox.cs: Implement 2.0 functionality.
- 2007-02-27 Carlos Alberto Cortez <[email protected]>
- * ListView.cs: Refactor Add and AddRange methods of
- ListViewItemCollection, to not update the ListView
- everytime an item is added in AddRange. Also move the update
- code to a new CollectionChanged method, and call it
- from other methods that need it as well (this should also fix some
- bugs when Sorting is used).
- 2007-02-27 Jackson Harper <[email protected]>
- * TextControl.cs: Try to never let the caret stay in a non-text
- tag.
- * TextBoxBase.cs: Update the caret.
- 2007-02-26 Jonathan Pobst <[email protected]>
- * XplatUIStructs.cs: Add some convenience methods for POINT structure.
- * XplatUIWin32.cs: Add some convenience methods for RECT structure,
- delete POINT structure, duplicate of one in XplatUIStructs.
- * TextRenderer.cs: Use XplatUIWin32.RECT instead of UXTheme.RECT.
- 2007-02-26 Gert Driesen <[email protected]>
- * ListView.cs: Initialize LabelEditEventArgs after setting Text of
- edit box since otherwise the Label would immediately be set (even if
- the user did not modify the label). In OnKeyDown set Handled to true
- if Return or Escape was pressed. In ColumnHeaderCollection unlink
- columns that are to be removed. In ListViewItemCollection unlink items
- that are to be removed.
- 2007-02-24 Jonathan Pobst <[email protected]>
- * TextRenderer.cs: If we set a GDI clip region, we need to clear
- it when we are done. [Fixes bug #80949]
- 2007-02-23 Jonathan Pobst <[email protected]>
- * Form.cs: Wrap checking ShowWithoutActivation in a NET_2_0 block.
- 2007-02-23 Carlos Alberto Cortez <[email protected]>
- * ListView.cs: I forgot to commit the changes for ListView
- in my previous patch.
- 2007-02-23 Jonathan Pobst <[email protected]>
- * Clipboard.cs: Partially implement an overload of SetDataObject.
- * Form.cs: Implement ShowWithoutActivation.
- * XPlatUIWin32.cs: Fix for WM_SHOWNOACTIVATE for forms.
- 2007-02-23 Carlos Alberto Cortez <[email protected]>
- This is a first set of changes to make the Virtual mode works,
- by avoiding the retrieval of ListViewItem instances until
- draw time.
- * ListView.cs: Store item position in the ListView instead of the
- ListViewItem, this way we don't request the Bounds property of
- ListViewItem inside the ListView calculations, as well as cache the item
- size in item_size field. Store indexes instead of ListViewItem
- instances in the matrix used by icon view. Add a ItemMatrixLocation
- struct to hold the row and col info of the matrix info.
- * ListViewItem.cs: Don't store the location anymore, and only cache
- the rectangles for GetBounds. Use the ListView.GetItemLocation
- method to retrieve the actual location.
- 2007-02-23 Jonathan Pobst <[email protected]>
- * TextRenderer.cs: Add clipping support, thanks to George.
- [Fixes bug #80949]
- 2007-02-23 Gert Driesen <[email protected]>
- * ListViewItem.cs: Cancel label edit when item is removed from
- ListView.
- * ListView.cs: Move setting of focus to EndEdit. Fire BeforeLabelEdit
- event before the edit textbox is displayed. Added CancelEdit method
- which is used end to editing while ignoring the value set by the
- user. In EndEdit, set focus to ListView to avoid losing focus to
- other controls. In ListViewItemCollection.Clear, cancel editing of
- any of the items. In Remove, cancel editing of item being removed.
- Avoid udplicate code by modifing RemoveAt to invoke Remove.
- 2007-02-23 Gert Driesen <[email protected]>
- * FileDialog.cs: Update FSEntry when move is successful. Fixes
- bug #80948.
- 2007-02-23 Everaldo Canuto <[email protected]>
- * MainMenu.cs: Change Draw method to take care about MenuOrigin to be
- compatible with non X11 systems. Fixes #80901.
- 2007-02-23 Gert Driesen <[email protected]>
- * ListView.cs: Added bool argument to UpdateMultiSelection to specify
- whether the item should be unselected and reselect. We do no want this
- when we're starting to edit the label. Do not fire the
- SelectedIndexChanged event from ListView when its already been fired
- by modifying ListViewItem.Selected. Fixes bug #80943.
- 2007-02-23 Jonathan Pobst <[email protected]>
- * TextRenderer.cs: Previos commit logic was backwards.
- 2007-02-23 Jonathan Pobst <[email protected]>
- * TextRenderer.cs: Don't add padding on MeasureText if we were
- sent the NoPadding flag.
- 2007-02-23 Everaldo Canuto <[email protected]>
- * ThemeWin32Classic.cs: Invert order of drawing operation with DrawImage
- after DrawButton. To prevent image overlaps button borders SetClip and
- ResetClip added before and after draw image. Fixes #79129.
- 2007-02-23 Everaldo Canuto <[email protected]>
- * FolderBrowserDialog.cs: Use ClientSize instead of Size to specify
- window size, it fix problem when you run under win32 that theres
- Size diferent than ClientSize. Also fix controls size and positions
- to mimic Win32. Fixes #80837.
- 2007-02-22 Everaldo Canuto <[email protected]>
- * Form.cs: Handle WM_NCHITTEST and return HTMENU when point is on
- menu area to fix some problems for non X11 systems. Fixes #80613.
- 2007-02-22 Jackson Harper <[email protected]>
- * TreeNode.cs: When a node is expanded, set its is_expanded flag
- even if it doesn't have any children.
- 2007-02-22 Jackson Harper <[email protected]>
- * TreeView.cs: Calculate the top node 'on the fly', this
- eliminates issues where you need to click on the tree before
- scrolling it to get the top node computed correctly.
- * TreeNodeCollection.cs: We don't need to mess with the top node
- anymore.
- 2007-02-22 Jackson Harper <[email protected]>
- * DataGridViewRow.cs: Fix typo so height can actually be set.
- Patch by Peter Grimm.
- 2007-02-22 Gert Driesen <[email protected]>
- * FileDialog.cs: Fixed support for renaming files and directories.
- * ListView.cs: Do not lose focus when edit is canceled. Process
- Escape as regular key (to prevent closing of dialogs).
- 2007-02-22 Gert Driesen <[email protected]>
- * ListView.cs: Removed TODO for LabelEdit. Removed extra tabs and
- spaces. Changed spaces to tabs. Removed unnecessary init of bools.
- 2007-02-22 Gert Driesen <[email protected]>
- * FileDialog.cs: LabelEditEventArgs.Label now returns null when user
- did not modify label.
- * ListView.cs: Only set LabelEditEventArgs.Label if user actually
- modified the text. Reset Label when user presses Escape in edit mode.
- Move focus to ListView after having cancelled or finished editing the
- label.
- 2007-02-21 Gert Driesen <[email protected]>
- * ComboBox.cs: Removed unnecessary initializations. Marked items field
- private. Clear textbox when Text is set to null and SelectedIndex is
- already -1.
- * FileDialog.cs: Removed unnecessary initializations. Removed
- workarounds for ComboBox bugs that are now fixed. Modified
- DefaultExt, InitialDirectory and Title property to change null to
- zero-length string in getters. Avoid directly accessing fields.
- 2007-02-20 Jackson Harper <[email protected]>
- * TextControl.cs: Remove RecalAlignments call, that was some
- debugging leftovers.
- - Don't use the line indent when we shouldn't.
- * RichTextBox.cs: Add support for paragraph left indents.
- 2007-02-20 Rolf Bjarne Kvinge <[email protected]>
- * Control.cs: Fix BeginInvoke signature for 2.0 profile.
- Seems like the class status pages doesn't catch params differences.
- 2007-02-19 Gert Driesen <[email protected]>
- * ComboBox.cs: Removed extra tabs. Changes spaces to tabs.
- 2007-02-19 Gert Driesen <[email protected]>
- * ComboBox.cs: Setting Text should have no effect if item text of
- selected item exactly matches value. First lookup text using
- case-sensitive comparison, and fallback to case-insensitive comparison.
- FindString(Exact) returns -1 if search string is null. On 2.0 profile,
- allow startIndex to be last index. Changed ArgumentOutOfRangeException
- paramname to match MS. Restart from first item if string is not found
- after startIndex. Fixed paramname of ArgumentNullException that is
- thrown for null value in ObjectCollection.Contains.
- 2007-02-19 Everaldo Canuto <[email protected]>
- * XplatUIStructs.cs: WM_XXX UISTATE elements uncommented.
- 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
- * ListControl.cs: In SelectedValue use value.Equals to compare for
- equality instead of ==, otherwise it will fail for strings.
- Fixes #80794.
- 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
-
- * ComboBox.cs: Switch the order to ShowSelection and ActivateCaret,
- since the caret won't show up unless ShowSelection is true.
- Fixes #80795.
- 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
- * Application.cs: When disabling all forms but the main form, do not
- disable any descendants of the main form (such as mdi children or
- other parented forms). Fixes #80822 on Windows.
- * Form.cs: If we have a parent, set the WS_CHILD style.
- * Control.cs: Update the window styles if the control whose parent has
- changed is a form (the WS_CHILD style has to be switched).
- 2007-02-19 Everaldo Canuto <[email protected]>
- * XplatUIStructs.cs: MsgUIState structure added.
- 2007-02-18 Gert Driesen <[email protected]>
- * FileDialog.cs: Removed need for separate fileName field. On 2.0
- profile, do not check filename(s) for illegal character if filename(s)
- were set non-interactively but always check on 1.0 profile. Fixed NRE
- in DefaultExt and only strip off first leading dot. Improve exception
- message when invalid Filter is set. Do not ignore InitialDirectory if
- it does no exist. Store specified Title, and if empty use default
- title (depending on type of dialog). Added an internal DialogTitle
- property for retrieving dialog title. Fixed logic of displayed dir to
- more closely match MS. Avoid setting ComboBox.Text to a zero-length
- string as its buggy.
- * OpenFileDialog.cs: In OpenFile, throw ArgumentNullException if
- FileName is a zero-length string (it can never be null). Override
- DialogTitle property to set default title of dialog box.
- * SaveFileDialog.cs: Override DialogTitle property to set default
- title of dialog box.
- 2007-02-18 Gert Driesen <[email protected]>
- * FileDialog.cs: Modify default text of filename and filetype labels
- to match that of MS. Reset do_not_call_OnSelectedIndexChanged...
- after we've updated the SelectedIndex. Fixes part of bug #80887.
- * SaveFileDialog.cs: Set text of filetype label.
- 2007-02-16 Carlos Alberto Cortez <[email protected]>
- * LabelEditEventArgs.cs: New internal SetLabel method, to set the
- label field. Needed by latest Jackson's fixes for ListView.
- 2007-02-16 Andreia Gaita <[email protected]>
- * PrintPreviewControl/PrintPreviewDialog: Properly dispose of
- print preview images.
- 2007-02-16 Jackson Harper <[email protected]>
- * ListView.cs: Make AfterLabelEdit work correctly.
- * FileDialog.cs: After changing the name of the folder, we have to
- make sure that it is created, or that we pop up an error because
- it already exists.
- 2007-02-16 Jackson Harper <[email protected]>
- * X11Dnd.cs: Implement aliases on mime handlers, so things like
- System.String are mapped to text.
- - Handle dataobjects, getting all the possible formats out of them
- - We dont need the drag event args before we give feedback. This
- allows feedback cursors to be immediate before selections have
- been converted.
- 2007-02-16 Jackson Harper <[email protected]>
- * TextBoxBase.cs: Modified the method for inserting images to
- taking a line and position instead of tag and position.
- * RichTextBox.cs: Handle PngBlip data by inserting the png image
- into the RTF file.
- * TextControl.cs: Allow images to be inserted as the first tag of
- a line.
- - Fix some off by one issues when we assume the first tag is a
- text tag, not an image tag.
- 2007-02-15 Carlos Alberto Cortez <[email protected]>
- * ListView.cs: Set focus to ListView when ItemControl gets a
- WM_RBUTTONDOWN message, to mimic .Net behaviour.
- Fixes part of #80467.
- 2007-02-15 Rolf Bjarne Kvinge <[email protected]>
- * DateTimePicker.cs: Call RecreateHandle if the Format changes and
- validate Text input (if null or empty string reset Value to default
- value). Fixes #80830.
- 2007-02-14 Carlos Alberto Cortez <[email protected]>
- * ListView.cs: Set owner as null for columns and items when
- Dispose is invoked. Fixes #80607.
- 2007-02-14 Jonathan Pobst <[email protected]>
- * ToolStrip.cs: Allow LayoutStyle.Flow, make sure to call OnOpening when
- showing DropDowns, don't show a Grip when doing Flow layout.
- [This fixes the toolbox in PDN 2.72.]
- * ToolStripItem.cs: Add Anchor property and some internal properties to
- reduces needed changes to FlowLayout.
- * ToolStripOverflow.cs: Remove unused variable.
- * ToolStripSplitStackLayout.cs: If a ToolStripItem isn't visible, don't
- use it in the layout calculations.
- 2007-02-13 Everaldo Canuto <[email protected]>
- * ToolTip.cs: Add HotkeyPrefix.Hide to MeasureString format, it fix an issue
- reported in #79640.
-
- * ThemeWin32Classic.cs: Uses format for MeasureString in ToolTipSize to fiz
- size calculation.
- 2007-02-13 Everaldo Canuto <[email protected]>
- * ToolBar.cs, ToolBarButton.cs: Revert and remove HotkeyPrefix from
- MeasureString format, it can make button very large in some cases, it is
- strange but is what win32 do.
- 2007-02-13 Everaldo Canuto <[email protected]>
- * ToolBar.cs, ToolBarButton.cs: Uses format in MeasureString to fix string
- size calculation.
- * ThemeWin32Classic.cs: Set HotkeyPrefix in toolbar text format to fix text
- rendering, the value is based on MenuAccessKeysUnderlined.
- 2007-02-13 Everaldo Canuto <[email protected]>
- * Theme.cs: Change MenuAccessKeysUnderlined to "true" that is value used
- for most themes.
-
- * ThemeWin32Classic.cs: Override MenuAccessKeysUnderlined as false.
-
- * ThemeNice.cs, ThemeGtk.cs, ThemeClearlooks.cs: Remove always_draw_hotkeys
- and use MenuAccessKeysUnderlined instead.
- 2007-02-13 Andreia Gaita <[email protected]>
- * ContainerControl.cs: Focus fix for nunit treeview selection bug.
- A selected control would not get a Focus call if:
- - the default active control of the container is the same as
- the one that was selected
- - we are switching from one container to another
- Under these conditions, the container being selected already has
- an active_control, which is the same as the one being activated,
- so set_ActiveControl would always return and not send the Focus
- call. Fix to check if the currently active control of the container
- is actually focused.
- 2007-02-13 Jonathan Pobst <[email protected]>
- * StatusStrip.cs: Implement the spring layout.
- * ToolStripControlHost.cs: Make sure the hosted control's visibility
- always matches the host.
- * ToolStripItem.cs: Write a more accurate layout for TextBeforeImage
- and TextAfterImage.
- 2007-02-13 Andreia Gaita <[email protected]>
- * Control.cs: Code reorganization only.
- - Reorganize the WndProc cases so that each case has it's own handling method,
- to help with the no-line-numbering stack traces.
- - Formatting changes (it's vstudio's fault, really :p)
- 2007-02-13 Rolf Bjarne Kvinge <[email protected]>
- * MonthCalendar.cs: Switch to using Thread.CurrentCulture instead of
- Thread.CurrentUICulture to match DateTimePicker's (and MS)
- behaviour.
- 2007-02-12 Jackson Harper <[email protected]>
- * RichTextBox.cs:
- * TextBox.cs: By default we have a non multiline document
- - use the multiline property instead of the internal variable
- * TextBoxBase.cs: Treat multiline and non multiline the same in
- most places.
- - Use the documents multiline flag instead of tracking it ourself
- * TextControl.cs: Attempt at getting multiline to match MS
- behavior. Lines now track an offset, which is either their X or Y
- offset depending on whether or not we are in multiline mode.
- - Update all the methods to understand that lines have an X value.
- - Fix crash in Undo::Duplicate when empty lines are deleted.
- 2007-02-12 Everaldo Canuto <[email protected]>
- * Label.cs: CalcPreferredHeight and CalcPreferredWidth methods removed and
- code moved to properties PreferredHeight and PreferredWidth. It solve the
- all problems when preferred sizes must be recalculated. Fixes #80801.
- 2007-02-12 Everaldo Canuto <[email protected]>
- * Label.cs: Fix CalcPreferredHeight for 2.0 that must return only
- font height when compatible_text_rendering is false. Partially fix #80801.
- 2007-02-09 Gert Driesen <[email protected]>
- * Form.cs: Fixed typo in exception message. Fixes bug #80779.
- 2007-02-09 Gert Driesen <[email protected]>
- * Form.cs: Improved exception messages in ShowDialog.
- 2007-02-09 Gert Driesen <[email protected]>
- * PrintDialog.cs: On 1.0 profile, throw ArgumentException in RunDialog if
- PrinterSettins has not been set. On 2.0 profile, initialize PrinterSettings
- if not set. Fixes bug #80764. Avoid accessing current_settings field
- directly.
- 2007-02-08 Everaldo Canuto <[email protected]>
- * Theme.cs: An new property MenuAccessKeysUnderlined added with default value
- false.
- * SystemInformation.cs: An new property MenuAccessKeysUnderlined added, it is
- public in 2.0 and for easy maintenance and dont break compatibility it is
- internal in 1.1.
-
- 2007-02-08 Jonathan Pobst <[email protected]>
- * ToolStripItem.cs: Implement using images from ImageList.
- 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
- * DateTimePicker.cs: Change default date-formatting culture from
- CurrentThread.CurrentUICulture to CurrentThread.CurrentCulture,
- seems to be the way MS does it.
- 2007-02-08 Andreia Gaita <[email protected]>
- * PrintPreviewControl.cs: rewrite toolbar code to fix #80725. Correct 6-up image
- (the 6 was cut off on the right side)
- 2007-02-08 Jonathan Pobst <[email protected]>
- * Form.cs: Tell MenuStrips to close when the form is clicked.
- * MenuStrip.cs, ToolStrip.cs, ToolStripControlHost.cs,
- ToolStripDropDown.cs, ToolStripDropDownItem.cs, ToolStripItem.cs,
- ToolStripItemCollection.cs, ToolStripMenuItem.cs, ToolStripProfessionalRenderer.cs,
- ToolStripSplitButton.cs, ToolStripSplitStackLayout.cs: Add
- support for Overflow, where items that do not fit are automatically
- reparented to a drop down menu.
- * ToolStripOverflow.cs, ToolStripOverflowButton.cs: Added.
- Also: fixes bug #80747.
- 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
- * ComboBox.cs: Remove warning (unused code).
- * ScrollableControl.cs: Remove warning for 1.1 profile.
- 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
- * Form.cs: Remove a warning.
- 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
- * DateTimePicker.cs: Fixed a NRE if CustomFormat was null. Handles the
- 'g' specifier, not documented anywhere, but seems to always show up
- as a single space (might have something to do with the DateTime 'g'
- specifier, which is the era format, but since DateTimePicker can't
- go earlier than 1753 it wouldn't matter) . Fixed quote handling,
- won't crash if the format has an unmatched quote. Now shows
- single-character formats correctly. Fixes #80744.
- 2007-02-08 Jonathan Pobst <[email protected]>
- * StatusStrip.cs: Stretch property needs to call base.Stretch,
- not this.Stretch to fix stack overflow. [Fixes bug #80760]
- 2007-02-07 Chris Toshok <[email protected]>
- * ThemeWin32Classic.cs (DrawButtonBase): don't clear to the
- background color. it overwrites the background image we've
- already painted. Fixes #80599.
- 2007-02-07 Chris Toshok <[email protected]>
- * DataGrid.cs: return immediately from Edit() when there are no
- columns. Fixes #80662.
- 2007-02-07 Chris Toshok <[email protected]>
- * MessageBox.cs: fix #80625. don't always show the Help button in
- 2.0. use the displayHelpButton parameter to determine if we
- should show it. Also, make the internal show_help field private.
- 2007-02-07 Chris Toshok <[email protected]>
- * Control.cs (SetVisibleCore): check in the proposed patch for
- 80604, and set is_visible before calling CreateControl.
- 2007-02-07 Jonathan Pobst <[email protected]>
- * ListView.cs: UseCompatibleStateImageBehavior setter changed from NIEX to
- MonoInternalNote. This is added automagically by VS2005, so let's not crash
- on it.
- 2007-02-06 Everaldo Canuto <[email protected]>
- * MenuAPI.cs: hotkey_active internal field added, it is required because
- we need to know when hotkeys must be draw, before this change a keystate
- Navigating was used but we can have menu in navigating state without
- hotkeys. Fixes #80694.
-
- * ThemeWin32Classic.cs: Only draw hot keys when hotkey_active is true.
- 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
- * Control.cs: Handle WM_CAPTURECHANGED in 1.1 code as well, and change
- corresponding events and methods to be internal for 1.1 profile and
- public for 2.0 profile (required by SizeGrip).
- * Form.cs: Use SizeGrip as a virtual SizeGrip (and don't add it to the
- implicit control list). Don't set the size nor the location of the
- SizeGrip anymore as it's not needed.
- * SizeGrip.cs: Rewrote large parts, it now supports a virtual mode to
- draw directly on the captured control (fixes #80656). Removed
- ShowGrip (it wasn't used anywhere), redraw (always true), added
- GetDefaultSize and GetDefaultRectangle to calculate defaults.
- * ScrollableControl.cs: Make UpdateSIzeGripVisible internal so it can
- be called from SizeGrip.
- 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
- * Timer.cs: Throw ArgumentException if Interval <= 0.
- 2007-02-05 Jackson Harper <[email protected]>
- * TreeView.cs: We need to check scrollbar visibility when window
- visibility is updated, because non visible trees don't ever add
- scrollbars.
- * Cursor.cs: We want the override cursor to be reset to NULL when
- we set current cursor to the default cursor.
- 2007-02-05 Jackson Harper <[email protected]>
- * TextControl.cs: Don't have crlfs when we are non multiline.
- - Consolidate the line position.
- 2007-02-05 Jackson Harper <[email protected]>
- * X11Keyboard.cs: BACK+CTRL gets a special char code.
- 2007-02-03 Rolf Bjarne Kvinge <[email protected]>
- * XplatUIX11.cs: Implemented WM_CAPTURECHANGED support, we're now
- handling LeaveNotify->NotifyUngrab in order to send
- WM_CAPTURECHANGED. However sometimes the NotifyUngrab arrives late
- after calling XUngrabPointer, so we call WindowUngrabbed directly
- from UngrabWindow in order to send WM_CAPTURECHANGED immediately.
- * Control.cs: Handle WM_CAPTURECHANGED in order to raise
- MouseCaptureChanged correctly. Also create handles if changing
- Capture (matches MS behaviour).
- 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
- * SizeGrip.cs: Make the last change 2.0 only.
- 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
- * SizeGrip.cs: If resizing and the capture is lost, revert any size
- changes to initial size (fixes #80597).
- 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
- * SizeGrip.cs: Use the normal icon for SizeGrip if it is disabled.
- 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
- * SizeGrip.cs: Only draw sizegrip if enabled (but always draw
- background) and only allow dragging if enabled. This way the
- sizegrip can be used to fill the open square that otherwise would
- have been shown in the bottom right corner of ScrollableControl
- when ScrollableControl is not suppose to support sizing.
- * ScrollableControl.cs: Create UpdateSizeGripVisible to decide when the
- sizegrip is shown and enabled, and hook up with necessary events.
- 2007-02-01 Chris Toshok <[email protected]>
- * DataGridTextBoxColumn.cs: clean up the
- GetFormattedString/GetColumnValueAtRow combination of functions.
- Also fix UpdateUI, and the initial state of
- IsInEditOrNavigateMode.
- * DataGridTextBox.cs: don't chain up to base.OnMouseWheel - we
- aren't supposed to scroll the textbox here, we're supposed to
- scroll the datagrid.
- 2007-02-01 Chris Toshok <[email protected]>
- * ComboBox.cs: use vscrollbar_ctrl.Dock instead of explicitly
- setting the position.
- 2007-02-01 Chris Toshok <[email protected]>
- * DataGrid.cs (OnLeave): we can now do the CancelCurrentEdit thing
- here, since the most recent focus fixes keep us from generating
- the Leave event when our textbox gets focus.
- (Edit): we should be passing null for the column style's
- instantText parameter.
-
- 2007-02-01 Jonathan Pobst <[email protected]>
- * ToolStripDropDownItem.cs: Make sure DropDownOpening event is
- raised. Fixes menu text/icons not showing up in PDN.
- 2007-02-01 Rolf Bjarne Kvinge <[email protected]>
- * Control.cs: Remove code in constructor that makes every
- control with WS_CHILD set have initial location -1, -1.
- 2007-01-31 Jackson Harper <[email protected]>
- * X11Dnd.cs: Take the keyboard on init to reduce coupling with
- XplatUIX11.
- * XplatUIX11.cs: Give teh keyboard to teh dnd.
- 2007-01-31 Jackson Harper <[email protected]>
- * X11Dnd.cs: Use IDataObject instead of the DataObject class.
- - Remove some debug code.
- 2007-01-31 Jackson Harper <[email protected]>
- * XplatUIX11.cs: If you set the override cursor during a grab, it
- should actually override the grab cursor. This comes into play
- when you are setting custom cursors in a DND feedback method.
- 2007-01-31 Jackson Harper <[email protected]>
- * X11Dnd.cs: Add support for handling the QueryContinue and
- GiveFeedback events.
- - Cancel drag and drop actions when the escape key is clicked.
- * XplatUIX11.cs: Let the dnd subsystem get key events, so that it
- can handle the ESCAPE key.
- - Allow dnd to swallow BUTTONUP messages if it needs to. This is
- done when dnd events are continued after the button is released.
- - Add a new helper method so that dnd can translate key events.
- 2007-01-31 Alexander Olk <[email protected]>
- * FileDialog.cs: Rewrite of Jacksons OnClickCancelButton patch to
- make it more obvious what is happening.
- 2007-01-30 Jackson Harper <[email protected]>
- * XplatUIX11.cs: Don't break when handling button release in drag
- and drop operations. We need that BUTTONUP message to get through
- so capture is released.
- * X11Dnd.cs: We don't need to manually grab the pointer anymore,
- this is handled automatically when the mouse is down.
- 2007-01-30 Jackson Harper <[email protected]>
- * FileDialog.cs: OnClickCancelButton gets called whenever the dialog
- is closed, so we need to make sure that we aren't changing the
- dialog result when the OK (Open or Save) button has been clicked
- and we are closing the window ourselves. Note we don't need to
- worry about the cache being written in this case, because it was
- already done in the previous FilOk call.
- 2007-01-30 Rolf Bjarne Kvinge <[email protected]>
-
- * DateTimePicker.cs: Remove a warning.
- * ComboBox.cs: Remove a couple of warnings.
- 2007-01-29 Chris Toshok <[email protected]>
- * XplatUIX11.cs: don't crash, and remove the icon if the user has
- set one, if SetIcon is passed a null icon.
- 2007-01-29 Andreia Gaita <[email protected]>
- * TextBox.cs: Redraw when the password characters changes
- * TextControl.cs: Check if textbox has a password char and draw
- a line of password chars instead of the text in the line. LineTag gets
- an extra Draw() method which allows document.Draw to override the text
- that will be drawn. Removes 1024 char limitation on length of passworded
- lines.
- 2007-01-29 Jackson Harper <[email protected]>
- * TextBoxBase.cs: Deleting sections of text is undoable. Deleting
- single chars is not.
- 2007-01-28 Jonathan Pobst <[email protected]>
- * TextRenderer.cs: Fix cutting off the bottom of letters like "j" by
- one pixel. Fix a StackOverflowException caused by an overload wrongly
- calling itself.
- 2007-01-26 Everaldo Canuto <[email protected]>
- * MenuAPI.cs: Fixed kerboard grab problem when "enter"key is pressed,
- also remove ProcessArrowKey and put the code inside ProcessKeys.
- 2007-01-26 Jonathan Pobst <[email protected]>
- * PaddingConverter.cs: Added.
- 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
-
- * ThemeWin32Classic.cs: Only draw the text of a StatusBar if
- ShowPanels is false (fixes #80600). Only draw up to 127 characters
- of text (fixes #80601). For panels clip the text to draw to the
- panel (fixes #80603).
- 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
- * ComboBox.cs: Fixed implementation of ResetText.
- 2007-01-25 Jackson Harper <[email protected]>
- * TextControl.cs: For the last char of a line we need to use the
- line size, not that chars width, since it won't actually be
- computed since the right side of a char is based on the start of
- the left side of the next char, and the next char does not exist.
- 2007-01-25 Chris Toshok <[email protected]>
- * Splitter.cs: fix the new unit tests, and reindent some switch
- statements.
- 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
- * ComboBox.cs: Implemented 2.0 methods and events.
- * TextBoxBase.cs: Added OnTextUpdate, so that
- ComboBox.ComboTextBox can inform ComboBox of it.
- 2007-01-25 Jackson Harper <[email protected]>
- * TextControl.cs: Respect ShowSelection when deciding whether or
- not to display the caret, this allows comboboxes to have carets
- when the combotextbox does not have focus.
- 2007-01-25 Jackson Harper <[email protected]>
- * TextControl.cs: Add a Suspend/Resume for updating, basically the
- same as the Suspend/Resume for recalc, except this will do actual
- Invalidates.
- - New Undo manager, works much like the MS version.
- - Implemented Redo
- * TextBoxBase.cs: The Cut operation is undoable.
- 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
-
- * TextBoxBase.cs: Don't antialias text. Makes it look way better
- on Windows (no difference on Linux).
- 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
- * XplatUIWin32.cs: Set SWP_NOACTIVATE in RequestNCRecalc as well,
- we don't want to activate any windows. Fixes #79433.
- 2007-01-25 Jonathan Pobst <[email protected]>
- - ButtonBase.cs: Fix capitalization of parameter: disposing.
- [Fixes bug #80609]
- 2007-01-25 Alexander Olk <[email protected]>
- * FileDialog.cs:
- - Move to using System.ComponentModel.EventHandlerList
- - Replace Refresh with Invalidate
- - Clear the mime filecache on closing
- - Some other memory reducing work. After beeing closed FD now uses
- only about 300 KB for the fdo mime stuff plus the memory of the
- cached icons.
- * Mime.cs: Changed coding style and removed unnecessary commented
- code. Some more memory memory reducing work.
- 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
- * ComboBox.cs: Implemented FlatStyle and DropDownHeight, and added
- a few other missing 2.0 properties.
- * Theme.cs: Added DrawFlatStyleComboBox.
- * ThemeWin32Classic.cs: Implemented DrawFlatStyleComboBox.
- 2007-01-24 Chris Toshok <[email protected]>
- * XplatUIX11.cs: fix the wake_waiting logic - we always clear the
- wake_waiting flag, not just when there's data to be read. if we
- don't, then future wakeup's won't reach us and we'll be doomed to
- wait for the entire 1 second timeout forever (unless there are X
- events to be had).
- 2007-01-24 Jonathan Pobst <[email protected]>
- * ComboBox.cs: FindStringExactMaxException doesn't throw AOORE on 2.0
- until you pass Items.Count, not Items.Count - 1 like 1.1.
- 2007-01-24 Gert Driesen <[email protected]>
- * ColumnHeader.cs: Fixed ParamName in ArgumentOutOfRangeException.
- 2007-01-24 Jonathan Pobst <[email protected]>
- * ToolStripContainer.cs: The recent Dock fix exposed that I was
- adding the panels in the wrong order.
- 2007-01-24 Jackson Harper <[email protected]>
- * TextBoxBase.cs: When we move the caret we also need to move the
- selection, this fixes some random crashing after doing select
- text, unselect, delete a char, paste.
- 2007-01-24 Rolf Bjarne Kvinge <[email protected]>
- * Form.cs: Update SizeGrip's location even if it's not visible (fixes #80592).
- 2007-01-23 Everaldo Canuto <[email protected]>
- * Control.cs: In OnParentBackgroundImageChanged remove conditions to call
- OnBackgroundImageChanged, it mimics win32 behavior. Fixes #80553.
- * ToolBar.cs: Force redraw in BackgroundImageChanged.
- 2007-01-23 Everaldo Canuto <[email protected]>
- * ToolBar.cs:
- - Implement support for vertical toolbars. Fixes #80539;
- - Call LayoutToolBar when resize, it fix some other problems in layout.
- - Rename requested_height to requested_size, as we can have width on it
- when toolbar is vertical.
- - Create a private property "Vertical" that uses Dock to verify when
- toolbar is vertical or not.
- - Set ControlStyles when change Dock property.
- - Refactory in LayoutToolBar to have better variables names and to support
- vertical toolbars.
- - Fixes default value for ButtonSize when button count is equal zero, size
- must be (39, 36) test case writed.
- 2007-01-23 Chris Toshok <[email protected]>
- * Control.cs: fix the checks so that they work correctly for mdi
- parents/children.
- 2007-01-23 Chris Toshok <[email protected]>
- * Control.cs: ControlCollection seems to have super-secret
- abstraction breaking knowledge of Mdi containers. allow MdiClient
- to add toplevel controls.
- 2007-01-23 Chris Toshok <[email protected]>
- * Control.cs: throw an ArgumentException if a toplevel control is
- added to our control collection from ControlCollection.Add, as
- well as from ControlCollection.IList.Add. This fixes the
- ControlSetTopLevelTest.TestTopLevelAdd unit test.
- Also, in ControlCollection.IList.Add, don't through an
- ArgumentNullException, throw an ArgumentException, when value ==
- null. This matches MS.
- 2007-01-23 Chris Toshok <[email protected]>
- * BindingSource.cs: initial, incomplete, implementation of
- BindingSource.
- 2007-01-23 Jackson Harper <[email protected]>
- * TextControl.cs:
- * TextBoxBase.cs: Checking in some pieces of the undo stuff so
- that I can fix a broken unit test (TextBoxTest::ClearUndo)
-
- 2007-01-23 Everaldo Canuto <[email protected]>
- * ToolBar.cs: Add status fields to ToolBarButtonInfo.
- 2007-01-23 Andreia Gaita <[email protected]>
- * TreeNode.cs: Add new 2.0 ImageKey and SelectedImageKey properties.
- * TreeNodeCollection.cs: New Add() methods, ContainsKey and
- IndexOfKey() for 2.0
- 2007-01-23 Rolf Bjarne Kvinge <[email protected]>
- * XplatWin32.cs: In RequestNCRecalc call SetWindowPos with SWP_NOZORDER
- to prevent it from changing z-order.
- * MdiWindowManager.cs: Refactor part of SetWindowState to MdiClient, only
- leave UI updates in MdiWindowManager.
- * InternalWindowManager.cs: Check for 0 sized nc areas and make them
- 1 sized (NC handling goes weird on Linux otherwise).
- * MdiClient.cs: Add missing ExStyle (WS_EX_CLIENTEDGE), so it's no longer
- necessary to handle WM_NCCALCSIZE anymore. This also made it possible to
- remove a few NCRequestRecalcs. Changed calculations in IconicBounds
- to use ClientSize of MdiClient instead of entire size. Refactored ActivateChild
- and SetWindowState(s) to allow for changing the size of an activated child
- before activating it (reduces a lot of flicker).
- 2007-01-22 Jonathan Pobst <[email protected]>
- * Form.cs: Changing FormBorderStyle has different semantics based
- on whether the Form is visible or not. If not visible, don't change
- the Size. But InvalidateNC needs to be called to force the window
- to pick up the changes and redraw itself. [Fixes bug #80574]
- 2007-01-22 Jonathan Pobst <[email protected]>
- [Moma work]
- * ContainerControl.cs: ProcessCmdKey.
- * ErrorProvider.cs: new constructor.
- * Form.cs: fix AutoValidateEvent compiler warning.
- * Label.cs: fix OnAutoSizeChanged compiler warning.
- * MenuStrip.cs: fix CanOverflow compiler warning.
- * TabControl.cs: SelectTab, OnSelected methods, Selected event.
- * TextBox.cs: Dispose.
- * ToolStrip.cs: CanOverflow, re-enable double buffering.
- * ToolStripControlHost.cs: fix CausesValidation compiler warning.
- * ToolStripDropDown.cs: fix ContextStripMenu compiler warning.
- * ToolStripItem.cs: Overflow, RightToLeft properties.
- 2007-01-22 Rolf Bjarne Kvinge <[email protected]>
- * Form.cs: Move the layout of the main form to MdiWindowManager.
- * MdiWindowManager.cs: If WindowState changes from or to Maximized,
- do a layout of the main window to update MdiClient's client area to
- the right area. Fixes #80533. Remove the calculation of nc size,
- it was just wrong and the correct one is the same as for
- InternalWindowManager.
- 2007-01-20 Jonathan Pobst <[email protected]>
- * Control.cs: Setting Anchor or Dock needs to reset the other
- to its default. [Fixes bug #80556]
- 2007-01-20 Chris Toshok <[email protected]>
- * CheckedListBox.cs: class status changes.
- * ScrollableControl.cs: same.
- * RichTextBox.cs: same.
- * ContainerControl.cs: same.
- * ListView.cs: same.
- * NotifyIcon.cs: same.
- * MenuStrip.cs: same.
- * RadioButton.cs: same.
- * CheckBox.cs: same.
- * PrintPreviewDialog.cs: same.
- * Form.cs: same.
- 2007-01-19 Jonathan Pobst <[email protected]>
- * TreeNode.cs: Apply Alan's patch for Name property.
- 2007-01-19 Rolf Bjarne Kvinge <[email protected]>
-
- * Form.cs: Implemented SizeGripStyle.
- * SizeGrip.cs: Check for minimum and maximum size for the
- control being resized and only resize if size has actually
- changed.
- 2007-01-19 Chris Toshok <[email protected]>
- * DataGridColumnStyle.cs: stop setting _readonly in the
- PropertyDescriptor setter. fixes a unit test failure.
- also, rename ParentReadOnly to TableStyleReadOnly, and have it
- just consult our table style (if we have one). We don't need to
- consult the datagrid readonly attribute because that's passed in
- as the _ro arg to Edit. this simplifies things a little.
-
- * DataGrid.cs: use CurrentColumn instead of
- current_cell.ColumnNumber just to simplify some of the code.
- switch the order of some things in the CurrentCell setter to keep
- the previous cell from getting a textbox again -
- EnsureCellVisibility causes scrolling to happen, which calls Edit.
- So we need to set the new cell before calling it.
-
- call Edit in OnEnter, as does Microsoft.
-
- also, make sure the current table style isn't the one we create
- initially when checking to see if it's different than the one
- we're setting it to in BindColumns (this fixes #80421).
- * GridTableStylesCollection.cs: table styles can have "" for a
- mapping name. part of the fix for #80421.
- * DataGridTextBoxColumn.cs: simplify the readonly calculation in
- Edit significantly.
- 2007-01-18 Jonathan Pobst <[email protected]>
- * TextRenderer.cs: Rewrote to be complete-er, more MS-matching-er,
- and less GDI object leaky-er.
- 2007-01-18 Andreia Gaita <[email protected]>
- * LinkLabel.cs: Add opaque control style
- 2007-01-18 Jackson Harper <[email protected]>
- * TextControl.cs: Calculate width properly.
- - Don't store the tag's X offset, this can be figured out very
- easily.
- - When getting the caret tag make sure to get the last empty tag.
- 2007-01-18 Jonathan Pobst <[email protected]>
- * Form.cs: Recalculate our size after setting a new FormBorderStyle.
- [Fixes bug #79959]
- * Control.cs: Color.Empty shouldn't count for previous transparent
- redraw changes.
- 2007-01-18 Jackson Harper <[email protected]>
- * TextBox.cs:
- * RichTextBox.cs:
- * TextControl.cs: Starting to merge in some pieces of my older
- undo work. Basically just some slight cleanup of the undo API.
- 2007-01-18 Rolf Bjarne Kvinge <[email protected]>
- * TrackBar.cs: Fix signature of RightToLeftLayout.
- * StatusBar.cs: Implemented missing 2.0 methods and attributes.
- * StatusBarPanel.cs: Implemented missing 2.0 methods and attributes.
- * Application.cs: Implemented UseWaitCursor.
- 2007-01-18 Jackson Harper <[email protected]>
- * TextControl.cs: We can't skip tags if any part of the tag is
- visible.
- 2007-01-18 Jonathan Pobst <[email protected]>
- * ContainerControl.cs: Override OnLayout.
- 2007-01-18 Jonathan Pobst <[email protected]>
- * NotifyIcon.cs: Add ContextMenuStrip and Tag properties.
- * ContextMenuStrip.cs: Make sure context menu is shown on top of
- everything else.
- 2007-01-18 Chris Toshok <[email protected]>
- * ContainerControl.cs: remove the partial handling of LBUTTONDOWN
- (leftover from the container_selected days, I'd wager). fixes bug
- #80546.
- 2007-01-18 Jonathan Pobst <[email protected]>
- * Control.cs: Apply patch from George to fix the new testcase on
- bug #80451. We can't just check for Color.Transparent, we need
- to check if the back color's alpha channel is < 255.
- 2007-01-18 Jonathan Pobst <[email protected]>
- * Form.cs: Move setting show_icon = true to before the constructor
- so that the base constructor has that information when it calculates
- the form's size. Was causing forms to be (6, 6) bigger than they
- were supposed to be. Thanks for catching this Rolf!
- 2007-01-18 Jackson Harper <[email protected]>
- * TextControl.cs: When replacing a selection we need to invalidate
- from the initial selection start, because selection start is moved
- to the end of the replacement.
- 2007-01-18 Andreia Gaita <[email protected]>
- * LinkLabel.cs: Missing ControlStyles. Fixes #80482
- 2007-01-18 Chris Toshok <[email protected]>
- * DataGridTextBoxColumn.cs: fix most of the NotWorking unit tests
- I just added.
- 2007-01-17 Everaldo Canuto <[email protected]>
- * ToolBar.cs: Add layout methods to ToolBarButtonInfo class, every
- layout methods and properties from ToolBarButton must be available
- into ToolBarButtonInfo.
- 2007-01-17 Jonathan Pobst <[email protected]>
- * Control.cs: If the control has a transparent background, we
- need to refresh it when it moves and when it's parent's background
- image changes. [Fixes bug #80451]
- 2007-01-17 Jonathan Pobst <[email protected]>
- * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code! Doh!
- 2007-01-17 Jonathan Pobst <[email protected]>
- * XplatUIWin32.cs: Implement proper double buffering for Windows.
- [Fixes bug #80447, and probably speeds up things as well]
- 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
- * XplatUIX11.cs: Caption height for MDI children is 19, not 26.
- * XplatUIWin32.cs: We need to recalculate NC size after changing
- window style to toolwindow (otherwise the client rectangle will be
- 3 pixels to small for some reason).
- * MdiWindowManager.cs: Revert NC size calculations to match how
- they are calculated only based on window styles (to match
- Win32AdjustWindowRectEx, since otherwise when setting size or
- location, Control will call Win32AdjustWindowRectEx to update client
- size, which would provoke a paint, then we'd get a NCCALCSIZE and
- calculate a different value of client size causing another paint
- (and flickering))
- * InternalWindowManager.cs: When moving or resizing a window only
- update size or location if they actually changed.
- * ThemeWin32Classic.cs: ManagedWindowsBorderWidth is now 4 instead of 3
- (seems to match Windows behaviour better). Cleaned up
- ManagedWindowDecorations to draw what's needed and nothing else
- (was drawing borders and lines where they shouldn't be)
- * Hwnd.cs: GetWindowRectangle now knows about MDI border sizes
- (style = 0xFFFF) and takes into account caption height when
- calculating window rectangle.
- 2007-01-16 Everaldo Canuto <[email protected]>
- * ToolBar.cs: Internal ToolBarButtonInfo class added, Because same button
- can be added to toolbar multiple times, we need to maintain a list of
- button information for each positions.
- 2007-01-16 Everaldo Canuto <[email protected]>
- * ToolBar.cs: Some small stetic changes.
- 2007-01-16 Jackson Harper <[email protected]>
- * TextBoxBase.cs: Use the new SuspendRecalc/ResumeRecalc methods
- that allow us to have nested recalc = false blocks.
- - Add paste support for images in the RichTextBox
- * RichTextBox.cs: flush the text after the color is changed, so
- the change takes effect.
- - Use SuspendRecalc
- - Some extra debugging info
- * TextControl.cs: Tags no longer track their length, it is just
- computed from the next tags length, this makes things a little
- simpler and reduces places that we have to track length changes.
- - Refactored the linetag class a little so we could make it
- a base class for different kinds of tags
- - Created a image tag, a tag that can have a single image inserted
- into it
- - Replace the norecalc flag with a Suspend/Resume Recalc pair, so
- that we can call suspend multiple times.
- - Add some debugging methods
- 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
- * MdiClient.cs: Add ActivatePreviousChild for
- mdi child window navigation.
- * Form.cs: Use MdiClient.ActivateNextChild/
- ActivatePreviousChild instead of Form.SelectNextControl
- to select the next/previous child since
- SelectNextControl doesn't do it in the same order
- as mdi children should do it.
- 2007-01-16 Chris Toshok <[email protected]>
- * Control.cs: remove container_selected field.
- 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
- * MdiClient.cs: Update main form's ActiveChild when
- updating keyboard focus for the mdi child.
- 2007-01-16 Jonathan Pobst <[email protected]>
- * Control.cs: PreferredSize fix.
- * Form.cs: Add several 2.0 events, properties, and methods.
- 2007-01-16 Gert Driesen <[email protected]>
- * Form.cs: Provide meaningful message when MdiParent is assigned a
- Form that is not an MdiContainer.
- 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
- * MdiClient.cs: Update main form's ActiveChild when
- activating a mdi child.
- 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
- * MdiWindowManager.cs: Fix NRE when merging menus and main form
- doesn't have a menu.
- * Form.cs: Request NCRecalc after creating a mdi child window.
- Implement mdi key handling (Ctrl+F4, Ctrl+Shift+F4, Ctrl+Tab,
- Ctrl+Shift+Tab, Ctrl+F6 and Ctrl+Shift+F6).
-
- * MdiClient.cs: Add new method SendFocusToActiveChild that either
- sends keyboard focus to the active child, or to the MdiClient
- if there are no child forms.
-
- 2007-01-15 Chris Toshok <[email protected]>
- * ListView.cs: drop the *Internal overrides, just do our work in
- ItemControl's WndProc instead.
- * UpDownBase.cs: a few large changes. Fix up the Selectable state
- of the various controls, and forward the events properly (in the
- same manner as MS) from the textbox to the UpDown. Also the
- ActiveControl of the UpDownBase gets set properly now. Finally,
- we don't call UpdateEditText from the ctor. Fixes bug #79957.
- * NumericUpDown.cs: set Text in the ctor.
- * DomainUpDown.cs: call UpdateEditText in the ctor.
-
- * TextBox.cs: on ms.net, WM_LBUTTONDOWN sets focus on the textbox,
- so even a Selectable = false textbox can be focused if you click
- in it. Go figure.
- * Control.cs: remove On{Got,Lost}FocusInternal. Subclasses can
- just add their handling in their respective WndProc's. Also add
- an explicit FocusInternal method that doesn't consult CanFocus
- before calling Select(this).
- * TextBoxBase.cs: deal with removal of the FocusInternal calls -
- do our work in WndProc instead.
- * TabControl.cs: same.
- * ComboBox.cs: same.
- 2007-01-15 Everaldo Canuto <[email protected]>
- * Menu.cs: implement MergeItems and Replace for MenuMerge method.
- Fixes #80006.
- 2007-01-15 Carlos Alberto Cortez <[email protected]>
- * ListViewItem.cs:
- * ThemeWin32Classic.cs: Don't draw the item text outside
- item bounds in Details view, as well as use trimming.
- Fixes bug #80376.
- 2007-01-15 Jonathan Pobst <[email protected]>
- * Form.cs: Implement Form.ShowIcon.
-
- * XplatUIWin32.cs: Allow the SetIcon win32 call to set the icon to
- null, which when combined with the DlgModalFrame window style removes
- the icon from the title bar.
- 2007-01-15 Jonathan Pobst <[email protected]>
- * Control.cs: Call OnMouseClick after OnClick. (2.0)
- 2007-01-15 Everaldo Canuto <[email protected]>
- * MdiWindowManager.cs: In CreateMaximizedMenu fix a position of icon
- menu when mdi child windows theres a menu, uses insert to get icon
- at first position. Partially fix #80006.
- 2007-01-15 Jonathan Pobst <[email protected]>
- * Clipboard.cs: Implement 2.0 methods.
- 2007-01-15 Everaldo Canuto <[email protected]>
- * Menu.cs: Implement Insert method of MenuItemCollection class
- to fix MenuMerge.
- 2007-01-14 Carlos Alberto Cortez <[email protected]>
- * ListView.cs: Implement 2.0 FindItemWithText method.
- 2007-01-11 Everaldo Canuto <[email protected]>
- * Form.cs: When process WM_NCCALCSIZE message use ClienSize.Width
- to calculate menu bar size. Fixes #80290.
- 2007-01-11 Everaldo Canuto <[email protected]>
- * ThemeWin32Classic.cs: Fix position of menuitem check mark.
- 2007-01-11 Chris Toshok <[email protected]>
- * XplatUIX11.cs: don't send duplicate WM_ACTIVATE messages to the
- initial form.
- 2007-01-11 Chris Toshok <[email protected]>
- * LinkLabel.cs: make sure to call base.Select in our Select method
- if it turns out we're going to be selected (i.e. if we have a link
- that is going to receive focus). That way our container's
- ActiveControl is updated properly.
- 2007-01-11 Chris Toshok <[email protected]>
- * LinkLabel.cs: turns out that LinkLabels are only Selectable if
- they have 1 or more links. this fixes the crash gert reported.
- 2007-01-11 Andreia Gaita <[email protected]>
- * ContainerControl.cs: Remove ContainerSelected flag, not needed
- anymore.
- * Control.cs (Controls.Add): Check if control to be added to the collection
- is a top level control, and throw an ArgumentException if it is.
- Remove ContainerSelectedFlag, not needed anymore.
- * XplaUIWin32.cs (SetTopMost): Add flag SWP_NOACTIVATE so that setting the
- top most control doesn't activate the form. This fixes a problem in the
- MessageBox, where the default button wouldn't get focus because the form
- was activated before being Loaded - when the Owner is set, SetTopMost is
- called, and it would activate it.
- 2007-01-11 Jonathan Pobst <[email protected]>
- * Button.cs: When clicked and setting the parent form's DialogResult,
- use FindForm instead of Parent, since parent could be a container
- control and not the Form. Fixes bug #80495.
- 2007-01-10 Chris Toshok <[email protected]>
- * Form.cs: move the call to SendControlFocus into the same
- is_loaded check.
- 2007-01-10 Chris Toshok <[email protected]>
- * UpDownBase.cs (.ctor): remove the ActiveControl assignment here.
- It breaks in the face of the new ActiveControl stuff, and should
- be unnecessary.
- * Form.cs (WndProc): in the WM_ACTIVATE case, we need to set the
- activecontrol's focus if it's not already set, after we set
- ActiveControl, but before we call OnActivated. Re-fixes #79667
- after the previous focus/active control fixes regressed it.
- * Control.cs: reindent some code.
-
- 2007-01-10 Chris Toshok <[email protected]>
- * Splitter.cs: clearing some outstanding changes from my tree.
- Replace all accesses (not writes) to the internal dock_style field
- with the Dock property.
- 2007-01-10 Chris Toshok <[email protected]>
- * Control.cs: make FireEnter, FireLeave, FireValidating, and
- FireValidated virtual.
- * Form.cs: override and don't chain up calls to FireEnter and
- FireLeave.
- 2007-01-10 Carlos Alberto Cortez <[email protected]>
- * ListView.cs: Add more text padding space when using
- auto resize for columns (the previous value didn't work fine).
- * ThemeWin32Classic.cs: Update text position inside columns,
- to match the appeareance of .Net.
- * ColumnHeader.cs: When using auto resize, only the Width should
- depend on the sub items, not the Height. Also, set width after
- auto resizing (the value of Width should never remain as -1 or -2).
- 2007-01-10 Chris Toshok <[email protected]>
- * Application.cs: fix compilation errors when debug is enabled.
- 2007-01-10 Chris Toshok <[email protected]>
- * ContainerControl.cs (set_ActiveControl): rework this a bit (and
- add some nice ascii art pictures and explanation of the process).
- (GetMostDeeplyNestedActiveControl): new utility function we need
- because our ActiveControl can refer to a child container with its
- own ActiveControl.
- * Form.cs (OnActivated): remove the call to SelectActiveControl
- from here, since you can override this method and not chain up,
- and winforms still sets the active control.
- (OnCreateControl): also remove the unnecessary SelectActiveControl
- call from here.
- (WndProc): it's actually called from the WM_ACTIVATE block, just
- before calling OnActivated.
- * Control.cs (Select (Control)): move the call to XplatUI.SetFocus
- inside the else. the ActiveControl setter will end up setting
- focus on @control. This keeps us from setting it again (and
- generating an extra LostFocus/GotFocus pair).
- (Select (bool, bool)): reindent.
- 2007-01-10 Jonathan Pobst <[email protected]>
- * FlowLayoutPanel.cs, MenuStrip.cs, SplitContainer.cs, SplitterPanel.cs,
- StatusStrip.cs, TableLayoutPanel.cs, TableLayoutStyleCollection.cs,
- ToolStrip.cs, ToolStripComboBox.cs, ToolStripContainer.cs,
- ToolStripContentPanel.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
- ToolStripDropDownButton.cs, ToolStripDropDownItem.cs, ToolStripDropDownMenu.cs,
- ToolStripItem.cs, ToolStripMenuItem.cs, ToolStripPanel.cs, ToolStripPanelRow.cs,
- ToolStripSeparator.cs, ToolStripSplitButton.cs, ToolStripStatusLabel.cs
- ToolStripTextBox.cs: Another wave of corcompare work.
- 2007-01-09 Carlos Alberto Cortez <[email protected]>
- * ColumnHeader.cs: Implement 2.0 AutoResize method using
- the Width property.
- * ListView.cs: Implement 2.0 AutoResizeColumn and AutoResizeColumns
- methods by callling Column.AutoResize method on columns.
- 2007-01-09 Jonathan Pobst <[email protected]>
- * Control.cs: Provide proper implementations of PreferredSize
- and GetPreferredSize (2.0).
- 2007-01-09 Jonathan Pobst <[email protected]>
- * Form.cs: Remove one character (!) to make my previous OnClosing
- stuff work for modal windows like MessageBox.
- 2007-01-09 Carlos Alberto Cortez <[email protected]>
- * ListView.cs:
- * ThemeWin32Classic.cs: Use ListView.GetReorderedColumn instead of
- ListView.Columns to get the last displayed column. Fixes #80452.
- 2007-01-09 Everaldo Canuto <[email protected]>
- * Label.cs, LinkLabel.cs: Source code identation fixes.
- 2007-01-08 Everaldo Canuto <[email protected]>
- * ToolBarButton.cs: Remove InvalidateBorder and use Invalidate instead,
- we dont need to invalidate only borders because when we invalidate four
- border lines the invalidate's generates a complete redraw of button,
- because it now invalidate a complete rect some other redraws operations
- are fixed. Fixes #80196.
-
- * Theme.cs, ThemeNice.cs, ThemeClearLooks.cs, ThemeWin32Classic.cs:
- Remove ToolBarInvalidateEntireButton as it is not used.
- 2007-01-08 Jonathan Pobst <[email protected]>
-
- * Form.cs: Make sure that both OnClosing and OnFormClosing are
- called for 2.0 profile.
- * CloseReason.cs: Make class internal for 1.1.
- 2007-01-08 Jonathan Pobst <[email protected]>
- * ToolStripManager.cs: Implement FindToolStrip functionality.
- * ToolStrip.cs: Register and unregister with ToolStripManager.
- 2007-01-07 Jonathan Pobst <[email protected]>
- * Control.cs: This was messy. 2.0 moves much of ControlCollection
- to ArrangedElementCollection. Implemented this with as few #if's as
- possible (which is still too many).
- 2007-01-07 Jonathan Pobst <[email protected]>
- * Control.cs: Implement SizeFromClientSize() [2.0].
- 2007-01-07 Everaldo Canuto <[email protected]>
- * Hwnd.cs: On GetClientRectangle add a new parameter border_static,
- use Theme.BorderSize to calculate area instead of static value 1,
- by the way use new BorderStaticSize instead Border3DSize when
- border_static is true. Fixes #79537.
-
- * XplatUIOSX.cs: Fix call to GetClientRectangle.
-
- * ThemeWin32Classic.cs: On CPDrawBorder3D dont draw inner border when
- it is not needed.
- 2007-01-06 Everaldo Canuto <[email protected]>
- * Hwnd.cs: Gives more code legibility to GetWindowRectangle.
- 2007-01-06 Everaldo Canuto <[email protected]>
- * Label.cs: Override CreateParams to use WS_EX_STATICEDGE instead of
- WS_EX_CLIENTEDGE in ExStyles when BorderStyle is Fixed3D, it is
-
- * Hwnd.cs:
- - border_static field added, it will used to define when a control
- theres 3D border but it must be static (thin).
- - In GetWindowRectangle use Theme.BorderSize to calculate area
- instead of static value 1, by the way use new BorderStaticSize instead
- Border3DSize when border_static is true.
- * XplatUIX11.cs, XplatUIOSX.cs:
- - When WS_EX_STATICEDGE ExStyle is set define border_static as true.
-
- * Theme.cs: BorderStaticSize field added.
- 2007-01-05 Everaldo Canuto <[email protected]>
- * XplatUIX11.cs: Removed unused hwnd var in SetBorderStyle.
- 2007-01-05 Everaldo Canuto <[email protected]>
- * Control.cs: Under InternalBorderStyle call RecreateHangle to
- mimic same behavior than win32 that set border only in CreateParams,
- it fix problems under CreateParams overrides. Fix #79442 and partial
- fix #79537.
-
- * XplatUIX11.cs: Dont set hwnd.border_style in SetBorderStyle instead
- of thi control you must call recreate handle.
-
- * XplatUIWin32.cs: Remove all SetBorderStyle code, for win32 we dont
- need to do anything as RecreateHangle will take care about borders.
- 2007-01-05 Mike Kestner <[email protected]>
- * ListView.cs: hack to eliminate Lost/Got focus notifications on
- cycles between the ItemControl and parent. Fixes #80388.
- 2007-01-05 Gert Driesen <[email protected]>
- * Control.cs: Lazy init layout engine. Do not directly use
- layout_engine since LayoutEngine may be overridden (on 2.0 profile).
- 2007-01-05 Chris Toshok <[email protected]>
- * DataGrid.cs: don't forceably rebind columns in SetDataSource
- unless our list manager has changed (i.e. unless we have reason to
- believe our columns have changed). Fixes #80422.
-
- also, disable the call do BindColumns in
- OnListManagerMetaDataChanged. this breaks this test in 2.0 (in
- 1.1 the event isn't raised in response to a column addition on a
- table.)
- 2007-01-05 Jonathan Pobst <[email protected]>
- * Control.cs: Move LayoutEngine.Layout to the OnLayout method, so
- that inheritors can not call it if they choose. Fixes bug #80456.
- 2007-01-05 Andreia Gaita <[email protected]>
- * XplatUIWin32.cs: Initialize MSG.refobject at 0 so it
- doesn't blow up with a null exception on marshalling.
-
- 2007-01-05 Jonathan Pobst <[email protected]>
- * Control.cs: Implement several 2.0 protected properties and methods.
- Ensure that all necessary events are being called when properties
- are set.
- 2007-01-05 Mike Kestner <[email protected]>
- * ListView.cs: implement PgUp/PgDn for Details view. Also
- fixes First/LastVisibleIndex to use the item_control.ClientRect
- instead of the parent control. Fixes #80378.
- 2006-01-05 Atsushi Enomoto <[email protected]>
- * PageSetupDialog.cs : cosmetic refactoring; use RegionInfo to
- determine whether to use yard-pound or not (bug #78399).
- 2006-01-04 Alexander Olk <[email protected]>
- * FileDialog.cs: Sebastien fixed the libgdiplus png alpha
- problems. So it is time to bring back the old popupbutton colors.
- 2006-01-04 Carlos Alberto Cortez <[email protected]>
- * ColumnHeader.cs:
- * ListView.cs: Implement 2.0 ColumnHeader.DisplayIndex
- property by using the internal information of the
- columns order in ListView.
- 2007-01-04 Jonathan Pobst <[email protected]>
- * CommonDialog.cs, Cursor.cs, ErrorProvider.cs, HelpProvider.cs:
- Add 2.0 Tag properties.
- * LinkArea.cs: Add 2.0 ToString method.
- 2007-01-03 Chris Toshok <[email protected]>
- * DataGrid.cs: the Alt+0 handling was wrong, it should have been
- Ctrl+0. Fixes bug #80367. Also, don't eat the Delete keypress
- when we're editing, which fixes #80047.
- 2007-01-03 Chris Toshok <[email protected]>
- * Form.cs: apply patch contributed by Dominik Seichter. fixes
- #80404.
- 2007-01-03 Jonathan Pobst <[email protected]>
- * MenuStrip.cs, ToolStripMenuItem.cs: Add MdiWindowListItem
- property and implementation.
- * Form.cs, MdiClient.cs, MdiWindowManager.cs: Add needed hooks
- for MdiWindowListItem property.
- * ToolStripDropDown.cs: Don't consider hidden menu items while
- laying out the menu.
- 2007-01-03 Andreia Gaita <[email protected]>
- * SendKeys.cs: window handle is not needed in win32, so just
- get the active window for X after parsing keys and don't use
- it when building the message; it is passed by parameter to the
- Xplat method and used there to build the message instead. Also,
- wait for events to be processed on SendWait, as opposed to Send,
- which doesn't wait :) Playing with threads and Send() completely
- hangs on ms.net, only SendWait() works.
-
- XplatUIX11.cs
- X11Display.cs: Check for valid window handle.
- 2007-01-03 Jackson Harper <[email protected]>
- * TextControl.cs: Need to prevent wrap calculations when replacing
- text (this was there before i removed it accidently).
- - Don't update the cursor during the positioning, just set it to
- selection_start at the end of the operaion.
- 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
- * Control.cs:
- * NotifyIcon.cs: corcompare work, no more X's in 1.1 class status.
-
- 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
- * MonthCalendar.cs: Added Click and DoubleClick events again,
- but this time they only hide Control's Click and DoubleClick.
-
- 2007-01-03 Gert Driesen <[email protected]>
- * Theme.cs: Re-enabled DefaultFont change. Use const to refer to
- System.Drawing assembly. Spaces to tabs. Removed extra tabs.
- 2007-01-02 Jackson Harper <[email protected]>
- * TextBoxBase.cs: We move the caret with the split now, so we
- don't need to explicitly move the caret after splitting. This
- fixes the caret bumping down an extra line on Enter.
- 2007-01-02 Miguel de Icaza <[email protected]>
- * ContainerControl.cs: Add AutoValidateChanged event (for PDN
- 2.72).
- * ScrollableControl.cs: Add Scroll event.
- 2007-01-02 Mike Kestner <[email protected]>
- * ListView.cs: one more try with help from [email protected]
- to fix all hdr height padding codepaths. Fixes #80207.
- 2007-01-02 Chris Toshok <[email protected]>
- * StatusBar.cs (.ctor): remove the Anchor setting, as it's just
- setting it to the Control defaults anyway, and it being after the
- Dock set was screwing up layout.
- (set_Dock): don't short circuit out of setting base.Dock. Also,
- no need to call UpdateStatusBar here, as it'll be re-layed out if
- it needs to be.
- 2007-01-02 Mike Kestner <[email protected]>
- * ListView.cs: patch from [email protected] to add padding
- to header height for width == -1. Fixes the rest of #80207.
- 2007-01-02 Mike Kestner <[email protected]>
- * ListView.cs: rework the mouse event forwarding everaldo added
- to translate the coordinates to the parent control not
- raise the parent events until after we've done our work. Hover
- needs more work, in the case where HoverSelection is on, because
- the item control receives more than one MouseHover per Enter
- event, so we need to ensure only the "first" hover gets forwarded.
- Opening a minor bug for that.
- 2007-01-02 Gert Driesen <[email protected]>
- * CheckedListBox.cs: Fixed SelectionMode to match MS.
- * ListControl.cs: Implemented AllowSelection property. Removed extra
- tabs.
- * ListBox.cs: Implemented AllowSelection property.
- 2007-01-02 Everaldo Canuto <[email protected]>
- * MenuItem.cs: In MdiWindowClickHandler uses sender instead of
- SelectedItem, it prevent for errors when you must disable item
- before perform click. Fixes #80409.
- 2007-01-02 Everaldo Canuto <[email protected]>
- * MenuAPI.cs: Prevent second level and beyond submenus to close
- until first level when move out side of popup.
-
- 2007-01-02 Everaldo Canuto <[email protected]>
- * MenuAPI.cs:
- - Down submenu positin in three pixels.
- - Closes sub menu when mouse leaves from menu. Fixes #80402.
- 2007-01-02 Everaldo Canuto <[email protected]>
- * ThemeWin32Classic.cs:
- - Fix popup menu size adding one pixel on the top.
- - Down menu item border from two to one to mimic Win32.
- - Some source identation fixes.
- 2007-01-01 Everaldo Canuto <[email protected]>
- * ThemeWin32Classic.cs: Use float numbers to calculate size and
- position of menu arrows, it fix wrong arrow size.
- 2007-01-01 Everaldo Canuto <[email protected]>
- * ThemeWin32Classic.cs: Uses CPDrawBorder3D to draw menu borders
- instead of line, it simplify draw operation and fix it using 3D
- borders to mimic Win32.
- 2007-01-01 Jonathan Pobst <[email protected]>
- * StatusStrip.cs: Add implementation of the sizing grip.
- * ToolStripRenderer.cs, ToolStripProfessionalRenderer.cs: Add
- StatusStrip rendering.
- 2006-12-31 Chris Toshok <[email protected]>
- * ToolBar.cs: don't assign to dock_style in the .ctor. it doesn't
- override the layout style (anchor/dock) of the control. assign to
- Dock instead. Fixes bug #80416.
- * ToolStrip.cs: same.
- 2006-12-31 Andreia Gaita <[email protected]>
- * ContainerControl.cs: Use ContainerSelected flag to check if
- a Container is directly selected, or if Select is called on a
- non-container. If a container is directly selected, focus events
- should not be raised.
- Apply #80411 patch to throw exception on set_ActiveControl if
- control is the same as the current one.
-
- * Control.cs: Use ContainerSelected flag (see above).
- Add invalidation check to raise event but not invalidate if
- dimensions are 0.
- Apply #80411 patch.
-
- 2006-12-31 Everaldo Canuto <[email protected]>
- * MenuAPI.cs: After click, dont close popup menu when menu is
- ContextMenu. Fixes #80399.
- 2006-12-30 Chris Toshok <[email protected]>
- * ContainerControl.cs: make sure we throw the exception if the
- container control doesn't contain the control we're setting
- ActiveControl to.
- 2006-12-30 Chris Toshok <[email protected]>
- * Control.cs (SetTopLevel): fix the exception raised by
- SetTopLevel for child controls.
- (set_Anchor): call UpdateDistances when setting the anchor type.
- This fixes bug #80336.
- 2006-12-29 Gert Driesen <[email protected]>
- * Theme.cs: For now, revert back to 8pt font.
- 2006-12-29 Everaldo Canuto <[email protected]>
- * MenuAPI.cs: Set popup as active when open a ContextMenu.
- Fixes #80395.
- 2006-12-29 Chris Toshok <[email protected]>
- * Control.cs: reorder the code in OnResize to give the same event
- ordering as MS.
- 2006-12-29 Rolf Bjarne Kvinge <[email protected]>
- * MdiClient.cs: Implemented MdiLayout for ArrangeIcons,
- TileHorizontally and TileVertically.
-
- 2006-12-29 Alexander Olk <[email protected]>
- * ColorDialog.cs, FileDialog.cs, FolderBrowserDialog.cs,
- FontDialog.cs, Mime.cs, MimeIcon.cs, OpenFileDialog.cs,
- SaveFileDialog.cs, ThemeClearlooks.cs, ThemeNics.cs:
- Corrected copyright and email adress.
- 2006-12-29 Gert Driesen <[email protected]>
- * TreeNode.cs: On 2.0 profile, throw InvalidOperationException instead
- of Exception in FullPath property if no TreeView is associated with
- the TreeNode.
- 2006-12-29 Gert Driesen <[email protected]>
- * Theme.cs: Marked default_font as private, and initialize it in ctor
- with MS Sans Sarif 8.25 on 1.0 profile, and SystemFonts.DefaultFont
- on 2.0 profile.
- * ThemeGtk.cs: Removed default_font intialization.
- * ThemeWin32Classic.cs: Removed default_font initialization.
- 2006-12-28 Chris Toshok <[email protected]>
- * Control.cs: fix a couple of place where we were creating handles
- more aggressively than we should be. Fixes ControlRefresh unit
- tests.
- 2006-12-28 Chris Toshok <[email protected]>
- * Control.cs: contrary to what the comment said, Control.Dock does
- not supercede Control.Anchor - the last one you assign to decides
- the layout behavior. so we need to keep track of which was the
- last set. Also, fix some of the affected property arguments in
- PerformLayout calls, and remove an redundant parent.PerformLayout
- call in OnResized.
- Add a VisibleInternal property, which returns is_visible. We
- can/should get rid of all the usage of this field elsewhere.
- 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
-
- * Control.cs: DoubleBuffered property reflects the OptimizedDoubleBuffer
- control style, not DoubleBuffer. Added UseDoubleBuffering property
- that indicates whether doublebuffering is enabled and supported.
- (comment from and code based on Gert Driesen's patch in #80324).
- Fixes #80324.
- 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
-
- * Control.cs: Fixed a NRE.
- 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
- * TrackBar.cs: Fix SmallChange and LargeChange exceptions
- for 2.0.
- 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
- * Control.cs: Rewrote double buffering, now a seperate
- class handles all the buffering, no Graphics is disposed of
- until the painting is finished (earlier implementation
- would crash if the control was resized in the OnPaint,
- since it would cause the double buffer to be recreated
- and the old one disposed), a separate Graphics is
- created for every paint (MS behaviour and anyways the state
- of the Graphics would have to be saved and restored otherwise)
-
- * XplatUIDriver.cs:
- * XplatUIX11.cs:
- * XplatUI.cs: Added and implemented GetOffscreenGraphics
- so that we can get the graphics for the back buffer without
- having to create a new one and remove the offscreen_dc parameter
- from CreateOffscreenDrawable and DestroyOffscreenDrawable.
-
- 2006-12-27 Carlos Alberto Cortez <[email protected]>
- * ListView.cs: Add key-related 2.0 methods for CheckedItemCollection.
- Also make virtual all the key-related methods.
- * ListViewItem.cs: Make virtual the key related methods for
- ListViewSubItemCollection.
- 2006-12-27 Carlos Alberto Cortez <[email protected]>
- * ListView.cs:
- * ListViewItem.cs:
- * ThemeWin32Classic.cs:
- * Theme.cs: Initial support for Tile view in ListView,
- as well as the implementation of the required bits for it (Item
- and Subitem).
- 2006-12-27 Gert Driesen <[email protected]>
- * MonthCalendar.cs: On 2.0, throw ArgumentOutOfRangeException instead
- of ArgumentException in MaxSelectionCount, MaxDate and MinDate.
- Provide useful exception messages.
- 2006-12-27 Rolf Bjarne Kvinge <[email protected]>
- * TrackBar.cs: Remove a warning.
- * MonthCalendar.cs: Moved back to using Capture to hide the calendar
- when used by DateTimePicker, fixes #80287. This also requires that
- MonthCalendar implements it's own drawing for the yearly updown control,
- otherwise the Capture tracking would be too complicated. Removed the Click
- and DoubleClick events (according to comments they were hiding the base class
- event to prevent them from beeing fired - MSDN only says MonthCalendar doesn't
- raise these events, not that they cannot be raised. It is possible to raise
- them by calling OnClick and OnDoubleClick). Added two internal fields in
- HitTestInfo in order to track give more tracking info needed by MonthCalendar.
- * ThemeWin32Classic.cs: Implement drawing of MonthCalendar's updown part.
- * DateTimePicker.cs: Removed handling of MonthCalendar's LostFocus
- event, no longer needed.
-
- 2006-12-27 Gert Driesen <[email protected]>
- * ScrollableControl.cs: In AutoScrollMinSize, only set AutoScroll to
- true if new value differs from current value.
- 2006-12-27 Gert Driesen <[email protected]>
- * Control.cs: ControlCollection.Count must be public. Fixed build of
- unit tests.
- 2006-12-27 Gert Driesen <[email protected]>
- * ListView.cs: Redraw when FullRowSelect is changed. Fixes bug #80379.
- 2006-12-27 Gert Driesen <[email protected]>
- * ComboBox.cs: Mergable=>MergableProperty. Fixes build.
- 2006-12-26 Everaldo Canuto <[email protected]>
- * Control.cs: Invalidates control including when Width and Height is
- equal zero or is not visible, only Paint event must be care about
- this. Fixes #79913.
- 2006-12-26 Chris Toshok <[email protected]>
- * CurrencyManager.cs, PropertyManager.cs, BindingManagerBase.cs:
- more corcompare work.
- * DataGridView.cs: fix compiler warning.
- * ColumnHeader.cs: some corcompare work, and also take the
- opportunity to make the internal fields private.
- * ListView.cs: fix the fallout from the above field change.
- 2006-12-26 Jonathan Pobst <[email protected]>
- * ToolStripButton.cs, ToolStripComboBox.cs, ToolStripControlHost.cs,
- ToolStripItem.cs, ToolStripProgressBar.cs, ToolStripSplitButton.cs,
- ToolStripTextBox.cs: Fixes to events and corcompare.
- 2006-12-26 Everaldo Canuto <[email protected]>
- * ListView.cs: Call owner.OnMousexx event to propagate events from
- item to ListView. Fixes #80367.
- 2006-12-26 Gert Driesen <[email protected]>
- * ComboBox.cs: On 2.0, DropDownWidth throws ArgumentOutOfRangeException
- if value is less than one. ItemHeight should not be set to a value
- less than 1, and throw ArgumentOutOfRangeException on 2.0 profile.
- Removed extra tabs.
- 2006-12-26 Jonathan Pobst <[email protected]>
- * ToolStripMenuItem.cs: Add ShortcutDisplayString for Moma.
- * ToolStripStatusLabel.cs: Add Spring for Moma.
- 2006-12-26 Gert Driesen <[email protected]>
- * DataGridView.cs: Fixed several NullReferenceException in On* methods.
- Fixed code formatting. Removed debug code.
- * DataGridViewTextBoxEditingControl.cs: Removed debug code.
- 2006-12-26 Gert Driesen <[email protected]>
- * DataGridView.cs: Fixed GridColor, DefaultSize, DefaultCellStyle,
- RowHeadersDefaultStyle, RowHeadersWidth to match MS. Throw
- ArgumentOutOfRangeException if ColumnCount is negative. In
- ColumnHeadersHeight, throw ArgumentOutOfRangeException if height is
- less than 4 or higher than 32768.
- * DataGridViewCellStyle.cs: Fixed default value for NullValue.
- Fixed FormatProvider to return CurrentCulture unless explicitly set.
- Fixed IsFormatProviderDefault to return true if FormatProvider has
- not been explicitly set.
- 2006-12-25 Chris Toshok <[email protected]>
- * Application.cs: add a couple of 2.0 events.
- 2006-12-25 Chris Toshok <[email protected]>
- * Control.cs: fix compiler warning.
- * AxHost.cs: corcompare fixes.
- * ApplicationContext.cs: corcompare fixes.
- 2006-12-25 Chris Toshok <[email protected]>
- * Control.cs: only update dist_right/dist_bottom if the
- width/height is > 0. this fixes anchored controls being resized
- smaller until they disappear and then resized larger again.
- 2006-12-25 Chris Toshok <[email protected]>
- * Control.cs: a couple of changes. Remove dist_left and dist_top,
- since they're nothing more than X/Left and Y/Top, respectively.
- Also, move back to a per-control Bitmap/Graphics for
- DeviceContext, since using the static Hwnd.bmp/bmp_g is bad in the
- MT case. Go with a tiny bitmap though, 1x1, instead of Width x
- Height.
- 2006-12-25 Miguel de Icaza <[email protected]>
- * MessageBox.cs: Implemented overload that takes a new "bool
- displayHelpButton" by adding a new internal field "show_help".
- When clicked this will raise the HelpRequested on the owner or the
- main form.
- From: 007dbe3ff0ca4729a4f5fcd1d8ab2a2e.txt
- From: c935e12b95fe4dc1ae670e7f4dc5fd68.txt
- * ListView.cs: Add support ColumnWidthChanged and
- ColumnWidthChanging.
- Add support for ColumnReordered event.
- (ReorderColumn): Add NET_2_0 specific support for cancelling the
- reorder.
- Very nice codebase!
- * TextBoxBase.cs (GetLineFromCharIndex): Implement this method.
- This is used by report f4ae0a88a0a244558aaadf017c9b9efe.
- 2006-12-24 Chris Toshok <[email protected]>
- * GridTablesFactory.cs: 2.0 corcompare work.
- * ToolStripContainer.cs: add "override" to
- ContextMenuStripChanged, and remove the local event object.
- * ToolStripDropDown.cs: same with a couple properties.
- * ToolStripPanel.cs: same with AutoSizeChanged event.
- * TextBoxBase.cs: add "override" to AutoSizeChanged.
- * Form.cs: add the remaining 2.0 events, and do some corcompare
- attribute work.
- * DateTimePicker.cs: add "new" to padding.
- * ButtonBase.cs: use Control's use_compatible_text_rendering.
- * ToolStripContentPanel.cs: use base.AutoSizeChanged.
- * DataGridView.cs: PaddingChanged is overridden.
- 2006-12-24 Chris Toshok <[email protected]>
- * Control.cs: corecompare work here too.
- * DataGridViewElement.cs, DataGridView.cs,
- DataGridViewButtonCell.cs, DataGridViewRowCollection.cs,
- DataGridViewImageColumn.cs, DataGridViewComboBoxColumn.cs,
- DataGridViewImageCell.cs, DataGridViewCheckBoxCell.cs,
- DataGridViewHeaderCell.cs, DataGridViewCell.cs: more corcompare
- work.
- 2006-12-24 Miguel de Icaza <[email protected]>
- * Control.cs: Switched the error message on the console for a
- todo. A review of the code will have to cope with this anyways
- (since its a large feature, it is in our radar) and it was
- producing too much output when running PDN.
- * ToolStripComboBox.cs: Set the text when the SelectedIndex
- changes. Applications depend on this (PDN 2.72)
- 2006-12-23 Chris Toshok <[email protected]>
- * TableLayoutSettings.cs: finish up the corcompare work for this
- class.
- 2006-12-23 Chris Toshok <[email protected]>
- * Control.cs: make SetImplicitBounds internal, do some futzing
- with LayoutEngine so that it's available in 1.1, and remove the
- entire duplicated code mess from PerformLayout. Use
- System.Windows.Forms.Layout.DefaultLayout instead.
- * LayoutEngine.cs: make this class internal in 1.1, public in 2.0.
- 2006-12-23 Jonathan Pobst <[email protected]>
- * Form.cs: Add MainMenuStrip property.
- 2006-12-23 Jonathan Pobst <[email protected]>
- * Control.cs: Add ContextMenuStrip property and implementation.
- Fix ContextMenu implementation to show menu centered on control when
- activated using the keyboard instead of showing at screen (0,0).
- * ToolStripDropDown.cs: Fix needed overload of Show ().
- 2006-12-23 Everaldo Canuto <[email protected]>
- * Menu.cs: Name property added for 2.0 profile.
-
- 2006-12-23 Everaldo Canuto <[email protected]>
- * Menu.cs: Update information about FindMenuItem, method to be
- implemented soon.
- 2006-12-23 Everaldo Canuto <[email protected]>
- * MenuAPI.cs: When deselect items deselect also selected subitems.
-
- 2006-12-23 Everaldo Canuto <[email protected]>
- * MenuAPI.cs: When hides menu set Wnd to null, it prevents
- FindSubItemByCoord to found itens that is not active, also an
- cheking added to FindSubItemByCoord to search for items only
- in visible popup windows. Fixes #80274.
- 2006-12-22 Everaldo Canuto <[email protected]>
- * UserControl.cs: Remove MonoTodo and use InternalBorderStyle,
- internal property, it be care about change ExStyle.
- 2006-12-22 Andreia Gaita <[email protected]>
- * ContainerControl.cs: set activeControl for parent forms up the
- tree when the new activecontrol is a container.
- When validating the active control, if it is a container, also
- raise up the validation for it's active control. Fixes #80280
-
- * Control.cs: Add internal property flag and check to prevent
- Focus events from getting raised when Select() is called for
- a ContainerControl. There are still too many focus events being
- raised at the moment though.
- Cleaned up the code a bit.
- 2006-12-22 Rolf Bjarne Kvinge <[email protected]>
- * Control.cs: Added all missing 2.0 events.and
- fixed a couple of corcompare issues.
- * TrackBar.cs: Implemented missing 2.0 bits.
- * MonthCalendar.cs,
- * DateTimePicker.cs,
- * MdiClient.cs: Fixed some corcompare issues.
- 2006-12-21 Jonathan Pobst <[email protected]>
- * ContextMenuStrip.cs, FlowLayoutPanel.cs, SplitContainer.cs,
- SplitterPanel.cs: corecompare work.
- 2006-12-21 Jonathan Pobst <[email protected]>
- * ToolStripContainer.cs, ToolStripDropDown.cs, StatusStrip.cs:
- Clean up warnings for BackgroundImageChanged and PaddingChanged
- events now that they are implemented in Control.cs.
- 2006-12-21 Jonathan Pobst <[email protected]>
- * Control.cs: Make sure layout_engine isn't null before using it (2.0).
-
- * TableLayoutControlCollection.cs, TableLayoutPanel.cs, TableLayoutCellPosition.cs,
- TableLayoutSettings.cs, TableLayoutStyleCollection.cs: Initial implementation
- of TableLayoutPanel and supporting cast.
- 2006-12-21 Rolf Bjarne Kvinge <[email protected]>
- * XplatUIWin32.cs:
- - GrabWindow now confines the mouse pointer to the confine window.
- - Added Win32ClipCursor and Win32GetClipCursor.
- * Control.cs:
- - Added CaptureWithConfine to be able to capture and confine
- mouse pointer.
-
- * InternalWindowManager.cs:
- - Call CaptureWithConfine instead of Capture if we're an
- MdiChild (fixes #79982).
- 2006-12-21 Chris Toshok <[email protected]>
- * DataGrid.cs: guard against the initial state of selection, where
- selection_start == -1. make sure we only select from index >= 0.
- Fixes bug #80291.
- 2006-12-21 Chris Toshok <[email protected]>
- * Control.cs: we don't need to be so draconian with
- UpdateDistances, and we thusly don't need to call it before
- calling PerformLayout in ResumeLayout. Fixes bug #80289.
- 2006-12-21 Daniel Nauck <[email protected]>
- * ComboBox.cs,
- TextBox.cs: Implemented AutoComplete properties.
- 2006-12-20 Chris Toshok <[email protected]>
- * DataGridView*.cs: some corecompare work.
- 2006-12-20 Jackson Harper <[email protected]>
- * XplatUIX11.cs: We need to hide the caret when deleting it,
- otherwise you get carets left lying around everywhere.
- * TextBoxBase.cs: Kill then redraw the caret when scrolling. This
- prevents getting some weird half drawn caret tracers when
- scrolling.
- * TextControl.cs: Attempt to reduce the number of times we need to
- recreate the caret.
- 2006-12-20 Gert Driesen <[email protected]>
- * MonthCalendar.cs: Fixed previous month button. Removed extra tabs.
- 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
- * DateTimePicker.cs:
- - Implemented missing 2.0 bits.
- - Changed some default values to match MS.
-
- 2006-12-20 Jackson Harper <[email protected]>
- * TextBoxBase.cs: When changing the font across the document we
- can't recalculate after changing each line, since that will cahnge
- the line count.
- - PreferredHeight is a little different than i thought.
- - When backspacing, move the caret before we do the actual char
- delete, because when that delete crosses a wrap boundary the
- positional information will change.
- 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
- * Control.cs: Added some missing 2.0 bits:
- BackgroundImageLayout, BackgroundImageLayoutChanged,
- OnPaddingChanged, MouseClick, MouseDoubleClick, PaddingChanged and
- add IBindableComponent and IDropTarget implementation.
-
- * MonthCalendar.cs:
- - Added all missing 2.0 features:
- BackgroundImageLayout, RightToLeftLayout,
- OnHandleDestroyed, RightToLeftLayoutChanged,
- BackgroundImageLayoutChanged, MouseClick, MouseDoubleClick,
- PaddingChanged.
- - Rewrote all the BoldDate code, it was completely broken.
- - Fixed all the tests (the tests can now be re-enabled, the
- problems were not with the tests, but with the control, it was
- mostly broken).
-
- * DateTimePicker.cs: Changed the location where the
- MonthCalendar is shown.
-
- 2006-12-19 Chris Toshok <[email protected]>
- * DataGridView.cs: add IDropTarget implementation.
- * ToolStripPanel.cs: add IDropTarget implementation.
- 2006-12-19 Jackson Harper <[email protected]>
- * TextControl.cs: soft now means something different than what it
- used to mean, we want to move the caret regardless of whether or
- not this break was soft (would we really have wanted the caret
- to not move with the break in the old context?)
- * TreeView.cs: Make sure we factor in the vert scrollbar when
- calculating the horizontal scrollbar's maximum.
- 2006-12-19 Andreia Gaita <[email protected]>
- * SendKeys.cs: Fix Send() behaviour, clear keys after sending,
- check for keywords in alternate casing, close bug #80049.
- 2006-12-19 Chris Toshok <[email protected]>
- * ToolStripItem.cs: add the implementation of the 4 IDropTarget
- methods (which all do nothing).
- * IDropTarget.cs: add the 4 missing methods.
- 2006-12-19 Chris Toshok <[email protected]>
- * TableLayoutRowStyleCollection.cs: corcompare work.
-
- * TableLayoutSettings.cs: same.
- * TableLayoutStyle.cs: same.
- * TableLayoutColumnStyleCollection.cs: same.
- 2006-12-19 Jonathan Pobst <[email protected]>
- * ColumnStyle.cs, RowStyle.cs, TableLayoutStyle.cs: Plumbing for
- TableLayoutPanel I've had in my local tree for way too long.
- 2006-12-19 Miguel de Icaza <[email protected]>
- * TableLayoutSettings.cs: Finish the public API (still needs all
- the logic to update on changes).
- * TableLayoutPanelCellPosition.cs: new file.
-
- * TableLayoutRowStyleCollection.cs,
- TableLayoutColumnStyleCollection, TableLayoutStyle.cs,
- TableLayoutSettings.cs: Track the final 2.0 table api.
- 2006-12-19 Carlos Alberto Cortez <[email protected]>
- * ColumnHeader.cs: Add Tag, Name, ImageKey, ImageIndex,
- and Image List 2.0 members for ColummnHeader.
- * ListView.cs: Add key-related 2.0 methods for
- ColumnHeaderCollection.
- 2006-12-19 Gert Driesen <[email protected]>
- * ListViewItem.cs: Changed AddRange overloads to match MS: throw
- ArgumentNullException if items argument is null. Ignore null item in
- arrays. Removed extra tabs.
- 2006-12-19 Gert Driesen <[email protected]>
- * MonthCalendar.cs: Fixed InvalidCastException.
- 2006-12-19 Jackson Harper <[email protected]>
- * TextControl.cs: Don't increment the position here.
- - When calculating char positions only add in the line break size
- for hard line breaks.
- 2006-12-19 Andreia Gaita <[email protected]>
- * SendKeys.cs: Changed some things to match ms.net behaviour
- when parsing shifted capital letters.
-
- * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32, XplatUIOSX:
- Add window handle as parameter to SendInput. X11 needs the
- window handle, and the handle being passed to it in the keys
- queue is the active control handle (which windows needs), not
- the window handle.
-
- XplatUIX11.cs, XplaUIX11-new.cs, X11Display: Implement SendInput
- to support SendKeys on X.
-
- * X11Keyboard: Implement helper method to lookup a linux keycode
- given the virtual keycode. Added table of keycode-2-virtualkey
- values to support this.
- 2006-12-19 Carlos Alberto Cortez <[email protected]>
- * ListView.cs: Add support for SelectedIndexCollection
- and SelectedItemCollection 2.0 methods. Implement support
- for ImageKey too.
- * ListViewItem.cs: Add support for ListViewSubItemCollection
- 2.0 methods. Also, fix an incorrect behavior of AddRange method
- (it shouldn't call Clear).
- * ThemeWin32Classic.cs: Support for ListView.ImageKey 2.0 property.
- 2006-12-19 Jackson Harper <[email protected]>
- * RichTextBox.cs:
- * TextBoxBase.cs: New args for FormatText
- * TextControl.cs: Rewrote the main drawing method, this version
- feels a little easier to understand and debug to me. Hopefully it
- does to others also
- - Fix FormatText to OR in the new formating values. Added
- FormatSpecified param, basically this works in the same way as
- BoundsSpecified in Control.
- - Set the caret properties when the caret is positioned.
- - When wrapping text make sure that we calculate the width of the
- last character
- - when calculating alignments we might have wrapped down to the
- next line, so don't search for an individual tag, search for the
- end of the line
- - We need to invalidate the selection area when we replace the
- selection.
-
- 2006-12-19 Daniel Nauck <[email protected]>
- * Application.cs: add Restart () 2.0 support
- 2006-12-18 Everaldo Canuto <[email protected]>
- * MenuItem.cs: Invalidate menu item rectangle after change Enable
- property. Fixes #80268.
-
- 2006-12-18 Everaldo Canuto <[email protected]>
- * MenuAPI.cs: Dont trigger select event when closes top menu
- item. Fixes #80270.
- 2006-12-18 Everaldo Canuto <[email protected]>
- * MenuAPI.cs: When you click on menuitem only trigger onselect
- event for top menu itens. Fixes #80271.
-
- 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
- * MdiWindowManager.cs: Make IconicBounds depend on
- the bottom of MdiClient, not the top (fixes #80267)
-
- 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
- * MdiClient.cs: Added missing 2.0 attribute
- 2006-12-18 Carlos Alberto Cortez <[email protected]>
- * ListViewItem.cs: Add Name and Tag 2.0 properties, as well
- as IndexOfKey, ContainsKey, RemoveByKey and indexer 2.0.
- 2006-12-18 Everaldo Canuto <[email protected]>
- * MenuAPI.cs: Fix click when menuitem is not popup,
- this regression was caused by last commit (#80272).
- 2006-12-17 Everaldo Canuto <[email protected]>
- * MenuAPI.cs: When a non-toplevel menuitem is clicked dont
- fire click event or close menu. Fixes #80272.
- 2006-12-17 Daniel Nauck <[email protected]>
- * ListViewHitTestInfo.cs: add
- 2006-12-17 Daniel Nauck <[email protected]>
- * ButtonBase.cs: Added FlatButtonAppearance 2.0 support.
- * FlatButtonAppearance.cs: add
- * DockingAttribute.cs: add
- 2006-12-17 Chris Toshok <[email protected]>
- * DataGrid.cs: hook up MetaDataChanged event on the list manager,
- and rebind our columns when it does - this way, if you make
- changes to the DataTable (or set the Table attribute on a DataView
- after setting it as the DataGrid's DataSource, the changes are
- made visible.) Fixes bug #80107.
- 2006-12-17 Daniel Nauck <[email protected]>
- * ListViewGroup.cs: add internal Location property for layouting.
- * Theme.cs: add abstract ListViewGroupHeight function.
- * ThemeWin32Classic.cs: implement ListViewGroupHeight function.
- 2006-12-16 Andreia Gaita <[email protected]>
- * TabControl.cs: Fixed checks for NET_2_0-specific exceptions.
- Added reset of selected index to 0 when adding first tab page.
- Fixes #80264
-
- * NumericUpDown.cs: Fix NET_2_0 check
- 2006-12-16 Daniel Nauck <[email protected]>
- * ListViewGroup.cs: fixed DefaultValueAttribute value
- 2006-12-16 Daniel Nauck <[email protected]>
- * AutoCompleteStringCollection.cs: add new AutoCompleteStringCollection 2.0 class
- 2006-12-15 Miguel de Icaza <[email protected]>
- * Button.cs, ComboBox.cs, ScrollBar.cs, UserControl.cs,
- TextBoxBase.cs, ListView.cs, ContainerControl.cs,
- ScrollableControl.cs: Add a handful of methods that are
- overwritten in 2.0
- 2006-12-15 Chris Toshok <[email protected]>
- * XplatUIWin32.cs: initial implementation of the Reversible
- drawing functions. there are some problems. DrawReversibleFrame
- doesn't seem to work at all for Dashed FrameStyle, and in the
- Thick case there are drawing errors at the corners (we probably
- need to bind Rectangle instead of doing moveto/lineto's.)
- 2006-12-16 Andreia Gaita <[email protected]>
-
- * SendKeys.cs: Implemented. SendKeys uses a new method in XPlatUI, SendInput,
- to send blocks of key messages. Send accumulates keys to send with Flush,
- while SendWait sends all keys immediately.
-
- * XplaUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
- XplatUIX11.cs, XplatUIX11-new.cs:
- - Define SendInput and stubs for OSX and X11, implements Win32 with a call
- to Win32 SendInput.
- - Added INPUT support structures to XplatUIWin32 for Win32SendInput
-
- Tests: It seems ms.net is hooking the keyboard to implement this, so doing unit
- testing for ms.net on this class is very tricky, as the tests run too fast
- to allow the hook to release, essentially freezing the keyboard and the
- test. So, barring a win32 miracle, they'll be commited in the ms-notworking
- category :p
- 2006-12-16 Daniel Nauck <[email protected]>
- * Padding.cs: fixed serialization compability to MS ("_var" field names),
- added missing attributes.
-
- 2006-12-15 Daniel Nauck <[email protected]>
- * ListViewGroup.cs: Added missing attributes.
- * ListViewGroupCollection.cs: Added missing attributes.
- 2006-12-15 Daniel Nauck <[email protected]>
- * ListViewItem.cs: fixed ListViewSubItem text property.
- 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
-
- * Control.cs: Added missing 2.0 attributes
-
- 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
-
- * MdiClient.cs: Added missing 2.0 attribute.
- * MonthCalendar.cs: Added some missing 2.0 attributes
- and properties.
-
- 2006-12-15 Daniel Nauck <[email protected]>
- * ListView.cs: implemented ListViewItemCollection Add 2.0 support.
- 2006-12-15 Jonathan Pobst <[email protected]>
- * MainMenu.cs: Add the new 2.0 constructor to help out people
- using the MainMenu in VS2005.
- 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
-
- * MdiChildContext.cs: Removed it, no longer used.
- * MdiClient.cs: Added missing 2.0 attributes.
-
- 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
-
- * InternalWindowManager.cs: Fix a NullRef with previous
- changes for toolwindows.
-
- 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
- * Control.cs:
- - Added AfterTopMostControl to allow for certain controls
- to always stay on top when normal controls are brought to
- front.
-
- * XplatUIWin32.cs:
- - (DrawInversibleRectangle): Get window rectangle from Win32
- in stead of from control, since Win32 doesn't calculate
- screen coords correctly from control's Location if it
- have docked siblings.
-
- * MdiWindowManager.cs:
- - Correct the control menu popup location when clicked on
- the maximized form icon. (fixes #80223.1)
- - Don't show moving rectangle if mouse hasn't moved from
- the original clicked point.
- - Removed FormGotFocus handler (not used).
- - Calculate the control buttons location from the main
- window's size and not client size (fixes #79770).
- - Form is now closed when the form icon is double-clicked
- (fixes #79775).
- - Correct NCCalcSize numbers a little bit (fixes #80223.2)
-
- * InternalWindowManager.cs:
- - Moved some MDI-only methods to MdiWindowManager.
- - Removed unused properties and methods.
- - Unified method naming for methods handling wm messages.
- - Moved all message handling to seperate methods for
- each message.
-
- * ThemeWin32Classic.cs:
- - DrawManagedWindowDecorations now draws the title bar
- with a gradient brush.
- - Add a CPDrawButtonInternal that allows us to specify
- light, normal and dark colors for the buttons (control
- buttons for MDI children were drawn with the same light
- color as the background, therefore loosing the 3D effect).
-
- * SizeGrip.cs:
- - Add a CapturedControl property that is used to
- determine the control to resize (defaults to parent).
- Needed for MdiClient, since its SizeGrip's parent is
- MdiClient, but the control to resize is the main form.
-
- * MdiClient.cs:
- - Set SizeGrip's CapturedControl to the main form in order
- to resize the main form and not the MdiClient.
- - Override AfterTopMostControl to leave the scrollbars
- always on top.
- 2006-12-15 Daniel Nauck <[email protected]>
- * ListView.cs: fixed ListViewItemCollection AddRange and
- implemented ListViewItemCollection AddRange 2.0 support.
- 2006-12-15 Daniel Nauck <[email protected]>
- * ListViewGroup.cs: Add.
- * ListViewGroupCollection.cs: Add
- * ListView.cs: Add ListViewGroup (Group) and ShowGroups 2.0 support.
- * ListViewItem.cs: Add ListViewgroup (Group), ListViewGroups constructors and
- stub for ImageKey 2.0 support.
- 2006-12-14 Mike Kestner <[email protected]>
- * ListView.cs: add text padding to the autocalculation for columns
- of width -2. Fixes #80207.
-
- 2006-12-14 Mike Kestner <[email protected]>
- * ListView.cs: add some index guarding for partial row navigation
- logic. Fixes #80250.
- 2006-12-14 Mike Kestner <[email protected]>
- * ListView.cs: throw ArgumentExceptions when parented ListViewItems
- are added or inserted to the collection. Fixes #81099.
- 2006-12-13 Everaldo Canuto <[email protected]>
- * MenuAPI.cs: Closes menu when right click out side of popup
- it fix problem in ContextMenu and MainMenu. Fixes #80252.
- 2006-12-13 Carlos Alberto Cortez <[email protected]>
- * ListViewItem.cs: Fix dumb error.
- * ListView.cs: Add Find and ContainsKey methods in
- ListViewItemCollection, and also return true for IsReadOnly
- and IsFixedSize (changes for 2.0).
- 2006-12-13 Gert Driesen <[email protected]>
- * Control.cs: Allow Region to be set to null.
- 2006-12-13 Rolf Bjarne Kvinge <[email protected]>
- * MdiWindowManager.cs: Remove unused (commented out) code.
- * Form.cs: When the MdiChild is maximized, the form needs
- WM_NCMOUSELEAVE, so request it.
- * InternalWindowManager.cs:
- - Added tooltips to control buttons.
- - Removed duplicated control button handling code.
- - Removed unused (commented out) code.
-
- 2006-12-12 Everaldo Canuto <[email protected]>
- * MenuAPI.cs: Set cursor to default in popup menus, a XplatUI.SetCursor
- was used because we must set cursor without trigger ChangeCursor event
- and without change Cursor control property. Fixes #79963.
- 2006-12-12 Andreia Gaita <[email protected]>
-
- * Control.cs: Check if Region setter value is null, and ignore
- 2006-12-12 Jackson Harper <[email protected]>
- * TextControl.cs: We were almost always drawing one more line then
- needed, since the GetLineByPixel will return the last line found
- at that pixel. In most cases though, we were invalidating up to
- the junction between two lines.
- - Improve debug code.
- 2006-12-12 Chris Toshok <[email protected]>
- * XplatUI.cs: add static DrawReversibleFrame, DrawReversibleLine,
- and FillReversibleRectangle.
- * XplatUIDriver.cs: add abstract DrawReversibleFrame, DrawReversibleLine,
- and FillReversibleRectangle.
- * XplatUIWin32.cs: add stubs which do nothing for
- DrawReversibleFrame, DrawReversibleLine, and
- FillReversibleRectangle.
- * XplatUIOSX.cs: add stubs which raise NIE for
- DrawReversibleFrame, DrawReversibleLine, and
- FillReversibleRectangle.
- * XplatUIX11.cs: add working implementation for
- DrawReversibleFrame, DrawReversibleLine, and
- FillReversibleRectangle.
-
- * ControlPaint.cs: implement DrawReversibleFrame,
- DrawReversibleLine, and FillReversibleRectangle, by calling into
- the appropriate XplatUI method.
- 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
- * Form.cs: Make MdiClient have the focus even if it's
- not selectable, since it should receive WM_KEY* and WM_MOUSE
- messages. Fixes #79907.
-
- 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
- * Hwnd.cs: Save the CreateParams.ExStyle so that it can be
- queried after the window is created.
-
- * XplatUIX11.cs: Added SendParentNotify to implement
- WM_PARENTNOTIFY logic. Fixes #79965.
-
- * Control.cs: Added MakeParam.
-
- 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
- * MdiClient.cs: Resume Layout before setting window
- states (fixes #80201).
- 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
- * MenuAPI.cs: Deselect a menu item after performing
- the click (fixes #80197).
- 2006-12-11 Jackson Harper <[email protected]>
- * TextBoxBase.cs: We need to cap this value, since Maximum -
- ViewPortHeight can be less than zero.
- - Only do selection with the left mouse button.
- * TextBox.cs: Don't tell the world that we have a context menu.
- * Control.cs: New method so that we can control whether or not the
- context menu is visible outside MWF.
- 2006-12-11 Everaldo Canuto <[email protected]>
- * ToolBarButton.cs: Fix text positon.
- 2006-12-11 Miguel de Icaza <[email protected]>
- * ProgressBar.cs (MarqueeAnimationSpeed): Add stub.
- * Control.cs (DoubleBuffered): Add implementation.
- * Application.cs (OpenForms): Add.
- 2006-12-11 Jonathan Pobst <[email protected]>
- * Form.cs: Use opacity instead of Opactiy to determine if we need
- to set the WS_EX_LAYERED bit. [Fixes bug #80185]
- 2006-12-11 Jonathan Pobst <[email protected]>
- * Control.cs: Fix NRE if Control.Site was set to null.
- 2006-12-11 Chris Toshok <[email protected]>
- * Control.cs: ControlCollection.Remove should return if the arg is
- null, and ControlCollection.SetChildIndex should raise a ANE.
- 2006-12-11 Gert Driesen <[email protected]>
- * Control.cs: Verify value set for Dock property. Code formatting
- updates.
- 2006-12-11 Jackson Harper <[email protected]>
- * TextControl.cs: Draw the caret and the selection when a flag is
- set on the owner.
- * TextBoxBase.cs: We want to draw the caret and the selection for
- TextBox but not for TextBoxBase.
- - If the window is resized and scrolling is no longer needed (the
- whole doc is visible) set the scroll position to zero.
- - The default SelectWord (the one TextBox uses) should move the
- caret to the end of the word.
- - SelectAll moves the caret to the end of the selection.
- * TextBox.cs: We don't selectall on focus, we just do it when the
- control is created.
-
- 2006-12-11 Mike Kestner <[email protected]>
- * ComboBox.cs: stub in a 2.0 override for ProcessKeyEventArgs.
- 2006-12-11 Carlos Alberto Cortez <[email protected]>
- * ListView.cs: Add Insert, IndexOfKey, RemoveByKey and indexer
- 2.0 support.
- * ListViewItem.cs: Add Name 2.0 property.
- 2006-12-11 Andreia Gaita <[email protected]>
- * TabControl.cs: Set visibility on selected or default tab
- when tabcontrol handle is created, so that it's contents
- actually show up (duh). Fixes #80193
- Don't redraw the control if there is no handle created, as
- the selected index might be completely invalid. Added some tests
- to check for this.
- 2006-12-11 Everaldo Canuto <[email protected]>
- * ToolBar.cs: Uses maximun width and height of all buttons as
- button rectangle when ButtonSize specified, it looks strange but
- is what happens in Win32. Fixes #80189.
- 2006-12-11 Jackson Harper <[email protected]>
- * TextControl.cs: Need to track undo levels ourself, since
- compound actions will mess them up.
- 2006-12-10 Andreia Gaita <[email protected]>
- * TabControl.cs: Raise SelectedIndexChanged for 1.1 if the
- SelectedIndex value is changed (even if it's not valid).
- Reset SelectedIndex to 0 when the handle is created and if
- the current index is invalid.
- Fixes SelectdeIndex unit tests and #80128
- 2006-12-08 Chris Toshok <[email protected]>
- * DataGrid.cs (set_CurrentCell): because EnsureCellVisibility
- calls EndEdit, it needs to be called before we set current_cell to
- its new value. Otherwise, we end up committing the value in the
- textbox to the new cell as well. Fixes bug #80160.
- 2006-12-08 Chris Toshok <[email protected]>
- * Form.cs (set_CancelButton): if the button's DialogResult is
- None, set it to Cancel. Fixes bug 80180.
- 2006-12-08 Jackson Harper <[email protected]>
- * TextBoxBase.cs: Ugh, ClientSize can be 0,0 sometimes, so we need
- to watch ourselves when setting the canvas size and setting the
- scrollbar values.
- 2006-12-08 Chris Toshok <[email protected]>
- * DataGrid.cs: comment out the two MakeTransparent calls for the
- time being so people using trunk (and not 1.2.2) on windows can
- actually use the datagrid. This deals with bug #80151.
- 2006-12-08 Jonathan Pobst <[email protected]>
- * ThemeWin32Classic.cs: Change ButtonBase_DrawImage to use the
- Graphics.DrawImage (image, int, int, int, int) overload instead
- of Graphics.DrawImage (image, int, int). GDI+ can't figure out
- the dpi difference and was blurring images it drew.
- [Fixes bug #79960]
- 2006-12-08 Chris Toshok <[email protected]>
- * ThemeWin32Classic.cs (DataGridPaintRows): handle case where
- rowcnt is 0 (such as with an empty datasource), and make sure we
- initialize not_usedarea.Y to cells.Y, so we don't draw over the
- other areas (caption, parent row, etc, etc). Fixes bug #80095.
- 2006-12-08 Chris Toshok <[email protected]>
- * DataGridColumnStyle.cs (SetDataGrid): don't try to access a null
- grid.
- 2006-12-08 Chris Toshok <[email protected]>
- [ Fixes bug #80167 ]
-
- * ThemeWin32Classic.cs: don't draw the image if the button's flat
- style is FlatStyle.System.
- * ButtonBase, ThemeClearlooks.cs, ThemeGtk.cs, ThemeNice.cs: make
- ButtonBase.flat_style private, and switch uses of it to the public
- property.
-
- 2006-12-08 Chris Toshok <[email protected]>
- [ Fixes bug #80121 ]
-
- * ThemeWin32Classic.cs: center the caption text in the datagrid
- when we draw it.
- * DataGrid.cs: lessen the amount we add to the caption height from
- 6 to 2. 6 was making it huge.
- 2006-12-08 Andreia Gaita <[email protected]>
- * UpDownBase: Handle MouseWheel call directly instead of capturing
- the inner textbox's OnMouseWheel. Fixes #80166
- 2006-12-08 Jackson Harper <[email protected]>
- * TextControl.cs: We need to invalidate the textbox when we empty
- it (how had this not been discovered before?)
- 2006-12-08 Jackson Harper <[email protected]>
- * TextBoxBase.cs: Reworked the mouse down code so I could get it
- to behave like MS, we now ignore the eventargs.Click and just
- track state ourself, which we were already doing anyways.
- - Constrain the double click handler to the double click size.
-
- 2006-12-08 Chris Toshok <[email protected]>
- * DataGrid.cs: the mousewheel code shouldn't try to scroll in a
- direction if that scrollbar isn't shown. fixes bug #80158.
- 2006-12-08 Andreia Gaita <[email protected]>
- * NumericUpDown.cs: Update value on getter. Fixes #79950
- 2006-12-08 Chris Toshok <[email protected]>
- * MenuItem.cs: add back in the event cloning code. I didn't know
- how to do it in the face of the EventHandlerList work i'd done
- last week. Fixes bug #80183.
- 2006-12-08 Jonathan Pobst <[email protected]>
- * Control.cs: Add an invalidate to the BackgroundImage setter.
- [Fixes 80184]
- 2006-12-07 Jonathan Pobst <[email protected]>
- * ToolStrip*: Add some small properties reported by MoMA, fix event
- firing and default properties based off of unit tests, and add some
- attributes based off of the class status page.
- 2006-12-07 Jackson Harper <[email protected]>
- * TextBoxBase.cs: Take HideSelection into account when determining
- whether or not to show the selection.
- * RichTextBox.cs: After inserting the RTF into the document move
- the cursor to the beginning of the document.
- 2006-12-07 Jonathan Pobst <[email protected]>
- * Control.cs: Remove static ArrayList "controls" which maintained
- a reference to every control created.
- * Application.cs: Create a static FormCollection to maintain a reference
- to every form created. Use it in places that formerly enumerated through
- the controls one looking for forms.
- * Form.cs: Add and remove self from above FormCollection.
- 2006-12-07 Alexander Olk <[email protected]>
- * MimeIcon.cs: gdk_pixbuf_save_to_buffer is part of libgdk-pixbuf,
- not libgdk (though it makes me wonder why I didn't have any
- problems)
- 2006-12-07 Chris Toshok <[email protected]>
- [ you had to know this was coming after that last commit...]
-
- * XplatUIX11.cs: implement the 3 Offscreen functions in terms of
- XPixmaps (CreateOffscreenDrawable maps to XCreatePixmap,
- DestroyOffscreenDrawable to FreePixmap, and BlitFromOffscreen to
- XCopyArea).
- 2006-12-07 Chris Toshok <[email protected]>
- * XplatUI.cs: add 3 calls (CreateOffscreenDrawable,
- DestroyOffscreenDrawable, and BlitFromOffscreen) that encompass
- all the behavior we need for double buffering.
- * XplatUIDriver.cs: implement the 3 double buffer methods using a
- client side Bitmap, just like the old Control-based double buffer
- code did. The methods are virtual, so each XplatUI driver
- subclass can replace the implementation to use a faster, platform
- specific approach.
- * Control.cs: make use of the 3 Offscreen XplatUI calls in the
- double buffer code, and clean things up a bit in the process.
- 2006-12-06 Chris Toshok <[email protected]>
- * Control.cs: reindent WndProc.
- 2006-12-06 Chris Toshok <[email protected]>
- [ I wanna be like BenM when I grow up ]
-
- * Hwnd.cs: create a single static Graphics object on the static
- Bitmap we create. use this for our text measurements.
- * Control.cs (DeviceContext): stop using the backbuffer's dc_mem.
- This was causing us to allocate a backbuffer for every control,
- even when it wasn't flagged as double buffered. Instead use the
- single graphics instance. This might have implications for
- multithreaded applications. If we run into problems we can switch
- to creating 1 Graphics per control, on the static Hwnd bitmap.
- this change nets us a 7M savings in private dirty mappings when
- running FormsTest.exe.
- 2006-12-06 Chris Toshok <[email protected]>
- * ListView.cs: the BackgroundImage override is just to set
- attributes. chain up to base.BackgroundImage.
- * RichTextBox.cs: same.
- * ToolBar.cs: same, but we need to also redraw the toolbar when it
- changes, so instead a handler for BackgroundImageChanged.
-
- * Control.cs: make background_image private.
- 2006-12-06 Chris Toshok <[email protected]>
- * ScrollBar.cs: change the assignment of cursor to Cursor. not
- sure we even need this assignment, but roll with it for now.
- * Control.cs: make the cursor field private.
- 2006-12-06 Chris Toshok <[email protected]>
- * Form.cs: we don't need to explicitly set ImeMode to
- ImeMode.NoControl - that's a natural fallout of Control.ImeMode's
- behavior in the face of ImeMode.Inherit.
- * ButtonBase.cs: change DefaultImeMode to ImeMode.Disable, and
- change the ctor's assignment to use ImeMode instead of ime_mode.
- * Control.cs (get_ImeMode): don't assume DefaultImeMode ==
- ImeModeInherit. Only check for the parent's imemode (and return
- NoControl if there is no parent) if ime_Mode == ImeMode.Inherit.
- This fixes the button unit test, which sets both ImeMode and
- DefaultImeMode to ImeMode.Disable.
- also make the ime_mode field private.
- 2006-12-06 Chris Toshok <[email protected]>
- * Control.cs: make control_style private.
- * TextBoxBase.cs: fix the HandleClick override. it was explicitly
- setting the styles to true, then setting them to false instead of
- reverting to their previous values.
- also, call SetStyle on the scrollbars instead of using
- control_style directly.
- 2006-12-06 Jonathan Pobst <[email protected]>
- * FormCollection.cs: Implement. [2.0]
- 2006-12-06 Chris Toshok <[email protected]>
- * Control.cs: make tab_stop private.
- * Label.cs: set TabStop, not tab_stop. reformat some event
- add/remove methods to make them more compact.
- 2006-12-06 Chris Toshok <[email protected]>
- * RadioButton.cs: fix TabStop handling.
- 2006-12-06 Chris Toshok <[email protected]>
- * TextBox.cs: remove the explicit assignments to has_focus.
- Control does that.
- * ButtonBase.cs: remove the assignment to has_focus. Control will
- manage that.
-
- 2006-12-06 Chris Toshok <[email protected]>
- * ButtonBase.cs: remove all uses of is_enabled from this code.
- it's always true when any of the code containing the checks is
- executed.
- 2006-12-06 Chris Toshok <[email protected]>
- * ImageList.cs: reinstate the ShouldSerialize*/Reset* methods,
- with different semantics (some are present in both 1.1 and 2.0
- profiles) so that we match MS's behavior in our unit tests.
- 2006-12-06 Jackson Harper <[email protected]>
- * TextControl.cs: Make this operation undoable.
- * TextBoxBase.cs: Factor the border width into the preferred
- height.
- - implement Modified as per the spec.
- 2006-12-06 Chris Toshok <[email protected]>
- * Timer.cs, Control.cs, Menu.cs: make control_tag private.
- 2006-12-06 Chris Toshok <[email protected]>
- * Control.cs: make right_to_left and context_menu fields private.
- 2006-12-06 Chris Toshok <[email protected]>
- * AccessibleObject.cs, Control.cs, XplatUIX11GTK.cs,
- XplatUIX11.cs, Form.cs, RadioButton.cs, ScrollableControl.cs: make
- Control.child_controls private. switch all uses over to
- Control.Controls.
- 2006-12-06 Chris Toshok <[email protected]>
- * System.Windows.Forms/GroupBox.cs,
- System.Windows.Forms/AccessibleObject.cs,
- System.Windows.Forms/ErrorProvider.cs,
- System.Windows.Forms/Control.cs,
- System.Windows.Forms/UpDownBase.cs,
- System.Windows.Forms/ScrollBar.cs,
- System.Windows.Forms/DateTimePicker.cs,
- System.Windows.Forms/Form.cs, System.Windows.Forms/Label.cs,
- System.Windows.Forms/ToolTip.cs,
- System.Windows.Forms/RadioButton.cs,
- System.Windows.Forms/LinkLabel.cs,
- System.Windows.Forms/Splitter.cs,
- System.Windows.Forms/TextBoxBase.cs,
- System.Windows.Forms/ToolStripTextBox.cs,
- System.Windows.Forms/ContainerControl.cs,
- System.Windows.Forms/ThemeWin32Classic.cs,
- System.Windows.Forms/SizeGrip.cs,
- System.Windows.Forms/ToolStripDropDown.cs,
- System.Windows.Forms/ScrollableControl.cs: Make Control.parent
- private. switch all uses over to Control.Parent.
- 2006-12-06 Chris Toshok <[email protected]>
- * RichTextBox.cs: don't assign to has_focus in GotFocus/LostFocus.
- Control does this before calling emitting these events.
- * TabControl.cs: same.
- * ThemeWin32Classic.cs: use Control.ClientRectangle instead of
- Control.client_rect.
- * ButtonBase.cs: use the ClientSize property instead of the
- client_size field.
- * ScrollableControl.cs: same.
- * Control.cs: another pass at making properties private. also,
- move the initialization of tab_stop to the ctor.
- 2006-12-05 Andreia Gaita <[email protected]>
- * TabControl.cs: Let the selected index be set freely if the
- control handle is not yet created.
- 2006-12-05 Jonathan Pobst <[email protected]>
- * Control.cs: Revert dist_top, dist_right, and dist_bottom to
- internal until I can rewrite DefaultLayout.
- * ToolStrip.cs: Fix build error and some general cleaning.
- * ToolStripControlHost.cs, SplitterPanel.cs, DataGridView.cs:
- Fix build errors caused by making some of Control's fields private.
- 2006-12-05 Jackson Harper <[email protected]>
- * TextControl.cs: Redo Insert a little so that it use IndexOf
- instead of Split, this prevents it from messing up on things like
- \n\n\n. Also more effecient since the split array doesn't need to
- be created.
- * TextBoxBase.cs: AppendText doesnt handle multiline and non
- multiline text differently, this is the first of many fixes that
- will make multiline/non-multiline the same thing as far as the
- TextBoxBase is concerned.
- - Don't split the text and insert lines, this can lose some line
- endings (like is the last line a soft or hard break). Instead use
- the new Insert.
- - Fix an off by one when combining all the lines in the Text
- getter.
- - Remove separate multiline handling from the Text getter/setter.
- 2006-12-05 Chris Toshok <[email protected]>
- * ButtonBase.cs: a few changes:
- - don't reinitialize internal Control fields in the ctor when they
- have the same values as Control sets them.
- - don't set has_focus in OnGotFocus/OnLostFocus. Control does
- this before calling those methods.
- - we don't need to call Refresh for anything. use Invalidate
- instead.
- - OnEnabledChanged doesn't need to redraw at all - Control.cs
- calls Refresh in its OnEnabledChanged.
-
- - several of the events we were registered for in the ctor to
- redraw ourselves already include calls to Invalidate in the
- property setters that raise the events. remove the extra
- invalidation.
- - reformat a switch statement that was 83274658 columns wide.
-
- 2006-12-05 Mike Kestner <[email protected]>
- * ComboBox.cs: fix a unit test regression from a TextBox
- SelectionLength return of -1 when there's no selection.
- 2006-12-05 Chris Toshok <[email protected]>
- * Control.cs, Button.cs, ThemeGtk.cs, Form.cs, ListView.cs,
- ThemeWin32Classic.cs, SizeGrip.cs, ToolBar.cs: first pass at
- cleaning up some of the internal Control fields being used by
- subclasses.
- 2006-12-05 Mike Kestner <[email protected]>
- * ComboBox.cs: fix some Simple mode regressions. Set Visible on the
- listbox after AddImplicit calls since it defaults to hidden. Add a
- hack to preserve requested heights across DropDownStyle changes.
- 2006-12-05 Jonathan Pobst <[email protected]>
- * PropertyGrid.cs: Hide FindFirstItem method from public API.
- 2006-12-05 Chris Toshok <[email protected]>
- * DataGridView.cs: fix compiler warnings.
- * PrintControllerWithStatusDialog.cs: same.
- * ToolBar.cs: same.
- * FolderBrowserDialog.cs: same.
- * Splitter.cs: same.
- * DataGridViewComboBoxCell.cs: same.
- * XplatUIWin32.cs: same.
- * PictureBox.cs: same.
- * Win32DnD.cs: same.
- * PageSetupDialog.cs: same.
- * FileDialog.cs: same.
- * PrintDialog.cs: same.
- * DataGridTextBoxColumn.cs: same.
- * DrawTreeNodeEventArgs.cs: same (and fix corcompare)
- 2006-12-05 Chris Toshok <[email protected]>
- * TextBox.cs, CheckedListBox.cs, MonthCalendar.cs, Menu.cs,
- MainMenu.cs, ListView.cs, LabelEditTextBox.cs, ToolBar.cs: more
- System.ComponentModel.EventHandlerList work.
- 2006-12-05 Jonathan Chambers <[email protected]>
- * DrawTreeNodeEventArgs.cs: Added.
- 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
-
- * InternalWindowManager.cs: Remove an unused field.
-
- 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
- * InternalWindowManager.cs:
- - Save the point where the title bar is clicked.
-
- * MdiWindowManager.cs:
- - Only allow moving of the window as long as the
- clicked point on the title bar does not get out of
- MdiClient's rectangle. Fixes #79982.
-
- * MdiClient.cs:
- - Added Horizontal/VerticalScrollbarVisible.
- - Simplified the scrollbar sizing algorithm.
- - Cache the difference in scrolled value in
- H/VBarValueChanged and move the calculation out
- of the for loop.
- 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
- * Control.cs: Make the Console.WriteLine in WndProc
- write more info.
- 2006-12-05 Chris Toshok <[email protected]>
- * ToolStripManager.cs, ToolStripButton.cs,
- ToolStripContentPanel.cs, ToolStripComboBox.cs, ToolStrip.cs,
- ToolStripMenuItem.cs, ToolStripItem.cs, ToolStripControlHost.cs,
- ToolStripSplitButton.cs, ToolStripSeparator.cs,
- ToolStripRenderer.cs, ToolStripDropDownItem.cs,
- ToolStripProgressBar.cs, ToolStripContainer.cs,
- ToolStripTextBox.cs, ToolStripPanel.cs, ToolStripDropDown.cs: move
- to using System.ComponentModel.EventHandlerList.
- 2006-12-04 Chris Toshok <[email protected]>
- * LinkLabel.cs: fix up compiler warnings.
- * TableLayoutSettings.cs: same.
- * TreeView.cs: same.
- * ToolBar.cs: same.
- * TabControl.cs: same.
- * RichTextBox.cs: same.
- * ListViewItem.cs: same.
- * PropertyGrid.cs: same.
- * DataGridViewRowPostPaintEventArgs.cs: corcompare fix.
- * ToolTip.cs same.
- * TextRenderer.cs: fix up compiler warnings.
- * Label.cs: same.
- * Form.cs: corcompare fixes.
- * PictureBox.cs: fix up compiler warnings.
- * ImageListStreamer.cs: same.
- * TrackBar.cs: corcompare fix.
- * Control.cs: fix up compiler warnings.
- * SplitterPanel.cs: same.
- * NumericTextBox.cs: same.
- * ImageList.cs: same.
- * StatusStrip.cs: same.
- * ProgressBar.cs: corcompare fix.
- * ToolStripButton.cs: fix up compiler warnings.
- * ToolStripStatusLabel.cs: same.
- * ToolStripSplitButton.cs: same.
- * ToolStripSeparator.cs: same.
- * ToolStripProgressBar.cs: same.
- * ToolStripDropDownMenu.cs: same
- * ToolStripDropDown.cs: same.
- * ToolStripDropDownButton.cs: same.
- * ToolStrip.cs: same.
- * ToolStripControlHost.cs: same.
- * ToolStripContentPanel.cs: same.
- * ToolStripDropDown.cs: same.
- * ToolStripContainer.cs: same.
- * ToolStripPanel.cs: same, and add "new" where we need it to work
- with the new ArrangedElementCollection.
- * ToolStripItemCollection.cs: add "new" where we need it to work
- with the new ArrangedElementCollection.
- 2006-12-04 Andreia Gaita <[email protected]>
- * TabControl.cs: Fix default tab selection to after TabControl
- gets focus and not before. Fixes #80128
- 2006-12-04 Chris Toshok <[email protected]>
- * DataGridTableStyle.cs: remove the gross calling of
- datagrid.Refresh from here. It's a broken idea and it doesn't
- work anyway.
- * DataGrid.cs: instead, just register/unregister from the
- DataGridTableStyle events in CurrentTableStyle. we play it
- conservatively and EndEdit + CalcAreasAndInvalidate on any event,
- even though some would most likely not require it. Fixes bug
- #80115 (and one portion of #80117 as a side effect).
- 2006-12-04 Chris Toshok <[email protected]>
- * DataGrid.cs (set_CaptionVisible): EndEdit before doing the work
- so the textbox (if any) goes away. Fixes bug #80117.
- 2006-12-04 Chris Toshok <[email protected]>
- * DataGridColumnStyle.cs: set the column's readonly property
- initially based on the property descriptor's IsReadOnly. Fixes
- bug #80044.
- 2006-12-04 Chris Toshok <[email protected]>
- * ComboBox.cs: wrap the dropdown style changing work in
- SuspendLayout/ResumeLayout. Fixes bug #79968.
- 2006-12-04 Jackson Harper <[email protected]>
- * TextBoxBase.cs: Fix off by one, since these are one-based.
- * TextBox.cs: Select all the text when we get focus. The TextBox
- does this but the RTB does not.
- 2006-12-04 Chris Toshok <[email protected]>
- * DataGridTextBoxColumn.cs: remove some spew.
- * DataGridColumnStyle.cs (SetColumnValueAtRow): this seems right
- but some part of me is saying "it shouldn't be here.." At any
- rate, it fixes bug #80046. Call IEditableObject.EndEdit after
- setting the value.
- 2006-12-04 Chris Toshok <[email protected]>
- * DataGridColumnStyle.cs (SetDataGrid): call CheckValidDataSource
- to reassign the propertydescriptor.
- 2006-12-04 Jackson Harper <[email protected]>
- * TextBoxBase.cs:
- * TextControl.cs: Remove some unused variables. Maybe this will
- patch things up between mike and I.
- - don't split lines less then one char wide, if the viewport is
- that small text won't be visible anyways.
-
- 2006-12-04 Jackson Harper <[email protected]>
- * TextBoxBase.cs: Default selection length is -1, need to do some
- more testing on windows to see when this is used for the property.
- - Redid the Lines [] property to that we properly remove soft line
- breaks
- - added support for preserving carriage returns
- - CanUndo is not a variable like 'is undo enabled' it just returns
- true if there is undo operations available.
- - AppendText doesn't need to grab the last tag itself anymore,
- this happens automatically when we move the cursor.
- * TextControl.cs: Add CompoundActions to the undo class. This
- allows combining the other operations into one big option. ie a
- paste will combine { delete old, insert new, move cursor }
- - Add InsertString undo operation
- - New method for deleting multiline text
- - Add carriage returns to lines. So we can preserve carriage
- returns when text is 'roundtripped'
- 2006-12-04 Chris Toshok <[email protected]>
- * DataGrid.cs (CalcCellsArea): cells_area.Width/Height are at a
- minimum 0. Fixes the scrollbar exception in bug #80136.
- 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
- * MdiClient.cs:
- * MdiWindowManager: Removed unused fields and methods.
-
- 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
-
- * StatusBar.cs: Update all panels when a AutoSize=Contents
- panel needs updating.
-
- * StatusBarPanel.cs: Remove twidth and only use initialize.
- Fixes #80031.
-
- 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
- * Form.cs: When a form's MdiParent is set add it directly
- on top of the z-order in stead of relying on MdiClient's
- ActivateChild to do it. Fixes #80135.
-
- * MdiClient.cs:
- - Remove original_order, mdi_child_list is already doing
- the same thing.
- - Create mdi_child_list on construction in
- stead of first use (avoids a few null checks).
- * MenuItem.cs: Use an already existing list of mdi children
- to get the correct order of children and remove the other
- redundant list.
- 2006-12-04 Chris Toshok <[email protected]>
- * PropertyGridView.cs: cached_splitter_location is only used in
- !DOUBLEBUFFER code.
- * PropertyGrid.cs: implement the ComComponentNameChanged event
- using Events, hoping that would fix the warning. Looks like a
- compiler bug instead (#80144).
- * PropertyManager.cs: remove unused method.
- 2006-11-04 Everaldo Canuto <[email protected]>
- * ThemeWin32Classic.cs: Dont draw arrow when menuitem on menubar,
- include parentesis to fix expression evaluation. Fixes #79634.
- 2006-11-02 Everaldo Canuto <[email protected]>
-
- * MenuAPI.cs:
- - Changes to fix behavior in Menu control, some reported in #80097
- and other detected during behavior refactory like a select event
- problems.
- - Remove unneded "if's" conditions.
- - Created an internal to flag when popup is active in control, we need
- it because in .NET you can have menu active but without popup active
- when you active menu using popup without visible items.
- - Mimic win32 behavior for Select and Popup events.
- - Dont open popup menu when you dont have visible subitems.
- - Do nothing when click on disabled menu item.
- - Some small changes to follow the coding style guidelines.
- - Unselect menu only when another control gives focus. Fixes #80097.
- - Remove unused code.
-
- * MenuItem.cs: internal VisibleItems method to check if menu
- theres visible subitems, it will be usefull to fix some
- behavior in Menu control.
-
- 2006-11-01 Everaldo Canuto <[email protected]>
-
- * Timer.cs: Tag property for 2.0 profile.
-
- 2006-12-01 Chris Toshok <[email protected]>
- [ after removing all warning suppressions, this cleans up over 100 warnings. ]
-
- * Win32DnD.cs: comment out some unused fields.
- * XplatUIWin32.cs: comment out some unused pinvokes, and remove
- some unused properties/methods.
- * XplatUIX11.cs: fix MousePosition so we override the base class's
- property instead of conflicting with it.
- * PictureBox.cs: comment out some unused fields
- * OSXStructs.cs: make some struct fields public.
- * XplatUIOSX.cs: comment out some unused pinvokes, and fix
- MousePosition so we override the base class's property instead of
- conflicting with it.
- * X11Dnd.cs: comment out some unused fields
- * X11DesktopColors.cs: fix some struct field visibility to quiet
- the compiler.
- * X11Dnd.cs: remove some debug code.
- * ThemeClearlooks.cs: comment out unused field.
- * ThemeNice.cs: mark some methods as overriding ThemeWin32Classic as needed.
- * ThemeGtk.cs: comment out some unused pinvokes.
- * Timer.cs: remove some unused fields.
- * ThemeClearlooks.cs: comment out unused field.
- * UpDownBase.cs: comment out unused field.
- * DataObject.cs: comment out unused field.
- * DataGridBoolColumn.cs: reomve unused field.
- * DataGrid.cs: remove unused field.
- * Cursor.cs: remove old ToBitmap code.
- * ControlPaint.cs: remove unused method.
- * ScrollBar.cs: remove unused fields.
- * ComboBox.cs: remove unused field, and chain up to
- AccessibleObject ctor.
- * ListBox.cs: remove unused field.
- * ButtonBase.cs: wrap a couple fields in NET_2_0.
- * GridEntry.cs: remove unused fields.
- * Binding.cs: remove unused fields.
- * AxHost.cs: remove unused method.
- * ContainerControl.cs: remove unused field.
- * ScrollableControl.cs: remove unused fields.
- 2006-12-01 Chris Toshok <[email protected]>
- * XplatUI.cs, XplatUIWin32.cs, XplatUIGTK.cs: nuke
- the Where/WhereString stuff. it's easy enough to CWL
- Environment.StackTrace.
- * XplatUIX11.cs: same, but also fix up a lot of mcs warnings about
- unused private fields.
- 2006-12-01 Jackson Harper <[email protected]>
- * TextControl.cs: Do not update the view while inserting multiline
- text. If we update the view we might wrap lines, before entering
- the new lines, which causes the new line insertion calculations to
- be totally fubared.
- - Remove an old TODO
- - Make debug output a little nicer
-
- 2006-12-01 Chris Toshok <[email protected]>
- * ToolBar.cs: revert the ImeMode fix here and add an XXX comment.
- 2006-12-01 Chris Toshok <[email protected]>
- [ fix the majority of the CS0108 warnings we've been suppressing ]
-
- * TreeView.cs: mark BackgroundImageChanged as 'new'.
- * ToolBar.cs: ImeMode just passes stuff to Control. Rename Layout
- to "LayoutToolBar" to quiet mcs.
-
- * TabControl.cs: mark our ControlCollection class as 'new'.
- * TextBoxBase.cs: mark some events as 'new'.
- * Splitter.cs: TabStop is 'new'.
- * ControlBindingsCollection.cs: mark a few methods as new since
- they change the visibility from protected to public.
- * RadioButton.cs: DoubleClick -> base class, and remove unused
- HaveDoubleClick.
- * MonthCalendar.cs: ImeMode property -> base class, and mark many
- events as new.
- * NumericUpDown.cs: TextChanged -> base class.
- * CheckedListBox.cs: mark our ObjectCollection class as new to
- quiet mcs.
- * FolderBrowserDialog.cs: make HelpRequest event new and have it
- muck with the base class.
- * StatusBar.cs: fix some mcs warnings about Update being the same
- name as a base class method.
- * RichTextBox.cs: mark some events as new, and make them do things
- to the base class impl.
- * UserControl.cs: mark TextChanged as new, and have it manipulate
- base.TextChanged.
- * UpDownBase.cs: mark some things new.
- * CheckBox.cs: mark DoubleClick "new", and add some text about
- what we need to look at.
- * Panel.cs: make the events "new", and manipulate the base
- version. these are just here for attributes.
- * AccessibleObject.cs: make owner private.
- * Control.cs: deal with AccessibleObject.owner being private.
- cache our own copy if we need it.
- * Button.cs: add "new" to the DoubleClickEvent.
- * ListBox.cs: no need to track our own has_focus here. let
- Control.has_focus do it for us. Also some other work to clear up
- warnings about not overriding base class methods of the same name.
-
- * ComboBox.cs: clear up some warnings about not override base
- class methods of the same name.
- 2006-12-01 Chris Toshok <[email protected]>
- * Form.cs: flag a few things as "new" to quiet some of the mcs
- warnings.
- * AxHost.cs: same.
- * PrintPreviewDialog.cs: same.
- * DataGridView.cs: fix a ton of corcompare warnings. not all, but
- now DGV isn't so horrible on the class status page. also, move
- all events to using System.ComponentModel.EventHandlerList. my
- wrists hurt.
- 2006-12-01 Rolf Bjarne Kvinge <[email protected]>
- * MdiWindowManager.cs:
- - Set form to active mdi child if shown,
- and update the active mdi child to the next
- remaining child in the z-order if the form is hidden.
- * Form.cs:
- - Track if the form has been visible and if its
- visibility is beeing changed, so that the MdiClient
- can properly decide the ActiveMdiChild. The MdiClient
- cannot track this since the form can change visibility
- before MdiClient is created.
- * MdiClient.cs:
- - Don't activate anything of the parent form is changing
- its visibility.
- - Rework ActiveMdiChild to only return visible mdi
- children and take into account several other corner
- cases.
- 2006-12-01 Chris Toshok <[email protected]>
- * IBindableComponent.cs: new 2.0 interface.
- 2006-12-01 Gert Driesen <[email protected]>
- * DataGrid.cs: Font for caption area is bold by default.
- 2006-12-01 Everaldo Canuto <[email protected]>
- * Menu.cs: Tag property for 2.0.
-
- 2006-11-01 Everaldo Canuto <[email protected]>
- * ThemeWin32Classic.cs: Adjust menu separator drawing.
-
- 2006-12-01 Chris Toshok <[email protected]>
- * TreeView.cs: doh, the Begin* events should be
- TreeViewCancelEventHandler.
- 2006-12-01 Chris Toshok <[email protected]>
- * Form.cs: Form.ControlCollection already stores off the
- form_owner field. don't access the base class's internal "owner"
- field.
- * Control.cs: make all the fields in Control.ControlCollection
- private. there's no need for any internal fields here.
- 2006-12-01 Chris Toshok <[email protected]>
- * DataGrid.cs: call SetDataSource instead of CalcGridAreas in
- OnHandleCreated. Fixes bug #80109.
- 2006-12-01 Chris Toshok <[email protected]>
- * Button.cs, PropertyGridTextBox.cs, ComboBox.cs,
- SplitContainer.cs, Control.cs, StatusStrip.cs,
- DataGridTableStyle.cs, MenuItem.cs, DomainUpDown.cs, ImageList.cs,
- NumericTextBox.cs, NumericUpDown.cs, Panel.cs, CommonDialog.cs,
- DataGrid.cs, ScrollBar.cs, TrackBar.cs, PictureBox.cs,
- DateTimePicker.cs, StatusBar.cs, Form.cs, PrintPreviewDialog.cs,
- Label.cs, UserControl.cs, CheckBox.cs, RadioButton.cs,
- LinkLabel.cs, ListControl.cs, PropertyGrid.cs, Splitter.cs,
- MenuStrip.cs, FolderBrowserDialog.cs, NotifyIcon.cs,
- TextBoxBase.cs, ListView.cs, DataGridBoolColumn.cs,
- PrintPreviewControl.cs, RichTextBox.cs, ListBox.cs, TabControl.cs,
- DataGridColumnStyle.cs, ContextMenu.cs, TreeView.cs:
- do most of the work to convert our code over to use
- System.ComponentModel.Component.Events for
- adding/removing/dispatching events.
- 2006-11-30 Jonathan Pobst <[email protected]>
- * DataGridView.cs: Fix an ArgumentNullException reported
- twice today in IRC.
- 2006-11-30 Mike Kestner <[email protected]>
- * ComboBox.cs: fix the scrollbar mouse event forwarding in the
- grabbed listbox. Fixes #80036 and #80101.
- 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
- * Message.cs: Changed ToString() to match MS.
-
- 2006-11-30 Jackson Harper <[email protected]>
- * TextBoxBase.cs: You can still change the selected text on a read
- only textbox.
- * TextControl.cs: Lower magic number for wrap calculations. This
- lets text get closer to the right (far) edge.
- 2006-11-30 Jonathan Pobst <[email protected]>
- * Control.cs: Tweak 2.0 layout properties.
- * Form.cs: Switch ToolStripMenuTracker hooks to ToolStripManager.
- * TextRenderer.cs: Add a new overload.
- * ToolStrip*: Huge amount of changes and new features.
- 2006-11-30 Mike Kestner <[email protected]>
- * ComboBox.cs: fixes for LargeChange and Maximum to get the
- scroll range correct. Fixes #79994.
- 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
- * MdiWindowManager.cs: Update main form's text when
- a form is closed. (fixes #80038)
-
- 2006-11-30 Everaldo Canuto <[email protected]>
- * ToolBar.cs:
- - Fix an regression in ButtonSize.
- - Get ImeMode default value change to "Disable".
- - Get ShowTooltips default value change to true, default value is
- "false" but after make a test in .NET we get "true" result as default.
-
- 2006-11-29 Jonathan Pobst <[email protected]>
- * ToolStripDropDown.cs: Fix for SupportsTransparency change.
- 2006-11-29 Chris Toshok <[email protected]>
- * XplatUIWin32.cs (GetWindowTransparency): check return value of
- GetLayeredWindowAttributes. if it's 0, return 1.0, as
- SetWindowTransparency hasn't been called.
- 2006-11-29 Chris Toshok <[email protected]>
- * Form.cs (set_TransparencyKey): only call SetWindowTransparency
- if it's supported.
- (set_AllowTransparency): reorder things a little so that the
- WS_EX_LAYERED style is removed properly.
- 2006-11-29 Chris Toshok <[email protected]>
- [ totally cosmetic eye-candy feature, fixes bug #80089 ]
-
- * Form.cs: only call the XplatUI transparency method (get/set) if
- SupportsTransparency says it's supported. Otherwise fallback to
- doing nothing (in the set case) or returning the instance field we
- cache (in the get case).
- * XplatUIStructs.cs: add TransparencySupport flag enum.
-
- * XplatUIDriver.cs: add abstract GetWindowTransparency, and track
- change to SupportsTransparency.
- * XplatUIOSX.cs: stub out GetWindowTransparency, and return
- TransparencySupport.None from SupportsTransparency.
- * XplatUIX11.cs: Stub out GetWindowTransparency, and return
- TransparencySupport.Set from SupportsTransparency.
- * XplatUIWin32.cs: implement GetWindowTransparency calling
- GetLayeredWindowAttributes, and implement SupportsTransparency by
- checking whether or not both
- GetWindowTransparency/SetWindowTransparency are available
- entrypoints. We need to do this since SetWindowTransparency is
- available as of win2k, but GetWindowTransparency requires winxp.
- yay win32 api.
- * XplatUI.cs: Add GetWindowTransparency, and change
- SupportsTransparency to allow for either/both Get/Set.
- 2006-11-29 Chris Toshok <[email protected]>
- * DataGrid.cs: keep from going into an infinite loop redrawing a
- datagrid that has no datasource. Fixes bug #80033.
- 2006-11-29 Chris Toshok <[email protected]>
- * MenuItem.cs: fix the NRE when we assign text (and therefore call
- Invalidate) before the mainmenu has been assigned to a control.
- 2006-11-29 Chris Toshok <[email protected]>
- * DataGrid.cs: detect when we should be double the double click
- row/column autosize stuff, although that codepath has yet to be
- written. part of the work for bug #79891.
- 2006-11-29 Chris Toshok <[email protected]>
- * Binding.cs (SetControl): fix unit test.
- 2006-11-29 Carlos Alberto Cortez <[email protected]>
- * PageSetupDialog.cs: Validate the margins and set them in
- PageSettings.
- * NumericTextBox.cs: New class to mimic the behavior of the
- textboxes used in the printing dialogs.
- 2006-11-29 Andreia Gaita <[email protected]>
-
- * Form.cs: Revert previous change (remove call UpdateBounds
- from form constructor), because it messes with the handle creation
- order, and that one needs lots and lots of love.
- * PrintPreviewDialog.cs: Revert change to CreateHandle (add check
- for valid printer and throw InvalidPrinterException if document
- is set but printer not valid), adding a MonoTODO. Once
- handle creation is done properly, we can put this back in.
- 2006-11-28 Everaldo Canuto <[email protected]>
- * MenuItem.cs: Create a invalidate method for menu item, to be
- calling from set text, it make text changes to imadiate update
- on screen. Fixes #80013.
-
- 2006-11-28 Everaldo Canuto <[email protected]>
- * ToolBar.cs: Fixes and simplify toolbar button layout, it
- fixes bug #80070 and some other problem on toolbar buttons
- layout.
- 2006-11-28 Everaldo Canuto <[email protected]>
- * ThemeWin32Classic.cs: Paint toolbar toggle button background
- with dotted brush. Fixes #79564
-
- 2006-11-28 Andreia Gaita <[email protected]>
- * Form.cs: Removed call to UpdateBounds on Form
- constructor, it was causing a call to CreateHandle
- before it was supposed to.
- * PrintControllerWithStatusDialog: Applied patch
- by Chris Toshok to hide controller when there are
- no printers available.
- PrintDialog.cs: initialize printer settings to
- null - correct DefaultValues test #5
- * PrintPreviewControl.cs: Move PrintController
- initialization to GeneratePreview
- * PrintPreviewDialog.cs:
- - Remove Preview generation from Document_set(). It is
- called on OnPaint
- - Throw InvalidPrinterException on CreateHandle if
- a Document is set but there are no printers or
- printer is not valid.
- * ThemeWin32Classic: don't paint PrintPreviewControl
- if there is nothing to paint
- 2006-11-28 Miguel de Icaza <[email protected]>
- * Form.cs: Add another popular method.
- * TabPage.cs: ditto.
- 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
- * MenuItem.cs: Fixed a warning.
- * InternalWindowManager: Fixed a warning.
- 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
- * MenuItem.cs:
- - When cloning a menu also clone MdiList and clone the
- window menu items properly (as the forms and menuitems
- are kept in an internal hashtable, these need updating
- as well)
- - Rewrote the window menu code, menu items are added in the
- order the forms were added to their parent, and they are
- updated every time the window menu is shown (before the
- list was only generated once, in the current order of the
- forms, and would never be updated). A checkmark is shown
- next to the item corresponding to the active mdi child.
- 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
- * XplatUIStructs.cs:
- - Added WM_NCMOUSEHOVER and WM_NCMOUSELEAVE.
-
- * XplatUIWin32.cs:
- - Added TME_NONCLIENT to TMEFlags.
- - Handles WM_NCMOUSEMOVE in GetMessage to
- generate WM_NCMOUSEHOVER and WM_NCMOUSELEAVE messages.
- * MdiWindowManager:
- - Now merges mdi child menu to parent menu when maximized.
- - Recalculate NC areas of both mdi child and mdi parent.
- Fixes #79757 (4).
- on window state and size changes.Fixes #79844 (3).
- - Handle WM_NCCALCSIZE to properly calculate borders.
- * Form.cs:
- - Add/remove to the mdi containers list of mdi children
- in the order they are added.
- - Pass on WM_NCLBUTTONUP, WM_NCMOUSEMOVE and WM_NCMOUSELEAVE
- to the maximized mdi child.
-
- * InternalWindowManager.cs:
- - Only execute a click on the control buttons on the mouse up,
- not on the mouse down. Show the state of the button
- (was only showing Normal state, never Pressed state). The
- pressed button now follows the mouse (if you click the Close
- button and move the mouse over the Maximize button, the
- Maximize button will be shown as pressed). Since Win32 does
- not generate WM_NCLBUTTONUP if you release the button outside
- of the nc area, we need to handle WM_NCMOUSELEAVE and treat
- it as a mouse up.
-
- * ThemeWin32Classic.cs:
- - Draw a missing border around mdi child forms. Fixes #79844 (2).
- * MdiClient.cs:
- - Added a list of forms which contains the order the forms are
- added to the mdi parent.
- - Handle WM_NCPAINT to properly draw a 3D border. Fixes #79844 (2).
- - Handle WM_NCCALCSIZE to properly calculate the 3D border.
- - If the active form changes set the scrollbars to the top
- of the Z order, otherwise the form could hide them.
- - Scrollbars are now sized according to ClientSize, not
- to Size, and they take into account the other scrollbar
- to determine maximum.
-
- 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
-
- * XplatUI.cs:
- * XplatUIDriver.cs:
- * XplatUIX11.cs:
- * XplatUIWin32.cs:
- * XplatUIOSX.cs:
- - Added RequestAdditionalWM_NCMessages for windows to
- opt in for WM_NCMOUSELEAVE and WM_NCMOUSEHOVER.
- Currently only implemented in XplatUIWin32.
- 2006-11-27 Chris Toshok <[email protected]>
- * Hwnd.cs: only add the hwnd to the windows hash in
- set_WholeWindow and set_ClientWindow if whole_window/client_window
- are not IntPtr.Zero. also, remove the unused SetObjectWindow.
- 2006-11-27 Mike Kestner <[email protected]>
- * ComboBox.cs: remove redundant OnDropDown call. It is called
- from the ComboListBox.ShowWindow code. Fixes #79969.
- 2006-11-27 Chris Toshok <[email protected]>
- * Hwnd.cs: remove the setters for ExposePending and
- NCExposePending - noone uses them.
- 2006-11-27 Jackson Harper <[email protected]>
- * TextControl.cs: new param for ReplaceSelection which determines
- whether we select the new selection, or set the cursor to the end
- of the new selection.
- * TextBoxBase.cs: Use new param for ReplaceSelection. When
- pasting, select the new text.
- * RichTextBox.cs: Use new param for ReplaceSelection.
- 2006-11-27 Jackson Harper <[email protected]>
- * TextBoxBase.cs: Set the selection to the caret after the caret
- is moved, otherwise they get out of sync.
- 2006-11-26 Everaldo Canuto <[email protected]>
- * ToolBar.cs: Fixe size of ToolBar when AutoSize is false,
- it fixes #80015
- 2006-11-26 Everaldo Canuto <[email protected]>
- * ThemeWin32Classic.cs:
- - Fix toolbar drop down arrow position.
- - Fix drop down appearance when ToolBar.Appearance is normal,
- it fixes #80018.
-
- 2006-11-26 Gert Driesen <[email protected]>
- * ProgressBar.cs: GetStyle fixes for 2.0 profile.
- * Control.cs: Same.
- * UpDownBase.cs: Same.
- * ButtonBase.cs: Same.
- * ScrollBar.cs: Same.
- * TrackBar.cs: Same.
- * PictureBox.cs: Same.
- * UserControl.cs: Same.
- * Label.cs: Same.
- * ListControl.cs: Same.
- * TextBoxBase.cs: Same.
- * ListView.cs: Same.
- * RichTextBox.cs: Same.
- * TreeView.cs: Same.
- 2006-11-25 Jordi Mas i Hernandez <[email protected]>
- * PrintDialog.cs:
- - Text label for where
- - Text label comment was not shown
- 2006-11-23 Everaldo Canuto <[email protected]>
- * ThemeWin32Classic.cs: Fix toolbar drop down arrow size.
- 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
- * InternalWindowManager.cs:
- - Handle WM_PARENTNOTIFY to activate the form
- if any child control is clicked.
- - The form is only sizable if not minimized.
- * MdiWindowManager.cs:
- - Save the IconicBounds if the form is moved.
- - Rework SetWindowState, now the window bounds
- are stored only if the old window state is Normal.
-
- * MdiClient.cs:
- - In SetWindowStates store the old window state if
- the window is maximized and restore window state if
- the window looses focus.
- - Don't handle any scrollbar value changes if
- initializing the scroll bars. Fixes #79771.
- - Reworked ArrangeIconicWindows. Current algorithm
- tests bounds agains all other minimized windows, if
- any intersections create new bounds (going left to
- right, bottom to top) and then test again. When
- successful the bounds are saved and never computed
- again. Fixes #79774.
- 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
- * InternalWindowManager.cs: Added HandleTitleBarUp.
- 2006-11-23 Gert Driesen <[email protected]>
- * NumericUpDown.cs: In .NET 1.1, user entered text is still
- hexadecimal in ParseUserEdit.
-
- 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
- * MdiWindowManager.cs:
- - Handle a click on the form's icon to show the
- system menu (when maximized). Fixes #79775.
- - Change the existing click handler for the form's
- icon when not maximized to show on MouseUp.
- Fixes #79776.
- * Form.cs: In OnResize only layout the mdi child's
- parent if it actually has a parent. Might not if
- the window is closing.
- 2006-11-23 Gert Driesen <[email protected]>
- * MdiClient.cs: Ignore active MDI client for text of parent, if
- child has no text set.
- 2006-11-23 Gert Driesen <[email protected]>
- * ToolBar.cs: Fixed ToString to match MS.
- 2006-11-22 Andreia Gaita <[email protected]>
- * NumericUpDown:
- - Fix DecimalPlaces, Hexadecimal and ThousandsSeparator to
- update inner values on set. Fixes #79966.
- - Override OnLostFocus to update value on NET 2. Fixes #79950.
- - Fix hexadecimal parsing.
-
- * UpDownBase: Override OnGotFocus and OnLostFocus to notify
- parent. Fixes #79957
- 2006-11-22 Rolf Bjarne Kvinge <[email protected]>
- * Control.cs: After calling SetWindowsPos in SetBoundsCore
- the actual size has to be queried, since if height /
- width is negative Win32 changes it to 0.
- Fixes #79999 on Windows.
-
- * XplatUIX11.cs: Set height / width to 0 if negative
- in SetWindowPos. Fixes #79999 on Linux.
-
- 2006-11-22 Everaldo Canuto <[email protected]>
- * ThemeWin32Classic.cs: Fix text redenring when button is
- pressed.
- 2006-11-22 Everaldo Canuto <[email protected]>
- * MenuAPI.cs: Fixes behavior when menu is opened by kerboard
- and later navigate by mouse. Fixes #79528.
- 2006-11-21 Everaldo Canuto <[email protected]>
- * ToolBar.cs: Set default value for TabStop to false in
- constructor, it fixes remaining behavior of bug #79863.
- 2006-11-21 Rolf Bjarne Kvinge <[email protected]>
- * MdiWindowManager.cs:
- * InternalWindowManager.cs:
- - Moved a few methods specific to Mdi from
- InternalWindowManager to MdiWindowManager.
- Fixes #79996.
-
- 2006-11-21 Chris Toshok <[email protected]>
- * XplatUIOSX.cs: stub out InvalidateNC.
- * XplatUIWin32.cs: implement InvalidateNC using the call I found
- at http://www.dotnet247.com/247reference/msgs/58/292037.aspx.
- * XplatUIX11.cs: rename InvalidateWholeWindow to InvalidateNC.
- * XplatUIDriver.cs: add InvalidateNC abstract method.
- * XplatUI.cs: add InvalidateNC.
- 2006-11-21 Everaldo Canuto <[email protected]>
- * ToolBar.cs: Invalidate complete button area when pressed status
- was changed.
- * ToolButton.cs: Fix InvalidateBorder for DropDown buttons.
- * ThemeWin32Classic.cs: Increase vertical and horizontal position
- by 1 when button is pressed.
- 2006-11-20 Everaldo Canuto <[email protected]>
- * ToolButton.cs: Invalidate middle of DropDown button when
- ToolBar theres DropDownArrows.
- * ThemeWin32Classic.cs: Change position of DropDown arrow and
- fix DropDown drawing operations.
- 2006-11-20 Chris Toshok <[email protected]>
- * NativeWindow.cs: fix the formatting of functions ('{' on the
- following line), and enable the thread exception dialog.
- * Application.cs: remove the duplicate exception catching from
- here.
- 2006-11-20 Everaldo Canuto <[email protected]>
- * Toolbar.cs: Triggers button click event when click on icon
- of dropdown ToolBarButton. Fixes #79912.
-
- 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
- * Theme.cs:
- * ThemeWin32Classic.cs:
- - Added a property WindowBorderFont to enable themeing
- of mdi child windows' Text.
-
- 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
- * InternalWindowManager.cs:
- * Form.cs:
- * MdiClient.cs:
- * MdiWindowManager.cs:
- - If mdi child is maximized, set mdi parent's
- text to "Parent - [Child]". Fixes #79770.
- - If there is any maximized mdi child windows, only the active
- window (and any new windows) is maximized, the rest are normal.
- - On a WindowState change only save mdi child's window bounds
- if the old window state was normal. Fixes #79774.
- - The scroll bars are now calculated on hopefully all
- necessary events. Fixed #79771 / #79844->6 / #79906.
- - MdiClient.SizeScrollBars() now takes into account docked
- controls in the parent when calculating available space.
- - InternalWindowManager now always repaints the entire title
- area. Fixes #79844->1/4/5.
- - Added RequestNCRecalc on mdi child windowstate changes.
- Fixes #79772.
- 2006-11-20 Mike Kestner <[email protected]>
- * ComboBox.cs: setup LargeChange on the scrollbar. Invoke FireMouseUp
- in the MouseUp handler of the listbox and move the return handling
- code to FireMouseUp to avoid scrolling on ups. Fixes #79952.
- 2006-11-20 Everaldo Canuto <[email protected]>
- * Toolbar.cs: Ignore right mouse clicks in toolbar. Fixes #79855.
- 2006-11-17 Alexander Olk <[email protected]>
- * MimeIcon.cs: Seems that DllImports that were fine in 1.2 are not
- working in 1.2.x anymore. So, updated.
- 2006-11-19 Gert Driesen <[email protected]>
- * NumericUpDown.cs: Use NegativeSign, NumberDecimalSeparator and
- NumberGroupSeparator of current culture instead of assuming en-US.
- Fixed bug #79967.
- 2006-11-17 Mike Kestner <[email protected]>
- * Control.cs: Add the concept of implicit bounds setting so that
- dock/undock round trips preserve explicitly set size/locations.
- Fixes #79313.
- 2006-11-17 Alexander Olk <[email protected]>
- * FileDialog.cs: Trim all filters, otherwise DirInfo.GetFiles
- can't handle those filters. (Fixes bug #79961)
- 2006-11-17 Chris Toshok <[email protected]>
- [ fixes the exit/crashes associated with #79835. it's clearly
- suboptimal though, we need to figure out a better way to solve
- this. ]
-
- * PrintPreviewControl.cs: deal with the new invalid printer
- exceptions.
- * PageSetupDialog.cs: if the printer is invalid, pop up a dialog
- and return false (so CommonDialog.ShowDialog doesn't actually show
- the form.)
- * PrintDialog.cs: enable/disable the Ok button depending on
- whether or not the printer is valid.
- * CommonDialog.cs (ShowDialog): only actually show the form if
- RunDialog returns true.
- 2006-11-17 Jackson Harper <[email protected]>
- * TextControl.cs: When soft splitting a line, mark it as a soft
- split line. Also carry over the current line break to the next
- line.
- 2006-11-17 Chris Toshok <[email protected]>
- * XplatUIX11.cs: when scrolling a window with an invalid area, we
- only want to shift the part of the invalid area that overlaps the
- area we're scrolling. we also don't want to clear the invalid
- area unless the invalid area was entirely contained within the
- scrolling area.
- 2006-11-16 Chris Toshok <[email protected]>
- * XplatUIX11.cs: remove the handling of the TimerEvent stuff, and
- also make sure to free the memory returned by XGetWindowProperty
- in GetText().
- * X11Structs.cs: remove the TimerEvent stuff, it's unused.
- 2006-11-16 Chris Toshok <[email protected]>
- * XplatUI.cs: add a new super secret way to get at the totally
- unsupported X11 backend.
- 2006-11-16 Gert Driesen <[email protected]>
- * NumericUpDown.cs: Allow lowercase letters when in hex-mode.
- 2006-11-16 Jackson Harper <[email protected]>
- * TreeView.cs: Allow more explicit setting of top node position
- for scrollbars. Slower algo, but more accurate.
- - CollapseAll should maintain the current top node.
- * TextBoxBase.cs: When positioning the caret, use the line, pos
- method, since the x, y method does not grab the correct tag, and
- the caret height never gets set correctly. (Maybe I should just do
- away with the caret having its own height, and always use the
- carets current tag for height).
- 2006-11-16 Jonathan Pobst <[email protected]
- [Fixes 79778, 79923]
- * XplatUIWin32.cs: Don't allow a parent to be set to IntPtr.Zero.
- Parent to the FosterParent instead.
- 2006-11-16 Jackson Harper <[email protected]>
- * TreeView.cs: Need to recalc the topnode when we expand or
- collapse. The scrolling methods can't handle this on their own,
- since they use differences between the last scroll position, and
- those difference get completely messed up since we are expanding
- nodes. This problem should probably be fixed in the scrolling
- methods, so they can figure out exactly where they are, but this
- will slow things down a little.
- * ThemeWin32Classic.cs: Special case for groupboxes with empty
- strings, makes nunit-gui look a lot nicer.
- 2006-11-16 Chris Toshok <[email protected]>
- * XplatUIX11.cs: nasty, nasty, nasty changes required because of
- the broken multithreaded event handling we have in here. File
- this entry under "Why we should move to the new X11 backend".
- Any thread can make it into UpdateMessageQueue, which gets events
- from the X socket - some of which could belong to hwnds being
- managed by a different thread. We can also have multiple threads
- in UpdateMessageQueue at the same time, with each one reading from
- the X socket. This leads to many problems, with the following
- solutions:
- We can't use hwnd.Queue.Enqueue anywhere in here and must use
- EnqueueLocked.
- The MotionNotify compression we do can't work across threads
- (without locking the entire queue, perhaps) since we call
- hwnd.Queue.Peek, so we just punt and don't compress motion events
- unless the owning thread is the one which got the X event.
- ConfigureNotify is another fun one, since it modifies the hwnd's
- bounds and then enqueues the event. We add a lock to Hwnd which
- is held when setting configure_pending to true (and enqueuing the
- event).
- There is a race wrt the wake socket. we need to make sure that
- only 1 thread is waiting on that socket, or else a thread could
- sleep waiting for data that never comes. It's difficult (but not
- impossible) to make happen, because it seems to require something
- like the following:
- 1. Thread 1 polls on wake_receive
-
- 2. poll returns saying there's data to be read on
- wake_receive.
-
- 3. Thread 2 polls on wake_receive and immediately returns
- saying there's data to be read.
- 4. Thread 2 reads the wakeup byte from wake_receive
- 5. Thread 1 attempts to read the wakeup byte from
- wake_receive.
- 6. Thread 2 exits (due to a form closing, perhaps).
- 7. Thread 1 blocks forever.
-
- Fun, eh?
- Fixing the Expose handling isn't done yet, and the races inherent
- in that piece of code are responsible for the drawing mistakes you
- see when generating expose events in a MT app (like NPlot). This
- one is the likely to be the hardest to bandaid, and it doesn't
- appear to cause anything but drawing problems. The other issues
- caused apps to exit or hang.
- * XEventQueue.cs: output some spew when Dequeue/Enqueue/Peek are
- called from a different thread than the one that should be calling
- these functions.
- * Hwnd.cs: add some locks to be used by the XplatUIX11 code.
- 2006-11-15 Chris Toshok <[email protected]>
- * Application.cs: null out the context's MainForm when we exit
- RunLoop. Fixes a newly checked in unit test as well as the last
- ODE from bug #79933.
- 2006-11-15 Chris Toshok <[email protected]>
- * Form.cs (set_Owner): allow a null value so we can clear the
- form's owner.
- (Dispose): set all our owned_form's Owner properties to null, and
- clear the owned_forms collection.
- (WM_CLOSE): clean up this a little bit.. still not right though.
- * ApplicationContext.cs: OnMainFormClosed should only call
- ExitThreadCore if the main form isn't recreating. Fixes unit
- test.
- 2006-11-15 Jonathan Pobst <[email protected]>
- [Fixes 78346]
- * ComboBox.cs: Set the Hwnd.no_activate flag for the ComboListBox.
- 2006-11-15 Jonathan Pobst <[email protected]>
- [Fixes 79433]
- * Hwnd.cs: Add a flag to show a window, but not activate it, to
- keep popup window types from stealing focus from the main form
- on Windows.
- * XPlatUIWin32.cs: Use SW_SHOWNOACTIVATE if above field is true.
- * MenuAPI.cs: Set above flag to true.
- 2006-11-15 Chris Toshok <[email protected]>
- * XplatUIX11.cs: mimic win32 behavior on BUTTONUP events, where
- the button being released is not in wParam.
- 2006-11-15 Jonathan Pobst <[email protected]>
- * Form.cs: Add the released button to MouseEventArgs.Button
- for the OnMouseUp call to the MenuTracker. Fixes menu clicking
- on Win32.
- 2006-11-15 Chris Toshok <[email protected]>
- * XplatUIX11.cs: add (untested) a _NET_WM_NAME implementation of
- GetText(). untested because it's unused in our implementation.
- Control.Text always caches the text, even if
- ControlStyles.CacheText is not set.
- fixes bug #79939.
- 2006-11-15 Chris Toshok <[email protected]>
- [ fixes #79933 ]
-
- * Form.cs: in Close() don't do anything after we send the WM_CLOSE
- message. no hiding, no disposing.
- in the WM_CLOSE handler, hide the form if it's modal.
- 2006-11-15 Chris Toshok <[email protected]>
- * XplatUIX11.cs: use AddExpose instead of sending a message.
- fixes textbox border drawing.
- 2006-11-15 Chris Toshok <[email protected]>
- * PropertyGridView.cs: keep from crashing on mouse move/down when
- the property grid is empty.
- 2006-11-14 Jackson Harper <[email protected]>
- * TextControl.cs: Make PageUp and PageDown more like the MS
- versions.
- * TextBoxBase.cs: When we set the text property position the
- cursor at the beginning of the document.
- 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
- * Form.cs: if a mdi child's WindowState has changed
- before it's creation, it would display wrong control
- buttons.
-
- 2006-11-14 Alexander Olk <[email protected]>
- * TreeView.cs: De-uglify TreeView checkbox checkmarks.
- (Fixes bug #79927)
- 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
- * XplatUIX11.cs: send a WM_NCPAINT on WM_NCCALCSIZE so that
- the window gets to paint its borders even if the window is
- getting smaller.
-
- * Form.cs: on a WM_NCPAINT invalidate the entire menu,
- otherwise the old control buttons would still be painted
- if the window gets bigger.
-
- * PaintEventArgs.cs: add an internal method so that the clip
- rectangle can be changed.
-
- 2006-11-13 Chris Toshok <[email protected]>
- [ fixes bug #79745 ]
-
- * NotifyIcon.cs: lots of cleanup.
- * X11Structs.cs: add an enum for XEMBED messages.
- * XplatUIX11.cs: reindent one of the giant switch statements, it
- was taking up an additional tab stop, and this file is already way
- too wide for my laptop's screen.
- Also, add handling for the XEmbed EMBEDDED_NOTIFY message. When
- we get it, resize the hwnd to the WMNormalHints max_width/height.
- 2006-11-13 Jackson Harper <[email protected]>
- * TextBoxBase.cs: Compute the value changes for the mouse wheel
- teh simple way.
- 2006-11-13 Chris Toshok <[email protected]>
- * XplatUIX11.cs, XplatUIStructs.cs: kind of a gross fix for
- #79898. force a reference to the Region to stick around so the
- unmanaged object isn't collected (rendering our handle in the MSG
- stale).
- 2006-11-13 Chris Toshok <[email protected]>
- * XplatUIX11.cs: fix #79917 for window managers which support
- using XStoreName on the raw utf8, and we need to convert to
- COMPOUND_TEXT if it's non-latin1.
- 2006-11-13 Chris Toshok <[email protected]>
- * Form.cs (set_DialogResult): we need to set closing to false if
- we're setting our result to None. fixes bug #79908.
- 2006-11-13 Jackson Harper <[email protected]>
- * TextControl.cs: When formatting text, compute the adjusted tag
- lengths correctly, using FindTag for the end tag instead of trying
- to figure it out outselves.
- * TreeNode.cs: Use ActualItemHeight, which is the actual height of
- the item, ItemHeight doesn't work, because trees with large
- imagelists use those for their height
- * TreeView.cs: ActualItemHeight factors in the image height
- - compute left edge of checkboxes correctly
- - when expanding/collapsing move the bottom down one pixel, so we
- aren't moving part of the node
- 2006-11-13 Rolf Bjarne Kvinge <[email protected]>
- * XplatUIX11.cs: The PaintEventArgs is also added to the drawing
- stack in PaintEventStart so that it won't get disposed by the gc
- before reaching PaintEventEnd.
- 2006-11-13 Jackson Harper <[email protected]>
- * TextBoxBase.cs: Don't select the word if we are on a line with
- no text.
- - We don't need to position the caret on mouse up, since the mouse
- move handler should be doing this
- - When double clicking a blank line, the caret is advanced to the
- next line.
- 2006-11-13 Gert Driesen <[email protected]>
- * TreeNodeCollection.cs: Avoid duplicating indexer code.
- 2006-11-12 Gert Driesen <[email protected]>
- * ColorDialog.cs: Reset size of dialog between calls to ShowDialog.
- Fixes part of bug #79910.
- 2006-11-11 Alexander Olk <[email protected]>
- * ColorDialog.cs: Fix a NRE when adding a color to custom colors
- (bug #79903). Some minor string updates to match ms.
- 2006-11-10 Alexander Olk <[email protected]>
- * FileDialog.cs: Don't add an extension if the filename
- already ends with that extension.
- 2006-11-10 Jackson Harper <[email protected]>
- * TreeView.cs: Use the currently highlighted node for the
- BeforeSelect event.
- * TextBoxBase.cs: There is no need to expand selection on
- MouseMove.
- - CanUndo means 'is there any undo operations', not 'is undo
- allowed on this textcontrol. Fixed ClearUndo unit test.
- 2006-11-10 Andreia Gaita <[email protected]>
- * Button.cs: only perform click when button is Selectable (so as
- not to activate default buttons when they're disabled)
-
- * Control.cs: Rewrite of the SelectNextControl and related
- methods. HandleClick now selects next control if the current one
- is being disabled.
-
- * Form.cs: OnActivated selects next active control only if Load
- has already occurred. If Load hasn't run, there's no point in
- selecting here, Load might change the state of controls.
-
- * FocusTest.cs: Tests marked as working again for these fixes
- 2006-11-10 Chris Toshok <[email protected]>
- * XplatUIX11.cs: a couple of fixes.
- - use XInternAtoms with almost all the atoms we need to register,
- instead of many, many calls to XInternAtom. should help a bit on
- startup time, at the expense of making the code look a little
- worse.
- - fall back to setting TransientFor on TOOLWINDOW's if their hwnd
- isn't reparented (which seems to be a clue that we're running fon
- compiz) and they have an Owner form. This fixes the tool windows
- in paint.net when running under compiz.
- - when setting the opacity of a window, support both the case
- where the window has been reparented and also when it hasn't been.
- Since compiz/beryl doesn't seem to reparent windows, and these are
- the only window managers which support translucency, I'm not sure
- why we need the hwnd.reparented case at all.. but leave it in.
- now we get translucent windows in paint.net under compiz/beryl.
- 2006-11-10 Alexander Olk <[email protected]>
- * FileDialog.cs: Always return the value for FilterIndex that
- was set. Internally convert it to values that make sense.
- 2006-11-10 Everaldo Canuto <[email protected]>
-
- * ThemeWin32Classic.cs: Fix drowp down arrow borders.
- 2006-11-10 Everaldo Canuto <[email protected]>
- * Toolbar.cs: Change default value of DropDownArrows to true, the
- signature still using false to make it compatible with MS but the
- initial value is true. Fixes #79855.
- 2006-11-10 Alexander Olk <[email protected]>
- * MimeIcon.cs: Don't throw an exception on windows. Mime stuff is
- only available on Linux.
- 2006-11-09 Everaldo Canuto <[email protected]>
- * Toolbar.cs, ToolBarButton.cs: Fix wrong separator size and
- reduce number of calls to redraw method during toolbar creation.
- 2006-11-09 Mike Kestner <[email protected]>
- * ListView.cs : raise SelectedIndexChanged when an item is selected
- programmatically via the Item.Selected property. Gert's nice
- ListViewSelectedIndexChanged test fixture now runs clean.
- 2006-11-09 Mike Kestner <[email protected]>
- * ListView.cs : raise SelectedIndexChanged when a selected item is
- removed from the item collection using Remove or RemoveAt.
- 2006-11-09 Mike Kestner <[email protected]>
- * ListView.cs : raise SelectedIndexChanged once per selected item
- for compat with MS. Fixes #79849+.
- 2006-11-09 Chris Toshok <[email protected]>
- * TabControl.cs: initialize row_count to 0, and set it to 1 when
- we need to (if we have any tab pages). Fixes unit test.
- 2006-11-09 Chris Toshok <[email protected]>
- * Label.cs (CalcPreferredWidth): if Text == "", our preferred
- width is 0, not 3. Fixes a unit test.
- 2006-11-09 Mike Kestner <[email protected]>
- * ListView.cs : use Implicit scrollbars so that focus isn't
- stolen from the listview when they are clicked. Fixes #79850.
- 2006-11-09 Chris Toshok <[email protected]>
- * PropertyGridView.cs (OnPaint): only call DrawGridItems if we
- have a root item. Fixes #79879.
- 2006-11-09 Alexander Olk <[email protected]>
- * FileDialog.cs:
- - Fix ToString ()
- - An ArgumentException is now thrown if a wrong filter
- is applied (matches ms). The previous filter doesn't change
- anymore if an exception is thrown.
- - Changing the FileName property also affects FileNames
- * ColorDialog.cs: The length of the CustomColors array is always
- 16. It doesn't matter if we use a smaller array or null to update
- or change the custom colors property.
- * FolderBrowserDialog.cs: Throw an InvalidEnumArgumentException if
- for RootFolder if we get a undefined value.
- 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
- * StatusBarPanel.cs:
- - Width is set to MinWidth if Width is smaller than
- MinWidth. Fixes #79842.
- - MinWidth now always overrides Width (MSDN says MinWidth
- is set to Width when AutoSize = None, but they do not
- behave like that).
- - Style has now the the correct default value.
-
- 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
-
- * TrackBar.cs:
- - The control is completely invalidated on
- Got/LostFocus to draw the focus rectangle correctly.
- - When AutoSize then height is always 45 (width for
- vertical controls).
-
- * ThemeWin32Classic.cs: The TrackBar thumb is now centered
- on the mouse when moved and it doesn't move when grabbed
- until the mouse moves as well. Also fixed some wrong
- calculations when clicking on the thumb (control thought
- click was outside of thumb and didn't grab it).
- Fixes some of the issues in #79718.
- 2006-11-08 Everaldo Canuto <[email protected]>
- * Toolbar.cs: Prevent disabled button to highlight. Fixes #79868.
- 2006-11-08 Chris Toshok <[email protected]>
- * PropertyGridView.cs: only call ToggleValue if the item is not
- readonly.
- 2006-11-08 Jackson Harper <[email protected]>
- * TextBoxBase.cs: The RichTextBox and textbox have very different
- word selection methods. Implement the textbox's simple word
- selection here, and let the RichTextBox override and provide it's
- own.
- - Don't do extra selection on mouseup
- * RichTextBox.cs: Use the documents word selection algorithm, I
- think ideally, this function will be pulled into the
- RichTextBox.cs code someday.
- 2006-11-08 Chris Toshok <[email protected]>
- * RootGridEntry.cs: new class to represent GridItemType.Root.
- * CategoryGridEntry.cs: reformat, and add boilerplate.
-
- * GridEntry.cs: remove the UIParent stuff - turns out .Parent
- returns the UI parent anyway, and we need special handling to
- implement the GetTarget method in the face of it. Also, implement
- Select().
- * PropertyGrid.cs, PropertyGridView.cs: a number of fixes. create
- a root grid item, and use that instead of PropertyGrid.grid_items.
- Also, make use of TypeConverters (and add limitted support for
- ICustomTypeDescriptors) when initially populating the grid.
- Arrays now show up more or less properly.
- 2006-11-08 Chris Toshok <[email protected]>
- * Application.cs: set the modal dialog to non modal after we close
- it. Fixes bug #79866.
- 2006-11-08 Jackson Harper <[email protected]>
- * TextControl.cs: When combining lines carry over the line end
- style from the end line.
- - Invalidate the selected area when setting it, if it is visible.
- * TextBoxBase.cs: Only rich text box can do full line selects.
- - Make sure to set the cursor position when there is a click,
- otherwise two clicks in separate areas could cause a large chunk
- to be selected.
- 2006-11-07 Everaldo Canuto <[email protected]>
- * Toolbar.cs: Release flat button borders when Toolbar lost focus.
- Fixes #79863.
- 2006-11-07 Everaldo Canuto <[email protected]>
- * Toolbar.cs: Prevent toolbar to open more than one tooltip at same
- time. Remove tooltips when ToolButton click events. Fixes #79856.
- 2006-11-07 Everaldo Canuto <[email protected]>
- * MenuAPI.cs: Ignore right click for menu actions and fixes
- menu border when clicked. Fixes #79846.
- 2006-11-07 Everaldo Canuto <[email protected]>
- * XplatUIX11.cs, XplatUIX11.cs: Fix MouseRelease to only release
- MouseState after create wParam for message, this fixes mouse button
- equal none in mouse up events.
-
- 2006-11-07 Andreia Gaita <[email protected]>
- * Control.cs : Focus() now calls Select to set the Container's
- Active Control and to give it focus. To avoid infinite recursion
- (because ActiveControl also calls Focus at one point), a check
- is made in Focus with the help of a new internal variable
- is_focusing.
- 2006-11-07 Mike Kestner <[email protected]>
- * ListView.cs : raise OnSelectedIndexChanged in CreateHandle
- if there's a selection. Fixes #79849.
- 2006-11-07 Gert Driesen <[email protected]>
- * PropertyGrid.cs: Avoid fixed height of help description label.
- Fixes part of bug #79829.
- 2006-11-07 Chris Toshok <[email protected]>
- * XplatUIX11.cs: fix #79790 again, by using the
- _NET_WM_STATE_SKIP_TASKBAR atom to implement Form.ShowInTaskbar.
- 2006-11-07 Everaldo Canuto <[email protected]>
- * ToolBar.cs: Fix left click checking.
- 2006-11-07 Chris Toshok <[email protected]>
- * ProgressBar.cs: fix a typo in ToString(). fixes a unit test.
- 2006-11-07 Chris Toshok <[email protected]>
- * RelatedPropertyManager.cs: set property_name in our ctor. fixes
- PropertyManager unit tests.
- * PropertyManager.cs: make property_name internal.
- 2006-11-07 Chris Toshok <[email protected]>
- * ButtonBase.cs: initialize base.ime_mode to ImeMode.Disable to
- pass a unit test. Also, don't set image_index to anything in
- response to setting the ImageList property.
- 2006-11-07 Everaldo Canuto <[email protected]>
- * ToolBar.cs: Ignore click events when mouse button is not a
- left button, only accepts other button for dropdown menus.
- Fixes #79854.
- 2006-11-07 Chris Toshok <[email protected]>
- * DataGrid.cs: make the back and parent row buttons a little less
- ugly.
- 2006-11-07 Jackson Harper <[email protected]>
- * TextBoxBase.cs: When converting to Text don't put line breaks in
- for soft line breaks.
- * TextControl.cs: There is an initial "fake" line in the document,
- this is now a soft break line, so that an extra line feed doesn't
- get added to the end of documents.
- 2006-11-07 Chris Toshok <[email protected]>
- [ fix bug #79778 ]
-
- * CurrencyManager.cs: if the list is readonly, don't bother
- checking if IBindingList.AllowNew is true.
- * ThemeWin32Classic.cs (DataGridPaintParentRow): make this work
- for non-DataRowView datasources.. or rather, make it not crash.
- (DataGridPaintRelationRow): make sure we limit the row painting to
- the area not covered by the row header, and make our cell width at
- least large enough to cover the relation area. This allows grids
- that have relations but no rows to render correctly.
- (DataGridPaintRowContents): same type of changes here.
- (SetDataSource): move back to always calling
- CalcAreasAndInvalidate. this fixes a crash/drawing problem when
- navigating back through relations.
- (HitTest): handle the case where we have no cells but have
- relations. Right now we generate a hit in cell 0 of whatever the
- row is, not sure if this is strictly correct, but it works for our
- purposes.
-
- * DataGrid.cs (EndEdit, CancelEdit): if we have no columns, don't
- bother doing anything.
- 2006-11-07 Jonathan Pobst <[email protected]>
- * StatusStrip.cs, ToolStripStatusLabel.cs: By request, an
- early version of StatusStrip. Not responsible for eaten
- application or firstborn children.
- 2006-11-06 Chris Toshok <[email protected]>
- * TabControl.cs: in OnGotFocusInternal/OnLostFocusInternal don't
- call GetTabRect with a -1 index. Fixes #79847.
- 2006-11-06 Jackson Harper <[email protected]>
- * TreeNodeCollection.cs: Update scrollbars after clearing.
- 2006-11-06 Chris Toshok <[email protected]>
- * NumericUpDown.cs: fix the ToString method for some unit test
- love.
- 2006-11-06 Chris Toshok <[email protected]>
- * PropertyGrid.cs:
- - set the initial SelectedGridItem if we can.
- - Exclude non-mergable properties only if we're merging > 1
- object. Merging 1 object isn't really merging, obviously.
- - Handle PropertySort.NoSort just like Alphabetical, which is
- wrong of course, but at least gets things on the screen.
-
- * PropertyGridView.cs:
- - Add method "FindFirstItem" which finds the first property grid
- item, so we can select it by default.
- - make use of GridEntry.CanResetValue.
- - Don't call RedrawBelowItemOnExpansion here anymore, the
- individual GridEntry's will do that.
- - Remove the ITypeDescriptorContextImpl internal class.
-
- * GridEntry.cs:
- - this class needs to implement ITypeDescriptorContext, as it's
- what MS's PropertyDescriptorGridEntry does, which means we can
- remove the ITypeDescriptorContextImpl internal class from
- PropertyGrid.cs. This fixes the crashing portion of bug #79829.
- - keep a reference to our PropertyGridView, and move the call to
- RedrawBelowItemOnExpansion here from PGV. This means
- programmaticly setting Expanded actually does something visible.
- - add a CanResetValue() function which takes into account our
- possibly multiple "selected_objects" in the merged case. Shifting
- PropertyGridView to use this method fixes another unreported
- crasher found running the test for #79829.
- - when Top or Bounds is updated, make sure the PropertyGridTextBox
- is updated to reflect this.
- * CategoryGridEntry.cs: the ctor takes the PGV now.
-
- 2006-11-06 Jackson Harper <[email protected]>
- * TextControl.cs: These are 1 based.
- * TextBoxBase.cs: When setting the selected text, don't change the
- selected text tags, this is done by ReplaceText, just position the
- cursor at the end of the new text.
- 2006-11-06 Alexander Olk <[email protected]>
- * ListView.cs: Allow label edit only when, when LabelEdit is
- set to true.
- 2006-11-06 Jackson Harper <[email protected]>
- * TextControl.cs: If a suitable wrapping position isn't found,
- just wrap right in the middle of a word.
- 2006-11-06 Alexander Olk <[email protected]>
- * ListView.cs, ListViewItem.cs: Implement LabelEdit. Fixes
- bug #79820.
- 2006-11-06 Jackson Harper <[email protected]>
- * TreeView.cs: Can't use the VisibleCount property when setting
- scrollbar heights, because this doesn't take into account whether
- or not the horz scrollbar just came visible.
- 2006-11-05 Everaldo Canuto <[email protected]>
- * MenuAPI.cs: Deactivate menu on mouse up when menus it is already
- activated. Fixes #79369, #79832.
- 2006-11-05 Alexander Olk <[email protected]>
- * FileDialog.cs: *sigh* Because of recent runtime changes (r67043) I
- had to remove support for links that point to a directory. FileInfo
- returns no usefull information (means, the directory they point to)
- for such links. Replaced some empty string ("") with String.Empty.
- 2006-11-04 Gert Driesen <[email protected]>
- * TreeNodeCollection.cs: To match MS, in 1.0 profile throw
- NullReferenceException when attempting to remove node that is not in
- collection. Throw NullReferenceException when null is passed to
- Remove. Allow first element of the collection to be removed. Fixes
- bug #79831. In GetEnumerator ().Current return null if positioned
- before the first element of the collection. In GetEnumerator ().Reset,
- position before first element of the collection.
- 2006-11-04 Gert Driesen <[email protected]>
- * PropertyGrid.cs: To match MS, remove default title and description
- for panel. Fixed tooltips for Categorized and Alphabetic toolbar
- buttons.
- 2006-11-04 Chris Toshok <[email protected]>
- * Theme.cs: add a Clamp method, just for kicks.
- * ThemeWin32Classic.cs: clamp all color components to [0..255].
- 2006-11-04 Chris Toshok <[email protected]>
- * Form.cs: if the form isn't visible, Close() does nothing.
- 2006-11-03 Chris Toshok <[email protected]>
- * Form.cs (Close): if the form is modal, don't Dispose of it, only
- Hide it.
- (WndProc): don't Dispose after handling the WM_CLOSE message.
- * Application.cs (RunLoop): toplevels is a list of Forms, so treat
- them as such, instead of using casts from Control to Form. Also,
- don't Dispose of the modal dialog when we fall out of the loop -
- Close() it instead.
- fixes bug #79813.
- 2006-11-03 Chris Toshok <[email protected]>
- * Control.cs (Dispose): only go through the dispose thing if we're
- @disposing, and we haven't already been disposed. Fixes bug
- #79814.
- * Form.cs: no reason to call "base.Dispose()" here instead of
- "Dispose()".
- 2006-11-03 Mike Kestner <[email protected]>
- * ComboBox.cs : use ToString instead of casts in AddItem for
- sorting functionality. Fixes #79812.
- 2006-11-03 Chris Toshok <[email protected]>
- * Application.cs: pave the way for actually using the thread
- exception dialog. it's ifdefed out at the moment.
- 2006-11-03 Chris Toshok <[email protected]>
- * ThreadExceptionDialog.cs: until we get a better layout, actually
- hide the details textbox and label when we shouldn't see them.
- 2006-11-03 Jackson Harper <[email protected]>
- * TextBoxBase.cs: Don't bail from the scrollbar calcs for non
- multiline textboxes anymore. This method also determines the
- width/height of a textboxes canvas area.
- - Sorta a revert of the last patch. For multiline just position
- the controls, then bail. This way the scrollbar width won't be
- altered.
- 2006-11-03 Everaldo Canuto <[email protected]>
- * ThemeWin32Classic.cs: Dont paint inner lines of 3D border when
- it dont need. Fixes #79537.
- 2006-11-02 Jackson Harper <[email protected]>
- * X11Dnd.cs: We always allow copy, since XDND implies Copy. Also
- send the status after firing the DndOver event.
- 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
- * TrackBar.cs: Now orientation only switches height / width if
- the control's handle is created (Win32 does it like this). Also
- fixed a typo in ToString() for a test to pass, changed the
- exception thrown in set_LargeChange and set_SmallChange to
- match Win32 behaviour, and added TrackBar tests to the unit
- tests.
- 2006-11-02 Chris Toshok <[email protected]>
- * XplatUIX11.cs: the atom we want is _NET_WM_STATE_SKIP_TASKBAR,
- not _NET_WM_STATE_NO_TASKBAR.
- 2006-11-02 Jackson Harper <[email protected]>
- * TextControl.cs: Increment count by one, since in the update view
- count - 1 is used.
- 2006-11-02 Jackson Harper <[email protected]>
- * TextBoxBase.cs: Use client rectangle not bounds for checking if
- the mouse is in the client rectangle (duh).
- 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
-
- * TrackBar.cs: Fixed trackbar jumping around when clicking
- on it - the trackbar was not detecting correctly at which
- side of the thumb the click was done. (fixes #79718)
- 2006-11-02 Everaldo Canuto <[email protected]>
- * ListBox.cs: scroll visible area when change SelectedIndex to
- a non visible area. Fixes #79481.
- 2006-11-01 Jackson Harper <[email protected]>
- * TextControl.cs: When replacing the selection move the selection
- start/end/anchor to the end of the new text.
- 2006-11-01 Jackson Harper <[email protected]>
- * XplatUIWin32.cs: When setting the parent change the controls
- visibility to it's visibility flag, not to it's old parents
- visibility (.Visible walks the parent chain).
- 2006-11-01 Chris Toshok <[email protected]>
- * XplatUIX11.cs: revert the #79790 fix, as the simple.
- XSetTransientForHint fix breaks paint .net's tool windows. more
- work needed for that one.
- 2006-11-01 Chris Toshok <[email protected]>
- * ScrollBar.cs: throw ArgumentException instead of Exception in
- LargeChange/SmallChange setters. fixes unit tests.
- 2006-10-31 Andreia Gaita <[email protected]>
- * ContainerControl.cs: reverted rev.67183 (which was itself
- a reversion of rev.66853... eh).
-
- * Control.cs: Fixes Reflector hang by changing Focus() call
- to what it was before rev.66643 (calling Select() here sets
- ActiveControl, which in some situations calls back Focus and
- eventually does a stack overflow). Temp fix.
- Changes to GetNextControl() to not look for children to select when
- parent cannot be selectable (so it looks for siblings instead)
-
- 2006-10-31 Mike Kestner <[email protected]>
- * CheckedListBox.cs : off by one error in returned index from
- ObjectCollection.Add. Fixes #79758.
- 2006-10-31 Chris Toshok <[email protected]>
- * UpDownBase.cs: remove the OnGotFocusInternal/OnLostFocusInternal
- calls for the textbox/spinner, to keep from recursing to the point
- where we crash. Fixes #79760.
- 2006-10-31 Chris Toshok <[email protected]>
- * ListControl.cs (set_SelectedValue): don't throw exceptions on
- null/"" value, just return. matches ms's behavior and fixes some
- failing tests.
- 2006-10-31 Chris Toshok <[email protected]>
- * Control.cs (set_Capture): make a logic a little easier to
- follow.
- * XplatUIX11.cs (CleanupCachedWindows): zero out the Grab window
- if it's being destroyed. A necessary fix surely, but a bandaid
- also, to fix the stuck capture problem in bug #78413.
- 2006-10-31 Chris Toshok <[email protected]>
- * XplatUIX11.cs: fix a couple of compiler warnings, and follow the
- convention of clearing hwnd.ClientRect when we set the
- width/height (so it'll be recalculated by Hwnd).
- 2006-10-31 Andreia Gaita <[email protected]>
- * ContainerControl.cs: reversed Contains check from
- ActiveControl due to hanging problems. This fix
- partly regresses #79667 (button does not have
- initial focus), so this might be a symptom for
- a larger parenting problem (set_ActiveControl
- is being called but the child control does
- not have the parent set yet?)
-
- 2006-10-31 Mike Kestner <[email protected]>
- * MenuAPI.cs : fix keynav when menu is click activated.
- 2006-10-31 Jonathan Pobst <[email protected]>
- * ToolStrip*: Version 0.2.
- * MenuStrip.cs: Version 0.1.
- * Form.cs: Add a 2.0 MenuStrip tracker like the 1.1 Menu one.
- 2006-10-30 Chris Toshok <[email protected]>
- [ fixes the oversized notify icon issue in bug #79745 ]
-
- * NotifyIcon.cs: scale the icon down to the size we're given by
- the XplatUI layer (this would be faster if we did it once instead
- of whenever we paint..) Also, remove the WM_NCPAINT handling,
- since it's never invoked.
- * XplatUIX11.cs: the gnome and kde systrays use icons that are 24
- pixels high by default, so let's hardcode our systray icon to that
- size. The SYSTEM_TRAY protocol should really have a way for
- client apps to query for the correct icon size.. but oh well. A
- couple of patches to deal with the screwy client_window ==
- whole_window notifyicon stuff (we don't want to PerformNCCalc, for
- instance, and also make sure we don't XSelectInput twice).
- 2006-10-30 Chris Toshok <[email protected]>
- * Control.cs: ugh, the unit test fix (CH11, yesterday) breaks when
- recreating forms. Control recreation is the bane of my existence.
- Fix it in a way that keeps everyone happy.
- 2006-10-30 Chris Toshok <[email protected]>
- * XplatUIX11.cs: use StructureNotifyMask on all whole_windows, not
- just non-CHILD ones. otherwise sometimes scrollbars end up with
- client_windows not being resized to the proper size (ReportBuilder
- shows this extremely well).
- 2006-10-30 Chris Toshok <[email protected]>
- * XplatUIX11.cs (SetWMStyles): reinstate the XSetTransientForHint
- for non-WS_EX_APPWINDOW windows. This is what keeps them from
- showing up in the gnome taskbar. Fixes bug #79790.
- 2006-10-30 Chris Toshok <[email protected]>
- * ApplicationContext.cs: guard against a NRE.
- * Application.cs: null out the old MainForm for the context, so we
- don't try to use it again once it's disposed. Fixes bug #79783.
- 2006-10-30 Chris Toshok <[email protected]>
- * DataGrid.cs (set_DataSource, set_DataMember): if we have a
- BindingContext, set the data source directly, otherwise do the
- lazy approach - the actual ListManager will be created when we get
- a BindingContext. Fixes bug #79700.
- 2006-10-30 Jonathan Pobst <[email protected]>
- * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
- XplatUIX11.cs: Remove old 2 parameter SetVisible.
- * Control.cs: Use the new 3 parameter SetVisible with activate = true.
- 2006-10-30 Jonathan Pobst <[email protected]>
- * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Add an overload
- of SetVisible that allows a window to be shown, but not activated.
- This is needed on Windows for MenuStrip, and can probably be used
- with MainMenu and ComboBox to fix the focus stealing issues on
- Windows.
- * XplatUIOSX.cs, XplatUIX11.cs: Not needed, call existing SetVisible.
- 2006-10-30 Alexander Olk <[email protected]>
- * PictureBox.cs: Fix the output of the ToString method.
- 2006-10-29 Chris Toshok <[email protected]>
- * Control.cs (get_TopLevelControl): fix bug #79781.
- 2006-10-29 Chris Toshok <[email protected]>
- * ListControl.cs (set_DataSource): throw Exception here, not
- ArgumentException, to match MS behavior.
- 2006-10-29 Chris Toshok <[email protected]>
- * Form.cs: remove the try-catch's around calls to GetWindowState.
- We can just check the return value.
- * XplatUIX11.cs: don't throw exceptions from GetWindowState.
- Instead return -1.
- * XplatUI.cs: Add note about additional return value for
- GetWindowState.
- 2006-10-29 Chris Toshok <[email protected]>
- * Control.cs (CreateHandle): when we create our handle, we also
- create the handles of our child controls. Fixes one of the
- Control unit tests (CH11).
- 2006-10-28 Alexander Olk <[email protected]>
- * MimeIcon.cs: If a gnome icon doesn't exist add a default icon.
- 2006-10-28 Alexander Olk <[email protected]>
- * ThemeClearlooks.cs: A little speedup.
- 2006-10-27 Chris Toshok <[email protected]>
- * Control.cs: implement Control.FromChildHandle in a way that
- matches the docs (and fixes the failed test.)
- 2006-10-27 Chris Toshok <[email protected]>
- * DataGridTableStyle.cs: reproduce buggy MS behavior (with
- comments).
- * DataGrid.cs: implement ResetForeColor such that the tests
- succeed.
-
- 2006-10-27 Chris Toshok <[email protected]>
- * ToolBarButton.cs: setting text/tooltiptext to null results in it
- being set to "". Fixes bug #79759.
- 2006-10-27 Jackson Harper <[email protected]>
- * TextControl.cs: We need to clear the entire selection area when
- setting the start, otherwise multiline selections are still
- visible.
- 2006-10-26 Chris Toshok <[email protected]>
- * PropertyGridView.cs:
- - ifdef all the code specific to the double
- buffer case, and provide some alternatives in the non-doublebuffer
- code, which makes heavy use of XplatUI.ScrollWindow to move things
- around without having to invalidate (and cause flicker). There
- are still some drawing problems in the non-doublebuffered case, so
- DOUBLEBUFFER is defined by default.
- - Fix the way dropdowns are handled. now we explicitly watch for
- the events which might cause the dropdown to close, and break out
- of the nested event loop there. This gets rid of all Capture
- code, at the expense of the Msg special casing. Seems to work,
- though, and fixes bug #79743.
- 2006-10-27 Rolf Bjarne Kvinge <[email protected]>
- * Control.cs: SetIsRecreating now recreates implicitly added
- child controls as well. Finally fixes #79629. The flag passed to
- SetIsRecreating has also been removed since it wasn't used.
-
- 2006-10-26 Carlos Alberto Cortez <[email protected]>
- * PageSetupDialog.cs: Clean some code, fix some bits,
- add some checks, and add a printer sub-dialog.
- 2006-10-26 Chris Toshok <[email protected]>
- * PropertyGrid.cs: make set_SelectedObject call
- set_SelectedObjects, and move the duplicate logic to the
- SelectedObjects setter. Also, raise SelectedObjectsChanged.
- * PropertyGridView.cs: hide the textbox when we get a
- SelectedObjectsChanged event.
- Fixes bug #79748.
- 2006-10-26 Chris Toshok <[email protected]>
- * PropertyGridView.cs: deal with the type converter not supporting
- GetStandardValues() or GetStandardValues() returning null, which
- is does in the default case. Fixes #79742.
- 2006-10-25 Andreia Gaita <[email protected]>
- * CheckedListBox.cs: nunit no longer crashes when selecting
- Project/Edit menu option
-
- 2006-10-25 Andreia Gaita <[email protected]>
- * MenuAPI.cs: prevent ExecFocusedItem from blowing up if there
- is no menu selected. fixes #79739
- 2006-10-25 Chris Toshok <[email protected]>
- * PropertyGridView.cs: factor out the splitter invalidation code
- into the SplitterPercent setter, and for kicks implement the
- Ctrl-Left/Ctrl-Right handling that moves the splitter by a small
- amount in either direction.
- 2006-10-25 Chris Toshok <[email protected]>
- * PropertyGridView.cs: do some cleanup of the brush used to draw
- text - read only fields should be grayed out. not sure how to do
- this with the textbox, though. but the textbox's should also be
- readonly now at least. Also, hide/show the textbox when resizing
- the control.
-
- * CursorConverter.cs: use System.Reflection when getting the
- properties of Cursors, as TypeDescriptor.GetProperties isn't
- returning static properties.
- 2006-10-25 Chris Toshok <[email protected]>
- * PropertyGridView.cs: factor out the up/down handling, and reuse
- it for page up/down. also add End/Home support.
- 2006-10-25 Chris Toshok <[email protected]>
- * PropertyGridView.cs:
- - ensure the selected grid item is visible in the scrolled area,
- fixes bug #79572.
- - fix Keys.Down handling when you're on the last item in the
- propertygrid.
- 2006-10-25 Mike Kestner <[email protected]>
- * MenuAPI.cs : set the ActiveTracker for MainMenu non-popup
- clicks too. Fixes #79725.
- 2006-10-24 Chris Toshok <[email protected]>
- * PropertyGrid.cs: use property.Converter instead of
- TypeDescriptor.GetConverter(property.PropertyType), so we catch
- TypeConverters declared on the property as well as on the
- PropertyType. Fixes bug #79678.
- 2006-10-24 Alexander Olk <[email protected]>
- * MimeIcon.cs, Mime.cs:
- Fallback to the default platform handler if no shared mime info
- stuff exists (fixes #79693).
- 2006-10-20 Andreia Gaita <[email protected]>
- * ContainerControl.cs: Incorrect contains check in ActiveControl
- from previous fix (duh).
- 2006-10-20 Chris Toshok <[email protected]>
- * PropertyGridView.cs: the dropdown should be MIN(number of items
- in list, 15). Fixes #79551.
- 2006-10-20 Andreia Gaita <[email protected]>
- Fixes #79384, #79394, #79652, #79667
- * Application.cs:
-
- - Modal windows are now destroyed in the proper order for windows
-
- * ContainerControl.cs:
-
- - ActiveControl setter has more conditions on when to return:
- - if we're reselecting the active control, but it actually
- didn't have focus (window hidden or some such), it runs
- - if the active control being selected doesn't actually
- exist in the container, it returns
-
- * Form.cs
-
- - The ShowDialog now gets the current form as the owner when
- invoking without parameters, and correctly activates the owner
- when returning
-
- * MessageBox.cs
-
- - MessageBox now catches the Escape key to exit
- 2006-10-20 Chris Toshok <[email protected]>
- * PropertyGridView.cs: fix a number of issues (bug #78565, and
- most of bug #79676):
- - you can navigate around the property grid with the arrow keys.
- - the dropdown is sized properly when the pg has a vertical
- scrollbar.
- - fix the indentation for subentries, and properly select the
- entire label rect.
- - fix the gray bar's drawing (only draw it to the last element,
- not for the height of the control. Also make sure we draw that
- last horizontal grid line.
- - use the same mechanism the datagrid uses wrt the editing textbox
- when scrolling/resizing/etc. Namely, we hide it first, do the
- operation, then show it again (if it's still visible).
-
- - aggressively remove a lot of unnecessary refreshes (and also
- calls to Invalidate(). call more limited variants, and only redraw
- what we need.)
-
- * PropertyGrid.cs:
- - when we're populating the merged collection, fill in the UI
- parent with either the passed in item, or the category item we
- create.
- - remove the Refresh call from the BorderHelpControl.OnSizeChanged.
- * GridItem.cs: drop some fully qualified names.
-
- * GridEntry.cs: add a "UIParent", which is basically the parent
- treenode.
- * GridItemCollection.cs: add an IndexOf method.
- 2006-10-20 Mike Kestner <[email protected]>
- * MainMenu.cs : go back to Draw in OnMenuChanged. Until we get
- a working win32 NC invalidation mechanism, we can't invalidate
- menus. [Fixes #79705]
- 2006-10-20 Mike Kestner <[email protected]>
- * ListBox.cs : don't update the VScrollbar if the list is empty,
- just hide it. [Fixes #79692]
- 2006-10-20 Jackson Harper <[email protected]>
- * RichTextBox.cs: Handle some special chars better, and don't skip
- the entire group when we encounter a special char that we don't
- handle correctly.
- 2006-10-18 Chris Toshok <[email protected]>
- * PropertyGridView.cs: address a number of issues from bug #79676,
- mostly of the cosmetic variety.
- - The highlight rectangle for indented items not extends all the
- way to the left.
- - Indented items aren't indented so much.
- - the dropdown is properly sized width-wise if the pg has a
- vertical scrollbar.
- 2006-10-18 Chris Toshok <[email protected]>
- * XplatUIX11.cs (SystrayAdd): a rather convoluted change, but the
- systray stuff is rather convoluted to begin with.
- systray icons are a single window for some reason (that I haven't
- figured out yet), and for them, client_window == whole_window.
- Given the way the tests are structured elsewhere to determine
- which paints are pending (client vs. nc), that situation will
- always yield PAINT, not NCPAINT. So, if we have a pending
- nc_expose and no pending expose, remove the hwnd from the paint
- queue, and also set nc_expose_pending to false, to keep us from
- blocking further expose's adding the hwnd to the paint queue.
- phew. like i said, a rather convoluted change. Fixes the
- notifyicon repaint issues in bug #79645.
- 2006-10-18 Chris Toshok <[email protected]>
- * Form.cs: when getting the backcolor of the form, don't get
- base.BackColor, as this allows parents to influence the background
- color. This breaks mdi forms. Instead, if the background_color
- is empty, return the default.
- 2006-10-18 Chris Toshok <[email protected]>
- * XplatUIX11.cs: change some debug ifdefs, and return XGetParent
- to being private instead of internal static.
- * Control.cs: remove all the stupid ParentWaitingOnRecreation
- crap, it wasn't working for more deeply nested controls anyway,
- and we already have the is_recreating flag - use that instead.
- Before calling DestroyHandle in RecreateHandle, recurse through
- the control tree setting it to true. this returns the recreate
- code to much of its original simplicity, while now guaranteeing we
- actually recreate everything we're supposed to. This change gets
- fyireporting actually showing mdi children.
- 2006-10-17 Chris Toshok <[email protected]>
- * Form.cs: remove some debug spew, and collapse some duplicate
- code at the end of SetClientSizeCore.
- * XplatUIX11.cs:
- - add some more debug spew here too wrt Destroy handling.
- - don't call hwnd.Dispose in DestroyWindow, it's effectively done
- in Control's handling of WM_DESTROY.
- - Remove the handling of zombie window DestroyNotifies from the
- event loop - we don't need it. Now the only DestroyNotifies we
- actually handle are ones generated by X.
- - When sending _NET_ACTIVE_WINDOW, the first param should be 1, to
- match gtk's (functioning) handling of this. This keep metacity
- from leaving droppings in the form of wm borders with no window
- contents all over the place.
- * Control.cs:
- - add a bunch of debug spew wrt control recreation.
- - fix a bug where we weren't tracking Visible properly on
- recreated hwnds.
- - fixed the WM_PAINT double buffer handling to support re-entrant
- calls (yes, i know it's gross, but it's happening to us).
- 2006-10-17 Rolf Bjarne Kvinge <[email protected]>
- * ThemeWin32Classic.cs: changed drawing of selected days
- to make them look better.
- 2006-10-16 Chris Toshok <[email protected]>
- * Hwnd.cs: replace the user_data/client_dc/non_client_dc with
- drawing_stack. Nuke the ClientDC/NonClientDC properties.
- * XplatUIX11.cs: move away from using hwnd.client_dc and
- hwnd.non_client_dc and on to a stack of dc's (and in window's
- case, PAINTSTRUCT's), so we can deal with nested Paint calls
- without puking or not disposing of Graphics objects.
- * XplatUIOSX.cs: same.
- * XplatUIWin32.cs: same.
- 2006-10-03 Alexander Olk <[email protected]>
- * FileDialog.cs: Don't call on_directory_changed inside
- OnSelectedIndexChanged (it changes the SelectedIndex too).
- Instead move it to OnSelectionChangeCommitted.
- 2006-10-13 Chris Toshok <[email protected]>
- * XplatUIX11.cs: more Destroy work. the current code does the
- following things, in order:
- 1. Enumerates all handles of all controls at or below the one
- being destroyed, in pre-order. As it is doing this, it marks the
- handles as zombie and clears all references to them.
-
- 2. calls XDestroyWindow on the window passed in.
- 3. SendMessage's WM_DESTROY to all he handles in the accumulated
- list.
- 2006-10-13 Chris Toshok <[email protected]>
- * XplatUIX11.cs: set hwnd.zombie to true before calling
- SendMessage (WM_DESTROY). this keeps us from marking the new
- window a zombie, and also keeps us from calling sendmessage at
- all.
- 2006-10-13 Jackson Harper <[email protected]>
- * TextControl.cs: Do not show the caret and selection at the same
- time. Reduces ugliness by 35%.
- 2006-10-13 Chris Toshok <[email protected]>
- * XplatUIX11.cs (SendWMDestroyMessages): set the hwnd to be a
- zombie after we do the recursive call, so we actually do call
- SendMessage on the children controls.
- (GetMessage): if we find a pending paint event for a zombie hwnd,
- remove the hwnd from the paint queue, or else it will always be
- there (and we'll effectively loop infinitely)
- 2006-10-13 Mike Kestner <[email protected]>
- * MenuItem.cs : add Selected format under keynav too.
- Fixes #79528.
- 2006-10-13 Gert Driesen <[email protected]>
- * PropertyGrid.cs: Fixed some NRE's and small difference between our
- implementation and that of MS.
- 2006-10-13 Chris Toshok <[email protected]>
- * Control.cs (OnInvalidated) only futz with the invalid_region if
- the control is double buffered. this fixes the apparent hang in
- the ListView unit tests. Someone needs to make the
- BeginEndUpdateTest not call OnInvalidated 15004 times, though..
- 2006-10-13 Chris Toshok <[email protected]>
- * PropertyGridView.cs:
- - do a little refactoring so that only one place calls
- dropdown_form.Hide, and that is CloseDropDown. make everywhere
- else call that. Also make it Refresh, since there are redraw bugs
- otherwise (we should take a look at that...)
- - do a little more refactoring work to share the body of code
- involved with the drop down. it was duplicated in the code
- dealing with the listbox handling and in the code dealing with the
- UITypeEditors.
- - add a Capture to the dropdown form's control once it's
- displayed, and add a MouseDown handler that checks to make sure
- the position is inside the control. If it's not, close the
- dropdown. This fixes #78190.
- - in SetPropertyValueFromUITypeEditor, only call SetPropertyValue
- if the value is different than the initial value.
-
- 2006-10-13 Andreia Gaita <[email protected]>
- * Control.cs: see #78650
- - Fixed GetNextControl for several cases:
- - Changed FindFlatForward to return
- correct sibling control when more than one
- control has same TabIndex as the currently
- focused one.
- - Changed FindFlatBackward to loop children
- from last to first and apply same logic as in
- FindFlatForward
- - Changed FindControlForward to search for
- children when control is not a container
- but has children, or search for siblings if
- control is a container...
- - Changed FindControlBackward to continue
- searching for child controls when hitting
- Panel-like parents
-
- - Fixed Focus method to update ActiveControl
- (FocusTest.FocusSetsActive failure)
-
- * TabControl.cs:
- - Focus rectangle now refreshes when gaining
- or losing focus
- - Removed grab for Tab key on IsInputKey that
- was keeping tab navigation from working (#78650)
- 2006-10-13 Chris Toshok <[email protected]>
- * PropertyGridView.cs:
- - Rewrite SetPropertyValue to loop over SelectedGridItem's
- SelectedObjects.
- - Deal with GridItem.Value == null a few places.
- * PropertyGrid.cs:
- - replace the PopulateGridItemCollection with a pair of methods
- which compute the intersection of all the properties in the
- SelectedObjects array. Fixes #79615.
- - Throw ArgumentException from set_SelectedObjects if there's a
- null in the array.
- - Add GetTarget method which can be used to traverse up the
- GridItem.Parent chain. It depends on the assumption that
- selected_objects for different GridEntries are always in the same
- order (a safe assumption). Use this method and loop over all the
- selected objects in the entry when calling RemoveValueChanged and
- AddValueChanged.
-
- * GridEntry.cs: Make this handle multiple selected objects.
- .Value returns null if not all the selected objects share the same
- value.
- 2006-10-12 Jonathan Pobst <[email protected]>
- * ToolStrip.cs, ToolStripButton.cs, ToolStripComboBox.cs,
- ToolStripControlHost.cs, ToolStripItem.cs, ToolStripLabel.cs,
- ToolStripProfessionalRenderer.cs, ToolStripProgressBar.cs,
- ToolStripSeparator.cs, ToolStripSplitStackLayout.cs,
- ToolStripTextBox.cs: Add accessibility, fix attributes/API and
- add additional functionality.
- 2006-10-12 Mike Kestner <[email protected]>
- * ErrorProvider.cs : new ToolTipWindow ctor sig.
- * HelpProvider.cs : new ToolTipWindow ctor sig.
- * ToolTip.cs : remove ToolTip param from Window sig since it is
- not used.
- * ToolBar.cs : add tooltip support. Fixes #79565.
- 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
- * ComboBox.cs: move the events in set_SelectedIndex to
- after the call to HighlightIndex in order to avoid
- possible recursion and subsequent problems with the call
- to HighlightIndex and include a range check in
- set_HighlightIndex. Fixes #79588
-
- 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
- * MonthCalendar.cs: When FirstDayOfWeek is default set firstday
- to ui thread's settings instead of sunday.
- * ThemeWin32Classic.cs: Localize the day string. Fixes #79563
- 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
- * DateTimePicker.cs
- * MonthCalendar.cs
- * ThemeWin32Classic.cs: rewrote DateTimePicker to fix bug #78364
- and implement missing functionality (selecting different parts
- of the date and edit them individually with the keyboard).
-
- 2006-10-11 Chris Toshok <[email protected]>
- * Control.cs (OnInvalidated): fix NRE relating to last change.
- 2006-10-11 Chris Toshok <[email protected]>
- * XplatUIX11.cs (SetWMStyles): make sure we include the MAXIMIZED
- atoms in _NET_WM_STATE here if the window is maximized. We need
- to do this because we're *replacing* the existing _NET_WM_STATE
- property, so those atoms will be lost otherwise, and any further
- call to GetWindowState will return Normal for a window which is
- actually maximized. Fixes #79338.
- 2006-10-11 Jackson Harper <[email protected]>
- * TextControl.cs: Special case for setting selection end to
- selection start, we basically kill the anchor.
- - some todo comments.
- 2006-10-11 Chris Toshok <[email protected]>
- * Control.cs: switch to using an "invalid_region" to track which
- parts of the image buffer need updating. This is more code than
- the simple fix from r66532. That version just attempted to always
- fill the entire buffer on redraw, which turns out to be
- inefficient when invalidating small rectangles. This version
- simply adds the invalid rectangle to the invalid region. When we
- get any WM_PAINT message we see if it can be filled using the
- image buffer, and if it can't (if the paint event's clip rectangle
- is visible in the invalid region) we first fill the image buffer.
- So, the image buffer is still a cache, we just fill it lazily.
- * PaintEventArgs.cs: remove the SetClipRectangle method, we don't
- need it any longer.
- 2006-10-11 Chris Toshok <[email protected]>
- * XplatUIX11.cs (SetWindowPos): we need to update both position as
- well as size after calling XMoveResizeWindow. This keeps us from
- ignoring future SetWindowPos calls. Fixes the disappearing
- DateTimePicker in the ToolBarDockExample from bug #72499.
- 2006-10-11 Chris Toshok <[email protected]>
- * TextBoxBase.cs: reorder things a bit when it comes to
- resizing-causing-recalculation. we were recalculating the
- document when our position was changed, which shouldn't happen.
- We only care about size changes. Clear up some more redundant
- recalculation calls while I'm at it. This makes the toolbar dock
- example snappy when you're just dragging toolbars around (since it
- causes a relayout whenever you move one.)
- 2006-10-11 Chris Toshok <[email protected]>
- * ToolBarButton.cs (get_Rectangle): this only returns
- Rectangle.Empty if Visible == false, or Parent == null.
- Parent.Visible doesn't matter.
- 2006-10-10 Chris Toshok <[email protected]>
- * Control.cs, PaintEventArgs.cs: "internal set { .. }" isn't loved
- by .net 1.1, so switch to an internal method instead.
- 2006-10-10 Chris Toshok <[email protected]>
- * Control.cs (WM_PAINT): when a control is double buffered we draw
- initially to the ImageBuffer and then copy from there. But when a
- parent control which has child controls is double buffered, the
- initial drawing doesn't encompass the entire ClientRectangle of
- the parent control, so we end up with uninitialized bits (this is
- easily seen by dragging the top toolbar in
- wf-apps/ToolBarDockExample to the right, quickly). The fix is to
- manually set the ClipRectangle of the paint_event (only the one we
- use to populate the ImageBuffer) to ClientRectangle. Fixes more
- of the nastiness in bug #72499.
- * PaintEventArgs.cs: Add an internal setter for ClipRectangle,
- which we use in Control.cs's WM_PAINT handling.
- 2006-10-10 Jackson Harper <[email protected]>
- * TextBoxBase.cs: Finish off the autoscrolling stuff.
- 2006-10-10 Chris Toshok <[email protected]>
- * Cursor.cs: Apply a slightly different patch to the one suggested
- in #79609.
- 2006-10-10 Jackson Harper <[email protected]>
- * MenuItem.cs: Make sure to put the mdi child in the hashtable,
- not the parent form.
- * TextControl.cs: use difference in old line count vs new count to
- calculate how many lines were added, this takes into account soft
- line breaks properly.
- 2006-10-10 Chris Toshok <[email protected]>
- * LinkLabel.cs: don't call MeasureCharacterRanges against a
- rectangle located at 0,0 and the size of the text. Use
- ClientRectangle instead. This fixes rendering of non-left aligned
- link labels.
- 2006-10-10 Jackson Harper <[email protected]>
- * TextBoxBase.cs: When we set the selection start position the
- caret.
- * TextControl.cs: Need to update the caret when we decrement it to
- zero.
- - Make sure that the selection_visible flag gets reset to false if
- the selection isn't visible. Before this you could get it set to
- visible by changing the selection start, then changing the end to
- equal the start.
- 2006-10-09 Jackson Harper <[email protected]>
- * TreeView.cs: Don't update scrollbars when we aren't visible.
- * TreeNodeCollection.cs: Only need to update scrollbars if being
- added to an expanded visible node or the root node.
- 2006-10-09 Chris Toshok <[email protected]>
- * XplatUIX11.cs (SendMessage): fix NRE.
- 2006-10-09 Jackson Harper <[email protected]>
- * TextBoxBase.cs: Implement horizontal autoscrolling.
- * TextControl.cs: Add a movement types that allows moving forward
- and backwards without wrapping.
- 2006-10-09 Mike Kestner <[email protected]>
- * ListViewItem.cs : layout changes for wrapped LargeIcon labels
- with focus "expansion" of labels. Fixes #79532 and then some.
- * ThemeWin32Classic.cs : add LineLimit to ListView label format
- when wrapping.
- 2006-10-09 Jackson Harper <[email protected]>
- * TextBoxBase.cs: Set the default max values to MaxValue since
- we use the scrollbar for autoscrolling and the default value is
- 100. If we don't do this the caret won't keep up with typing
- after about 18 characters.
- * TextControl.cs: Make sure the selection is offset by the
- viewport x. This fixes selection when using auto scrolling.
- 2006-10-07 Andreia Gaita <[email protected]>
-
- * Form.cs: The active control should be selected after the
- OnLoad so that any child control initialization that affects
- the selection is done. Fixes #79406
- 2006-10-06 Chris Toshok <[email protected]>
- * XplatUIX11.cs: This is perhaps a dangerous change, but it seems
- to have no evil effects.
- - Stop selecting StructureNotifyMask on non-toplevel windows.
- The only way children should be resized is by using the SWF api,
- and we already send WM_WINDOWPOSCHANGED messages in those cases.
- Toplevel windows can be interacted with via the window manager,
- and so we keep the input mask there.
- The other event StructureNotifyMask gives us (that we care
- about) is DestroyNotify. The code is already structured such
- that it assumes we won't be getting a DestroyNotify event for
- the window we pass to XDestroyWindow (which is what
- StructureNotifyMask is supposed to guarantee.) So, that code
- shouldn't be affected by this either.
- - Stop selecting VisibilityChangeMask altogether.
- We weren't doing anything with the resulting events anyway.
-
- This vastly reduces the number of X requests and events we see
- when resizing/laying out a large ui.
- 2006-10-06 Chris Toshok <[email protected]>
- * ScrollableControl.cs (DisplayRectangle): we need to take into
- account the DockPadding regardless of whether or not auto_scroll
- == true. rework this slightly to this effect, and fix bug #79606,
- and part of #72499 (you can now see the drag handles and drag
- toolbars around).
- 2006-10-06 Gert Driesen <[email protected]>
- * ListViewItem.cs: Collections of selected and checked items are now
- dynamically rebuilt. Whenever an item is (un)checked or (de)selected
- we mark the collection "dirty".
- * ListView.cs: Marked collections readonly. Modified UpdateSelection
- to only clear SelectedItems when a new item is selected and MultiSelect
- is enabled. CheckedItems and SelectedItems now subscribe to Changed
- event of ListViewItemCollection, and mark its list dirty whenever
- that event is fire. This allows us to return selected/checked items
- in the same order as they are in the Items collection. This matches
- the MS behavior.
- 2006-10-06 Chris Toshok <[email protected]>
- * NotifyIcon.cs (HandleMouseUp): only show the context menu on
- right mouse clicks. Fixes bug #79593.
- 2006-10-06 Chris Toshok <[email protected]>
- * Splitter.cs: doh, fix splitters that don't want to cancel the
- movement when you drag them. Also, impose the limits on the
- values we send to the SplitterMovingEvent. Fixes #79598.
- 2006-10-06 Jackson Harper <[email protected]>
- * TextBoxBase.cs: Ignore whether or not the scrollbar is enabled,
- since we use this for auto scrolling also.
- 2006-10-05 Chris Toshok <[email protected]>
- * DataGridBoolColumn.cs: Nuke the code from ConcedeFocus. I'm
- beginning to think that most datagrid column types don't need this
- method. Fixes bug #79392.
- 2006-10-05 Chris Toshok <[email protected]>
- * DataGrid.cs: move back to a more lazy scheme for creating the
- CurrencyManager, so we aren't updating it every time you set
- either DataSource or DataMember. Also, don't call
- RecreateDataGridRows if the currency manager hasn't changed.
- 2006-10-05 Chris Toshok <[email protected]>
- * ComboBox.cs: by the time the OnSelectionChangeCommitted event is
- emitted, SelectedIndex should already be updated. Fixes bug
- #78929.
- 2006-10-05 Jonathan Pobst <[email protected]>
- * ToolStripComboBox.cs, ToolStripControlHost.cs, ToolStripProgressBar,
- ToolStripTextBox.cs: Initial commit.
- * ToolStripItem.cs: Fixes for OnLayout, BackColor, Parent.
- 2006-10-05 Jackson Harper <[email protected]>
- * TabControl.cs: We need to invalidate the tab control area when
- new ones are added (duh).
- 2006-10-03 Chris Toshok <[email protected]>
- * Form.cs (ProcessDialogKey): if the focused control is in this
- form and is a button, call its PerformClick method here. Fixes
- #79534.
- 2006-10-04 Jackson Harper <[email protected]>
- * TabPage.cs: Ignore setting of Visible, and add an internal
- method for setting the controls visibility. TabPage's Visible
- property is a little strange on MS, this seems to make us
- compatible, and fixes cases where people set all the tab pages to
- visible.
- * TabControl.cs: Use the new internal setting on tab pages
- visibility.
- 2006-10-03 Mike Kestner <[email protected]>
- * ComboBox.cs : raise Click on ComboTextBox clicks. Fixes #79555.
- 2006-10-03 Mike Kestner <[email protected]>
- * ListView.cs : use is_visible instead of Visible to check if
- scrollbars should be placed/sized. Also some max_wrap_width
- love for LargeIcon view. [Fixes #79533]
- 2006-10-03 Atsushi Enomoto <[email protected]>
- * TextControl.cs :
- Make set_TextAlign() do actually update the align. Fixed #78403.
- 2006-10-03 Chris Toshok <[email protected]>
- * DataGrid.cs: fix a crash when switching datasources if the
- vertical scrollbar is at someplace other than Value = 0. Also,
- reduce the number of recalculation passes we do in SetDataSource
- from 2 to 1.
- 2006-10-03 Jackson Harper <[email protected]>
- * TextBoxBase.cs: Move the if value the same bail check up, we
- don't want to empty the document if it is already empty, this
- seems to severly mess up the caret. TODO: I should probably fix
- the empty statement to update teh caret somehow.
- 2006-10-03 Chris Toshok <[email protected]>
- * ThemeWin32Classic.cs, DataGrid.cs: some changes so that the
- incredibly hacky Windows.Forms FAQ autosize rows entry (it uses
- reflection, an internal row type, properties on said type, etc.)
- will work with our datagrid. Fixes #79531.
- 2006-10-03 Alexander Olk <[email protected]>
- * FileDialog.cs: Don't crash if a path is not accessible
- (System.UnauthorizedAccessException). Fixes #79569.
- * MimeIcon.cs: Workaround for a Uri bug. Unix paths/files can have
- a ':' too. Return unknown icon for those paths/files.
- 2006-10-03 Sebastien Pouliot <[email protected]>
- * ToolTip.cs: Fix rare, but possible, NRE on MouseEnter when
- GetContainerControl returns null.
- 2006-10-02 Chris Toshok <[email protected]>
- * XplatUIX11.cs (GetWindowState): use hwnd.client_window in the
- call to XGetWindowAttributes instead of "handle". fixes an X
- error using notifyicon after the NotifyIconWindow to Form base
- class switch.
- 2006-10-02 Chris Toshok <[email protected]>
- * XplatUIX11.cs (QueryPointer): new function, encapsulating the
- server grab and looping we need to do to get down to the most
- deeply nested child window.
- (SetCursorPos): use QueryPointer instead of GetCursorPos, and call
- QueryPointer again after the WarpPointer so we can generate a
- proper (fake) MotionNotify event to be enqueued in the destination
- window's queue.
- (GetCursorPos): call QueryPointer.
- Fixes #79556.
- 2006-10-02 Jackson Harper <[email protected]>
- * NotifyIcon.cs: Derive the notify icon from a form, so things
- like FindForm work on it.
- - Swallow the WM_CONTEXTMENU message, since that is generated on
- mouse down, and context menu is a mouse up kinda guy. I believe
- the correct fix here is probably to make the notify icon entirely
- NC area, but this seems to work fine for anyone not manipulating
- WndProc.
- 2006-10-02 Jonathan Pobst <[email protected]>
- * ToolStrip.cs, ToolStripButton.cs, ToolStripItem.cs,
- ToolStripItemCollection.cs, ToolStripLabel.cs,
- ToolStripProfessionalRenderer.cs, ToolStripRenderer.cs,
- ToolStripSeparator.cs, ToolStripSplitStackLayout.cs:
- Initial implementation.
- * TextRenderer.cs: Provide padding to MeasureText.
- 2006-10-02 Sebastien Pouliot <[email protected]>
- * ButtonBase.cs: Fix CreateAccessibilityInstance to return an instance
- of ButtonBaseAccessibleObject. Fix bug #79552.
- 2006-10-02 Jackson Harper <[email protected]>
- * MdiWindowManager.cs: When maximizing use the containers client
- rect, not it's bounds, so nc area is accounted correctly.
- - Use the parent form's size for the menu position, since the
- client isn't always the full form size.
- 2006-10-01 Chris Toshok <[email protected]>
- * ScrollableControl.cs: make sure neither right_edge or
- bottom_edge are < 0, since they're used as LargeChange for the
- horiz/vert scrollbars respectively. Fixes #79539.
- 2006-10-01 Chris Toshok <[email protected]>
- * NotifyIcon.cs: add NotifyIconWindow.InternalRecreateHandle, so
- the xplatuix11 code can cause us to destroy/recreate our handle.
- * XplatUIX11.cs
- (SystrayAdd):
- - this code can be invoked many times for the same Hwnd. Make
- sure we only destroy the client window once (the first time this
- method is called). This fixes bug #79544.
- - Remove the call to the improperly bound XSync. why we had two
- bindings to this, I will never know, but this call resulted in
- events being discarded from the queue(!).
- - correct a misunderstanding of _XEMBED_INFO - the second atom is
- not our current state but the state we wish to be in. So, 0 if
- we don't want to be mapped. Change it to 1.
- (SystrayRemove): The XEMBED spec makes mention of the fact that
- gtk doesn't support the reparent of client windows away from the
- embedder. Looking at gtksocket-x11.c seems to agree with this.
- The only avenue we have for removing systray icons is to destroy
- them. We don't want the handle to go away for good, though, so
- call InternalRecreateHandle on the NotifyIconWindow. Fixes
- #79545.
-
- 2006-10-01 Chris Toshok <[email protected]>
- * Form.cs (WndProc): inline the native_enabled variable usage into
- the cases in which it's used. Fixes #79536.
- 2006-09-29 Mike Kestner <[email protected]>
- * ListView.cs : toggle the selection state for ctrl clicks in
- multiselect mode. [Fixes #79417]
- 2006-09-29 Mike Kestner <[email protected]>
- * ListView.cs : kill CanMultiSelect and refactor the selection
- code to support multiselection in the absence of mod keys. Steal
- arrow/home/end keys by overriding InternalPreProcessMessage to
- restore regressed keynav behavior.
- [Fixes #79416]
- 2006-09-29 Jackson Harper <[email protected]>
- * MdiClient.cs: Repaint the titlebars when the active window is
- changed.
- 2006-09-29 Chris Toshok <[email protected]>
- * Application.cs: when entering a runloop with a modal, make sure
- the hwnd is enabled. Fixes #79480.
- 2006-09-29 Chris Toshok <[email protected]>
- * DataGrid.cs (CurrentCell): if we try to navigate to the add row
- when ListManager.CanAddRows == false, bump us back one.
- * DataGridColumnStyle.cs (ParentReadOnly): remove the
- listmanager.CanAddRows check. This makes ArrayLists uneditable
- using a datagrid, which is not right.
- (SetColumnValueAtRow): call IEditable.BeginEdit if source[rowNum]
- is an IEditable, but call property_descriptor.SetValue regardless.
- fixes #79435.
- 2006-09-29 Chris Toshok <[email protected]>
- * DataGridBoolColumn.cs: we need to test equality in the face of
- possible null values (as is the case with the default NullValue).
- This patch keeps us from crashing in that case.
- 2006-09-29 Jackson Harper <[email protected]>
- * TreeNodeCollection.cs: Don't do a recalculate/updatescrollbars
- here, since it will get called for every node collection in the
- tree. This is now done in the treeview once the sorting is
- finished.
- * TreeView.cs: Recalculate the visible order, and update the
- scrollbars after sorting, set the top nope to the root so that the
- recalc actually works.
- 2006-09-29 Chris Toshok <[email protected]>
- * LinkLabel.cs: more handling of the default link collection in
- the face of LinkArea manipulation. The default link collection
- contains 1 element (start=0,length=-1). If the user sets LinkArea
- to anything and the links collection is the default, clear it.
- Then only add the link if its nonempty. Fixes #79518.
- 2006-09-29 Chris Toshok <[email protected]>
- * LinkLabel.cs (CreatePiecesFromText): calculate the length of a
- piece correctly when we hit a '\n'. Fixes #79517.
- 2006-09-29 Chris Toshok <[email protected]>
- * MimeIcon.cs, ThemeGtk.cs, X11DesktopColors.cs, XplatUIX11GTK.cs:
- change the binding of gdk_init_check to take two IntPtr's, and
- pass IntPtr.Zero for both of them. Fixes #79520.
- 2006-09-29 Mike Kestner <[email protected]>
- * ComboBox.cs : raise TextChanged on ComboTextBox.TextChanged.
- [Fixes #78779]
- 2006-09-28 Jackson Harper <[email protected]>
- * XplatUIX11.cs: When translating NC messages make sure we go from
- whole window to screen, not client window to screen.
- * MdiClient.cs: Remove the calls to PaintWindowDecorations, this
- method doesn't exist
- - Skip over controls that aren't forms when arranging.
- 2006-09-28 Jackson Harper <[email protected]>
- * XplatUIWin32.cs: Clip the rect to the parent window.
- * XplatUIStructs.cs: Add clipping modes struct.
- * InternalWindowManager.cs: New private method that factors title
- bar heights in when calculating the pos of an NC mouse message.
- - Use SendMessage to force a paint when the form's size is changed
- instead of painting the decorations immediately.
- - Don't let the NC button click messages get to DefWndProc,
- because they will attempt to handle windowing themself, and this
- messes up z-order (it will put them in front of the scrollbars).
- * XplatUIX11.cs: Make sure that we don't reset window managers if
- we already have one (ie the window is an MDI window).
- 2006-09-28 Chris Toshok <[email protected]>
- * MainMenu.cs: fix #79405 by way of a disgusting hack. all the
- menu code really needs going over.
- 2006-09-27 Chris Toshok <[email protected]>
- * XplatUIX11.cs (SetWMStyles): more metacity wonderment. turns
- out metacity ignores the MAXIMIZE_HORZ/VERT messages unless the
- window is maximizable. So, we need to make sure that even if we
- clear the border/wm frame of those functions, they're still
- available (basically, we remove the decoration without removing
- the function). Half the fix for #79338.
- 2006-09-27 Chris Toshok <[email protected]>
- * DataGrid.cs (ProcessGridKey): implement Shift-Tab handling.
- Fixes bug #79515.
- 2006-09-27 Chris Toshok <[email protected]>
- * Splitter.cs: reorder things a bit so that we don't actually
- draw/move the splitter until after calling OnSplitterMoving. This
- lets users cancel/disallow the movement by explicitly setting
- event.SplitX/SplitY. Fixes #79372.
- 2006-09-27 Jackson Harper <[email protected]>
- * XplatUIX11.cs: Don't hide the caret when it is being destroyed,
- because it is most likely on a window being destroyed, and that
- will give us an X11 error.
- 2006-09-27 Chris Toshok <[email protected]>
- * PropertyGridView.cs: half of the fix for #78190. Clicking on
- the dropdown button now toggles between showing and hiding the
- dropdown. Also, get rid of dropdown_form_showing and just use
- dropdown_form.Visible. We still don't do a grab, but I'll leave
- that part to someone who has handled Capture-fu before.
- 2006-09-27 Chris Toshok <[email protected]>
- * DataGrid.cs: return false if alt isn't pressed when '0' is
- pressed. this keeps the '0' key from being swallowed, and fixes
- bug #79350.
- 2006-09-27 Chris Toshok <[email protected]>
- * ComboBox.cs: use Invalidate when scrolling the dropdown list.
- Calling Refresh (in response to a scrollbar event) screws up the
- scrollbar painting. Fixes bug #78923.
- 2006-09-27 Chris Toshok <[email protected]>
- * Theme.cs (SystemResPool): make the "if hashtable[key] == null
- then insert into hashtable" blocks threadsafe.
- 2006-09-27 Chris Toshok <[email protected]>
- * MessageBox.cs (CreateParams): the styles should be |'ed with our
- baseclass's, since otherwise the
- ControlBox/MinimizeBox/MaximizeBox assignments above have no
- effect. This gets the close button back in messageboxes.
- 2006-09-27 Chris Toshok <[email protected]>
- * XplatUIX11.cs: make StyleSet and ExStyleSet check == with the
- flag, not just != 0. this makes flags that are actually multiple
- bits (like WS_CAPTION) work. fixes bug #79508.
- 2006-09-27 Jordi Mas i Hernandez <[email protected]>
- * PageSetupDialog.cs: add support for getting and settings the
- paper size, source and orientation.
- 2006-09-26 Chris Toshok <[email protected]>
- * XplatUIX11.cs (SetWMStyles): turns out when SYSMENU is not set
- and caption == "", we need to remove the resize handles as well as
- the title bar.
- * Control.cs (set_Text): turns out that setting Text on a form
- should change the WM styles on the window, since if ControlBox ==
- false, the only way to get a window border is to have a non-""
- Text property. check winforms/forms/text.cs for an example. so,
- call both XplatUI.SetWindowStyle and XplatUI.Text here to properly
- update both window styles and title. This fixes a lot of dialogs
- (including the preferences dialog in MonoCalendar.)
- 2006-09-26 Chris Toshok <[email protected]>
- * XplatUIWin32.cs (SetParent): if parent == IntPtr.Zero (and the
- control isn't a Form), call Win32ShowWindow to hide the window,
- but don't update the control Visible property. When we reparent
- back to a parent control, call SetVisible in order for the
- window's visibility to be reinstated.
- * XplatUIX11.cs (SetParent): if hwnd.parent == null, reparent to
- the FosterParent.
- * Control.cs (ControlCollection.Remove): remove that value.Hide()
- call for good, since it breaks MonoCalendar (and other things I'm
- sure.) Also, set all_controls to null *after* the owner calls,
- which end up regenerating it.
- (ChangeParent): allow new_parent to be == null, passing
- IntPtr.Zero down to XplatUI.
- this fixes #79294 the right way.
- 2006-09-26 Mike Kestner <[email protected]>
- * GridEntry.cs : internal SetParent method.
- * PropertyGrid.cs : attach to property changed on the proper
- target if we have a hierarchical grid with subobjects. Setup
- GridItem.Parent for hierarchical items.
- * PropertyGridView.cs : Set value on the correct target for
- hierarchical grids. [Fixes #78903]
- 2006-09-26 Chris Toshok <[email protected]>
- * Control.cs (ChildNeedsRecreating): this should return true if
- either we're being recreated and the child is in our list, or our
- parent is waiting for our recreation.
- 2006-09-26 Chris Toshok <[email protected]>
- * Control.cs (ControlCollection.Remove): reinstate the
- value.Hide() call as suggested in bug #79294.
- 2006-09-26 Sebastien Pouliot <[email protected]>
- * XplatUIX11.cs: Fixed SetCursorPos to move the cursor to screen
- coordinates (versus a relative move).
- 2006-09-26 Chris Toshok <[email protected]>
- * Control.cs: rework child recreation a little bit. It turns out
- that we race between the DestroyNotify the WM_DESTROY message. If
- the parent gets its DestroyNotify before the child gets the
- WM_DESTROY message, the child ends up not recreating (since the
- parent finishes its recreation on DestroyNotify, and the child
- checks ParentIsRecreating.)
- So, instead we store off a list of all the child controls which
- need to be recreated when the parent control starts to recreate
- itself. Then, when child controls get their WM_DESTROY message we
- check to see if they're in the parent's pending recreation list,
- and if so, we recreate. This removes all dependency on ordering
- from the code and fixes the initial MonoCalendar upgrade dialog.
-
- 2006-09-26 Jackson Harper <[email protected]>
- * TextControl.cs: Use the Line to get the length of the line,
- since soft line breaks can change the end line.
- 2006-09-26 Chris Toshok <[email protected]>
- * Control.cs (ControlCollection.AddImplicit): don't add the
- control again if it's already in one of our lists. This keeps us
- from adding controls over and over again for comboboxes when their
- handle gets recreated (as the combobox adds implicit controls in
- OnHandleCreated). Fixes the X11 errors in bug #79480.
- 2006-09-26 Jackson Harper <[email protected]>
- * TextControl.cs: When deleting characters make sure that any
- orphaned zero lengthed tags get deleted.
- - Fix ToString for zero lengthed tags.
- 2006-09-25 Jackson Harper <[email protected]>
- * TextControl.cs: When getting a tag at the location there can be
- multiple tags at the same spot, these are 0-lengthed tags that
- appear when extra formatting has been stuck in a location. We
- need to pull out the last of these 0 lengthed tags.
- 2006-09-25 Jackson Harper <[email protected]>
- * TextControl.cs: Fix print out in debug method.
- * TextBoxBase.cs: When text is set bail if we are setting to the
- previous value.
-
- 2006-09-24 Alexander Olk <[email protected]>
- * FontDialog.cs: Fixed the up/down arrow keys issue from bug #79478.
- It is now possible to change the selected index in a FontXXXListBox
- with the up and down arrow keys from the FontXXXTextBoxes.
- Also, send the FontXXXTextBox mouse wheel event to the corresponding
- FontXXXListBoxes to match ms.
- 2006-09-22 Sebastien Pouliot <[email protected]>
- * SystemInformation.cs: Return a clone of the theme's MenuFont because
- anyone can dispose it, anytime. All other properties returns enums,
- structs or basic types so they don't need such tricks.
- 2006-09-22 Jackson Harper <[email protected]>
- * XplatUI.cs:
- * XplatUIWin32.cs:
- * Clipboard.cs:
- * DataFormats.cs:
- * XplatUIOSX.cs:
- * XplatUIDriver.cs: Update interface to add a primary selection
- flag, so the driver can use the primary selection buffer if
- needed.
- * XplatUIX11.cs: Allow the clipboard to retrieve from PRIMARY.
- * RichTextBox.cs: We need to supply the data object to paste now
- (so we can choose to supply CLIPBOARD or PRIMARY).
- * TextBoxBase.cs: Supply data object to paste (see above).
- - Middle click uses the primary selection data object.
-
- 2006-09-21 Chris Toshok <[email protected]>
- * XplatUIX11.cs: first little cleanup of the StyleSet (...) block
- of SetWMStyles. It's still a rat's nest and is largely
- order-dependent which I dislike immensely. This also fixes the X
- button disappearing from toplevel forms.
- 2006-09-21 Mike Kestner <[email protected]>
- * ListBox.cs: move Jordi's click/dblclick raising code to the
- mouse up handler.
- 2006-09-21 Jordi Mas i Hernandez <[email protected]>
- * ListBox.cs: Fixes 79450
- 2006-09-21 Mike Kestner <[email protected]>
- * TreeView.cs: guard against disposed conditions in UpdateScrollbars
- to deal with people updating the TreeNodeCollection after the tree
- is disposed. "Fixes" 79330.
- 2006-09-20 Jackson Harper <[email protected]>
- * TextControl.cs: Push the cursor record onto the undo stack
- before the delete action. This fixes 78651.
- 2006-09-20 Jonathan Chambers <[email protected]>
- * PropertyGridView.cs: Remove WindowStyles.WS_VISIBLE from
- CreateParams. Fixes 79329.
- 2006-09-19 Chris Toshok <[email protected]>
- * XplatUIX11.cs: a couple of blanket code massage passes to clean
- things up a bit. First, get rid of the NetAtoms array (and the NA
- enum), and just embed the atoms as static fields. Also, add a
- couple of functions (StyleSet and ExStyleSet) to clean up all the
- bitmask testing of styles.
- * X11Structs.cs: remove the NA enum, not needed anymore.
-
- 2006-09-19 Chris Toshok <[email protected]>
- * XplatUIX11.cs: apply Alexander's tool window fix for bug #79245
- (mapping them to _NET_WM_WINDOW_TYPE_UTILITY). and add a little
- added cleanup to get MessageBox titles appearing again, which were
- broken by my earlier fix for caption-less/ControlBox-less windows.
- 2006-09-18 Jonathan Pobst <[email protected]>
- * ToolStripArrowRenderEventArgs.cs, ToolStripArrowRenderEventHandler.cs,
- ToolStripContentPanelRenderEventArgs.cs, ToolStripContentPanelRenderEventHandler.cs,
- ToolStripGripRenderEventArgs.cs, ToolStripGripRenderEventHandler.cs,
- ToolStripItemClickedEventArgs.cs, ToolStripItemClickedEventHandler.cs,
- ToolStripItemEventArgs.cs, ToolStripItemEventHandler.cs,
- ToolStripItemImageRenderEventArgs.cs, ToolStripItemImageRenderEventHandler.cs,
- ToolStripItemRenderEventArgs.cs, ToolStripItemRenderEventHandler.cs,
- ToolStripItemTextRenderEventArgs.cs, ToolStripItemTextRenderEventHandler.cs,
- ToolStripPanelRenderEventArgs.cs, ToolStripPanelRenderEventHandler.cs,
- ToolStripRenderEventArgs.cs, ToolStripRenderEventHandler.cs,
- ToolStripSeparatorRenderEventArgs.cs, ToolStripSeparatorRenderEventHandler.cs:
- Inital import.
- * ToolStripPanel.cs, ToolStripContentPanel.cs, ToolStripSeparator.cs,
- ToolStripButton.cs: Stubs needed for above.
- * ToolStrip.cs, ToolStripItem.cs: Stub a few variables/properties for above.
- 2006-09-15 Chris Toshok <[email protected]>
- * XplatUIX11.cs:
- - make the MessageQueues hashtable Synchronized.
-
- - SendMessage: if the Hwnd is owned by a different thread, use the
- AsyncMethod stuff to dispatch the SendMessage on the hwnd's
- thread. Fixes bug #79201.
- 2006-09-15 Chris Toshok <[email protected]>
- * XplatUIX11.cs (SetWMStyles): rework the #79368 fix slightly. If
- ControlBox == false, we disallow maximize/minimize/close. If the
- form Caption is "" we also disallow move (and get rid of the Title
- decoration). Unfortunately, regardless of how things are set,
- we're stuck with the Title and WM menu.
- 2006-09-15 Chris Toshok <[email protected]>
- * Application.cs: add locking around the static message_filters
- ArrayList, part of #79196.
- 2006-09-15 Chris Toshok <[email protected]>
- * XplatUIX11.cs (SetWMStyles): if Form.Text == "" and
- Form.ControlBox == false, the window has no titlebar nor resize
- handles. fixes bug #79368.
- 2006-09-15 Chris Toshok <[email protected]>
- * TextBoxBase.cs: in CalculateScrollBars make sure LargeChange is
- >= 0. Fixes bug #79370.
- 2006-09-15 Jonathan Pobst <[email protected]>
- * FlowLayoutPanel.cs, FlowLayoutSettings.cs: Initial commit.
- * Control.cs:
- Add properties: LayoutEngine, Margin, DefaultMargin.
- Add method: GetPreferredSize.
- Move layout logic from PerformLayout to layout engines.
- 2006-09-13 Chris Toshok <[email protected]>
- * XplatUIX11.cs: more destroy work. Jackson pointed out that my
- fix for #79326 broke #78718, so this change addresses that.
- - in SendWMDestroyMessages remove the call to
- CleanupCachedWindows, since we might be recreating the control and
- need to maintain the references to right Hwnd handles. Also, set
- the zombie flag to true for each of the children in the hierarchy
- instead of calling hwnd.Dispose. This will cause GetMessage to
- ignore all events for the window except for DestroyNotify.
- - In GetMessage, ignore messages except for DestroyNotify for
- zombie hwnds.
-
- * Control.cs: revert the is_recreating fix from the last
- ChangeLog. It's definitely "right", but it breaks switching from
- an MDI form to a non-MDI form. Will need to revisit that.
- * Hwnd.cs: add a zombie flag, which means "the
- client_window/whole_window handles are invalid, but we're waiting
- for the DestroyNotify event to come in for them". Set the flag to
- false explicitly if setting WholeWindow/ClientWindow, and also
- when Disposing.
-
- 2006-09-13 Chris Toshok <[email protected]>
- * XplatUIX11.cs: rework window destruction slightly.
- - when destroying the windows associated with a control, we don't
- need 2 separate XDestroyWindow calls. Just the one for the
- whole_window (or for client_window if whole_window is somehow
- IntPtr.Zero -- can this happen?) is enough.
- - reworked SendWMDestroyMessages slightly, so we always dispose
- the child control hwnd's after sending the messages.
-
- - refactored out the ActiveWindow/FocusWindow/Caret clearing from
- the two places it was used (one was even using hwnd.Handle and the
- other hwnd.client_window. ugh), adding another call in
- SendWMDestroyMessages. We need this new call because now the
- DestroyNotify events in the queue will be ignored for the child
- controls (as their hwnd's were disposed, and the window id's
- removed from the hashtable in SendWMDestroyMessages.) fun, eh?
- - this fixes bug #79326.
- 2006-09-13 Chris Toshok <[email protected]>
- * Control.cs: don't always set is_recreating to false at the end
- of RecreateHandle, since sometimes we're not done (and won't be
- until WndProc handles the WM_DESTROY message). Also, set
- is_recreating to false in the WM_DESTROY handling code. Part of
- the fix for bug #79326.
- 2006-09-13 Miguel de Icaza <[email protected]>
- * X11DesktopColors.cs: Start the droppage of debugging messages.
- * FileDialog.cs: Store the configuration file in ~/.mono/mwf_config
- 2006-09-13 Jonathan Pobst <[email protected]>
- * SplitContainer.cs, SplitterPanel.cs: Initial implementation [2.0].
- 2006-09-12 Chris Toshok <[email protected]>
- * DataGrid.cs (get_ListManager): if the list_manager is null, try
- to create it using SetDataSource. Fixes bug #79151.
- 2006-09-11 Chris Toshok <[email protected]>
- * XEventQueue.cs: add a DispatchIdle property.
- * XplatUIX11.cs (UpdateMessageQueue): only emit the Idle event if
- either the queue is null, or the queue has DispatchIdle set to
- true.
- (DoEvents): set queue.DispatchIdle to false around the
- peek/translate/dispatch message loop in this method. This keeps
- Application.Doevents from emitting idle events. Part of the fix
- for #78823.
- 2006-09-11 Chris Toshok <[email protected]>
- * DataGrid.cs (set_DataSource): make this work for both the
- winforms/datagrid test and ReportBuilder. It seems as though when
- we've created a ListManager (or maybe it's if we have a
- BindingContext?), when we set the DataSource it clears the
- DataMember to "". otherwise we reuse the datamember. Fixes bug
- #79333.
- 2006-09-11 Chris Toshok <[email protected]>
- * XplatUIX11.cs: deal with queue being null, which happens in all
- the Clipboard functions. Fixes one of the two problems mentioned
- in #78612.
- 2006-09-11 Chris Toshok <[email protected]>
- * MenuAPI.cs: rework OnMouseUp a bit so that releasing the mouse
- button on various spots (including outside the menu) works closer
- to MS, and doesn't crash. Fixes #79343.
- 2006-09-11 Gert Driesen <[email protected]>
- * ListView.cs: Do not initialize item_sorter in init. To match MS,
- return null for ListViewItemSorter if View is SmallIcon or LargeIcon
- and the internal comparer is set. When a new ListViewItemSorter is set,
- sort the items. Use Enum.IsDefined to verify whether a valid SortOrder
- was specified. No further processing is necessary if SortOrder is set
- to it's current value. If Sorting is modified to None, and View is
- neither SmallIcon nor LargeIcon then: on 2.0 profile set item_sorter
- (either custom or our internal ItemComparer) to null, on 1.0 profile
- only set item_sorter to null if its our internal IComparer. If Sorting
- is modified to Ascending or Descending, then use our internal IComparer
- if none is set, and if the current IComparer is our internal one then:
- on 2.0 profile always replace it with one for new Sorting, and on 1.0
- profile only use new Sorting if view is not SmallIcon or LargeIcon. Use
- Enum.IsDefined to verify whether a valid View value is specified in
- its setter. Automatically sort listview items when listview is
- created. In Sort, do nothing if ListView is not yet created, or if
- no item_sorter is set (no Sorting was set, Sorting was explicitly set
- to None or ListViewItemSorter was set to null). Added Sort overload
- taking a bool to indicate whether the ListView should be redrawn when
- items are sorted (we use this in ListViewItemCollection to avoid double
- redraws). Modified our internal IComparer to take the sort order into
- account. In Add and AddRange methods of ListViewItemCollection, also
- call Sort if Sorting is None (necessary for SmallIcon and LargeIcon
- view), but use overload with noredraw option to avoid double redraw.
- On 2.0 profile, throw NotSupportedException when setting CheckBoxes to
- true when View is Tile, and do the same when attempting to set View to
- Tile when CheckBoxes is true. Avoid maintaining separate ArrayLists
- for selected/checked indices, as it involves overhead when sorting is
- done while these collections are not used all that often. Instead
- we'll build the indices on demand. Modified IList implementation of
- CheckedIndexCollection to use public methods if object is int.
- Modified CheckedListViewItemCollection to hide checked items if
- ListView.CheckBoxes is false. Removed LAMESPEC remark in
- ListViewItemCollection as the .NET SDK docs have been fixed. Modified
- IList implementation in SelectedIndexCollection to use public methods
- if object is int. Modified SelectedListViewItemCollection to hide
- selected items if listview is not yet created.
- * ListViewItem.cs: CheckedIndices list no longer needs to be
- maintained separately (see ListView changes). Also clone font, fixes
- test failure.
- 2006-09-11 Mike Kestner <[email protected]>
- * ComboBox.cs: if we are updating the contents of the currently
- selected index, refresh the control or the textbox selection.
- [Fixes #79066]
- 2006-09-11 Mike Kestner <[email protected]>
- * ComboBox.cs (UpdateBounds): use SetBounds not SetBoundsCore since
- the 'specified' logic has been moved there. This seems like a bug
- in Control.cs, since our current SetBoundsCore completely ignores
- the specified parameter. Peter's commit seems to indicate that is
- the way the MS control implementation works. [Fixes #79325]
- 2006-09-10 Jonathan Chambers <[email protected]>
- * XplatUI.cs: Set default_class_name to be composed
- of current domain id. This allows MWF to be loaded in multiple
- domains on Win32.
- 2006-09-09 Miguel de Icaza <[email protected]>
- * X11Keyboard.cs: If we are unable to obtain the input method, do
- not call CreateXic to create the input context. Should fix
- #78944/79276.
- 2006-09-08 Alexander Olk <[email protected]>
- * MimeIcon.cs: Rewrote major parts. Dropped KDE support for now.
- Simplified gnome support by adding more pinvokes to get the
- icon for a file or mime type.
- 2006-09-08 Jackson Harper <[email protected]>
- * MenuAPI.cs: Deslect popup context menu items before closing the
- window, so that you don't see the previously selected item
- selected when you reopen the menu.
- * TextControl.cs: Update the cursor position even if we don't have
- focus. This fixes typing in things like the ComboBox. I'm not
- totally sure we should always set the visibility if we don't have
- focus, but couldn't find any corner cases where the cursor showed
- up when it shouldn't.
- 2006-09-08 Chris Toshok <[email protected]>
- * X11Keyboard.cs: In UpdateKeyState vkey can be any integer, but
- our arrays are length 256. & 0xff before indexing. Fixes the
- crash in bug #78077.
-
- 2006-09-08 Carlos Alberto Cortez <[email protected]>
- * ThemeWin32Classic.cs:
- * DateTimePicker.cs: Draw check box if DateTimePicker.ShowCheckBox
- is true. Handle that check box too.
- 2006-09-07 Chris Toshok <[email protected]>
- * MenuAPI.cs: move the PerformClick call to OnMouseUp. Fixes bug
- 79244.
- 2006-09-07 Chris Toshok <[email protected]>
- * Control.cs: in set_BackColor only do the work if
- background_color != value.
- * XplatUIX11.cs: move the clearing of invalid areas (both client
- and nc) to the same block of code where we set (nc_)expose_pending
- to false. That is, move it from PaintEventEnd to PaintEventStart,
- so things that cause invalidates from within OnPaint will trigger
- another call to OnPaint. Fixes bug #79262.
- 2006-09-07 Alexander Olk <[email protected]>
- * Theme.cs: Use correct icon for UIIcon.PlacesPersonal
- * FileDialog.cs: Fix typo
- 2006-09-07 Jackson Harper <[email protected]>
- * ThemeWin32Classic.cs: oops, forgot to commit. Draw the images
- for tab pages if they have any.
- 2006-09-06 Mike Kestner <[email protected]>
- * Splitter.cs: use the "current" rect when finishing drag handle
- to avoid an artifact demonstrated by resedit.exe. [Fixes #79251]
- 2006-09-06 Mike Kestner <[email protected]>
- * Splitter.cs: draw the drag handle at X or Y instead of 0 to deal
- support offset splitters. [Fixes #79298]
- 2006-09-06 Alexander Olk <[email protected]>
- * Mime.cs: Fixed a bug that could override the global mime type
- result.
- 2006-09-05 Jackson Harper <[email protected]>
- * TabControl.cs: Better calculation method for setting the slider
- pos. Prevents crashes on really wide tabs.
- - Draw Image on tab pages if an image list is used.
- 2006-09-02 Carlos Alberto Cortez <[email protected]>
- * MonthCalendar.cs: When Font changes, the Size should be
- updated to fit the new font's space requirements.
- 2006-09-02 Alexander Olk <[email protected]>
- * ListBox.cs: If the items are cleared with Items.Clear set
- top_index to 0.
- 2006-09-01 Carlos Alberto Cortez <[email protected]>
- * MonthCalendar.cs: Handle arrow keys as input keys. Also
- fire DateChanged event instead of DateSelected event when
- the date was changed by keyboard interaction.
- 2006-09-01 Carlos Alberto Cortez <[email protected]>
- * DateTimePicker.cs: Handle DateChanged for the associated
- month_calendar control, and set month_calendar.Font from
- OnFontChanged method, as well as resize the height of the
- control when needed. Make PreferredHeight proportional.
- 2006-09-01 Chris Toshok <[email protected]>
- * DataGrid.cs: grr, stop overthinking the DataMember/DataSource
- properties.
- * BindingContext.cs (HashKey.GetHashCode): use ^ instead of +.
- 2006-09-01 Peter Dennis Bartok <[email protected]>
- * FileDialog.cs: Set ClientSize instead of window size, to allow space
- for decorations (Fixes #79219)
- 2006-09-01 Mike Kestner <[email protected]>
- * ComboBox.cs: first stab at sorting plus some selection handling
- fixes to bring us more in line with MS behavior. Also switches back
- to index based selection. Alternative patches for index-based
- selection were provided by Jackson Harper, Carlos Alberto Cortez,
- and [email protected] on bug 78848. I assume they were similar to this
- code I've had simmering in my tree forever.
- [Fixes #78848]
- 2006-09-01 Chris Toshok <[email protected]>
- * CurrencyManager.cs (ListChangedHandler): in the ItemAdded case,
- when setting list position guard against ending up with a -1 index
- (the other part of the fix for #78812). Should probably make sure
- we don't need the analogous fix in the ItemDeleted case.
- * DataGrid.cs:
- - in SetDataSource, work around the fact that the way
- OnBindingContextChanged is invoked will cause us to re-enter this
- method. I'll remove the hack once I investigate
- OnBindingContextChanged.
- - fix the logic in set_DataSource and set_DataMember (basically
- what to do if the other of the two is null.)
-
- - in OnListManagerItemChanged, we need to take into account the
- edit row when deciding whether or not to call RecreateDataGridRows
- (part of the fix for #78812).
- 2006-09-01 Jackson Harper <[email protected]>
- * Splitter.cs: Don't do anything if there is no control to affect
- (prevents us from crashing in weird tet cases).
- * TreeView.cs: Bounding box for the mouse movement reverting
- focus/selection back to previously selected node. This matches
- MS, and makes the tree a lot more useable.
- * GroupBox.cs: Instead of drawing over the lines of the groupbox,
- use clipping so they are not drawn. This fixes when the control
- is set to have a transparent background, or if it was over an
- image.
- 2006-09-01 Alexander Olk <[email protected]>
- * MimeIcon.cs: Improved handling for reading default icons when
- using gnome (2.16 made it necessary). Check and read svg icons
- first, then 48x48 and then 32x32 icons.
- 2006-08-31 Chris Toshok <[email protected]>
- * DataGridTextBoxColumn.cs: only hide the textbox if it's still
- visible.
- * DataGridTextBox.cs: Pass Tab's up to the datagrid by calling
- ProcessKeyPreview. Fixes part of #77806.
- * DataGrid.cs: big patch.
- - revert the queueing up of DataSource/DataMember if inside
- BeginInit/EndInit calls. That's not the way the datagrid achieves
- its delayed databinding. Instead, call SetDataSource in
- OnBindingContextChanged. This mimic's MS's behavior, and fixes
- #78811.
- - Also, it wasn't mentioned in #78811, but the test case exhibits
- behavior that was lacking in our datagrid implementation - Columns
- that have mapping names that don't exist in the datasource's
- properties aren't shown. Yuck. To fix this I added the bound
- field to the column style, and basically any calculation to figure
- out anything about columns uses a loop to find the bound columns.
- still need to investigate if I can cache an array of the bound
- columns or if the indices must be the same.
- - When setting CurrentCell, we no longer abort if the cell being
- edited was in the add row. This fixes the other part of #77806.
- - The new code also fixes #78807.
-
- * ThemeWin32Classic.cs: perpetrate the same disgusting
- column.bound field hack, and only render bound fields.
- 2006-08-31 Chris Toshok <[email protected]>
- * DataGridColumnStyle.cs: add bound field. this field is true if
- the datasource has a property corresponding to the mapping name.
- * DataGridTableStyle.cs: set the bound field on the column styles
- depending on whether or not we have a column for that property.
- 2006-08-31 Peter Dennis Bartok <[email protected]>
- * Splitter.cs (SetBoundsCore): Don't ignore width/height of the
- splitter control (fixes #79228)
- 2006-08-31 Chris Toshok <[email protected]>
- * DataGridColumnStyle.cs: we need to delay the assignment of
- property descriptor until the last possible moment due to the lazy
- databinding stuff in the datagrid. Also, fix the exceptions
- thrown by CheckValidDataSource to match MS.
- 2006-08-31 Jackson Harper <[email protected]>
- * Form.cs: When activated select the active control, if there is
- no active control, we select the first control.
- * XplatUIX11.cs: If there is no focus control when we get a
- FocusIn event, find the toplevel form and activate it. This
- occurs when you popup a window, it becomes the focus window, then
- you close that window, giving focus back to the main window.
- 2006-08-21 Carlos Alberto Cortez <[email protected]>
- * MonthCalendar.cs:
- * ThemeWin32Classic.cs: Cache Font in bold style, as well
- as StringFormat with Center alignments in MonthCalendar,
- instead of creating new ones when drawing the control.
- Also, draw the month name in bold style.
- 2006-08-30 Peter Dennis Bartok <[email protected]>
- * Control.cs:
- - PerformLayout(): It would seem MS performs the fill even if the
- control is not visible (part of #79218 fix)
- - ResetBackColor(): Use the setter to reset the color, to allow
- overriders to catch the change.
- * Form.cs:
- - .ctor: Call UpdateBounds to adjust client rectangle (part of #79218 fix)
- - CreateHandle(): dito (part of $79218 fix)
- - Don't set an icon if we have a dialog
- * ScrollableControl.cs:
- - set_AutoScrollMinSize: Setting the property enables AutoScroll (#79218)
- - ScrollIntoView(): No need to scroll if control is already visible
- (resolves fixme and fixes #79218)
- 2006-08-30 Carlos Alberto Cortez <[email protected]>
- * MonthCalendar.cs: Change proportions in SingleMonthSize
- to match the aspect of the original control.
- 2006-08-29 Alexander Olk <[email protected]>
- * XplatUIX11.cs: Fix for a metacity/X problem where windows don't
- get updated when they get maximized.
- 2006-08-29 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs: Handle windows with no border (Fixes part of #79160)
- 2006-08-29 Chris Toshok <[email protected]>
- * XplatUIX11.cs: when destroying the FocusWindow, send KILLFOCUS.
- 2006-08-29 Jackson Harper <[email protected]>
- * TreeView.cs: Need to track selected node and highlighted node,
- they aren't always the same thing, when the mouse is down on a
- node it is hilighted, but not selected yet.
- - Do the HideSelection stuff right
- - Need to focus on rbutton mouse down. And redraw selection when
- right click is mouse upped.
- 2006-08-29 Mike Kestner <[email protected]>
- * ThemeWin32Classic.cs: draw selections for columns in FullRowSelect
- when SubItems.Count < Columns.Count. [Fixes #79167]
- 2006-08-28 Peter Dennis Bartok <[email protected]>
- * TextControl.cs (FindCursor): Fix math error (Fixes #78402)
- 2006-08-28 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs: Preempt the roundtrip for getting the location back
- from X. Only send based on ConfigureNotify if we don't have the
- correct location in hwnd (if the window manager moved us)
- 2006-08-28 Mike Kestner <[email protected]>
- * ListView.cs: remove a TODO.
- * ThemeWin32Classic.cs: implement HideSelection support for ListView.
- [Fixes ListView part of #79166]
- 2006-08-28 Mike Kestner <[email protected]>
- * ListView.cs: move wheel handler to parent since it is focused
- instead of the item_control now. [Fixes #79177]
- 2006-08-28 Mike Kestner <[email protected]>
- * ThemeWin32Classic.cs: only highlight subitems in fullrowselect
- when the control is focused. [Fixes #79171]
- 2006-08-28 Mike Kestner <[email protected]>
- * ListView.cs: size the item and header controls for empty and
- unscrollable views.
- * ThemeWin32Classic.cs: draw disabled backgrounds.
- [Fixes #79187]
- 2006-08-28 Chris Toshok <[email protected]>
- * Form.cs: remove unused "active_form" static field.
- * Hwnd.cs: lock around accesses to static windows collection.
- * Application.cs: lock threads in Exit ().
- 2006-08-28 Chris Toshok <[email protected]>
- * NativeWindow.cs: lock around accesses to window_collection.
-
- 2006-08-28 Chris Toshok <[email protected]>
- * Control.cs: err, fix this the right way, by locking on controls
- when using it. not by making it synchronized.
- 2006-08-28 Chris Toshok <[email protected]>
- * Control.cs: make the static "controls" field synchronized, as it
- gets updated from multiple threads.
- 2006-08-27 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs: PostQuitMessage is thread-specific not app-specific.
- Prevent other threads from exiting when calling thread sets quit state.
- * XEventQueue.cs: Added PostQuitState property
- 2006-08-27 Chris Toshok <[email protected]>
- * AsyncMethodData.cs: add a slot for the window handle.
- * XplatUIX11.cs (SendAsyncMethod): send the event to the right
- window (the destination control's window, not the foster window).
- * Control.cs (BeginInvokeInternal): store the window's handle in
- the AsyncMethodData.
-
- 2006-08-27 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs:
- - PostQuitMessage: Removed resetting S.D display handle, we might have
- another loop started after calling PostQuitMessage (Fixes #79119)
- - Created destructor to reset S.D handle
- 2006-08-27 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs (SetCursor): Issue flush after setting the cursor (#79168)
- 2006-08-23 Peter Dennis Bartok <[email protected]>
- * TextControl.cs (Insert): Update the caret position even if we don't
- have a handle yet, just don't call the driver in that case.
- * TextBoxBase.cs (set_SelectedText): Set the Start and End selection
- to the end of the new selection text (Fixes #79184)
- 2006-08-23 Peter Dennis Bartok <[email protected]>
- * Form.cs (Activate): Only activate if the handle is created)
- * Control.c:
- - Mark window as invisible when it's disposed
- - Check if window handle is created when setting window visible,
- instead of relying just on the is_created variable
- - Check if object is disposed when creating the control (Fixes #79155)
- 2006-08-23 Peter Dennis Bartok <[email protected]>
- * ScrollableWindow.cs (ScrollWindow): Don't actually perform layouting
- when allowing layout again. Otherwise we re-generate the anchoring
- distance to the border again and actually alter what the user wanted
- This is ugly, it'd be better if we used DisplayRectangle instead of
- ClientRectangle for Control.UpdateDistances, but that causes us to
- have other problems (initial anchoring positons would be wrong)
- (Fixes #78835)
- 2006-08-23 Peter Dennis Bartok <[email protected]>
- * Control.cs:
- - The size and location setters shouldn't go directly to
- SetBoundsCore, but to SetBounds, which triggers layout on the
- parent, then calls SetBoundsCore. (Related to fix for #78835)
- - SetBounds: Moved actual location update code into this function
- from SetBoundsCore, to match MS. Added call to PerformLayout if
- we have a parent (to trigger resizing of anchored parents if the
- child size has changed (see testcase for #78835)
- * ListBox.cs, Form.cs: Call SetBounds instead of SetBoundsCore to match
- new control code
- * ScrollableControl.cs (CalculateCanvasSize): Use shortcut variable
- 2006-08-23 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs: Don't reset the DisplayHandle that's stored in
- System.Drawing when a toplevel window gets closed; there might
- be other toplevel windows belonging to the same app (Fixes #78052)
- 2006-08-26 Alexander Olk <[email protected]>
- * FileDialog.cs: After reading FileDialog settings from mwf_config
- use Desktop prefix only if a real folder doesn't exist anymore.
- * FontDialog.cs: Added char sets.
- It is now possible to select the font, size or style with the
- textboxes.
- 2006-08-25 Kornél Pál <[email protected]>
- * PrintPreviewDialog.cs: Use assembly name constants.
- 2006-08-23 Peter Dennis Bartok <[email protected]>
- * XplatUIWin32.cs (ScrollWindow): Use clipping rectangle arg (prevents
- scrollbar from whacking it's buttons)
- 2006-08-24 Chris Toshok <[email protected]>
- * ScrollableControl.cs: fix #78271. There's a lot of misc stuff
- in this patch (aggregating setting Left/Top/Width/Height to
- setting Bounds on the scrollbars), but the crux of the fix is in
- Recalculate, where we scroll by the remaining scroll_position if
- we're hiding a scrollbar. The 2*$5 reward in the comment is
- serious.
- 2006-08-24 Jackson Harper <[email protected]>
- * MdiClient.cs:
- * MdiWindowManager.cs: If the form is made a non-mdi window we
- need to remove the form closed event so that closing forms works
- correctly.
- 2006-08-24 Jackson Harper <[email protected]>
- * Control.cs: Make IsRecreating internal so that the driver can
- check it
- - Temporarily remove the Hide when controls are removed, its
- making a whole bunch of things not work because visibility isn't
- getting reset elsewhere correctly
- * Form.cs: Need to do a full handle recreation when the mdi parent
- is set.
- * XplatUIX11.cs: If we are recreating handles don't dispose the
- HWNDs. What was happening is the handles were being recreated in
- SendWMDestroyMessages, but then flow continued on in that method
- and destroyed the new handles.
- 2006-08-23 Jackson Harper <[email protected]>
- * Form.cs: MdiClient is always at the back of the bus
- * Control.cs: When the order of items in the collection is changed
- we need to reset the all_controls array
- - do the same sorta setup thats done when adding a control when a
- control is set on the collection.
- 2006-08-23 Peter Dennis Bartok <[email protected]>
- * TextBoxBase.cs (get_Text): Return an empty array if our document
- is empty (fixes #79052)
- 2006-08-23 Peter Dennis Bartok <[email protected]>
- * Control.cs: We should call IsInputChar on only on WM_CHAR but not
- on WM_SYSCHAR messages (fixes #79053)
- 2006-08-23 Chris Toshok <[email protected]>
- * DataGrid.cs: fix flickering when scrolling vertically.
- 2006-08-23 Chris Toshok <[email protected]>
- * DataGrid.cs (EndEdit): only invalidate the row header when we
- need to.
- 2006-08-23 Chris Toshok <[email protected]>
- * ThemeWin32Classic.cs: fix the clip munging of the datagrid paint
- methods. fixes the flicker when scrolling around.
- 2006-08-23 Peter Dennis Bartok <[email protected]>
- * FileDialog.cs: Making sure the control is created before we get a
- chance to use it with BeginInvoke (Fixes #79096)
- 2006-08-23 Chris Toshok <[email protected]>
- * ThemeWin32Classic.cs (DataGridPaintRows): calculate the proper
- width to use when painting the rows.
- 2006-08-23 Peter Dennis Bartok <[email protected]>
- * TextBoxBase.cs:
- - Throw ArgumentException if a negative value is passed to SelectionLength
- - Update the selection end if start is moved. end needs to be always
- after start. (Fixes #79095)
- - Track selection length; MS keeps the selection length even if start
- is changed; reset on all other operations affection selection
- 2006-08-22 Jackson Harper <[email protected]>
- * TreeView.cs: Make sure both scrollbars get displayed and sized
- correctly when the other bar is visible.
- - Use the original clip rectangle for checking if the area between
- the two scrollbars is visible, not the viewport adjusted clipping
- rectangle.
- 2006-08-22 Jackson Harper <[email protected]>
- * Binding.cs: We don't use IsBinding because it requires the
- control to be created, which really shouldn't be necessary just to
- set a property on the control.
- 2006-08-21 Carlos Alberto Cortez <[email protected]>
- * ComboBox.cs: Some CB.ObjectCollection methods must throw
- ArgumentNullReferenceException when the argument is null.
- 2006-08-21 Jackson Harper <[email protected]>
- * Timer.cs: Track the thread that the timer is started in (NOT
- CREATED), this way messages for it will only be triggered on its
- queue.
- * XEventQueue.cs: Track the timers here, this makes timers per
- thread, like MS.
- * XplatUIX11.cs: The timers are moved to the XEventQueue.
- 2006-08-19 Chris Toshok <[email protected]>
- * XplatUIX11.cs: after further communication with pdb, we get the
- best of both worlds. SetZOrder working for un-Mapped windows, and
- no X errors for un-mapped windows.
- 2006-08-19 Chris Toshok <[email protected]>
- * XplatUIX11.cs (SetZOrder): remove the if (!hwnd.mapped) check,
- as it was causing pdn toolbars to not have the correct stacking.
- 2006-08-18 Mike Kestner <[email protected]>
- * ListView.cs : guard against negative ClientArea.Width in scrollbar
- calculation. Not sure why control should ever be setting a negative
- width though. Fixes #78931.
- 2006-08-18 Carlos Alberto Cortez <[email protected]>
- * ComboBox.cs: Throw ArgumentNullException when adding/modifyng
- null items in ObjectCollection class.
- * ListBox.cs.: Likewise.
- 2006-08-18 Atsushi Enomoto <[email protected]>
- * ThemeNice.cs, ThemeClearlooks.cs : remove RadioButton_DrawFocus()
- as the base method in ThemeWin32Classic should work fine.
- Fixed bug #78607.
- 2006-08-18 Jackson Harper <[email protected]>
- * Binding.cs: When validating if the value entered doesn't convert
- properly reset to the old value.
- * RadioButton.cs: Don't fire click when we get focus.
- 2006-08-18 Jackson Harper <[email protected]>
- * FileDialog.cs: Paint the selection on the directory combobox the
- same way as on MS.
- 2006-08-17 Jackson Harper <[email protected]>
- * ErrorProvider.cs: Don't allow the error control to be selected.
- * Control.cs: Don't send the SetFocus messages, the control
- activation will do this, and if we do it blindly here validation
- does not work.
- 2006-08-17 Jackson Harper <[email protected]>
- * Control.cs:
- * ContainerControl.cs: Make validation events fire in the correct
- order. TODO: For some reason the first validation event is not
- getting fired.
- 2006-08-17 Mike Kestner <[email protected]>
- * ComboBox.cs : some null guarding for ComboListBox.Scroll.
- 2006-08-17 Mike Kestner <[email protected]>
- * ComboBox.cs : implement scroll wheel support for popped-down
- state. Fixes #78945.
- 2006-08-17 Jackson Harper <[email protected]>
- * TreeView.cs: Specify treeview actions (old patch that didn't get
- committed for some reason).
- - Don't let the mouse wheel scroll us too far. Just want to make
- the bottom node visible, not scroll it all the ways to the top.
- 2006-08-17 Jackson Harper <[email protected]>
- * XplatUIX11.cs: Mouse wheel events go to the focused window.
- 2006-08-17 Mike Kestner <[email protected]>
- * ComboBox.cs : don't do mouseover selection in simple mode.
- 2006-08-16 Jackson Harper <[email protected]>
- * Form.cs: Fire the closing events for all the mdi child windows
- when a window is closed. If the cancel args are set to true, the
- main window still gets the event fired, but it doesn't not close.
- * MdiWindowManager.cs: Do this closing cleanup in a Closed
- handler, instead of when the button is clicked, so cancelling the
- close works correctly.
- * ComboBox.cs: Send the mouse down to the scrollbar.
- 2006-08-16 Carlos Alberto Cortez <[email protected]>
- * ListBox.cs: When passing 'null' to SelectedItem,
- set SelectedIndex to -1, to unselect items. This is the
- observed behaviour in .Net.
- 2006-08-16 Peter Dennis Bartok <[email protected]>
- * TextBoxBase.cs: Overriding HandleClick to get clicks in spite of
- MS flags saying there won't be any. (fixes #78800)
- * Control.cs (HandleClick): Made virtual
- 2006-08-16 Atsushi Enomoto <[email protected]>
- * PageSetupDialog.cs : use Yard-Pound units only in en-GB and en-US
- cultures. Fixed bug #78399.
- 2006-08-16 Jackson Harper <[email protected]>
- * Form.cs: Use the MdiClients MdiChildren property to access
- MdiChildren instead of creating the array from the child controls.
- * MdiClient.cs: Maintain a separate array of the mdi children, so
- that insertion order is maintained when the Z-order is changed.
- 2006-08-16 Mike Kestner <[email protected]>
- * ListView.cs : add an ItemComparer and default to it for sorting.
- Fixes #79076, but sorting needs a complete overhaul to be compat with
- MS.
- 2006-08-15 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs (SetZOrder): Fix debugging leftover (fixes #79080)
- 2006-08-15 Peter Dennis Bartok <[email protected]>
- * Hwnd.cs (Mapped): Properly traverse the tree
- 2006-08-15 Chris Toshok <[email protected]>
- * Binding.cs: fix PullData/SetPropertyValue. We don't want to
- pass manager.Current.GetType() to ParseData. It has to be the
- property type. So, hold off doing the ParseData until we're in
- SetPropertyValue where we know the type. This fixes the crash in
- #78821 but the textbox is still empty.
- 2006-08-15 Chris Toshok <[email protected]>
- * DataGrid.cs:
- - when we're scrolling, only call Edit() again if the
- current cell is still unobscured. Fixes bug #78927.
- - when handling mousedown on a cell, ensure the cell is visible
- before calling Edit.
- - remove the properties from DataGridRow, and remove the
- DataGridParentRow class altogether.
-
- 2006-08-15 Peter Dennis Bartok <[email protected]>
- * TextBoxBase.cs (set_Text): Don't use base.Text, instead just
- fire OnTextChanged by ourselves. There's no point calling base,
- we don't set the base value anywhere else. Fixes #78773.
- 2006-08-15 Carlos Alberto Cortez <[email protected]>
- * ListBox.cs: Call CollectionChanged when modifying
- an item from Items indexer, to update the actual items
- in the list box.
- 2006-08-15 Carlos Alberto Cortez <[email protected]>
- * PrintDialog.cs: Small fixes for focus and a pair of checks,
- to match .Net behaviour.
- 2006-08-15 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs (SetZOrder): Handle raising toplevel windows
- 2006-08-15 Peter Dennis Bartok <[email protected]>
- * Control.cs: Handle BringToFront for toplevel windows (Fixes #78737)
- 2006-08-15 Peter Dennis Bartok <[email protected]>
- * MessageBox.cs: Prevent potential NRE exception.
- * TextBoxBase.cs: AutoSize only applies if MultiLine is false. Fixes #78889
- 2006-08-14 Peter Dennis Bartok <[email protected]>
- * MessageBox.cs: Calculate the owner of a messagebox, also make
- it topmost. Fixes #78753
- 2006-08-14 Chris Toshok <[email protected]>
- * XplatUIX11.cs: A couple of fixes so that metacity will let us
- programmatically move windows. first, set the PPosition hint as
- well as the USPosition hint. Second include some code from pdb
- that sets the window type to NORMAL when we set the transient for
- hint. This is because, in the absence of a window type, metacity
- thinks any window with TransientFor set is a dialog, and refuses
- to let us move it programmatically. fascists.
- 2006-08-14 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs: When setting normal hints, take into consideration
- an different hints previously set so we don't delete them (fixes #78866)
- 2006-08-12 Chris Toshok <[email protected]>
- * ToolBarButton.cs: make Layout return a boolean, if something to
- do with the button's layout changed.
- * ToolBar.cs:
- - add another parameter to Redraw, @force, which all existing
- calls set to true.
- - make the Layout function return a boolean which is true if the
- layout has actually changed. Redraw now uses this (and @force)
- to determine when to invalidate. At present the only place
- where @force can be false is the call from OnResize, when
- background_image == null. So, resizing a toolbar when the
- layout doesn't change results in no drawing.
- 2006-08-12 Chris Toshok <[email protected]>
- * ThemeWin32Classic.cs: fix the bottom right corner painting. had
- the VScrollBar and HScrollbar reversed. oops.
- * DataGrid.cs: fix the logic that assigns sizes to the implicit
- scrollbars. we were assigning them twice (once in
- Calc{Horiz,Vertical}Scrollbar, and once in CalcGridAreas),
- therefore causing two scrollbar resizes (and redraws?) to happen
- per grid resize.
- 2006-08-12 Chris Toshok <[email protected]>
- * ToolBarButton.cs: redraw the entire button if the theme tells us
- to.
- * Theme.cs: add ToolBarInvalidateEntireButton.
- * ThemeWin32Classic.cs: we don't need to redraw the entire toolbar
- buttons, just the border.
- * ThemeNice.cs: redraw the entire toolbar button since we need to
- draw the highlight image.
- * ThemeClearlooks.cs: the rounded corners of toolbar buttons mean
- we need to redraw the entire button (not just the border).
- 2006-08-11 Peter Dennis Bartok <[email protected]>
- * TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
- for vertical bars. Fixes the mismatches shown by #78513
- 2006-08-11 Alexander Olk <[email protected]>
- * FileDialog.cs: If a saved/remembered path doesn't exist
- anymore, fall back to "Desktop".
- 2006-08-11 Peter Dennis Bartok <[email protected]>
- * Form.cs (CreateParams): Don't use Parent.Handle unless we have a
- parent. It's apparently legal to not have one
- * XplatUIX11.cs:
- - SetZOrder: Don't try to set Z-Order on an unmapped window
- - CreateWindow: 0,0 are legal coordinates for a window. don't move
- it unless the coordinates are negative
- 2006-08-10 Mike Kestner <[email protected]>
- * ListControl.cs: allow null for DataSource. Clear DisplayMember
- when setting to null per msdn docs. Fixes #78854.
- 2006-08-10 Chris Toshok <[email protected]>
- * Menu.cs, MainMenu.cs, MenuAPI.cs: get rid of most of the
- flickering by setting a clip rectangle on the Graphics when we
- need to redraw just a particular menuitem. Also, rename "OnClick"
- to "OnMouseDown" to reflect what it actually is.
-
- * Form.cs: track the OnMouseDown change.
- 2006-08-10 Peter Dennis Bartok <[email protected]>
- * CommonDialog.cs: Properly inherit the CreateParams from the form
- and only change what we need. Fixes #78865
- 2006-08-10 Chris Toshok <[email protected]>
- * ToolBar.cs, ToolBarButton.cs: fix the redraw-on-highlight
- flickering in flat mode (and most of the flickering in general) by
- only invalidating the button border (and not the entire rectangle)
- when the state changes. A couple of cases still flicker:
- ToggleButtons, and the dropdown arrow case when the user mouse
- ups.
- 2006-08-10 Alexander Olk <[email protected]>
- * X11Keyboard.cs: Fixed handling of the Del key on the cursorblock
- for german keyboards. Numlock state shouldn't affect the behaviour
- of the Del key. Fixes bug #78291.
- 2006-08-10 Chris Toshok <[email protected]>
- * ListControl.cs: remove the items.Clear line from BindDataItems,
- as this is the first thing done by both subclasses in their
- SetItemsCore overrides. Also, add a ItemChanged handler, and when
- passed -1, refresh the list. This gets databinding working when
- the datasource is set on the list before the datasource is
- populated (as in wf-apps/ReportBuilder.)
- * ComboBox.cs: remove the argument to BindDataItems. This call
- should really go away, and be initiated by the ListControl code.
- * ListBox.cs: same.
- 2006-08-09 Peter Dennis Bartok <[email protected]>
- * TextControl.cs (Document.ctor): Initialize caret so we don't crash
- if no data is in the document when the control is displayed
- 2006-08-09 Peter Dennis Bartok <[email protected]>
- * TextBoxBase.cs: Don't try moving the caret if we don't have a window
- yes (fixes #78806)
- * TextControl.cs:
- - PositionCaret: Allow positioning of caret but don't call methods
- requiring a handle if the window isn't created yet
- - CharIndexToLineTag: Fix ending loop early error. Lines is 1 based
- - owner_HandleCreated: Don't position the caret, just update it's
- location. User might have already set a different position
- 2006-08-09 Peter Dennis Bartok <[email protected]>
- * XplatUIWin32.cs: Don't use the desktop as basis for foster-parented
- windows. Screws up the returned coordinates for child windows.
- Fixes #78825. I'm hoping this doesn't break something, since the
- code was explicitly put in 8 months ago, but no bug was attached.
- Menus still seem to work properly.
- 2006-08-08 Chris Toshok <[email protected]>
- * DataGrid.cs: make BeginInit/EndInit actually do what they're
- supposed to do - delay data binding until the EndInit call. Also,
- make the table style collection's CollectionChangeAction.Refresh
- work properly.
- * GridTableStylesCollection.cs: raise a CollectionChangeEvent
- (with action = Refresh) when a consituent table's MappingName is
- changed.
- 2006-08-08 Chris Toshok <[email protected]>
- * ToolBarButton.cs: in set_Text, call Parent.Redraw, not
- Invalidate, since changing the text can change the size of the all
- toolbar buttons.
- 2006-08-08 Peter Dennis Bartok <[email protected]>
- * Form.cs (AddOwnedForm): Still need to add the form to our listif
- we don't have it yet
- 2006-08-08 Chris Toshok <[email protected]>
- * PrintControllerWithStatusDialog.cs: don't .Close() the status
- dialog, as this causes X errors later on, since we actually
- destroy the window. Instead, .Hide() it.
- 2006-08-08 Peter Dennis Bartok <[email protected]>
- * ComboBox.cs: Added focus reflection for popup window
- * XplatUIX11.cs:
- - Removed transient setting for non-app windows for now, not sure it
- was needed
- - Fixed logic checking if we have captions when deciding
- override_redirect, WS_CAPTION is two bits and a 0 check was not
- sufficient
- - Removed the WINDOW_TYPE stuff, it was unneeded and making things
- complicated
- * Form.cs:
- - AddOwnedForm: Don't just add the form to the list, call the property
- to ensure the driver is informed about the ownership as well
- - CreateHandle: Set the TopMost status in the driver if we have an owner
- * XplatUI.cs: Fixed debug statement
- 2006-08-08 Jonathan Pobst <[email protected]>
- * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
- GroupBoxRenderer.cs, ProgressBarRenderer.cs, RadioButtonRenderer.cs,
- ScrollBarRenderer.cs, TabRenderer.cs, TextBoxRenderer.cs,
- TrackBarRenderer.cs: Make constructor private.
- * ProfessionalColors.cs, ProfessionalColorTable.cs: Fix misnamed properties.
- * ProfessionalColorTable.cs: Make properties virtual.
- 2006-08-06 Duncan Mak <[email protected]>
- * NumericUpDown.cs (Value): Don't call OnValueChanged if the value
- is not changing.
- 2006-08-04 Jonathan Pobst <[email protected]>
- * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
- GroupBoxRenderer.cs, ProfessionalColors.cs, ProfessionalColorTable.cs,
- ProgressBarRenderer.cs, RadioButtonRenderer.cs, ScrollBarRenderer.cs,
- TabRenderer.cs, TextBoxRenderer.cs, TextRenderer.cs, TrackBarRenderer.cs:
- Initial import of new 2.0 classes.
- 2006-08-04 Jonathan Pobst <[email protected]>
- * Application.cs: Add 2.0 VisualStyles properties.
- 2006-08-04 Jonathan Pobst <[email protected]>
- * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
- XplatUIX11.cs: Create property to allow access to existing private
- variable "themes_enabled"
- 2006-08-04 Gonzalo Paniagua Javier <[email protected]>
- * ImageListStreamer.cs: generate the MemoryStreams with the exact BMP
- file size, as otherwise our class libraries fail using windows. Fixes
- bug #78759.
- 2006-08-04 Jackson Harper <[email protected]>
- * Form.cs:
- * XplatUIX11.cs: Move the toolwindow window manager creation into
- the X11 driver, this way on win32 we can let windows create/handle
- the toolwindows.
- 2006-08-04 Carlos Alberto Cortez <[email protected]>
- * PrintDialog.cs: Remove some redundant checks, add some others,
- clean some code, and move the focus to the text boxes when the
- values are incorrect.
- 2006-08-04 Alexander Olk <[email protected]>
- * FontDialog.cs: Remove Form.MinimumSize. It's not needed.
- 2006-08-03 Alexander Olk <[email protected]>
- * NumericUpDown.cs: Setting the Minimum and Maximum is now
- handled correctly. Fixes bug #79001.
- 2006-08-03 Carlos Alberto Cortez <[email protected]>
- * PrintDialog.cs: The "Copies" numeric up down must have
- set the Minimum property to 1; only if the value is bigger
- than 1, activate "Collate" check box. This is the behaviour of .Net.
- Also modify the Document elements only if it is not null.
- 2006-08-03 Jackson Harper <[email protected]>
- * TreeNodeCollection.cs: Fix copyto to use the correct nodes
- length. (We have a larger array then actual node count).
-
- 2006-08-03 Jackson Harper <[email protected]>
- * ComboBox.cs: Don't show selection by default.
- - The SelectAll isn't needed here, since the focus code should do
- that
- - DDL style lists to manual selection drawing, so when they
- get/lose focus they have to invalidate.
- 2006-08-03 Peter Dennis Bartok <[email protected]>
- * TextBoxBase.cs: Don't always show all selections by default.
- 2006-08-03 Jonathan Pobst <[email protected]>
- * ControlUpdateMode.cs, DataSourceUpdateMode.cs,
- HelpNavigator.cs, WebBrowserEncryptionLevel.cs:
- Fixed various typos.
- 2006-08-03 Alexander Olk <[email protected]>
- * Control.cs: Removing the controls in a ControlCollection with
- Clear now hides the controls as expected. Fixes bug #78804.
- 2006-08-03 Jackson Harper <[email protected]>
- * Control.cs: Revert previous focus patch, it breaks reflector.
- 2006-08-03 Jackson Harper <[email protected]>
- * ComboBox.cs: Cleanup selection and focus with the combobox.
- This also eliminates some duplicated keyboard code, since now
- everything is handled by the main class.
- - Make list selection work on mouse up instead of down, to match
- MS.
- 2006-08-02 Jackson Harper <[email protected]>
- * Control.cs: Setting focus needs to go through the whole
- selection mechanism.
- 2006-08-02 Chris Toshok <[email protected]>
- * PrintPreviewDialog.cs: change MinimumSize to use
- base.MinimumSize so it works.
- 2006-08-02 Peter Dennis Bartok <[email protected]>
- * TextControl.cs:
- - UpdateCaret: Added sanity check in case caret isn't defined yet
- - Line.Delete: Now updating selection and caret markers if we're
- transfering a node (Properly fixes #78323)
- - SetSelectionEnd: Added sanity check
- * TextBoxBase.cs: Removed broken attempt to fix #78323
- 2006-08-01 Chris Toshok <[email protected]>
- * PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
- Close() call is handled in Form, not here.
- 2006-08-01 Chris Toshok <[email protected]>
- * Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
- layout/rendering.
- * PrintPreviewDialog.cs: add scrollbars, and add an image cache
- for sizes < 100% zoom. The code now aggressively attempts to keep
- from calling document.Print (), and tries not to use the scaling
- g.DrawImage whenever possible (it still does if you scale to >
- 100%, since usually that involves huge images).
- * PrintPreviewControl.cs: hook up the close button.
- 2006-08-01 Jonathan Pobst <[email protected]>
- * ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
- ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
- ItemDragEventHandler.cs, LabelEditEventHandler.cs,
- LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
- MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
- PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
- SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
- Removed [Serializable] for 2.0 Event Handlers.
- 2006-07-31 Jackson Harper <[email protected]>
- * TextBoxBase.cs: Make ShowSelection invalidate when changed.
- * TextControl.cs: Uncomment out the body of this method.
- 2006-07-31 Alexander Olk <[email protected]>
- * XplatUIX11.cs: Use the correct cursor shapes for arrow and default
- standard cursors.
- 2006-07-31 Peter Dennis Bartok <[email protected]>
- * TextBoxBase.cs: Added internal property ShowSelection to allow controls
- that embed TextBox and need selections visible even if textbox is not
- focused to enforce that behaviour.
- * TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
- selection drawing
- 2006-07-31 Peter Dennis Bartok <[email protected]>
- * TextControl.cs:
- - Added new SetSelectionStart/SetSelectionEnd overloads
- - Fixed viewport width assignment to be accurate
- - Adjusted alignment line shift calculations to allow cursor on right
- aligned lines to be always visible at the right border (like MS)
- * TextBoxBase.cs:
- - SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
- - TextBoxBase_SizeChanged: recalculating canvas on size changes
- - CalculateScrollBars: Use ViewPort size instead of window size, to
- properly consider space occupied by the border and scrollbars
- (Fixes #78661)
- - hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
- calculations; no longer leaves artifacts
- - CaretMoved: Adjusted window scrolling to match MS and fixed several
- calculation bugs (Still missing right/center align calculations)
- 2006-07-31 Peter Dennis Bartok <[email protected]>
- * XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
- use of both scroll rect and clip rect, as they do the same.
- 2006-07-31 Peter Dennis Bartok <[email protected]>
- * Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
- in the event handler (fixes #78912)
- 2006-07-31 Chris Toshok <[email protected]>
- * ThemeWin32Classic.cs: use grid.RowsCount here instead of
- grid.ListManager.Count, since grid.ListManager might be null.
- This of course begs the question "why are we drawing rows for a
- grid with no list manager (and therefor no rows)?" Fixes the
- crash in bug #78929.
- 2006-07-31 Chris Toshok <[email protected]>
- * RelatedPropertyManager.cs: Don't always chain up to the parent
- ctor. instead, call SetDataSource if the parent's position is !=
- -1. Fixes the crash in #78822.
- 2006-07-31 Chris Toshok <[email protected]>
- * DataGrid.cs (get_ListManager): use field instead of property
- accessors for datasource and datamember.
- (RowsCount): make internal again.
- (OnMouseDown): end edits before resizing columns/rows.
- (OnMouseUp): restart edits after resizing columns/rows.
- 2006-07-30 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
- This fixes the situation where the last set cursor is displayed
- whenever the mouse is over scrollbars.
- 2006-07-30 Carlos Alberto Cortez <[email protected]>
- * PrintDialog.cs: Fix the behaviour of PrinterSettings and
- Document properties, as well as initial values.
- 2006-07-29 Peter Dennis Bartok <[email protected]>
- * XplatUIWin32.cs (SetBorderStyle): Setting both border
- and ClientEdge results in a 3-pixel border, which is
- wrong.
- 2006-07-28 Jackson Harper <[email protected]>
- * TreeNodeCollection.cs: Fix the clear method.
- - Fix the Shrink also
- 2006-07-27 Jackson Harper <[email protected]>
- * TreeView.cs: Make sure the visible order is computed when we
- attempt to size the scrollbars (for trees that mess with the
- scrolling when they shouldn't.
- - Make sure to give the scrollbars valid values.
- 2006-07-26 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs: Move motion compression code to where it
- has less performance impact
- 2006-07-26 Jackson Harper <[email protected]>
- * UpDownBase.cs: When the control is selected make the child
- controls non selectable, so that a click on them won't do a
- focus/unfocus cycle.
- - Don't give focus to the text box when the spinner is selected.
- * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
- 2006-07-26 Chris Toshok <[email protected]>
- * ThemeWin32Classic.cs: add print preview rendering. I'm not
- satisfied with this solution. If the bitmaps are small, we should
- just cache them in the PrintPreviewDialog and draw them here.
- Also, the layout is broken for the 2-up and 3-up cases.
- * Theme.cs: add PrintPReviewControlPaint.
- * PrintPreviewDialog.cs: first pass implementation.
- * PrintPreviewControl.cs: first pass implementation. No
- scrollbars yet.
- * PrintDialog.cs: only validate fields if that particular portion
- of the UI is enabled. Also, set the document's controller to a
- PrintControllerWithStatusDialog wrapping the document's print
- controller.
- * PrintControllerWithStatusDialog.cs: if we're printing to a file,
- bring up a SaveFileDialog (i hope we don't want to match the
- behavior of the crappy windows file entry) and set the
- PrinterSettings.PrintFileName accordingly.
- 2006-07-26 Jackson Harper <[email protected]>
- * ContainerControl.cs: Add a field that disables auto selecting
- the next control in a container when the container is activated.
- * UpDownBase.cs: Don't select the text box when the up down is
- selected.
- 2006-07-26 Peter Dennis Bartok <[email protected]>
- * XEventQueue.cs: Added methods for peeking (used for compression
- of successive events)
- * XplatUIX11.cs (GetMessage): We're now compressing consecutive
- mouse move events (fixes #78732)
- 2006-07-25 Jackson Harper <[email protected]>
- * UpDownBase.cs: Use an internal class for the textbox so that we
- can control focus. the updown control should always have focus,
- if either the text area or the buttons are clicked.
- - Send the key messages to the textbox, since it never actually
- has focus
- - Activate and decativate the textbox caret.
- 2006-07-24 Jackson Harper <[email protected]>
- * Control.cs: Use the directed select when selecting a control,
- this way the container controls override will get called and the
- whole ActiveControl chain will get triggered. TODO: probably need
- to make sure this gets done everywhere instead of the old
- Select(Control).
- * ContainerControl.cs: Implement the directed Select method to
- find and activate the correct child control.
-
- 2006-07-22 Mike Kestner <[email protected]>
- * Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
- menu handling code so that clicks without a grab work too.
- [Fixes #78914]
- 2006-07-22 Alexander Olk <[email protected]>
- * FileDialog.cs: Enable the BackButton when dirstack has one element.
- Added some small optimizations.
- 2006-07-21 Matt Hargett <[email protected]>
- * Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties
- 2006-07-21 Peter Dennis Bartok <[email protected]>
- * Control.cs (GetNextControl): Fixes to make all of Jackson's unit
- tests pass and match MS in some strange border cases.
- 2006-07-21 Chris Toshok <[email protected]>
- * ThemeWin32Classic.cs: handle drawing of the relation links and
- parent row buttons.
- * Theme.cs: change args to DataGridPaintParentRow.
- * DataGrid.cs: Don't use controls for the relation links and
- parent buttons, so we have to handle all their interactions in
- MouseMove, MouseDown, MouseUp, etc. Also, store a lot more stuff
- when we're navigating through child tables, so we can reinstate
- selection, expanded state, current cell, etc.
- 2006-07-20 Chris Toshok <[email protected]>
- * ToolBar.cs: When we redraw a button, for whatever reason,
- there's no reason to redraw the entire toolbar. Also, don't call
- Control.Refresh from within Redraw, as it's much heavier than
- Invalidate (which is really what we want).
- 2006-07-20 Chris Toshok <[email protected]>
- * DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
- DataGridTextBoxColumn.cs, DataGridTextBox.cs,
- ThemeWin32Classic.cs, ListControl.cs: After staring at stack
- traces from within a debug IBindingList datasource
- (in mono/winforms/datagrid) for *days*, I've finally gotten things
- to work in a similar fashion.
- 2006-07-20 Carlos Alberto Cortez <[email protected]>
- * ListBox.cs: Don't call Sort () when setting
- the Sorted property to false (avoid an unnecessary sort).
- 2006-07-20 Carlos Alberto Cortez <[email protected]>
- * ListControl.cs: DataSource should throw an ArgumentException
- instead of a normal exception when the argument is not of the
- correct type.
- 2006-07-20 Mike Kestner <[email protected]>
- * Control.cs: add InternalPreProcessMessage to allow us to steal
- key events before MWF gets its paws on them. Adapted from a
- suggestion by eno.
- * ToolBar.cs: add GotLostFocus handing for flat toolbars, with
- up/down/left/right navigation. Override the new internal control
- method to steal the events since they never make it to WndProc.
- * ToolBarButton.cs: don't worry about pushed when setting hilight
- since the drawing code prefers pushed to hilight. Invalidate on
- Hilight changes. Fixes #78547 and #78525.
- 2006-07-20 Peter Dennis Bartok <[email protected]>
- * ScrollableControl.cs: Consider AutoScrollMinSize when calculating
- the canvas size. Fixes #78868
- 2006-07-20 Peter Dennis Bartok <[email protected]>
- * Splitter.cs: Track requested split position until first layout
- is performed. Fixes #78871
- 2006-07-20 Peter Dennis Bartok <[email protected]>
- * Application.cs: Removed code that forces 1.x for the version
- number if the version started with 0. Not sure why that code was
- there and I couldn't find any bugs that indicated we needed it.
- Fixes #78869
- 2006-07-20 Alexander Olk <[email protected]>
- * ThemeWin32Classic.cs: Don't throw a NotImplementedException in
- ResetDefaults(), just write some output to the console until it's
- implemented. Fixes bug #78907 for now. Eliminated two warnings.
- 2006-07-19 Jonathan Chambers <[email protected]>
- * PropertyGridView.cs: set StartPosition of drop down forms
- so they appear in correct initial spot. Fixes #78190.
- 2006-07-19 Mike Kestner <[email protected]>
- * ThemeWin32Classic.cs: use parent background color when drawing
- flat toolbars. Restructure the conditionals to make sure non-flat
- non-Divider toolbars are filled too. Fixes #78837.
- 2006-07-19 Mike Kestner <[email protected]>
- * ListBox.cs: Sort on collection changes even if the handle
- isn't created yet. Fixes #78813.
- 2006-07-18 Carlos Alberto Cortez <[email protected]>
- * ListControl.cs: DisplayMember should never be null,
- and now we assign String.Empty when null is passed to it (this
- is the .Net way).
- 2006-07-17 Mike Kestner <[email protected]>
- * ListViewItem.cs: restructure Font and subitem Font handling
- to hold a specific font and refer back to owner on null.
- Fixes #78761.
- 2006-07-17 Mike Kestner <[email protected]>
- * ToolBar.cs: bandaid for side-effect of previous patch which was
- discarding explicit heights for non-AutoSize toolbars. Need to
- extend my format tester to deal with AutoSize=false. Fixes #78864.
- 2006-07-15 Jackson Harper <[email protected]>
- * LabelEditTextBox.cs:
- * TreeView.cs: Use a new LabelEdit class for node editing, this
- class automatically 'closes' itself when it gets the enter key or
- loses focus.
- - Use the client rectangle when setting the trees scrollbars, so
- border style is taken into account.
-
- 2006-07-14 Jackson Harper <[email protected]>
- * TreeNode.cs:
- * TreeView.cs: Make the editing work similar to MSs, firing the
- events correctly and ending edits correctly.
- 2006-07-14 Mike Kestner <[email protected]>
- * ToolBarButton.cs:
- * ToolBar.cs: layout restructuring and redraw enhancements to support
- formatting changes gracefully, like setting TextAlign, ImageList,
- ButtonSize, and Appearance. Handles explicit button sizing quirks
- of the MS controls. Things like flat toolbars ignoring button size
- but becoming constant sized at the largest button's size. Normal
- toolbars with an image set cannot be shrunk smaller than the image,
- but text can be clipped/ignored.
- * ThemeWin32Classic.cs: don't draw text if text_rect height or width
- is zero. Seems like DrawString should be smart enough to not put
- anything on screen though. Also trim labels and ellipsize at the char
- boundary, not word.
- Fixes #78711 and #78483.
- 2006-07-14 Alexander Olk <[email protected]>
- * FolderBrowserDialog.cs: Disable "New Folder" button and
- "New Folder" contextmenu menuitem if a folder like "My Computer"
- is selected.
- 2006-07-14 Alexander Olk <[email protected]>
- * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
- * FolderBrowserDialog.cs:
- - Use MWFConfig to store and read size and position settings
- - Added code to create a new folder (button or context menu).
- Use TreeView labeledit to change the name of the new folder.
- 2006-07-14 Jackson Harper <[email protected]>
- * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
- when the tree is scrolled we end editing.
- 2006-07-14 Alexander Olk <[email protected]>
- * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
- Down arrows
- 2006-07-14 Jonathan Pobst <[email protected]>
- WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
- BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
- BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
- CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
- ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
- ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
- ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
- FormClosedEventHandler.cs, FormClosingEventArgs.cs,
- FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
- ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
- ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
- ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
- ListViewItemSelectionChangedEventHandler.cs,
- ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
- ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
- MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
- PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
- PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
- RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
- SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
- SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
- TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
- TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
- TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
- ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
- ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
- TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
- TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
- TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
- WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
- WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
- WebBrowserNavigatingEventHandler.cs,
- WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
- 2006-07-14 Jonathan Pobst <[email protected]>
- MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
- RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
- SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
- TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
- ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
- ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
- ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
- ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
- ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
- ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
- ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
- ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
- TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
- WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
- ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
- AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
- BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
- ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
- FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
- HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
- ListViewItemStates.cs, MaskFormat.cs: Added
- 2006-07-13 Jonathan Chambers <[email protected]>
- * PropertyGridView.cs: Fix keyboard navigation of drop down.
- Patch from eno for bug 78558.
-
- 2006-07-13 Jackson Harper <[email protected]>
- * TreeView.cs: When an edit is finished make sure that the
- selected node is visible.
- - When setting the top/bottom use the scrollbars is_visible, so
- everything will be set correctly even if the tree isn't visible
- yet.
- 2006-07-13 Jackson Harper <[email protected]>
- * ComboBox.cs: Revert the item->index part of my previous patch.
- * TreeView.cs: Use LostFocus instead of Leave for detecting when
- the edit box has lost focus (duh).
- - Just make the edit box not visible when we get return, that will
- take the focus, which will call EndEdit
- * TreeNode.cs When we start editing, notify the treeview.
- 2006-07-12 Jackson Harper <[email protected]>
- * ComboBox.cs: Clear out old items before setting the item list.
- This prevents databound controls from having their items added
- twice.
- - Switch the combobox to use indices whereever possible instead of
- using Item's. This allows usto navigate through lists that have
- more then one item with the same string value (ie a, b, b, a).
- - Scroll the listboxes scrollbar when a non visible item is
- highlighted
- - Allow keypress to cycle through all the possible values. For
- example if you have b1, b2, b3 and hold down the B key all the
- values will be cycled through.
-
- 2006-07-12 Jackson Harper <[email protected]>
- * TextBoxBase.cs:
- * ListView.cs: Don't need to override SETFOCUS anymore, we can do
- this using the internal methods.
- * Control.cs: Add OnGotFocusInternal. A new method that allows
- controls to "override" OnGotFocus and change focus behavior if
- needed.
- - Same thing for LostFocus
- * ComboBox.cs: Pass off focus to the text control properly.
- 2006-07-12 Alexander Olk <[email protected]>
- * FileDialog.cs: Added GetFoldersOnly to MWFVFS
- * FolderBrowserDialog.cs: Almost a complete rewrite.
- - Better support for Environment.Specialfolders
- - Added support for MWFVFS
- - Made setting SelectedPath work
- 2006-07-12 Jackson Harper <[email protected]>
- * Control.cs: Optimze getting all the controls.
- 2006-07-11 Jackson Harper <[email protected]>
- * ContainerControl.cs: Override SETFOCUS in the container control,
- so that it is not selected on mouse click.
- 2006-07-11 Peter Dennis Bartok <[email protected]>
- * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
- Hopefully we will have a better way once all of focus is complete.
- 2006-07-11 Peter Dennis Bartok <[email protected]>
- * ThemeWin32Classic.cs: Commented out some debug code and fixed
- a compile error with csc.
- 2006-07-11 Jackson Harper <[email protected]>
- * Control.cs: When hiding a control only select the next control
- if the current control was focused.
- - Don't handle enter/leave when setting/killing focus, this is
- done by the container control.
- - Remove is_selected, it's not needed anymore.
- - Add utility methods for selecting a child control, and for
- firing the Enter/Leave events.
- * ContainerControl.cs: When a control is activated fire the
- enter/leave events.
- - Don't wrap when processing the tab key, so that focus can be
- moved outside of the container.
- - Use the correct active control
- 2006-07-11 Jackson Harper <[email protected]>
- * ComboBox.cs: Remove some debug code that was blinding me.
- * UpDownBase.cs: These controls actually aren't implicit, they are
- visible to the user.
- 2006-07-10 Chris Toshok <[email protected]>
- * DataGrid.cs: move back to the is_adding boolean field. god i
- hate this is_editing/is_adding/is_changing stuff.
- 2006-07-10 Chris Toshok <[email protected]>
- * DataGridTableStyle.cs: just check if the property type is bool.
- if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
- Don't use CanRenderType.
- * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
- if our text == NullText. Remove CanRenderType.
- * DataGridBoolColumn.cs: nuke CanRenderType.
- * DataGrid.cs: reenable some code to end the current edit inside
- of set_CurrentCell. This fixes the other 1.1.16 regression.
- Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
- Also, remove the visible_row_count arg from CalcRowHeaders, since
- we don't need to worry about the actual height of the area.
- 2006-07-10 Chris Toshok <[email protected]>
- * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
- mode, just return.
- * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
- the real sense of the IsInEditOrNavigateMode property (true =
- navigate, false = edit). Also, update OnKeyPress to reflect this.
- * DataGridTableStyle.cs (CreateColumnsForTable): even if the
- column style exists, we still need to set its property descriptor
- to match up with our list manager.
- 2006-07-10 Chris Toshok <[email protected]>
- * ThemeWin32Classic.cs: implement the new row/header painting
- approach. The parent row painting will likely go away and
- replaced with label controls, but the rest seems to work ok (and
- efficiently).
- * Theme.cs: change the way we draw datagrid rows. we don't draw
- the row headers as a block now. Instead we draw them in the
- normal draw-row loop. Add some calls for drawing parent rows and
- relation rows.
- * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
- a default table style. Set the defaults from ThemeEngine.Current,
- not SystemColors. Fix lots of misc issues with property setters.
- * DataGrid.cs: move loads of style information out of this class
- as it's being duplicated with DataGridTableStyle. keep track of a
- special DataGridTableStyle for the properties we used to mirror
- here. Switch all the style properties to access this table style
- instead of instance fields of this class. Also add a internal
- class to represent parent rows (more needs to be stored here, like
- the selection state from the parent table, as well as the
- expansion state.) Also, for datasources with relations, do the
- right thing for collapse/expand, and add support for the
- navigation/parent row buttons.
- Lastly, fix the crash in the 1.1.16 build.
- * GridTableStylesCollection.cs: make the explicit interface
- implementations call the class's methods as opposed to duplicating
- them.
- * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
- 0 so the text doesn't jump around when we move the cursor.
- 2006-07-10 Jackson Harper <[email protected]>
- * TextBoxBase.cs:
- * ListBox.cs: Match MS's ToString (this makes debugging focus
- stuff infinitely easier).
- 2006-07-10 Jackson Harper <[email protected]>
- * Control.cs (SelectNextControl): When checking the control's
- parent use this instead of ctrl.parent so that null can be passed
- to SelectNextControl. (I have unit tests for this).
- - Remove unused var.
- 2006-07-10 Chris Toshok <[email protected]>
- * CurrencyManager.cs: correct one regression, the removal of the
- finalType field. Also, add a MonoTODO on CanAddRows, implement
- Refresh() correctly, and fix some event emission in
- ListChangedHandler.
- 2006-07-07 Alexander Olk <[email protected]>
- * FileDialog.cs: Don't use brackets for new folders if they exist
- under *nix. Instead use -(number of existing folders +1).
- 2006-07-07 Alexander Olk <[email protected]>
- * FileDialog.cs:
- - Fixed really nasty bug #78771
- - Don't block the whole GUI when reading directories with a lot of
- entries. Use an other thread instead and call BeginInvoke to
- update the ListView in MWFFileView
- 2006-07-07 Chris Toshok <[email protected]>
- * Control.cs (Dispose): release any Capture when disposing.
- 2006-07-07 Chris Toshok <[email protected]>
- * LinkLabel.cs (Select): if we chain up to the parent, set
- focused_index to -1 so we'll search for the first available link
- the next time the user tabs into us. Also, if the direction is
- backward and focused_index == -1, start the search from the last
- element.
- 2006-07-07 Chris Toshok <[email protected]>
- * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
- is beyond the end of the text, don't do anything.
- (CreateLinkPieces): set our ControlStyles.Selectable based on
- whether or not we have any links.
- (Link.Invalidate): use a loop instead of foreach.
- (Link.set_Start): null out owner.sorted_links so it'll be
- recreated by CreateLinkPieces.
- 2006-07-06 Chris Toshok <[email protected]>
- * LinkLabel.cs: revert the SetStyle change.
- 2006-07-06 Chris Toshok <[email protected]>
- * LinkLabel.cs (.ctor): SetStyle Selectable to true.
- (OnEnableChanged): s/Refresh/Invalidate
- (OnGotFocus): if we have a focused index already, refocus it (so
- if we mouse out/in to the window it'll focus the right link).
- (OnKeyDown): move the tab handling out of here.
- (OnLostFocus): don't set focused_index to -1, so we can refocus it
- when we lose focus.
- (OnMouseDown): don't Capture here - Control handles it. Also,
- focus the active link.
- (OnMouseUp): don't deal with Capture.
- (OnPaintBackgroundInternal): remove.
- (OnTextAlignChanged): CreateLinkPieces before calling the
- superclass's method.
- (OnTextChanged): call CreateLinkPieces before calling superclass's
- method.
- (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
- move around.
- (Select): implement this, moving the selection between different
- links, and call parent.SelectNextControl if we don't have another
- link to focus in the given direction.
- (CreateLinkPieces): call Invalidate instead of Refresh.
-
- 2006-07-06 Chris Toshok <[email protected]>
- * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
- new LinkLabel internals.
- * LinkLabel.cs: fairly major rewrite. get rid of all the loops
- over pieces looking for active/focused/etc links. also, deal with
- runs of text (and links) with embedded \n's in them, and use
- MeasureCharacterRanges instead of MeasureString to figure out the
- regions text occupies. Lastly, do the usual s/Refresh/Invalidate
- two-step.
- 2006-07-04 Jackson Harper <[email protected]>
- * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
- XKB or key auto repeat, do it manually. Without key auto repeat,
- when a key is held down we get key press, key release, key press,
- key release, ... with auto repeat we get key press, key press, key
- press ..., and then a release when the key is actually released.
- 2006-07-03 Jackson Harper <[email protected]>
- * TabControl.cs:
- * ThemeWin32Classic.cs: Tabs do not obey normal background color
- rules, they are always control color regardless of the background
- color.
- 2006-07-02 Alexander Olk <[email protected]>
- * FileDialog.cs: Added internal class MWFConfig.
- Removed Registry support and replaced it with support for the new
- MWFConfig class. See MWFConfig comments for more information.
- 2006-06-30 Alexander Olk <[email protected]>
- * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
- rectangle. Added some patches from eno from bug #78490 and fixed
- the arrow position for small up and down CPDrawScrollButtons.
- 2006-06-30 Jackson Harper <[email protected]>
- * InternalWindowManager.cs: Remove some debug code.
- * Form.cs: When an MdiParent is set to null, the window is
- "detatched" and becomes a normal window.
- * MdiClient.cs: Don't bring the new child form to the front until
- it is activated (setting it as active does this), this makes the
- previously active forms titlebar get redrawn as inactive.
- 2006-06-29 Peter Dennis Bartok <[email protected]>
- * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
- with later controls
- 2006-06-29 Mike Kestner <[email protected]>
- * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
- arrow in keynav state. Fixes #78682.
- 2006-06-28 Atsushi Enomoto <[email protected]>
- * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
- order (fixes #78393)
- 2006-06-28 Jonathan Pobst <[email protected]>
- * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
- ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
- ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
- FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
- GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
- ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
- PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
- Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
- TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
- ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
- enumerations (FlagsAttribute, SerializableAttribute, added/removed
- values)
- 2006-06-28 Mike Kestner <[email protected]>
- * ComboBox.cs: implement scroll wheel support. Fixes #78360.
- 2006-06-28 Atsushi Enomoto <[email protected]>
- * PropertyGrid.cs,
- PropertyGridTextBox.cs : explicitly set BackColor to differentiate
- item lines from other area (It also makes BackColor consistent and
- compatible with .NET). Fixed bug #78564.
- 2006-06-28 Jonathan Chambers <[email protected]>
- * PropertyGrid.cs: refresh toolbar when PropertySort is set.
- Patch from Eno for #78555.
- 2006-06-27 Chris Toshok <[email protected]>
- * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
- * DataGridColumnStyle.cs: same.
- * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
-
- * DataGridDrawingLogic.cs: nuke.
- 2006-06-27 Chris Toshok <[email protected]>
- * DataGridTableStyle.cs: clean up the constructors, and build the
- list of child relations for this table. I have no idea if this is
- where we should be doing it (it probably isn't), but since we're
- already iterating over the properties..
- * DataGrid.cs: add row resizing. for now we add a DataGridRow
- struct and array for keeping track of row information, similar to
- what's shown in a hack on
- http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
- * Theme.cs: be consistent about the naming of DataGrid methods,
- prefering ColumnWidths and RowHeights over columnsWidths and
- RowsHeights.
- * ThemeWin32Classic.cs: same, and also add support for variable
- sized rows (and the +/- expansion icons for related rows).
- 2006-06-27 Peter Dennis Bartok <[email protected]>
- * TextBoxBase.cs: Applied Eno's patch from #78660
- 2006-06-27 Peter Dennis Bartok <[email protected]>
- * Form.cs (ScaleCore): We don't want to scale our form if it's
- state is minimized or maximized, but we still need to scale our
- child windows. Also, added try/finally block to ensure layout
- gets reset (Fixes #78697)
- 2006-06-27 Peter Dennis Bartok <[email protected]>
- * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
- 2006-06-27 Peter Dennis Bartok <[email protected]>
- * Form.cs: Fixed c+p error and added check to resize form if minimum
- size is bigger than current size (Fixes #78709)
- 2006-06-26 Peter Dennis Bartok <[email protected]>
- * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
- 2006-06-26 Mike Kestner <[email protected]>
- * ComboBox.cs: only do Keypress handling in the combo when there
- are items in the collection. Fixes #78710.
- 2006-06-26 Chris Toshok <[email protected]>
- * Binding.cs: make this work bi-directionally. also, clear up
- other mixups between Push/Pull Data (e.g. we're supposed to pull
- data when validating).
- * BindingManagerBase.cs: trim some fully qualified collection
- types.
- * PropertyManager.cs (get_IsSuspended): oops, fix this check.
- 2006-06-23 Chris Toshok <[email protected]>
- * PropertyManager.cs: It appears (according to the unit tests)
- that PropertyManager doesn't use
- PropertyDescriptor.AddValueChanged to track propery value changes
- in its datasource, but uses the same scheme as Binding, where it
- looks for a <Property>Changed event and binds to it.
- Also, according to the docs, IsSuspended always returns false for
- a property manager with a non-null datasource.
- 2006-06-22 Peter Dennis Bartok <[email protected]>
- * Form.cs: (ShowDialog): If we're returning a forced cancel we still
- need to update the actual DialogResult. (Fixes #78613)
- 2006-06-22 Peter Dennis Bartok <[email protected]>
- * Form.cs (ShowDialog): Release any captures before running the
- new message pump (fixes #78680)
- 2006-06-22 Mike Kestner <[email protected]>
- * ListView.cs: Layout column widths properly in details mode even
- if HeaderStyle.None is set. Fixes #78691.
- 2006-06-21 Peter Dennis Bartok <[email protected]>
- * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
- 2006-06-21 Peter Dennis Bartok <[email protected]>
- * Control.cs (ContainsFocus): Using new driver method to get focused
- window, instead of trying to use internal tracking var, which can
- recursion issues (Fixes #78685)
- * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
- XplatUIWin32.cs: Added GetFocus method to return focused window
- 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
- * ColorDialog.cs: when the mouse button is pressed inside the color
- matrix, don't let the cursor move out of it until the button is
- released, which is the behavior on windows. Changed 'colours' by
- 'colors' to use the same word consistently.
- 2006-06-21 Chris Toshok <[email protected]>
- * DataGrid.cs: add in some basic navigation stuff (navigating to a
- child relation and back, using a stack). Also, remove
- GetDataSource and the code that calls it - it's not needed. Also,
- track CurrencyManager.ListName's removal.
- 2006-06-21 Chris Toshok <[email protected]>
- * CurrencyManager.cs: push some of the original type checking from
- BindingContext.CreateBindingManager to here, and remove some of
- the finalType stuff. Need more tests to make sure I've got the
- ListName part right, and we might need more in SetDataSource.
- * PropertyManager.cs: add a ctor that takes just the datasource,
- and no property name. Make SetDataSource work with a null
- property_name, and make Current return the data_source if the
- property descriptor is null. this makes 'string foo = "hi";
- BindingContext[foo].Current' return "hi" as it should.
- * RelatedCurrencyManager.cs: make this code more generic - there's
- no reason the parent manager has to be CurrencyManager, and
- there's no reason to pass the DataRelation. It suffices to use a
- BindingManagerBase and PropetyDescriptor.
- * RelatedPropertyManager.cs: make a similar change here.
-
- * BindingContext.cs: make CreateBindingManager the beautiful, tiny
- flower I knew it could be.
- 2006-06-20 Chris Toshok <[email protected]>
- * PropertyManager.cs: the PropertyChangedHandler is invoked when
- data in the source has changed and we need to update the control,
- so s/PullData/PushData.
- * CurrencyManager.cs: Refresh is meant to update the control from
- data in the datasource. So, s/PullData/PushData.
- * BindingContext.cs: add more ugliness (we weren't handling the
- case where data_source = DataTable and data_member = column_name).
- * Binding.cs: fix PushData/PullData mixup. Both are interpreted
- from the perspective of the datasource. PullData pulls from the
- control, PushData pushes to the control.
- 2006-06-20 Chris Toshok <[email protected]>
- * BindingContext.cs: rewrite the CreateBindingManager code to
- handle navigation paths more or less properly. This could
- definitely stand some more work, in particular to push the
- recursion up to the toplevel. But that relies on fixes in other
- places (System.Data comes to mind).
- Also, move to a flat hashtable (and encode the twolevel nature of
- the dictionary into the hash key). This lets us implement the
- IEnumerable.GetEnumerator method.
- * RelatedCurrencyManager.cs: new class. Update our view based on
- our relation and our parent CurrencyManager's position.
- * CurrencyManager.cs: split out some logic from the ctor into
- SetView, so it can be called from the new RelatedCurrencyManager
- subclass.
- * RelatedPropertyManager.cs: new class. Update our datasource
- based on the position of our parent CurrencyManager.
- * PropertyManager.cs: split out some logic from the ctor into
- SetDataSource, so it can be called from the new RelatedDataSource
- subclass. Also, make the Current getter return the value
- of the PropertyDescriptor, not the data_source.
- * Binding.cs: no need to duplicate the string splitting code here.
- 2006-06-19 Peter Dennis Bartok <[email protected]>
- * Control.cs:
- - set_Enabled: OnEnabledChanged is not called if the inherited state
- of the control is not altered, even though we might be changing the
- internal state of the control (#78458)
- - set_Enabled: (Re)Moved the enabling/disabling of the window to
- OnEnabledChanged, to allow easy altering of any child window state
- - OnEnabledChanged: Added code to enable/disable driver window state
- - OnParentEnabledChanged: Instead of firing the event, call
- OnEnabledChanged, which will fire the event and also a) set driver
- window state and pass the enabled state to any grandchildren (#78458)
- 2006-06-19 Jackson Harper <[email protected]>
- * InternalWindowManager.cs: We don't set the cursor explicitly
- thats done via the response to NCHITTESTs.
- - Don't need to adjust for titlebar heights anymore, the
- coordinates are coming in the correct coordinates now (see peters
- last patch).
- 2006-06-19 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
- being translated relative to whole window, instead of client window.
- That caused broken offsets on mouseclick (and caused gas for our
- InternalWindowManager)
- 2006-06-15 Peter Dennis Bartok <[email protected]>
- * TextControl.cs:
- - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
- - Undo(): Added replay of cursor move on DeleteChars action; added
- calling Undo() again if a recorded cursor move is invalid (to
- ensure that some action is performed on Undo)
- * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
- 2006-06-16 Jackson Harper <[email protected]>
- * MdiClient.cs: Instead of just sizing maximized windows when
- there is a resize we also have to adjust the Y of minimized
- windows, so they stay pinned to the bottom of the mdi container.
- - Eliminate separate tracking of the active control, we can just
- get this from the controls collection.
- - Paint the decorations for the newly activated titlebar so we get
- a pretty blue bar.
- * InternalWindowManager.cs:
- * ThemeWin32Classic.cs: Minimized windows get all three buttons
- even if they are a tool window.
-
- 2006-06-15 Peter Dennis Bartok <[email protected]>
- * TextControl.cs (Undo): Handle non-existent cursor locations in the
- undo buffer, these can happen when text was deleted and the cursor
- was recorded first. Since we will also have a recorded cursor
- after the delete this is not an issue. (Fixes #78651)
- 2006-06-14 Peter Dennis Bartok <[email protected]>
- * AccessibleObject.cs: Remove dependence on Control.is_selected;
- instead properly track control states internally (allows us to
- remove is_selected from Control)
- 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
- * ImageListStreamer.cs: correctly generate the 1bpp mask for images
- whose width is not a multiple of 8.
- 2006-06-13 Jackson Harper <[email protected]>
- * MdiClient.cs: Only maximize the next child if the current one
- is maximized.
- 2006-06-13 Chris Toshok <[email protected]>
- * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
- modified. Also, guard against grid or grid_drawing being null in
- Invalidate.
- * DataGrid.cs: Reformat tons of getters/setters. In the
- DataMember setter, just call SetNewDataSource instead of
- duplicating some of its functionality. In SetNewDataSource, don't
- check ListManager for null, since the property getter creates the
- object if needed.
- * DataGridTableStyle.cs: don't set TableStyle or call
- SetDataGridInternal on the column here, it's done in
- GridColumnStylesCollection.Add.
- * GridColumnStylesCollection.cs: fix all the explicit interface
- implementations to just call our methods. Nuke AddInternal() and
- move the body of it to Add(). Also, add a call to
- column.SetDataGridInternal to Add().
- * DataGridTextBoxColumn.cs (.ctors): call this() instead of
- base()+duplicate code. Also, use the Format property instead of
- format to generate an Invalidate ala MS. Lastly, create the
- textbox here, unconditionally.
- (set_Format): call Invalidate.
- (get_TextBox): no need to call EnsureTextBox.
- (Commit): remove the message box.
- (Edit) remove the call to EnsureTextBox.
- (EndEdit): call HideEditBox instead of ReleaseHostedControl.
- (EnterNullValue): no need to check textbox for null.
- (HideEditBox): no need to check textbox for null.
- (SetDataGridInColumn): add the textbox to the grid's controls.
- (EnsureTextBox): nuke.
-
- 2006-06-13 Jackson Harper <[email protected]>
- * MdiWindowManager.cs: Hook up to the maximized menus paint event
- and redraw the buttons when needed. Unhook when the window is
- unmaximized.
- * MainMenu.cs: Add an internal Paint event, the mdi window manager
- needs this so that it can redraw its buttons when the menu is
- repainted.
- * InternalWindowManager.cs:
- * Form.cs: The method order has changed for DrawMaximizedButtons,
- so that it can be a PaintEventHandler.
-
- 2006-06-13 Jackson Harper <[email protected]>
- * MdiClient.cs: When we close a maximized mdi window, the next mdi
- window is activated and maximized, even if it wasn't before.
- - When a new window is activated repaint the decorations of the
- old one, so that it no longer has the Active "look" (the blue
- titlebar).
- * InternalWindowManager.cs: Open up CreateButtons to base classes
- so they can recreate the buttons on state changes.
- - If a window is maximized give it all three buttons
- * MdiWindowManager.cs: Create the titlebar buttons when the state
- is changed, this is needed because a toolwindow will not have all
- three buttons until it is maximized.
- 2006-06-13 Atsushi Enomoto <[email protected]>
- * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
- Fixed bug #78609.
- 2006-06-12 Jackson Harper <[email protected]>
- * KeysConverter.cs: Make sure we handle the Ctrl special case
- if its the only key.
-
- 2006-06-12 Jackson Harper <[email protected]>
- * Theme.cs: Add a method to get the size of a managed window
- toolbar button.
- * InternalWindowManager.cs: Remove the ButtonSize property, this
- should be retrieved from the theme.
- * MdiWindowManager.cs: Get the button size from the theme
- * ThemeWin32Classic.cs: Make the method to get the managed window
- titlebar button size public.
- - Handle the different button sizes of maximized toolwindows
- (should match any maximized window).
- - Get the titlebar height from the theme, not the WM (which gets
- it from the theme).
- 2006-06-12 Jackson Harper <[email protected]>
- * InternalWindowManager.cs: Handle NC Double Clicks, passing the
- event down to the mdi window manager.
- - Expose some extra stuff to base classes
- - Make sure to end the Capture on an NC Mouse up, so that we can
- get double clicks properly, and the sizing doens't stick.
- - When doing PointToClient contain it in the workable desktop
- area, this prevents windows from changing size when the cursor is
- pulled outside of the working area while sizing.
- * MdiWindowManager.cs: When we get a double click maximize the
- window.
- - Reset the cursor after handling mode changes.
- 2006-06-12 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
- current desktop, instead of just assuming a 0, 0 origin. This
- is needed for our internal window manager, to know the top
- margin of the desktop
- 2006-06-12 Chris Toshok <[email protected]>
- * DataGrid.cs (set_CurrentCell): concede focus as we move around.
- we need this to get rid of the selected background in the bool
- column.
- (CancelEditing): move the ConcedeFocus call to above the Abort
- call. Also, set is_changing to false and invalidate the row
- header if we were changing before.
- (ProcessKeyPreviewInternal): remove, since noone outside this
- class calls it anymore. Roll the code into ProcessKeyPreview.
- (EndEdit): remove the internal version.
- (InvalidateCurrentRowHeader): make private.
- * DataGridBoolColumn.cs: simplify this class a bunch. remove the
- Keys.Escape handling (and with it the last call to
- DataGrid.EndEdit from outside the class.)
- 2006-06-12 Chris Toshok <[email protected]>
- * DataGridTextBox.cs (.ctor): isedit defaults to false.
- (OnKeyPress): set isedit to true.
- (ProcessKeyMessage): remove Keys.Enter handling from here. it's
- already handled by the grid.
- * DataGrid.cs (set_CurrentCell): more work here. it's still not
- right. ugh.
- (set_DataSource): SetDataSource always returns true, so stop
- putting it in an if statement.
- (EndEdit): get rid of some {}'s
- (ProcessGridKey): return true in case Keys.Escape.
- (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
- (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
- PositionChanged, stopped connecting to CurrentChanged.
- (GetDataSource): simplify this a bunch.
- (SetDataSource): change return type from bool to void.
- (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
- to this, and make sure we don't set ListManager.Position inside
- set_CurrentCell.
- (OnListManagerItemChanged): if we're passed an actual index,
- redraw that row.
- * CurrencyManager.cs (set_Position): don't call PullData here.
- 2006-06-09 Jackson Harper <[email protected]>
- * TreeNode.cs: Recalculate the visible order before doing the
- Expand/Collapse Below calls, because those calls generate an
- expose.
- - Reduce calls to the TreeView property, which is mildly expensive
- by using a local var.
- * Form.cs: Layout the MDI child windows when creating the parent
- form.
- - Don't use the internal constructor anymore
- * MdiClient.cs: use the parent form width/height (if available)
- when laying out the child windows, we do this because the
- mdiclient isn't docked yet when the initial layout is done.
- - Don't need an internal constructor anymore.
- 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
- * FileDialog.cs: handle access errors when trying to create a folder
- or changing to a directory. No need to initialize out parameters.
- 2006-06-08 Alexander Olk <[email protected]>
- * FileDialog.cs: Append a number when creating a new folder if the
- folder already exists (use parenthesis instead of square brackets)
- 2006-06-08 Alexander Olk <[email protected]>
- * FileDialog.cs:
- - Disabled registry support for windows and added better registry
- error checking for other systems (need to investigate why it
- works perfectly on my system)
- - If a folder already exist show an error MessageBox instead of
- trying to create an indexed name.
- - Fixed a non intentional typo.
- 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
- * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
- 2006-06-08 Alexander Olk <[email protected]>
- * FileDialog.cs: When creating a new folder don't crash if the
- folder already exists.
- 2006-06-08 Alexander Olk <[email protected]>
- * FileDialog.cs: Allmost a complete rewrite.
- - added a "virtual" file system that handles the differences
- between unix and windows file systems (especially the directory
- structure). Moved most of the directory and file handling code
- into the vfs.
- Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
- UnixFileSystem and FSEntry.
- - Recently used folder/directory, size, location and used file names
- (file name ComboBox) are now stored in the registry and get read
- before the dialog shows up (fixes part 6 of bug #78446).
- - Creation of new folders/directories is now possible (context menu
- or ToolBar). Added TextEntryDialog for this that fills in the gap
- until ListView.LabelEdit works.
- - Fixed cursor handling (bug #78527) and focus handling for
- PopupButtonPanel
- - Various "Search in" ComboBox enhancements. The content of the
- dropdown listbox now almost matches ms.
- - Changed the behaviour when the user switches to SpecialFolder
- Recent to show the ListView in View.Details.
- - Beside using the ToolBar to change the View property of the
- file ListView it is now possible to use the context menu too.
- 2006-06-08 Alexander Olk <[email protected]>
- * ComboBox.cs: Don't create a new ObjectCollection when an item
- gets inserted. Just insert the item in the existing object_items
- ArrayList.
- 2006-06-08 Jackson Harper <[email protected]>
- * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
- that the treeview and root node checks are done also, this fixes a
- regression i caused in the unit tests.
- 2006-06-07 Wade Berrier <[email protected]>
- * RichTextBox.cs: More ISO8859-1 -> unicode
- 2006-06-07 Mike Kestner <[email protected]>
- * ComboBox.cs : use items to hold highlight/selection so that
- collection insertions don't require synchronization.
- 2006-06-07 Jackson Harper <[email protected]>
- * InternalWindowManager.cs: Simplify (and FIX) the window sizing
- routine. We now always keep the sized edge at the cursor instead
- of computing movement and adjusting rects. There is one buglet
- with this method though when the cursor is moved over area that
- the window can not expand too (such as the toolbars on the desktop).
- 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
- * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
- here. Fixes crash on startup in AlbumSurfer.
- 2006-06-07 Peter Dennis Bartok <[email protected]>
- * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
- values
- 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
- * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
- statement to avoid calling XNextEvent which will block if another thread
- took the event that we were expecting. Fixes bug #78605.
- 2006-06-07 Mike Kestner <[email protected]>
- * ListView.cs : isolated checkbox clicking from the selection logic.
- Toggle check state on item doubleclicks. Really fixes #78454 part2.
- 2006-06-06 Carlos Alberto Cortez <[email protected]>
- * Form.cs: Check that the value passed to Form.DialogResult
- is a valid enum value.
- 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
- * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
- Computer'. Clicking it in the network view goes to 'My Computer'.
- Added CIFS filesystem type. Display the mount point of filesystems.
- Avoid duplicate mount points (happens for me with CIFS);
- 2006-06-06 Jackson Harper <[email protected]>
- * InternalWindowManager.cs: Draw the maximized windows buttons
- when resizing.
- 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
- * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
- all other dialogs. Fixes bug #78585.
- 2006-06-06 Mike Kestner <[email protected]>
- * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
- Only invalidate checkbox on checkstate changes to avoid flicker.
- * ListBox.cs : avoid unselect/select when clicking selected item.
- avoid reselection flicker for already multiselected items.
- Fixes #78382.
- 2006-06-06 Jackson Harper <[email protected]>
- * MdiWindowManager.cs: When the window is closed do an NCRecalc on
- the parent form so that the menu is removed if needed.
- 2006-06-06 Mike Kestner <[email protected]>
- * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
- Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
- 2006-06-06 Mike Kestner <[email protected]>
- * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
- 2006-06-06 Jackson Harper <[email protected]>
- * Control.cs: Use the property (instead of the field) to get the
- default cursor so it is instantiated correctly.
- * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
- resizes so we need to manually repaint the window decorations here.
- - Set the titlebar button locations as soon as they are created,
- otherwise they are not set correctly on win32.
-
- 2006-06-06 Chris Toshok <[email protected]>
- * CurrencyManager.cs (set_Position): call PullData before
- OnCurrentChanged.
- (AddNew): after calling IBindingList.AddNew, update our
- listposition, and call OnCurrentChanged/OnPositionChanged (without
- calling PullData).
- (OnCurrentChanged): remove the call to PullData from here.
- (OnItemChanged): remove the call to PushData from here.
- (OnPositionChanged): change the test from == null to != null to
- match the other methods.
- (ListChangedHandler): the grossest part of the patch. Implement
- this such that it passes the unit tests in CurrencyManagerTest and
- the output more or less matches that of MS's implementation.
-
- 2006-06-06 Mike Kestner <[email protected]>
- * ListView.cs : only update check state on single click.
- * ThemeWin32Classic.cs : fix focus drawing for details view without
- fullrowselect. Fixes #78454.
- * XplatUIX11.cs : fix for double click emission.
- 2006-06-05 Jonathan Chambers <[email protected]>
- * PropertyGridView.cs : Applied Atsushi's patch to fix
- font dialog bug (#78197).
- 2006-06-05 Jackson Harper <[email protected]>
- * TreeNode.cs: Compute the next node for expanding/collapsing
- correctly. We now factor in nodes without a NextNode
- correctly. (Fixes somes cases in nunit-gui).
- * InternalWindowManager.cs: Set the bounds when updating the
- virtual position of a tool window.
-
- 2006-06-05 Chris Toshok <[email protected]>
- * DataGrid.cs: rename cached_currencymgr to list_manager.
- (set_CurrentCell): move SetCurrentCell code here, and clean it up
- some.
- (CurrentRow, CurrentColumn): single accessors so we can make the
- cursor movement code a lot easier to understand.
- (CurrentRowIndex): implement this in terms of CurrentRow.
- (BeginEdit): clean this up a bit.
- (CancelEditing): sort out the is_editing/is_changing/is_adding
- stuff a little.
- (EndEdit): minor changes.
- (OnKeyDown): add a comment about a (most likely) unnecessary
- check.
- (OnMouseDown): cancel editing when we click on a row header. And
- use the CurrentRow setter, not CurrentCell.
- (ProcessDialogKey): directly call ProcessGridKey.
- (UpdateSelectionAfterCursorMove): factor out this common block of
- code (it's used everywhere that we move the cursor by updating row
- or column).
- (ProcessGridKey): pretty substantial overhaul. Use the
- CurrentRow/CurrentColumn properties to make the code a lot more
- readable. Only use the CurrentCell property when we have to
- modify both row and column at once. Tab behavior is still broken,
- and Delete is untested.
- (Select): if we have no selected rows, set selection_start to
- @row.
- (EditCurrentCell): rename EditCell this. It was only ever invoked
- with CurrentCell as the arg, so drop the arg and rename it.
- * DataGridColumnStyle.cs: clean up the constructors a little, and
- drop CommonConstructor().
- * DataGridTextBox.cs (.ctor): set accepts_return to true so we
- actually get notified when the user hits it.
- (ProcessKeyMessage): *substantially* simplify this method.
- There's no reason (that I can see) for the textbox to be making
- calls into the datagrid at all. Remove all of them but the ones
- for Enter handling. those will take some more work.
- * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
- calling HideEditBox.
- (HideEditBox): if we have an active textbox, render it invisible
- without causing a re-layout of the datagrid.
- 2006-06-05 Mike Kestner <[email protected]>
- * ListView.cs : fix NRE crasher when focuseditem is cleared by
- collection changes by resetting it to Items[0]. Fixes #78587.
- 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
- * MessageBox.cs: if the height of the text is larger than the icon_size,
- use that. Fixes bug #78575.
- 2006-06-05 Jackson Harper <[email protected]>
- * TreeView.cs: Fix line drawing when scrolling. To do this each
- node is basically responsible for drawing its entire horizontal
- area. When drawing a node it draws its parent node lines if
- needed.
- - Adjust the clip area to the viewport rectangle
- - Fix Left/Right key handling to match MS. (It expand/collapses
- and moves to parents/first child but does not move selection to
- sibling nodes).
- - Fix SetTop to work with new bound calculation code
- - When scrollbars are no longer needed we need to reset scrolling
- vars and recalculate the visible order so the redraw is correct
- * TreeNode.cs: We can't expand/collapse nodes with no children.
- 2006-06-03 John Luke <[email protected]>
- * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
- so the colors work without dev packages
-
- 2006-06-02 Peter Dennis Bartok <[email protected]>
- * Control.cs
- - Select: Implemented to just use activate. Seems to match MS
- behaviour closest. Documented to only do actual control walking
- based on it's parameters if in a container control so I moved
- the code there.
- - Removed selection check logic from our internal Select() method
- * ContainerControl.cs:
- - Select: Moved selection logic from Control here, since MS documents
- that containers obey the bool arguments. No longer calling base
- 2006-06-02 Jackson Harper <[email protected]>
- * TreeView.cs: If the selected node isn't changed when we get
- focus update the previously selected node so that we see the
- selection box.
- 2006-06-02 Mike Kestner <[email protected]>
- * ComboBox.cs: restructure grab and general mouse event handling.
- Make the composite control raise mouse events like it was a single
- control for leaves/enters/motion/up/down events. fix dropdown list
- coordinate mangling and refactor it into the scrollbar subclass to
- reduce code duplication. Fixes #78282 #78361 and #78457.
- 2006-06-02 Mike Kestner <[email protected]>
- * ScrollBar.cs: remove Capture setting/clearing, as it happens
- automatically in the Control.WndProc.
- 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
- * FileDialog.cs: fix crash when running SharpChess, which sets the
- FilterIndex to 2 with only one Filter.
- 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
- * ToolBar.cs: add SizeSpecified property.
- * ToolBarButton.cs: when the ButtonSize is calculated by the container,
- try to figure out our real size, otherwise fallback to what the
- container says.
- 2006-06-01 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
- * Control.cs (WndProc): MS always calls the DefWndProc to pass
- up the event
- 2006-06-01 Mike Kestner <[email protected]>
- * ListView.cs: revamp the focus management in ListView. It still
- causes churn of LostFocus/GotFocus emissions on clicks, but it's
- better than not handling focus at all. Will revisit when pdb feels
- the general focus handling is solid. Fixes #78526.
- 2006-06-01 Jackson Harper <[email protected]>
- * TreeView.cs: Set the default border style in the constructor.
- - Move painting to use OnPaintInternal instead of capturing
- WM_PAINT, this is the correct way of doing things
- - UpdateBelow shouldn't invalidate the scrollbar area
- - Cap the top on update below in case the node was above the top
- of the viewport rectangle.
- - ExpandBelow and Collapse below need to obey Begin/End Update.
- * TreeNode.cs: Make is_expanded internal so the treenode
- collection can change it without firing the whole event chain.
- * TreeNodeCollection.cs: When clearing all the child nodes make
- sure to recalc the visible order.
- - Improve algo for remove the top node
- 2006-06-01 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
- SendMessage directly calling window procedures, which in turn might
- call SetFocus()
- 2006-06-01 Peter Dennis Bartok <[email protected]>
- * Control.cs: Don't handle WM_SETFOCUS if the same window already
- has focus (works around X11 sending a FocusIn after our SetFocus)
- * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
- 2006-06-01 Alexander Olk <[email protected]>
- * Mime.cs: Fix for the NET_2_0 build.
- NameValueCollection needs StringComparer now.
- 2006-05-31 Chris Toshok <[email protected]>
- * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
- return (via an out parameter) the starting X of the column.
- (UpdateVisibleColumn): track change to FromPixelToColumn.
- (HitTest): add a ColumnResize case here.
- (DrawResizeLine): new function, probably poorly named.
- * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
- only need to keep one reference.
- (set_ListManager): same.
- (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
- Also, add support for HitTestType.ColumnResize.
- (OnMouseMove): add column resize behavior here, and change the
- cursor to the correct one as we move around the datagrid.
- (OnMouseUp): terminate the column resize if we're resizing.
- (ProcessGridKey): from the MS docs, Alt-0 enters the null value
- for the current cell.
- (ConnectListManagerEvents): use cached_currencymgr.
- (DisconnectListManagerEvents): fill this in, using
- cached_currencymgr.
- (SetCurrentCell): remove cached_currencymgr_events handling.
- (SetDataMember): only call DisconnectListManagerEvents if
- cached_currencymgr is != null.
- (SetDataSource): same.
- (OnListManagerCurrentChanged): cached_currencymgr_events ->
- cached_currencymgr.
- 2006-05-31 Jackson Harper <[email protected]>
- * BindingManagerBase.cs: Remove somedebug code that creeped into
- SVN.
- * TreeNode.cs: We get the indent level dynamically right now, so
- don't track it as a member.
- * TreeNodeCollection.cs: Make sure all nodes added to the list
- have parents, treeviews/topnodes setup properly.
- - Don't attempt to track indent level.
- 2006-05-30 Jackson Harper <[email protected]>
- * BindingContext.cs: Create the currency manager tables here.
- This allows us to more easily create null tables (when bad data
- members are used), and more easily create related currency
- managers.
- * CurrencyManager.cs: All the table creation stuff is done by the
- binding context now.
- - Current should throw an exception if listposition is -1.
- - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
- been bound yet.
- 2006-05-30 Mike Kestner <[email protected]>
- * ListView.cs: allow reexpansion of zero-width column headers.
- Fixes #78528.
- 2006-05-28 Chris Toshok <[email protected]>
- * CurrencyManager.cs (get_Current): after the late binding
- listposition = -1 fix, we need to guard against it here and return
- null, otherwise we raise an exception (which is swallowed
- elsewhere, and breaks datagrid databinding.)
- 2006-05-26 Peter Dennis Bartok <[email protected]>
- * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
- than WM_SYSKEY, don't throw if get something unexpected (#78507)
- 2006-05-26 Jackson Harper <[email protected]>
- * ControlPaint.cs:
- * ThemeWin32Classic.cs: For color comparisons just use the ARGB
- values, it's faster and it's all we care about (we don't care if
- the names aren't equal).
- * KeyboardLayouts.cs: Eliminate some dead code.
- - Lazy init things
- * X11Keyboard.cs: Lazy init keyboard detection.
- - Cleanup access modifiers a little.
- 2006-05-26 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs: Once again, attempting to get layout just right.
- 2006-05-26 Peter Dennis Bartok <[email protected]>
- * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
- the sizes of each link section, that will result in sizes that
- match DrawString's layout (Fixes #78391)
- 2006-05-27 Alexander Olk <[email protected]>
- * FileDialog.cs: If AddExtension property is true autocomplete the
- extensions in SaveFileDialog correctly. Fixes bug #78453.
- Set MyNetwork and MyComputer to "C:\" for windows. This should
- fix part 8 of bug #78446 for now.
- 2006-05-26 Chris Toshok <[email protected]>
- * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
- invalidate the current row header if we need to, but presumably
- we'll invalidate the row corrsponding to the bounds or
- editingControl.
- (GridHScrolled): switch back to this method, as it's part of the
- public api. *sigh*.
- (GridVScrolled): same.
- (OnMouseWheel): hack up something that more or less works. Call
- GridHScrolled/GridVScrolled directly, instead of duplicating much
- of their code here.
- (EnsureCellVisibility): reinstate a bunch of this code, since we
- can't just set the scrollbar Value and expect to do all the work
- in the ValueChanged handler. Also, Call Update() after scrolling
- in one direction so the other XplatX11.ScrollWindow call has the
- proper stuff in the proper places.
- (EditCell): set is_editing to true before calling .Edit.
- * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
- don't bother comparing first.
- (OnKeyPress): call grid.ColumnStartedEditing before calling
- base.OnKeyPress. this will set is_changing and invalidate the row
- header if necessary.
- (ProcessKeyMessage): for WM_CHAR messages, call
- ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
- and WM_KEYDOWN.
-
- * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
- it's done in the DataGrid.
- (NextState): call grid.ColumnStartedEditing, which takes care of
- invalidating the row header (and setting is_changing).
- * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
- here. it's done in the DataGrid.
- 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
- * Control.cs: allow changing the cursor when the mouse position is
- out of bounds but Capture is set.
- * LinkLabel.cs: handle the case when the mouse button is pressed on the
- linklabel but released somewhere else.
- 2006-05-25 Jackson Harper <[email protected]>
- * TreeView.cs: When we get focus if there is no selected node make
- it the top node
- - Remove some uneeded setup code from Draw.
- * TreeNodeCollection.cs: If the tree doesn't have a top node when
- a new node is inserted make the new node the top.
- * XplatUIX11.cs:
- * Timer.cs: Use Utc time so that no local time zone stuff needs to
- be used (should be faster).
-
- 2006-05-25 Chris Toshok <[email protected]>
- * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
- problem with the last commit.
- 2006-05-25 Chris Toshok <[email protected]>
- * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
- need the invalidate call here, while scrolling right-to-left via
- the left arrow key (i.e. moving the editing cell while scrolling).
- * DataGrid.cs (.ctor): remove the initialization of
- ctrl_pressed/shift_pressed. We no longer track them using key
- up/down handlers, but by using Control.ModifierKeys. Also, switch
- to using ValueChanged handlers on the scrollbars instead of
- Scrolled event handlers. This simplifies a bunch of the scrolling
- code.
- (GridHValueChanged): rename from GridHScrolled, and change it to
- work with the new event args.
- (GridVValueChanged): same.
- (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
- (OnMouseWheel): actually scroll the datagrid. Don't change the
- selected cell.
- (ProcessGridKey): correct all the keyboard navigation stuff I
- could find. Ctrl up/down/left/right/home/end work now.
- (EnsureCellVisibility): correct method name spelling. Also,
- simplify this a touch by not explicitly calling the
- ScrollToRow/ScrollToColumnInPixels methods. We just set the
- scrollbar value.
- (OnKeyUpDG): no need for this method now.
-
- 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
- * LinkLabel.cs: display the OverrideCursor when hovering the label.
- Fixes bug #78392.
- 2006-05-25 Chris Toshok <[email protected]>
- * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
- r61019.
- 2006-05-25 Peter Dennis Bartok <[email protected]>
- * Application.cs: Moved setting of is_modal and closing to before
- we create the control, to allow the event handlers called as a
- result of creation affect closing. Also removed Gonzalo's previous
- change to setting DialogResult, the behaviour has been moved to
- Form.ShowDialog()
- * Form.cs:
- - ShowDialog(): Removed explicit creation of the form, let RunLoop
- handle it instead
- - ShowDialog(): If no dialog result is set, we need to return Cancel
- - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
- the close is cancelled
- 2006-05-25 Jackson Harper <[email protected]>
- * StatusBar.cs: We only need to update the sizes of the other
- panels when we have auto size contents. Also we are only updating
- the contents of the panel, not the borders, so compensate for the
- border width (TODO: get this width from the theme somehow).
- * TreeView.cs: Scrollable is true by default
- - Use invalidate instead of refresh where needed
- - Factor the scrollable value into scrollbar updating
- - Update the scrollbars if the Scrollable property is altered
- - Update the selected node if its ImageIndex is changed
- - Handle null nodes in UpdateNode (mainly so we don't have to
- check if selected is null when updating it
- - Fix VisibleCount to use the ViewportRectangle so that scrollbars
- are factored into the visible count
- - Use VisibleCount for clarity in the code
- - When the font is changed we need to recurse through all the
- nodes and invalidate their sizes
-
- 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
- * Application.cs: set the DialogResult to fixed when the main form is
- hidden or destroyed while being modal.
- 2006-05-25 Miguel de Icaza <[email protected]>
- * Theme.cs: Use Tangoified messagebox icons.
- (GetSizedResourceImage): Also cope with width = 0 and do not
- trigger a warning in that case (0 means "give me your icon from
- the resouce, no special size needed).
- 2006-05-25 Peter Dennis Bartok <[email protected]>
- * Application.cs: Leave runloop if the the main modal form is
- hidden (fixes #78484)
- 2006-05-25 Atsushi Enomoto <[email protected]>
- * BindingContext.cs : reject null datasource in Contains() and
- Item[].
- * CurrencyManager.cs : check data_member validity when data_source
- is dataset. When it is late binding, the initial position is -1.
- 2006-05-24 Jackson Harper <[email protected]>
- * TreeNodeCollection.cs: Dont't recalculate the visible order on
- inserted nodes that aren't visible. This changes the
- max_visible_order which confuses scrollbar settings.
- - Use the enumerator to get the prev node instead of duplicating
- code.
- * TreeView.cs: Use new method for setting scrollbar values
- - Don't set the bounds every time the scrollbar is updated
- - When updating below the root node use an invalidate instead of a
- refresh to prevent the child controls (scrollbars) from being
- refreshed. (UpdateBelow still needs to be reworked anyways).
- - Reenable SetBottom now that visible orders are set correctly,
- added some debug code incase we ever get bad values there again.
- - Set the scrollbar max to 2 less then the max value, this
- compensates for the max value being one above the node count, and
- for scrollbars adding one extra "notch".
- - When drawing image nodes if there is an imagelist we draw the
- first image in the list if the supplied image index is out of the
- image list's bounds.
-
- 2006-05-24 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
- we receive a size change from the WM (Fixes #78503)
- 2006-05-24 Peter Dennis Bartok <[email protected]>
- * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
- rectangle (Fixes #78501)
- 2006-05-24 Peter Dennis Bartok <[email protected]>
- * ButtonBase.cs:
- - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
- as a bitfield.
- - Fixed MouseMove to no longer switch pressed state unless the left
- mouse button is pressed. Atsushi provided the original patch (#78485)
-
- 2006-05-24 Jackson Harper <[email protected]>
- * ScrollBar.cs: New internal methods that allow us to change a
- couple values on the scrollbar (the most common case is maximum
- and large change) without getting multiple invalidates.
- 2006-05-24 Chris Toshok <[email protected]>
- * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
- (Edit): save off the original state in oldState, and set
- grid.is_editing to true.
- (OnKeyDown): abort editing if escape is pressed. also, call
- NextState if space is pressed.
- (OnMouseDown): call NextState.
- (NextState): factor out shared code from OnKeyDown and OnMouseDown
- here. Also, only invalidate the row header once (on the initial
- is_changing switch) to save on redraws.
- 2006-05-24 Chris Toshok <[email protected]>
- * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
- if the value in the cell is different than it was before. This
- keeps us from triggering a layout when we move around a datarid
- with a highlighted cell.
- (Edit): suspend layout when creating/positining the text box, and
- resume passing false so we don't ever actually re-layout.
- (ReleaseHostedControl): same.
- (EnsureTextBox): reformat slightly, and set WordWrap to false.
- * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
- control-key sequences should go to the datagrid - remove that
- lock. Also, modify the conditions under which we move between
- cells when moving the cursor within a cell, and remove the "this"
- and "base" from field accesses. We weren't even consistent, given
- they all were in the base class.
- 2006-05-24 Atsushi Enomoto <[email protected]>
- * Binding.cs : (.ctor)
- An obvious NRE fix for BindingTest.CtorNullTest().
- 2006-05-23 Chris Toshok <[email protected]>
- * TextBoxBase.cs (get_Text): don't add a trailing newline, add
- them between lines. This fixes some quirks editing cells in the
- datagrid.
- 2006-05-23 Jackson Harper <[email protected]>
- * TreeView.cs: Use begin/end update when doing expand/collapse all
- so that we don't get flicker on the scrollbar.
- 2006-05-23 Jackson Harper <[email protected]>
- * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
- treenode calculations to be independant of the painting code. To
- do this nodes track a visible order which is calculated by the
- treeview.
- - Call new methods for expanding/collapsing nodes. These methods
- use scrollwindow so we don't have to update everything below the
- node.
- * TreeView.cs: Refactored drawing and scrolling code. We don't
- need to update nodes when drawing anymore or calculate scrollbar
- stuff.
- - Added new methods for expanding/collapsing nodes. These methods
- use ScrollWindow so as to not have to redraw all the nodes below.
- * TreeNodeCollection.cs: Recalc visible order and scrollbars when
- we add/remove nodes or sort.
- - Handle removing the selected and the top node properly.
- 2006-05-23 Chris Toshok <[email protected]>
- * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
- maybe this should actually happen in the datagrid code?
- (EndEdit): no need to invalidate anything, given that
- ReleaseHostedControl causes the datagrid to relayout, which
- invalidates everything anyway.
- * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
- in SetCurrentCell).
- (set_SelectionBackColor): call InvalidateSelection instead of
- Refresh.
- (set_SelectionForeColor): same.
- (BeginEdit): Flesh this out a bit.
- (CancelEditing): only do any of this if we're editing/adding.
- (EndEdit): same.
- (OnMouseDown): there's no need to cancel editing here, it's done
- in SetCurrentCell.
- (SetCurrentCell): only invalidate the current row header if it's a
- different row than the new one.
- (ShiftSelection): fix this to work like MS does.
- (ResetSelection): factor out the invalidation of selected_rows to
- InvalidateSelection.
- (SetDataSource): cancel any editing that's going on.
- * DataGridColumnStyle.cs
- (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
- call the non-interface version.
- * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
- header rectangle with the clip rectangle so we don't redraw the
- entire header for just a small area. Gets rid of the last flicker
- when horizontally scrolling.
- (DataGridPaintRow): same.
- 2006-05-23 Mike Kestner <[email protected]>
- * ListViewItem.cs: remove size for line hack from LargeIcon layout.
- * ThemeWin32Classic.cs: don't draw line. it's really the top of a
- poorly placed checkbox on the MS control. Fixes Alex's unfiled
- Critical bug report.
- 2006-05-23 Peter Dennis Bartok <[email protected]>
- * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
- and this fixes #78493
- 2006-05-23 Miguel de Icaza <[email protected]>
- * Theme.cs (GetSizedResourceImage): Scale images if the proper
- size is not found.
-
- * FileDialog.cs: Do not change the background for the side bar as
- it wont work nicely with the theme, and also reduces the artifacts
- in rendering the icons (which I want to fix too).
- * MimeIcon.cs (ResourceImageLoader): Load images from assembly
- resources, not resgen resources.
- (PlatformDefaultHandler): Pull images using the new API.
- 2006-05-23 Peter Dennis Bartok <[email protected]>
- * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
- a reference to the hwnd and will not remove it unless there are
- no pending exposures (fixes #78341)
- * XplatUI.cs: Improved debug
- 2006-05-23 Atsushi Enomoto <[email protected]>
- * MenuAPI.cs : don't handle OnClick event when it was not the left
- button. Fixed bug #78487.
- 2006-05-23 Mike Kestner <[email protected]>
- * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
- prefer submenus to the top menu for item lookup, to avoid popping down
- top-row items.
- 2006-05-23 Alexander Olk <[email protected]>
- * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
- Graphics.FillRectangle as the visual results are really bad (even
- on win). We now draw perfect arrows (and perfect shadows when the
- scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
- Pen.DashPattern to draw the dots of each line.
- 2006-05-22 Alexander Olk <[email protected]>
- * FileDialog.cs: Update the filename combobox when navigating through
- the ListView with the cursor keys. Fixes part 7 of bug #78446.
- 2006-05-22 Mike Kestner <[email protected]>
- * ListView.cs: raise SelectedIndexChanged on keyboard selection.
- Fixes #78463.
- 2006-05-22 Mike Kestner <[email protected]>
- * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
- requests. Fix a misspelled parameter and a copy paste exception error
- in Select.
- 2006-05-22 Peter Dennis Bartok <[email protected]>
- * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
- to get the same width/height (5/13) on X11 as the default font has on
- win32. This means that our DefaultFont emSize is smaller than the
- the MS SWF equivalent (even thought the width/height stays the same)
- 2006-05-20 Jackson Harper <[email protected]>
- * MdiClient.cs:
- * MdiWindowManager.cs:
- * InternalWindowManager.cs: Make sure to use the border width from
- the theme.
- 2006-05-20 Jordi Mas i Hernandez <[email protected]>
- * PrintDialog.cs: Implements printer details
- 2006-05-19 Alexander Olk <[email protected]>
- * FileDialog.cs: Added focus handling for PopupButtonPanel.
- Fixes part 1 and 2 of bug #78446
- 2006-05-19 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
- instead of sticking to the first ever calculated value
- 2006-05-19 Mike Kestner <[email protected]>
- * ComboBox.cs: fix mouse motion selection to use MousePosition and
- PointToClient, since Capture is set. Fixes #78344.
- 2006-05-19 Mike Kestner <[email protected]>
- * ListView.cs: match MS behavior in Details view where items are not
- drawn if Columns.Count == 0.
- * ThemeWin32Classic.cs: only highlight ListView selection if focused.
- Use a separate pen to draw the check, since changing the width affects
- the box as well. Fixes #78454.
- 2006-05-18 Miguel de Icaza <[email protected]>
- * ListView.cs: ArgumentOutOfRangeException, single versions of the
- exception should throw the name of the invalid argument.
- * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
- there are no files listed.
- 2006-05-18 Jackson Harper <[email protected]>
- * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
- up.
- 2006-05-18 Peter Dennis Bartok <[email protected]>
- * Control.cs: Brought back our old UpdateZOrder method as a private
- function and switched our calls from UpdateZOrder to the new one.
- This fixes the Paint.Net canvas disappearing bug.
- 2006-05-18 Jackson Harper <[email protected]>
- * Theme.cs:
- * ThemeWin32Classic.cs:
- * InternalWindowManager.cs: Move the drawing into the theme,
- expose everything the theme should need from the window manager.
- 2006-05-18 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
- from the call to NativeWindow to avoid walking up the parent chain
- further than needed (speeds up setting cursors and avoids setting
- the wrong cursor if a parent has another cursor defined)
- * Cursor.cs: When loading an icon as cursor, MS uses the center of
- the icon as hotspot, not what's contained as hotspot in the icon
- file. This fixes the perceived drawing offset seen with Paint.Net
-
- 2006-05-18 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs:
- - Store the calculated rectangle in Hwnd object and use it when
- setting the client size
- - Force Toolwindows to always be type Dock, to ensure they're on top
- 2006-05-18 Mike Kestner <[email protected]>
- * ComboBox.cs: first pass at ComboBox rework. Layout is more
- consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
- Correctly initialize textcontrol and ListBox on DropDownStyle changes.
- Substantial refactoring to remove confusing nested classes. Coding
- standard and Get+Set->property refactorings. Shift to index based
- highlighting in ComboListBox instead of constantly using IndexOf and
- Items[]. Add invalidations on resize for DropDownList to fix ugliness
- in FileDialog growth. Draw borders manually since Simple mode needs
- to look like two independent controls. Make listbox border
- conditional to DropDownStyle. Improved OwnerDraw support.
- 2006-05-18 Sebastien Pouliot <[email protected]>
- * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
- Don't set the disposed graphics to null, so we can throw the "right"
- exception if the graphics is reused later (added a flag to avoid
- double disposing). Some behaviours are different under 2.0 and are
- filled under bug #78448.
- 2006-05-18 Peter Dennis Bartok <[email protected]>
- * Control.cs: When double-buffering is enabled, we need to reset
- our graphics context between paint calls. Otherwise, any
- transformations and other alterations on the context will
- become cumulative (#77734)
- 2006-05-18 Mike Kestner <[email protected]>
- * ListView.cs: do focused item selection like MS on clicks.
- Rework focus handling for ItemControl so LostFocus invalidates as
- well.
- * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
- the ListView ItemControl has focus.
- 2006-05-17 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs: If client_window ends up being width or height zero
- due to border settings, move it off window inside whole_window (#78433)
- 2006-05-17 Alexander Olk <[email protected]>
- * Mime.cs: Shrink the mime file cache correctly.
- 2006-05-17 Alexander Olk <[email protected]>
- * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
- 2006-05-16 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs (AddExpose): More sanity checks
- 2006-05-16 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs:
- - AddExpose: Don't add expose ranges outside the size of our
- window
- - Cast opacity values to Int32 to avoid crashes with certain
- values
- - Added disabled code paths that protect against illegal cross-
- thread painting (Developers.exe)
- 2006-05-16 Peter Dennis Bartok <[email protected]>
- * ProgressBar.cs: Invalidate the control when it's resized
- since block size is based on control size. (#78388)
- 2006-05-16 Miguel de Icaza <[email protected]>
- * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
- of setting the incoming argument to the "reset" value, we set the
- this.datamember to string.empty (before we were invalidating the
- incoming data).
- Fixes 78420
- 2006-05-16 Peter Dennis Bartok <[email protected]>
- * Form.cs: Only apply transparency settings after the form
- is created. (Fixes #77800)
- 2006-05-16 Peter Dennis Bartok <[email protected]>
- * ApplicationContext.cs: Grab the HandleDestroyed event so
- we know when to fire OnMainFormClosed
- 2006-05-16 Peter Dennis Bartok <[email protected]>
- * Application.cs: Introduced sub-class to allow tracking of
- threads and centralized triggering of the event mess for
- ThreadExit, AppExit, etc.. (#76156)
- 2006-05-16 Alexander Olk <[email protected]>
- * MimeIcon.cs:
- - Do not return a null icon index value for a mime subclass.
- Instead try the main mime type class too.
- - Seems that some newer distributions don't have a link to some
- gnome default icons anymore. So check the default gnome dir too.
-
- 2006-05-16 Jackson Harper <[email protected]>
- * MdiClient.cs: Don't paint the parent background image if we have
- our own background image.
- 2006-05-16 Peter Dennis Bartok <[email protected]>
- * Control.cs:
- - PerformLayout: Do not shrink space filled by DockStyle.Fill
- controls, all filled controls are supposed to overlap (#78080)
- - UpdateZOrder is supposed to update the control's z-order in the
- parent's z-order chain. Fixed to behave like that
- - BringToFront: Removed obsolete code
- - SendToBack: Simplyfied
- - SetChildIndex: Trigger layout calculations when Z-order changes
- since layout is done by z-order
- 2006-05-16 Chris Toshok <[email protected]>
- [ fixes bug #78410 ]
- * DataGrid.cs (set_AlternatingBackColor): use
- grid_drawing.InvalidateCells instead of Refresh().
- (set_BackColor): call grid_drawing.InvalidateCells.
- (set_BackgroundColor): use Invalidate instead of Refresh.
- * DataGridDrawingLogic.cs (InvalidateCells): new function, just
- invalidate the cell area.
- 2006-05-15 Chris Toshok <[email protected]>
- [ fixes bug #78011 ]
- * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
- on to DataGridPaintRow.
- (DataGridPaintRow): take a clip argument, and only draw the cells
- which intersect it. same with the not_usedarea.
- * Theme.cs (DataGridPaintRow) add @clip parameter.
- * DataGrid.cs (ScrollToColumnInPixels): simplify, use
- XplatUI.ScrollWindow.
- (ScrollToRow): same.
- * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
- with last column which was causing a gray swath to appear with the
- XplatUI.ScrollWindow code.
- 2006-05-15 Chris Toshok <[email protected]>
- * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
- use XplatUI.ScrollWindow.
- (VerticalScrollEvent): use XplatUI.ScrollWindow.
- 2006-05-15 Peter Dennis Bartok <[email protected]>
- * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
- 2006-05-15 Peter Dennis Bartok <[email protected]>
- * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
- file since there are no equivalent X11 cursors
- 2006-05-15 Atsushi Enomoto <[email protected]>
- * MonthCalendar.cs : DateTimePicker should reflect selected date
- on mouse*up*, not mouse*down*. Fixed originally reported part of
- bug #76474.
- 2006-05-15 Atsushi Enomoto <[email protected]>
- * TabControl.cs : When argument index is equal or more than tab
- count, just ignore. Fixed bug #78395.
- 2006-05-15 Peter Dennis Bartok <[email protected]>
- * Control.cs: Dispose all child controls when control is diposed (#78394)
- 2006-05-14 Alexander Olk <[email protected]>
- * ColorDialog.cs: Finally it is possible to select the color with
- the text boxes
- 2006-05-14 Alexander Olk <[email protected]>
- * PrintDialog.cs: Fix typo
- 2006-05-14 Alexander Olk <[email protected]>
- * PrintDialog.cs: PrintDialog is not resizable
- * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
- color. Made some ToolBar drawing methods protected virtual.
- 2006-05-13 Jordi Mas i Hernandez <[email protected]>
- * PrintDialog.cs: Implementation of the PrintDialog
- 2006-05-12 Chris Toshok <[email protected]>
- * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
- thumb, instead use MoveThumb. This has the side effect of making
- most of the other thumb moving machinery use MoveThumb as well.
- (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
- need to actually invalidate the rectangle where the new thumb will
- go.
- (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
- We force an Update() after, so it's not as fast as it could be,
- but at least there's zero flicker and no droppings.
- (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
- (UpdateThumbPos): add another argument (dirty), which says whether
- or not to calculate/add dirty regions which we later invalidate.
- For cases where we know we're going to use MoveThumb, we pass
- false for this. Otherwise, pass true.
- 2006-05-12 Jackson Harper <[email protected]>
- * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
- the status bar.
-
- 2006-05-12 Peter Dennis Bartok <[email protected]>
- * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
- and GetClipRegion methods and UserClipWontExposeParent property.
- * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
- overriding UserClipWontExposeParent property, setting to false, since
- Win32 handles the required expose messages to draw our clipped parent
- areas internally
- * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
- PaintEventStart to set the user clip region if set.
- * Control.cs:
- - Now internally tracking the Region for the control since we need to
- store it if the handle is not yet created and only set it when it
- becomes created. Before setting the region forced handle creation
- - Added code to draw the parents underneath a user-clipped region
- * Hwnd.cs: Added UserClip property
- 2006-05-12 Chris Toshok <[email protected]>
- * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
- (set_Maximum): same.
- (set_Minimum): same.
- (set_SmallChange): same.
- (OnMouseUpSB): remove the call to refresh when releasing the
- thumb. We shouldn't need it.
-
- 2006-05-12 Miguel de Icaza <[email protected]>
- * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
- AutoSize set to None, we do not need to relayout everything, we
- just need to invalidate the current region.
- (Draw): Do not draw the entire ClientArea, just redraw the
- clip area being passed.
- * MdiClient.cs: Make MdiClient constructor with the Form argument
- internal.
- 2006-05-12 Jackson Harper <[email protected]>
- * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
- parents background image, but strangely not their own.
- - (DrawStatusBarPanel): Take into account horizontal alignment
- when drawing the strings and icons.
- 2006-05-12 Mike Kestner <[email protected]>
- * ListBox.cs: avoid invalidations for focus when the collection is
- empty.
- 2006-05-12 Chris Toshok <[email protected]>
- * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
- invalidate the entire thumb area. Call InvalidateDirty which
- limits the redraw to the thumb itself and surrounding pixels.
- * XplatUIX11.cs (ScrollWindow): optimize copying.
-
- 2006-05-12 Chris Toshok <[email protected]>
- * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
- Figure out the positioning/layout in a single pass instead of
- multiple recursive invocations. Speeds up the initial display of
- the data grid. Also, make many things private that were
- originally public but unused outside this class.
- 2006-05-11 Jackson Harper <[email protected]>
- * MdiClient.cs: Improved layout code.
- 2006-05-11 Jonathan Chambers <[email protected]>
- * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
- not SelectedObject.
- 2006-05-11 Chris Toshok <[email protected]>
- * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
- union of that will always be {0,0,width,height}.
- 2006-05-11 Jackson Harper <[email protected]>
- * Form.cs: Match MS's DefaultSize for forms (they must have
- changed the size in sp2).
- 2006-05-11 Atsushi Enomoto <[email protected]>
- * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
- 2006-05-11 Atsushi Enomoto <[email protected]>
- * TextControl.cs : Fixed bug #78109. This incorrect position
- comparison caused crash on automatic line split.
- * TextBoxBase.cs : reduce duplicate code.
- 2006-05-10 Jackson Harper <[email protected]>
- * MdiClient.cs: Active form is only sent to the back when using
- the Next form functionality, when a form is clicked the current
- active shouldn't be sent to the back.
- - Layout the mdi windows when the container is first made visible.
- * Form.cs: Give the MdiClient a ref to the containing form when we
- create it.
-
- 2006-05-10 Atsushi Enomoto <[email protected]>
- * LinkLabel.cs : link_font could be uninitialized, so populate one
- before actual use. Fixed bug #78340.
- 2006-05-10 Atsushi Enomoto <[email protected]>
- * XplatUIX11.cs : clipboard format native value is IntPtr.
- Fixed bug #78283.
- 2006-05-10 Peter Dennis Bartok <[email protected]>
- * Control.cs:
- - Instead of showing context menus directly we send WM_CONTEXTMENU,
- which is passed up the parent chain by DefWndProc
- - We now handle WM_CONTEXTMENU to display any menu, or pass it
- to DefWndProc (#77956)
- * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
- 2006-05-10 Jackson Harper <[email protected]>
- * MdiClient.cs: We need to remove the controls from the mdi
- collection, when we close the window.
- * MdiWindowManager.cs: Special handling of closing mdi windows.
- * InternalWindowManager.cs: Make the close method virtual so the
- mdi window manager can handle it specially.
- 2006-05-10 Jordi Mas i Hernandez <[email protected]>
- * DataGrid.cs:
- - Recalculate grid when the data source has changed
- - Matches styles provided by user from all data sources types
- * DataGridTableStyle.cs: For columns that provided by the user set the
- with the preferred value is there was unassigned.
- * CurrencyManager.cs: throw OnItemChanged event
- 2006-05-10 Peter Dennis Bartok <[email protected]>
- * PictureBox.cs: Don't animate until handle is created. Start animation
- when handle is created.
- 2006-05-10 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
- current codebase.
- * XEventQueue.cs: We don't need to provide the extra info
- 2006-05-10 Jackson Harper <[email protected]>
- * MdiClient.cs: If the mdi clients parent form has a background
- image set, we draw that background image for the mdi area's
- background.
- 2006-05-10 Peter Dennis Bartok <[email protected]>
- * TextBoxBase.cs: Set IBeam cursor (#78347)
- 2006-05-10 Mike Kestner <[email protected]>
- * ToolBar.cs: fix some text padding issues with ButtonSize
- calculation. Update the default size to match MS documentation.
- * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
- button size. Fixes #78296.
- 2006-05-10 Mike Kestner <[email protected]>
- * ListBox.cs: use is_visible for scrollbar positioning in case the
- control isn't on screen yet. Fix off by one with Right vs Width
- usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
-
- 2006-05-10 Jackson Harper <[email protected]>
- * X11Dnd.cs: Drop to a control with another control on top of it.
- * ToolBar.cs: Work on a copy of the buttons list, so that it can
- be modified in click handlers. TODO: Look for similar problems in
- other controls.
- 2006-05-09 Jackson Harper <[email protected]>
- * Form.cs: Window managers need the old window state when setting
- window state now.
- * InternalWindowManager.cs: Allow the base mdi window manager to
- handle more of the MDI only stuff (like maximize buttons).
- * MdiWindowManager.cs: Fix some snafus in changing the window
- state. Add all the menu functionality, for both popup and
- maximized menus.
- * MdiClient.cs: When a new form is selected the currently
- activated form is sent to the back, this matches MS.
- - Implement a new method to activate the next mdi child window.
- 2006-05-08 Peter Dennis Bartok <[email protected]>
- * Control.cs:
- - Added new InternalCapture method to allow controls to prevent
- the capture behaviour on the click handlers
- - Switched to use InternalCapture
- * ComboBox.cs:
- - Using InternalCapture to prevent mouse captures from being released
- on mouse button release (Fixes #78100)
- * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
- returns Form borders if a caption is present. (Fixes #78310)
- 2006-05-08 Peter Dennis Bartok <[email protected]>
- * TreeNode.cs: Changed serialization .ctor to not require every field
- to be present. (#78265)
- * OwnerDrawPropertyBag.cs: Added serialization .ctor
- 2006-05-05 Alexander Olk <[email protected]>
- * MimeIcon.cs: for is faster than foreach for strings.
- 2006-05-05 Mike Kestner <[email protected]>
- * CheckedListBox.cs: update check handling code to not use selected.
- * ListBox.cs: rewrite of mouse selection handling to correspond to MS
- behavior for visual feedback, motion response, shift/ctrl handling,
- and properly deal with all 4 selection modes. Updates to bounds
- handling logic. Add scroll wheel support. [Fixes #77842]
- 2006-05-05 Peter Dennis Bartok <[email protected]>
- * ListView.cs:
- - Moved adding of Implicit controls into .ctor. That way, subsequent
- creation of the controls will not cause them to think they are
- toplevel windows (fixes #78200 header problem)
- - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
- - Switched visibility setting of header control to use internal field
- to avoid triggering handle creation
- - Now checking if handle is created before causing a refresh when items
- are added (This makes us now match handle creation time with MS)
- * Splitter.cs: Removed loading of private splitter cursor, switched to
- Cursors version now that that is loading the right ones
- * Cursors.cs: Load proper splitter cursors from resources
- * Cursor.cs: Added second method of loading resource cursors for the
- VS.Net users amongst us
- 2006-05-05 Mike Kestner <[email protected]>
- * ListView.cs: give header_control a minimum size based on the
- ListView size.
- 2006-05-05 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
- window seems to do that with metacity, so set that type. (#78120)
- 2006-05-05 Mike Kestner <[email protected]>
- * ListViewItem.cs: fix Details mode checkbox layout bug.
- * ThemeWin32Classic.cs: draw a ListView column header for unused space
- at the end of the header, if it exists. [Fixes for #78200]
- 2006-05-04 Jackson Harper <[email protected]>
- * MdiClient.cs: Add a helper property to get the container form.
- * MdiWindowManager.cs: We have to make sure to use the menu origin
- when drawing the icons and buttons, this fixes maximized window
- icons/buttons on win32.
- * InternalWindowManager.cs: Reset the restore captions when a
- window goes from Maximized to Minimized and vice versa. Move the
- DrawMaximizedButtons into the MdiWindowManager source, tool
- windows can't be maximized. NOTE: This could use a little
- refactoring if time ever permits.
-
- 2006-05-03 Jonathan Chambers <[email protected]>
- * TextBox.cs: Add MWFCategoryAttributes
- * TextBoxBase.cs: Add MWFCategoryAttributes
- * Form.cs: Add MWFCategoryAttributes
- 2006-05-03 Jonathan Chambers <[email protected]>
- * Control.cs: Add MWFCategoryAttributes
- * ScrollableControl.cs: Add MWFCategoryAttributes
- 2006-05-03 Alexander Olk <[email protected]>
- * ThemeWin32Classic.cs: Draw the ToolBar top border only if
- Divider is true. Fix a little glitch in PropertyToolBar
- drawing code
- 2006-05-02 Peter Dennis Bartok <[email protected]>
- * Control.cs:
- - Dispose: Call base.Dispose, this causes the disposed event
- to be fired (and probably other, more important stuff)
- - SetVisibleCore: Set is_visible to true after creating the
- window so that the window still gets created invisible (if
- WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
- to generate a WM_ACTIVE message
- * Form.cs: Call Dispose when we want to destroy the window, instead of
- just destroying the handle (Dispose will do that for us)
- * XplatUIX11.cs:
- - RootWindow also needs a queue, so we can properly process the
- property change events from RootWindow (like Activate)
- - Generatic synthetic WM_ACTIVE message when the active window is
- being destroyed
- 2006-05-01 Peter Dennis Bartok <[email protected]>
- * LinkLabel.cs: Trigger a recalc of our label dimensions when
- bounds are changed
- 2006-05-01 Peter Dennis Bartok <[email protected]>
- * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
- for determining width and height (image might not be assigned if
- we're drawing an imagelist)
- 2006-05-01 Peter Dennis Bartok <[email protected]>
- * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
- * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
- height from system
- * Theme.cs: No longer returns hardcoded menu height, instead calls
- new driver method
- * Form.cs (OnLoad): Scaling happens before triggering Load events
- on MS (# 78257)
- 2006-05-01 Mike Kestner <[email protected]>
- * MenuItem.cs: fix NRE for text == null. Fixes #78250.
- 2006-04-30 Peter Dennis Bartok <[email protected]>
- * TextBoxBase.cs: Removed Fixme
- * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
- 2006-04-30 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs:
- - ScrollWindow: We were passing hwnd.ClientRectangle which returns
- the rectangle relative to the parent, considering borders. We
- don't really want that.
- - ScrollWindow: Fixed warning to be more understandable
- * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
- scrollbars and scroll only the visible area
- * RichTextBox.cs: Removed debug output
- 2006-04-29 Peter Dennis Bartok <[email protected]>
- * NumericUpDown.cs (Text): Just use base
- * UpDownBase.cs: Ensure txtView is created before using it
- 2006-04-29 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
- casting to IntPtr to avoid 64bit overflow errors
- 2006-04-29 Peter Dennis Bartok <[email protected]>
- * Control.cs:
- - AllowDrop: Don't force handle creation.
- - CreateHandle: Added call to tell driver if we're allowed to drop
- 2006-04-27 Alexander Olk <[email protected]>
- * FileDialog.cs: Remember the last directory not only for the
- current instance but also for new FileDialog instances.
- 2006-04-29 Peter Dennis Bartok <[email protected]>
-
- * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
- broke sending async messages
- 2006-04-29 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs:
- - ScrollWindow: Fixed method. We finally generate expose events again
- for scrolled areas. This was causing 'garbage' when scrolling
- textbox and other controls that used ScrollWindow
- - Switched from using the regular queue for paint events to the MS
- model of 'generating' paint events when the queue is empty.
- We use the new XQueueEvent.Paint subclass to store which windows
- need painting.
- - AddExpose now takes the x/y/width/height of the exposed area
- and inserts the window into the paint queue if not already there
- - InvalidateWholeWindow: Switched to use new AddExpose method
- - UpdateMessageQueue: Added which queue to monitor for paint events
- - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
- the unlikely case nothing above handles it. We reset the expose
- pending states to get them off the queue.
- - GetMessage: Now pulls a paint event if no other events are in the
- queue
- - Invalidate: Switched to new AddExpose method
- - PeekMessage: Updated to understand pending paint events
- - UpdateWindow: Fixed logic bug. We were only updating if the window
- didn't need updating. Also switched to sending WM_PAINT directly,
- like MS does.
- * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
- and random access Remove(). The random access is needed to handle
- UpdateWindow() where a WM_PAINT is sent directly without accessing
- the queue.
- * ScrollBar.cs: Added Update() calls to cause immediate updates to
- allow for better feedback when scrolling. Scrollbars are small and
- the immediate update should make it 'feel' more responsive without
- slowing things down. ScrollBar still needs it's invaliate logic
- updated to not always invalidate the whole bar on certain changes.
- 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
- * Control.cs:
- (BackColor): if the control does not support a transparent background,
- return the default backcolor when the parent backcolor is transparent.
- 2006-04-28 Peter Dennis Bartok <[email protected]>
- * Application.cs: Updated to new StartLoop/GetMessage API
- * RichTextBox.cs: Provide some output on RTF parsing errors
- * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
- new queue_id argument to GetMessage and PeekMessage to allow faster
- handling of per-thread queues in drivers.
- * Hwnd.cs: Added Queue tracking and property
- * MenuAPI.cs: Updated to new StartLoop/GetMessage API
- * XEventQueue.cs: Added thread trackingA
- * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
- * XplatUIX11.cs:
- - Implemented new per-thread queue
- - GetMessage: Fixed return/break behaviour on several cases. We were
- returning stale messages in some cases, instead of just processing
- the next message
- 2006-04-27 Jonathan Chambers <[email protected]>
- * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
- 2006-04-27 Peter Dennis Bartok <[email protected]>
- * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
- fixed off-by-one comparisons between Width/Height and Right/Bottom.
- 2006-04-27 Jonathan Chambers <[email protected]>
- * PropertyGridView.cs: Fix drop down width.
- 2006-04-27 Alexander Olk <[email protected]>
- * ThemeWin32Classic.cs: Peter thinks that three additional lines are
- a mess in DrawToolBar, so I removed one of them.
- 2006-04-27 Alexander Olk <[email protected]>
- * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
- needed (clip). Otherwise we get artifacts.
- 2006-04-26 Peter Dennis Bartok <[email protected]>
- * FixedSizeTextBox.cs: Added constructor to allow specifying which
- dimension is fixed
- * UpDownBase.cs: Set the spinner control to be fixed height vertical,
- and switched FixedSizeTextBox to only be fixed vertical (#78116)
- * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
- if it matches the scale base font (avoids unneeded scaling)
- 2006-04-26 Alexander Olk <[email protected]>
- * X11DesktopColors.cs: One gtk_init_check should be enough
- 2006-04-26 Peter Dennis Bartok <[email protected]>
- * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
- match MS behaviour
- 2006-04-26 Peter Dennis Bartok <[email protected]>
- * TextBoxBase.cs:
- - Generate OnTextChanged for Backspace even if we're only deleting
- the current selection
- - When setting the Text property, only select all text if the
- control does not have focus when it is being set. Otherwise
- just place the cursor at the beginning of the control
- 2006-04-26 Alexander Olk <[email protected]>
- * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
- Added a little helper to draw PropertyGrid ToolBar with a different
- border and a different BackColor.
- * PropertyGrid.cs: Some background parts didn't get painted with the
- correct background color. Added a class that helps us to draw the
- correct border for PropertyGridView and a class that helps us to
- draw ToolBars with a different backcolor
- * PropertyGridView.cs: Draw PlusMinus with the correct colors.
- 2006-04-25 Jonathan Chambers <[email protected]>
- * PropertyGrid.cs: Bug 78196, font size, and splitter location.
- * PropertyGridView.cs: Bug 78196, font size, and splitter location.
- 2006-04-25 Peter Dennis Bartok <[email protected]>
- * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
- into the palette entries. Also, since we're working on a copy
- we needed to copy the palette back onto the bitmap.
- * Cursor.cs: Same fix as XplatUIWin32.cs.
- 2006-04-25 Peter Dennis Bartok <[email protected]>
- * ImageListStreamer.cs: Need to read the var (or we're off)
- 2006-04-25 Peter Dennis Bartok <[email protected]>
- * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
- XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
- TextBoxBase.cs: Unused var fixes
- * AxHost.cs: Small 2.0 fix
- * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
- as it seems that is what at least Metacity expects. This will make
- icons show up on 64bit platforms. We still have some 64bit size
- issues, though, since the startup app window size still won't match.
- 2006-04-25 Mike Kestner <[email protected]>
- * *.cs: cleanup newly reported exception var unused warnings.
- 2006-04-25 Alexander Olk <[email protected]>
- * ThemeWin32Classic.cs: Button image alignment now matches exactly
- ms
- 2006-04-25 Alexander Olk <[email protected]>
- * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
- image. The image position is always the same, no matter if the
- button is pressed or not.
- 2006-04-25 Alexander Olk <[email protected]>
- * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
- selection and set the correct filename for SaveFileDialog.
- Patch by Emery Conrad.
- 2006-04-24 Mike Kestner <[email protected]>
- * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
- check for item.X outside the ClientRect instead of item.Y. Fixes
- #78151.
- 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
- * ImageListStreamer.cs: some images store a wrong grow factor, so don't
- trust that value blindly and do some sanity check. Fixes bug #77814.
- 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
- * ImageListStreamer.cs: save the mask as a 1bpp image.
- 2006-04-21 Mike Kestner <[email protected]>
- * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
- pass Checked and Indeterminate to the Theme Engine. Improve
- encapsulation with ListBox.
- * ListBox.cs: Keep a StringFormat instead of calculating it every item
- draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
- nested types. Move all CheckState functionality to CheckedListBox.
- Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
- OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
- ScrollAlwaysVisible handling. Refactor "selected" collections to use a
- single base list. Fix scrollbar sizing and placement to mirror MS.
- * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
- used.
- * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
- for CheckedListBox by using new DrawItemState info. Center the
- checkboxes on the items. Use new StringFormat property.
- 2006-04-18 Jackson Harper <[email protected]>
- * Form.cs: MdiChildren don't do default locations the same way as
- regular forms. This prevents a crash when trying to position the
- mdi windows.
- 2006-04-17 Jonathan Chambers <[email protected]>
- * PropertyGridTextBox.cs: Formatting, copyright
- * PropertiesTab.cs: Formatting
- * PropertyGrid.cs: Formatting
- * PropertyGridView.cs: Formatting, fix drop down, enabled double
- click toggling of values
-
- 2006-04-17 Peter Dennis Bartok <[email protected]>
- * KeyPressEventArgs: Added 2.0 only setter for KeyChar
- * Control.cs (.ctor): verify_thread_handle is static, don't reset
- every time a control is created
- * Application.cs: Removed obsolete EnableRTLMirroring method
- 2006-04-18 Gert Driesen <[email protected]>
- * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
- SelectedIndex to -1. Fixes bug #78121.
- 2006-04-17 Jackson Harper <[email protected]>
- * Binding.cs: Handle null values for Current and BindingContext.
- This occurs when binding is a little delayed.
- * CurrencyManager.cs: return null for Current when there are no
- items in the list.
- - Hookup to the listchanged event on the DataView and update
- bindings when the list is changed. This fixes late binding of
- controls.
- 2006-04-17 Jackson Harper <[email protected]>
- * X11Dnd.cs:
- * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
- Ringenbach.
- 2006-04-15 Alexander Olk <[email protected]>
- * ThemeWin32Classic.cs: Draw disabled combo button in the correct
- place
- * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
- with the correct ButtonState
- 2006-04-14 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs: Improved distinguishing between window types to
- tell the WM a type closer to what the app wants (Fixes #78107)
- 2006-04-14 Alexander Olk <[email protected]>
- * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
- GrabHandle
- 2006-04-14 Alexander Olk <[email protected]>
- * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
- drawing code to reflect the size grip changes
- 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
- * ImageListStreamer.cs: fix handling of the mask that follows the main
- bitmap when deserializing and serialize it properly. The generated mask
- should better be a 1bpp image, but I'll do that later.
- 2006-04-13 Alexander Olk <[email protected]>
- * FileDialog.cs: Show something in the DirComboBox on *nix if the
- path doesn't fit into some of our Current.Places
- 2006-04-13 Jackson Harper <[email protected]>
- * ComboBox.cs: Use borders instead of drawing our own decorations,
- try to obey correct rules for heights.
- * Theme.cs:
- * ThemeNice.cs:
- * ThemeClearLooks.cs:
- * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
- this is now handled by borders.
- - Remove unused DrawListBoxDecorationSize method.
-
- 2006-04-13 Mike Kestner <[email protected]>
- * MenuAPI.cs: null guarding for the disbled click check fixes crash
- reported by Alex.
- 2006-04-13 Alexander Olk <[email protected]>
- * ThemeWin32Classic.cs:
- - Fixed CPDrawStringDisabled
- - Corrected drawing of disabled menu items
- - Fixed drawing of disabled radio buttons (bug #78095)
- - Draw check in a disabled CheckBox with color ControlDark
- 2006-04-12 Peter Dennis Bartok <[email protected]>
- * Form.cs: Use the provided width when calculating the menu size;
- when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
- and ClientSize.Width won't be updated yet
- * Application.cs: Use Visible instead of Show() to make form visible,
- this way we create the handle later and menusize is considered
- 2006-04-12 Mike Kestner <[email protected]>
- * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
- reporting.
- 2006-04-12 Peter Dennis Bartok <[email protected]>
- * TextBox.cs: Implemented context menu
- 2006-04-12 Mike Kestner <[email protected]>
- * ListView.cs: implement box selection. fixes #77838.
- * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
- 2006-04-12 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs: Added setting of window type when transient window
- is created (metacity would move it otherwise)
- * X11Structs.cs: Added WINDOW_TYPE atoms
- * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
- background (the control is Opaque but still wants transparent
- backgrounds)
- 2006-04-12 Peter Dennis Bartok <[email protected]>
- * Control.cs: Added OnPaintBackgroundInternal to allow controls
- that set Opaque but don't mean it (like all ButtonBase-derived
- controls) to still draw their background
- * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
- the background
- 2006-04-12 Peter Dennis Bartok <[email protected]>
- * Control.cs (PaintControlBackground): Set the graphics object
- on our PaintEvent to null to prevent it from being disposed
- when the PaintEvent gets disposed
- 2006-04-12 Alexander Olk <[email protected]>
- * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
- * ThemeNice.cs, ThemeClearlooks.cs: fix typo
- 2006-04-12 Peter Dennis Bartok <[email protected]>
- * Control.cs:
- - Added transparency check to BackColor property. Transparent
- backgrounds are only allowed if the control styles permit it
- - Added recursive painting of parent control background and
- foreground if a control with a transparent backcolor is drawn
- (Thanks to Tim Ringenback for providing his 'hack' as a base
- for this patch) Fixes #77985 and #78026.
- - Added Opaque style check before calling OnPaintBackground, no
- need to draw the background if the control is opaque
- - Removed ControlAccessibleObject owner variable (inherited from
- base, no need to define again)
- - Added some documentation links explaining the drawing events
- and styles
- 2006-04-11 Peter Dennis Bartok <[email protected]>
- * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
- that the affected control is the located at the left border of our
- parent (Fixes #77936)
- 2006-04-11 Peter Dennis Bartok <[email protected]>
- * TextBoxBase.cs: When rendering disabled or readonly controls,
- draw the background with 'Control' instead of 'Window' color as
- long as the user hasn't specifically set a color
- 2006-04-11 Peter Dennis Bartok <[email protected]>
- * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
- since that won't be updated if the user types text (only if it's
- programatically set)
- 2006-04-11 Peter Dennis Bartok <[email protected]>
- * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
- layout changes do to app-triggered resizes will have the proper
- display rectangle for layout
- 2006-04-11 Alexander Olk <[email protected]>
- * ThemeWin32Classic.cs:
- - Make use of the SystemBrushes and SystemPens wherever possible
- - Corrected some highlight colors
- - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
- drawing
- * Theme.cs: Added Empty field to CPColor struct
- 2006-04-11 Peter Dennis Bartok <[email protected]>
- * ScrollabeControl.cs: We need to consider whether or not a scrollbar
- is displayed when calculating the display rectangle. Thanks to Mike
- for teaching me the err of my ways.
- 2006-04-10 Peter Dennis Bartok <[email protected]>
- * ScrollableControl.cs:
- - Rewrote DisplayRectangle code, now returning the proper x/y coords
- (instead of 0,0) and we now return the real width/height instead of
- just the clientrectangle, adjusted for padding. The rectangle is
- now cached and created by the new CalculateDisplayRectangle method.
- - Created new CalculateDisplayRectange method, which basically does
- what get_DisplayRectangle() did originally, but now using the
- right edge instead of DisplayRectangle to determine the size of
- our scrollbars
- - get_Canvas(): Fixed it to properly calculate canvas for
- right/bottom controls which seem to be placed to the right/bottom
- of any controls that have a fixed location
- - Removed TODO that's taken care of
- - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
- and SetDisplayRectLocation according to new MSDN2 docs
- - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
- event when that is called, this is added for compatibility
- - ScrollControlIntoView(): Implemented.
- - Switched scrollbars to be implicit, they shouldn't be selectable
- * ContainerControl: Now that ScrollControlIntoView is implemented, we
- call it when the active control is set/changed
- * ScrollBar.cs: Added support for generating Win32 scrollbar messages
- * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
- implicit_control variable (used for native Win32 message generation)
- * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
- HorizontalScrollBarHeight and VerticalScrollBarWidth properties
- * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
- * XplatUIStructs.cs: Added ScrollBarCommands enum
- 2006-04-10 Jackson Harper <[email protected]>
- * ButtonBase.cs:
- * CheckedListBox.cs:
- * ComboBox.cs:
- * DataGrid.cs:
- * DataGridView.cs:
- * Form.cs:
- * GroupBox.cs:
- * ListBox.cs:
- * PrintPreviewControl.cs:
- * ProgressBar.cs:
- * PropertyGrid.cs:
- * Splitter.cs:
- * StatusBar.cs:
- * TrackBar.cs:
- * UpDownBase.cs: Fixup base event overrides.
-
- 2006-04-06 Mike Kestner <[email protected]>
- * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
- all user-initiated value changes to min <= value <= max-thumbsz+1.
- (set_Value): check for vert/horiz when calculating new thumb position.
- (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
- like MS does.
- (OnMouseMoveSB): refactor the thumb dragging code and refine
- invalidation logic to reduce flicker.
- (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
- (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
- (UpdateThumbPosition): small code readability cleanup
- 2006-04-10 Alexander Olk <[email protected]>
- * ThemeNice.cs: Small UI polishing. Draw borders a little bit
- different
- 2006-04-08 Alexander Olk <[email protected]>
- * ThemeNice.cs: Use a better graphics effect when a button is pressed
- 2006-04-08 Alexander Olk <[email protected]>
- * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
- * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
- This dramatically reduces the number of Pen.Dispose calls.
- Where possible call ResPool methods only once instead of calling it
- over and over again (for example for the same color).
- 2006-04-06 Mike Kestner <[email protected]>
- * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
- Also remove an unused private field on the collection. Fixes #77972.
- 2006-04-06 Alexander Olk <[email protected]>
- * ThemeNice.cs: Added ToolBar drawing code
- 2006-04-06 Mike Kestner <[email protected]>
- * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
- I'm assuming that means we need to look up the toplevel for the
- provided control. Fixes the crash trace in #77911 but exposes another
- crash in some strange reflection usage in NDocGui.
- 2006-04-06 Alexander Olk <[email protected]>
- * ThemeNice.cs: Gave it a little silver touch and added Images
- method
- * FontDialog.cs: FontDialog is not resizable
- * FileDialg.cs: Added SizeGripStyle.Show
- 2006-04-05 Jackson Harper <[email protected]>
- * KeyboardLayouts.cs: Remove warning.
- 2006-04-05 Jackson Harper <[email protected]>
- * Control.cs: Enable OnPaintInternal so we can use it for drawing
- all of our controls instead of Paint +=.
- * ListBox.cs:
- * ListView.cs:
- * MenuAPI.cs:
- * MessageBox.cs:
- * NotifyIcon.cs:
- * ProgressBar.cs:
- * ScrollBar.cs:
- * Splitter.cs:
- * StatusBar.cs:
- * TabControl.cs:
- * TextBoxBase.cs:
- * ToolBar.cs:
- * TrackBar.cs:
- * UpDownBase.cs:
- * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
- use OnPaintInternal. Remove Width/Height and Visible checks in
- paint handler, this is done at a higher level now.
- * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
- * PaintEventArgs.cs: Add a handled flag so controls that don't
- want anymore painting after OnPaintInternal can make sure OnPaint
- isn't called.
- 2006-04-05 Mike Kestner <[email protected]>
- * Form.cs: fix the menu WndProc hacks to respect the native enabled
- state of the form, so that we don't process events when Modal dialogs
- are up. Fixes #77922.
- 2006-04-05 Alexander Olk <[email protected]>
- * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
- checking is done.
- 2006-04-05 Mike Kestner <[email protected]>
- * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
- 2006-04-05 Mike Kestner <[email protected]>
- * ListView.cs (HeaderMouseMove): null guarding for the over column
- when setting up the drag_to_index. Fixes #78015.
- 2006-04-04 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
- in the taskbar. Transient windows seem to accomplish that.
- 2006-04-04 Peter Dennis Bartok <[email protected]>
- * Form.cs:
- - Re-enabled CreateParams.X/Y code for FormStartPosition
- - Added code for manual placement when creating the Control
- - Incomplete patch to treat MDI forms differently when
- setting the ClientSizeCore. (Still need to figure out handling
- x/y coords there)
- * XplatUIX11.cs:
- - When we're explicitly setting the X/Y position of a non-Child
- window, let the WM know. Metacity really wants this.
- 2006-04-04 Alexander Olk <[email protected]>
- * ThemeNice.cs: Added CPDrawButton
- 2006-04-04 Alexander Olk <[email protected]>
- * ThemeNice.cs: Changed the color for focused buttons and activated
- the arrows for small scroll buttons.
- 2006-04-04 Alexander Olk <[email protected]>
- * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
- anymore. Changed some method modifiers to protected (virtual)
- * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
- changes
- * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
- Updated drawing of menus, buttons and progressbars; added
- CPDrawBorder3D
- 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
- * ImageListStreamer.cs: implemented serialization/deserialization
- of the images.
- 2006-04-03 Alexander Olk <[email protected]>
- * ThemeWin32Classic.cs:
- - Removed all the DrawFrameControl stuff; CPDrawButton,
- CPDrawCheckBox and CPDrawRadioButton are now handled directly
- inside the methods
- - Updated and corrected the drawing code of CPDrawButton,
- CPDrawCheckBox and CPDrawRadioButton to better match ms
- - Updated theme checkbox and radiobutton code to use the CP*
- methods
- 2006-03-31 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs: Enable clipping again now that the libgdiplus
- bug is fixed
- 2006-03-31 Jackson Harper <[email protected]>
- * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
- sometimes.
- * UpDownBase.cs: Don't CreateGraphics manually, use a
- Refresh. Ideally we would invalidate the correct areas here.
- 2006-03-31 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs:
- - We now track the mapping state of windows. If a window (or
- one of it's parents) is not mapped we no longer permit
- WM_PAINT messages to be generated since we'd otherwise get
- lots of BadMatch X errors. Jackson did all the work figuring
- out the problem.
- - Destroying the caret if the window it's contained in is
- destroyed. Can't use regular DestroyCaret method since it
- might fall into a drawing function (trying to remove the
- caret) and with that generate new BadMatch errors. Again,
- Jackson tracked this down.
- - Changed DestroyChildWindows to SendWMDestroyMessages, we now
- make sure we send the messages to all windows. (The old code
- would send the WM_DESTROY to the window, and then all child
- windows would be 'gone' because the WM_DESTROY handle lookup
- would no longer find the destroyed window)
- * Hwnd.cs: Added Mapping property to track mapping state of hwnd
- * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
- 2006-03-31 Jackson Harper <[email protected]>
- * ScrollableControl.cs: Dont recalc if we are not visible.
- 2006-03-31 Mike Kestner <[email protected]>
- * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
- the visibility branch.
- 2006-03-31 Jackson Harper <[email protected]>
- * ScrollBar.cs: Cap values when incrementing/decrementing.
- 2006-03-31 Mike Kestner <[email protected]>
- * MenuAPI.cs: setup menu.tracker for popup/context menus.
- * ToolTip.cs: guard against timer expirations with no active control.
- Not sure why it happened.
- 2006-03-31 Mike Kestner <[email protected]>
- * ThemeWin32Classic.cs: add some horizontal padding space for the tip
- text.
- * ToolTip.cs: Position the tooltip based on where the cursor is at
- popup time, not at MouseEnter time. Add a Down state so that we don't
- redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
- positioning offset. Lookup DisplaySize at positioning time, since it
- can theoretically change during invocation.
- * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
- * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
- 2006-03-31 Alexander Olk <[email protected]>
- * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
- Fixes behaviour when the Text property of the box is String.Empty
- 2006-03-31 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs: Only send mouseleave for our client windows, not
- for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
- a window)
- 2006-03-31 Alexander Olk <[email protected]>
- * FileDialog.cs: Visual enhancement for the popup buttons in
- PopupButtonPanel
- 2006-03-31 Alexander Olk <[email protected]>
- * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
- code
- 2006-03-30 Alexander Olk <[email protected]>
- * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
- highlighted menu items to match ms
- 2006-03-30 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
- 2006-03-30 Mike Kestner <[email protected]>
- * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
- * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
- go active to account for HotLight to Selected transition.
- * MenuItem.cs: add internal Selected prop. Fill out the Status
- property by calculating it from item info. Add HotLight,
- NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
- 2006-03-30 Mike Kestner <[email protected]>
- * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
- 2006-03-29 Jackson Harper <[email protected]>
- * Form.cs: Implement TODO.
- 2006-03-29 Peter Dennis Bartok <[email protected]>
- * PrintPreviewDialog.cs: Implemented missing methods and events; still
- missing proper dialog setup in the constructor
- 2006-03-29 Peter Dennis Bartok <[email protected]>
- * ProgressBar.cs: Added 2.0 Style property that apps seem to use
- * Control.cs:
- - Implemented CheckForIllegalCrossThreadCalls, removed TODO
- - Fixed ResetBindings and removed TODO
- - Added check for cross-thread calls to get_Handle()
- - Added Marshaller attribute for set_Font to satisfy class status
- * FontDialog.cs: Removed TODOs that seemed implemented
- * UpDownBase.cs: Removed unneeded TODO and Fixme
- * MessageBox.cs: Implemented support for Default button and removed TODO
- * FileDialog.cs: Removed obsolete TODO
- * DomainUpDown.cs: Removed obsolete TODO
- * ButtonBase.cs: Removed obsolete TODO
- * XplatUIWin32.cs: Removed obsolete TODO
- * Form.cs:
- - Removed obsolete TODO
- - Calling CheckAcceptButton when the acceptbutton is changed to allow
- internal status updates
- - Making sure the active control is selected when the control is created
- * CurrencyManager.cs: Removed obsolete TODO
- 2006-03-29 Mike Kestner <[email protected]>
- * *.cs: fix remaining corcompare issues for 1.1 API with the exception
- of PrintPreviewDialog and RichTextBox.
- 2006-03-29 Alexander Olk <[email protected]>
- * Theme.cs: Added a little helper to SystemResPool to get the Dark,
- DarkDark, Light and LightLight colors for a specific color
- * ThemeWin32Classic.cs:
- - Use Button drawing code to draw RadioButtons and CheckBoxes with
- Appearance = Button
- - Make use of the new ResPool helper CPColor
- - Draw ProgressBar and StatusBar with correct 3D borders
- 2006-03-29 Alexander Olk <[email protected]>
- * ColorDialog.cs: Return selected color. Fixes bug #77940.
- 2006-03-28 Mike Kestner <[email protected]>
- * ListView.cs: fix Icon layout to plan for scrollbar widths when
- calculating col/row counts.
- 2006-03-28 Mike Kestner <[email protected]>
- * ColumnHeader.cs:
- * ListView.cs:
- * ListViewItem.cs:
- * Menu.cs:
- switch to explicit interface method implementation for some methods
- corcompare identifies as inconsistent with MS.
- 2006-03-28 Mike Kestner <[email protected]>
- * MainMenu.cs:
- * Menu.cs:
- add a few missing methods from the class status output.
- 2006-03-28 Alexander Olk <[email protected]>
- * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
- correct.
- 2006-03-28 Mike Kestner <[email protected]>
- * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
- 2006-03-27 Mike Kestner <[email protected]>
- * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
- the Hilight state to adapt to Alex's CPDrawBorder3D changes.
- 2006-03-27 Alexander Olk <[email protected]>
- * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
- 2006-03-25 Alexander Olk <[email protected]>
- * ThemeWin32Classic.cs:
- - GroupBox: Inserted a little gap between the text and the lines
- on the right side
- - Made the code in CPDrawBorder3D more readable
- - Corrected the drawing location of the up and down arrows in
- CPDrawScrollButton
- 2006-03-25 Alexander Olk <[email protected]>
- * ControlPaint.cs: Corrected line widths in DrawBorder for
- ButtonBorderStyle Inset and Outset
- 2006-03-25 Alexander Olk <[email protected]>
- * ThemeWin32Classic.cs:
- - Rewrote the totally broken CPDrawBorder3D method. That was
- one of the main problems for the terrific ThemeWin32Classic
- look
- - Updated and corrected Button drawing
- - Correct the dimensions of the SizeGrip to match ms ones
- - Removed a small drawing glitch in DrawComboBoxEditDecorations
- * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
- Border3DStyle.Sunken to match ms.
- 2006-03-25 Alexander Olk <[email protected]>
- * ThemeWin32Classic.cs: First small part of the "de-uglify
- ThemeWin32Classic" effort, SizeGrip
- 2006-03-24 Jackson Harper <[email protected]>
- * XplatUIX11.cs: Give a max idle time of one second, this matches
- MS and forces an Idle event every second when there are no other
- events in the queue.
- 2006-03-24 Mike Kestner <[email protected]>
- * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
- * ListView.Item.cs: fix layout issues with null image lists and images
- smaller than checkbox size.
- * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
- mode like MS does. It's weird, but consistent. ;-)
- Fixes #77890.
- 2006-03-24 Mike Kestner <[email protected]>
- * ListView.cs: Scroll wheel support for the item control. Fixes
- #77839.
- 2006-03-23 Jackson Harper <[email protected]>
- * ScrollableControl.cs: Special case negative sized areas, not
- zero.
- * MonthCalendar.cs: Save the rect of the clicked date so we can
- use it for invalidation.
- - Try to cut down on the number of invalidates
- - Invalidate the rect the mouse is over and was over when moving
- the mouse, so we get the focus box following the cursor.
- 2006-03-23 Mike Kestner <[email protected]>
- * ThemeWin32Classic.cs: fix FullRowSelect selection background and
- focus rectangle drawing. Fixes #77835.
- 2006-03-23 Mike Kestner <[email protected]>
- * XplatUIX11.cs: rework the fix for #77828 by changing the order of
- the if and else if and reverting back to the original == check on the
- None conditional.
- 2006-03-23 Alexander Olk <[email protected]>
- * FontDialog.cs: Update the example panel if the selected index of
- the fontListBox changes.
- 2006-03-23 Alexander Olk <[email protected]>
- * FileDialog.cs: Make FileDialog remember which directory it was in
- last in the same execution.
- 2006-03-22 Mike Kestner <[email protected]>
- * FileDialog.cs: make the DropDownMenu on the toolbar display
- RadioChecks since they are mutually exclusive and that's what MS does.
- 2006-03-22 Mike Kestner <[email protected]>
- * Theme.cs: add Color param to CPDrawMenuGlyph.
- * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
- checks and radio marks and arrows are visible on highlighted items.
- * ControlPaint.cs: update to use new Theme signature.
- 2006-03-22 Mike Kestner <[email protected]>
- * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
- is active. Fixes #77870.
- 2006-03-22 Alexander Olk <[email protected]>
- * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
- to be focused/selected after startup
- 2006-03-22 Alexander Olk <[email protected]>
- * ColorDialog.cs:
- - Corrected behaviour of Color, AllowFullOpen, FullOpen,
- CustomColors and ShowHelp properties
- - Some internal rewrites to get better results when using the
- ColorMatrix
- 2006-03-22 Mike Kestner <[email protected]>
- * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
- HoverSelection. Fixes #77836.
- 2006-03-22 Mike Kestner <[email protected]>
- * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
- ToggleButtons. (De)Sensitize the Back button around a stack count of
- 1, not 0. Update ButtonSize based on a pixel count of the win32
- control. Adjust the toolbar size/location for new button size.
- 2006-03-22 Jackson Harper <[email protected]>
- * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
- true.
- * ScrollBar.cs: When doing increments and decrements we need to
- set the Value property so that ValueChanged gets raised. A
- possible optimization here would be to make an internal SetValue
- that doesn't invalidate immediately.
- * ToolTip.cs: Tooltips get added to their container (when
- supplied) so they get disposed when the container is disposed.
- - Don't create tooltips for String.Empty. This prevents all these
- little 2-3 pixel windows from showing up when running nunit-gui
- and driving me mad.
- * Form.cs: Don't set topmost when setting the owner if the handles
- haven't been created yet. The topmost set will happen when the
- handles are created.
- 2006-03-22 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs:
- - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
- - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
- visible (to allow them to recalculate their sizes)
- 2006-03-21 Mike Kestner <[email protected]>
- * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
- methods. Removed a ton of redundant code. Still not really happy with
- the border rendering, but I think that's mainly because of the
- ControlDarkDark being black instead of a dark grey. Depending on how
- close we want to be, we might want to revisit those color choices.
- Among the new features added during the refactor were DropDownArrow
- pressed rendering, Disabled image rendering. Proper flat appearance
- boundary rendering. Removed the Divider and Wrapping dividers since I
- can't figure out any combination of themes and conditions to make the
- MS control draw a horizontal line on a toolbar despite what the
- Divider property docs indicate.
- * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
- conditions and incorrect layout. Updated to coding standard.
- * ToolBarButton.cs: refactored layout and positioning code from
- ToolBar to here. Invalidate wherever possible instead of forcing
- redraws of the whole toolbar.
- (Known remaining issues: explicit ButtonSize smaller than provided
- images.)
- 2006-03-21 Mike Kestner <[email protected]>
- * ContextMenu.cs (Show): use the position parameter instead of just
- showing at the MousePosition.
- 2006-03-21 Jackson Harper <[email protected]>
- * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
- control handle this.
- * TreeNodeCollection.cs: If we are clearing the root node we need
- to reset top_node so calcs can still happen.
- * ThemeWin32Classic.cs: This is a Flags so we need to check
- properly.
-
- 2006-03-21 Jackson Harper <[email protected]>
- * DataGrid.cs: Create columns when the binding context has been
- changed.
- * X11Structs.cs: Keysyms are uints.
- - Add size to fix build.
- 2006-03-21 Peter Dennis Bartok <[email protected]>
- * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
- XplatUIOSX.cs:
- - Added ResetMouseHover method to allow controls to retrigger
- hovering if they need it more than once
- - Implemented MouseHoverTime and MouseHoverSize properties
- * Timer.cs: Start() must reset the interval
- * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
- properties
- 2006-03-21 Jackson Harper <[email protected]>
- * X11Keyboard.cs: improved layout detection. Move the nonchar
- tables into this file.
- * KeyboardLayouts.cs: Move the tables into resource files.
- 2006-03-21 Mike Kestner <[email protected]>
- * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
- 2006-03-21 Alexander Olk <[email protected]>
- * Mime.cs: Various speed optimizations. Looking up mime types
- is now 2 times faster than before
- 2006-03-17 Peter Dennis Bartok <[email protected]>
- * CreateParams.cs: Added internal menu field
- * Control.cs:
- - Switched call order for UpdateBounds; now we always call
- the one that also takes ClientSize, and we're calculating the
- client size via driver method in the others. The previous
- method of tracking client size by difference wasn't working
- for forms where even the starting client size wouldn't match
- the overall form size (due to borders) (Part of fix for #77729)
- - CreateParams(): Do not use parent.Handle unless the handle is
- already created. Causes havoc with Nexxia and throws off our
- creation of controls
- * XplatUIX11.cs:
- - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
- - Switched handling of ConfigureNotify over to new PerformNCCalc
- method (consolidates code)
- - Changed RequestNCRecalc to use new PerformNCCalc method
- - Added calls to RequestNCRecalc when menus and borders are changed
- to allow app to set NC size. (Part of fix for #77729) This matches
- when MS send a WM_NCRECALC on Win32 windows.
- - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
- (Part of fix for #77729). This matches what MS does, they also
- send that message when the form is made visible.
- - XException.GetMessage: Improved usability of X errors by including
- a translation of the window into Hwnd and Control class
- - Improved debug info for window creation, reparenting and destruction
- - Created helper method WindowIsMapped() [Currently not used]
- * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
- * Form.cs:
- - CreateParams: Now setting our menu on the new internal menu field
- - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
- avoid calculating the same property twice
- * Hwnd.cs:
- - Improved usability of ToString() for debugging purposes
- - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
- determine the height of the menu, instead of just the font. This
- required to also create a graphics context and to keep a bmp
- around (for performance reasons)
- 2006-03-17 Peter Dennis Bartok <[email protected]>
- * MenuAPI.cs: Added OnMouseUp method
- * Form.cs:
- - Now remembering the requested client size, avoids size errors
- - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
- instead of base if the menu is active. This is required due to
- control now capturing and releasing on down/up and it would
- prematurely release our menu capture
- 2006-03-17 Jackson Harper <[email protected]>
- * KeyboardLayouts.cs: Add the czech layouts.
- 2006-03-16 Jackson Harper <[email protected]>
- * Control.cs: Use the viewport space when sizing not the controls
- client size, so things like ScrollableControl that effect the
- viewport size (when scrollbars are added) are computed correctly.
- * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
- of ManagerEntrys.
- - Handle creating BindingManagers for null data sources.
- * DataGrid.cs: Bind the cached_currencymgr_events to the real data
- source, otherwise when rows are added they are added to the 'fake'
- datasource and we will crash when trying to set the position in
- those rows.
- - Use Implicit scrollbars on the datagrid so they arent
- selectable.
-
- 2006-03-16 Jackson Harper <[email protected]>
- * Binding.cs:
- * InternalWindowManager.cs:
- * MdiWindowManager.cs:
- * X11Keyboard.cs: I really want Mike to love me again (fix
- compiler warnings).
- 2006-03-16 Peter Dennis Bartok <[email protected]>
- * DataGrid.cs:
- - OnMouseDown: Switch to editing mode when clicking on the cell
- even if we're clicking on the cell that's currently
- selected
- - ProcessGridKey: Left/Right now wrap like MS.Net does
- - ProcessGridKey: Tab now knows to add a new row when tab is
- pressed in the cell of the last column of the
- last row
- - ProcessGridKey: Enter now adds another row if pressed in the last
- row and selectes the new row, same column cell
- - ProcessGridKey: Home/End navigate columns, not rows, like
- originally implemented
- - Broke ProcessKeyPreview code out into an extra Internal method
- so it can be called from the edit code
- * DataGridTextBox.cs (ProcessKeyMessage):
- - Switched to accept Tab keypresses
- - Added F2 handling to allow jumping to the end of the edited cell
- - Added logic to allow moving caret left/right inside edited cell
- and making the edited cell jump when the caret hits cell borders
- - Tab and Enter are now passed to the datagrid after being handled
- * TextBoxBase.cs:
- - Removed capture code now that Control handles it
- - set_SelectionStart now ensures caret is visible
- 2006-03-16 Jackson Harper <[email protected]>
- * TrackBar.cs: Debackwards the increment/decrement for handling
- mouse clicks on the bar with vertical trackbars.
- * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
- bottom to match MS.
- 2006-03-16 Mike Kestner <[email protected]>
- * ListView.cs: make shift/ctrl keyboard and mouse selection
- consistent with the MS control. Fix a bug in
- SelectedListViewItemCollection.Clear that was pissing me off for the
- better part of a day because the collection was being altered
- underneath us as we walked the list.
- 2006-03-16 Peter Dennis Bartok <[email protected]>
- * Control.cs: Not sure how we could miss this so long, but it seems
- that MS.Net has Capture set all the way from before calling
- OnMouseDown through sending the mouse events until after
- OnMouseUp. This will fix DataGrid's selection being set to end
- at the location of the MouseUp.
- 2006-03-15 Jackson Harper <[email protected]>
- * BindingContext.cs: Check the binding after its added so that it
- can initialize the binding managers and hookup to events.
- * Binding.cs: Data members seem to sometimes include rows/cols in
- the format Row.Column we now take this into account.
- - Hookup to the position changed event so we can update the
- control when the position has changed in the data set.
- * CurrencyManager.cs: Take into account the row/col naming
- convention when creating dataset tables.
- * BindingContext.cs: Using a newer better way of storing
- datasource/datamember pairs. Hopefully this better matches MS for
- looking up binding managers.
- 2006-03-15 Jackson Harper <[email protected]>
- * BindingContext.cs: The currency manager needs the data member
- name, if the member is a data set we use the name to find the
- correct table.
- * CurrencyManager.cs: When creating the list prefer an IList over
- an IListSource.
- - Attempt to create a DataTable from a DataSet (TODO: might need
- some better error checking here, although MS doesn't seem to have much)
- - If we have a DataTable create a view and use it as our list.
- 2006-03-15 Mike Kestner <[email protected]>
- * ListView.cs: keep a matrix of the icon mode layout to facilitate
- keyboard navigation. Support Up/Down/Left/Right selection correctly
- for all 4 View modes.
- * ListViewItem.cs: add internal row/col fields for icon layouts.
- 2006-03-15 Jackson Harper <[email protected]>
- * TabControl.cs: Redraw the tabs when we resize so their newly
- calculated sizes are drawn on screen.
- * X11Keyboard.cs: Begginnings of XIM support. We also now support
- composite characters.
- * XplatUIX11.cs: Keyboard driver needs to know about focus changes
- - filter events so that composite characters can be created
- patches by peter
- * X11Structs.cs: Add XIMProperties enum.
- 2006-03-14 Peter Dennis Bartok <[email protected]>
- * Control.cs (BringToFront, SendToBack): Don't use window or handle
- unless it's created
- 2006-03-14 Peter Dennis Bartok <[email protected]>
- * Control.cs (PerformLayout): We don't need to consider visiblity
- for anchoring, only for docking. This fixes 'whacky' alignment
- in listbox and other controls that use implicit scrollbars after
- the previous PerformLayout patch
- * ListBox.cs: Switched to use implicit scrollbars
-
- 2006-03-14 Mike Kestner <[email protected]>
- * ToolBar.cs:
- * VScrollBar.cs:
- - chain up the "new event" overrides to base and use
- OnEvent to raise them. Part of fix for bug #76509.
- 2006-03-14 Alexander Olk <[email protected]>
- * FileDialog.cs: Do not select an item in the parent directory
- on backspace
- 2006-03-14 Peter Dennis Bartok <[email protected]>
- * Control.cs (PerformLayout): It would seem that we considered
- invisible windows for our layout. Not quite the right thing
- to do. Now we don't any longer, thereby fixing bug #76889.
- 2006-03-14 Peter Dennis Bartok <[email protected]>
- * Control.cs (CanFocus): I goofed. A control can have focus
- even though it's not selectable. Made it match MS docs.
- 2006-03-13 Peter Dennis Bartok <[email protected]>
- * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
- center by default (fixes #76895)
- * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
- all uses of Border3DSides.All with the explicit ORd together
- Left|Right|Top|Bottom because I assume that nobody was aware
- that All also implies a center fill. Most places I checked had
- a fill right above.
- * ProgressBarStyle.cs: Added
- 2006-03-13 Mike Kestner <[email protected]>
- * ListView.cs: fix breakage in drag shadow header positioning
- from Peter's csc compilation fix.
- 2006-03-13 Mike Kestner <[email protected]>
- * ListView.cs: fix NRE produced by backspacing twice in a focused
- FileDialog.
- 2006-03-13 Mike Kestner <[email protected]>
- * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
- 2006-03-13 Peter Dennis Bartok <[email protected]>
- * Hwnd.cs: Added fixed_size field to track windows whose size cannot
- be changed
- * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
- the allowed size before making programmatic size changes
- 2006-03-13 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
- set, metacity is broken and will still use the emty sizes in
- the struct. (Fix for #77089)
- 2006-03-13 Peter Dennis Bartok <[email protected]>
- * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
- WindowExStyles and marked both enums as Flags
- * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
- NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
- to match WindowStyles split
- * XplatUIX11.cs:
- - SetWMStyles: Added cehck to not apply WM attributes to Child windows
- - Updated to match WindowStyles split
- * XplatUIWin32.cs:
- - Fixed FosterParent creation, was using ExStyle on the Style field
- (This should help with Popup focus issues)
- - Updated to match WindowStyles split
- 2006-03-13 Jackson Harper <[email protected]>
- * MdiWindowManager.cs: Use the system menu height. Fixes some
- strange sizing issues.
- 2006-03-12 Peter Dennis Bartok <[email protected]>
- * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
- * TextBoxBase.cs:
- - Scroll to caret after inserting text (#77672)
- - Make scroll range one pixel higher, fixes off-by-one error (and
- makes underlines visible on the last line)
- 2006-03-12 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
- the keyboard state from being stuck with keys in 'pressed' state when
- focus is switched away via keyboard
- * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
- reset the keyboard if no X11 KeyUp events are expected to come
- * X11Structs.cs: Switched type of Visible to bool to match driver
- 2006-03-12 Peter Dennis Bartok <[email protected]>
- * TextControl.cs:
- - Switched caret to be just 1 pixel wide, matches MS and looks less
- clunky
- - Moved caret display 1 pixel down from the top of the control
- to improve view
- - InsertCharAtCharet: Update the selection start if moving the caret
- (fixes bug #77696; based on patch suggested by [email protected])
- - No longer always creating the caret when the caret methods are
- called. Only the actual ShowCaret/HideCaret will do that now
- - Only setting caret visible if the owner control has focus
- - UpdateView: Added invalidation-shortcut logic for center and right
- aligned text. Previously we'd update all according to the left
- logic which caused drawing errors. Also fixed height of invalidated
- areas, now properly invalidating the whole area (was off-by-one)
- - owner_HandleCreated: Always generate the document when the
- handle is created; this ensures that
- * TextBoxBase.cs:
- - Fixed situation where caret would disappear under the right
- window border, also improved scrolling behaviour on left-
- aligned textboxes
- - Fixed right-aligned textboxes to have a border to the
- right instead of the caret being under the right border
- * XplatUIX11.cs:
- - Switched from 'nested' to simple visible/not visible tracking
- for caret (part of fix for #77671)
- - No longer passing through translated FocusIn/FocusOut messages
- since we were notifying too often and the wrong windows. Instead
- we just notify our focussed window of receiving or loosing focus
- * XplatUIWin32.cs: Switched from 'nested' show/hide
- counting for caret to simple visible yes/no behaviour (part of
- fix for #77671)
- 2006-03-11 Alexander Olk <[email protected]>
- * Mime.cs: Remove debug code...
- 2006-03-11 Alexander Olk <[email protected]>
- * MimeGenerated.cs: Removed
- * Mime.cs: Mime now reads the mime data (magic, globs, aliases
- and subclasses) from /usr/(local/)share/mime and
- $HOME/.local/share/mime.
- 2006-03-10 Jackson Harper <[email protected]>
- * MdiWindowManager.cs: Recalc the NC area when a window is
- maximized/restored so that the menu area is drawn on forms that
- don't have a menu.
- 2006-03-10 Peter Dennis Bartok <[email protected]>
- * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
- XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
- us to force a WM_NCCALCRESIZE message being sent. This is needed
- for MDI maximizing.
- 2006-03-10 Jackson Harper <[email protected]>
- * Form.cs: We need to use the ActiveMenu when calculating menu
- height.
- - Fix nullref when the window manager hasn't been created yet.
- * Control.cs: Fix nullref when we try to bring a control to the
- front that has no parent.
- * MdiWindowManager.cs: Use the MaximizedMenu for calculating
- height.
- - Add a dummy item to the maximized menu so it always has the
- correct height. Otherwise when there are no menus we don't get our
- icon and buttons.
-
- 2006-03-10 Jackson Harper <[email protected]>
- * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
- stuff.
- * Form.cs: Make the window_state internal so the window managers
- can track it.
- - When an MDI child is maximized let its window manager create the
- main menu (so it can add its icon).
- - Notify the window managers of state changes
- - Let the window manager paint its buttons and handle button
- clicks on the menu when it is maximized.
- * InternalWindowManager.cs: Move the prev_bounds into the mdi
- window manager, since tool windows don't use it, only mdi windows.
- - Tell the main form that we don't want it to handle NCPAINT
- itself to avoid extra painting.
- - Handle clicks on a maximized windows menu.
- - Handle window state changes
- - Handle minimize/maximize clicks correctly by setting the window state.
- * MdiWindowManager.cs: Add an icon menu that (the menu you get
- when clicking on the forms icon).
- - New method to create a forms maximized menu. This is its normal
- menu + an icon.
- - Handle window state changes.
- - Handle sizing of maximized windows. Maximized windows are just
- drawn bigger then the parent visible area. All controls are still
- there, they are just outside the visible area (this matches windows).
- * MdiClient.cs: No scrollbars when a child window is maximized.
- - Let the children windows figure out how big they should be when
- sizing maximized windows.
- - Implement a version of ArrangeIconicWindows somewhat similar to
- Windows version. There are some little differences, but I don't
- think any app will rely on the layout of minimized mdi windows.
- 2006-03-10 Peter Dennis Bartok <[email protected]>
- * Padding.cs: Several fixes to allow compiling with csc 2.0
- 2006-03-09 Jackson Harper <[email protected]>
- * Menu.cs:
- * MenuItem.cs: Cheap hack so we can add items to the list without
- the events being raised. This allows adding mdi items during
- drawing. TODO: Should probably find a better time to add the items.
- 2006-03-10 Peter Dennis Bartok <[email protected]>
- * ThemeWin32Classic.cs:
- - CheckBox_DrawText: Added logic to not wrap if not enough space
- is available (Fix for bug #77727)
- - RadioButton_DrawText: Added logic not to wrap if not enough
- space is available (Fix for bug #77727). Also removed some
- duplicate code, DrawString always drawing the regular text
- before hitting the if statement.
- 2006-03-10 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
- 2006-03-10 Peter Dennis Bartok <[email protected]>
- * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
- * ContainerControl.cs: Partial implementation of some 2.0 scaling
- methods. Moved the new 2.0 properties into alphabetical order with
- other properties and added MonoTODO tags
- 2006-03-09 Peter Dennis Bartok <[email protected]>
- * AutoScaleMode.cs: Added. Fix build.
- 2006-03-09 Peter Dennis Bartok <[email protected]>
- * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
- XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
- and was requiring premature handle creation for calls from above
- * Form.cs, Control.cs: Removed handle arguments from calls to
- CalculateClientRect()
- 2006-03-09 Peter Dennis Bartok <[email protected]>
- * ListView.cs (HeaderMouseMove): Fix csc compilation.
- drag_column.column_rect is MarshalByRef and can't be used that way
- 2006-03-09 Peter Dennis Bartok <[email protected]>
- * AxHost.cs: Added deserialization constructor for
- AxHost+State (fixes 77743)
- 2006-03-09 Mike Kestner <[email protected]>
- * ListView.cs:
- - Added column drag reordering for details view.
- - fixed behavior when mouse is dragged off column and
- AllowColumnReorder is false.
- * ColumnHeader.cs: clone the format too in Clone.
- * Theme.cs: add DrawListViewHeaderDragDetails method.
- * ThemeWin32Classic.cs:
- - impl new method for drawing drag column shadows and targets.
- - support column offset for details mode in DrawListViewItem.
- 2006-03-09 Peter Dennis Bartok <[email protected]>
- * TextControl.cs: Reset the char_count when the document is cleared
- (Fixes bug reported on mono-winforms mailing list)
- 2006-03-09 Peter Dennis Bartok <[email protected]>
- * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
- of calling base we simply process the key ourselves, since both
- DefWindowProc and the handled method would set m.Result.
- (Fixes #77732)
- 2006-03-09 Peter Dennis Bartok <[email protected]>
- * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
- method also moves the window; instead implemented a copy of
- Control.ScaleCore (Part of fix for #77456)
- * TextBoxBase.cs:
- - Created new CreateGraphicsInternal method to allow providing
- a graphics context when no handle is created without triggering
- handle creation. (Part of fix for #77456)
- - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
- * TextControl.cs:
- - Switched Constructor to require TextBoxBase instead of Control (to
- allow uncast access to CreateGraphicsInternal)
- - Safeguarded use of owner.Handle property. No longer accessing it
- unless the handle is already created.
- - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
- - Now triggering a recalc when owning control becomes visible
- * TextBox.cs, RichTextBox.cs: Switched to use new internal
- TextBoxBase.CreateGraphicsInternal() method to avoid triggering
- premature handle creation (Part of fix for #77456)
- * Control.cs:
- - We now only destroy our double-buffering buffers when the
- control is resized or disposed, but not when visibility
- changes. (The code even re-created them twice every time)
- - Now requiring a redraw of the buffer on visibility changes
- (fixes bug 77654 part 2)
- - Not passing OnParentVisibleChanged up unless the control
- is visible
- - CanFocus: Fixed to match MS documentation
- - Focus: Fixed to return actual focus state and to check if
- setting focus is legal before setting it
- 2006-03-08 Peter Dennis Bartok <[email protected]>
- * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
- when to draw focus rectangle by looking at parent focus and
- selected state instead. This fixes TabPages on Linux sometimes
- having none or multiple focus rectangles.
- * XplatUIX11.cs (SetFocus):
- - Don't set the focus if the same window already has focus
- - Use SendMessage instead of PostMessage (like it's Win32
- equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
- to match MS behaviour
- * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
- are not selectable.
- 2006-03-07 Jackson Harper <[email protected]>
- * PictureBox.cs: Revert line I accidently committed last week.
- 2006-03-07 Peter Dennis Bartok <[email protected]>
- * Control.cs:
- - Added new IsRecreating and ParentIsRecreating properties to
- allow testing if RecreateHandle has been called on ourselves
- or one of our parents
- - WndProc(WM_DESTROY): If our control handle is being recreated
- we immediately need to create the handle when receiving the
- destroy, that way our child windows find a valid parent handle
- when they themselves are being recreated upon WM_DESTROY receipt
- (fix for bug #77654 part 1)
- * XplatUIX11.cs:
- - DestroyWindow: WM_DESTROY must be sent to our own window before
- notifying any child windows. MS documents that child windows
- are still valid when WM_DESTROY is received. (Control now relies on
- this behaviour)
- - Added some fine-grain debug options
- 2006-03-06 Jackson Harper <[email protected]>
- * MdiClient.cs: Redid scrolling logic a bit to create a virtual
- box and base calculations off this.
- * MdiChildContext.cs:
- * MdiWindowManager.cs: Don't need to ensure scrollbars here
- anymore.
-
- 2006-03-06 Peter Dennis Bartok <[email protected]>
- * Splitter.cs: In situations where the affected control is added
- to the parent's control list after the splitter, we would not
- populate affected. Now we try populating it on mousedown, if
- it's not already set, and force it to be re-set whenever our
- parent changes.
- 2006-03-03 Matt Hargett <[email protected]>
- * Control.cs: implement Control.Padding
- * Padding.cs: -Padding.All returns -1 when constructing with the
- implicit default ctor
- -Padding.ToString() matches MS.NET
- * ContainerControl.cs: implement
- ContainerControl.AutoScaleDimensions
- * ListControl.cs: implement ListControl.FormattingEnabled
- * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
- * ButtonBase.cs:
- * TabPage.cs: Implement UseVisualStyleBackColor.
- * PictureBox.cs: Implement PictureBox.InitialImage.
- 2006-03-03 Mike Kestner <[email protected]>
- * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
- event declarations to proxy to base event.
- * ListViewItem.cs: update to use ItemControl.
- * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
- * ThemeWin32Classic.cs: update to new ListView theme API and fix
- column header label rendering for 0 width columns.
- 2006-03-03 Peter Dennis Bartok <[email protected]>
- * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
- that causes the control to be created. Fixes #77476.
- 2006-03-02 Jackson Harper <[email protected]>
- * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
- expose_pending.
- 2006-03-02 Peter Dennis Bartok <[email protected]>
- * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
- passed in for the EventArgs (fixes #77690)
- 2006-03-01 Jackson Harper <[email protected]>
- * ScrollBar.cs: Refresh afterbeing resized.
- 2006-02-28 Mike Kestner <[email protected]>
- * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
- Clean up a tracker compile warning.
- * MenuItem.cs: add internal PerformPopup method.
- [Fixes #77457]
- 2006-02-28 Peter Dennis Bartok <[email protected]>
- * TextBoxBase.cs (set_Text): Recalculate the document (causing an
- implicit expose) when the text is set to null
- 2006-02-28 Peter Dennis Bartok <[email protected]>
- * RichTextBox.cs (FlushText): When newline is true, we always
- need to split the line, even if no text is on it and we may
- never eat newlines. (Fixes #77669)
- 2006-02-28 Mike Kestner <[email protected]>
- * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
- and set Selected instead.
- * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
- collections.
- 2006-02-28 Peter Dennis Bartok <[email protected]>
- * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
- 2006-02-28 Alexander Olk <[email protected]>
- * FontDialog.cs:
- - Got rid of the panel. All controls are now directly added to
- the dialog form
- - It is now possible to set a font with the Font property
- - MinSize and MaxSize property do now what they should
- - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
- - Searching and selecting a font with the font textbox works now,
- the same applies to the style and size textbox
- - Draw the correct 3D border in the example panel
- - Fixed a little mem leak (unused fonts didn't get disposed)
- - Many other internal updates/rewrites...
- - Fix typo
- 2006-02-27 Peter Dennis Bartok <[email protected]>
- * TextControl.cs:
- - InsertRTFFromStream: Added 'number of characters inserted' argument
- - set_SelectedRTF: Now using the number of characters to calculate
- the new location for the selection and cursor (x/y cannot be used
- due to potentially already wrapped text)
- 2006-02-27 Peter Dennis Bartok <[email protected]>
- * TextControl.cs: Added property and implemented means to allow
- disabling recalculation of a document (can be used to speed up
- multiple inserts and is needed to make RTF inserts predictable, see
- bug #77659)
- * RichTextBox.cs: Using the new NoRecalc property of Document to
- keep x/y insert locations predictable. Also makes it faster inserting
- large chunks of RTF
- 2006-02-27 Peter Dennis Bartok <[email protected]>
- * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
- it's easier for a child control to handle the other messages without
- having to duplicate the special functionality
- * TextBoxBase.cs
- - WndProc: Removed calling base handler for WM_KEYDOWN and added
- code to handle processing the key ourselves, in order to get
- access to the result of KeyEventArgs.Handled. We now only call
- ProcessKey if they key hasn't been handled already. Fixes #77526.
- - set_Text: If null or empty string is given, just clear the
- document. Fixes part of #77526
- 2006-02-27 Jackson Harper <[email protected]>
- * SizeGrip.cs: Paint the background color before painting the grip
- so things look right.
- * MdiClient.cs: Add the sizegrip when both scrollbars are used.
- 2006-02-27 Mike Kestner <[email protected]>
- * ListView.cs:
- - Restructure layout and invalidation model to remove a ton of
- flicker from the control and speed up performance in general.
- - Add manual column resize, flickers like crazy, but I already have
- some ideas on how I'll fix that. (#76822)
- - Merge the three Icon-based views into a single layout method.
- - Move item selection interaction logic from the item since
- interaction with the collections is more appropriate to the view.
- - Deselection on non-item clicks.
- * ListViewItem.cs:
- - Encapsulate most of the layout. Add some internal props to trigger
- layout. Move to a model where Items invalidate themselves instead
- of just invalidating the whole control every time something changes.
- - Invalidate on Text/Caption changes.
- - switch to an offset based layout model to avoid having to absolute
- position every element on item moves.
- - correct checkbox layout to conform to MS layout.
- * ThemeWin32Classic.cs:
- - refactor some column header drawing code.
- - fix string justification for column headers (#76821)
- - make SmallIcon labels top justified for compat with MS impl.
- * ThemeClearlooks.cs:
- - adjust to new ListViewItem internal checkbox bounds api.
- 2006-02-27 Jackson Harper <[email protected]>
- * Control.cs: Change where implicit controls fall in the zorder.
- They are now on top of all children.
- - Synced AddImplicit code with Add
- - Removed unused enumerator.
- * SizeGrip.cs: Remove the TODO as its been TODONE.
- 2006-02-26 Peter Dennis Bartok <[email protected]>
- * TextControl.cs(Insert): Combine the last lines unless the insertion
- string ends with \n\n, otherwise we leave one line too many (Fixes
- something I noticed with the testapp for #77526; the bug itself was
- already fixed in the previous checkin)
- 2006-02-26 Peter Dennis Bartok <[email protected]>
- * RichTextBox.cs:
- - SelectionColor and SelectionFont methods no longer set absolute
- styles. Instead, the keep font or color respectively (This
- resolves a long-standing FIXME in the code)
- - When flushing RTF text, the insert code now considers text trailing
- behind the insertion point (Fixes the bug where when replacing
- the selected text via SelectedRTF the remainder of the line behind
- the selection would stay on the first insertion line)
- * TextBoxBase.cs:
- - AppendText now updates the selection points after inserting text
- - AppendText now ensures that the last tag (sometimes 0-length) of
- the document is used for the style information (Fixes part of
- bug #77220)
- * TextControl.cs:
- - Created new FontDefiniton class to allow describing partial style
- changes
- - StreamLine() now takes a lines argument, to allow it to decide
- whether an encountered zero-length tag is the last in the document
- (which must be kept to not loose the font/color contained in it,
- for later appends)
- - Created Combine() and Split() methods for Marker structs, to
- support marker updates due to reformatted documents (soft line
- wraps)
- - Implemented Document.CaretTag setter
- - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
- of the last line (Not the cause, but also exposed by bug #77220)
- - Added LineTag argument to InsertString method, to allow callers
- to force a certain tag to be used (required to force use of the
- trailing zero-length tag of a document)
- - Now updating markers in Combine(), to avoid stale tag markers
- - Added some method descriptions to aid maintenance
- - Implemented new FormatText concept, allowing additive/subtractive
- formatting by only specifying the components that are to be
- changed. This was needed for resolving the RTB.SelectedColor/
- RTB.SelectedFont fixmes
- - Added Break() support method to allow breaking up linetags (used
- for partial formatting)
- - Added GenerateTextFormat() method. It is used for partial
- formatting and allows to generate a full font/color from given
- attributes and an existing tag.
- 2006-02-26 Jackson Harper <[email protected]>
- * XplatUIX11.cs: Use the correct caption height.
- - Translate hittest coordinates to screen coords to match MS.
- * XplatUIWin32.cs: When we create MDI windows we need to reset
- some of the style flags, so we get a nice blank window, and can
- draw all the decorations ourselves.
- - Set a clipping rectangle on the non client paint event, the
- window manager drawing code needs one.
- * Form.cs: The window manager needs to know when the window state
- has been updated.
- * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
- don't need to factor in border and title sizes in these
- methods. TODO: Remove the args and fix the call points.
- * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
- properly.
- - Let the driver set the cursors.
- - Improve active window handling
- - Correct sizes for title bars and buttons.
- - Match MS drawing better
- * MdiWindowManager.cs: We don't need to handle border style
- updates specially anymore.
- - Check for scrollbars when windows are done moving
- - Handle Active properly.
- * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
- correctly. I am spewing the exception though, so we don't hide the
- bugs.
-
- 2006-02-26 Pedro Martinez Julia <[email protected]>
- * DataGridViewRowPostPaintEventArgs.cs,
- DataGridViewCellPaintingEventArgs.cs,
- DataGridViewRowCollection.cs,
- DataGridViewRowPrePaintEventArgs.cs,
- DataGridViewCell.cs: Clear a few warnings and implement a few
- exceptions that should be thrown.
- 2006-02-22 Peter Dennis Bartok <[email protected]>
- * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
- 'inheriting' our parent's (non-default) cursor. (Part of
- the fix for #77479)
- 2006-02-22 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs: Fixed cast to make csc happy
- 2006-02-22 Peter Dennis Bartok <[email protected]>
- * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
- it's for the client area (part of fix for #77479 and needed
- for MDI window cursor handling)
- * XplatUIX11.cs
- - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
- the appropriate default cursors and also passing the message
- up the parent chain
- - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
- for non-client areas
- 2006-02-15 Jackson Harper <[email protected]>
- * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
- is a real MDI window
- 2006-02-14 Alexander Olk <[email protected]>
- * X11DesktopColors.cs: Instead of checking the desktop session
- string for "KDE" check if it starts with "KDE"
- 2006-02-10 Jackson Harper <[email protected]>
- * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
- systems).
- 2006-02-10 Alexander Olk <[email protected]>
- * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
- errors
- * ColorDialog.cs:
- - Got rid of the panel. All controls are now directly added to
- the dialog form
- - Changed to mono coding style
- 2006-02-10 Jackson Harper <[email protected]>
- * InternalWindowManager.cs: We don't need the set visibility to
- false hack anymore now that peter has written beautiful shutdown
- code.
- 2006-02-10 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
- where already explicitly destroyed
- 2006-02-10 Jackson Harper <[email protected]>
- * MdiClient.cs: Handle the case where windows are too high or to
- the left and we need scrollbars.
- 2006-02-10 Alexander Olk <[email protected]>
- * MimeIcon.cs: Added some icons
- * FileDialog.cs:
- - Fixed bug #77477
- - Got rid of the panel. All controls are now directly added to
- the dialog form
- - Changed to mono coding style
- - On Linux "My Computer" and "My Network" will now show some
- more usefull information. A new class, MasterMount, gathers
- this information from /proc/mount. Updated MWFFileView to make
- use of this information
- - Fixed a bug that caused FileDialog to crash when
- ".recently_used" file had a zero size
- - FilterIndex does now what it should
- - Some Refactoring
- * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
- FileDialog changes
- 2006-02-09 Jackson Harper <[email protected]>
- * ComboBox.cs: Don't touch if null.
- 2006-02-09 Peter Dennis Bartok <[email protected]>
- * Cursor.cs: 64bit safeness fix
- * XplatUIX11.cs: Removed several unneeded and one moronic cast.
- 2006-02-09 Jackson Harper <[email protected]>
- * Form.cs: If a form is made into an MDI form update the styles so
- all the props can get set correctly.
- - Kill the mdi_container when we dont need it anymore.
- * InternalWindowManager.cs: Add missing NOT
- 2006-02-08 Jackson Harper <[email protected]>
- * InternalWindowManager.cs: Respek clipping when drawing MDi
- decorations.
- 2006-02-08 Jackson Harper <[email protected]>
- * Hwnd.cs: Add bits to track non client expose events.
- * XplatUIX11.cs: Track non client expose events on the hwnd. This
- gives us a proper invalid rect and will allow for some nice
- optimizations with NC client drawing
- - MDI windows are children windows, so move their style handling
- into the child window block.
- * InternalWindowManager.cs: Remove a state reset that was
- getting invoked at the wrong time. Fixes managed windows getting
- into a 'stuck' captured state.
- 2006-02-07 Peter Dennis Bartok <[email protected]>
- * TextControl.cs (Document.ctor): Now initializing
- selection_anchor. Fixes #77493
- 2006-02-07 Jackson Harper <[email protected]>
- * TrackBar.cs: The increment/decrements were backwards.
- 2006-02-07 Mike Kestner <[email protected]>
- * Theme*.cs : remove ThemeEngine.Current usage as it just points back
- to the instance itself.
- 2006-02-07 Peter Dennis Bartok <[email protected]>
- * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
- on ulongs and pointers, the size differs between 32bit and 64bit
- systems.
- 2006-02-07 Mike Kestner <[email protected]>
- * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
- for 64 bit platforms to work around a metacity bug.
- 2006-02-07 Jackson Harper <[email protected]>
- * TrackBar.cs: Process the input keys we need, and hookup to
- KeyDown instead of using WndProc, so we get key messages.
- 2006-02-06 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
- machine we're on.
- * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
- we need to translate the XdndVersion atoms array before sending it
- 2006-02-06 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs:
- - The preceeding 64bit fixes had a bug: ChangeProperty expects the
- number of bits for the property, not the number of bytes. The
- change to provide IntPtr.Size broke 32bit. (64bit was also wrong
- but would not crash since it specified 8 bits instead of 4 bits)
- - More 64bit fixes: Switched all atoms from int to IntPtr (they are
- defined as XID -> long in the C headers)
- - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
- references since those are now IntPtr to begin with
- - Switched all Atom.XXX 'int' casts to IntPtr casts
- - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
- - Fixed XInternAtom signature for 64bit, now returns an IntPtr
- - Added XChangeActivePointerGrab DllImport (for X11DnD)
- * X11Structs.cs:
- - Changed 'int' type for Atoms in XEvent structures to IntPtr
- - Changed atom in HoverStruct to be IntPtr
- * X11DnD.cs:
- - Removed local DllImports, switched code to use those from XplatUIX11
- - Removed/fixed casts related to the switch of Atom to be a IntPtr
- 2006-02-06 Mike Kestner <[email protected]>
- * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
- method signatures in the import region. There may still be some
- lingering struct marshaling issues, as I didn't drill down into those.
- Yet.
- 2006-02-06 Jackson Harper <[email protected]>
- * ComboBox.cs: Dont manually set the top_item, this is computed
- when the scrollbar position is set.
- 2006-02-06 Mike Kestner <[email protected]>
- * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
- startup crashes on amd64. There's other fixes needed. All pinvoke
- usage of Atom needs to be mapped to IntPtr for example. And there are
- likely other int/long issues to be addressed.
- 2006-02-04 Alexander Olk <[email protected]>
- * FileDialog.cs: One more...
- 2006-02-03 Alexander Olk <[email protected]>
- * FileDialog.cs: Next try
- 2006-02-03 Alexander Olk <[email protected]>
- * FileDialog.cs: First part of fix for #77464
- 2006-02-03 Alexander Olk <[email protected]>
- * ButtonBase.cs, ContainerControl.cs, Forms.cs,
- ThemeWin32Classic.cs: Fix for #77458. Correct handling of
- AcceptButton border drawing.
- 2006-02-03 Peter Dennis Bartok <[email protected]>
- * Form.cs: Moved positioning of form after auto scaling is applied,
- otherwise it would possibly use wrong form size.
- 2006-02-03 Peter Dennis Bartok <[email protected]>
- * Control.cs (RecreateHandle): No need to re-create any child
- controls, the child windows will get destroyed automatically by
- the windowing system or driver, and re-created when the handle
- is being accessed the first time. Fixes #77456
- * Form.cs: No longer setting the form to closing if the handle is
- being recreated. This seems like the right thing to do, don't
- have a bug or testcase for this, though.
- 2006-02-02 Peter Dennis Bartok <[email protected]>
- * FileDialog.cs: Suspend/Resume layouting when changing sizes of
- controls to avoid unwanted side effects
- 2006-02-02 Peter Dennis Bartok <[email protected]>
- * Control.cs:
- - ScaleCore needs to scale the bounds, not the ClientSize of the
- control. Fixes #77416.
- - DefaultSize is 0,0 for control
- * TextBoxBase.cs:
- - DefaultSize is 100, 20
- - SetBoundsCore: Now enforcing the height, no matter if the provided
- height is more or less than the preferred one, as long as AutoSize
- is on
- * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
- 2006-02-02 Peter Dennis Bartok <[email protected]>
- * Control.cs:
- - ResumeLayout: Fixed logic when to call PerformLayout, we may not
- call unless both performLayout is true *and* we have a pending
- layout change
- - ResumeLayout: MS does not completely nest Suspend and Resume,
- they bottom out at 0, fixed our code to match that.
- - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
- SetBoundsCore, we were updating even when we shouldn't. This fixes
- swf-anchors mis-anchoring when resizing the app fast and lots.
- - UpdateDistances: Now only setting the left and top distance if
- we have a parent and are not suspended, this is based on
- a suggestion by Don Edvaldson in bug #77355.
- - OnVisibleChanged: Fixed logic when to create the control. We may
- not create the control if we have no parent or if it's not visible;
- switched to using Visible property instead of is_visible field
- since the property also considers parent states. This fixes a bug
- when starting Paint.Net
- 2006-02-02 Jackson Harper <[email protected]>
- * Form.cs: If the forms handle hasn't been created yet don't call
- into xplatui to make it top most, just set the topmost flag on the
- form in CreateParams
- * XplatUIX11.cs: Handle WS_EX_TOPMOST.
- 2006-02-01 Jackson Harper <[email protected]>
- * ScrollableControl.cs: Refactored the Recalculate method a
- little, this wasn't handling all the variants of bottom and right
- bars needed to be added and added/removed based on their
- counterparts being added/removed (which changes the drawable
- size). Also we special case client widths and heights of 0 and
- don't add the scrollbar for those.
- 2006-02-01 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs:
- - Added method to get AbsoluteGeometry(); currently unused, but might
- be used in the future, if we try again to figure out toplevel
- coordinates with some more crappy window managers
- - Added FrameExtents() method to retrieve the WM set decoration size
- - Tried to fix up AddConfigureNotify and handling of ReparentNotify
- to deal with at least KDE, FVWM and metacity (Fixes #77092)
- * Hwnd.cs:
- - Added whacky_wm tracking var for metacity
- - Added logic to have default menu height if the actual menu height
- has not yet been calculated (part of fix for #77426)
- * Form.cs: Keep track whether client size has been set and re-set
- it if a menu is added/removed afterwards (Fixes #77426)
- 2006-01-31 Jackson Harper <[email protected]>
- * Control.cs: When a new Site is set on the component attempt to
- pull the AmbientProperties from it.
- 2006-01-31 Peter Dennis Bartok <[email protected]>
- * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
- in the background of the owning form. Fixes #77332
- 2006-01-31 Alexander Olk <[email protected]>
- * MimeIcon.cs: Fix for #77409
- 2006-01-31 Alexander Olk <[email protected]>
- * XplatUIX11GTK.cs: Initial import
- 2006-01-31 Jordi Mas i Hernandez <[email protected]>
- * FixedSizeTextBox: fixes class signature
- 2006-01-30 Jackson Harper <[email protected]>
- * FixedSizeTextBox.cs: New internal class that represents a
- textBox that will not be scaled.
- * TreeView.cs:
- * ComboBox.cs:
- * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
- standard TextBox.
-
- 2006-01-30 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs: Retrieve default screen number instead of
- assuming 0. Attempted fix for #77318
- 2006-01-30 Peter Dennis Bartok <[email protected]>
- * XplatUIWin32.cs:
- - GetWindowPos: When a window is parented by FosterParent, use
- the desktop instead of FosterParent as the base to get coordinates
- - CreateWindow: Don't make FosterParent the parent window for Popups
- if we don't want a taskbar entry, Popups automatically don't get one
- * Hwnd.cs: Need to call remove to actually remove the key from the
- hash table
- 2006-01-30 Mike Kestner <[email protected]>
- * MenuAPI.cs: adjust MainMenu item popup location to y=0.
- 2006-01-30 Jackson Harper <[email protected]>
- * TreeView.cs:
- * TreeNode.cs: Raise events no matter how the treenode is
- checked. Patch by Don Edvalson.
- 2006-01-30 Jackson Harper <[email protected]>
- * TreeNode.cs: Signature fix.
- 2006-01-29 Alexander Olk <[email protected]>
- * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
- 2006-01-20 Mike Kestner <[email protected]>
- * Form.cs: Add ActiveTracker property to do Captures and perform mouse
- event forwarding when menus are active.
- * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
- Most of the patch is pdb's with a little rework.
- 2006-01-26 Peter Dennis Bartok <[email protected]>
- * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
- Removed GetMenuDC and ReleaseMenuDC methods; replaced
- by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
- * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
- * InternalWindowManager.cs: Added use of PaintEventStart/End to
- handling of WM_NCPAINT message, now passing the PaintEventArgs to
- the PaintWindowDecorations method
- * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
- * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
- * MenuAPI.cs: Made tracker window invisible
- * XplatUIWin32.cs:
- - Removed GetMenuDC and ReleaseMenuDC methods
- - Implemented the client=false path for PaintEventStart and
- PaintEventEnd
- 2006-01-26 Peter Dennis Bartok <[email protected]>
- * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
- * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
- styles
- * Form.cs:
- - MaximizeBox, MinimizeBox: Recreate the handle when setting
- the style
- - CreateParams: Reworked the styles to match MS look'n'feel,
- removed automatic setting of MinimizeBox, MaximizeBox, etc. via
- the WS_OVERLAPPEDWINDOW style. This fixes #76823.
- 2006-01-26 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
- window is not mapped, since otherwise every form that's being
- created is considered minimized, which is wrong.
- * Form.cs: Catching the exception and returning our internal value
- instead
- 2006-01-26 Peter Dennis Bartok <[email protected]>
- * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
- SetWindowMinMax() to have means to tell the driver about the minimum,
- maximum and maximized state window sizes. (Part of the fix for #76485)
- * Form.cs:
- - Implemented tracking of minimum and maximum window size, now calling
- new SetWindowMinMax() driver method to tell the driver (Part of the
- fix for #76485)
- - Finished handling of WM_GETMINMAXINFO method, now setting all values
- (Completes fix for #76485)
- - Calling new SetWindowMinMax driver method when the handle for a
- form is created, to make sure the driver knows about it even if
- the values have been set before the window was created
- - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
- to avoid messing up our anchoring calculations (partial fix
- for #77355)
- * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
- * XplatUIX11.cs:
- - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
- - Improved GetWindowState() to detect 'Minimized' state on Metacity
- (and presumably other freedesktop.org compliant WMs). Left the
- assumption unmapped=minimized, needed for SetVisible to work.
- - Now setting the window state when creating windows
- - Fixed SetVisible to consider/set the window state when mapping
- a Form. We cannot set the state before it's mapped, and we cannot
- use Form.WindowState once it's mapped (since it would ask the
- driver and get 'normal'. Therefore, we grab the state before
- mapping, map, and then set state.
- - Implmemented SetWindowMinMax method; Metacity does not seem to
- honor the ZoomHints, though.
- * XplatUIWin32.cs:
- - Removed MINMAXINFO (moved to XplatUIStructs)
- - Added SetWindowMinMax stub (on Win32 the only way to set that
- information is in response to the WM_GETMINMAXINFO message, which
- is handled in Form.cs)
- - Added logic to SetVisible to set the proper window state when a
- form is made visible (fixes #75720)
- 2006-01-26 Jackson Harper <[email protected]>
- * Control.cs (BeginInvoke): Automagically handle EventHandlers the
- same way we handle them with Invoke.
- 2006-01-25 Peter Dennis Bartok <[email protected]>
- * Form.cs:
- - Added tracking of window state so CreateParams can return
- the appropriate style
- - Moved setting of WS_CAPTION style in CreateParams to allow
- styles without caption
- * DataGridTextBoxColumn.cs: We are now also creating the TextBox
- control if the TextBox property is accessed. Fixes #77345
- * Control.cs:
- - get_Created: now uses is_disposed and is_created to determine
- return value (suggested by Jackson)
- - CreateHandle: No longer exits if the handle is being recreated
- - RecreateHandle: If the handle is not yet created call the
- appropriate method to create either control or handle. If the
- control is already created CreateHandle will simply exit instead
- of just creating the handle
- * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
- now SendMessage WM_DESTROY directly to the control when DestroyWindow
- is called.
- * XplatUIX11.cs:
- - When DestroyWindow is called, instead of waiting for the
- DestroyNotification from X11, we directly post it to the WndProc
- and immediately dispose the hwnd object.
- Same applies to DestroyChildWindows, and this obsoletes the
- expose_pending tracking. Contrary to Win32 behaviour we destroy our
- child windows before our own, to avoid X11 errors.
- - Removed the direct sending of WM_PAINT on UpdateWindow
- * XplatUIWin32.cs:
- - Reworked DoEvents and GetMessage to allow access to internal queue
- even when trying non-blocking access to the queue. Fixes #77335.
- Based on a patch suggestion by Don Edvalson. The new private
- GetMessage can now also be used as a backend for a PeekMessage
- frontend version.
- * XplatUI.cs: Improved debug output for CreateWindow
- 2006-01-25 Jackson Harper <[email protected]>
- * Help.cs: Allow param to be null. Patch by Don Edvalson.
- 2006-01-24 Jackson Harper <[email protected]>
- * ComboBox.cs: Clamp the max value set for the vertical scrollbar
- when we have a MaxDropItems lower then the selected index.
- 2006-01-24 Jackson Harper <[email protected]>
- * Control.cs: Don't allow selection of non visible controls, allow
- selection of controls without parents.
- 2006-01-24 Jordi Mas i Hernandez <[email protected]>
- * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
- * DataGridDrawingLogic.cs: Add editing row only when is necessary
- 2006-01-23 Jackson Harper <[email protected]>
- * UpDownBase.cs: Make the textbox handle all the selection and
- tabbing. This fixes tabing to updown controls.
- 2006-01-24 Jordi Mas i Hernandez <[email protected]>
- * TextBoxBase.cs: fixes exception thown the object was null
- 2006-01-23 Jackson Harper <[email protected]>
- * ButtonBase.cs: Just use the base CreateParams. They set
- visibility and enabled correctly.
- * ComboBox.cs:
- * TrackBar.cs:
- * MonthCalendar.cs: Lets let the base set as much of the
- createparams as possible so we don't have duplicate code all over
- the place.
- 2006-01-22 Alexander Olk <[email protected]>
- * ThemeGtk.cs: Added TrackBar and some experimental code to
- get double buffering back
- 2006-01-21 Jordi Mas i Hernandez <[email protected]>
- * DataGrid.cs: Allows row number set internally higher than the last
- when creating a new row. Restores the editing functionality.
- 2006-01-20 Mike Kestner <[email protected]>
- * MimeIcon.cs: delay Image creation until the icons are accessed
- instead of creating 190 scaled images on GnomeHandler startup.
- 2006-01-19 Peter Dennis Bartok <[email protected]>
- * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
- first call base before processing the event. Fixes #77279
- 2006-01-19 Peter Dennis Bartok <[email protected]>
- * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
- that the stride for the GDI bitmap would match the stride of
- a DIB or a Cursor.
- 2006-01-19 Alexander Olk <[email protected]>
- * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
- 2006-01-19 Jackson Harper <[email protected]>
- * ComboBox.cs: Hookup the text controls keydown event so we get
- those when the text control has the focus.
- 2006-01-18 Peter Dennis Bartok <[email protected]>
- * Label.cs: Now using the base events instead of defining new ones;
- this allows us to just call the base properties without having to
- duplicate all base property logic
- 2006-01-18 Peter Dennis Bartok <[email protected]>
- * Label.cs: A label by default is not a tabstop (Fixes one of our
- failing nunit tests)
- 2006-01-18 Peter Dennis Bartok <[email protected]>
- * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
- * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
- 2006-01-18 Peter Dennis Bartok <[email protected]>
- * Cursor.cs: Reimplemented creating cursor bitmaps without using
- the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
- This fixes #77218
- * XplatUIWin32.cs:
- - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
- constructor creates images that can't be saved. Part of the fix
- for #76103
- - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
- - SetWindowState: Switched ShowWindow flags (part of an upcoming
- bug fix for handling window state in forms properly)
- 2006-01-18 Alexander Olk <[email protected]>
- * ThemeGtk.cs: Simplify ScrollBar drawing
- 2006-01-18 Jackson Harper <[email protected]>
- * Splitter.cs: Set the default dock style for the splitter control
- in the constructor.
- 2006-01-18 Alexander Olk <[email protected]>
- * ThemeGtk.cs: Corrected StateType and ShadowType for
- gtk_paint_box
- 2006-01-18 Alexander Olk <[email protected]>
- * Control.cs: Make use of Theme.DoubleBufferingSupported
- * ThemeGtk.cs:
- - Added drawing for flat style buttons
- - Added ScrollBar drawing
- 2006-01-18 Alexander Olk <[email protected]>
- * ThemeClearlooks.cs: Removed some unneeded code.
- * ThemeGtk.cs: First part of ThemeGtk enhancements.
- 2006-01-17 Peter Dennis Bartok <[email protected]>
- * LinkLabel.cs: We need to update the hover drawing when
- leaving the control as well.
- 2006-01-18 Jordi Mas i Hernandez <[email protected]>
- * DataGrid.cs: Clicking on non empty areas in the columns
- area was giving an exception
- 2006-01-17 Jackson Harper <[email protected]>
- * ThemeWin32Classic.cs:
- * ListView.cs: Do not draw/clip the headers when the header style
- is None.
- 2006-01-17 Jordi Mas i Hernandez <[email protected]>
- * DataGrid.cs: Fixes 77260
-
- 2006-01-17 Jordi Mas i Hernandez <[email protected]>
- * DataGrid.cs: Clicking on a column on a empty grid was giving
- an exception
- 2006-01-17 Peter Dennis Bartok <[email protected]>
- * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
- or any keypress will crash the grid.
- 2006-01-17 Mike Kestner <[email protected]>
- * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
- * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
- invisible/previously-visible items.
- [Fixes #76909]
- 2006-01-17 Alexander Olk <[email protected]>
- * ThemeClearlooks.cs:
- - Added CL_Draw_Button method; now other theme controls that are
- not derived from button or do not have a button can draw buttons
- too
- - Updated ComboBox drawing
- - Beautified RadioButton drawing
- - Corrected drawing of bottom and left tabs
- - Beautified DateTimePicker and MonthCalendar
- - Added CPDrawButton and CPDrawRadioButton
- 2006-01-16 Jackson Harper <[email protected]>
- * ComboBox.cs: Set the initial value of the scrollbar to the
- current index. Reduce the numbers of refreshs and IndexOfs called.
- 2006-01-14 Alexander Olk <[email protected]>
- * FileDialog.cs: When the file listview is focused hitting the
- backspace key moves the fileview to the parent directory
- 2006-01-13 Peter Dennis Bartok <[email protected]>
- * Form.cs:
- - Added RecreateHandle call when changing taskbar visibility to
- trigger reparenting in Win32 driver (Fixes #75719)
- - If a window has minimize or maximize buttons, it cannot have
- a help button
- * XplatUIWin32.cs:
- - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
- the toplevel form with FosterParent (A toolwindow not on the
- taskbar) (Fixes #75719)
- - Made FosterParent a toolwindow
- 2006-01-13 Alexander Olk <[email protected]>
- * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
- 2006-01-13 Alexander Olk <[email protected]>
- * ToolTip.cs: If SetToolTip is called from a control and the mouse
- is currently over that control, make sure that tooltip_window.Text
- gets updated
- 2006-01-13 Mike Kestner <[email protected]>
- * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
- 2006-01-13 Jackson Harper <[email protected]>
- * TreeView.cs: On MS GetNodeAt never actually factors in the X
- value passed. Also redraw the selected node when we recieve
- focus, so tabbing between trees works correctly.
- 2006-01-13 Alexander Olk <[email protected]>
- * MimeIcon.cs: GnomeHandler: older gnome versions don't have
- ~/.gconf/%gconf-tree.xml, so use
- .gconf/desktop/gnome/interface/%gconf.xml
- 2006-01-13 Peter Dennis Bartok <[email protected]>
- * TextControl.cs: Draw text in gray if control is disabled
- 2006-01-13 Peter Dennis Bartok <[email protected]>
- * TreeView.cs: Draw the focus rectangle outside the highlight, to
- make sure it's always visible. Fixes #76680.
- 2006-01-13 Peter Dennis Bartok <[email protected]>
- * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
- 2006-01-13 Jonathan Chambers <[email protected]>
- * PageSetupDialog.cs: Added.
- * PrintDialog.cs: Attributes.
- * PrintPreviewControl.cs: Updates.
- * PrintPreviewDialog.cs: Updates.
-
- 2006-01-12 Peter Dennis Bartok <[email protected]>
- * Control.cs: Undid my selection check fix, since it's not needed
- * TextBoxBase.cs:
- - Now considering the presence of hscroll/vscroll when sizing
- vscroll/hscroll respectively. Fixed bug #77077
- - Added Left/Up/Down/Right to IsInputKey list to prevent
- ContainerControl from stealing them. This fixes what I broke
- with my last checkin.
- 2006-01-12 Peter Dennis Bartok <[email protected]>
- * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
- I finally understand how the property can be set without a setter :-)
- 2006-01-12 Peter Dennis Bartok <[email protected]>
- * Application.cs:
- - Switched RunLoop to use static Message.Create to create a
- Message object
- - Added PreProcessMessage call in runloop for keyboard events; this
- is part of the fix for #77219, I overlooked this originally in the
- MSDN doc for PreProcessMessage
- * Control.cs:
- - Removed call to PreProcessMessage from handling of keyboard
- messages; it's supposed to be done in the message pump
- - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
- per MSDN documentation.
- - IsInputChar: All chars are input chars by default; removed the
- parent calling chain, MS does not document that
- - PreProcessMessage: If IsInputChar is true, we want to return false
- to allow dispatching of the message
- - When selecting the next control, now also check that we're not
- selecting ourselves again and therefore return a false positive.
- * TextBoxBase.cs:
- - Tried to match return values for IsInputKey and ProcessDialogKey
- to what MS returns; moved processing of our special keys outside
- ProcessDialogKey since MS does not seem to return true on those.
- - Moved code that previously was in ProcessDialogKey into new private
- ProcessKey method, which gets called upon receipt of WM_KEYDOWN
- - Reworked handling of WM_CHAR to not have to duplicate code from
- Control.cs anymore, instead we simply call down to base.
-
- 2006-01-12 Jackson Harper <[email protected]>
- * ComboBox.cs: We always need to refresh the text area when
- EndUpdate is called. Fixes the combobox in the file dialog.
- * Control.cs: Don't create the creator_thread until the controls
- handle is created. Also in InvokeRequired we check if the
- creator_thread is null. This gives the effect of InvokeRequired
- returning true if the controls handle is not created yet, and
- matches MS.
- 2006-01-12 Peter Dennis Bartok <[email protected]>
- * XplatUI.cs:
- - Added StartLoop() driver method. This is used to allow drivers to
- prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
- loop for a particular thread
- - Added EndLoop() driver method. This is called once the message
- pump for the thread is shut down
- - Added SupportsTransparency method to allow the driver to indicate
- opacity support for windows
- * Form.cs:
- - Removed TODO attribute, completed AllowTransparency property
- - Added documented logic to Opacity
- * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
- ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
- versions of CompatibleTextRendering
- * X11Structs.cs: Added opacity atom to our atom enumeration
- * Hwnd.cs: Added opacity tracking (we need to track since the opacity
- of a form might be set before it's reparented by the WM, and we need
- the opacity value without calling up to Form)
- * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
- SupportsTransparency() driver methods
- * Application.cs: Now calling StartLoop and EndLoop driver methods
- * XplatUIX11.cs:
- - Added opacity atom registration
- - Added StartLoop()/EndLoop() methods. They're empty right now but
- will need to get implemented when we switch to a per-thread queue
- - Implemented SupportsTransparency() method
- - Implemented SetWindowTransparency() method
- - Added support for setting the opacity value when a window is
- reparented (since the opacity needs to be set on the WM frame)
- * XplatUIOSX.cs, XplatUIWin32.cs:
- - Added SupportsTransparency(), StartLoop() and EndLoop() methods
- 2006-01-12 Alexander Olk <[email protected]>
- * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
- 2006-01-12 Alexander Olk <[email protected]>
- * FileDialog.cs: Added ToolTip for MWFFileView
- * MimeIcon.cs: Rewrote GnomeHandler.
- - Get currently used gnome icon theme from
- ($HOME)/.gconf/%gconf-tree.xml
- - Make use of inherited icon themes
- - Support SVG icon themes like Tango via librsvg
- 2006-01-12 Miguel de Icaza <[email protected]>
- Revert's Jackson's revert which broke 2.0 builds. Fix both
- builds.
-
- * Application.cs: Move the use_compatible_text_rendering outside
- the NET_2_0 define. If we ever need to use the
- use_compatible_text_rendering on the individual controls they will
- access the variable from the common shared code paths.
- 2006-01-12 Peter Dennis Bartok <[email protected]>
- * XplatUI.cs:
- - Added more granular debug options
- - Added method to print both window text and id
- - Switched debug output to use new Window() debug method
- - Added IsEnabled() driver method
- - Added EnableWindow() driver method
- * Form.cs:
- - Removed end_modal; no longer needed, new loop handles termination
- via 'closing' variable
- - If form is modal, setting DialogResult will now initiate loop
- termination via 'closing' variable
- - Added support for is_enabled/WS_DISABLED to CreateParams
- - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
- does all the work
- - Removed code that's now in RunLoop from ShowDialog()
- - Added various documented sanity checks to ShowDialog()
- - Added handling of WM_DESTROY message; we set 'closing' on getting
- the message to indicate the message pump to terminate
- - Added handling of new internal WM_CLOSE_INTERNAL message - it's
- send by the Application.ExitThread method. (We send the message
- to destroy the window after all other events have been
- processed through the queue, instead of destroying the handle
- directly)
- - Moved code from Close() method to WM_CLOSE handler; added logic
- to only send close-related events if the form is not displayed
- modal
- * Splitter.cs (..ctor): Fixed typo in resource name
- * Control.cs:
- - DrawBackgroundImage: Explicitly selecting the wrap mode for the
- brush now
- - set_Cursor: Now only setting calling into XplatUI if the handle for
- the control is already created; this avoids implict handle creation
- or crashes if it's not created
- - set_Enabled: Now setting the enabled state via the new driver method
- instead of just tracking it
- - CreateParams: Added logic to set WS_DISABLED based on enabled state
- - CreateControl: Reordered event firing and method calls to more
- closely fire events in the order MS does. Now setting the
- enabled state in the driver when creating the control.
- - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
- match MS order
- * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
- MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
- * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
- * Hwnd.cs:
- - Added tracking of window enabled state (get_Enabled/set_Enabled)
- - Added EnabledHwnd property to easily allow a driver to find the
- handle of the first enabled window in the parent chain (this is
- used by drivers to pass up input events of disabled windows)
- * XplatUIDriver.cs: Added IsEnabled() method
- * Application.cs:
- - Removed crude and obsolete exiting tracking variable
- - Removed internal ModalRun(); replaced by RunLoop()
- - Implemented private CloseForms() method to allow closing all
- windows owned by a particular (or all) threads
- - Exit() now properly closes all windows without forcing the message
- pump to quit
- - Removed obsolete InternalExit() method
- - Changed Run() methods to use new RunLoop() message pump
- - Implemented new RunLoop() method for both modal and non-modal forms
- * CommonDialog.cs:
- - get_CreateParams: Added setting of WS_DISABLED
- - Simplified ShowDialog(); now all the work is done in RunLoop(),
- invoked via Form.ShowDialog()
- * NativeWindow.cs: We don't remove the window from the collection when
- the handle is destroyed; there might still be messages for it in the
- queue (mainly the resulting WM_DESTROY); instead it will be removed
- when Control calls InvalidateHandle in the WM_DESTROY handler
- * XplatUIX11.cs:
- - CreateWindow: Added logic to handle the WS_DISABLED window style
- - EnableWindow: Implemented based on Hwnd.Enabled
- - GetMessage: Reset PostQuitState so the method can be called again
- - Implemented support for disabled windows (passing messages to the
- first enabled parent) in handling all input messages
- - Added optimizations for handling Expose events
- - Implemeted new driver method IsEnabled()
- - Now always resetting paint pending tracking vars when we start paint
- - Re-implemented UpdateWindow via just sending a WM_PAINT message
- * XplatUIOSX.cs: Added IsEnabled method stub
- * XplatUIWin32.cs: Implemented new IsEnabled() method
- 2006-01-11 Jackson Harper <[email protected]>
- * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
- LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
- variables a little.
- * ColorDialog.cs: Clear out the old form before adding the new
- panel.
- 2006-01-11 Jackson Harper <[email protected]>
- * X11Dnd.cs: Make sure to add all the text formats when adding
- strings to the data object.
- * TreeNodeCollection.cs: When adding to a sorted tree we need to
- do some redrawing too. Also change the UpdateNode to an
- UpdateBelow so the newly added node gets painted.
-
- 2006-01-11 Miguel de Icaza <[email protected]>
- * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
- LinkLabel.cs, PropertyGrid.cs: Implement the
- UseCompatibleTextRendering property for 2.x
- * Application.cs (SetCompatibleTextRenderingDefault): Add.
- 2006-01-11 Jackson Harper <[email protected]>
- * TreeView.cs: Use the property for setting the selected node so
- the correct events get raised.
- * TreeNode.cs: Update the tree when the fore/back colours of a
- node are set.
- 2006-01-10 Jackson Harper <[email protected]>
- * TreeView.cs: Allow setting SelectedNode to null.
- 2006-01-9 Jonathan Chambers <[email protected]>
- * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
- 2006-01-9 Jonathan Chambers <[email protected]>
- * PrintControllerWithStatusDialog.cs: Update page number in dialog.
- 2006-01-9 Jonathan Chambers <[email protected]>
- * PrintDialog.cs: Added attributes and set default property values.
- 2006-01-9 Jonathan Chambers <[email protected]>
- * PrintControllerWithStatusDialog.cs:
- Added PrintControllerWithStatusDialog.
- 2006-01-9 Jonathan Chambers <[email protected]>
- * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
- XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
- 2006-01-9 Jonathan Chambers <[email protected]>
- * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
- 2006-01-09 Jonathan Chambers <[email protected]>
- * ComboBox.cs: Added KeyDown event handler for processing arrow keys
- and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
- 2006-01-08 Alexander Olk <[email protected]>
- * MimeIcon.cs: Added internal class SVGUtil.
- 2006-01-08 Alexander Olk <[email protected]>
- * FileDialog.cs: Don't crash if there are two files with the
- same name but different locations.
- 2006-01-08 John BouAntoun <[email protected]>
- * MonthCalendar.cs: Fixed annoying rendering bug when selecting
- dates across multiple month grids. Used to not highlight entire
- month, but does now.
-
- 2006-01-06 Jackson Harper <[email protected]>
- * MonthCalendar.cs: Removed DoEvents call to prevent a running
- message loop. Change timer intervals to numbers that seem more
- natural.
- 2006-01-06 John BouAntoun <[email protected]>
- * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
- object for location info since screen object is now implemented.
- 2006-01-05 Jackson Harper <[email protected]>
- * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
- * AsyncMethodResult.cs: We no longer use a WeakReference for the
- AsyncMethodResult, this is because we ALWAYS want the
- ManualResetEvent to get set.
- * Control.cs: When disposing use an async invoke to call shutdown
- code, so that thigns don't block on the finalizer thread. Also
- check if we even have a message loop before trying to send
- messages, if we don't then don't bother sending messages.
- - No more weak references for async methods
- * XplatUIDriver.cs: No more weak references for async methods.
- 2006-01-04 Alexander Olk <[email protected]>
- * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
- returns two FontFamily with the same name
- 2006-01-04 Peter Dennis Bartok <[email protected]>
- * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
- drawing disabled text. Instead using the ColorGrayText color
- 2006-01-04 Jackson Harper <[email protected]>
- * TreeNode.cs: redraw the node when its image index is changed.
- 2006-01-04 Peter Dennis Bartok <[email protected]>
- * RichTextBox.cs: Same fix as last, just for SelectionColor. This
- time I checked there are no others like it.
- 2006-01-04 Jackson Harper <[email protected]>
- * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
- this gives the behavoir I was looking for.
- * Control.cs: Special case Invoking EventHandlers, this matches MS
- and fixes part of bug #76326.
- 2006-01-04 Alexander Olk <[email protected]>
- * ThemeClearlooks.cs, FileDialog.cs:
- - Reflect the latest Theme class changes
- - Remove Mono.Unix.Syscall.time in FileDialg and replace it
- with DateTime
-
- 2006-01-04 Alexander Olk <[email protected]>
- * Theme.cs: Cache UI resource images and resize them if needed
- 2006-01-03 Peter Dennis Bartok <[email protected]>
- * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
- is called. This fixes the crash in Nexxia when setting the font
- attributes in the chat. [However, RTF needs a look-over to make sure
- that all SelectionXXX methods handle the special case that selection
- is empty and therefore the change must be applied to all text starting
- at the cursor/selection start]
- 2006-01-03 Peter Dennis Bartok <[email protected]>
- * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
- XplatUIOSX.cs: Added SendMessage and PostMessage methods
- * X11Keyboard.cs: Switched to new way of calling PostMessage
- 2006-01-03 Peter Dennis Bartok <[email protected]>
- * Theme.cs: Added theme interface for images to allow the theme to
- control what images are used for things like FileDialog, MessageBox
- icons, etc.
- * MessageBox.cs: Now uses the new Theme icon/image interfaces
- 2006-01-03 Alexander Olk <[email protected]>
- * FileDialog.cs:
- - Removed some dead code
- - Opening a recently used file does work now
- - Small UI enhancements
- - Refactoring
- 2006-01-02 Alexander Olk <[email protected]>
- * FileDialog.cs: Forgot too add __MonoCS__
- 2006-01-02 Alexander Olk <[email protected]>
- * FileDialog.cs: We are able to read recently used files now let's
- go on and write them.
- 2006-01-01 Alexander Olk <[email protected]>
- * FileDialog.cs: Breathe some life into "last open"/"recently used"
- button
- * MimeIcon.cs: Do a check for the top level media type also
- 2005-12-31 Alexander Olk <[email protected]>
- * ThemeClearlooks.cs:
- - Added CPDrawStringDisabled
- - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
- some chars if the text doesn't fit into text_rect
- - DrawListViewItem: If View = View.LargeIcon center the image;
- rewrote the drawing of ListViewItem.Text if View =
- View.LargeIcon
- 2005-12-31 Alexander Olk <[email protected]>
- * MimeIcon.cs: Use default KDE icon theme if there is no
- "48x48" directory for the current icon theme, fixes #77114
- * Mime.cs: Disable not working and actually not used code.
- * ThemeWin32Classic.cs:
- - Replace "new SolidBrush" in GetControlBackBrush and
- GetControlForeBrush with ResPool.GetSolidBrush
- - Changed DrawListViewItem from private to protected virtual
- * FileDialog.cs:
- - Added form.MaximizeBox = true
- - Don't throw an exception if there is a broken symbolic link
- 2005-12-23 Jackson Harper <[email protected]>
- * TabControl.cs: Give the panels focus, keyboard navigation is
- fixed so this works correctly now.
- - We need these key events also.
- * ToolBar.cs: Remove some of the poor mans double buffering.
-
- 2005-12-24 Alexander Olk <[email protected]>
- * ComboBox.cs: The internal TextBox now returns the focus.
- 2005-12-23 Jackson Harper <[email protected]>
- * ThemeWin32Classic.cs: Draw the text for all tab appearances.
- 2005-12-23 Peter Dennis Bartok <[email protected]>
- * Control.cs: Removed debug code
- * XplatUIX11.cs: Changed DestroyChildWindows to also consider
- implicit children
- 2005-12-23 Peter Dennis Bartok <[email protected]>
- * Control.cs: When creating the control, update the Z-order after
- all it's children are created, too. (Fixes nexxia not showing
- picturebox bug)
- 2005-12-23 Peter Dennis Bartok <[email protected]>
- * Control.cs: Do not update the anchoring distances if layout is
- suspended, instead do it once layout is resumed
- 2005-12-22 Peter Dennis Bartok <[email protected]>
- * Control.cs:
- - After many hours of debugging, for both Jackson and
- myself, it turns out that it helps to set the parent of a control
- if you want to actually see it onscreen. In the spirit of that
- discovery, we're now setting the parent of the control and
- it's children when the control's handle is created. This fix
- will make Lutz Roeder's Reflector run happily.
- - now just creating the handle instead of the whole control when
- getting a graphics context for the control.
- 2005-12-22 Peter Dennis Bartok <[email protected]>
- * ScrollableControl.cs: When calculating the canvas, don't consider
- the scrollbar widths. Instead, predict if horizontal scrollbar
- will affect canvas when deciding on vertical display and vice versa.
- 2005-12-22 Peter Dennis Bartok <[email protected]>
- * RichTextBox.cs: Set default RTF font for documents that don't
- have a font table (Fixes #77076)
- 2005-12-22 Jackson Harper <[email protected]>
- * TextBoxBase.cs: It's difficult to do, but you can have an empty
- clipboard. This prevents a NullRef in that case.
- * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
- clipboard. PRIMARY is for the currently selected text only. (We
- should implement PRIMARY at some point.
- 2005-12-21 Peter Dennis Bartok <[email protected]>
- * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
- a Unicode function with a structure that was defined in Ansi way.
- This fixes #76942.
- 2005-12-21 Jackson Harper <[email protected]>
- * StatusBar.cs: Statusbar handles its fore/back colours on it's
- on. Because thats how it rolls. (and this avoids it using ambient
- colours).
- * ThemeWin32Classic.cs: Use the proper back color for filling.
- * Menu.cs: Use the system menu bar color for drawing menu
- bars. Using the window back color will bring ambient colours into
- the picture.
- 2005-12-21 Alexander Olk <[email protected]>
- * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
- Bitmaps were created and not disposed.
- 2005-12-21 Peter Dennis Bartok <[email protected]>
- * Control.cs (CreateControl): Don't do anything if the control is
- already created, otherwise we'd fire the OnCreated event more than
- once
- 2005-12-21 Peter Dennis Bartok <[email protected]>
- * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
- will always match. Instead return -1. Fixes #76464.
- 2005-12-21 Peter Dennis Bartok <[email protected]>
- * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
- neither the beginning nor the end of the line (Fixes bug #76479)
- 2005-12-21 Peter Dennis Bartok <[email protected]>
- * Control.cs:
- - ControlNativeWindow.ControlFromHandle(): Now handling situation
- where handle is invalid
- - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
- instead of slower linear search
- * NativeWindow.cs: Don't remove the window from the hashtable until
- after the driver has destroyed it (since the driver might use
- Control.FromHandle to lookup the control object
- * Hwnd.cs: Added DestroyPending property to track if a window is
- already destroyed as far as the driver is concerned and only hasn't
- yet notified the control
- * XplatUIX11.cs:
- - Activate(): Check if the window is still valid before using the
- handle
- - Implemented DestroyChildWindow() method to mark child windows as
- destroyed when a window is destroyed. This prevents situations
- where we might call an X method based on queued events for a
- window that already has been destroyed but we haven't yet pulled
- the destroy method from the queue.
- - Added a call to the new DestroyChildWindow() method to the drivers
- DestroyWindow code. Also now marking the destroyed window itself
- as pending
- 2005-12-20 Jackson Harper <[email protected]>
- * StatusBar.cs:
- * StatusBarPanel.cs: Don't calculate panel sizes on draw
- anymore. Just do them when needed, also track the rects of panels
- so that we can optimize refreshing more in the future.
- 2005-12-20 Alexander Olk <[email protected]>
- * ColorDialog.cs: Fixed focus drawing in small color controls
- 2005-12-19 Jackson Harper <[email protected]>
- * InternalWindowManager.cs:
- * MdiWindowManager.cs: Cleanup some coordinate system changes so
- moving windows works properly.
- 2005-12-19 Peter Dennis Bartok <[email protected]>
- * Control.cs:
- - Removed call to InitLayout() from SetBoundsCore(); doc says
- it's only called when a control is added to a container
- - Split InitLayout logic, moved to separate UpdateDistances() method
- since we need to perform those calculations more often than just
- when adding the control to a container. (Needed to fix #77022)
- - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
- - Reduced the OnBindingContextChanged events count, don't send them
- unless the control is created, we still aren't totally matching
- MS, but I can't quite figure out some of their rules
- 2005-12-18 Alexander Olk <[email protected]>
- * ThemeClearlooks.cs: Corrected distance between ProgressBar
- stripes
- 2005-12-18 Alexander Olk <[email protected]>
- * ThemeClearlooks.cs:
- - Updated ProgressBar drawing
- - Corrected drawing of ScrollBars and scroll buttons
- - Some temporary fixes for minor pixel artefacts
- 2005-12-18 Peter Dennis Bartok <[email protected]>
- * Control.cs:
- - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
- cause events to be sent in the same order as MS does.
- - Added ChangeParent() method to trigger various OnXXXChanged events
- that need to be fired when a parent changes (This is a reworking
- of the patch from r54254, with the X11 errors fixed)
- - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
- since on MS we get OnLayoutChanged events when calling Clear()
- - Changed Enabled property to consider parent state as well, if a
- parent is not enabled, the control will not be either
- - Changed Parent property to simply call Controls.Add() since that
- now does all the work required, this way we avoid code duplication
- - Threw in a few OnBindingsContextChanged calls to try and match
- when MS sends them. We seem to send a few too many, though.
- - Added call to CreateControl when adding the control to a parent.
- We were never calling CreateControl. Still needs some work, in
- some places we treat HandleCreated and ControlCreated as equal,
- which is wrong
- - Removed obsolete commented out code from UpdateZOrder()
- 2005-12-18 Alexander Olk <[email protected]>
- * ThemeClearlooks.cs: Updated TrackBar drawing.
- 2005-12-17 Alexander Olk <[email protected]>
- * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
- 2005-12-17 Alexander Olk <[email protected]>
- * FileDialog.cs: Add the Help button and the open readonly
- checkbox only if needed
- 2005-12-16 Jackson Harper <[email protected]>
- * Control.cs: Make sure we have an active menu before trying to
- process commands on it. Prevents menu-less forms from crashing
- when Alt is pressed.
- * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
- Dieter Bremes.
- * RichTextBox.cs: Expand statement to help out gmcs and fix the
- 2.0 build.
- 2005-12-16 Jackson Harper <[email protected]>
- * InternalWindowManager.cs: Don't translate tool windows screen
- coordinates. This fixes windows 'bouncing' around when being moved.
- 2005-12-15 Peter Dennis Bartok <[email protected]>
- * TextBoxBase.cs:
- - MaxLength now treats 2^31-1 equal to unlimited length (this is
- not quite MS compatible, MS uses that number only for single line
- and 2^32-1 for multi-line, but I figure it won't hurt keeping
- the limit at 2GB)
- - Now enforcing the MaxLength limit when entering characters
- - Added argument to internal Paste() method to track if it's called
- from programatically or via keyboard, since keyboard driven pastes
- need to enforce max-length
- - Added logic to Paste to only paste as many chars as MaxLength
- allows
- * RichTextBox.cs: Updated to use new obey argument for internal Paste()
- * TextControl.cs:
- - Added Length property to return number of characters in document
- - Added private CharCount property which only tracks actual chars
- in the document (no linefeeds) and fires event when CharCount
- changes
- - Added tracking of character count to all methods that alter it
- - Added LengthChanged event to allow applications to subscribe
- to any changes to the document
- 2005-12-15 Peter Dennis Bartok <[email protected]>
- * TextBox.cs:
- - Removed local password_char field (moved to TextBoxBase)
- - Now setting the document's password var when password is
- set
- * TextBoxBase.cs:
- - Added password_char field (needed here so MultiLine can
- access it)
- - Added logic to MultiLine property setter to set the document's
- variable when password display is allowed
- - Removed debug code and made some debug code conditional
- * TextControl.cs:
- - Added RecalculatePasswordLine() method to handle special password
- char only lines
- - Added PasswordChar property, also added related tracking vars
- - Draw() method now uses local text var for grabbing text to draw,
- this var is set to line.text unless we're doing password display,
- then it is set to the pre-generated all-password-chars line
- - Added calling RecalculatePasswordLine() method for password lines
- 2005-12-14 Peter Dennis Bartok <[email protected]>
- * Hwnd.cs:
- - Added Reparented property to allow tracking of Window Manager
- reparenting actions (which affect X/Y calculations of toplevel
- windows)
- - Made ToString() print window handles in hex
- * XplatUIX11.cs:
- - AddConfigureNotify(): Now uses reparented state off Hwnd to
- determine if X/Y needs offsetting
- - AddConfigureNotify(): Fixed offset calculations
- - Now adds ReparentNotify messages into the queue
- - Now processes ReparentNotify messages and causes a
- WM_WINDOWPOSCHANGED message to be sent upstream if a window
- is reparented (as most likely it's X/Y coordinates are changed
- due to that)
- 2005-12-14 Jackson Harper <[email protected]>
- * XplatUIX11.cs: Tool windows still need to respek focus.
- 2005-12-14 Peter Dennis Bartok <[email protected]>
- * Control.cs: Undid 54254 (causing XConfigure errors) so we can
- have a working release
- 2005-12-13 Jackson Harper <[email protected]>
- * Form.cs: Update styles after setting the border style regardless
- of whether or not the window is using a window manager.
- 2005-12-13 Jackson Harper <[email protected]>
- * Form.cs: We now hook into an internal window manager instead of just an
- MDI subsystem, this is so we can have properly behaving tool windows.
- * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
- * InternalWindowManager.cs: New internal class that acts as a
- window manager for tool windows and as a base for mdi windows.
- * MdiWindowManager.cs: New class that acts as a window manager for
- mdi windows.
- 2005-12-12 Jackson Harper <[email protected]>
- * Control.cs: Updates so we match behavoir for for implicit
- controls. Fixes explosions in MDI.
- 2005-12-12 Jackson Harper <[email protected]>
- * Control.cs: Implement Invalidate (Region).
- 2005-12-12 Peter Dennis Bartok <[email protected]>
- * Control.cs:
- - Changed handling of Controls.Add/Controls.Remove to fire (almost)
- the same events as MS does. MS fires events for each property
- except, for unknown reasons, Cursor, when the control is reparented.
- I can't seem to totally match add/remove since MS also fires some
- VisibleChanged events, which makes no sense. Consolidated the
- parenting code into a separate method so it can be called from
- both Add and Remove. set_Parent no longer needs any special logic
- as it calls the parent's add method which implicitly fires
- all events
- - Removed some obsolete code and debug output
- - Enabled state is inherited from parents, if this is enabled
- 2005-12-08 Peter Dennis Bartok <[email protected]>
- * Form.cs: Removed commented out code
- 2005-12-08 Peter Dennis Bartok <[email protected]>
- * Control.cs:
- - Added internal version of Invoke, with additional argument
- indicating if we're calling it from a Dispose() handler. That
- way we can avoid BeginInvoke throwing an exception if we're
- calling for an already destroyed window.
- - Added a dispose argument to BeginInvokeInternal, and made the
- check if a valid window handle chain exists conditional on
- it not being a dispose call
- - Removed code in DestroyHandle to destroy our children. Since we
- now handle the WM_DESTROY message we will catch all our children
- being destroyed.
- - Now calling OnHandleDestroyed from our new WM_DESTROY handler
- * Form.cs:
- - Added a field to track the application context of the form.
- - No need to set closing variable as response to WM_CLOSE, instead
- we destroy the window. We also call PostQuitMessage if the form
- has an application context (which makes it the main app form,
- which, when closed terminates the app)
- * XplatUI.cs:
- - Dropped Exit() method, it's naming was confusing
- - Added PostQuitMessage() which causes GetMessage to return false
- once the message queue is empty
- * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
- PostQuitMessage()
- * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
- no longer a valid XplatUI method, but left it in since it's used
- internally. Added empty PostQuitMessage() method.
- * MenuAPI.cs: Replaced call to Exit() with call to
- PostQuitMessage, even though this is probably no longer needed.
- * Hwnd.cs: Added 'pretty' ToString() to support debugging.
- * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
- * Application.cs:
- - Replaced call to XplatUI.Exit() with PostQuitMessage()
- - Removed old debug code that would call XplatUI for exception
- display, enabled standard exception handling (Still not enabled
- though, until NativeWindow's ExternalExceptionHandler define
- is removed
- * NativeWindow.cs:
- - Added internal method to allow control to update NativeWindow
- after a window has been destroyed
- - Added handling of already destroyed windows when calling i
- DestroyWindow
- - Added removal of handle from list on ReleaseHandle
- * XplatUIX11.cs:
- - Dropped GetMessageResult var and related code
- - Added PostQuitState to field to track if PostQuitMessage has been
- called
- - Dropped Exit() method
- - Added PostQuitMessage() method
- - GetMessage now will return false if PostQuitState is set and no
- more messages are in the queue.
- - Expose handler will no longer generate WM_PAINT messages if we are
- in PostQuitState since it's very likely any windows have already
- been destroyed, and since Hwnd won't get updated until we have
- processed the DestroyNotify we'd be causing X errors.
-
- 2005-12-07 Peter Dennis Bartok <[email protected]>
- * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
- Thanks to Mike for pointing out the err of my ways.
- 2005-12-07 Peter Dennis Bartok <[email protected]>
- * Control.cs(PreProcessMessage): Moved menu handling back, but
- after all other key handling, to match MS (who handles Menu in
- DefWndProc)
- * Menu.cs (WndProc): Removed my brainfart
- 2005-12-07 Peter Dennis Bartok <[email protected]>
- * Control.cs(PreProcessMessage): Removed special menu handling
- * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
- 2005-12-07 Mike Kestner <[email protected]>
- * Control.cs : special case SYSKEYUP so that we can adjust keynav
- state according in tracker.
- * Menu.cs : promote tracker field to base class and provide a tracker
- lookup capability. Add/Remove shortcuts dynamically if the top menu
- has a tracker. Unparent items that are removed from the collection.
- * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
- * Theme*.cs: add always_show_hotkeys field to support configurability
- of mnemonic display. win32 doesn't show mnemonics until Alt is
- pressed.
- 2005-12-07 Jackson Harper <[email protected]>
- * MdiChildContext.cs: Use Control.ResetCursor.
- * Control.cs: ResetCursor needs to set the property so that the
- correct XplatUI call gets made.
- 2005-12-07 Peter Dennis Bartok <[email protected]>
- * Control.cs: More fixes to make our key events match MS. We
- were not setting the modifier state on KeyData, and we were
- not generating any events when Alt was pressed with a key
- since handling of WM_SYSxxx was missing for the OnKey methods.
- 2005-12-07 Jackson Harper <[email protected]>
- * MdiChildContext.cs: reenable the sizing code.
- - When the mouse leaves a window reset its cursor.
- 2005-12-07 Alexander Olk <[email protected]>
- * ThemeClearlooks.cs: Reflect latest Hwnd changes
- 2005-12-07 Peter Dennis Bartok <[email protected]>
- * Hwnd.cs: Now using the theme 3d bordersize to calculate
- widths of Fixed3D borders
- 2005-12-07 Jackson Harper <[email protected]>
- * MdiClient.cs: Fix warnings. Earn Mike's love.
- 2005-12-07 Alexander Olk <[email protected]>
- * ThemeClearlooks.cs:
- - Adjusted mouse over button color
- - Added first parts of CheckBox drawing
- - Added correct color for selected text background
- - Fixed ComboBox drawing
- - Added CPDrawBorder3D and CPDrawBorder
- 2005-12-06 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs: Added call to XBell for AudibleAlert
- 2005-12-06 Peter Dennis Bartok <[email protected]>
- * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
- XplatUIOSX.cs: Added AudibleAlert() method to have a means to
- alert users via sound. We could add an enum arg with different
- types of alerts in the future
- 2005-12-06 Peter Dennis Bartok <[email protected]>
- * Control.cs: Fix behaviour problems pointed out by Mike
- 2005-12-05 Mike Kestner <[email protected]>
- * StatusBarPanel.cs: add Invalidate method and hook it into all the
- prop setters. Calls parent.Refresh for now, but could be maybe be
- optimized with an internal method on StatusBar at some point.
- [Fixes #76513]
- 2005-12-05 Peter Dennis Bartok <[email protected]>
- * RichTextBox.cs: Implemented get_SelectionColor
- 2005-12-05 Alexander Olk <[email protected]>
- * ThemeClearlooks.cs:
- - Removed dead code
- - Draw black button border only if button is Form.AcceptButton
- - Draw correct button color for pressed RadioButton if the mouse
- has entered the button
- - Updated ProgressBar drawing!
- - Updated CPDrawSizeGrip drawing
- - Updated StatusBarPanel drawing
- 2005-12-05 Mike Kestner <[email protected]>
- * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
- * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
- 2005-12-04 Alexander Olk <[email protected]>
- * ThemeClearlooks.cs: Initial check-in, activate with
- export MONO_THEME=clearlooks
- * ThemeEngine.cs: Added ThemeClearlooks
- 2005-12-03 Mike Kestner <[email protected]>
- * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
- [Fixes #76897]
- 2005-12-02 Jackson Harper <[email protected]>
- * Form.cs: If the child form has no menu the default main menu is
- used as the active menu.
- 2005-12-02 Peter Dennis Bartok <[email protected]>
- * ListBox.cs: Check if any items exist before trying to resolve
- coordinates into items
- 2005-12-02 Peter Dennis Bartok <[email protected]>
- * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
- as the second color for the background hatch
- 2005-12-02 Peter Dennis Bartok <[email protected]>
- * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
- * RichTextBox.cs: FormatText position arguments are 1-based, now making
- sure that what we pass to FormatText is always 1-based. Fixes #76885
- 2005-11-29 Miguel de Icaza <[email protected]>
- * NumericUpDown.cs (EndInit): When we are done initializing,
- reflect any updates on the UI.
- 2005-12-02 Jackson Harper <[email protected]>
- * ImplicitHScrollBar.cs:
- * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
- their container controls.
- * TreeView.cs: Use the new implicit scrollbars.
- 2005-12-02 Jackson Harper <[email protected]>
- * TreeView.cs: Make top_node internal so the TreeNodeCollections
- can play with it.
- * TreeNodeCollection.cs: If we remove the topnode we need to
- update topnode to the next node in line.
- - When clearing nodes go through the same process as removing
- them, so they get depareneted and checked if they are top node.
- 2005-12-01 Jackson Harper <[email protected]>
- * TreeView.cs: When imagelists are used the image area is
- selectable as well as the text.
- - If there are no selected nodes select the first one.
- * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
- so don't do it more then we need to.
- 2005-12-01 Jackson Harper <[email protected]>
- * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
- that arrows can be scaled.
- 2005-12-01 Jackson Harper <[email protected]>
- * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
- fail. Patch by Dieter Bremes
- 2005-11-30 Jackson Harper <[email protected]>
- * Form.cs: Property is 2.0 only
- * PrintDialog.cs: Signature fix.
- 2005-11-30 Peter Dennis Bartok <[email protected]>
- * TextControl.cs:
- - No longer artificially moves text 2 pixels down (now that we have
- borders this is no longer needed)
- - Added calcs for left, hanging and right indent
- 2005-11-23 Mike Kestner <[email protected]>
- * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
- 2005-11-30 Jackson Harper <[email protected]>
- * MdiChildContext.cs: Set the cloned menus forms, as these don't
- get cloned as part of CloneMenu ().
- * Menu.cs: Make sure the parent of the items get set correctly
- when they are added. And the owners are notified of the changes.
- * Form.cs: Create an ActiveMenu property, so that when MDI is used
- we can change the menu being displayed/handled by the form without
- changing the menu assosciated with the form.
- - Don't let Mdi children draw/handle menus.
-
- 2005-11-30 Jackson Harper <[email protected]>
- * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
- a MenuChanged event. Just to make the API a little more
- consistent.
- * MainMenu.cs:
- * MenuItem.cs: Use the new OnMenuChanged
- * MdiChildContext.cs: Handle menu merging.
- * Form.cs: Implement MergedMenu.
-
- 2005-11-30 Jackson Harper <[email protected]>
- * Menu.cs: We were misusing Add. Add goes behind the specified
- index according to the docs, and does not replace the specified
- index. So I added an Insert method.
- 2005-11-30 Peter Dennis Bartok <[email protected]>
- * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
- Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
- is for Jackson
- * RichTextBox.cs: Added calls to base for DnD events
- 2005-11-28 Peter Dennis Bartok <[email protected]>
- * TextControl.cs:
- - Fixed drag-selection related crash; style fixes
- - Implemented undo class
- o Implemented method to capture document state for specified
- range in document tree
- o Implemented method to restore captured document state
- o Implemented cursor tracking
- o Implemented basic undo stack
- - Added undo cursor tracking to methods altering cursor location
- - Added undo tracking to selection deletion (still missing
- other text-altering hookups)
- * RichTextBox.cs:
- - Added SelectionLength property
- - Implemented CanPaste()
- - Implemented Paste()
- - Added missing protected methods
- - Fixed RTF->Document conversion; now uses font index 0 and color
- index 0 as the default font for the parsed text
- - Fixed RTF<->Document font size translation
- - Fixed RTF generation, now properly handles cross-tag boundaries
- for single line selection
- - No longer always appends blank line to generated RTF
- - Removed TODOs
- - Added missing attributes
- - Hooked up undo-related methods
- * TextBoxBase.cs:
- - Implemented Copy()
- - Implemented Paste()
- - Implemented Cut()
- - Fixed caret mis-behaviour on backspace across line-boundaries
- 2005-11-29 Jackson Harper <[email protected]>
- * MdiClient.cs: Add a method for activating mdi children. Very
- basic right now. I imagine someday it might need more girth.
- * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
- children windows names are added to the menu item.
- * ThemeWin32Classic.cs: Draw the arrow if the item is an
- mdilist. This happens regardless of whether or not there are any
- mdi windows to see in the list, and according to my tests happens
- before the items are even added. Also happens if there isn't even
- an mdi client to get windows from.
- 2005-11-29 Alexander Olk <[email protected]>
- * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
- * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
- 2005-11-29 Jordi Mas i Hernandez <[email protected]>
- * DataGridTableStyle.cs:
- - Create always the styles for the missing columns even if they are
- provided by the user (not default table style)
- * DataGrid.cs:
- - Fixes bug 76770
- - Fixes SetDataBinding (always re-attach source)
- - Fixes SetNewDataSource (only clear styles if they are not for
- this source)
- - Expands OnTableStylesCollectionChanged to handle style refresh
- and remove properly
- 2005-11-29 Jackson Harper <[email protected]>
- * FileDialog.cs: Implement missing bits, remove some dead
- code.
- * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
- creation of the panel so that the options set on the dialog are
- seen when the panel is created.
- * TreeView.cs: raise a click when items are clicked.
-
- 2005-11-29 Jackson Harper <[email protected]>
- * MdiClient.cs: Pass some signature methods through to base.
- 2005-11-28 Jackson Harper <[email protected]>
- * ListView.cs: Raise the click event when items are clicked.
- 2005-11-28 Jackson Harper <[email protected]>
- * MdiClient.cs: Make this algorithm even more beautiful. And fix
- a nullref.
- 2005-11-27 Alexander Olk <[email protected]>
- * ThemeNice.cs: - Removed 1 pixel bitmaps
- - Use SmoothingMode.AntiAlias where it makes sense
- (ScrollButton arrow for example)
- - Enhanced Button focus drawing
- - Fixed ComboBox drawing (no artefacts anymore, focus
- rectangle is back again, reduced size of ComboButton, etc.)
- - Fixed RadioButton focus drawing for Appearence.Button
- - Slight ScrollButton redesign
- - Some LinearGradientBrush size fixes
- - GroupBoxes have now rounded edges
- - Fixed StatusBar drawing
- 2005-11-25 Alexander Olk <[email protected]>
- * ThemeNice.cs: - Remove dead code
- - use correct background colors for menus, etc.
- - Fake pixel drawing with 1 pixel bitmaps
- 2005-11-24 Jackson Harper <[email protected]>
- * MdiClient.cs: Size the scrollbars when resizing the window.
- - Resize the maximized windows when the client is resized
- * Form.cs: Make the child context available
-
- 2005-11-23 Jackson Harper <[email protected]>
- * MdiChildContext.cs: Don't size windows if they are maximized.
- 2005-11-23 Mike Kestner <[email protected]>
- * ContextMenu.cs: use MenuTracker.
- * Control.cs: remove menu handle usage.
- * Form.cs: remove menu handle usage.
- * Hwnd.cs: remove menu handle usage.
- * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
- motion and clicks to the new Tracker handlers.
- * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
- and handle usage.
- * MenuAPI.cs: refactored to combine popup and menubar event handling.
- Killed the MENU and MENUITEM data types and associated collections
- since we now keep the info on Menu and MenuItem. Expanded TRACKER into
- MenuTracker class that exposes the leftovers from the old MenuAPI
- static methods. Restructured Capture handling so that only one grab is
- done for the entire menu hierarchy instead of handing off grabs to
- submenus. Tracker now has an invisible control to Capture when active.
- * MenuItem.cs: add sizing accessors, kill Create
- and handle usage.
- * Theme.cs: remove menu handle and MENU(ITEM) usage.
- * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
- MENU(ITEM). remove menu handle usage, use Menu directly.
- * XplatUIDriver.cs: remove menu handle usage.
- * XplatUIOSX.cs: remove menu handle usage.
- * XplatUIWin32.cs: remove menu handle usage.
- * XplatUIX11.cs: remove menu handle usage.
- 2005-11-22 Jackson Harper <[email protected]>
- * Hwnd.cs: Don't compute the menu size for
- DefaultClientRectangle.
- - Reenable menu sizes being computed for GetClienRectangle.
- * Form.cs: Remove comment of trechery
-
- 2005-11-22 Jackson Harper <[email protected]>
- * Hwnd.cs: The adjustments for the menu bar are made when it is
- attached to the form.
- 2005-11-19 Jackson Harper <[email protected]>
- * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
- (just like on windows).
- 2005-11-19 Jackson Harper <[email protected]>
- * MdiChildContext.cs: Handle all the buttons ourselves. We can't
- use real buttons anymore because they are in non client area. The
- one TODO here is that I need to somehow invalidate a section of
- the non client area.
- 2005-11-18 Jackson Harper <[email protected]>
- * Control.cs: Put the enum check back in now that MDI doesnt have
- to use this to set border styles.
- * Form.cs: Only set mdi child windows borders if the handle has
- been created.
- * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
- this directly on to the driver.
- - Get the move start position before adjusting for the titlebar
- height, this fixes the windows "skipping" when they are first
- moved.
- 2005-11-18 Jackson Harper <[email protected]>
- * XplatUIX11.cs: Just compute the mdi borders separately as they
- don't totally match up with normal form borders.
- 2005-11-18 Jackson Harper <[email protected]>
- * Control.cs: Set WS_ styles for borders, so that the driver does
- not have to retrieve the control instance to figure out what kind
- of borders it should have.
- * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
- driver can know its an mdi child easily.
- * XplatUIX11.cs: Get the border styles and whether the window is
- MDI from the Styles and ExStyles params instead of having to get a
- control. This prevents a chicken and egg problem.
- 2005-11-18 Jackson Harper <[email protected]>
- * MdiClient.cs: Fix typo so scrollbars show up correctly.
- 2005-11-18 Jackson Harper <[email protected]>
- * MdiClient.cs: Calculate when to add and remove scrollbars
- correctly.
- * MdiChildContext.cs: Adjust the y position to take the titlebar
- into account.
- - No height for FormBorderStyle.None
- 2005-11-18 Jackson Harper <[email protected]>
- * Control.cs: Allow non enum values to be used for
- InternalBorderStyle. MDI does this to set a special border style.
- - New utility methods for converting points to/from client coords
- - Add the newly created control to the Controls collection before
- updating its style. This way UpdateStyle can walk the control
- heirarchy to find the control if needed.
- so I don't need to create a new Point object all the time.
- * Form.cs: Let MDI windows handle their border styles.
- - Set styles on MDI windows so the correct title style is derived.
- * MdiChildContext.cs: Move all the painting and window handling
- into the non client area.
- - Use correct sizing and put correct buttons on frames based on
- the FormBorderStyle.
- - Notify the mdi client about scrolling
- - Need to handle the buttons ourselves now, because they are all
- in non client areas and we can't add controls there.
- * MdiClient.cs: Halfway to scrolling, this implementation is
- somewhat broken though, we need to check to make sure other
- windows aren't causing scrolling before removing the bars. Also
- the bars need to be drawn on top, maybe I can switch implicit
- controls to be on top.
- * Hwnd.cs: caption_height and tool_caption_height are now
- properties of an hwnd, this way they can be set by the driver
- based on the type of window they are. In X11 the window manager
- handles the decorations so caption_height is zero unless its an
- MDI window.
- - Add 3 pixel borders for MDI windows (0xFFFF).
- - Get rid of some code duplication, have DefaultClientRectanle
- just call GetClientRectangle.
- * XplatUIX11.cs: Pass caption_height and tool_caption_height to
- Hwnd now.
- - Set border styles differently for mdi windows.
- * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
- Hwnd now.
-
- 2005-11-15 Mike Kestner <[email protected]>
- * Menu.cs: when adding an item to the collection, if item is already
- parented, remove it from the parent.
- 2005-11-13 Alexander Olk <[email protected]>
- * X11DesktopColors.cs: Added KDE support
- 2005-11-11 Peter Dennis Bartok <[email protected]>
- * XplatUIWin32.cs:
- - Clipboard methods now can translate Rtf format
- - No longer removes clipboard contents whenever a new format is added
- to allow placing multiple formats on the clipboard
- * Clipboard.cs: Clipboard now supports getting a IDataObject and
- will place all formats contained in it onto the clipboard. Also
- now cleans the clipboard before placing a new object onto it
- * RichTextBox.cs:
- - Implemented set_Rtf
- - Implemented set_SelectedRtf
- - Created InsertRTFFromStream() method to allow single code base
- for all properties and methods that insert RTF into document
- - Removed debug output
- * TextControl.cs:
- - Fixed Delete(int) to fix up line numbers
- - Fixed ReplaceSelection to combine start and end line
- - Fixed serious DeleteChars bug that would leave the document tree
- broken
- - Improved DumpTree with several logic checks to detect broken
- document trees
- - Removed debug lines
- - Fixed Caret.WordForward/WordBack moving code, now always also
- updates caret.tag (fixes crash when word-selecting across tag
- boundaries via keyboard)
- - Added Insert() method for inserting multiline text into documents
- - Fixed DeleteChars() calculation errors that would cause a broken
- tag chain with multiple tag lines
- - DeleteChars() no longer crashes on multi-tag lines if not all tags
- - Split() no longer moves caret if split is at caret location
- - ReplaceSelection() now updates the cursor and re-displays it
- - ReplaceSelection() now uses new Insert() method to avoid code
- duplication
- - FormatText() can now handle formatting partial lines
- * TextBoxBase.cs:
- - Append now uses new TextControl.Insert() method (this avoids
- duplicate code)
- - Implemented Ctrl-X (Cut) (
- - Implemented Ctrl-C (Copy)
- - Implemented Ctrl-V (Paste) (Still some bugs related to screen
- regeneration when pasting text; roundtripping Copy&Paste within
- edit control still fails due to some calculation bugs in GenerateRTF)
- - The Delete key will now remove the current selection if it is visible
- * TextBox.cs: Removed debug lines
- * XplatUI.cs: Trigger initialization of DataFormats (which requires the
- driver to be initialized and can't therefore be done via a static ctor)
- 2005-11-10 Peter Dennis Bartok <[email protected]>
- * TextControl.cs: Added backend code for finding char arrays and strings
- * TextBoxBase.cs:
- - Added mouse wheel scroll support
- - Added support for VScroll and HScroll events
- * RichTextBox.cs:
- - Implemented all seven Find() variants
- - Implemented GetCharFromPosition()
- - Implemented GetCharIndexFromPosition()
- - Implemented GetLineFromIndex()
- - Implemented GetPositionFromCharIndex();
- - Implemented SaveFile for PlainText and UnicodeText
- - Fixed set_Font, now setting a new font applies that font to
- the whole document
- - Implemented generic Document to RTF converter
- - Implemented SaveFile for RichText format (still missing unicode
- conversion for non-ansi chars)
- - Implemented get_Rtf
- - Implemented get_SelectedRtf
- 2005-11-09 Peter Dennis Bartok <[email protected]>
- * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
- to allow any captures to be released before triggering OnClick. This
- way a click handler may capture the mouse without interference.
- * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
- This way we send them even though X may not allow a grab (if the window
- isn't visible, for example)
- 2005-11-08 Pedro Martinez Julia <[email protected]>
- * DataGridViewRowEventArgs.cs: DataGridView implementation
- * DataGridViewElement.cs: DataGridView implementation
- * DataGridViewComboBoxCell.cs: DataGridView implementation
- * DataGridViewDataErrorContexts.cs: DataGridView implementation
- * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
- * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
- * ImageLayout.cs: DataGridView implementation
- * DataGridViewComboBoxColumn.cs: DataGridView implementation
- * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
- * DataGridViewSelectionMode.cs: DataGridView implementation
- * IDataGridViewEditingControl.cs: DataGridView implementation
- * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
- * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
- * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
- * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
- * DataGridViewColumnSortMode.cs: DataGridView implementation
- * DataGridView.cs: DataGridView implementation
- * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
- * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
- * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
- * Padding.cs: DataGridView implementation
- * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
- * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
- * DataGridViewRowEventHandler.cs: DataGridView implementation
- * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
- * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
- * DataGridViewButtonCell.cs: DataGridView implementation
- * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
- * DataGridViewEditMode.cs: DataGridView implementation
- * DataGridViewCellValueEventArgs.cs: DataGridView implementation
- * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
- * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
- * DataGridViewCheckBoxColumn.cs: DataGridView implementation
- * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
- * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
- * DataGridViewCellEventHandler.cs: DataGridView implementation
- * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
- * DataGridViewCellStyleConverter.cs: DataGridView implementation
- * DataGridViewSelectedRowCollection.cs: DataGridView implementation
- * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
- * DataGridViewColumnEventArgs.cs: DataGridView implementation
- * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
- * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
- * QuestionEventArgs.cs: DataGridView implementation
- * IDataGridViewEditingCell.cs: DataGridView implementation
- * DataGridViewTriState.cs: DataGridView implementation
- * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
- * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
- * DataGridViewColumnCollection.cs: DataGridView implementation
- * DataGridViewCellValueEventHandler.cs: DataGridView implementation
- * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
- * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
- * DataGridViewColumn.cs: DataGridView implementation
- * DataGridViewCellBorderStyle.cs: DataGridView implementation
- * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
- * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
- * DataGridViewRow.cs: DataGridView implementation
- * DataGridViewImageCellLayout.cs: DataGridView implementation
- * DataGridViewImageCell.cs: DataGridView implementation
- * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
- * DataGridViewCheckBoxCell.cs: DataGridView implementation
- * DataGridViewHeaderCell.cs: DataGridView implementation
- * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
- * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
- * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
- * DataGridViewTextBoxColumn.cs: DataGridView implementation
- * QuestionEventHandler.cs: DataGridView implementation
- * DataGridViewCellStyleScopes.cs: DataGridView implementation
- * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
- * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
- * DataGridViewCell.cs: DataGridView implementation
- * DataGridViewCellEventArgs.cs: DataGridView implementation
- * DataGridViewClipboardCopyMode.cs: DataGridView implementation
- * DataGridViewCellStyle.cs: DataGridView implementation
- * DataGridViewColumnHeaderCell.cs: DataGridView implementation
- * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
- * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
- * TextFormatFlags.cs: DataGridView implementation
- * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
- * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
- * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
- * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
- * DataGridViewButtonColumn.cs: DataGridView implementation
- * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
- * HandledMouseEventArgs.cs: DataGridView implementation
- * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
- * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
- * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
- * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
- * DataGridViewRowCollection.cs: DataGridView implementation
- * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
- * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
- * DataGridViewHitTestType.cs: DataGridView implementation
- * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
- * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
- * DataGridViewColumnEventHandler.cs: DataGridView implementation
- * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
- * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
- * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
- * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
- * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
- * DataGridViewContentAlignment.cs: DataGridView implementation
- * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
- * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
- * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
- * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
- * DataGridViewPaintParts.cs: DataGridView implementation
- * DataGridViewCellCollection.cs: DataGridView implementation
- * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
- * DataGridViewImageColumn.cs: DataGridView implementation
- * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
- * DataGridViewElementStates.cs: DataGridView implementation
- * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
- * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
- * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
- * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
- * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
- * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
- * DataGridViewRowHeaderCell.cs: DataGridView implementation
- * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
- * DataGridViewTextBoxCell.cs: DataGridView implementation
- * DataGridViewBand.cs: DataGridView implementation
- * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
- * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
- * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
- * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
- * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
- * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
- * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
- * DataGridViewSelectedCellCollection.cs: DataGridView implementation
- * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
- * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
- * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
- 2005-11-08 Peter Dennis Bartok <[email protected]>
- * ThemeWin32Classic.cs:
- - Draw the outside focus rectangle around buttons
- - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
- doesn't use end caps for every dash of a line anymore. This
- workaround ignores the forecolor.
- 2005-11-08 Kornél Pál <[email protected]>
- * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
- endian safe.
- 2005-11-07 Jackson Harper <[email protected]>
- * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
- 2005-11-07 Jackson Harper <[email protected]>
- * ScrollableControl.cs: Calculate the maximum and change vars
- (more) correctly so that scrollbars appear as a sensible size.
- 2005-11-04 Jackson Harper <[email protected]>
- * TreeNodeCollection.cs: Refresh when nodes are cleared from the
- collection.
- * TreeView.cs: When the tree is sorted null out the top_node so
- that it is recalculated.
- - Use dotted lines instead of dashed lines to match MS better.
- 2005-11-04 Jordi Mas i Hernandez <[email protected]>
- * ListView.cs:
- - Implements key search for items. Useful when browsing files with FileDialog
- - When changing view mode or when clear the items reset scrollbar positions
- 2005-11-04 Jackson Harper <[email protected]>
- * CurrencyManager.cs: Implement the MetaDataChanged event, the
- Reset method, and the CheckEmpty. CheckEmpty is just a total guess
- as to what the method may do as there is no real way of creating a
- derived CurrencyManager and calling the method.
- 2005-11-03 Jackson Harper <[email protected]>
- * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
- * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
- method which seems to just be used internally to refresh the tabs.
- 2005-11-03 Jackson Harper <[email protected]>
- * TabControl.cs: Implement the remove method. Fix some broken
- comments.
- 2005-11-03 Peter Dennis Bartok <[email protected]>
- * DateTimePicker.cs:
- - Added missing DateTimePickerAccessibleObject class
- - Added missing events
- - Added OnFontChanged method
- * Form.cs: Added missing attributes
- * TreeView.cs: Added missing attributes
- 2005-11-03 Peter Dennis Bartok <[email protected]>
- * GridItemCollection.cs: Fix signatures
- 2005-11-03 Peter Dennis Bartok <[email protected]>
- * XplatUI.cs: Updated build rev/date
- * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
- DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
- * Application.cs: Trigger context-specific ExitThread events
- 2005-11-03 Jackson Harper <[email protected]>
- * Menu.cs:
- * MainMenu.cs:
- * GridTableStylesCollection.cs:
- * Timer.cs:
- * TabPage.cs:
- * HelpProvider.cs:
- * StatusBar.cs:
- * MonthCalendar.cs: Signature fixes
- 2005-11-03 Jackson Harper <[email protected]>
- * TreeNodeCollection.cs: Remove should not be virtual.
- * TreeView.cs: Implement the last of the missing methods.
- 2005-11-03 Jackson Harper <[email protected]>
- * TreeNodeConverter.cs: Implement to get off my class-status back.
- 2005-11-03 Jackson Harper <[email protected]>
- * TreeView.cs: Hookup the bits for drag and drop.
- * TreeNode.cs: Don't cache the tree_view or index anymore, now
- that nodes can be moved from tree to tree easily this just causes
- all sorts of problems.
- * TreeNodeCollection: Don't need to give treenodes an index and
- treeview anymore when they are added, these are computed on the
- fly. Also make sure to remove a node before its added.
- 2005-11-03 Peter Dennis Bartok <[email protected]>
- * TextControl.cs:
- - Added CaretSelection enum
- - Added comparison methods to Marker struct, makes selection code
- more readable
- - Added SelectionStart and SelectionEnd as 'moveable' location for
- the CaretDirection enum and handler
- - Added selection_prev variable to track optimized invalidation for
- word and line selection
- - Added SelectionVisible property (returns true if there is a valid
- selection)
- - Switched CaretHasFocus to only display the caret if there is no
- visible selection
- - Avoiding StringBuilder.ToString to retrieve a single char, instead
- using the direct character index; should be much faster
- - Added various conditional debug statements
- - Fixed invalidation calculation for selection ranges
- - Added ExpandSelection() method to support word and line selection
- - Switched SetSelectionToCaret to use new Marker compare overloads
- - Added central IsWordSeparator() method to determine word
- separators/whitespace and FindWordSeparator() to streamline common
- usage of IsWordSeparator()
- * TextBoxBase.cs:
- - Removed unneeded grabbed variable, it was just mirroring
- Control.Capture
- - No longer firing OnTextChanged event when Text setter is called,
- since the base will fire the event for us
- - Added handling of Ctrl-Up/Down selection
- - Added handling of Shift-Cursorkey selection
- - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
- words
- - Added handling of Shift and Ctrl-Shift-Home/End selection
- - Removed some debug output
- - Added handling for single/double/tripple-click to place caret/
- select word/select line respectively (Fixes bug #76031)
- - Added support for drag expansion of word/line selection
- * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
- current selection
- 2005-11-02 Jackson Harper <[email protected]>
- * X11Dnd.cs: If the drag is going to and from a MWF window just
- copy the data instead of sending it out through the X Selection
- mechanism.
- 2005-11-02 Jackson Harper <[email protected]>
- * X11Dnd.cs:
- * XplatUIX11.cs: When in a drag we don't want motion notify
- messages to get passed on to the other controls. This prevents
- mouse move messages from showing up in the drag source.
- 2005-11-02 Jackson Harper <[email protected]>
- * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
- the correct button is release to end a drag.
- * XplatUIX11.cs: Make the button state internal so the drag system
- can access it. Dragging needs to know about all button releases,
- not just left button.
- 2005-11-02 Miguel de Icaza <[email protected]>
- * Form.cs (Icon): If the icon is null, reset the icon to the
- default value.
- * Cursor.cs: When writing the AND-mask bitmap do not include the
- number of colors, but hardcode those to two (black and white),
- fixes the loading of color cursors (Paint Dot Net).
- * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
- turn off autoscaling.
- * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
- 2005-11-02 Jackson Harper <[email protected]>
- * X11Dnd.cs: Make sure to send a status message if the pointer
- enters a control that can not accept a drop, otherwise the cursor
- isn't updated correctly. Also tried to compress the lines of code
- a bit.
- 2005-11-02 Jackson Harper <[email protected]>
- * X11Dnd.cs: Change cursors based on drag action. Also attempt to
- set actions correctly. This isn't perfect as XDND and win32 have
- some differences on how you allow actions. I'll clear this up by
- adding a path for drag from MWF to MWF windows.
- * XplatUIX11.cs: Hook into the dnd system.
- 2005-11-02 Jordi Mas i Hernandez <[email protected]>
- * ListView.cs: Fixes scroll bar visibility. Hide them if they were
- previously shown but they are no longer need it. Very obvious when
- browsing files with FileDialog.
- 2005-11-01 Peter Dennis Bartok <[email protected]>
- * Control.cs: We always need to call OnPaintBackground. We pretty much
- ignore AllPaintingInWmPaint and always do the painting there, whether
- it's set or not, since we always ignore the WM_ERASEBKGND message
- (which we don't generate on X11). This fixes #76616.
- * Panel.cs: Removed unneeded background painting. This happens properly
- in Control.cs already
- 2005-10-31 Mike Kestner <[email protected]>
- * Menu.cs: Add items to collection before setting their index.
- * MenuItem.cs : add range checking with ArgumentException like MS.
- [Fixes #76510]
- 2005-10-31 Jackson Harper <[email protected]>
- * ListBox.cs: Invalidate if the area is visible at all not just
- contained in the visible rect. Fixes unselection of semi visible
- items.
- 2005-10-31 Jackson Harper <[email protected]>
- * Control.cs: Consistently name the dnd methods. Make them
- internal so we can override them to match some MS behavoir
- internally.
- * Win32DnD.cs: Use the new consistent names.
- 2005-10-31 Jackson Harper <[email protected]>
- * TreeView.cs: Don't draw the selected node when we lose focus.
- 2005-10-31 Jackson Harper <[email protected]>
- * X11Dnd.cs: We still need to reset the state even though a full
- reset isn't being done, otherwise status's still get sent all over
- the place.
- 2005-10-31 Jackson Harper <[email protected]>
- * Control.cs: Make the dnd_aware flag internal so the dnd
- subsystem can check it. Catch exceptions thrown in dnd handlers to
- match MS behavoir.
- * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
- * X11Dnd.cs: Handle null data in the converters. Set the XDND
- version when sending a XdndEnter. Use the control/hwnd dnd_aware
- flags to reduce the number of dnd enters/status's sent.
- 2005-10-31 Jackson Harper <[email protected]>
- * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
- 2005-10-31 Jordi Mas i Hernandez <[email protected]>
- * PictureBox.cs: Fixes 76512
- 2005-10-28 Jackson Harper <[email protected]>
- * X11Dnd.cs: Early implementation to support winforms being a drag
- source for data on X11. Also restructured the converters so they
- can go both ways now.
- * XplatUIX11.cs: Tie ins to the the Dnd stuff.
-
- 2005-10-27 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
- clipboard requests
- 2005-10-27 Jackson Harper <[email protected]>
- * TreeNode.cs: Implement serialization so my DnD examples will work.
- 2005-10-24 Kornél Pál <[email protected]>
- * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
- TreeView.cs: Don't dispose objects that are not owned.
-
- 2005-10-24 Peter Dennis Bartok <[email protected]>
- * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
- should retrieve the current cursor and report that, but XplatUI
- doesn't (yet) have an interface for that (and I'm not sure I even
- can, on X11)
- * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
- until any message loop processing is done (and the WM_SETCURSOR
- replaces the cursor to the proper one)
- * XplatUIX11.cs:
- - Fixed override behaviour, we can't set the cursor globally on X11,
- just for our windows.
- - Invalidating the System.Drawing X11 display handle when we are
- shutting down
- * Control.cs: Fix to make csc happy
- 2005-10-23 Peter Dennis Bartok <[email protected]>
- * TextBoxBase.cs:
- - get_Text: Add last line (without trailing newline) to returned
- value (Fixes 76212)
- - get_TextLength: Count last line in returned length
- - ToString: Call Text property instead of duplicating code
- 2005-10-23 Kornél Pál <[email protected]>
- * ImageList.cs: Dispose ImageAttributes objects.
- 2005-10-22 Kornél Pál <[email protected]>
- * ImageList.cs: Use attribute constructors with less arguments where
- possible.
- 2005-10-22 Kornél Pál <[email protected]>
- * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
- Use typeof instead of strings when assembly is referenced. Added
- some more comments.
- 2005-10-21 Jackson Harper <[email protected]>
- * ListView.cs: Raise a double click event. Also tried to somewhat
- fix when the selectedindexchanged event is raised. Its still
- broken though.
- 2005-10-21 Jackson Harper <[email protected]>
- * TreeView.cs: New method to invalidate the plus minus area of a
- node without invalidating the whole node (maybe this can be used
- in some more places).
- * TreeNodeCollection.cs: When adding to an empty node we need to
- invalidate its plus minus area so the little block shows up.
-
- 2005-10-21 Jackson Harper <[email protected]>
- * TreeView.cs: Make sure that when we invalidate a node the bounds
- are big enough to cover the selected box and the focus
- rectangle. Use a different colour for the lines connecting nodes
- so they show up with all themes.
- 2005-10-21 Peter Dennis Bartok <[email protected]>
- * NativeWindow.cs: Don't call anything that could call into the driver,
- we might be on a different thread.
- 2005-10-21 Peter Dennis Bartok <[email protected]>
- * Control.cs(Dispose): Since Dispose might run on a different thread,
- make sure that we call methods that could call into the driver via
- invoke, to avoid thread issues
- 2005-10-21 Peter Dennis Bartok <[email protected]>
- * XplatUI.cs: Removed finalizer
- * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
- not allowing to be called on the finalizer thread.
- 2005-10-21 Kornél Pál <[email protected]>
- * ImageList.cs:
- - Reverted r51889 and r51891.
- - Added ImageListItem class that stores unmodified image items and image
- properties required to create list images until handle is created.
- - Added AddItem and moved image creation logic to AddItemInternal.
- - Added CreateHandle method that creates images based on unmodified items.
- - Added DestroyHandle that changes state to store unmodified items.
- - Add and AddStrip methods no more create handle.
- - ReduceColorDepth has no return value.
- - Dispose destroys handle.
- - Modified other methods to reflect the above changes.
- - Implemented key support.
- - Added profile 2.0 members and attributes.
- - Added private Reset and ShouldSerialize methods that provide the same
- behavior as MS.NET but the Visual Studio .NET designer seems to ignore
- them as they are private.
- - Added some more comments about implementation details.
- 2005-10-21 Jordi Mas i Hernandez <[email protected]>
- * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
- 2005-10-21 Jordi Mas i Hernandez <[email protected]>
- * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
- 2005-10-21 Jordi Mas i Hernandez <[email protected]>
- * DataGridDrawingLogic.cs: Fixes column hit calcultation
- * DataGridColumnStyle.cs: Remove debug message
- 2005-10-20 Jackson Harper <[email protected]>
- * TreeView.cs: We can always get input keys regardless of whether
- or not editing is enabled. They are used for navigation.
- 2005-10-20 Jackson Harper <[email protected]>
- * TreeNode.cs: Use the viewport rect for determining if a node
- needs to be moved for visibility. Don't use Begin/End edit. This
- calls a full refresh when its done.
- * TreeView.cs: New SetBottom works correctly. Make the viewport
- rect property internal so the treenodes can see it. When clicking
- on a node we need to ensure that its visible because it might just
- be partly visible when clicked.
- 2005-10-20 Jackson Harper <[email protected]>
- * TreeNodeCollection.cs: Remove debug code.
- 2005-10-20 Jordi Mas i Hernandez <[email protected]>
- * Datagrid.cs: Implements column sorting in Datagrid
- * DataGridColumnStyle.cs: Implements column sorting in Datagrid
- 2005-10-20 Jackson Harper <[email protected]>
- * TreeNodeCollection.cs: Remove items properly. Update the correct
- area after removing them.
- 2005-10-20 Jordi Mas i Hernandez <[email protected]>
- * Datagrid.cs: Should not call base.OnPaintBackground
- 2005-10-20 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs (GetMessage):
- - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
- window instead of client window
- - Now properly calculates NC_xBUTTONUP message coordinates
- - ScreenToMenu now properly calculates it's coordinates of whole
- window, since menus are in the whole window, not in the client
- window
- - Added WholeToScreen coordinate translation method
- 2005-10-20 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
- want to return a message, loop back to the beginning of the function
- and grab the next real message to process instead.
- 2005-10-20 Peter Dennis Bartok <[email protected]>
- * Splitter.cs: Properly set limits if no filler control is used
- 2005-10-19 Jackson Harper <[email protected]>
- * ColorDialog.cs: Don't show the help button if it is not enabled
- instead of disabling it (this is what MS does). Don't create the
- panel until the dialog is run, otherwise the vars (such as
- ShowHelp) are not set yet.
- 2005-10-19 Jackson Harper <[email protected]>
- * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
- are reduced when adding nodes.
- * TreeNode.cs:
- * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
- tree.
-
- 2005-10-19 Jackson Harper <[email protected]>
- * FolderBrowserDialog.cs: End editing our treeview so the window
- actually gets refreshed.
- 2005-10-18 Peter Dennis Bartok <[email protected]>
- * Control.cs: Fixed logic flip on when to call OnPaintBackground.
- Obsoleted handling of WM_ERASEBKGND, now always draws our background
- inside of WM_PAINT
- 2005-10-18 Jordi Mas i Hernandez <[email protected]>
- * MenuAPI.cs: Returns after Hidding window
- * XplatUIX11.cs: Added TODO found while debugging menu issues
- 2005-10-18 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs: Do not re-map the whole window when it's size
- becomes non-zero unless it's supposed to be actually visible
- 2005-10-18 Jackson Harper <[email protected]>
- * TreeView.cs: We don't need to keep a count anymore.
- * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
- use the Grow method.
- 2005-10-18 Jackson Harper <[email protected]>
- * TreeNodeCollection.cs: Insert is not supported on arrays, so
- implement it manually here.
- 2005-10-18 Jackson Harper <[email protected]>
- * ImageList.cs: Dont kill the list when the colour depth is
- changed, just change the colour depth of all the images.
- - Same goes for setting the image size. Just resize them all
- instead of killing the list softly.
- 2005-10-18 Jackson Harper <[email protected]>
- * Control.cs: Don't invalidate empty rectangles.
- 2005-10-18 Jordi Mas i Hernandez <[email protected]>
- * ListViewItem.cs:
- - Adds checked item to the Checked/Item lists (where empty before)
- - Do not add items to the Selected lists if they are already present
- * ListView.cs:
- - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
- - When deleting items make sure that we delete them for the Selected
- and Checked list also.
- 2005-10-18 Jordi Mas i Hernandez <[email protected]>
- * Label.cs: Dispose objects no longer used
- * ThemeWin32Classic.cs: Dispose objects no longer used
- 2005-10-18 Jackson Harper <[email protected]>
- * TabControl.cs: Don't refresh the whole control when the tabs are
- scrolled, we just need to refresh the tab area.
- 2005-10-17 Jackson Harper <[email protected]>
- * XplatUIX11.cs: Compress code a little bit. Only calculate the
- after handle when we need it.
- 2005-10-17 Peter Dennis Bartok <[email protected]>
- * Control.cs: When the parent size changes, recalculate anchor
- positions. Partial fix for #76462
- 2005-10-17 Peter Dennis Bartok <[email protected]>
- * ThemeWin32Classic.cs: Make sure the picturebox has it's background
- drawn. Fixes #76462
- 2005-10-17 Jackson Harper <[email protected]>
- * MonthCalendar.cs: Don't create the numeric up down until our
- handle is created. Otherwise our handle is created in the
- constructor and we don't know if we are a WS_CHILD or WS_POPUP
- yet.
- 2005-10-17 Jackson Harper <[email protected]>
- * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
- correctly.
- 2005-10-17 Rafael Teixeira <[email protected]>
- * TreeNode.cs : small logical fix (was using local var instead of field)
-
- 2005-10-17 Jordi Mas i Hernandez <[email protected]>
- * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
- 2005-10-17 Jordi Mas i Hernandez <[email protected]>
- * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
- 2005-10-16 Peter Dennis Bartok <[email protected]>
- * Control.cs:
- - Re-implemented anchoring code. My first version was really broken.
- This fixes bug #76033. Unlike the previous implementation we will
- no longer have round errors since all numbers are calculated from
- scratch every time. Removed various anchor-related obsolete vars.
- - InitLayout no longer causes layout event firing and layout to be
- performed
- 2005-10-16 Jackson Harper <[email protected]>
- * Hwnd.cs: Compute invalid area correctly (fixes my last commit
- which was broken).
- 2005-10-16 Jackson Harper <[email protected]>
- * TabControl.cs: Remove debug code.
- 2005-10-16 Jackson Harper <[email protected]>
- * XEventQueue.cs: Increase the default queue size (very simple
- apps needed to grow the queue).
- * Hwnd.cs: No finalizer so we don't need to suppress
- finalization. Compute the invalid area manually so a new rectangle
- does not newto be created.
- * ScrollableControl.cs: Don't set any params (otherwise visibility
- isn't set correctly).
- * MdiChildContext.cs: New constructor takes the mdi parent so it
- doesn't have to be computed and avoids a crash on windows. Draw
- the window icon properly, and allow the text to be seen.
- * Form.cs: Use new MdiChildContext constructor. Make sure the
- child context isn't null in wndproc.
- * TabControl.cs: Don't set focus, this is muddling keyboard
- behavoir. Expand the tab rows when a window size increase will
- allow extra tabs to be seen. Don't allow tabs smaller than the
- width of a window to be scrolled out of view.
- * TreeNode.cs:
- * TreeView.cs: Use measure string to calculate a nodes width, the
- width is cached and only updated when the text or the font is
- changed. Don't check for expand/collapse clicks on the first level
- nodes if root lines are disabled.
-
- 2005-10-16 Ritvik Mayank <[email protected]>
- * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
- 2005-10-16 Jordi Mas i Hernandez <[email protected]>
- * DataGridBoolColumn.cs: fixes warning
- 2005-10-16 Jordi Mas i Hernandez <[email protected]>
- * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
- to match more to match more precisely the MS Net behavior
- 2005-10-13 Peter Dennis Bartok <[email protected]>
- * Hwnd.cs: Added field to track if window is mapped
- * XplatUIX11.cs:
- - Unmap windows if they become 0-size, re-map when
- they are >0 again; fixes #76035
- - Re-set our error handler after initializing X11Desktop
- to override any error handlers Gtk or whatever was called
- may have set.
- 2005-10-13 Peter Dennis Bartok <[email protected]>
- * CheckedListBox.cs: Removed unused vars
- * ListView.cs: Fixed signatures
- * RichTextBox.cs: Removed unused vars
- * TextBoxBase.cs: Removed unused vars
- * XplatUIWin32.cs: Removed unused vars
- * XplatUIX11.cs: Removed unused vars
- * XplatUI.cs: Updated version and date to latest published
- 2005-10-13 Peter Dennis Bartok <[email protected]>
- * Cursor.cs: Added private .ctor to work around a bug in
- resourceset (Thanks to Geoff Norton for the help on this)
- * SplitterEventArgs.cs: Made fields accessible so we don't
- waste boatloads of objects and can reuse the same one
- in Splitter
- * XplatUIWin32.cs(DrawReversibleLine): Now also considers
- any captions and borders when generating screen coordinates
- * Splitter.cs: Reimplemented control, now fully complete, uses
- rubberband drawing, supports and obeys all properties, has
- proper cursors
- 2005-10-13 Miguel de Icaza <[email protected]>
- * Form.cs (Form): Setup default values for autoscale and
- autoscale_base_size; Make these instance variables, not static
- variables.
- (OnLoad): on the first load, adjust the size of the form.
- 2005-10-13 Peter Dennis Bartok <[email protected]>
- * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
- width argument to DrawReversibleRectangle()
- * XplatUIWin32.cs, XplatUIX11.cs:
- - Implemented width for DrawReversibleRectangle()
- - Added logic to DrawReversibleRectangle that recognizes a zero
- width or height and only draws a line in that situation
-
- 2005-10-12 Peter Dennis Bartok <[email protected]>
- * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
- * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
- * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
- method (it uses our FosterParent window to get a graphics context)
- 2005-10-12 Peter Dennis Bartok <[email protected]>
- * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
- and SetWindowBackground methods
- * Control.cs:
- - Setting proper ControlStyles
- - We no longer call XplatUI.SetWindowBackground and XplatUI.
- EraseWindowBackground, instead we draw the window background
- ourselves in PaintControlBackground. This behaviour is
- required to match MS, where, when OnPaintBackground is not
- called, the background is not drawn.
- - Removed unneeded Refresh() in set_Text
- * Hwnd.cs: Dropped the ErasePending support. No longer needed
- * XplatUIX11.cs:
- - Created DeriveStyles method to translate from CreateParams to
- FormBorderStyle and TitleStyle, also handles BorderStyle (which
- matches FormBorderStyle enum values)
- - Consolidated SetHwndStyles and CalculateWindowRect border/title
- style calculations into single DeriveStyles method
- - Fixed CreateWindow to (finally) use Gravity. This prevents X11
- from redrawing the whole window on any resize or expose.
- - Fixed CreateWindow usage of SetWindowValuemask. Before not
- all styles were applied to our whole/client window appropriately
- - Removed EraseWindowBackground() and SetWindowBackground() methods
- - Removed handling of WM_ERASEBKGND message from DefWndProc, we
- no longer clear/redraw the background through X
- - Removed handling of erase_pending bit, we have no use for it (or
- so it seems)
- * XplatUIOSX.cs:
- - Removed generation and handling of WM_ERASEBKGND message
- - Removed EraseWindowBackground() and SetWindowBackground() methods
- - Removed handling of hwnd.ErasePending flag
- * XplatUIWin32.cs:
- - Removed EraseWindowBackground() and SetWindowBackground() methods
- - We no longer call EraseWindowBackground on PaintEventStart, we
- ignore the fErase flag, erasing is handled in Control in the
- background handler
- * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
- LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
- TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
- CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
- DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
- TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
- DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
- 2005-10-12 Jonathan Chambers <[email protected]>
- * PropertyGrids.cs: Get sub properties
- * PropertyGridView.cs: Fix drawing code
- 2005-10-11 Jordi Mas i Hernandez <[email protected]>
- * ListBox.cs: Fixes 76383
- 2005-10-11 Jordi Mas i Hernandez <[email protected]>
- * DataGridTextBoxColumn.cs: Sets location and size before attachment
- * ThemeWin32Classic.cs: Fixes border drawing and calculations
- * DataGridDrawingLogic.cs: Fixes border drawing and calculations
- 2005-10-11 Jordi Mas i Hernandez <[email protected]>
- * ComboBox.cs: Fixes border drawing
- 2005-10-10 Miguel de Icaza <[email protected]>
- * MimeIcon.cs: Ignore errors if the file can not be read.
- 2005-10-11 Jordi Mas i Hernandez <[email protected]>
- * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
- - Fixed border calculations
- - Fixed horizontal scrolling in single column listboxes
- - Fixed drawing issues
- 2005-10-10 Peter Dennis Bartok <[email protected]>
- * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
- FormBorderStyle enum
- * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
- code to determine FormBorderStyles from CreateParams
- * Form.cs:
- - Fixed bug where we'd set the wrong window styles if we were
- not creating an MDI window
- - Added call to XplatUI.SetBorderStyle when form borders are set
- * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
- * Hwnd.cs:
- - Removed obsolete edge style
- - Switched from BorderStyle to FormBorderStyle
-
- 2005-10-10 Jackson Harper <[email protected]>
- * Form.cs: Use the property to get the window handle instead of
- accessing it directly. Prevents a null reference exception.
- 2005-10-10 Jackson Harper <[email protected]>
- * TreeView.cs: Don't adjust the rect given to DrawString now that
- our libgdiplus draws correctly.
- 2005-10-08 Jackson Harper <[email protected]>
- * TreeView.cs: Don't try to find the clicked on node if there are
- no nodes in the tree.
- 2005-10-08 Alexander Olk <[email protected]>
- * RichTextBox.cs:
- restore
- 2005-10-08 Alexander Olk <[email protected]>
- * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
- ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
- ErrorProvider.cs:
- Use ResPool for brushes and dispose System.Drawing objects that
- are not used anymore.
- 2005-10-07 Jackson Harper <[email protected]>
- * MdiChildContext.cs: Use the new borders instead of drawing them
- ourselves.
- 2005-10-06 Jordi Mas i Hernandez <[email protected]>
- * Calling UpdateBounds after changing the window's BorderStyle
- since the style can change the ClientSize
- 2005-10-06 Peter Dennis Bartok <[email protected]>
- * Control.cs: Made PaintControlBackground virtual
- * Panel.cs: Overriding PaintControlBackground instead of using paint
- event; paint event method was interfering with 'real' users of the
- event.
- 2005-10-06 Jordi Mas i Hernandez <[email protected]>
- * ThemeWin32Classic.cs: remove border drawing since it is handled
- by the base control class now and was causing double border drawing.
- 2005-10-06 Peter Dennis Bartok <[email protected]>
- * Panel.cs: Redraw our background on paint. Not a pretty solution,
- but it does seem to match MS behaviour. This fixes bug #75324
- 2005-10-06 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs: A better DrawReversibleRectangle version, however
- somewhat hackish looking
- 2005-10-06 Peter Dennis Bartok <[email protected]>
- * TextBoxBase.cs:
- - We now accept Enter even if AcceptEnter is false, if the containing
- form does not have an AcceptButton configured (fixes bug #76355)
- - Calculations are now fixed to no longer use Width/Height, but
- ClientSize.Width/Height, since we now support borders (this was
- a result of fixing borders and therefore bug #76166)
- - We no longer show the horizontal scrollbar if TextBox.WordWrap is
- true (fixes bug #76354)
-
- 2005-10-06 Peter Dennis Bartok <[email protected]>
- * Control.cs:
- - Defaulting BorderStyle and setting it in XplatUI when our window
- is created
- - Added enum check to InternalBorderStyle setter
- * XplatUIX11.cs:
- - Added drawing of window borders
- - Now properly calculates WM decorations offset for toplevel
- windows (fixes bug #74763)
- * XplatUIWin32.cs:
- - Implemented BorderStyles for windows (we're letting win32 draw
- the border for us)
- - Fixed the signature for SetWindowLong
- * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
- ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
- setting borders
- * UpDownBase.cs: Remove drawing of borders, this is handled by
- the driver, outside the client area
- * ListView.cs: Removed bogus border calculations. The control should
- be oblivious to borders, since those are not part of the client
- area.
- * X11DesktopColors.cs: Commented out (currently) unneeded variables
- * ThemeWin32Classic.cs: Removed border calculations from ListView
- drawing code
- 2005-10-06 Jackson Harper <[email protected]>
- * MdiChildContext.cs: Clear out the old virtual position remove
- all the unneeded calls to CreateGraphics.
- 2005-10-06 Peter Dennis Bartok <[email protected]>
- * TextControl.cs: Use proper color for highlighted text; fixes #76350
- 2005-10-06 Peter Dennis Bartok <[email protected]>
- * Form.cs:
- - Added loading and setting of our new default icon
- - Only set icon if window is already created
- 2005-10-06 Peter Dennis Bartok <[email protected]>
- * Label.cs:
- - Do not explicitly set the foreground and background colors, to
- allow inheriting from parents (fixes #76302)
- - Use Control's InternalBorderStyle property to deal with borders
- 2005-10-06 Jackson Harper <[email protected]>
- * MdiChildContext.cs: Use the new xplatui function to draw a
- reversible rect.
- 2005-10-06 Jackson Harper <[email protected]>
- * Form.cs: Add the parent before creating the child context cause
- we need the parent when setting up the child.
- 2005-10-06 Jackson Harper <[email protected]>
- * FolderBrowserDialog.cs: redo the tree population code so a
- second thread isn't used. Should be a lot faster and more stable
- now.
- 2005-10-05 Jackson Harper <[email protected]>
- * TreeView.cs: There are no expand/collapse boxes if the node has
- no children.
- 2005-10-05 Jackson Harper <[email protected]>
- * X11DesktopColors.cs: Get menu colours for the gtk theme.
- 2005-10-05 Alexander Olk <[email protected]>
- * FileDialog.cs: Fix InitialDirectory
- 2005-10-05 Jordi Mas i Hernandez <[email protected]>
- * ComboBox.cs:
- - Fixes changing between styles
- - Fixes simple mode
- - Fixes last item crashing when navigating with keyboard
- 2005-10-05 Jordi Mas i Hernandez <[email protected]>
- * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
- 2005-10-05 Jackson Harper <[email protected]>
- * TreeView.cs: If updating the root node do a full refresh.
- * TreeNode.cs: The root node should be expanded by default. Also
- added a utility prop to tell if we are the root node.
- * TreeNodeCollection.cs: Only refresh if the node we are being
- added to is expanded. Also added a comment on a potential
- optimization.
-
- 2005-10-04 Peter Dennis Bartok <[email protected]>
- * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
- in dispose method. Fixes #76330
- 2005-10-04 Jordi Mas i Hernandez <[email protected]>
- * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
- - Implements vertical and horizontal scrolling using XplatUI
- - Fixes keyboard navagation
- - Fixes EnsureVisible
- - Drawing fixes
- - Handles and draws focus properly
- 2005-10-04 Kornél Pál <[email protected]>
- * ImageList.cs: Use upper case initials for internal fields. ImageStream:
- Create handle. NET_2_0: Destroy handle when value is null.
- 2005-10-03 Jackson Harper <[email protected]>
- * ScrollBar.cs: My last scrollbar patch was broken. This is a
- revert and a new patch to prevent the thumb from refreshing so
- much.
- 2005-10-02 Jackson Harper <[email protected]>
- * ScrollBar.cs: Don't update position if it hasn't actually
- changed. This occurs when you hold down the increment/decrement
- buttons and the thumb gets to the max/min.
- 2005-10-01 Jackson Harper <[email protected]>
- * Form.cs:
- * MdiChildContext.cs:
- * MdiClient.cs: Implement ActiveMdiChild in Form.
- 2005-10-01 Jordi Mas i Hernandez <[email protected]>
- * ComboBox.cs: Include ComboBoxEdit flag for the edit item
- 2005-10-01 Peter Dennis Bartok <[email protected]>
- * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
- be found
- 2005-09-30 Jackson Harper <[email protected]>
- * ListBox.cs: Don't do a full refresh unless some data has
- actually changed.
- 2005-09-30 Jackson Harper <[email protected]>
- * TreeView.cs: Make sure that the checkboxes size is factored in
- even when not visible.
- 2005-09-30 Peter Dennis Bartok <[email protected]>
- * FileDialog.cs: Fix Jordi's build break
- 2005-09-30 Jordi Mas i Hernandez <[email protected]>
- * FileDialog.cs:
- - Use standard the Windows colours for the combobox as espected
- - Dispose objects that use resouces when no longer need them
- 2005-09-30 Peter Dennis Bartok <[email protected]>
- * X11DesktopColors.cs: Initial incomplete implementation
- * XplatUIX11.cs: Added call to initialize X11DesktopColors
- 2005-09-30 Peter Dennis Bartok <[email protected]>
- * Theme.cs:
- - Switched Theme color names to match the names defined in
- System.Drawing.KnownColors. Life's hard enough, no need to make
- it harder.
- - Added setters to all theme color properties so themes can set
- their color schemes. The setters also propagate the color changes
- to System.Drawing.KnownColors via reflection
- * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
- ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
- DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
- use the new, more logical theme color names
- * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
- post-NT colors
- * ThemeWin32Classic.cs:
- - Removed code to set the old classic Windows colors. Instead it
- now relies on the colors returned by System.Drawing.KnownColors
- which will be either modern static colors (Unix) or colors
- read from the user's configuration (Win32)
- - Updated to use the new, more logical theme color names
- - Switched DataGrid drawing code to use only Theme colors instead of
- a mix of System.Drawing.KnownColors and Theme colors
- - DrawFrameControl(): Removed code that fills the button area, the
- fill would overwrite any previous fill done by a control. This
- fixes bug #75338
- - Added DrawReversibleRectangle() stub
- * ScrollableControl.cs: Set visible state to false when scrollbars
- are removed (pdn fix)
- * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
- DrawReversibleRectangle() method to allow drawing primitive
- 'rubber bands'
- * XplatUIX11.cs: Implemented DrawReversibleRectangle()
- 2005-09-30 Kornél Pál <[email protected]>
- * ImageList.cs: Add(Icon): Create handle.
- 2005-09-30 Jordi Mas i Hernandez <[email protected]>
- * ListView.cs:
- * ThemeWin32Classic.cs:
- - Fixes detail mode
- - Sets clippings
- - Issues with drawing
- 2005-09-30 Kornél Pál <[email protected]>
- * ImageList.cs: Moved RecreateHandle back to ImageList as event
- source has to be the ImageList.
- 2005-09-30 Kornél Pál <[email protected]>
- * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
- 2005-09-30 Kornél Pál <[email protected]>
- * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
- 2005-09-30 Kornél Pál <[email protected]>
- * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
- 2005-09-29 Jonathan Chambers <[email protected]>
- * GridItem.cs: Fixed TODOs
- * GridItemCollection.cs: Added ICollection interface
- 2005-09-30 Kornél Pál <[email protected]>
- * ImageList.cs: Resize icons when needed.
- 2005-09-29 Jordi Mas i Hernandez <[email protected]>
- * ListViewItem.cs
- - Fixes GetBounds and returns on screen rects
- * ListView.cs:
- - Fixes vertical and horzintal scrolling of items
- * ThemeWin32Classic.cs:
- - Fixes drawing
-
- 2005-09-29 Raja R Harinath <[email protected]>
- * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
- 2005-09-29 Kornél Pál <[email protected]>
- * ImageList.cs: Added comments about handle creation. Moved Handle,
- HandleCreated and OnRecreateHandle implementations to ImageCollection.
- Handle is created in Add methods.
- 2005-09-28 Jordi Mas i Hernandez <[email protected]>
-
- * DataGridDrawingLogic.cs:
- - Takes rows into account on Colum calculations
- - Returns the column when clickig
- * DataGrid.cs:
- - Fixes default HitTestInfo values
- - Fixes HitTestInfo.ToString
- - Fixes ResetBackColor
-
- 2005-09-28 Jackson Harper <[email protected]>
- * MdiChildContext.cs: Obey rules for fixed sized windows (no
- sizing or cursor changes). Also added some temp code to draw the
- titlebars text (Makes dev a little easier).
- 2005-09-28 Kornél Pál <[email protected]>
- * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
- 2005-09-28 Jordi Mas i Hernandez <[email protected]>
-
- * ListBox.cs: Fixes bug 76253
- 2005-09-28 Kornél Pál <[email protected]>
- * ImageList.cs: Added comments about the current implementation. Added
- ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
- Format32bppArgb to preserve transparency and can use Graphics.FromImage
- while using the specified ColorDepth. ReduceColorDepth uses unsafe code
- with Bitmap.LockBits for better performance. Revised the whole file to
- match MS.NET behaviour and provide better performance. Non-public
- interface members are calling public members even when they throw
- NotSupportedException for better maintainability. Moved ColorDepth,
- ImageSize, ImageStream and TransparentColor implementations to
- ImageCollection for better performance as these properties are not used
- by ImageList.
- * ImageListStreamer.cs: Added a new internal constructor that takes an
- ImageList.ImageCollection and serializes Images based on
- ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
- match ImageList property name.
- 2005-09-28 Kazuki Oikawa <[email protected]>
- * ListBox.cs: Fixes IndexFromPoint for last item
- 2005-09-27 Jackson Harper <[email protected]>
- * Form.cs: Set the position of new mdi children correctly.
- 2005-09-27 Jackson Harper <[email protected]>
- * MdiClient.cs: New mdi children need to be added to the back of
- the controls collection so the zorder is set correctly. Also add a
- count of all the child windows that have been created.
- 2005-09-27 Jackson Harper <[email protected]>
- * Form.cs (CreateParams): Setup MDI forms correctly.
- 2005-09-27 Jackson Harper <[email protected]>
- * MdiChildContext.cs:
- * MonthCalendar.cs:
- * UpDownBase.cs:
- * ListBox.cs:
- * ListView.cs:
- * TextBoxBase.cs:
- * TreeView.cs:
- * ScrollableControl.cs:
- * ComboBox.cs: Add implicit controls using the new implict control
- functionality in ControlCollection. Also try to block multiple
- control add in a suspend/resume layout to save some cycles.
-
- 2005-09-27 Jackson Harper <[email protected]>
- * Control.cs: Add functionality to the controls collection to add
- 'implicit controls' these are controls that are created by the
- containing control but should not be exposed to the user. Such as
- scrollbars in the treeview.
- * Form.cs: The list var of the ControlsCollection is no longer
- available because of the potential of implicit controls getting
- ignored by someone accessing the list directly.
- 2005-09-26 Peter Dennis Bartok <[email protected]>
- * Control.cs: Fixed SetChildIndex; it no longer causes a child to
- loose it's parent. (Fixed bug introduced in r49103 when we added
- setting the child parent to null on Remove)
- 2005-09-26 Gert Driesen <[email protected]>
- * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
- * Splitter.cs: Added missing attributes for BorderStyle property.
- * TextBoxBase.cs: Marked Calculate* methods internal.
- * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
- MS.NET.
- 2005-09-26 Jordi Mas i Hernandez <[email protected]>
-
- * ListBox.cs: Fixes navigation to the last item in multicolumn lists
- 2005-09-25 Jackson Harper <[email protected]>
- * TreeView.cs: Update the node bounds correctly regardless of
- whether the node is visible.
- 2005-09-25 Jackson Harper <[email protected]>
- * ImageList.cs: Don't dispose the image after it is added to the
- image list. Only reformat images that need to be resized.
- 2005-09-25 Jackson Harper <[email protected]>
- * ImageList.cs: Don't set the format when changing the image.
- 2005-09-25 Jackson Harper <[email protected]>
- * TreeView.cs: We can't just assume the node has a font. Use the
- treeviews font if no node font is available.
- 2005-09-25 Jackson Harper <[email protected]>
- * TreeView.cs: Allow the scrollbars to be reset with negative
- values.
- - Don't add scrollbars to negative sized windows.
- 2005-09-23 Jackson Harper <[email protected]>
- * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
- old Mono.Posix. Also remove some stray code that shouldn't have
- been committed.
- 2005-09-23 Jackson Harper <[email protected]>
- * TreeView.cs: Attempt at proper sizing of the horizontal
- scrollbar. Also don't resize the scrollbars unless they are
- visible.
- 2005-09-23 Jackson Harper <[email protected]>
- * TreeView.cs: We don't need to expand the invalid area when the
- selection changes, as this is all drawn in the node's bounding
- box. The area needs to be expanded (previous typo was contracting
- it) when the focus rect moves.
- 2005-09-23 Jackson Harper <[email protected]>
- * TreeView.cs: Display the selection box under the correct
- circumstances. We were rendering white text with no selection box
- before.
- 2005-09-23 Peter Dennis Bartok <[email protected]>
- * TextControl.cs(Split): Now updates selection start/end if it points
- into a line that's being split. Fixes a FIXME and bug #75258
- 2005-09-23 Jackson Harper <[email protected]>
- * Binding.cs:
- * ListControl.cs: Don't use the path when retrieving binding
- managers from the binding context. My bat sense tells me that the
- path is only used on insertion.
- 2005-09-22 Jackson Harper <[email protected]>
- * Splitter.cs: Set the cursor an easier way. (Thanks peter).
- 2005-09-22 Jackson Harper <[email protected]>
- * Splitter.cs: There are special cursors used for splitting.
- * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
- 2005-09-22 Jackson Harper <[email protected]>
- * Splitter.cs: Change the cursor appropriately when the splitter
- is moused over, so the user actually knows there is a splitter
- there.
- 2005-09-22 Hisham Mardam Bey <[email protected]>
- * Label.cs : Fix ToString method to give same output as MS.NET
- 2005-09-22 Jackson Harper <[email protected]>
- * TreeView.cs: Create the scrollbars when the handle is created
- and add them right away, just make them invisble. Also account for
- the window being shrunk vertically to the point that the vert
- scrollbar needs to be added.
- - Remove some 0.5 adjustments to get around anti aliasing issues.
-
- 2005-09-22 Jordi Mas i Hernandez <[email protected]>
-
- * MainMenu.cs: Fixes default value
- * MenuItem.cs: Fixes default value
- 2005-09-22 Kazuki Oikawa <[email protected]>
- * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
- 2005-09-21 Jackson Harper <[email protected]>
- * Control.cs: Don't try to set the border style on the window if
- it hasn't been created. When the window is created the border
- style will be used.
- 2005-09-21 Peter Dennis Bartok <[email protected]>
- * Control.cs (Update): Don't call XplatUI if we don't have a
- window handle yet
- 2005-09-21 Peter Dennis Bartok <[email protected]>
- * ContainerControl.cs: Instead of throwing an exception, print
- a one-time warning about Validate not being implemented
- * XplatUIWin32.cs: Removed debug output
- 2005-09-21 Peter Dennis Bartok <[email protected]>
- * Control.cs: Only set XplatUI background if we expect the windowing
- system to handle the background. This stops controls that draw their
- own background from flickering
- * XplatUIX11.cs: Support custom visuals and colormaps for window
- creation. This allows, amongst other things, using MWF X11 windows
- with OpenGL.
- 2005-09-21 Peter Dennis Bartok <[email protected]>
- * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
- CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
- GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
- SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
- TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
- IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
- KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
- RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
- ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
- ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
- GridColumnStylesCollection.cs,
- IDataGridColumnStyleEditingNotificationService.cs,
- PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
- MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
- GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
- TreeNodeCollection.cs, AmbientProperties.cs,
- RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
- DataObject.cs, ErrorProvider.cs, Splitter.cs,
- DataGridLineStyle.cs, Shortcut.cs, Control.cs,
- FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
- BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
- IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
- FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
- IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
- NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
- PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
- SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
- FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
- DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
- ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
- RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
- MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
- ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
- CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
- MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
- NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
- ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
- SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
- Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
- RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
- DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
- ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
- PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
- DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
- ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
- AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
- RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
- CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
- SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
- Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
- SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
- ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
- TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
- 2005-09-21 Jackson Harper <[email protected]>
- * TreeNode.cs: Call Before/After Expand not Collapse when
- expanding.
- 2005-09-20 Jackson Harper <[email protected]>
-
- * XplatUIX11.cs: Use the more hand looking hand (in most themes).
- 2005-09-16 Jordi Mas i Hernandez <[email protected]>
-
- * ListViewItem.cs:
- - Fixes bug 76120
- - Fixes proper storing of subitems
- - Fixes not updated items
- 2005-09-20 Peter Dennis Bartok <[email protected]>
- * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
- things if our window handle isn't created yet. Also disabled
- debug for TextBoxBase
- 2005-09-20 Peter Dennis Bartok <[email protected]>
- * MenuAPI.cs: Remove filtering of events to allow menu usage
- 2005-09-20 Miguel de Icaza <[email protected]>
- * Cursor.cs: Allow null to be passed to Cursor.Current.
- 2005-09-20 Alexander Olk <[email protected]>
- * ThemeWin32Classic.cs:
- - Change some private methods/fields to protected virtual so that
- they can be accessed and overriden in derived classes
- - First refactoring of some methods. Derived themes now don't
- need to duplicate the complete code from ThemeWin32Classic
- * ThemeNice.cs:
- - Added nice StatusBar
- - Derive from ThemeWin32Classic and not Theme
- - Removed duplicate ThemeWin32Classic code
- 2005-09-20 Miguel de Icaza <[email protected]>
- * Control.cs (ControlCollection.Add): If the value null is passed
- the control is ignored.
- Optimize this loop.
- 2005-09-19 Peter Dennis Bartok <[email protected]>
- * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
- PostQuitMessage state.
- * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
- 2005-09-19 Peter Dennis Bartok <[email protected]>
- * Application.cs: Our constructor will never get called, move
- initialization to fields; fixes bug #75933
- 2005-09-19 Hisham Mardam Bey <[email protected]>
- * FileDialog.cs :
- - Allow files to be selected properly using file name
- combo box.
- - Add ability to change diretory (absolute / relative)
- using file name combo box.
- 2005-09-16 Jordi Mas i Hernandez <[email protected]>
-
- * ListBox.cs:
- - Fixes Multicolumn listboxes item wrong calculations
- - Allows to click when only one item is in the listbox
- - Fixes crash when no items using keyboard navigation
- 2005-09-16 Alexander Olk <[email protected]>
- * ComboBox.cs: Reverted almost everything from the latest patch which
- broke ComboBox
- 2005-09-16 Kazuki Oikawa <[email protected]>
-
- * ToolTip.cs:
- - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
- * ComboBox.cs:
- - When DropDownStyle is Simple, it does not show scrollbar
- to the last item of the list.
- - When DropDownStyle is Simple, it crashed when the list was
- scrolled down with the down cursor key.
- - Fixed a bug that when DropDownStyle is DropDownList, the
- selected item was not shown.
- - The position of the selected item was not preserved when
- the next dropdown happened.
- * ThemeWin32Classic.cs:
- - Items were wrapped at the right end.
- * CheckedListBox.cs:
- - Fixed Add method
- * ListBox.cs:
- - Items should be fully shown.
- - When resizing and vertical scrollbar disappeared, the item
- of index 0 should be on the top of the list.
- - GetItemRectangle should consider the size of ver. scrollbar
- * StatusBar.cs:
- - SizingGrip area should not be allocated when it is not
- displayed.
- - Now it reflects MinWidth of the containing panel and
- fixed a crash that happens when its width becomes so small.
- 2005-09-13 Jordi Mas i Hernandez <[email protected]>
- * CheckedListBox.cs: Fixes bug 76028
- * ListBox.cs: Fixes bug 76028
- 2005-09-13 Jordi Mas i Hernandez <[email protected]>
- * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
- * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
- 2005-09-12 Jordi Mas i Hernandez <[email protected]>
- * XplatUIX11.cs: fixes System.NullReferenceException in some situations
- 2005-09-09 Jonathan Chambers <[email protected]>
- * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
- 2005-09-09 Jonathan Chambers <[email protected]>
- * IRootGridEntry.cs: Added
- * PropertyGridCommands.cs: Added
- * PropertiesTab.cs: Added missing methods and property
- * PropertyGridView.cs: Made class internal
- * PropertyGridTextBox.cs: Made class internal
- 2005-09-09 Alexander Olk <[email protected]>
- * MimeIcon.cs: Try to check some other environment variables
- if "DESKTOP_SESSION" returns "default"
- 2005-09-09 Alexander Olk <[email protected]>
- * ThemeNice.cs: Corrected background colors (e.g. menus)
- * ColorDialog.cs: Use correct background colors for controls
- 2005-09-09 Alexander Olk <[email protected]>
- * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
- 2005-09-08 Peter Dennis Bartok <[email protected]>
- * RichTextBox.cs: Added initial implementation
- * lang.cs: Removed. Was accidentally checked in long time ago
- * TODO: Removed. Contents were obsolete
- 2005-09-06 Jonathan Chambers <[email protected]>
-
- * PropertiesTab.cs : Added
- 2005-09-06 Jonathan Chambers <[email protected]>
-
- * PropertyGrid.cs : Update
- * PropertyGridView.cs : Update
- * System.Windows.Forms.resx : Added images and strings
- 2005-09-06 Peter Dennis Bartok <[email protected]>
- * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
-
- 2005-09-06 Peter Dennis Bartok <[email protected]>
- * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
- a busy loop right after the Ungrab the X11 display is otherwise
- blocked
- 2005-09-06 Jordi Mas i Hernandez <[email protected]>
- * ThemeWin32Classic.cs: Optimise the use of clipping
- 2005-09-05 Jordi Mas i Hernandez <[email protected]>
- * DataGrid.cs: fixes recursion bug
- 2005-09-03 Alexander Olk <[email protected]>
- * ThemeNice.cs:
- - Draw RadioButton and CheckBox Buttons with DrawButtonBase
- - Cleanup
- 2005-09-02 Alexander Olk <[email protected]>
- * ThemeNice.cs: Draw nice ProgressBars
- 2005-09-01 Miguel de Icaza <[email protected]>
- * VScrollBar.cs: Another buglet found by Aaron's tool.
- * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
- bug finder.
- 2005-08-30 Alexander Olk <[email protected]>
- * ThemeNice.cs:
- - Added nicer menu drawing
- - Updated DrawTab
- - some refactoring
- 2005-08-30 Peter Dennis Bartok <[email protected]>
- * CreateParams.cs (ToString): Made output match MS
- * Control.cs (Text): Don't set Text or Focus via XplatUI unless
- handle is already created (to avoid forcing window creation)
- * XplatUIX11.cs: Set window text to caption after creating window,
- in case Text was set before window was created
- * Form.cs: Use this.Text instead of a static string as caption
- 2005-08-30 Peter Dennis Bartok <[email protected]>
- * NotifyIcon.cs: Don't set the window to visible; this screws
- up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
- OnPaint without a bitmap)
- * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
- happen very often anyway; we could add the check to the WM_PAINT
- event generation code
- 2005-08-30 Peter Dennis Bartok <[email protected]>
- * NotifyIcon.cs: Fill the icon area with a background color, to
- avoid 'residue' when transparent icons are drawn
- * XplatUIX11.cs:
- - Handle whole_window == client_window when destroying windows
- - SystrayAdd(): Set client_window to whole_window value to
- get mouse and other events passed to NotifyIcon
- 2005-08-30 Peter Dennis Bartok <[email protected]>
- * Form.cs: Set proper default for Opacity property
- * NotifyIcon.cs:
- - ShowSystray(): Don't bother creating telling the OS
- about the systray item if no icon is provided
- - Now handles WM_NCPAINT message to deal with whole/client window
- split
- - Create window as visible to not get caught by Expose optimization
- * Hwnd.cs: Removed debug message
- * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
- StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
- PaintEventStart/End to use new client argument
- * TextBoxBase.cs:
- - Commented out debug messages
- - Switched PaintEventStart/End to use new client argument
- * XplatUI.cs: Added client window bool to PaintEventStart()/
- PaintEventEnd() calls, to support drawing in non-client areas
- * XplatUIDriver.cs:
- - Added client window bool to PaintEventStart()/PaintEventEnd()
- calls, to support drawing in non-client areas
- - Added conditional compile to allow using MWF BeginInvoke
- on MS runtime
- * XplatUIX11.cs:
- - Added some conditional debug output
- - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
- whole/client window split
- - Implemented handling of client argument to PaintEventStart()/End()
- * Control.cs:
- - Throw exception if BeginInvoke() is called and the window handle
- or one of the window's parent handles is not created
- - Added conditional compile to allow using MWF BeginInvoke on
- MS runtime
- - get_Parent(): Only sets parent if handle is created. This avoids
- forcing window handle creation when parent is set.
- - Now fires Layout and Parent changed events in proper order
- - Switched to use Handle instead of window.Handle for Z-Order setting,
- the get_Parent() patch above causes us to possibly get null for 'window'
- - Implemented handling of client argument to PaintEventStart()/End()
- - Now reports back to windows that WM_SETCURSOR was handled (to avoid
- default handling)
- - Now sends a Refresh() to all child windows when Refresh() is called
- 2005-08-29 Peter Dennis Bartok <[email protected]>
- * Form.cs: Added (non-functional) Opacity property
- * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
- 2005-08-29 Alexander Olk <[email protected]>
- * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
- use export MONO_THEME=nice to activate it.
- Currently supported controls:
- - Button
- - ComboBox
- - ScrollBar
- - TabControl (TabAlignment.Top only, other will follow)
- * ThemeEngine.cs: Add theme nice
- * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
- if enabled
- 2005-08-25 Jonathan Chambers <[email protected]>
- * Splitter.cs: Resize docked control and its neighbor.
- 2005-08-24 Rafael Teixeira <[email protected]>
- -- Making Windows with Menus layout correctly --
- * Form.cs : The first leg of the fix
- Menu setter - adjust Client Size as needed to make space for the menu
- SetClientSizeCore - doesn't call base version to be able to pass the
- menu handle to XplatUI.CalculateWindowRect
- * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
- * XplatUIX11.cs: The critical second leg of the fix
- GetWindowPos needs to use a recalculated client_rect
- so that resizing the window doesn't break layout of child controls.
- Also a more complete rule to avoid X Server roundtrips in SetWindowPos
- Lots of \t\n killed
- 2005-08-23 Peter Dennis Bartok <[email protected]>
- * Label.cs: Now properly recalculates width and height on Font and Text
- changes if AutoSize is set
- 2005-08-19 Rafael Teixeira <[email protected]>
- * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
- 2005-08-19 Jordi Mas i Hernandez <[email protected]>
- * ImageList.cs: Makes ToString method compatible with MS
- 2005-08-18 Jordi Mas i Hernandez <[email protected]>
- * MenuAPI.cs: fixes bug 75716
- 2005-08-11 Umadevi S <[email protected]>
- * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
- 2005-08-11 Umadevi S <[email protected]>
- * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
- 2005-08-10 Umadevi S <[email protected]>
- * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
- 2005-08-07 Jordi Mas i Hernandez <[email protected]>
- * Menu.cs: fixes bug 75700
- * MenuAPI.cs: fixes navigation issues
- 2005-08-09 Umadevi S <[email protected]>
- * CheckedListBox.cs - simple fix for GetItemChecked.
- 2005-08-08 Jordi Mas i Hernandez <[email protected]>
- * ComboBox.cs: Serveral fixes
- * ListBox.cs: Serveral fixes
- 2005-08-05 Jordi Mas i Hernandez <[email protected]>
- * ComboBox.cs: Fixes FindString methods and GetItemHeight
- * ListBox.cs: Fixes FindString methods
- 2005-08-05 Jordi Mas i Hernandez <[email protected]>
- * DataGrid.cs: fixes bugs exposed by new tests
- 2005-08-04 Peter Dennis Bartok <[email protected]>
- * Mime.cs: Compile Mono assembly references only if compiling
- with Mono (Allows to build with VS.Net again)
- 2005-07-28 Marek Safar <[email protected]>
- * Control.cs (PaintControlBackground): Draw background image
- corrrectly.
- (CheckForIllegalCrossThreadCalls): Stubbed.
-
- * Form.cs (OnCreateControl): Center when should be centered.
-
- * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
- 2005-07-19 Jordi Mas i Hernandez <[email protected]>
- * Binding.cs: Binding to properties should be case unsensitive
- 2005-07-18 [email protected]
- * DataGrid.cs: fixes setmember order
- 2005-07-07 Alexander Olk <[email protected]>
- * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
- * FileDialog.cs: FileDialog is now resizable and uses the new
- MimeIconEngine
- 2005-07-06 Jordi Mas i Hernandez <[email protected]>
- * DataGridTextBoxColumn.cs: default value
- * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
- * GridTableStylesCollection.cs: fixes checking MappingName
- * DataGridDrawingLogic.cs: fixes drawing logic issues
- * DataSourceHelper.cs: rewritten to make compatible with more data sources
- * DataGrid.cs: fixes
- 2005-07-06 Alexander Olk <[email protected]>
- * MimeGenerated.cs: Use case sensitive comparer for
- NameValueCollections
- 2005-07-01 Jordi Mas i Hernandez <[email protected]>
- * DataGridTextBoxColumn.cs: bug fixes, code refactoring
- * ThemeWin32Classic.cs: bug fixes, code refactoring
- * DataGridDrawingLogic.cs: bug fixes, code refactoring
- * DataGrid.cs: bug fixes, code refactoring
- * DataGridTextBox.cs: bug fixes, code refactoring
- * DataGridColumnStyle.cs: bug fixes, code refactoring
- * Theme.cs: bug fixes, code refactoring
- 2005-07-01 Peter Bartok <[email protected]>
- * TextControl.cs: Quick fix for the reported crash on ColorDialog
- and other text box usage
- 2005-07-01 Jackson Harper <[email protected]>
- * TabControl.cs: Make sure the bottom of the tab covers the pages
- border.
- 2005-06-30 Peter Bartok <[email protected]>
- * Form.cs (ShowDialog): Assign owner of the dialog
- * TextBoxBase.cs: Always refresh caret size when deleting, caret
- might have been moved to a tag with different height
- 2005-06-30 Jackson Harper <[email protected]>
- * Form.cs: Don't create an infinite loop when setting focus
- * MenuItem.cs: Don't dirty the parents if we don't have any
- 2005-06-29 Ben Maurer <[email protected]>
- * LibSupport.cs: Rename
- 2005-06-29 Peter Bartok <[email protected]>
- * TextBoxBase.cs: Re-align caret after deleting a character
- * TextControl.cs:
- - DeleteChars(): Ensure that tag covers the provided position
- - StreamLine(): Drop reference for dropped tag
- 2005-06-29 Peter Bartok <[email protected]>
- * TextControl.cs:
- - Selections now work properly, anchoring at the initial location
- and properly extending in either direction (SetSelectionToCaret(),
- SetSelectionStart() and SetSelectionEnd())
- - No longer redraws the whole control on selection change, now
- calculates delta between previous and new selection and only
- invalidates/redraws that area
- - Fixed FindPos() math off-by-one errors
- - Changed DeleteChars() to verify the provided tag covers the
- provided position, selections may have a tag that doesn't cover
- the position if the selection is at a tag border
- - Fixed off-by-one errors in DeleteChars()
- - Added missing streamlining check in DeleteChars() to remove
- zero-length tags
- - Implemented Invalidate() method, now properly calculates exposures
- between two given lines/positions
- - Implemented SetSelection()
- - Obsoleted and removed FixupSelection()
- - Improved RecalculateDocument() logic, removing code duplication
- 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
- * LibSupport.cs: changes to match different input/output arguments.
- 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
- * LibSupport.cs: added libsupport.so init routine.
- 2005-06-29 Jordi Mas i Hernandez <[email protected]>
-
- * ControlBindingsCollection.cs
- - Throws an exception on null datasource when adding
- - Checks for duplicated bindings when adding
- 2005-06-28 Jackson Harper <[email protected]>
- * TreeView.cs (OnKeyDown): Support left and right properly
- (navigates as well as expanding and collapsing.
- - Add support for Multiply, this expands all the selected nodes
- children.
- - Fix some tabbing.
- 2005-06-28 Jackson Harper <[email protected]>
- * TreeView.cs: Implement keyboard navigation, currently supports,
- LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
- support for toggling checkboxes with the space bar.
- 2005-06-28 Jackson Harper <[email protected]>
- * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
- tree.
- 2005-06-28 Jackson Harper <[email protected]>
- * TreeView.cs: Add missing event.
- 2005-06-27 Peter Bartok <[email protected]>
- * TextControl.cs:
- - Made line ending size configurable (now allows for counting
- lineendings as \n or \r\n)
- - Added margin to viewport to keep caret visible on right side
- - Fixed translation routines for line/pos to documentpos to consider
- cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
- - Fixed some line-endings to be unix style
- - Fixed Document.FormatText to perform it's calculations 1-based
- - Added descriptions for a few methods that might otherwise get
- used wrong
- - Added NOTE section with some basic conventions to remember at
- the top of the file
- - Major fixup for RichTextBox selection drawing:
- * Fixed crashes when multiple tags on a single line were selected
- * fixed selection box drawing not overlaying text
- * fixed bogus offset calculation for tags not starting at index 1
- * Switched behaviour from using multiple Substrings of a
- StringBuilder.ToString() to using multiple
- StringBuilder.ToString(start, length) statements, hoping this is
- faster (kept original version commented out in the code, in case
- original version was faster)
- * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
- alignment != Left
- * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
- call it as well
- 2005-06-27 Jackson Harper <[email protected]>
- * TabControl.cs: Move to the left and right with the arrow
- keys. These keys don't cycle beyond first and last like
- tab. Refresh all the tabs when scrolling them to the left or
- right.
- 2005-06-27 Jackson Harper <[email protected]>
- * TabControl.cs:
- - ToString: Added method
- - CreateParams: Remove TODO and comment
- - OnKeyDown: Cycle through bounds properly.
- - SelectedIndex: Scroll to the right or left if we need to
- display the newly selected tab.
- 2005-06-23 Jackson Harper <[email protected]>
- * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
- set.
- 2005-06-23 Jackson Harper <[email protected]>
- * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
- CTRL-SHIFT-TAB, and HOME, END are there any others?
- 2005-06-23 Jackson Harper <[email protected]>
- * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
- 2005-06-22 Jordi Mas i Hernandez <[email protected]>
-
- * DataGridTextBoxColumn.cs: fixes and enhancements
- * ThemeWin32Classic.cs: fixes and enhancements
- * DataGridBoolColumn.cs: fixes and enhancements
- * DataGridDrawingLogic.cs: fixes and enhancements
- * CurrencyManager.cs: fixes and enhancements
- * DataGrid.cs: fixes and enhancements
- * DataGridColumnStyle.cs: fixes and enhancements
- 2005-06-22 Jackson Harper <[email protected]>
- * TabControl.cs: Add some missing methods that just call into the
- base. Make the TabPageCollection's IList interface behave in the
- same manner as the MS implementation.
- 2005-06-22 Peter Bartok <[email protected]>
- * TextControl.cs: Added sanity check
- * TextBoxBase.cs:
- - Fixed wrapping behaviour, don't set wrap on single line controls
- (this fixes the breakage of colordialog introduced in an earlier
- checkin)
- - Added rudimentary support for autoscrolling right-aligned controls
- (still needs fixing, also, center alignment scroll is missing)
- 2005-06-22 Jordi Mas i Hernandez <[email protected]>
-
- * ScrollBar.cs: Fixes thumbpos on Maximum values
- 2005-06-21 Jonathan Chambers <[email protected]>
-
- * PropertyGridView.cs: Pass context information to UITypeEditors
- 2005-06-21 Peter Bartok <[email protected]>
- * TextBoxBase.cs:
- - Now calling PositionCaret with absolute space coordinates
- - Enabled vertical scrolling
- - Better tracking of scrollbar changes, tied into WidthChange
- event
- - Improved cursor tracking
- - Removed debug output
- * TextControl.cs:
- - PositionCaret coordinates are now works in absolute space, not
- the canvas
- - Improved tracking of document size
- - Added events for width and height changes
- 2005-06-21 Peter Bartok <[email protected]>
- * Form.cs: Set focus to active control when form is activated
- * TextControl.cs:
- - Added word-wrap functionality to RecalculateLine()
- - Added some short function descriptions for VS.Net to aid in
- writing dependent controls
- - Added Caret property, returning the current coords of the caret
- - Added ViewPortWidth and ViewPortHeight properties
- - Added Wrap property
- - Added CaretMoved event
- - Removed some old debug code
- - Split() can now create soft splits
- - Added PreviousTag()/NextTag() to allow walking "tag-lists"
- - Added method to format existing text
- - Fixed size/alignment calculations to use viewport
- - RecalculateDocument now can handle changing line-numbers while
- calculating lines
- * TextBox.cs:
- - Added some wrap logic, we don't wrap if alignment is not left
- - Added casts for scrollbar var, base class switched types to
- also support RichTextBoxA
- - Implemented handling of scrollbar visibility flags
- * TextBoxBase.cs:
- - Switched scrollbars type to RichTextBoxScrollBars to support
- RichTextBox
- - Added tracking of canvas width/height
- - Switched scrollbars to be not selectable (to keep focus on text)
- - Added central CalculateDocument() method to handle all redraw
- requirements
- - Added ReadOnly support
- - Added WordWrap support
- - Fixed handling of Enter key (we now treat it as a DialogKey)
- - Fixed caret positioning when h or v scroll is not zero
- - Fixed placing/generation of vertical scrollbar
- - Added CalculateScrollBars() method to allow updating scrollbar
- limits and visibility
- - Fixed handling of horizontal scroll
- - Added handling of vertical scroll
- - Implemented auto-'jump' when caret moves to close to a left or
- right border and there is text to be scrolled into view (currently
- there's the potential for a stack overflow, until a bug in
- scrollbar is fixed)
- 2005-06-21 Geoff Norton <[email protected]>
-
- * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
- 2005-06-19 Alexander Olk <[email protected]>
- * Mime.cs:
- - added inodes.
- - return application/x-zerosize for files with size zero
- (if no extension pattern matches).
- - check matches collection for strings too.
- - return only the first mime type if the name value
- collection has more than one mime type.
- 2005-06-18 Jonathan Chambers <[email protected]>
-
- * PropertyGrid.cs: Cleaned up some TODOs
- * PropertyGridView.cs: Added support for UITypeEditors
- 2005-06-17 Jordi Mas i Hernandez <[email protected]>
-
- * DataGrid.cs: clears cached value
- 2005-06-17 Jordi Mas i Hernandez <[email protected]>
- * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
- * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
- * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
- * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
-
- 2005-06-16 Jordi Mas i Hernandez <[email protected]>
- * ThemeWin32Classic.cs: fixes colour
- 2005-06-15 Peter Bartok <[email protected]>
- * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
- * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
- * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
- * Control.cs: Added some MWFCategory and MWFDescription attributes
- * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
- 2005-06-15 Alexander Olk <[email protected]>
- * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
- usage
- 2005-06-14 Jordi Mas i Hernandez <[email protected]>
- * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
- * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
- * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
- * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
- * DataGrid.cs: default datagrid settings for Default Styles, fixes
- * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
- 2005-06-13 Jackson Harper <[email protected]>
- * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
- isn't printed when the user enables dropping. (X11 does accept
- drops).
-
- 2005-06-13 Jackson Harper <[email protected]>
- * TreeView.cs: Remove some TODOS.
- 2005-06-13 Jackson Harper <[email protected]>
- * Form.cs: Hook into the mdi framework.
- * MdiClient.cs: Use the base control collections add method so
- parents get setup correctly. Set the default back colour and dock
- style.
- * MdiChildContext.cs: New class, this bad actor handles an
- instance of an MDI window. Right now there is only basic
- support. You can drag, close, and resize windows. Minimize and
- Maximize are partially implemented.
- 2005-06-13 Jackson Harper <[email protected]>
- * XplatUIX11.cs: Mash numbers together properly, otherwise we get
- freaky when both vals are negative. NOTE: There are probably other
- places in XplatUIX11 that this needs to be done.
- 2005-06-13 Jordi Mas i Hernandez <[email protected]>
- * DataGrid.cs: implement missing methods, move KeyboardNavigation
- * DataGridColumnStyle.cs: fixes signature
- 2005-06-12 Jackson Harper <[email protected]>
- * XplatUIX11.cs: Use sizing cursors similar to the ones on
- windows.
- 2005-06-11 Jackson Harper <[email protected]>
- * StatusBarPanel.cs: Signature cleanups. Implement
- BeginInit/EndInit.
- 2005-06-10 Jordi Mas i Hernandez <[email protected]>
- * DataGridTextBoxColumn.cs: Honors aligment
- * GridColumnStylesCollection.cs: Contains is case unsensitive
- * GridTableStylesCollection.cs: several fixes
- * DataGridTableStyle.cs: default column creation
- * DataGridDrawingLogic.cs: fixes
- * CurrencyManager.cs: ListName property
- * DataGrid.cs: multiple styles support
- * DataGridColumnStyle.cs: fixes
-
- 2005-06-10 Peter Bartok <[email protected]>
- * Control.cs(Select): Moved SetFocus call to avoid potential
- loops if controls change the active control when getting focus
- * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
- the up/down buttons
- 2005-06-10 Matthias Felgner <[email protected]>
- * ImageListConverter.cs: Implemented
- 2005-06-10 John BouAntoun <[email protected]>
- * MonthCalendar.cs: Wired in NumericUpDown control for year
- 2005-06-10 John BouAntoun <[email protected]>
- * MonthCalendar.cs: Removed MonoTodo attributes on Click and
- DoubleClick events, since they are not meant to be fired.
- 2005-06-09 Peter Bartok <[email protected]>
- * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
- Jonathan's standalone controls into MWF, implemented missing
- events, attributes and methods; added xxxAccessible classes
- * AccessibleObject.cs: Made fields internal so other classes
- can change them if needed
- 2005-06-09 Jonathan Gilbert <[email protected]>
- * UpDownBase.cs: Complete implementation
- * NumericUpDown.cs: Complete implementation
- * DomainUpDown.cs: Complete implementation
- 2005-06-09 Jordi Mas i Hernandez <[email protected]>
- * DataGridTextBoxColumn.cs: drawing fixes
- * DataGridCell.cs: fixes ToString method to match MSNet
- * DataGridTableStyle.cs: fixes
- * DataGridBoolColumn.cs: fixes, drawing
- * DataGridDrawingLogic.cs: fixes, new methods
- * DataGridTextBox.cs: Keyboard and fixes
- * DataGrid.cs:
- - Keyboard navigation
- - Scrolling fixes
- - Row selection (single, multiple, deletion, etc)
- - Lots of fixes
-
- 2005-06-07 Jackson Harper <[email protected]>
- * ThemeWin32Classic.cs: Clear the background area when drawing
- buttons.
- 2005-06-06 Peter Bartok <[email protected]>
- * ImageListStreamer.cs: Fixed signature for GetData
- * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
- * ComboBox.cs:
- - Added missing ChildAccessibleObject class
- - Added missing OnXXXFocus overrides, switched to using those
- instead of the event handler
- * Control.cs:
- - Added Parent property for ControlAccessibleObject
- - Fixed signatures
- - Fixed attributes
- - Added ResetBindings()
- * ListBindingConverter.cs: Implemented some methods
- * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
- * ImageList.cs: Implemented basic handle scheme, removed TODOs
- * ContainerControl.cs: Fixed signature, now subscribing to the
- ControlRemoved event instead of overriding the handler, LAMESPEC
- * CurrencyManager.cs: Added missing attribute
- * MonthCalendar.cs: Added missing properties
- 2005-06-06 Jordi Mas i Hernandez <[email protected]>
- * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
-
- 2005-06-06 Gaurav Vaish and Ankit Jain
- * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
- * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
-
- 2005-06-06 Jordi Mas i Hernandez <[email protected]>
- * Control.cs: fixes CreateParams Width / Height.
- 2005-06-05 Peter Bartok <[email protected]>
- * Win32DnD.cs: Removed compilation warnings
- 2005-06-05 Peter Bartok <[email protected]>
- * Control.cs (CreateParams): Since we don't know if one of the
- properties we use is overridden, lets make sure if we fail accessing
- we continue with a backup plan
- 2005-06-05 Peter Bartok <[email protected]>
- * Win32DnD.cs:
- - Removed debug output
- - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
- struct
- - Plugged resource leak
- * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
- MS size
- 2005-06-05 Peter Bartok <[email protected]>
- * XplatUIWin32.cs: Removed DnD code
- * Win32DnD.cs: Implemented drop source and drop target functionality
- 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
- * UpDownBase.cs: remove duplicate addition of event, enable some code
- that was commented out.
- * NumericUpDown.cs: added missing attributes and Hexadecimal property.
- Validate input when a key is pressed. It works fine now for every
- combination of Hexadecimal. Only missing some drawing love when sharing
- space with other controls.
- 2005-06-04 Peter Bartok <[email protected]>
- * Control.cs:
- - We need to pass a window for DragDrop, so enable callback events
- - Added DnD callback events when being a DragSource
- * XplatUI.cs (StartDrag): Added window handle argument
- * XplatUIDriver.cs (StartDrag): Added window handle argument
- * QueryContinueDragEventArgs: Made fields internally accessible so
- drivers can set them
- * GiveFeedbackEventArgs: Made fields internally accessible so drivers
- can set them
- 2005-06-03 Jordi Mas i Hernandez <[email protected]>
- * DataGridTextBoxColumn.cs: column text editing
- * DataGridTableStyle.cs: Respect columns styles created by the user
- * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
- * DataGridBoolColumn.cs: bool column editing
- * DataGrid.cs: fixes to scrolling, properties, etc
- * DataGridTextBox.cs: handle keyboard
- * DataGridColumnStyle.cs: fixes
- 2005-06-02 Jackson Harper <[email protected]>
- * ImageListStreamer.cs: Somewhat broken implementation of
- GetObjectData. The RLE needs some work to match MS properly.
- 2005-06-02 Jackson Harper <[email protected]>
- * X11Dnd.cs: Attempting to keep at least one file in MWF
- monostyled.
- 2005-06-02 Peter Bartok <[email protected]>
- * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
- that way
- 2005-06-02 Peter Bartok <[email protected]>
- * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
- * XplatUI.cs: Added DoDragDrop() method
- * XplatUIDriver.cs: Added DoDragDrop() method
- 2005-06-02 Jackson Harper <[email protected]>
- * Splitter.cs: Implement BorderStyle.
- 2005-06-02 Jackson Harper <[email protected]>
- * XplatUIX11.cs: Tie into the X11Dnd subsystem.
- * X11Dnd.cs: New file. A subsystem that handles drag and drop on
- X11 using XDND.
- 2005-06-02 Peter Bartok <[email protected]>
- * DataObject.cs:
- - Added Data setter
- - Fixed broken insertion code for SetData, now also
- overwrites any existing entry of the same format name
- * Hwnd.cs: Added list of pointers that automatically gets
- freed when the window is disposed
- * XplatUI.cs: Call driver initialization method when loading
- a driver
- * Control.cs:
- - OnDragLeave takes EventArgs, not DragEventArgs
- - Added setting of WS_EX_ACCEPTFILES style when dropping is
- supported
- - Forces style update when drop state changes
- * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
- not perfect since we cannot (yet) call the IDataObject.GetData()
- method, we keep getting 0x80004005 error, dunno why)
- 2005-06-02 Peter Bartok <[email protected]>
- * DragEventArgs.cs: Make fields internal so we can cache the
- object and re-set the fields from XplatUI
- 2005-06-02 Jackson Harper <[email protected]>
- * Control.cs: Add some internal methods so the DnD subsystem can
- raise DnD events. Also call into the driver when AllowDrop is set.
- * XplatUI.cs:
- * XplatUIDriver.cs: New method for setting whether or not a window
- is allowed to accept drag and drop messages.
-
- 2005-06-01 Jordi Mas i Hernandez <[email protected]>
-
- * ScrollBar.cs: Make sure that values sent in Scroll events
- are always between Maximum and Minimum.
- 2005-06-01 Marek Safar <[email protected]>
- * Menu.cs: Call MenuChanged when menuitem visibility has been
- changed.
- * MenuItem.cs: Rebuild menu when item is (not) visible.
- * MainMenu.cs: MainMenu has special MenuChanged.
- * Theme.cs: Caption and FrameBorderSize are not fixed.
- * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
- * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
- * XplatUIX11.cs,
- * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
- * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
- 2005-05-30 Jackson Harper <[email protected]>
- * DataFormat.cs: We can't statically initialize this stuff because
- it calls into the xplatui and could create a loop. So we lazy init
- it.
- 2005-05-28 Jackson Harper <[email protected]>
- * Control.cs: Proper implementation of Product(Name/Version).
- 2005-05-27 Jackson Harper <[email protected]>
- * DataObject.cs: Dont crash if no data is found.
- 2005-05-26 Rafael Teixeira <[email protected]>
- * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
- as per status page, guessing it should be set to true
- 2005-05-26 Jordi Mas i Hernandez <[email protected]>
- * DataGridTextBoxColumn.cs: Draws text and basic text formatting
- * DataGridTableStyle.cs: set proper formatting text, def header text
- * ThemeWin32Classic.cs: new themable paramaters
- * DataGridBoolColumn.cs: paint check box, get data, fixes
- * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
- * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
- * DataGridColumnStyle.cs: fixes
- * Theme.cs: new themable paramaters
-
- 2005-05-26 Peter Bartok <[email protected]>
- * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
- 2005-05-24 Jonathan S. Chambers <[email protected]>
- * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
- 2005-05-24 Peter Bartok <[email protected]>
- * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
- Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
- Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
- FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
- NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
- ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
- DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
- AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
- DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
- StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
- missing attributes, etc
- * DataGridPreferredColumnWidthTypeConverter.cs: Added
- 2005-05-24 Peter Bartok <[email protected]>
- * Help.cs: Added, implemented trivial functions, throws up MessageBox
- when user tries to get help
- * DataObject.cs, DataFormats.cs, LinkArea.cs,
- SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
- to suppress warnings
- * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
- avoid unreachable code warning
- 2005-05-20 Peter Bartok <[email protected]>
- * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
- 2005-05-20 Jordi Mas i Hernandez <[email protected]>
- * DataGridTextBoxColumn.cs: Basic painting methods
- * DataGridTableStyle.cs: Set table style in the column
- * ThemeWin32Classic.cs: Use Theme for colors
- * DataGridDrawingLogic.cs: Implement more drawing
- * DataGrid.cs: drawing, theming, enhacements, fixes
- * DataGridColumnStyle.cs: fixes, drawing
- * Theme.cs: theming for Datagrid
- 2005-05-20 Peter Bartok <[email protected]>
- * Cursor.cs: Implemented GetObjectData() method
- 2005-05-20 Peter Bartok <[email protected]>
- * Cursors.cs: Added setting of cursor name
- * Cursor.cs:
- - Implemented constructors
- - Implemented Draw and DrawStretched
- - Implemented Current property
- - Implemented == and != operators
- - Implemented Dispose()
- - Implemented ToString
- - Added missing attributes
- * XplatUIX11.cs:
- - Added missing reset for OverrideCursor when DoEvents is called
- - Fixed creation of cursor, logic was wrong
- * XplatUIWin32.cs:
- - Added missing reset for OverrideCursor when DoEvents is called
- - Fixed creation of cursor, bit arrays were swapped
- * Clipboard.cs: Removed obsolete MonoTODO attribute
- 2005-05-20 Jordi Mas i Hernandez <[email protected]>
- * ComboBox.cs: fixes OnSelectedItemChanged
- * ControlBindingsCollection.cs: fixes item range check
- 2005-05-20 Jordi Mas i Hernandez <[email protected]>
- * UpDownBase.cs:
- - Calc preferred height properly
- - Implement missing properties
-
- * NumericUpDown.cs: Implement missing events
- 2005-05-19 Jackson Harper <[email protected]>
- * TabControl.cs: New method that resizes the tab pages before
- redrawing them. This as needed as the control is double buffered
- and sizing will not be recalculated unless ResizeTabPages is
- called.
- * TabPage.cs: Set base.Text instead of Text in the constructor so
- that UpdateOwner does not get called. Use the new Redraw method of
- TabControl instead of Refresh so the sizing is recalculated.
- * ThemeWin32Classic.cs: Draw the text for button tabs.
- 2005-05-19 Jackson Harper <[email protected]>
- * Control.cs: Paint control background images. Fix typo where
- PaintControlBackground was not getting called correctly.
- 2005-05-19 Peter Bartok <[email protected]>
- * ScrollableControl.cs (DisplayRectangle): Undid my last change until
- I can investigate, apparently I broke FileDialog
- 2005-05-19 Marek Safar <[email protected]>
- * AxHost.cs: Some simple properties.
- * Control.cs: window must be accessible after ctor.
- * Form.cs: Added TransparencyKey property.
- * TextBoxBase.cs: Implemented Clear. Text property can be null.
- * XplatUIWin32.cs: SetBorderStyle implemented.
- 2005-05-18 Peter Bartok <[email protected]>
- * DataObject.cs: Entries are not global but particular to the
- DataObject, now it behaves that way
- * XplatUIWin32.cs: Implemented Clipboard methods
- * Clipboard.cs: Implemented
- * ScrollableControl.cs (DisplayRectangle): Fixed calculation
- * XplatUIOSX.cs: Updated to final clipboard prototypes
- * XplatUIX11.cs: Implemented Clipboard methods
- * XplatUIDriver.cs: Updated to final clipboard prototypes
- * XplatUIStructs.cs:
- - Added BITMAPINFOHEADER struct
- - Added ClipboardFormats enum
- * X11Structs.cs:
- - Added ClipboardStruct
- - Added Atom enum items for clipboard types
- - Fixed atom types for Selection event structures
- * DataFormats.cs:
- - Added internal properties and methods for drivers to enumerate
- all known formats
- - Switched initialization method to allow drivers to assign their
- own IDs even for the MS predefined clipboard IDs
- * XplatUI.cs: Updated to final clipboard interface
- 2005-05-18 Jonathan S. Chambers <[email protected]>
- * PropertyGridView.cs: Fixed compiler warnings.
- 2005-05-18 Jonathan S. Chambers <[email protected]>
- * PropertyGrid.cs: Added some event calls
- * PropertyGridView.cs: Change drawing code to use double buffering
- * PropertyGridTextBox.cs: Changed Text property name
- * GridItem.cs: Added Bounds property.
- * GridEntry.cs: Added Bounds property.
- 2005-05-17 Lluis Sanchez Gual <[email protected]>
- * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
- since GetType() may not return the correct type if the object is
- a remoting proxy.
- 2005-05-17 Jordi Mas i Hernandez <[email protected]>
- * TreeNodeCollection.cs: fixes get/set item ranges
-
- 2005-05-15 Jordi Mas i Hernandez <[email protected]>
- * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
-
- 2005-05-15 Jordi Mas i Hernandez <[email protected]>
- * ComboBox.cs: Fix item range comparation
- * ListView.cs: Fix item range comparation
- 2005-05-03 Alexander Olk <[email protected]>
- * FontDialog.cs:
- - Clear example panel when OnPaint is called
- - Better solution for displaying the example panel text
- - Select default indexes in the ListBoxes
- 2005-05-11 Geoff Norton <[email protected]>
- * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
- 2005-05-11 Peter Bartok <[email protected]>
- * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
- * SelectionRangeConverter.cs: Implemented
- * PropertyGrid.cs: Fixed attribute value
- * Control.cs:
- - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
- - Added Sebastien Pouliot's CAS Stack Propagation fixes
- * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
- that's common to all drivers. First methods to go there are
- Sebastien Pouliot's CAS Stack Propagation helper methods
- * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
- Sebastien Pouliot for CAS Stack Propagation
- 2005-05-11 Geoff Norton <[email protected]>
- * OSXStructs.cs:
- XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
- 2005-05-12 Jordi Mas i Hernandez <[email protected]>
- * DataGridTextBoxColumn.cs: fixed some members
- * GridColumnStylesCollection.cs: indexed column is case insensitive
- * DataGridTableStyle.cs: fixes
- * ThemeWin32Classic.cs: add new theme parameter
- * Theme.cs: add new theme parameter
- * DataGridDrawingLogic.cs: Datagrid's drawing logic
- * DataGrid.cs: fixes, new internal properties, etc.
- * DataGridColumnStyle.cs: allows to set grid value
- *
- 2005-05-10 Peter Bartok <[email protected]>
- * AccessibleObject.cs:
- - Removed MonoTODO attribute on help, method is correct
- - Fixed Bounds property
- * AxHost.cs: Moved MonoTODO
- * ButtonBase.cs: Now setting AccessibleObject properties
- * RadioButton.cs: Setting proper AccessibleObject role
- * CheckBox.cs: Setting proper AccessibleObject role
- * ControlBindingsCollection.cs: Added properties, methods and attributes
- * DataFormats.cs: Fixed awkward internal API, and changed to enable
- userdefined DataFormats.Format items as well
- * ListControl.cs: Removed data_member from the public eye
- * OpenFileDialog.cs:
- - Made class sealed
- - Added missing attributes
- * SaveFileDialog.cs: Added missing attributes
- * ImageListStreamer.cs: Fixed code that caused warnings
- * LinkLabel.cs: Removed unreachable code
- * TreeView.cs: Fixed code that caused warnings
- * PropertyGridView.cs: Fixed code that caused warnings
- * GridColumnStylesCollection.cs: Added missing attributes
- * GridTableStylesCollection: Added missing attribute
- * PropertyManager: Added .ctor
- * SecurityIDType: Added
- * DataObject.cs: Implemented class
- * LinkArea.cs: Added missing attribute
- 2005-05-11 Jordi Mas i Hernandez <[email protected]>
- * RadioButton.cs: call base method to allow to fire OnClick event
- * UpDownBase.cs: OnMouseUp call base method
- * CheckedListBox.cs: call base method before returning
- * TrackBar.cs: call base method before returning
-
- 2005-05-10 Peter Bartok <[email protected]>
- * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
- for messages
- 2005-05-10 Peter Bartok <[email protected]>
- * DataFormats.cs: Implemented
- * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
- XplatUIX11.cs: Added Clipboard APIs
- * XplatUIWin32.cs: Implemented Clipboard APIs
- * FolderBrowserDialog.cs: Added missing event, attributes
- 2005-05-10 Jordi Mas i Hernandez <[email protected]>
- * CheckBox.cs: call base method to allow to fire OnClick event
- 2005-05-09 Sebastien Pouliot <[email protected]>
- * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
- 2005-05-06 Peter Bartok <[email protected]>
- * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
- * Screen.cs: Implemented
- * HelpNavigator.cs: Added
- * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
- property
- * HelpProvider.cs: Implemented all we can do until we have a CHM
- help library (which means that "What's This" does work now)
- 2005-05-06 Jackson Harper <[email protected]>
- * XplatUIX11.cs: Fix waking up the main loop.
-
- 2005-05-05 Peter Bartok <[email protected]>
- * XplatUI.cs: Updated revision
- * Form.cs: Removed enless loop
- * GroupBox.cs (OnPaint): Added call to base.OnPaint()
- * Label.cs (OnPaint): Added call to base.OnPaint()
- * ToolTip.cs: Made ToolTipWindow reusable for other controls
- * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
- * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
- * AxHost.cs: Added
- * ButtonBase.cs: Moved base.OnPaint() call to end of method
- * ThemeWin32Classic.cs: Replaced references to ToolTip with references
- to ToolTip.ToolTipWindow for drawing and size methods; this allows
- reuse of ToolTipWindow by other controls
- * SizeGrip.cs: Moved base.OnPaint() call to end of method
- * XplatUIX11.cs: Now clipping drawing area (experimental)
- * PictureBox.cs: Moved base.OnPaint() call to end of method
- * Theme.cs: Fixed ToolTip abstracts to match new format
- * ErrorProvider.cs: Implemented
- 2005-05-05 Jordi Mas i Hernandez <[email protected]>
- * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
- * LinkLabel.cs:
- - Adds cursors
- - Handles focus
- - Implements LinkBehavior
- - Fixes many issues
- 2005-05-03 Jackson Harper <[email protected]>
- * ListView.cs: Calculate the scrollbar positioning on resize and
- paint, so they get put in the correct place.
- 2005-05-03 Alexander Olk <[email protected]>
- * ColorDialogs.cs: The small color panels are now handled by
- SmallColorControl. This fixes drawing of the focus rectangle
- and adds a 3D border.
- 2005-05-03 Peter Bartok <[email protected]>
- * Control.cs: Modified version of Jonathan Chamber's fix for
- double-buffering
- 2005-05-03 Jackson Harper <[email protected]>
- * ListView.cs: Remove redraw variable. Control now handles whether
- or not a redraw needs to be done, and will only raise the paint
- event if redrawing is needed.
- 2005-05-03 Jackson Harper <[email protected]>
- * Splitter.cs: No decorations for the splitter form. Cache the
- hatch brush.
- 2005-05-03 Jackson Harper <[email protected]>
- * TreeView.cs: Use dashed lines to connect nodes. Use the
- ControlPaint method for drawing the focus rect instead of doing
- that in treeview.
- 2005-05-02 Peter Bartok <[email protected]>
- * LinkLabel.cs: Fixed the fixes from r43566 and 43521
- 2005-04-29 Jackson Harper <[email protected]>
- * ThemeWin32Classic.cs: Don't clear the GC that will clear the
- entire image buffer. Just clear the clipping rectangle.
- 2005-04-29 Jackson Harper <[email protected]>
- * ThemeWin32Classic.cs: Don't draw list view items that are
- outside the clipping rectangle.
- 2005-04-29 Jordi Mas i Hernandez <[email protected]>
- * ListBox.cs: added horizontal item scroll
- 2005-04-29 Jackson Harper <[email protected]>
- * ThemeWin32Classic.cs: Remove some old debug code that was
- causing flicker with the new double buffering code.
- 2005-04-29 John BouAntoun <[email protected]>
- * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
- behave like combobox and comboboxlist (still not sure if this is
- correct though).
- 2005-04-28 Jackson Harper <[email protected]>
- * ThemeWin32Classic.cs: Don't fill the middle of progress
- bars. This fills areas outside of the clip bounds that don't need
- to be filled.
- 2005-04-28 Jackson Harper <[email protected]>
- * Control.cs: Don't expose functionality to touch the image buffers.
- * ProgressBar.cs:
- * ListView.cs: We do not need to (and no longer can) manipulate
- the image buffers directly. All of this is handled by Control.
- 2005-04-28 Peter Bartok <[email protected]>
- * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
- RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
- RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
- 2005-04-28 Jordi Mas i Hernandez <[email protected]>
- * Combobox:
- - Adjust control's height for non-simple comboboxes (bug fix)
- - Remove dead code
- * MenuAPI.cs: remove unused var
- * ScrollBar.cs: remove unsed var
-
- * ListBox.cs: unselect items when clearing
- 2005-04-28 Jordi Mas i Hernandez <[email protected]>
- * ListControl.cs: honors OnPositionChanged and default Selected Item
- * ListBox.cs: unselect items when clearing
- 2005-04-27 Jackson Harper <[email protected]>
- * X11Keyboard.cs: Initialize a default keyboard and give a warning
- if a "correct" keyboard is not found. This will make us not crash,
- but might give some users bad keyboard layouts...seems to be the
- same thing rewind does.
- 2005-04-27 Jackson Harper <[email protected]>
- * BindingManagerBase.cs: Attach the current/position changed
- handlers to their respective events.
- 2005-04-27 Jackson Harper <[email protected]>
- * Control.cs: Make sure that the first WM_PAINT does a full draw,
- not just a blit.
- * ThemeWin32Classic.cs: Don't fill the background for picture
- boxes. This could overright user drawing.
- * ComboBox.cs: Just fill the clipping rect not the entire client
- rect when drawing the background. This prevents pieces of the
- image buffer from getting overwritten and is theoretically faster.
- 2005-04-26 Jordi Mas i Hernandez <[email protected]>
- * ComboBox.cs: Databinding support fixes, fire missing events
- * ListControl.cs: implement missing methods and properties, fixes
- * ThemeWin32Classic.cs: Databiding support on Drawing
- * CheckedListBox.cs: Databinding support fixes, fire missing events
- * ListBox.cs: Databinding support fixes, fire missing events
-
- 2005-04-25 Peter Bartok <[email protected]>
- * LinkLabel.cs: Length of LinkArea is not allowed to be negative
- 2005-04-25 Jackson Harper <[email protected]>
- * TreeView.cs: Use the horizontal scrollbars height not width when
- determining how much of the client area is available.
- 2005-04-25 Jackson Harper <[email protected]>
- * Control.cs: Double buffering is handled differently now. As per
- the spec, the extra buffer is created in the WM_PAINT message and
- passed down to the control's drawing code.
- * GroupBox.cs:
- * Label.cs:
- * CheckBox.cs:
- * ProgressBar.cs:
- * RadioButton.cs:
- * ColorDialog.cs:
- * ComboBox.cs:
- * PropertyGridView.cs:
- * UpDownBase.cs:
- * MessageBox.cs:
- * MenuAPI.cs:
- * ListView.cs:
- * ButtonBase.cs:
- * SizeGrip.cs:
- * ScrollBar.cs:
- * ListBox.cs:
- * TrackBar.cs:
- * ToolBar.cs:
- * PictureBox.cs:
- * DateTimePicker.cs:
- * StatusBar.cs:
- * TreeView.cs: Update to new double buffering system.
- * MonthCalendar.cs: Uncomment block, as Capture is now
- working. Update to new double buffering
- * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
- * PaintEventArgs.cs: New internal method allows us to set the
- graphics object. This is used for double buffering.
- * ThemeWin32Classic.cs: Give the picture box drawing code a clip
- rectangle. The internal paint_area var has been removed from
- StatusBar. The clipping rect should be used instead.
- * Theme.cs: Give the PictureBox drawing method a clipping rect.
- * TabPage.cs: The RefreshTabs method was removed, so just call the
- tab controls Refresh method now.
- * TabControl.cs: Update to new double buffering. Make sure the
- handle is created before sizing the tab pages, otherwise we will
- get stuck in a loop.
- 2005-04-24 Borja Sanchez Zamorano <[email protected]>
- * LinkLabel.cs: Fix typo, bug #74719; patch
- from Borja Sanchez Zamorano
- 2005-04-22 Jackson Harper <[email protected]>
- * TreeNode.cs: Implement Handle stuff.
- * TreeView.cs: Utility methods so nodes can get/lookup by handle.
- 2005-04-22 Jordi Mas i Hernandez <[email protected]>
- * DataGridTextBoxColumn.cs: call base constructors, fixes
- * GridColumnStylesCollection.cs: missing events, methods, and functionality
- * GridTableStylesCollection.cs: fixes, check duplicate mapping names
- * DataGridTableStyle.cs: implements create default column styles
- * DataGridBoolColumn.cs: which types can handle
- * DataGrid.cs: missing methods, fixes, new functionality
- * DataGridColumnStyle.cs: fixes
- 2005-04-20 Alexander Olk <[email protected]>
- * FolderBrowserDialog.cs:
- - Use a thread to fill the TreeView
- - Adjusted some sizes
- 2005-04-19 Peter Bartok <[email protected]>
- * LinkLabel.cs: (Re-)create the pieces when setting the Text
- property. Fixes #74360.
- 2005-04-19 Jackson Harper <[email protected]>
- * XEventQueue.cs: Lock when getting the lockqueue size.
- * PictureBox.cs: Call base OnPaint
-
- 2005-04-19 Peter Bartok <[email protected]>
- * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
- messages were no longer being processed (this broke BeginInvoke)
-
- 2005-04-18 Jackson Harper <[email protected]>
- * TreeView.cs: buglet that caused node images to get drawn
- regardless of whether or not they were in the clipping rectangle.
- 2005-04-18 Jackson Harper <[email protected]>
- * CurrencyManager.cs: There are four rules for GetItemProperties:
- - If the type is an array use the element type of the array
- - If the type is a typed list, use the type
- - If the list contains an Item property that is not an object, use
- that property
- - use the first element of the list if there are any elements in
- the list.
-
- 2005-04-17 Jackson Harper <[email protected]>
- * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
- click. This handles offsets for scrolling properly and reduces
- memory. Also fixed GetNode to not offset now that TopNode works
- properly.
- * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
-
- 2005-04-17 Jackson Harper <[email protected]>
- * CursorConverter.cs: Initial implementation.
- 2005-04-15 Jordi Mas i Hernandez <[email protected]>
- * ListControl.cs: work towards complex data binding support on ListControl
- * CurrencyManager.cs: work towards complex data binding support on ListControl
- * ListBox.cs: work towards complex data binding support on ListControl
- 2005-04-15 Jordi Mas i Hernandez <[email protected]>
- * GridTableStylesCollection.cs: fixes name and constructor
- * DataGridTableStyle.cs: fixes
- * DataGridBoolColumn.cs: fixes names and constructors
- * DataGrid.cs: define methods and properties. Some init implementations
- * DataGridCell.cs: define methods and properties. Some init implementations
- * GridTablesFactory.cs: Define methods and properties
- 2005-04-15 Geoff Norton <[email protected]>
- * XplatUIOSX.cs: Handle proper mouse tracking even if the current
- graphics port changes. We still want the coordinates in global screen
- coordinates.
- 2005-04-14 Jackson Harper <[email protected]>
- * TreeView.cs: Handle clicks when plus minus is disabled. Don't
- check plus minus or checkbox clicks unless those features are enabled.
- 2005-04-14 Jackson Harper <[email protected]>
- * TreeView.cs: Add methods for setting the top and bottom visible
- nodes. TreeNode::EnsureVisible uses these methods.
- * TreeNode.cs: Implement EnsureVisible
- 2005-04-13 Jordi Mas i Hernandez <[email protected]>
- * Form.cs: Pospone menu assignation if the window has not been created yet
- * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
- size and position
- 2005-04-12 Jackson Harper <[email protected]>
- * TreeView.cs: Set the TopNode properly when scrolling
- occurs. This has the added benifit of reducing the amount of
- walking that needs to be done when drawing. Also removed an old
- misleading TODO.
- * OpenTreeNodeEnumerator.cs: Fix moving backwards.
-
- 2005-04-11 Jordi Mas i Hernandez <[email protected]>
- * Timer.cs: fixes interval setting when the timer is already enabled
-
- 2005-04-10 Alexander Olk <[email protected]>
- * FolderBrowserDialog.cs: First approach
- 2005-04-09 Peter Bartok <[email protected]>
- * FolderBrowserDialog: Added
- 2005-04-07 Jordi Mas i Hernandez <[email protected]>
- * LinkLabel.cs: move drawing code into the theme
- * ThemeWin32Classic.cs: drawing code and painting background bugfix
- * Theme.cs: define DrawLinkLabel method
- 2005-04-05 Jackson Harper <[email protected]>
- * BindingContext.cs: Use weak references so these bad actors don't
- stay alive longer then they need to.
- 2005-04-05 Jackson Harper <[email protected]>
- * ListControl.cs: Basic implementation of complex databinding.
- * ComboBox.cs:
- * ListBox.cs: Add calls to ListControl databinding methods.
- 2005-04-05 Alexander Olk <[email protected]>
- * FileDialog.cs:
- - Don't change PopupButtonState to Normal when the
- PopupButton gets pressed several times.
- - Renamed ButtonPanel to PopupButtonPanel
- 2005-04-05 Jordi Mas i Hernandez <[email protected]>
- * ColorDialog.cs: Use cached objects instead of creating them
- * LinkLabel.cs: Use cached objects instead of creating them
- * Splitter.cs: Use cached objects instead of creating them
- * FontDialog.cs: Use cached objects instead of creating them
- * PropertyGridView.cs: Use cached objects instead of creating them
- * MessageBox.cs: Use cached objects instead of creating them
- * FileDialog.cs: Use cached objects instead of creating them
- * ThemeWin32Classic.cs: Use cached objects instead of creating them
- * TreeView.cs: Use cached objects instead of creating them
-
- 2005-04-04 Jordi Mas i Hernandez <[email protected]>
- * Control.cs: use Equals to compare the font since no == op
- * ScrollBar.cs: use Equals to compare the font since no == op
- 2005-04-04 Alexander Olk <[email protected]>
- * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
- 2005-04-01 Jackson Harper <[email protected]>
- * Binding.cs: Implement IsBinding.
- * BindingManagerBase.cs:
- * PropertyManager.cs:
- * CurrencyManager.cs: Add IsSuspended property.
- 2005-04-01 Jackson Harper <[email protected]>
- * Binding.cs: Had some IsAssignableFrom calls backwards.
- 2005-04-01 Jackson Harper <[email protected]>
- * Binding.cs: Handle null data members when pulling data.
- * PropertyManager.cs: Handle the data member being a property that
- does not exist.
- 2005-04-01 Jordi Mas i Hernandez <[email protected]>
- * DataGridTextBoxColumn.cs: fixes signature
- * DataGrid.cs: calls right constructor
- 2005-04-01 Jordi Mas i Hernandez <[email protected]>
- * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
- * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
- * GridTableStylesCollection.cs: implements GridTableStylesCollection
- * DataGridTableStyle.cs: implements DataGridTableStyle
- * DataGridBoolColumn.cs: implements DataGridBoolColumn
- * DataGridTextBox.cs: implements DataGridTextBox
- * DataGridColumnStyle.cs: implements DataGridColumnStyle
- 2005-03-31 Alexander Olk <[email protected]>
- * FileDialog.cs: Added simple PopupButton class for ButtonPanel
- 2005-03-29 Peter Bartok <[email protected]>
- * Application.cs:
- - Properly implemented CompanyName property
- - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
- returns a path that includes CompanyName, ProductName and
- Version (fixes bug #70330)
- 2005-03-29 Stefan Buehler <[email protected]>
- * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
- fixes bug #72588.
- 2005-03-28 Alexander Olk <[email protected]>
- * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
-
- - Added ReadOnly CheckBox
- - Further refactoring: moved some code from Open-/SaveFileDialog
- to FileDialog
- 2005-03-28 Alexander Olk <[email protected]>
- * OpenFileDialog.cs: Fixed CheckFileExists
- * FileDialog.cs:
- Moved FileView and DirComboBox outside FileDialog class.
- They can now be used outside FileDialog
- 2005-03-27 Alexander Olk <[email protected]>
- * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
- * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
- 2005-03-27 Alexander Olk <[email protected]>
- * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
- - Added missing CreatePrompt property in SaveDialog
- - Overall SaveDialog handling should be better now
- - Added non standard ShowHiddenFiles property
- - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
- - Added InitialDirectory and RestoreDirectory support
- 2005-03-26 Alexander Olk <[email protected]>
- * FileDialog.cs: Made dirComboBox usable
- 2005-03-24 Alexander Olk <[email protected]>
- * FileDialog.cs: Added Filter support (case sensitiv)
- 2005-03-24 Jackson Harper <[email protected]>
- * TabControl.cs: Need a couple more pixels for the lines.
- 2005-03-23 Jackson Harper <[email protected]>
- * TabControl.cs: Give the tab page focus when it is selected.
- 2005-03-23 Jackson Harper <[email protected]>
- * TabControl.cs: Account for the drawing of tabs borders when
- invalidating. If the slider was clicked dont do click detection on
- the tabs.
- 2005-03-23 Jackson Harper <[email protected]>
- * TabControl.cs: Fix typo, emilinates an unneeded expose event.
- 2005-03-22 Jonathan Chambers <[email protected]>
- * CategoryGridEntry.cs: Added
- * GridItem.cs: Added helper properties
- * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
- * GridEntry.cs: Updated code for collection
- * PropertyGrid.cs: Cleaned up some formatting
- * PropertyGridView.cs: Added drop down functionality for enums.
- * GridItemCollection.cs: Added enumerator logic
- * PropertyGridEntry.cs: Added
- 2005-03-19 Alexander Olk <[email protected]>
- * FileDialog.cs:
- - Removed unnecessary commented code
- - Fixed handling for entering the filename manually in the combobox
- 2005-03-19 Alexander Olk <[email protected]>
- * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
- 2005-03-18 Peter Bartok <[email protected]>
- * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
- them being touching the border
- 2005-03-18 Peter Bartok <[email protected]>
- * TextControl.cs: Quick hack to center text better
- 2005-03-18 Peter Bartok <[email protected]>
- * ControlPaint.cs:
- - Don't throw NotImplemented exceptions, just print a notice once
- instead (requested by Miguel). This makes running existing SWF
- apps a bit easier
- * Control.cs:
- - Commented out Drag'N'Drop XplatUI call (no driver support yet)
- - Added context menu trigger on right click
- * Panel.cs: Trigger invalidate on resize
- * StatusBar.cs:
- - Removed old double-buffer drawing
- - Added ResizeRedraw style to force proper update of statusbar
- * ListView.cs:
- - Removed debug output
- * ThemeWin32Classic.cs:
- - Fixed drawing of status bar, now draws Text property if there
- are no defined panels
- 2005-03-18 Jackson Harper <[email protected]>
- * ImageList.cs: When the image stream is set pull all the images
- from it.
- * ImageListStreamer.cs: Implement reading image list streams.
- 2005-03-18 Peter Bartok <[email protected]>
- * ThemeWin32Classic.cs (DrawPictureBox):
- - Fixed calculations for centered drawing
- - Fixed drawing for normal mode, not scaling the image on normal
- 2005-03-18 Peter Bartok <[email protected]>
- * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
- textbox
- * FileDialog.cs:
- - Made Open/Save button the accept button for FileDialog
- - Tied the cancel button to the IButtonControl cancel button
- - Save/Open now properly builds the pathname
- - Now handles user-entered text
- - Preventing crash on right-click if no item is selected
- - Fixed Text property, now uses contents of textbox
- - Fixed SelectedText property, now just returns the text part that
- is selected in the text box
- 2005-03-18 Jackson Harper <[email protected]>
- * ThemeWin32Classic.cs: Use the proper func for drawing the focus
- rect, make sure to de-adjust the interior rect after drawing the
- tab text.
- 2005-03-18 Peter Bartok <[email protected]>
- * MenuAPI.cs: Remove menu *before* executing selected action to
- prevent the menu from 'hanging around'
-
- 2005-03-17 Geoff Norton <[email protected]>
- * XplatUIOSX.cs: Implemented WorkingArea property
- 2005-03-17 Peter Bartok <[email protected]>
- * XplatUIX11.cs: Fixed menu coord calculations
- * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
- for calculating offsets
- 2005-03-17 Peter Bartok <[email protected]>
- * Hwnd.cs: Do not consider menu presence for default client
- rectangle location/size
- * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
- XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
- translation functions
- * FileDialog.cs: Fixed (what I presume is a) typo
- 2005-03-17 Jonathan Gilbert <[email protected]>
- * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
- X access (avoids X-Async errors)
- 2005-03-16 Jackson Harper <[email protected]>
- * TabControl.cs: Raise the SelectedIndexChanged event.
- 2005-03-16 Alexander Olk <[email protected]>
- * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
- - Removed vertical ToolBar and replaced it with a custom panel
- (desktop and home button already work)
- - Added Help button (some controls get resized or relocated then)
- - Draw correct text depending on Open or Save.
- - Fixed some typos...
- 2005-03-16 Jordi Mas i Hernandez <[email protected]>
- * ScrollBar.cs:
- - Only change Maximum and Minimum when need it (bug fix)
- 2005-03-15 Peter Bartok <[email protected]>
- * Form.cs: Use Handle for icon, to trigger creation if
- the window does not yet exist
- * Control.cs:
- - CanSelect: Slight performance improvement
- - Focus(): Preventing possible recursion
- - Invalidate(): Removed ControlStyle based clear flag setting
- - WM_PAINT: fixed logic for calling OnPaintBackground
- - WM_ERASEBKGND: Fixed logic, added call to new driver method
- EraseWindowBackground if the control doesn't paint background
- * XplatUIWin32.cs:
- - Moved EraseWindowBackground() method to internal methods
- - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
- is sent via SendMessage on BeginPaint call on Win32
- * XplatUIX11.cs:
- - Added EraseWindowBackground() method
- - No longer sends WM_ERASEBKGND on .Expose, but on call to
- PaintEventStart, which more closely matches Win32 behaviour
- - Fixed Invalidate() call, now updates new ErasePending Hwnd property
- - Fixed SetFocus() to properly deal with client and whole windows
- * Hwnd.cs: Added ErasePending property
- * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
- * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
- 2005-03-12 Geoff Norton <[email protected]>
- * XplatUIOSX.cs:
- - Fix hard loop when timers exist.
- - Fix bugs with middle and right click for 3 button mice.
- 2005-03-11 Peter Bartok <[email protected]>
- * XplatUIX11.cs:
- - get_WorkingArea: Need to call X directly, GetWindowPos only
- returns cached data now
- - Added sanity check to GetWindowPos hwnd usage
- 2005-03-11 Jackson Harper <[email protected]>
- * BindingManagerBase.cs: This method isn't used anymore as
- PullData now updates the data in the control.
- 2005-03-11 Jordi Mas i Hernandez <[email protected]>
- * Form.cs: fixes menu drawing on X11
- * MenuAPI.cs: fixes menu drawing on X11
- 2005-03-11 Peter Bartok <[email protected]>
- * Control.cs: Changed OnCreateControl behaviour based on a suggestion
- from Jonathan Gilbert; should fix bug #73606
- * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
- in Screen coordinates. Thanks, Jordi.
- * Form.cs: Added missing attribute
- 2005-03-11 Peter Bartok <[email protected]>
- * Form.cs:
- - Rudimentary Mdi support
- - Removed outdated FormParent code
- - Implemented lots of missing properties and methods, still missing
- transparency support
- - Added missing attributes
- - Implemented support for MaximumBounds
- - Added firing of various events
- * XplatUI.cs: Added SetIcon() method
- * XplatUIDriver.cs: Added SetIcon() abstract
- * XplatUIOSX.cs: Stubbed out SetIcon() method
- * XplatUIX11.cs:
- - Implemented SetIcon() support
- - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
- - Switched to unix line endings
- * XplatUIWin32.cs:
- - Made POINT internal so for can access it as part of MINMAX
- - Implemented SetIcon() support
- - Implemented support for CLIENTCREATESTRUCT (but might have to drop
- native Mdi support again, might have to go managed)
- * Control.cs: Now fires the StyleChanged event
- * MdiClient.cs: Added; still mostly empty
- 2005-03-10 Peter Bartok <[email protected]>
- * SaveFileDialog.cs: Added emtpy file
- 2005-03-08 Peter Bartok <[email protected]>
- * Control.cs: Fixed bug #73190; now invokes CreateControl (which
- in turn triggers OnCreateContro) when creating a handle for the
- first time.
- * TextControl.cs: Fixed endless loop in certain cases when
- replacing the current selection
- 2005-03-08 Jordi Mas i Hernandez <[email protected]>
- * ScrollBar.cs:
- - Honors NewValue changes in Scroll events allowing apps to change it
- - Adds First and Last Scroll events
- - Fixes Thumb events
- 2005-03-07 Peter Bartok <[email protected]>
- * Hwnd.cs: Added DefaultClientRectangle property
- * XplatUI.cs: Now using the X11 driver Where() method, which provides
- more detailed debug information
- * XplatUIX11.cs:
- - Fixed size-change feedback loop, where we would pull an old size
- off the queue and mistakenly change our window's size to an
- earlier value
- - Now compressing ConfigureNotify events, to reduce looping and
- redraw issues
- * TextBoxBase.cs: Preventing crash when no text is set and ToString()
- is called
- 2005-03-07 Jackson Harper <[email protected]>
- * Binding.cs: Push data pushes from data -> property. Check if the
- property is readonly when attempting to set it.
- 2005-03-07 Jackson Harper <[email protected]>
- * Binding.cs: Format and parse data correctly. Use ASsignableFrom
- instead of IsSubclassOf. Pulling data now sets the value on the
- control.
- * PropertyManager.cs:
- * CurrencyManager.cs: Just need to pull data when updating now,
- because PullData will set the value on the control.
- 2005-03-04 Jackson Harper <[email protected]>
- * Binding.cs: Implement data type parsing and converting on pulled
- data. TODO: Are there more ways the data can be converted?
- 2005-03-04 Jackson Harper <[email protected]>
- * Binding.cs: Support <Property>IsNull checks. Also bind to the
- controls Validating method so we can repull the data when the
- control loses focus.
- 2005-03-03 Jordi Mas i Hernandez <[email protected]>
- * ColumnHeader.cs:
- - Fixes null string format
-
- * ListView.cs:
- - Adds enum type checks
- - Fixes redrawing and recalc need after changing some properties
- - Fixes on focus_item set after the event
- - Fixes adding columns after the control has been created
-
- * ThemeWin32Classic.cs:
- - Fixes CheckBox focus rectangle
- - Fixes ColumnHeader drawing
- 2005-03-03 Jackson Harper <[email protected]>
- * Binding.cs: Bind to <Property>Changed events so we can detect
- when properties are changed and update the data.
- 2005-03-02 Jordi Mas i Hernandez <[email protected]>
- * ImageList.cs:
- - Changes 32-bit pixel format to Format32bppArgb to allow transparency
- - Fixes ImageList constructor with ImageList container
- - Fixes image scaling (wrong parameters at DrawImage)
- 2005-02-02 Jackson Harper <[email protected]>
- * Binding.cs: Make property searches case-insensitive. Eliminate
- some duplicated code.
- 2005-03-01 Jordi Mas i Hernandez <[email protected]>
- * ComboBox.cs:
- - Handle focus event
- - Fix scrollbar events
- - Discard highlighted item if remove it
- - Fixes SelectedItem with strings
- 2005-03-01 Peter Bartok <[email protected]>
- * Control.cs:
- - Fixed Visible property, now follows (once again) parent chain
- to return false if any control in the chain is visible=false
- - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
- - Fixed several places where is_visible instead of Visible was used
- - Implemented FIXME related to focus selection when setting focused
- control to be invisible
- * XplatUIWin32.cs: Now using proper method to find out if window is
- visible. Thanks to Jordi for pointing it out
- 2005-02-28 Jordi Mas i Hernandez <[email protected]>
- * ComboBox.cs: show/hide scrollbar instead of creating it
- 2005-02-27 Jackson Harper <[email protected]>
- * CurrencyManager.cs: Add PositionChanged stuff.
- 2005-02-27 Peter Bartok <[email protected]>
- * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
- * XplatUIOSX.cs: Added GetMenuOrigin() stub
- * XplatUIWin32.cs: Implemented GetMenuOrigin()
- * XplatUIX11.cs:
- - Implemented GetMenuDC()
- - Implemented GetMenuOrigin()
- - Implemented ReleaseMenuDC()
- - Implemented generation of WM_NCPAINT message
- - Implemented generation and handling of WM_NCCALCSIZE message
- * Form.cs: Added debug helper message for Jordi's menu work
- * Hwnd.cs:
- - Modified ClientRect property; added setter, fixed getter to handle
- setting of ClientRect
- - Added MenuOrigin property
- 2005-02-26 Peter Bartok <[email protected]>
- * XplatUIX11.cs:
- - Destroys the caret if a window that's being destroyed contains it
- - Ignores expose events coming from the X11 queue for windows that
- already are destroyed
- - Now uses the proper variable for handling DestroyNotify, before we
- marked the wrong window as destroyed
- - Improved/added some debug output
- 2005-02-26 Peter Bartok <[email protected]>
- * X11Keyboard.cs: Fixes to work on 64bit systems
- 2005-02-26 Peter Bartok <[email protected]>
- * Control.cs:
- - Now calling OnHandleDestroyed from DestroyHandle()
- instead of Dispose()
- - Removed bogus call to controls.Remove() from DestroyHandle()
- 2005-02-26 Peter Bartok <[email protected]>
- * Control.cs: Properly destroy child windows when our handle is
- destroyed
- 2005-02-25 Peter Bartok <[email protected]>
- * XplatUI.cs:
- - Added 'DriverDebug' define to allow tracing XplatUI API calls
- - Alphabetized Static Methods and Subclasses
- * XplatUIX11.cs:
- - Added XException class to allow custom handling of X11 exceptions
- - Created custom X11 error handler, tied into XException class
- - Added support for MONO_XEXCEPTIONS env var to allow the user
- to either throw an exception on X errors or continue running
- after displaying the error
- - Added handling of DestroyNotify message
- - Added handler for CreateNotify message (still disabled)
- - Improved (tried to at least) Where method to provide file and lineno
- * X11Structs.cs:
- - Added XErrorHandler delegate
- - Added XRequest enumeration (to suppor translation of errors)
- 2005-02-25 Jackson Harper <[email protected]>
- * PropertyManager.cs: Implement editing features
- * CurrencyManager.cs:
- * Binding.cs: First attempt at UpdateIsBinding
- * BindingManagerBase.cs: Call UpdateIsBinding before
- pushing/pulling data.
- 2005-02-25 Jordi Mas i Hernandez <[email protected]>
- * MenuAPI.cs: Respect disabled items
- * ThemeWin32Classic.cs
- - Caches ImageAttributes creation for DrawImageDisabled
- - Fixes vertical menu line drawing
- - Draws disabled arrows in disable menu items
- 2005-02-24 Peter Bartok <[email protected]>
- * Hwnd.cs:
- - Added UserData property to allow associating arbitrary objects
- with the handle
- - Fixed leak; now removing Hwnd references from static windows array
- * XplatUIWin32.cs:
- - Fixed Graphics leak in PaintEventEnd
- - Removed usage of HandleData, switched over to Hwnd class
- * HandleData.cs: Removed, obsoleted by Hwnd.cs
- 2005-02-24 Jordi Mas i Hernandez <[email protected]>
- * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
- * ScrollBar.cs: Fixes bug
- * TrackBar.cs: removes death code, clipping, mimize refreshes,
- keyboard navigation enhancements
- 2005-02-24 Jordi Mas i Hernandez <[email protected]>
- * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
- * GroupBox.cs: Add control styles
- * Label.cs: Add control styles
- * UpDownBase.cs: Add control styles
- * ListBox.cs: Add control styles
- * XplatUIWin32.cs: Fixes wrong parameter order
- 2005-02-23 Chris Bacon <[email protected]>
- * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
- 2005-02-23 Jackson Harper <[email protected]>
- * PropertyManager.cs: Implement property binding. This doesn't
- seem to work yet though as (I think) there are some bugs in
- System.ComponentModel.PropertyDescriptor.
- * BindingContext.cs: Use new PropertyManager constructor.
- 2005-02-23 Jordi Mas i Hernandez <[email protected]>
- * ProgressBar.cs: use clip region in ProgressBar
- * ThemeWin32Classic.cs: use clip region in ProgressBar
- 2004-02-22 Jackson Harper <[email protected]>
- * BindingsCollection.cs: Remove some debug code.
- 2005-02-22 Jackson Harper <[email protected]>
- * BindingContext.cs:
- * ControlBindingsCollection.cs:
- * CurrencyManager.cs:
- * Binding.cs:
- * BindingManagerBase.cs: Initial implementation
- * BindingsCollection.cs: Add an internal contains method that the
- BindingManagerBase uses to ensure bindings aren't added twice to
- the collection.
- * PropertyManager.cs: Stubbed out.
- * Control.cs:
- * ContainerControl.cs: Hook up databinding
-
- 2005-02-22 Geoff Norton <[email protected]>
- * XplatUIOSX.cs:
- OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
- Fixed Invalidate/Update chain.
- Fixed tons of other minor bugs (this is almost a complete rewrite).
- 2005-02-22 Jordi Mas i Hernandez <[email protected]>
- * ComboBox.cs: do subcontrol creation when the control is created
- 2005-02-19 Jordi Mas i Hernandez <[email protected]>
- * Label.cs: fixes image drawing (image and imagelist)
- * ThemeWin32Classic.cs: cache brushes
-
- 2005-02-19 Jordi Mas i Hernandez <[email protected]>
- * Form.cs: Move menu drawing code to Theme class
- * ComboBox.cs: Move ComboBox drawing code to Theme class
- * MenuItem.cs: Move menu drawing code to Theme class
- * MenuAPI.cs: Move menu drawing code to Theme class
- * ThemeWin32Classic.cs: New methods
- * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
- * ListBox.cs: Move Listbox drawing code to Theme class
- * Theme.cs: New methods
- 2005-02-20 Peter Bartok <[email protected]>
- * Control.cs:
- - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
- only process mnemonics on those)
- - Fixed event sequence for key handling; first calling
- ProcessKeyEventArgs now
- * TextBoxBase.cs:
- - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
- for processing non-character keys
- - Fixed WM_CHAR to generate proper event sequence before processing
- * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
- generation
- 2005-02-19 Peter Bartok <[email protected]>
- * UserControl.cs: Added TextChanged event; added attributes
- * SizeGrip.cs: Implemented resizing and optional display of grip
- * Form.cs: Fixed attribute
- * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
- Changed meaning of ScrollWindow bool argument; instead of the
- clear attribute (which will be true usually anyway), it gives the
- option of moving child controls as well.
- * XplatUIX11.cs:
- - Changed to match new ScrollWindow argument
- - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
- now handles the implicit parent window a WM puts around us
- * ScrollableControl.cs: Implemented (not the prettiest, but it seems
- to work)
- * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
- * TreeView.cs: Adjusted to new ScrollWindow arguments
- 2005-02-19 Jordi Mas i Hernandez <[email protected]>
- * Form.cs: Menu integration with non-client area
- * MenuItem.cs: Menu integration with non-client area
- * MenuAPI.cs: Menu integration with non-client area
- 2005-02-18 Peter Bartok <[email protected]>
- * MethodInvoker.cs: Added
- * MdiLayout.cs: Added
- * SendKeys.cs: Started implementation
- * ErrorIconAlignment.cs: Added
- 2005-02-18 Peter Bartok <[email protected]>
- * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
- * Form.cs: Added handling for Menu-related Non-client messages
- 2005-02-17 Peter Bartok <[email protected]>
- * UpDownBase.cs: Fixed typo, compilation errors
- * DomainUpDown.cs: Fixed attribute value
- 2005-02-16 Miguel de Icaza <[email protected]>
- * UpDownBase.cs: Attach entry events.
- Propagate events.
- Add ForeColor property, Focused, InterceptArrowKeys (interception
- does not work yet).
- 2005-02-17 Jordi Mas i Hernandez <[email protected]>
- * Form.cs:
- - Redraw non client are on Setmenu
- - Calc proper menu starting point
- 2005-02-17 Peter Bartok <[email protected]>
- * Application.cs: Fixed message_filter check
- 2005-02-17 Peter Bartok <[email protected]>
- * Application.cs: Now calls registered message filters
- * DockStyle.cs: Fixed attribute
- * Form.cs: Fixed attribute
- * Menu.cs: Fixed attribute
- * ToolTip.cs: Fixed attribute
- * TreeNode.cs: Added missing attributes and arranged in regions
- * PropertyGrid.cs: Fixed signatures
- * TreeNodeCollection.cs: Added attributes
- * Splitter.cs: Added missing attributes; arranged into regions
- * TabPage.cs: Added missing attributes; arranged into regions
- * TextBoxBase.cs: Added missing attributes
- * TextBox.cs: Added missing attributes
- * ArrangeDirection.cs: Added missing attributes
- * TreeNodeConverter.cs: Added stub (needed for TreeNode)
- * ToolBarButton.cs: Fixed attributes
- * AnchorStyles.cs: Fixed attribute
- * TrackBar.cs: Fixed attributes
- * TabControl.cs: Added missing attributes and arranged into regions
- * ToolBar.cs: Fixed attribute
- * StatusBar.cs: Fixed signature, organized into regions and added
- attributes
- * StatusBarPanel.cs: Fixed attributes
- * ContentsResizedEventArgs.cs: Implemented
- * ContentsResizedEventHandler.cs: Implemented
- * DateBoldEventArgs.cs: Implemented
- * DateBoldEventHandler.cs: Implemented
- * UpDownEventArgs.cs: Implemented
- * UpDownEventHandler.cs: Implemented
-
- 2005-02-16 Jordi Mas i Hernandez <[email protected]>
- * Form.cs: first Menu NC refactoring
- * MenuAPI.cs: first Menu NC refactoring
-
- 2005-02-16 Peter Bartok <[email protected]>
- * ImeMode.cs: Added missing attributes
- * Menu.cs: Fixed attribute
- * GroupBox.cs: Fixed attribute
- * Label.cs: Fixed attribute
- * ColorDialog.cs (RunDialog): Removed TODO attribute
- * ComboBox.cs: Fixed attributes
- * ListControl.cs: Added missing attributes
- * PropertyGrid.cs: Fixed attributes
- * Control.cs: Fixed attributes
- * ListViewItem.cs: Added TypeConverter attribute
- * NotifyIcon.cs: Fixed attributes
- * ListView.cs: Fixed attributes
- * ButtonBase.cs: Fixed attribute
- * ImageList.cs: Added missing attributes
- * ContainerControl.cs: Fixed signature
- * CheckedListBox.cs: Fixed attribute; added missing attributes
- * Panel.cs: Fixed attributes
- * PropertyTabChangedEventArgs.cs: Added missing attribute
- * PropertyValueChangedEventArgs.cs: Added missing attribute
- * Binding.cs: Fixed attribute
- * ListViewItemConverter: Implemented ListViewSubItemConverter class
- * ListBox.cs: Fixed attribute; added missing attributes;
- * ScrollableControl.cs: Added missing attributes
- * PictureBox.cs: Added missing attributes; implemented missing property
- * DateTimePicker.cs: Added missing attributes
- * Theme.cs (ToolWindowCaptionHeight): Fixed type
- * MonthCalendar.cs: Fixed attributes
- * StatusBarPanel.cs: Added missing attributes
- * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
- 2005-02-16 Peter Bartok <[email protected]>
- * TextBoxBase.cs: The previous method to enforce height yet remember
- the requested high was less than ideal, this is an attempt to do
- it better.
- * Control.cs: Added comment about possible problem
- * Copyright: Updated format
- * GridItemType.cs: Fixed swapped values
- 2005-02-15 Jackson Harper <[email protected]>
- * BaseCollection.cs: Use property so we never access an
- uninitialized list. Also initialize the list in the property.
- 2005-02-15 Peter Bartok <[email protected]>
- * GroupBox.cs (ProcessMnemonic): Implemented
- * Label.cs (ProcessMnemonic): Implemented
- * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
- hotkeys
- 2005-02-15 Peter Bartok <[email protected]>
- * RadioButton.cs (ProcessMnemonic): Implemented
- * CheckBox.cs (ProcessMnemonic): Implemented
- * Control.cs:
- - Added handling of WM_SYSxxx keyboard messages to support mnemonic
- handling
- - Added internal method to allow calling ProcessMnemonic from other
- controls
- * ContainerControl.cs:
- - Started support for handling validation chain handling
- - Implemented ProcessMnemonic support
- - Added Select() call to Active, to make sure the active control
- receives focus
- * Form.cs: Setting toplevel flag for Forms (this was lost in the
- FormParent rewrite)
- * ThemeWin32Classic.cs:
- - DrawCheckBox(): Fixed stringformat to show hotkeys
- - DrawRadioButton(): Fixed stringformat to show hotkeys
- * CommonDialog.cs: Removed WndProc override, not needed
- 2005-02-14 Peter Bartok <[email protected]>
- * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
- missed those in the rewrite
- 2005-02-14 Miguel de Icaza <[email protected]>
- * NumericUpDown.cs (Increment, ToString): Add.
- (DecimalPlaces): implement.
-
- Add attributes.
-
- * UpDownBase.cs: Add the designer attributes.
- 2005-02-13 Peter Bartok <[email protected]>
- * Panel.cs: Removed border_style, now in Control
- * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
- ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
- 2005-02-13 Peter Bartok <[email protected]>
- * MouseButtons.cs: Added missing attributes
- * XplatUIStructs.cs: Added enumeration for title styles
- * LeftRightAlignment.cs: Added missing attributes
- * Hwnd.cs: Switched to use client_window as handle (slower, but makes
- it compatible with Graphics.FromHwnd()
- * SelectedGridItemChangedEventArgs.cs: Fixed property type
- * Keys.cs: Added missing attributes
- * SelectionRange.cs: Added missing attributes
- * SelectionRangeConverter.cs: Added
- * XplatUI.cs:
- - Introduced SetBorderStyle, SetMenu, GetMenuDC and
- ReleaseMenuDC methods
- - Renamed ReleaseWindow to UngrabWindow
- - Added proper startup notice to allow version identification
- * Form.cs:
- - Added missing attributes
- - Removed FormParent concept
- * Label.cs: Removed border_style field, now in Control
- * RadioButton.cs: Now properly selects RadioButton when focus is
- received
- * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
- * Control.cs:
- - Added missing attributes
- - Added borderstyle handling
- - Removed FormParent concept support
- - Fixed calls to XplatUI to match changed APIs
- - Fixed bug that would case us to use disposed Graphics objects
- - Removed unneeded internal methods
- - PerformLayout(): Fixed to handle DockStyle.Fill properly
- - SelectNextControl(): Fixed to properly check common parents
- * TextBoxBase.cs: Removed border_style field (now in Control)
- * MessageBox.cs:
- - Patch by Robert Thompson ([email protected]): Added icon support,
- fixed calculations for form size
- - Added support for localized strings and icons
- - Improved form size calculations, added border
- * ListView.cs: Removed border_style field (now in Control)
- * X11Structs.cs: Moved several structs from X11 driver here
- * X11Keyboard.cs: Changed debug message
- * Application.cs: Removed FormParent concept support
- * CommonDialog.cs:
- - Resetting end_modal flag
- - Removed FormParent concept support
- * NativeWindow.cs: Removed FormParent concept support
- * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
- Client area and Non-Client whole window to allow support for WM_NC
- messages
- * XplatUIOSX.cs: Updated to match latest driver spec; added exception
- prevent using it until it supports Hwnd as per Geoff Norton's request
- * ToolBar.cs: Fixed drawing, was not doing proper drawing
- * PictureBox.cs: Removed border_style field, now in Control
- * XplatUIWin32.cs: Added new driver methods
- 2005-02-12 Peter Bartok <[email protected]>
- * OpacityConverter.cs: Implemented
- * Hwnd.cs: Internal class to support drivers that need to emulate
- client area/non-client area window behaviour
- 2005-02-11 Peter Bartok <[email protected]>
- * KeysConverter.cs: Implemented
- 2005-02-11 Jordi Mas i Hernandez <[email protected]>
- * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
- * LinkLabel: Added missing attributes
- * MainMenu.cs: fixes ToString
- * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
- * ListBox.cs: fixes event position
- * TrackBar.cs: adds missing attributes and events
-
- 2005-02-10 Jordi Mas i Hernandez <[email protected]>
- * MenuItem.cs: Use SystemInformation and bug fixes
- * MenuAPI.cs: Use SystemInformation and bug fixes
- 2005-02-09 Jackson Harper <[email protected]>
- * X11Keyboard.cs: We ignore some keys, but still need to set/reset
- their keystate otherwise things like VK_MENU get stuck "on".
- 2005-02-09 Kazuki Oikawa <[email protected]>
- * ListBox.cs: Fixes AddRange bug
-
- 2005-02-09 Jordi Mas i Hernandez <[email protected]>
- * ProgressBar.cs
- - Add missing attributes
- - Add missing method
-
- * CheckedListBox.cs: Added missing attributes
- - Add missing attributes
- - Remove extra method
-
- * ComboBox.cs: Added missing attributes
- * VScrollBar.cs: Added missing attributes
- * ScrollBar.cs: Added missing attributes
- * ListBox.cs: Fixes signature, add missing consts
- * LinkArea.cs: Added missing attributes
-
- 2005-02-08 Peter Bartok <[email protected]>
- * Menu.cs: Added missing attributes
- * MainMenu.cs: Added missing attributes
- * GroupBox.cs: Added missing attributes
- * Label.cs: Added missing attributes
- * CheckBox.cs: Implemented CheckBoxAccessibleObject class
- * ColorDialog.cs:
- - Added Instance and Options properties
- - Added missing attributes
- * Cursor.cs: Made Serializable
- * NotifyIcon: Added missing attributes
- * MenuItem.cs: Added missing attributes
- * TextBoxBase.cs: Implemented AppendText() and Select() methods
- * Panel.cs: Added Missing attributes
- * MonthCalendar.cs: Fixed CreateParams
- 2005-02-08 Jordi Mas i Hernandez <[email protected]>
-
- * LinkLabel.cs:
- - Fixes signature
- - Fixes issues with links
- - Adds the class attributes
- 2005-02-08 Jordi Mas i Hernandez <[email protected]>
-
- * ComboBox.cs:
- - Fixes button when no items available in dropdown
- - Fixes repainting problems
- - Adds the class attributes
-
- 2005-02-07 Geoff Norton <[email protected]>
- * XplatUIOSX.cs: Detect the menu bar and title bar height from
- the current theme. Cache these on startup.
- 2005-02-07 Jackson Harper <[email protected]>
- * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
- the scrollbar buttons when they are depressed.
- 2005-02-07 Geoff Norton <[email protected]>
- * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
- Get the display size from the main displayid. We currently dont
- support multiple display configurations.
- 2005-02-07 Geoff Norton <[email protected]>
- * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
- 2005-02-07 Miguel de Icaza <[email protected]>
- * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
- 2005-02-05 Jonathan Chambers <[email protected]>
- * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
- 2005-02-04 Jackson Harper <[email protected]>
- * ThemeWin32Classic.cs: Respect the clipping rect when
- drawing. Only fill the intersection of clips and rects so there
- isn't a lot of large fills.
- * ScrollBar.cs: Pass the correct clipping rect to the theme
- engine. Remove some debug code.
- 2005-02-05 John BouAntoun <[email protected]>
-
- * DateTimePicker.cs:
- - Fixed crash on DateTime.Parse, use Constructor instead
- 2005-02-04 Jordi Mas i Hernandez <[email protected]>
-
- * MenuItem.cs:
- * MenuAPI.cs:
- - Owner draw support (MeasureItem and DrawItem)
- 2005-02-04 Jordi Mas i Hernandez <[email protected]>
-
- * Menu.cs:
- - Implements FindMergePosition and MergeMenu functions (very poor documented)
- - Fixes MenuItems.Add range
- * MenuItem.cs:
- - MergeMenu and Clone and CloneMenu functions
- 2005-02-03 Jackson Harper <[email protected]>
- * ScrollBar.cs: Make abstract
- * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
- is abstract.
- 2005-02-03 Jackson Harper <[email protected]>
- * ScrollBar.cs: First part of my scrollbar fixups. This removes
- all the unneeded refreshes and uses invalidates with properly
- computed rects.
- 2005-02-03 Peter Bartok <[email protected]>
- * ComponentModel.cs: Added
- * IDataGridEditingService.cs: Added
- * Timer.cs: Added missing attributes
- * ToolTip.cs: Added missing attributes
- 2005-02-03 Jonathan Chambers <[email protected]>
- * PropertyGridView.cs: Added. Patch by Jonathan Chambers
- 2005-02-03 Peter Bartok <[email protected]>
- * ListBox.cs: Added missing attributes
- 2005-02-03 Jordi Mas i Hernandez <[email protected]>
-
- * ListBox.cs:
- - Fixes font height after font change
- - Avoid generating unnecesary OnSelectedIndexChanged on clearing
-
- 2005-02-02 Peter Bartok <[email protected]>
- * HandleData.cs: Introduced static methods to allow class
- to be more self-contained and track it's own HandleData objects
- * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
- HandleData to use new static methods
- 2005-02-02 Jordi Mas i Hernandez <[email protected]>
- * Combobox.cs:
- - Fixes default size and PreferredHeight
- - Missing events
- - ObjectCollection.Insert implementation
-
- * ListControl.cs
- - Fixes signature
- * ListBox.cs:
- - Several fixes
- - ObjectCollection.Insert implementation
- - No selection after clean
- - Small fixes
- 2005-01-31 John BouAntoun <[email protected]>
- * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
- 2005-02-01 Jordi Mas i Hernandez <[email protected]>
- * Combobox.cs:
- - Caches ItemHeight calculation for OwnerDrawVariable
- - Handles dropdown properly
- - Fixes several minor bugs
- 2005-01-31 Jordi Mas i Hernandez <[email protected]>
- * ListBox.cs:
- - Fixes 71946 and 71950
- - Fixes changing Multicolumn on the fly
- - Fixes keyboard navigation on Multicolumn listboxes
- 2005-01-31 Geoff Norton <[email protected]>
-
- * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
- crash reporter log.
- 2005-01-31 Geoff Norton <[email protected]>
- * XplatUIOSX.cs: Allow applications to actually exit.
- 2005-01-31 Geoff Norton <[email protected]>
- * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
- their parent at creation time rather than lazily later. Fixes a major
- regression we were experiencing.
- 2005-01-31 John BouAntoun <[email protected]>
- * ThemeWin32Classic.cs: more date time picker painting fixes
- * DateTimePicker.cs: more monthcalendar drop down fixes
- * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
- 2005-01-31 Jordi Mas i Hernandez <[email protected]>
- * ScrollBar.cs:
- - When moving the thumb going outside the control should stop the moving
- - Adds the firing of missing events
- - Fixes no button show if Size is not specified
- - End / Home keys for keyboard navigation
- 2005-01-30 Peter Bartok <[email protected]>
- * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
- sanity check to prevent theoretical loop
- * XplatUIWin32.cs (SetVisible): Removed debug output
- * XplatUIX11.cs (SystrayChange): Added sanity check
- * ScrollableControl.cs (OnVisibleChanged): Now calls base method
- * Control.cs (OnVisibleChanged): Added workaround for ParentForm
- behaviour, valid until the X11 client window rewrite is done
- * TextBox.cs (ctor): Setting proper default foreground and background
- colors
- 2005-01-30 John BouAntoun <[email protected]>
- * Theme: Added DrawDateTimePicker to interface
- * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
- * DateTimePicker.cs: Created (still needs keys and painting code)
- * DateTimePickerFormat.cs: added
- * MonthCalendar.cs: fixed CreateParams for popup window mode
-
- 2005-01-29 Peter Bartok <[email protected]>
- * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
- this should also the calculations for ligher/darker
- * Theme.cs: Fixed defaults for ScrollBar widths/heights
- 2005-01-29 Peter Bartok <[email protected]>
- * ArrangeDirection.cs: Added
- * ArrangeStartingPositon.cs: Added
- * SystemInformation.cs: Implemented
- * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
- XplatUIX11.cs, Theme.cs: Added/implemented new static properties
- used by SystemInformation class
- * X11Strucs.cs: Added XSizeHints structure
- * MenuAPI.cs:
- - Fixed CreateParams to make sure the menu window is always visible
- - TrackPopupMenu: Added check to make sure we don't draw the
- menu offscreen
- 2005-01-29 Peter Bartok <[email protected]>
- * HandleData.cs: Added method for altering invalid area
- * TextBoxBase.cs: Implemented TextLength
- 2005-01-28 Peter Bartok <[email protected]>
- * XplatUIX11.cs: Improvement over last patch, not sending
- the WM_PAINT directly anymore, instead we scroll any pending
- exposed areas and let the system pick out the WM_PAINT later
- 2005-01-28 Peter Bartok <[email protected]>
- * SWF.csproj: Deleted, no longer used. Instead,
- Managed.Windows.Forms/SWF.csproj should be used
- * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
- directly, to avoid a potential race condition with the next
- scroll
- 2005-01-28 Peter Bartok <[email protected]>
- * XplatUI.cs: Made class internal
- 2005-01-28 Jordi Mas i Hernandez <[email protected]>
- * CheckedListBox.cs:
- - Draw focus
- - Fixed Drawing
- - Missing methods and events
- 2005-01-27 Peter Bartok <[email protected]>
- * Application.cs (Run): Don't use form if we don't have one
- 2005-01-27 Peter Bartok <[email protected]>
- * TextBoxBase.cs (get_Lines): Fixed index off by one error
- 2005-01-27 Peter Bartok <[email protected]>
- * GridEntry.cs: Added; Patch by Jonathan S. Chambers
- * GridItem.cs: Added; Patch by Jonathan S. Chambers
- * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
- * GridItemType.cs: Added; Patch by Jonathan S. Chambers
- * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
- * PropertySort.cs: Added; Patch by Jonathan S. Chambers
- * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
- * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
- * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
- * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
- * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
- * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
- 2005-01-27 Jordi Mas i Hernandez <[email protected]>
- * Combobox.cs:
- - Draw focus on Simple Combobox
- - Fixes drawing issues
- - fixes 71834
- 2005-01-27 Peter Bartok <[email protected]>
- * Form.cs:
- - Place window in default location, instead of hardcoded 0/0
- - Send initial LocationChanged event
- * Control.cs:
- - UpdateBounds after creation to find out where the WM placed us
- - Make sure that if the ParentForm changes location the Form
- is notified
- * XplatUIX11.cs: XGetGeometry will not return the coords relative
- to the root, but to whatever the WM placed around us.
- Translate to root coordinates before returning toplevel
- coordinates
- * XplatUIWin32.cs: Removed debug output
- * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
- flag to GetWindowPos, to allow translation of coordinates on X11
- 2005-01-27 Jordi Mas i Hernandez <[email protected]>
- * ListBox.cs: connect LostFocus Event
- 2005-01-27 Peter Bartok <[email protected]>
- * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
- XplatUIX11.cs: Extended the Systray API
- * Form.cs: Removed debug output
- * Application.cs: Fixed focus assignment, always need to call
- XplatUI.Activate() since Form.Activate() has rules that may
- prevent activation
- * NotifyIcon.cs: Should be complete now
- * ToolTip.cs: Worked around possible timer bug
- 2005-01-27 Jackson Harper <[email protected]>
- * TabControl.cs:
- - Only invalidate the effected tabs when the
- selected index changes. This reduces drawing and gets rid of some
- flicker.
- - Only refresh if the tabs need to be shifted, otherwise only
- invalidate the slider button.
- - On windows the tabs are not filled to right if the slider is
- visible.
-
- 2005-01-27 Jackson Harper <[email protected]>
- * TabControl.cs: Only refresh on mouseup if we are showing the
- slider. Also only invalidate the button whose state has changed.
- 2005-01-26 Peter Bartok <[email protected]>
- * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
- * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
- and SystrayRemove() methods
- * XplatUIOSX.cs: Stubbed Systray methods
- * XplatUIX11.cs:
- - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
- methods
- - Fixed broken XChangeProperty calls (marshalling messed up things)
- * X11Structs.cs: Added enums and structs required for Size hinting
- * NotifyIcon.cs: Added & implemented
- 2005-01-26 Jackson Harper <[email protected]>
- * TabControl.cs: Space vertically layed out tabs properly.
- 2005-01-26 Peter Bartok <[email protected]>
- * Form.cs (CreateClientParams): Always set the location to 0,0
- since we're a child window.
- * Control.cs (SetVisibleCore): Always explicitly setting the location
- of a toplevel window, apparently X11 doesn't like to move windows
- while they're not mapped.
- 2005-01-26 Jackson Harper <[email protected]>
- * TabControl.cs: Implement FillToRight size mode with vertically
- rendered tabs.
- 2005-01-26 Jordi Mas i Hernandez <[email protected]>
- * ControlPaint.cs, ThemeWin32Classic.cs
- - Fixes DrawFocusRectangle
- 2005-01-26 Jordi Mas i Hernandez <[email protected]>
- * MenuAPI.cs:
- - MenuBar tracking only starts when item is first clicked
- - Fixes menu hidding for multiple subitems
- - Unselect item in MenuBar when item Executed
- - Fixes bug 71495
- 2005-01-25 Jordi Mas i Hernandez <[email protected]>
- * ListControl.cs:
- - IsInputKey for ListBox
- * ListBox.cs:
- - Focus item
- - Shift and Control item selection
- - Implement SelectionMode.MultiExtended
- - Fixes RightToLeft
- * ComboBox.cs:
- - IsInputKey implemented
- - Do not generate OnTextChangedEdit on internal txt changes
-
- 2005-01-23 Peter Bartok <[email protected]>
- * AccessibleObject.cs: Partially implemented Select()
- * MonthCalendar.cs: Added missing attributes and events
- * Form.cs: Fixed CreateParams behaviour, now controls derived from
- form can properly override CreateParams.
- * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
- XplatUIX11.cs: Dropped RefreshWindow method, not needed if
- Control performs Invalidate & Update
- * NativeWindow (CreateHandle): Added special handling for Form
- and Form.FormParent classes to allow overriding of From.CreateParams
- * Control.cs:
- - ControlNativeWindow: Renamed 'control' variable to more intuitive
- name 'owner'
- - ControlNativeWindow: Added Owner property
- - Removed usage of Refresh() on property changes, changed into
- Invalidate(), we need to wait until the queue is processed for
- updates, direct calls might cause problems if not all vars for
- Paint are initialized
- - Added call to UpdateStyles() when creating the window, to set any
- styles that CreateWindow might have ignored.
- - Added support for Form CreateParent overrides to UpdateStyles()
- * MessageBox.cs: Removed no longer needed FormParent override stuff,
- CreateParams are now properly overridable
- * CommonDialog.cs: Removed no longer needed FormParent override stuff,
- CreateParams are now properly overridable
- 2005-01-23 Miguel de Icaza <[email protected]>
- * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
- OnTextBoxChanged.
- Capture LostFocus and OnTextBoxChanged. The later introduces a
- recursive invocation that I have not figured out yet.
- Reset the timer when not using (it was accumulating).
- (OnTextBoxChanged): Set UserEdit to true here to track whether the
- user has made changes that require validation.
- Reset changing to avoid loops.
- 2005-01-22 Miguel de Icaza <[email protected]>
- * NumericUpDown.cs: Display value at startup.
- * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
- ValidateEditText.
- * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
- filled in. Added some basic parsing of text.
- Still missing the OnXXX method overrides, and figuring out the
- events that must be emitted.
- * UpDownBase.cs: Handle UserEdit on the Text property.
-
- 2005-01-22 Jordi Mas i Hernandez <[email protected]>
- * ComboBox.cs:
- - Fixes IntegralHeight
- - ToString method
- 2005-01-21 Jackson Harper <[email protected]>
- * TabControl.cs: Set the SelectedIndex property when SelectedTab
- is set so that the page visibility is updated and the tabs are
- sized correctly.
- 2005-01-21 Jackson Harper <[email protected]>
- * TabControl.cs: Use cliping rectangle for blitting. Give the
- theme the clipping rect so we can do clipping while
- drawing. Remove some debug code.
- 2005-01-21 Jackson Harper <[email protected]>
- * TabPage.cs: Add a new method so tab pages can force the tab
- control to recalculate the tab page sizes.
- * TabControl.cs: UpdateOwner needs to make the tab control recalc
- sizes.
- 2005-01-20 Jackson Harper <[email protected]>
- * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
- 2005-01-20 Jackson Harper <[email protected]>
- * TreeView.cs: Set the bounds for nodes properly. They were
- getting screwed up when checkboxes were not enabled, but images
- were.
- 2005-01-20 Jordi Mas i Hernandez <[email protected]>
- * ListBox.cs:
- - Owner draw support
- - Fixes
-
- 2005-01-20 Jackson Harper <[email protected]>
- * XplatUIStructs.cs: More misc keys
- * X11Keyboard.cs: Ignore some control keys.
- 2005-01-20 Jackson Harper <[email protected]>
- * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
- * X11Keyboard.cs: Set the AltGr mask when we get a key event.
- 2005-01-19 Peter Bartok <[email protected]>
- * Control.cs: Un-selecting the control when it is loosing focus
- 2005-01-19 Jackson Harper <[email protected]>
- * TreeView.cs: Hook up to the text controls leave event so we can
- end editing when the users clicks outside the text box.
-
- 2005-01-19 Jackson Harper <[email protected]>
- * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
- get set in the conversion array.
- 2005-01-19 Peter Bartok <[email protected]>
- * Application.cs (ModalRun): Added a call to CreateControl to ensure
- focus is properly set
- * Button.cs:
- - Added missing attributes
- - removed styles, those are already set in the base class
- * ButtonBase.cs:
- - Added missing attributes
- - Added clip window styles
- * CheckBox.cs: Added missing attributes
- * CommonDialog.cs:
- - FormParentWindow.CreateParams: Added required clip styles
- * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
- also filters modifier keys
- * MessageBox.cs:
- - Added assignment of Accept and Cancel button to enable Enter
- and Esc keys in MessageBox dialogs
- - FormParentWindow.CreateParams: Added required clip styles
- * RadioButton.cs: Added missing attributes
- * TextControl.cs: No longer draws selection if control does not
- have focus
- * TextBoxBase.cs:
- - Now draws simple rectangle around test area to make it obvious
- there's a control. This is a hack until we properly support borders
- - A few simple fixes to support selections better, now erases selected
- text when typing, and resets selection when using movement keys
- 2005-01-19 Miguel de Icaza <[email protected]>
- * UpDownBase.cs: Added some new properties.
- * DomainUpDown.cs: Implement a lot to get my test working.
- 2005-01-19 Geoff Norton <[email protected]>
- * XplatUIOSX.cs: Fix a minor bug to bring the close box back
- 2005-01-19 Geoff Norton <[email protected]>
- * OSXStructs (WindowAttributes): Fixed csc complaints
- 2005-01-19 Geoff Norton <[email protected]>
- * XplayUIOSX.cs:
- OSXStructs.cs: Initial refactor to move enums and consts into
- OSXStructs and use them in the driver for greater readability.
- 2005-01-19 Geoff Norton <[email protected]>
- * XplatUIOSX.cs: Initial support for Standard Cursors.
- * OSXStructs.cs: Move our structs here; added ThemeCursor enum
- 2005-01-19 Jordi Mas i Hernandez <[email protected]>
- * ComboBox.cs: ability to change style when the ctrl is already
- created, missing methods and events, bug fixes, signature fixes
- 2005-01-19 Peter Bartok <[email protected]>
- * Cursors.cs (ctor): Added ctor to fix signature
- 2005-01-18 Peter Bartok <[email protected]>
- * Button.cs: Implemented DoubleClick event
- * ButtonBase.cs:
- - Fixed keyboard handling to behave like MS, where the press of
- Spacebar is equivalent to a mousedown, and the key release is
- equivalent to mouseup. Now a spacebar push will give the same
- visual feedback like a mouse click.
- - Added missing attributes
- - Added ImeModeChanged event
- - Added support for generating DoubleClick event for derived classes
- * CheckBox.cs:
- - Implemented DoubleClick event
- - Added missing attributes
- * CommonDialog.cs: Added missing attribute
- * ContextMenu.cs: Added missing attributes
- * RadioButton.cs:
- - AutoChecked buttons do not allow to be unselected when clicked
- (otherwise we might end up with no selected buttons in a group)
- - Added missing attributes
- - Implemented DoubleClickEvent
- * ThreadExceptionDialog.cs: Enabled TextBox code
- 2005-01-18 Peter Bartok <[email protected]>
- * Form.cs: Removed debug output
- * Button.cs: Added support for DoubleClick method
- 2005-01-18 Peter Bartok <[email protected]>
- * Form.cs:
- - Added method to parent window that allows triggering size
- calculations when a menu is added/removed
- - set_Menu: Cleaned up mess from early days of Form and Control,
- now properly triggers a recalc when a menu is added/removed
- - Added case to select form itself as focused form if no child
- controls exist
- - Added PerformLayout call when showing dialog, to ensure properly
- placed controls
- * Control.cs:
- - Select(): Made internal so Form can access it
- - Focus(): Only call Xplat layer if required (avoids loop), and sets
- status
- * Application.cs (Run): Removed hack and calls PerformLayout instead
- to trigger calculation when Form becomes visible
- 2005-01-18 Jordi Mas i Hernandez <[email protected]>
- * ComboBox.cs: fixes for ownerdraw
- 2005-01-18 Peter Bartok <[email protected]>
- * TextControl.cs:
- - Sentinel is no longer static, each Document gets it's own, this
- avoids locking or alternatively overwrite problems when more
- than one text control is used simultaneously.
- - Switched to use Hilight and HilightText brushes for text selection
- * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
- 2005-01-18 Peter Bartok <[email protected]>
- * Control.cs:
- - Hooked up the following events:
- o ControlAdded
- o ControlRemoved
- o HandleDestroyed
- o ImeModeChanged
- o ParentChanged
- o TabStopChanged
- o Invalidated
- o SystemColorsChanged
- o ParentFontChanged
- o Move
- - Removed debug output
- - Added a call to the current theme's ResetDefaults when a color change
- is detected
- * Form.cs: Now setting the proper ImeMode
- * Theme.cs: Defined a method to force recreation of cached resources
- and rereading of system defaults (ResetDefaults())
- * ThemeWin32Classic.cs: Added ResetDefaults() stub
- 2005-01-17 Peter Bartok <[email protected]>
- * Control.cs: Added missing attributes
- 2005-01-17 Jackson Harper <[email protected]>
- * TreeNode.cs: Implement editing. Add missing properties selected
- and visible.
- * TreeView.cs: Implement node editing. Also some fixes to use
- Invalidate (invalid area) instead of Refresh when selecting.
- 2005-01-17 Peter Bartok <[email protected]>
- * Control.cs:
- - Implemented InvokeGotFocus() method
- - Implemented InvokeLostFocus() method
- - Implemented InvokePaint() method
- - Implemented InvokePaintBackground() method
- - Implemented InvokeClick() method
- - Implemented FindForm() method
- - Implemented RectangleToClient() method
- - Implemented ClientToRectangle() method
- - Implemented ResetBackColor() method
- - Implemented ResetCursor() method
- - Implemented ResetFont() method
- - Implemented ResteForeColor() method
- - Implemented ResetImeMode() method
- - Implemented ResetLeftToRight() method
- - Implemented ResetText() method
- - Implemented Scale() methods
- - Implemented ScaleCore() method
- - Implemented Update() method
- - Removed unused variables
- - Stubbed AccessibilityNotifyClients and
- ControlAccessibleObject.NotifyClients() methods (dunno what to do
- with those yet)
- - Now setting proper default for RightToLeft property
- - Fixed bug in SetClientSizeCore that would cause windows to get
- really big
- - Now sending Click/DoubleClick events
- - Now selecting controls when left mouse button is clicked on
- selectable control
- * AccessibleEvents.cs: Added
- * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
- * XplatUIOSX.cs: Stubbed UpdateWindow() method
- * XplatUIWin32.cs: Implemented UpdateWindow() method
- * XplatUIX11.cs: Implemented UpdateWindow() method
- * Form.cs: Removed stray semicolon causing CS0162 warning
- * ThemeWin32Classic.cs: Fixed unused variable warnings
- * ScrollableControl.cs: Now calls base method for ScaleCore
- * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
- style to avoid interference with internal click handler (which is
- different than standard Control click handling)
- * RadioButton.cs:
- - Now unchecks all sibling radio buttons when control is
- selected (Fixes #68756)
- - Removed internal tabstop variable, using the one inherited from
- Control
- 2005-01-17 Jackson Harper <[email protected]>
- * NavigateEventArgs.cs: Fix base type.
- * LinkLabel.cs: Sig fix
-
- 2005-01-17 Jackson Harper <[email protected]>
- * TreeView.cs: Only invalidate the effected nodes bounds when
- selecting nodes.
- 2005-01-13 Jordi Mas i Hernandez <[email protected]>
- * XplatUIWin32.cs: fixes Win32 marshaling
- * XplatUIX11.cs: fixes method signature
- 2005-01-17 Peter Bartok <[email protected]>
- * XplatUIX11.cs: Clean up resources when we no longer need them
- 2005-01-17 Peter Bartok <[email protected]>
- * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
- OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
- and DestroyCursor() methods.
- * Cursor.cs: Partially implemented, now supports standard cursors;
- still contains some debug code
- * Cursors.cs: Implemented class
- * Control.cs:
- - WndProc(): Added handling of WM_SETCURSOR message, setting the
- appropriate cursor
- - Implemented Cursor property
- - Replaced break; with return; more straightforwar and possibly
- faster
- - Now properly setting the result for WM_HELP
- * X11Structs.cs: Added CursorFontShape enum
- * XplatUIStructs.cs:
- - Added StdCursor enum (to support DefineStdCursor() method)
- - Added HitTest enum (to support sending WM_SETCURSOR message)
- * XplatUIX11.cs:
- - Now sends the WM_SETCURSOR message
- - Implemented new cursor methods
- * XplatUIOSX.cs: Stubbed new cursor methods
- * XplatUIWin32.cs:
- - Implemented new cursor methods
- - Added GetSystemMetrics function and associated enumeration
- 2005-01-15 Peter Bartok <[email protected]>
- * Control.cs:
- - WndProc(): Now handles EnableNotifyMessage
- - SelectNextControl(): Fixed bug where if no child or sibling
- controls exist we looped endlessly
- 2005-01-14 Jackson Harper <[email protected]>
- * TreeView.cs: Recalculate the tab pages when a new one is added
- so that the proper bounding rects are created.
- 2005-01-14 Jackson Harper <[email protected]>
- * TreeView.cs: Draw a gray box instead of a grip in the lower
- right hand corner when there are both horizontal and vertical
- scroll bars.
- 2005-01-14 Jackson Harper <[email protected]>
- * Control.cs: When erasing backgrounds use FromHwnd instead of
- FromHdc when there is a NULL wparam. This occurs on the X driver.
- * XplatUIX11.cs: Set the wparam to NULL.
- 2005-01-13 Jackson Harper <[email protected]>
- * PictureBox.cs: Implement missing methods (except ToString, need
- to test that on windows) and events. When visibility is changed we
- need to redraw the image because the buffers are killed. When size
- is changed refresh if the sizemode needs it.
- 2005-01-13 Peter Bartok <[email protected]>
- * Control.cs (SelectNextControl): Was using wrong method to select
- a control
- 2005-01-13 Jordi Mas i Hernandez <[email protected]>
- * ComboBox.cs: fixes dropstyle
- 2005-01-13 Peter Bartok <[email protected]>
- * Form.cs:
- - Implemented Select() override
- - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
- - Now sets keyboard focus on startup
- * Control.cs (SelectNextControl): Now properly handles directed=true
- * TextBoxBase.cs:
- - WndProc: Now passes tab key on to base if AcceptTabChar=false
- - Added (really bad) focus rectangle (mostly for testing)
- * TextBox.cs: Added code to handle getting/loosing focus and invalidating
- to enforce redraw on focus changes
- * ContainerControl.cs:
- - Fixed detection of Shift-Tab key presses
- - Fixed traversal with arrow keys
- * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
- gonna keep this or if it's complete yet
-
- 2005-01-13 Jordi Mas i Hernandez <[email protected]>
- * ComboBox.cs: missing properties, fixes
- 2005-01-13 Peter Bartok <[email protected]>
- * Panel.cs (ctor): Setting Selectable window style to off
- * Splitter.cs (ctor): Setting Selectable window style to off
- * GroupBox.cs (ctor): Setting Selectable window style to off
- * Label.cs (ctor): Setting Selectable window style to off
- 2005-01-12 Miguel de Icaza <[email protected]>
- * UpDownBase.cs (InitTimer): If the timer has been already
- created, enable it.
- Use a TextBox instead of a Label.
- 2005-01-12 Jackson Harper <[email protected]>
- * TreeView.cs: Refresh the tree after sorting the nodes. Always
- draw the connecting node lines (when ShowLines is true).
- * TreeNode.cs: The nodes index can now be updated. This is used
- when a node collection is sorted.
- * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
- insert or an existing unsorted node collection can be sorted.
-
- 2005-01-12 Peter Bartok <[email protected]>
- * ContainerControl.cs: Implemented ProcessDialogKeys()
- 2005-01-12 Peter Bartok <[email protected]>
- * Control.cs:
- - Implemented SelectNextControl() method
- - Several focus related bug fixes
- - Fixed Docking calculations to match MS documentation and
- behaviour
- 2005-01-12 Jordi Mas i Hernandez <[email protected]>
- * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
- bug fixes
- 2005-01-12 Peter Bartok <[email protected]>
- * Control.cs:
- - Fixed broken Contains() method
- - Implemented GetNextControl() method. Finally. This is the pre-
- requisite for focus handling.
- 2005-01-12 Peter Bartok <[email protected]>
- * OSXStrucs.cs: Added
- 2005-01-12 Peter Bartok <[email protected]>
- * XplatUIWin32.cs:
- - Removed PeekMessageFlags
- - Implemented SetWindowStyle() method
- * XplatUIStructs.cs: Added PeekMessageFlags
- * X11Structs: Added missing border_width field to XWindowChanges struct
- * XplatUIX11.cs:
- - PeekMessage: Now throws exception if flags which are not yet
- supported are passed
- - Implemented SetWindowStyle() method
- - Fixed SetZOrder to handle AfterHwnd properly
- * XplatUI.cs: Added SetWindowStyle() method
- * XplatUIDriver.cs: Added SetWindowStyle() abstract
- * Control.cs:
- - Implemented UpdateStyles() method
- - Implemented UpdateZOrder() method
- * XplatUIOSX.cs: Added SetWindowStyle() stub
- 2005-01-12 Geoff Norton <[email protected]>
- * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
- button mouse).
- 2005-01-11 Jackson Harper <[email protected]>
- * TreeView.cs: Still need to draw lines to siblings even if out of
- the current node is out of the clip.
- 2005-01-11 Jackson Harper <[email protected]>
- * TreeView.cs: When setting the hbar/vbar/grip position use
- SetBounds so that perform layout is only called once. Also suspend
- and resume layout so layout is only done once for all controls.
- - Removed some debug fluff
- * SizeGrip.cs: Call base implmentation in overriding methods.
- - When visibility is changed the drawing buffers are killed so we
- need to redraw.
- 2005-01-11 Jackson Harper <[email protected]>
- * TreeView.cs: Calculate the open node count while drawing. This
- saves us an entire tree traversal for every paint operation. Use
- a member var for the open node count so less vars are passed around.
- 2005-01-11 John BouAntoun <[email protected]>
- * MonthCalendar.cs:
- - fixed selection to use mousemove, not mouse polling on timer
- * ThemeWin32Classic.cs
- - removed redundant unused variable "no_more_content"
-
- 2005-01-11 Peter Bartok <[email protected]>
- * XplatUIX11.cs (DoEvents): Needs to return when no more events
- are pending, so it now calls PeekMessage instead of GetMessage;
- implemented a incomplete version of PeekMessage
-
- 2005-01-11 Peter Bartok <[email protected]>
- * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
- I18n issues
- * TextBoxBase.cs: Added sending of TextChanged event
- 2005-01-10 Jackson Harper <[email protected]>
- * TreeView.cs: Try not to draw outside the clipping rectangle on
- each node element.
- 2005-01-10 Jordi Mas i Hernandez <[email protected]>
- * ComboBox.cs: keyboard navigation, item navigation, bug fixes
- 2005-01-10 Jackson Harper <[email protected]>
- * TreeView.cs:
- - Implement fast scrolling. Now only the newly
- exposed nodes are drawn and the old image is moved using the
- XplatUI::ScrollWindow method.
- - Factor in height of nodes when calculating whether or not the
- node is in the clipping rect.
- 2005-01-10 Jackson Harper <[email protected]>
- * TreeNodeCollection.cs: Refresh the tree when a new node is added.
- 2005-01-10 Peter Bartok <[email protected]>
- * Application.cs: Added temporary hack to resolve all our resize
- required issues on startup. This will get fixed properly at
- some point in the future
- 2005-01-10 Jackson Harper <[email protected]>
- * SizeGrip.cs: New internal class that is used as a sizing
- grip control...hence the name.
- 2005-01-10 Peter Bartok <[email protected]>
- * Control.cs: Implemented proper TabIndex handling, now assigning
- a tabindex when a control is added to a container
- * GroupBox.cs (ctor): Now sets the Container style bit, required
- for Control.GetNextControl()
- 2005-01-09 Jackson Harper <[email protected]>
- * TextBoxBase.cs: Clear window when scrolling (fixes build).
- 2005-01-09 Peter Bartok <[email protected]>
- * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
- XplatUIX11.cs: Added ability to control ScrollWindow expose and
- an overload for ScrollWindow to allow only scrolling a rectangle
- 2005-01-09 Peter Bartok <[email protected]>
- * Form.cs:
- - Implemented SetDesktopBounds method
- - Implemented SetDesktopLocation method
- 2005-01-08 Jackson Harper <[email protected]>
- * TreeView.cs: Only set the vbar's Maximum and LargeChange when
- the node count has changed, this removes to VScroll::Refresh calls
- when drawing.
- 2005-01-08 Geoff Norton <[email protected]>
- * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
- 2005-01-07 Jackson Harper <[email protected]>
- * TreeNode.cs: Just update the single node when it is
- checked. Don't refresh after toggling, the Expand/Collapse already
- handles this.
- * TreeView.cs: Respect clipping a little more when drawing. Try
- not to redraw things that don't need to be redrawn. Just hide the
- scrollbars when they are no longer needed instead of removing
- them, so they don't have to be created again and again.
-
- 2005-01-07 Geoff Norton <[email protected]>
- * XplatUIOSX.cs (SetCaretPos): We need to translate the view
- coordinates to window space to place the caret properly, FIXED.
- Implement GetWindowState & SetWindowState
- 2005-01-06 Peter Bartok <[email protected]>
- * Form.cs:
- - Implemented ClientSize property
- - Implemented DesktopBounds property
- - Implemented DesktopLocation property
- - Implemented IsRestrictedWindow property
- - Implemented Size property
- - Implemented TopLevel property
- - Implemented FormWindowState property
- * Control.cs:
- - Implemented GetTopLevel() method
- - Implemented SetTopLevel() method
- * X11Structs.cs (Atom):
- - Added AnyPropertyType definition
- - Added MapState definiton and updated XWindowAttribute struct
- * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
- * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
- * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
- * XplatUIWin32.cs:
- - Implemented GetWindowState() and SetWindowState() methods
- - Fixed Win32GetWindowLong return type
- * XplatUIX11.cs:
- - Introduced central function for sending NET_WM messages
- - Implemented GetWindowState() and SetWindowState() methods
- * TextBoxBase.cs (set_Lines):
- - Now uses Foreground color for text added via Text property (Duh!)
- - Added code to remember programmatically requested size (fixes
- behaviour when Multiline is set after Size)
- - Added AutoSize logic
- 2005-01-06 Jackson Harper <[email protected]>
- * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
- 2005-01-06 Jackson Harper <[email protected]>
- * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
- set to less then 0.
- 2005-01-06 Jackson Harper <[email protected]>
- * ScrollableControl.cs: Lazy init the scrollbars.
-
- 2005-01-06 Jackson Harper <[email protected]>
- * Theme.cs: Speed up getting pens and solid brushes, by using
- their ARGB as a hash instead of tostring and not calling Contains.
- 2005-01-06 Peter Bartok <[email protected]>
- * Form.cs:
- - Implemented OnActivated and OnDeactivate event trigger
- - Implemented Activate() method
- - Fixed ShowDialog() to activate the form that was active before
- the dialog was shown
- * XplatUIX11.cs:
- - Added global active_window var that tracks the currently active
- X11 window
- - Now always grabs Property changes from the root window to always
- catch changes on the active window property
- - Added code to PropertyNotify handler to send Active/Inactive
- messages when state changes. This puts X11 and Win32 en par on
- WM_ACTIVATE notifications (except for double notifications when
- the user clicks away from our modal window to another one of our
- windows)
- 2005-01-05 Jackson Harper <[email protected]>
- * ImageList.cs: Implment ctor
- 2005-01-05 Geoff Norton <[email protected]>
- * XplatUIOSX.cs: Implement Activate/SetTopmost
- 2005-01-05 Geoff Norton <[email protected]>
- * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
- 2005-01-05 Geoff Norton <[email protected]>
- * XplatUIOSX.cs: Implement GetActive/SetFocus.
- 2005-01-05 Peter Bartok <[email protected]>
- * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
- XplatUIOSX.cs: Added GetActive method to return the currently
- active window for the application (or null, if none is active)
- * Form.cs:
- - Implemented ActiveForm
- - Commented out owner assignment for modal dialogs (causes problems
- on Win32, since the owner will be disabled)
- - Reworked some Active/Focus handling (still incomplete)
- * CommonDialog.cs: Commented out owner assignment for modal dialogs
- (causes problems on Win32, since the owner will be disabled)
- * IWin32Window: Added ComVisible attribute
- 2005-01-05 Peter Bartok <[email protected]>
- * ToolTip.cs (WndProc): Enable setting focus now that we have the
- required XplatUI functions.
- 2005-01-05 Peter Bartok <[email protected]>
- * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
- XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
- to implement focus and activation handling; still incomplete and
- with debug output
- 2005-01-04 Peter Bartok <[email protected]>
- * TextBoxBase.cs: Changed access level for Document property to
- match switch to internal for TextControl
- 2005-01-04 Peter Bartok <[email protected]>
- * AccessibleObject: Added ComVisible attribute
- 2005-01-04 Jackson Harper <[email protected]>
- * X11Keyboard.cs: Remove unneeded var.
- 2005-01-04 Jackson Harper <[email protected]>
- * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
- but PAINT.
- * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
- ClientMessage. This makes apps exit cleanly (more often).
-
- 2005-01-04 Jackson Harper <[email protected]>
- * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
- handling focus, return correct colors and fonts,
- * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
- handle selection, horizontal scrolling, and mouse interaction.
- 2005-01-04 Peter Bartok <[email protected]>
- * ICommandExecutor.cs: Added
- * IDataGridColumnStyleEditingNotificationService.cs: Added
- * IFeatureSupport.cs: Added
- * IFileReaderService.cs: Added
- * IDataObject.cs: Added ComVisible attribute
- * AmbientProperties.cs: Added
- * BaseCollection.cs: Added missing attributes
- * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
- * BaseCollection.cs: Added missing attributes
- * Binding.cs: Added TypeConverter attribute
- * BindingContext.cs: Added DefaultEvent attribute
- * BindingsCollection.cs: Added DefaultEvent attribute
- * Button.cs: Added DefaultValue attribute
- * DragEventArgs.cs: Added ComVisible attribute
- * GiveFeedbackEventArgs.cs: Added ComVisible attribute
- * KeyEventArgs.cs: Added ComVisible attribute
- * KeyPressEventArgs.cs: Added ComVisible attribute
- * MouseEventArgs.cs: Added ComVisible attribute
- * NavigateEventArgs.cs: Added
- * NavigateEventHandler.cs: Added
- * FeatureSupport.cs: Added
- * OSFeature.cs: Added
- * Theme.cs: Added abstract Version property to support OSFeature
- * ThemeWin32Classic.cs: Added Version property to
- support OSFeature.Themes
- * ProgressBar.cs: Removed OnPaintBackground override, not required since
- the proper styles to avoid background drawing are set, also doesn't
- match MS signature
- * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
- * QueryContinueDragEventArgs.cs: Added ComVisible attribute
- * ScrollEventArgs.cs: Added ComVisible attribute
- * SplitterEventArgs.cs: Added ComVisible attribute
- * AccessibleSelection.cs: Added Flags attribute
- * Appearance.cs: Added ComVisible attribute
- * Border3DSide.cs: Added ComVisible attribute
- * Border3DStyle.cs: Added ComVisible attribute
- * BorderStyle.cs: Added ComVisible attribute
- * DragAction.cs: Added ComVisible attribute
- * ErrorBlinkStyle.cs: Added
- * ScrollEventType.cs: Added ComVisible attribute
- * AnchorStyles.cs: Added Editor attribute
- * DockStyle.cs: Added Editor attribute
- * HorizontalAlignment.cs: Added ComVisible attribute
- * HelpEventArgs.cs: Added ComVisible attribute
- * PaintEventArgs.cs: Added IDisposable
- 2005-01-04 Peter Bartok <[email protected]>
- * TextControl.cs: Switched Line, LineTag and Document classes to
- internal
- 2005-01-04 Jordi Mas i Hernandez <[email protected]>
- * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
- Simple mode, fixes, IntegralHeight, etc.
- 2005-01-04 Peter Bartok <[email protected]>
- * TextBoxBase.cs: Using proper font variable now
- 2005-01-04 Peter Bartok <[email protected]>
- * Form.cs (ShowDialog): Set parent to owner, if provided
- * GroupBox.cs: Removed unused vars
- * TextControl.cs:
- - Added GetHashCode() for Document and LineTag classes
- - Removed unused variables
- - Added CharIndexToLineTag() and LineTagToCharIndex() methods
- to allow translation between continuous char position and line/pos
- * CheckBox.cs: Removed vars that are provided by base class
- * RadioButton.cs: Removed vars that are provided by base class, added
- new keyword where required
- * LinkLabel.cs: Added new keyword where required
- * Control.cs (WndProc): Removed unused variable
- * TextBoxBase.cs:
- - Finished SelectionLength property
- - Implemented SelectionStart property
- - Implemented Text property
- - Removed unused vars
- * MessageBox.cs: Added new keyword where required
- * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
- WndProc signature
- * MenuAPI.cs: Added new keyword where required
- * ButtonBase.cs: Removed vars that are provided by base class, added
- new keyword where required
- * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
- argument to double, to allow compiling with csc 2.0 (Atsushi ran
- into this)
- * Application.cs (Run): Now triggers the ThreadExit event
- * CommonDialog.cs: Added new keyword where required; now properly sets
- parent (owner) for dialog
- * XplatUIX11.cs: Commented out unused vars
- * StatusBar.cs: Fixed signature for Text property
- * TabPage.cs: Undid Jordi's removal of unused var, now using the var
- 2005-01-04 Jordi Mas i Hernandez <[email protected]>
- * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
- TrackBar.cs, MonthCalendar.cs: remove unused vars
- 2005-01-03 Jackson Harper <[email protected]>
- * ThemeWin32Classic.cs:
- * X11Keyboard.cs: Remove unused vars.
- 2005-01-03 Peter Bartok <[email protected]>
- * TextBox.cs:
- - set_Text: Tied into TextControl
- - set_TextAlignment: Tied into TextControl
- * TextControl.cs:
- - Added alignment properties and implemented alignment handling
- and drawing (still has a bug, not generating proper expose events)
- - Added new Line() constructor to allow passing the line alignment
- - Fixed selection setting, properly handling end<start now
- - Added aligment considerations to RecalculateDocument()
- * TextBoxBase.cs:
- - Now properly enforces control height for single line controls
- - Added support for CharacterCasing
- - Added IsInputKey override
- - Fixed Keys.Enter logic
- - Added SetBoundsCore override
- - Fixed mouse selection handling
- 2005-01-03 Jackson Harper <[email protected]>
- * TreeView.cs:
- - Collapse and uncheck all nodes when CheckBoxes is disabled.
- - Checkboxes are always aligned to the bottom of the node,
- regardless of item height.
- - Use the node bounds to draw the text so we can center it when
- the item height is greater then the font height.
- - Node::Bounds are only the text part of the node.
- * TreeNode.cs: New method to combine collapsing and unchecking all
- nodes recursively.
- 2005-01-02 Jackson Harper <[email protected]>
- * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
- * TreeNode.cs: Add a bounding box for the checkbox, refresh the
- tree when a check is changed. TODO: Only refresh the checked node.
- 2004-12-30 Jackson Harper <[email protected]>
- * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
- * TreeNode.cs: When collapsing make sure to never collapse the
- root node.
- 2004-12-29 Jackson Harper <[email protected]>
- * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
-
- 2004-12-28 Zoltan Varga <[email protected]>
- * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
- 2004-12-28 Peter Bartok <[email protected]>
- * MessageBox.cs (get_CreateParams): Don't use owner var if it's
- not yet assigned
- 2004-12-28 Peter Bartok <[email protected]>
- * Control.cs (WndProc): Added WM_HELP handler, now generates
- HelpRequested event
- * Form.cs: Added HelpButton property and required support code
- * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
- 2004-12-28 Peter Bartok <[email protected]>
- * CommonDialog.cs:
- - Made DialogForm.owner variable internal
- - Added check to ensure owner form is set before setting
- owner properties in CreateParams
- 2004-12-28 Geoff Norton <[email protected]>
- * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
- swizzling. Implement ClientToScreen and ScreenToClient. Implement
- GetCursorPos. Fix major visibility issues. Rework the windowing
- system to support borderless/titleless windows (implements menus).
- Fix GetWindowPos. Implement initial background color support for
- views.
- 2004-12-28 Peter Bartok <[email protected]>
- * Form.cs (get_CreateParams): Make sure we have an owner before using
- the owner variable. Implement proper default if no owner exists
- 2004-12-28 Peter Bartok <[email protected]>
- * In preparation for making Managed.Windows.Forms the default build target
- for System.Windows.Forms, the following stubbed files were added.
- Dialogs are currently being implemented by contributors and are only
- short-term place holders.
- * ColorDialog.cs: Initial check-in (minmal stub)
- * DataGrid.cs: Initial check-in (minimal stub)
- * DataGridLineStyle.cs: Initial check-in (minimal stub)
- * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
- * DataGridTableStyle.cs: Initial check-in (minimal stub)
- * FontDialog.cs: Initial check-in (minimal stub)
- * FileDialog.cs: Initial check-in (minimal stub)
- * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
- * GridTableStylesCollection.cs: Initial check-in (minimal stub)
- * OpenFileDialog: Initial check-in (minimal stub)
- * IComponentEditorPageSite.cs: Initial check-in
- * Splitter.cs: Initial check-in (for Jackson)
- * SplitterEventArgs.cs: Initial check-in (for Jackson)
- * SplitterEventHandler.cs: Initial check-in (for Jackson)
- * TextBox.cs: Initial check-in; still needs some wiring to
- TextControl backend
- * Form.cs: Implemented ControlBox property
- * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
- * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
- * TextControl.cs: Added selection functionality; added todo header
- * TextBoxBase.cs:
- - Implemented Lines property
- - Implemented TextHeight property
- - Implemented SelectedText property
- - Implemented SelectionLength property
- - Implemented SelectAll method
- - Implemented ToString method
- - Removed and cleaned up some debug code
- - Implemented (still buggy) mouse text selection
- 2004-12-27 Jordi Mas i Hernandez <[email protected]>
- * ComboBox.cs: Complete DropDownList implementation, fixes.
- 2004-12-26 Jordi Mas i Hernandez <[email protected]>
- * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
- * ComboBoxStyle.cs: ComboBoxStyle enum
- * ComboBox.cs: Initial work on ComboBox control
- 2004-12-21 Peter Bartok <[email protected]>
- * Control.cs (ctor, CreateParams): Moved setting of is_visible
- forward so that anything that creates a window gets the default,
- also no longer uses Visible property in CreateParams to avoid
- walking up the parent chain and possibly get the wrong visible
- status. Fixed IsVisible to no longer walk up to the parent.
- 2004-12-21 Peter Bartok <[email protected]>
- * Form.cs (ShowDialog): Unset modality for the proper window
-
- 2004-12-20 Peter Bartok <[email protected]>
- * CommonDialog.cs: Initial check-in
- 2004-12-20 Peter Bartok <[email protected]>
- * Control.cs (Visible): Now uses the parent window instead of the
- client area window for the property
- * Form.cs
- - ShowDialog(): Now uses the proper window for modality
- - The default visibility state for the form parent is now false. This
- will prevent the user from seeing all the changes to the form and
- its controls before the application hits Application.Run()
- - Removed some stale commented out code
- * NativeWindow.cs:
- - Added FindWindow() method to have a method to check for existence
- of a window handle
- - Added ability to override default exception handling (for example
- when debugging with VS.Net; to do this the ExternalExceptionHandler
- define must be set
- - Removed some useless debug output
- * XplatUIX11.cs:
- - Removed r37929 (SetModal patch from Ashwin Bharambe), was
- not working as expected
- - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
- property to allow switching back to the modal window if focus is
- given to another one of our windows (Application Modal)
- - Now only sets override_redirect if we create a window
- without WS_CAPTION
- - Moved EventMask selection before mapping of newly created window
- so we can catch the map event as well
- - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
- - Added various Atom related DllImports
- - Implemented Exit() method
- - .ctor() : No longer shows window if WS_VISIBLE is not defined
- in the CreateParams
- * MessageBox.cs: Now properly deals with the FormParent window by
- providing an override the FormParent CreateParams property to
- set as POPUP instead of OVERLAPPED window.
- 2004-12-19 Geoff Norton <[email protected]>
- * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
- Minor code cleanup.
- 2004-12-19 Geoff Norton <[email protected]>
-
- * XplatUIOSX.cs (SetModal): Implement this method on OSX.
- 2004-12-18 Peter Bartok <[email protected]>
- * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
- implementing SetModal() method
- 2004-12-18 Peter Bartok <[email protected]>
- * X11Structs.cs (XGCValues): Fixed type of function element
- * XplatUI.cs: Added ScrollWindow() method
- * XplatUIDriver.cs: Added ScrollWindow() abstract
- * XplatUIWin32.cs: Implemented ScrollWindow() method
- * XplatUIX11.cs: Implemented ScrollWindow() method
- * XplatUIOSX.cs: Stubbed out ScrollWindow() method
- 2004-12-17 Geoff Norton <[email protected]>
- * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
- Some more keyboard support (INCOMPLETE)
- 2004-12-17 Peter Bartok <[email protected]>
- * TextControl.cs:
- - Added color attribute to line tags.
- - Added color argument to all functions dealing with tags
- - Added color argument support to various functions
- - Fixed miss-calculation of baseline/shift in certain circumstances
- * TextBoxBase.cs: Added new color option to test code
- 2004-12-17 Jackson Harper <[email protected]>
- * TreeNode.cs:
- * MonthCalendar.cs: Signature fixes
- 2004-12-17 Geoff Norton <[email protected]>
- * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
- keyboard event moved it. Create a new graphics context for each paint resolves this
- 2004-12-17 Geoff Norton <[email protected]>
- * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
- Make caret exist and go blink blink. Initial keyboard support.
- Fix exception handler, Add Invalidate support. Change way RefreshWindow
- works.
- 2004-12-17 Jackson Harper <[email protected]>
- * XplatUIStructs.cs: Updated set of virtual keycodes.
- * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
- 2004-12-17 Jackson Harper <[email protected]>
- * XplatUIX11.cs: Prune old keyboard code.
- 2004-12-17 Jackson Harper <[email protected]>
- * XplatUIX11.cs: When generating mouse wparams get the modifier
- keys from the ModifierKeys property.
- 2004-12-17 Jackson Harper <[email protected]>
- * X11Keyboard.cs: Send up/down input when generating
- messages. Remove some unused vars.
- 2004-12-17 Jackson Harper <[email protected]>
- * TabControl.cs:
- * TreeView.cs: get rid of warnings.
- 2004-12-17 Jackson Harper <[email protected]>
- * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
- 2004-12-17 Jordi Mas i Hernandez <[email protected]>
- * ListBox.cs: bug fixes, changes for CheckedListBox.cs
- CheckedListBox.cs: Implementation
- 2004-12-17 Peter Bartok <[email protected]>
- * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
- 2004-12-16 Peter Bartok <[email protected]>
- * TextControl.cs:
- - InsertCharAtCaret(): Fixed start pos fixup
- - CaretLine_get: No longer derives the line from the tag, the tag
- could be stale if lines in the document have been added or deleted
- - RebalanceAfterDelete(): Fixed bug in balancing code
- - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
- - Line.Streamline(): Now can also elminate leading empty tags
- - DumpTree(): Added a few more tests and prevented exception on
- uninitialized data
- - Added Debug section for Combining lines
- - Delete(): Now copies all remaining properties of a line
-
- * TextBoxBase.cs:
- - Left mousebutton now sets the caret (and middle button still acts
- as formatting tester, which must go away soon)
- - Added Debug section for Deleting/Combining lines
- - Fixed calculations for UpdateView after Combining lines
- 2004-12-16 Peter Bartok <[email protected]>
- * TextControl.cs: Now properly aligns text on a baseline, using the
- new XplatUI.GetFontMetrics() method. Simplified several calculations
- * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
- defined
- 2004-12-16 Peter Bartok <[email protected]>
- * XplatUI.cs: Added GetFontMetrics() method
- * XplatUIDriver.cs: Added GetFontMetrics() abstract
- * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
- into libgdiplus, our private GetFontMetrics function
- * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
- * XplatUIWin32.cs: Implemented GetFontMetrics() method
- 2004-12-16 Jackson Harper <[email protected]>
- * XplatUIStruct.cs: Add enum for dead keys
- * X11Keyboard.cs: Map and unmap dead keys.
- 2004-12-16 Jackson Harper <[email protected]>
- * X11Keyboard.cs: Detect and use the num lock mask.
- 2004-12-16 Peter Bartok <[email protected]>
- * Control.cs (CreateGraphics): Added check to make sure the
- handle of the window exists before calling Graphics.FromHwnd()
- 2004-12-16 Peter Bartok <[email protected]>
- * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
- contains a lot of code that's not supposed to be there for the
- real thing, but required for developing/testing the textbox
- backend.
- 2004-12-16 Peter Bartok <[email protected]>
- * TextControl.cs:
- - Fixed Streamline method
- - Added FindTag method to Line
- - Added DumpTree method for debugging
- - Added DecrementLines() method for deleting lines
- - Fixed UpdateView to update the cursor to end-of-line on single-line
- updates
- - Added PositionCaret() method
- - Fixed MoveCaret(LineDown) to move into the last line, too
- - Added InsertChar overload
- - Fixed InsertChar tag offset calculations
- - Added DeleteChar() method
- - Added Combine() method for folding lines
- - Fixed Delete() method, no longer allocates wasted Line object and
- now copies all properties when swapping nodes
- - Delete() method now updates document line counter
- 2004-12-15 Jackson Harper <[email protected]>
- * XplatUIX11.cs: Get the modifier keys from the keyboard driver
- * X11Keyboard.cs: Expose the currently selected modifier keys
- through a property.
- 2004-12-15 Peter Bartok <[email protected]>
- * TextControl.cs: Initial check-in. Still incomplete
- 2004-12-15 Jackson Harper <[email protected]>
- * TreeNode.cs:
- * TreeView.cs: Fix build on csc (second time today ;-))
- 2004-12-15 Jackson Harper <[email protected]>
- * TreeView.cs: Store the treenodes plus/minus box bounds when it
- is calculated and use this for click testing.
- * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
- 2004-12-15 Jackson Harper <[email protected]>
- * TreeView.cs: Pass the nodes image index to the image list when
- drawing that image.
- 2004-12-15 Jackson Harper <[email protected]>
- * X11Keyboard.cs: Set messages hwnd.
- * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
- post_message calls.
- 2004-12-15 Jackson Harper <[email protected]>
- * X11Keyboard.cs: Fix to compile with csc.
-
- 2004-12-15 Jackson Harper <[email protected]>
- * X11Structs.cs: Add key mask values
- * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
- * X11Keyboard.cs: New file - Extrapolates and interpolates key
- down/up foo into WM_CHAR foo
- * KeyboardLayouts.cs: Common keyboard layouts
- * XplatUIX11.cs: Add the keyboard driver. Add functionality to
- post messages into the main queue.
- 2004-12-13 Jordi Mas i Hernandez <[email protected]>
- * Button.cs: implement ProcessMnemonic
- * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
- brushes everytime
- * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
- * ButtonBase.cs: Show HotkeyPrefix (not the &)
- 2004-12-12 John BouAntoun <[email protected]>
-
- * MonthCalendar.cs: Implemented click-hold for next/previous month
- and date selection
-
- 2004-12-11 Peter Bartok <[email protected]>
- * X11Structs.cs:
- - Added XKeyboardState (moved from XplatUIX11.cs)
- - Added XCreateGC related enums and structures
- - Added GXFunction for XSetFunction
- * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
- * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
- CaretVisible() calls
- * ToolTip.cs: Added code to prevent stealing focus from app windows
- * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
- DestroyCaret, SetCaretPos and CaretVisible)
- * XplatUIX11.cs:
- - Added implementation for caret functions
- - Moved hover variables into a struct, to make it a bit easier
- on the eyes and to debug
- - Removed XKeyboardState (moved to XplatUIX11.cs)
- - Moved Keyboard properties into the properties region
- * Control.cs (get_Region): Control.CreateGraphics is the appropriate
- call to get a graphics context for our control
- * XplatUIOSX.cs: Added empty overrides for the new caret functions
- * TreeView.cs: Fixed bug. No matter what color was set it would always
- return SystemColors.Window
- * XplatUIWin32.cs: Implemented caret overrides
- 2004-12-10 Jordi Mas i Hernandez <[email protected]>
- * ListBox.cs: fire events, implement missing methods and properties,
- sorting.
- 2004-12-10 John BouAntoun <[email protected]>
- * MonthCalendar.cs: invalidation bug fixing
- * ThemeWin32Classic.cs: paint fixing
- 2004-12-09 Geoff Norton <[email protected]>
- * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
- prepare the CGContextRef there now.
- 2004-12-09 John BouAntoun <[email protected]>
- * MonthCalendar.cs:
- - optimisationL only invalidate areas that have changed
- * ThemeWin32Classic.cs:
- - only paint parts that intersect with clip_area
- 2004-12-09 Peter Bartok <[email protected]>
- * Application.cs: Undid changes from r37004 which cause problems
- on X11
- 2004-12-09 Ravindra <[email protected]>
- * ToolBar.cs: Added support for displaying ContextMenu
- attached to a button on ToolBar.
- * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
- property.
- 2004-12-09 Jordi Mas i Hernandez <[email protected]>
- * Label.cs: autosize works in text change and removes unnecessary
- invalidate
- 2004-12-09 Jordi Mas i Hernandez <[email protected]>
- * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
- remove warnings
- 2004-12-08 Geoff Norton <[email protected]>
- * XplatUIOSX.cs: Added mouse move/click/grab support
- Remove some debugging WriteLines not needed anymore.
- Add window resizing/positioning.
- Fix visibility on reparenting.
- 2004-12-08 Peter Bartok <[email protected]>
- * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
- 2004-12-07 Geoff Norton <[email protected]>
- * XplatUIOSX.cs: Initial checkin
- * XplatUI.cs: Use the Quartz driver if the environment is set to use it
- 2004-12-03 Ravindra <[email protected]>
- * ListView.cs: Added some keybindings and fixed scrolling.
- ScrollBars listen to ValueChanged event instead of Scroll
- Event. This would let us take care of all changes being
- done in the scrollbars' values programmatically or manually.
- * ListView.cs (CanMultiselect): Added a check for shift key.
- * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
- * ListViewItem.cs (Clone): Fixed. We need to make a copy
- of ListViewSubItemCollection as well.
- 2004-12-06 Peter Bartok <[email protected]>
- * Control.cs (Parent): Added check and exception to prevent
- circular parenting
- 2004-12-03 Jordi Mas i Hernandez <[email protected]>
- * ListBox.cs: implemented clipping, selection single and multiple,
- bug fixing
- 2004-12-03 Ravindra <[email protected]>
- * ListView.cs (ListView_KeyDown):
- * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
- when CTRL key is pressed.
- * ListViewItem.cs (Selected): Fixed setting the property.
- 2004-12-03 Marek Safar <[email protected]>
- * Application.cs (OnThreadException): Use ThreadExceptionDialog.
- * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
- MinimizeBox, ShowInTaskbar, TopMost properties.
- * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
- will be implemented).
- 2004-12-03 Marek Safar <[email protected]>
- * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
- * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
- tests.
-
- * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
-
- * TreeView.cs: BackColor is Colors.Window.
- 2004-12-01 Jackson Harper <[email protected]>
- * TreeView.cs: When resizing the tree if the user is making it
- smaller we don't get expose events, so we need to handle adding
- the horizontal scrollbar in the size changed handler as well as
- the expose handler.
- 2004-12-02 Jordi Mas i Hernandez <[email protected]>
- * DrawItemState.cs: fixes wrong enum values
- 2004-12-01 Jackson Harper <[email protected]>
- * TreeView.cs: Resize the hbar as well as the vbar on resize.
- 2004-12-01 Jackson Harper <[email protected]>
- * NodeLabelEditEventArgs.cs:
- * NodeLabelEditEventHandler.cs:
- * OpenTreeNodeEnumerator.cs:
- * TreeNode.cs:
- * TreeNodeCollection.cs:
- * TreeView.cs:
- * TreeViewAction.cs:
- * TreeViewCancelEventArgs.cs:
- * TreeViewCancelEventHandler.cs:
- * TreeViewEventArgs.cs:
- * TreeViewEventHandler.cs: Initial implementation.
- 2004-12-01 Ravindra <[email protected]>
- * ListView.cs (CalculateListView): Fixed scrolling related
- calculations. Also, removed some debug statements from other
- places.
- * ListViewItem.cs: Changed access to 'selected' instance variable
- from private to internal.
- * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
- 2004-12-01 Jordi Mas i Hernandez <[email protected]>
- * ThemeWin32Classic.cs: remove cache of brush and pens for
- specific controls and use the global system, fixes scrollbutton
- bugs (for small sizes, disabled, etc)
-
- * ScrollBar.cs: does not show the thumb for very small controls
- (as MS) and allow smaller buttons that the regular size
- 2004-12-01 Miguel de Icaza <[email protected]>
- * UpDownBase.cs: Add abstract methods for the interface.
- Add new virtual methods (need to be hooked up to TextEntry when it
- exists).
- Add override methods for most features.
- Computes the size, forces the height of the text entry.
- * NumericUpDown.cs: Put here the current testing code.
- * Set eol-style property on all files that do not have mixed line
- endings, to minimize the future problems. There are still a few
- files with mixed endings, and someone should choose whether they
- want to move it or not.
- 2004-11-30 Jordi Mas i Hernandez <[email protected]>
- * MonthCalendar.cs, ListView.cs: use Theme colours instead of
- System.Colors
-
- 2004-11-30 Ravindra <[email protected]>
- * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
- drawing and replaced use of SystemColors by theme colors.
- * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
- * ListView.cs (ListViewItemCollection.Add): Throw exception when
- same ListViewItem is being added more than once.
- 2004-11-30 John BouAntoun <[email protected]>
- * MonthCalendar.cs:
- - ControlStyles love to make the control not flicker
-
- 2004-11-30 Peter Bartok <[email protected]>
- * CharacterCasing.cs: Added
- 2004-11-29 Peter Bartok <[email protected]>
- * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
- TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
- I am removing these files as they conflict with already completed
- work. While it is fantastic to get contributions to MWF, I
- respectfully ask that everyone please coordinate their contributions
- through mono-winforms-list or #mono-winforms at this time. We're
- explicitly avoiding stubbing and don't want controls that don't have
- their basic functionality implemented in svn. Please also see
- http://www.mono-project.com/contributing/winforms.html
- 2004-11-29 Marek Safar <[email protected]>
- * Application.cs (ModalRun): Don't hang after exit.
- * Theme.cs: New TreeViewDefaultSize property.
- * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
- with less hardcoded SystemColors constant.
- Implemented TreeViewDefaultSize.
- * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
- TreeViewAction.cs, TreeViewEventArgs.cs: New files.
- 2004-11-29 John BouAntoun <[email protected]>
- * MonthCalendar.cs:
- - Fix NextMonthDate and PrevMonthDate click moving calendar
- 2004-11-26 John BouAntoun <[email protected]>
- * MonthCalendar.cs:
- - Fix usage of ScrollChange Property when scrolling months
- 2004-11-26 Jordi Mas i Hernandez <[email protected]>
- * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
- - Fixes menu destroying
- - Support adding and removing items on already created menus
- 2004-11-26 John BouAntoun <[email protected]>
- * MonthCalendar.cs:
- - Re-worked all bolded dates handling to match win32
- * ThemeWin32Classic.cs:
- - Fixed rendering with bolded dates
- 2004-11-25 Jordi Mas i Hernandez <[email protected]>
- * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
- - Horizontal scroolbar
- - Multicolumn
- - Fixes
- 2004-11-25 John BouAntoun <[email protected]>
- * MonthCalendar.cs:
- - Fix Usage of MaxSelectionCount from SelectionRange
- - Fixed Shift + Cursor Selection
- - Fixed Shift + (Pg up/Pg dn, Home/End) selection
- - Fixed normal cursor selection to be compat with win32
- - Fixed Shift + Mouse Click selection
- 2004-11-24 Peter Bartok <[email protected]>
- * XplatUI.cs (DispatchMessage): Switched to return IntPtr
- * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
- * XplatUIX11.cs:
- - CreatedKeyBoardMsg now updates keystate with Alt key
- - Added workaround for timer crash to CheckTimers, Jackson will
- develop a proper fix and check in later
- - Implemented DispatchMessage
- - Removed calling the native window proc from GetMessage (call
- now moved to DispatchMessage)
- * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
- the keydata (Fixes bug #69831)
- * XplatUIWin32.cs:
- - (DispatchMessage): Switched to return IntPtr
- - Added DllImport for SetFocus
- 2004-11-24 Ravindra <[email protected]>
- * ThemeWin32Classic.cs: Fixed ListView border and checkbox
- background drawing.
- * ListViewItem.cs: Fixed various properties, calculations
- and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
- * ListView.cs: Fixed calculations, BackColor, ForeColor properties
- and some internal properties. Fixed MouseDown handler and Paint
- method.
- 2004-11-24 John BouAntoun <[email protected]>
- * MonthCalendar.cs: Add TitleMonth ContextMenu handling
- 2004-11-24 John BouAntoun <[email protected]>
- * ContainerControl.cs: correct accidental check in of local changes
- 2004-11-24 John BouAntoun <[email protected]>
- * ThemeWin32Classic.cs:
- - Fixed Drawing Last month in grid (sometimes not showing)
- * MonthCalendar.cs:
- - Fixed title width calculation bug (makeing title small)
- 2004-11-23 Peter Bartok <[email protected]>
- * XplatUIX11.cs:
- - Added generation of WM_MOUSEHOVER event
- - Added missing assignment of async_method atom
- - Fixed WM_ERASEBKGND; now only redraws the exposed area
- 2004-11-23 John BouAntoun <[email protected]>
- * ThemeWin32Classic.cs:
- - Fixed Drawing of today circle when showtodaycircle not set
- - fixed drawing of first and last month in the grid (gay dates)
- * MonthCalendar.cs:
- - Fixed Drawing of today circle
- - Fixed drawing of grady dates
- - Fixed HitTest for today link when ShowToday set to false
- - Fixed DefaultSize to obey ShowToday
- 2004-11-23 John BouAntoun <[email protected]>
- * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
- * System.Windows.Forms/Theme.cs
- * MonthCalendar.cs: added for MonthCalendar
- * SelectionRange.cs: added for MonthCalendar
- * Day.cs: added for MonthCalendar: added for MonthCalendar
- * DateRangeEventArgs.cs: added for MonthCalendar
- * DateRangeEventHandler.cs: added for MonthCalendar
- 2004-11-22 Ravindra <[email protected]>
- * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
- property.
- 2004-11-22 Miguel de Icaza <[email protected]>
- * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
- event handler.
-
- * NumericUpDown.cs: Added new implementation.
- * UpDownBase.cs: Added new implementation.
- * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
- implementations.
-
- * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
- implementations.
- * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
- methods.
- 2004-11-21 Miguel de Icaza <[email protected]>
- * Timer.cs (Dispose): Should call the base dispose when
- overriding.
- 2004-11-19 Jordi Mas i Hernandez <[email protected]>
- * ScrollBar.cs: updates thumb position when max, min or increment
- is changed
- 2004-11-21 Ravindra <[email protected]>
- * ListView.cs: Implemented item selection, activation and
- column header style. Fixed properties to do a redraw, if
- required. Added support for MouseHover, DoubleClick, KeyDown
- and KeyUp event handling and some minor fixes.
- * ListViewItem.cs: Fixed constructor.
- * ThemeWin32Classic.cs: Improved drawing for ListView.
- 2004-11-19 Jordi Mas i Hernandez <[email protected]>
- * ThemeWin32Classic.cs: initial listbox drawing code
- * DrawMode.cs: new enumerator
- * ListControl.cs: stubbed class
- * ListBox.cs: initial implementation
- * Theme.cs: new methods definitions
- * SelectionMode.cs: new enumerator
- 2004-11-17 Peter Bartok <[email protected]>
- * XplatUIWin32.cs: Added double-click events to the class style
- * Control.cs (WndProc):
- - Added handling of click-count to MouseDown/ MouseUp events.
- - Added handling of middle and right mouse buttons
- - Removed old debug code
- 2004-11-17 Jackson Harper <[email protected]>
- * XplatUIX11.cs: Use the new Mono.Unix namespace.
- 2004-11-17 Ravindra <[email protected]>
- * ListView.cs: Added event handling for MouseMove/Up/Down.
- * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
- * ThemeWin32Classic.cs: We need to clear the graphics context and
- draw column header in a proper state.
- 2004-11-17 Jordi Mas i Hernandez <[email protected]>
- * Menu.cs: fixes signature
- 2004-11-16 Peter Bartok <[email protected]>
- * XplatUIX11.cs (GetMessage): Implemented generation of
- double click mouse messages
- 2004-11-12 Jordi Mas i Hernandez <[email protected]>
- * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
- not by menu
- 2004-11-11 Peter Bartok <[email protected]>
- * HandleData.cs: Added Visible property
- * XplatUIX11.cs (IsVisible): Now uses Visible property from
- HandleData
- * XplatUIX11.cs: Removed old debug leftovers
- * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
- * Control.cs (WndProc): Removed old debug leftovers,
- streamlined handling of WM_WINDOWPOSCHANGED, removed un-
- needed WM_SIZE handling
- 2004-11-11 Jackson Harper <[email protected]>
- * OwnerDrawPropertyBag.cs:
- * TreeViewImageIndexConverter.cs: Initial implementation
- 2004-11-10 Jackson Harper <[email protected]>
- * ThemeWin32Classic.cs:
- * TabControl.cs: instead of moving tabs by the slider pos just
- start drawing at the tab that is offset by the slider. This way
- scrolling always moves by exactly one tab.
- 2004-11-10 Jackson Harper <[email protected]>
- * TabControl.cs: You can only scroll left when the slider has
- already ben moved right.
-
- 2004-11-10 Jackson Harper <[email protected]>
- * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
- the clip area.
-
- 2004-11-10 Jackson Harper <[email protected]>
- * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
- clip area.
-
- 2004-11-09 Jackson Harper <[email protected]>
- * TabControl.cs (CalcXPos): New helper method so we can determine
- the proper place to start drawing vertical tabs.
- * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
-
- 2004-11-09 Jackson Harper <[email protected]>
- * TabControl.cs: Calculate sizing and rects for left aligned tabs.
- * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
- and Bottom, left and right are illegal values for this and
- multiline is enabled when the alignment is set to left or right.
- (DrawTab): Each alignment block should draw the text itself now
- because Left requires special love. Also add rendering for Left
- aligned tabs.
-
- 2004-11-09 Jordi Mas i Hernandez <[email protected]>
- * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
- does not destroy the windows, removes debugging messages
- 2004-11-09 jba <[email protected]>
- * ThemeWin32Classic.cs
- (DrawButtonBase): Fix verticle text rect clipping in windows
- (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
- rendering and incorrect text rect clipping
- (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
- rendering and incorrect text rect clipping
-
- 2004-11-08 Jackson Harper <[email protected]>
- * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
- bottom when they are bottom aligned so the bottoms of the tabs get
- displayed.
- * TabControl.cs (DropRow): Move rows up instead of down when the
- tab control is bottom aligned.
- 2004-11-08 13:59 pbartok
- * XplatUIX11.cs:
- - Added handling for various window styles
- - Added handling for popup windows
- - Added SetTopmost handling
- 2004-11-08 13:55 pbartok
- * XplatUIWin32.cs:
- - Added argument to SetTopmost method
- - Fixed broken ClientToScreen function
- 2004-11-08 13:53 pbartok
- * XplatUIStructs.cs:
- - Added missing WS_EX styles
- 2004-11-08 13:53 pbartok
- * XplatUI.cs, XplatUIDriver.cs:
- - Added argument to SetTopmost
- 2004-11-08 13:52 pbartok
- * X11Structs.cs:
- - Added XSetWindowAttributes structure
- - Improved XWindowAttributes structure
- - Added SetWindowValuemask enum
- - Added window creation arguments enum
- - Added gravity enum
- - Added Motif hints structure
- - Added various Motif flags and enums
- - Added PropertyMode enum for property functions
- 2004-11-08 13:50 pbartok
- * Form.cs:
- - Fixed arguments for updated SetTopmost method
- 2004-11-08 13:49 pbartok
- * ToolTip.cs:
- - Fixed arguments for updated SetTopmost function
- - Fixed usage of PointToClient
- 2004-11-08 13:44 pbartok
- * MenuAPI.cs:
- - Added Clipping of children and siblings
- 2004-11-08 13:41 pbartok
- * MainMenu.cs:
- - Removed SetMenuBarWindow call. We do this in Form.cs
- 2004-11-08 13:40 jackson
- * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
- scrolling jimmi in the correct location with bottom aligned tabs
- 2004-11-08 13:36 pbartok
- * ContainerControl.cs:
- - Implemented BindingContext
- - Implemented ParentForm
- 2004-11-08 12:46 jackson
- * TabControl.cs: Put bottom rendered tabs in the right location
- 2004-11-08 07:15 jordi
- * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
- removes dead code
- 2004-11-05 17:30 jackson
- * TabControl.cs: When selected tabs are expanded make sure they
- don't go beyond the edges of the tab control
- 2004-11-05 14:57 jackson
- * TabControl.cs: Reset show_slider so if the control is resized to
- a size where it is no longer needed it's not displayed anymore
- 2004-11-05 13:16 jackson
- * TabControl.cs: Make tab pages non visible when added to the
- control
- 2004-11-05 12:42 jackson
- * TabControl.cs: Implement SizeMode.FillToRight
- 2004-11-05 12:16 jackson
- * Control.cs: Do not call CreateHandle if the handle is already
- created
- 2004-11-05 11:46 jackson
- * TabControl.cs: Remove superflous call to CalcTabRows
- 2004-11-05 09:07 jackson
- * XplatUIX11.cs: Update for Mono.Posix changes
- 2004-11-05 07:00 ravindra
- * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
- scrolling.
- 2004-11-04 22:47 jba
- * ThemeWin32Classic.cs:
- - Fix Button rendering for FlatStyle = Flat or Popup
- - Fix RadioButton and CheckBox rendering when Appearance = Button
- (normal and flatstyle).
- - Correct outer rectangle color when drawing focus rectangle
- - Adjust button bounds to be 1 px smaller when focused
- - Make button not draw sunken 3d border when pushed (windows compat)
- - Fix CPDrawBorder3D to not make bottom right hand corner rounded
- - Offset the text in RadioButton and Checkbox when being rendered as
- a button.
- - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
- radiobuttons
- - Fixed disabled rendering for colored flatstyle radiobuttons (both)
- - Fixed disabled text rendering for normally rendered radiobuttons
- 2004-11-04 10:26 jackson
- * TabControl.cs: Recalculate tab rows when resizing
- 2004-11-04 07:47 jordi
- * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
- collection completion, drawing issues, missing features
- 2004-11-04 05:03 ravindra
- * ScrollBar.cs:
- - We need to recalculate the Thumb area when
- LargeChange/maximum/minimum values are changed.
- - We set the 'pos' in UpdatePos() method to minimum, if it's less
- than minimum. This is required to handle the case if large_change is
- more than max, and use LargeChange property instead of large_change
- variable.
- - We return max+1 when large_change is more than max, like MS does.
- 2004-11-04 04:29 ravindra
- * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
- - Changed default value signatures (prefixed all with ListView).
- - Fixed/implemented layout LargeIcon, SmallIcon and List views for
- ListView.
- - Fixed calculations for ListViewItem and implemented Clone()
- method.
- 2004-11-04 04:26 ravindra
- * Theme.cs, ThemeWin32Classic.cs:
- - Changed default ListView values signatures (prefixed all with
- ListView).
- - Fixed default size values for VScrollBar and HScrollBar.
- - Fixed DrawListViewItem method.
- 2004-11-04 04:05 ravindra
- * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
- 2004-11-04 04:04 ravindra
- * ImageList.cs: Implemented the missing overload for Draw method.
- 2004-11-03 19:29 jackson
- * TabControl.cs: Handle dropping rows on selection properly
- 2004-11-03 11:59 jackson
- * TabControl.cs: remove debug code
- 2004-11-03 11:52 jackson
- * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
- the scrolly widgerywoo
- 2004-11-02 13:52 jackson
- * TabControl.cs: Resize the tab pages and tabs when the tab control
- is resized
- 2004-11-02 13:40 jackson
- * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
- selected tab to the bottom
- 2004-11-02 13:39 jackson
- * TabPage.cs: Store the tab pages row
- 2004-11-02 12:33 jordi
- * MenuItem.cs: fixes handle creation
- 2004-11-02 11:42 jackson
- * TabControl.cs: signature fix
- 2004-11-02 08:56 jackson
- * TabControl.cs: Calculate whether the tab is on an edge properly.
- Remove top secret debugging code
- 2004-11-01 19:57 jackson
- * TabControl.cs: Add click handling, and proper sizing
- 2004-11-01 19:47 jackson
- * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
- tab controls
- 2004-11-01 19:39 jackson
- * TabPage.cs: add internal property to store the bounds of a tab
- page
- 2004-10-30 04:23 ravindra
- * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
- values.
- 2004-10-30 04:21 ravindra
- * ListView.cs, ListViewItem.cs: Added support for scrolling and
- fixed calculations.
- 2004-10-30 03:06 pbartok
- * XplatUIX11.cs:
- - Removed extension of DllImported libs
- 2004-10-29 09:55 jordi
- * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
- navigation, itemcollection completion, menu fixes
- 2004-10-27 22:58 pbartok
- * XplatUIX11.cs:
- - Now throws a nice error message when no X display could be opened
- 2004-10-26 13:51 jordi
- * ListView.cs: removes warning
- 2004-10-26 03:55 ravindra
- * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
- ThemeWin32Classic.cs: Some formatting for my last checkins.
- 2004-10-26 03:36 ravindra
- * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
- control and default values.
- 2004-10-26 03:35 ravindra
- * Theme.cs: Added some default values for ListView control.
- 2004-10-26 03:33 ravindra
- * ToolBar.cs: ToolBar should use the user specified button size, if
- there is any. Added a size_specified flag for the same.
- 2004-10-26 03:33 ravindra
- * ColumnHeader.cs: Added some internal members and calculations for
- ColumnHeader.
- 2004-10-26 03:32 ravindra
- * ListViewItem.cs: Calculations for ListViewItem.
- 2004-10-26 03:31 ravindra
- * ListView.cs: Added some internal members and calculations for
- ListView.
- 2004-10-22 13:31 jordi
- * MenuAPI.cs: speedup menus drawing
- 2004-10-22 13:16 jackson
- * XplatUIX11.cs: Make sure to update exposed regions when adding an
- expose event
- 2004-10-22 11:49 jackson
- * Control.cs: oops
- 2004-10-22 11:41 jackson
- * Control.cs: Check to see if the window should have its background
- repainted by X when drawing.
- 2004-10-22 11:31 jackson
- * XplatUIX11.cs: When invalidating areas only use XClearArea if
- clear is true, this way we do not get flicker from X repainting the
- background
- 2004-10-22 11:28 jackson
- * XEventQueue.cs: Queue properly
- 2004-10-21 09:38 jackson
- * XEventQueue.cs: Fix access modifier
- 2004-10-21 09:36 jackson
- * XEventQueue.cs: Don't loose messages
- 2004-10-21 09:22 jackson
- * XEventQueue.cs: Don't loose messages
- 2004-10-20 04:15 jordi
- * BootMode.cs: enum need it by SystemInfo
- 2004-10-19 21:58 pbartok
- * XplatUIWin32.cs:
- - Small sanity check
- 2004-10-19 21:56 pbartok
- * Form.cs:
- - Added private FormParentWindow class which acts as the container
- for our form and as the non-client area where menus are drawn
- - Added/Moved required tie-ins to Jordi's menus
- - Fixed/Implemented the FormStartPosition functionality
- 2004-10-19 21:52 pbartok
- * Control.cs:
- - Removed unneeded locals
- - Added code to all size and location properties to understand and
- deal with the parent container of Form
- 2004-10-19 21:33 pbartok
- * Application.cs:
- - Fixed to deal with new Form subclasses for menus
- 2004-10-19 17:48 jackson
- * XEventQueue.cs: commit correct version of file
- 2004-10-19 16:50 jackson
- * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
- 2004-10-19 16:15 jordi
- * MenuAPI.cs: MenuBarCalcSize returns the height
- 2004-10-19 08:31 pbartok
- * Control.cs:
- - Added missing call to PreProcessMessage before calling OnXXXKey
- methods
- 2004-10-19 00:04 ravindra
- * ToolTip.cs: Fixed constructor.
- 2004-10-18 09:31 jordi
- * MenuAPI.cs: menuitems in menubars do not have shortcuts
- 2004-10-18 09:26 jordi
- * MenuItem.cs: fixes MenuItem class signature
- 2004-10-18 08:56 jordi
- * MenuAPI.cs: prevents windows from showing in the taskbar
- 2004-10-18 00:28 ravindra
- * ToolTip.cs: Suppressed a warning message.
- 2004-10-18 00:27 ravindra
- * Control.cs: Default value of visible property must be true.
- 2004-10-17 23:19 pbartok
- * ToolTip.cs:
- - Complete implementation
- 2004-10-17 23:19 pbartok
- * XplatUIX11.cs:
- - Added EnableWindow method
- - Added SetModal stub
- - Added generation of WM_ACTIVATE message (still needs testing)
- - Added SetTopMost stub
- - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
- 2004-10-17 23:17 pbartok
- * XplatUIWin32.cs:
- - Removed VirtualKeys to XplatUIStructs
- - Implemented SetTopMost method
- - Implemented EnableWindow method
- - Bugfix in ScreenToClient()
- - Bugfixes in ClientToScreen()
- 2004-10-17 22:51 pbartok
- * XplatUIStructs.cs:
- - Added WS_EX styles to WindowStyles enumeration
- 2004-10-17 22:50 pbartok
- * XplatUI.cs, XplatUIDriver.cs:
- - Added method for enabling/disabling windows
- - Added method for setting window modality
- - Added method for setting topmost window
- 2004-10-17 22:49 pbartok
- * ThemeWin32Classic.cs:
- - Added ToolTip drawing code
- 2004-10-17 22:49 pbartok
- * Theme.cs:
- - Added ToolTip abstracts
- 2004-10-17 22:47 pbartok
- * Form.cs:
- - Fixed Form.ControlCollection to handle owner relations
- - Added Owner/OwnedForms handling
- - Implemented Z-Ordering for owned forms
- - Removed unneeded private overload of ShowDialog
- - Fixed ShowDialog, added the X11 incarnation of modal handling (or
- so I hope)
- - Fixed Close(), had wrong default
- - Added firing of OnLoad event
- - Added some commented out debug code for Ownership handling
- 2004-10-17 22:16 pbartok
- * Control.cs:
- - Fixed/implemented flat list of controls
- 2004-10-17 22:14 pbartok
- * Application.cs:
- - Added code to simulate modal dialogs on Win32
- 2004-10-17 16:11 jordi
- * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
- mouse event
- 2004-10-17 13:39 jordi
- * MenuAPI.cs: menu drawing fixes
- 2004-10-15 09:10 ravindra
- * StructFormat.cs: General Enum.
- 2004-10-15 09:09 ravindra
- * SizeGripStyle.cs: Enum for Form.
- 2004-10-15 09:08 ravindra
- * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
- in Theme for ListView.
- 2004-10-15 09:06 ravindra
- * ColumnHeader.cs: Flushing some formatting changes.
- 2004-10-15 09:05 ravindra
- * ListViewItem.cs: Implemented GetBounds method and fixed coding
- style.
- 2004-10-15 09:03 ravindra
- * ListView.cs: Implemented Paint method and fixed coding style.
- 2004-10-15 07:34 jordi
- * MenuAPI.cs: fix for X11
- 2004-10-15 07:32 ravindra
- * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
- - Renamed Paint() method to Draw() for clarity. Also, moved
- DrawImage() to OnPaint().
- 2004-10-15 07:25 ravindra
- * CheckBox.cs, RadioButton.cs:
- - Removed Redraw (), we get it from ButtonBase.
- - Implemented Paint (), to do class specific painting.
- 2004-10-15 07:16 ravindra
- * ButtonBase.cs:
- - Redraw () is not virtual now.
- - Added an internal virtual method Paint (), so that
- derived classes can do their painting on their own.
- - Modified OnPaint () to call Paint ().
- 2004-10-15 06:43 jordi
- * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
- MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
- 2004-10-15 00:30 ravindra
- * MessageBox.cs:
- - MessageBox on windows does not have min/max buttons.
- This change in CreateParams fixes this on Windows. We
- still need to implement this windowstyle behavior in
- our X11 driver.
- 2004-10-14 05:14 ravindra
- * ToolBar.cs:
- - Changed Redraw () to do a Refresh () always.
- - Fixed the MouseMove event handling when mouse is pressed,
- ie drag event handling.
- - Replaced the usage of ToolBarButton.Pressed property to
- ToolBarButton.pressed internal variable.
- 2004-10-14 05:10 ravindra
- * ToolBarButton.cs:
- - Added an internal member 'inside' to handle mouse move
- with mouse pressed ie mouse drag event.
- - Changed 'Pressed' property to return true only when
- 'inside' and 'pressed' are both true.
- - Some coding style love.
- 2004-10-14 00:17 ravindra
- * Form.cs: Fixed class signature. ShowDialog (Control) is not a
- public method.
- 2004-10-14 00:15 ravindra
- * ButtonBase.cs: Redraw () related improvements.
- 2004-10-14 00:14 ravindra
- * MessageBox.cs: Moved InitFormSize () out of Paint method and
- removed unnecessary calls to Button.Show () method.
- 2004-10-13 17:50 pbartok
- * XplatUIX11.cs:
- - Formatting fix
- - Removed destroying of window until we solve the problem of X
- destroying the window before us on shutdown
- 2004-10-13 16:32 pbartok
- * ButtonBase.cs:
- - Now Redraws on MouseUp for FlatStyle Flat and Popup
- 2004-10-13 14:18 pbartok
- * XplatUIX11.cs:
- - Added code to destroy the X window
- 2004-10-13 14:18 pbartok
- * XplatUIWin32.cs:
- - Added code to destroy a window
- 2004-10-13 14:12 pbartok
- * ButtonBase.cs:
- - Added the Redraw on Resize that got dropped in the last rev
- 2004-10-13 09:06 pbartok
- * ThemeWin32Classic.cs:
- - Path from John BouAntoun:
- * Fix check rendering (centre correctly for normal style, offset
- correctly for FlatStyle).
- * Fix border color usage (use backcolor) for FlatStyle.Popup
- * Use checkbox.Capture instead of checkbox.is_pressed when
- rendering flatstyle states.
- 2004-10-12 21:48 pbartok
- * ThemeWin32Classic.cs:
- - Removed all occurences of SystemColors and replaced them with the
- matching theme color
- 2004-10-12 21:41 pbartok
- * ThemeWin32Classic.cs:
- - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
- him using the function for flatstyle drawing
- - Changed functions to use the new version of CPDrawBorder3D
- 2004-10-12 21:15 pbartok
- * ControlPaint.cs:
- - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
- match MS documentation. They need to return defined colors if the
- passed color matches the configured control color. Thanks to John
- BouAntoun for pointing this out.
- 2004-10-12 20:57 pbartok
- * Control.cs:
- - Fix from John BouAntoun: Raise ForeColorChanged event when text
- color is changed
- 2004-10-12 20:46 pbartok
- * CheckBox.cs:
- - Fix from John BouAntoun: Now properly sets the Appearance property
- 2004-10-12 20:45 pbartok
- * ThemeWin32Classic.cs:
- - Fixes from John BouAntoun: now handles forecolors and backcolors
- for flatstyle rendered controls much better; It also fixes normal
- checkbox rendering when pushed or disabled.
- 2004-10-08 02:50 jordi
- * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
- work
- 2004-10-07 08:56 jordi
- * ThemeWin32Classic.cs: Removes deletion of cached brushes
- 2004-10-06 03:59 jordi
- * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
- XplatUIWin32.cs: removes warnings from compilation
- 2004-10-05 12:23 jackson
- * RadioButton.cs: Fix ctor
- 2004-10-05 11:10 pbartok
- * MessageBox.cs:
- - Partial implementation by Benjamin Dasnois
- 2004-10-05 10:15 jackson
- * ThemeWin32Classic.cs: Improve rendering of the radio button patch
- by John BouAntoun
- 2004-10-05 03:07 ravindra
- * ToolBar.cs:
- - Removed a private method, Draw ().
- - Fixed the ButtonDropDown event handling.
- - Fixed MouseMove event handling.
- 2004-10-05 03:04 ravindra
- * ThemeWin32Classic.cs:
- - Added DrawListView method and ListViewDefaultSize property.
- - Changed ControlPaint method calls to CPDrawXXX wherever possible.
- - Changed DOS style CRLF to Unix format (dos2unix).
- 2004-10-05 03:03 ravindra
- * Theme.cs:
- - Added DrawListView method and ListViewDefaultSize property.
- 2004-10-05 02:42 ravindra
- * ToolBarButton.cs: Added an internal member dd_pressed to handle
- clicks on DropDown arrow.
- 2004-10-04 22:56 jackson
- * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
- ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
- Control handle the buffers, derived classes should not have to
- CreateBuffers themselves.
- 2004-10-04 21:20 jackson
- * StatusBar.cs: The control handles resizing the buffers now.
- 2004-10-04 21:18 jackson
- * Control.cs: When resizing the buffers should be invalidated. This
- should be handled in Control not in derived classes.
- 2004-10-04 14:45 jackson
- * TabPage.cs: oops
- 2004-10-04 02:14 pbartok
- * LeftRightAlignment.cs:
- - Initial check-in
- 2004-10-04 01:09 jordi
- * ThemeWin32Classic.cs: fixes right button position causing right
- button not showing on horizontal scrollbars
- 2004-10-02 13:12 pbartok
- * XplatUIX11.cs:
- - Simplified the Invalidate method by using an X call instead of
- generating the expose ourselves
- - Added an expose when the window background is changed
- - Implemented ClientToScreen method
- 2004-10-02 13:08 pbartok
- * XplatUIWin32.cs:
- - Added Win32EnableWindow method (test for implementing modal
- dialogs)
- - Added ClientToScreen method and imports
- 2004-10-02 13:07 pbartok
- * XplatUI.cs, XplatUIDriver.cs:
- - Added ClientToScreen coordinate translation method
- 2004-10-02 13:06 pbartok
- * KeyPressEventArgs.cs:
- - Fixed access level for constructor
- 2004-10-02 13:06 pbartok
- * NativeWindow.cs:
- - Changed access level for the window_collection hash table
- 2004-10-02 13:05 pbartok
- * Form.cs:
- - Added KeyPreview property
- - Added Menu property (still incomplete, pending Jordi's menu work)
- - Implemented ProcessCmdKey
- - Implemented ProcessDialogKey
- - Implemented ProcessKeyPreview
- 2004-10-02 13:02 pbartok
- * Control.cs:
- - Added private method to get the Control object from the window
- handle
- - Implemented ContextMenu property
- - Implemented PointToScreen
- - Implemented PreProcessMessage
- - Implemented IsInputChar
- - Implemented IsInputKey
- - Implemented ProcessCmdKey
- - Completed ProcessKeyEventArgs
- - Fixed message loop to call the proper chain of functions on key
- events
- - Implemented ProcessDialogChar
- - Implemented ProcessDialogKey
- - Implemented ProcessKeyMessage
- - Implemented ProcessKeyPreview
- - Added RaiseDragEvent stub (MS internal method)
- - Added RaiseKeyEvent stub (MS internal method)
- - Added RaiseMouseEvent stub (MS Internal method)
- - Added RaisePaintEvent stub (MS Internal method)
- - Added ResetMouseEventArgs stub (MS Internal method)
- - Implemented RtlTranslateAlignment
- - Implemented RtlTranslateContent
- - Implemented RtlTranslateHorizontal
- - Implemented RtlTranslateLeftRight
- - Added generation of KeyPress event
- 2004-10-02 05:57 ravindra
- * ListViewItem.cs: Added attributes.
- 2004-10-02 05:32 ravindra
- * ListView.cs: Added attributes.
- 2004-10-01 11:53 jackson
- * Form.cs: Implement the Close method so work on MessageBox can
- continue.
- 2004-09-30 14:06 pbartok
- * XplatUIX11.cs:
- - Bug fixes
- 2004-09-30 11:34 jackson
- * RadioButton.cs: Fix typo. Patch by John BouAntoun.
- 2004-09-30 07:26 ravindra
- * ListViewItemConverter.cs: Converter for ListViewItem.
- 2004-09-30 07:26 ravindra
- * SortOrder.cs: Enum for ListView control.
- 2004-09-30 07:25 ravindra
- * ColumnHeader.cs: Supporting class for ListView control.
- 2004-09-30 07:24 ravindra
- * ListView.cs, ListViewItem.cs: Initial implementation.
- 2004-09-30 07:20 ravindra
- * ItemActivation.cs: Enum for ListView Control.
- 2004-09-29 20:29 pbartok
- * XplatUIX11.cs:
- - Added lookup of pixel value for background color; tries to get a
- color 'close' to the requested color, it avoids having to create a
- colormap. Depending on the display this could mean the used color
- is slightly off the desired color. Might have to change it to a more
- resource intensive colormap approach, but it will work as a
- workaround to avoid red screens.
- 2004-09-29 14:27 jackson
- * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
- 2004-09-28 12:44 pbartok
- * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
- HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
- ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
- Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
- TrackBar.cs, VScrollBar.cs:
- - Streamlined Theme interfaces:
- * Each DrawXXX method for a control now is passed the object for
- the control to be drawn in order to allow accessing any state the
- theme might require
- * ControlPaint methods for the theme now have a CP prefix to avoid
- name clashes with the Draw methods for controls
- * Every control now retrieves it's DefaultSize from the current
- theme
- 2004-09-28 12:17 jackson
- * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
- drawing
- 2004-09-24 14:57 jackson
- * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
- Gives us a nice little performance boost.
- 2004-09-24 12:02 jackson
- * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
- TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
- Control and supporting classes. Initial checkin
- 2004-09-23 13:08 jackson
- * Form.cs: Temp build fixage
- 2004-09-23 01:39 ravindra
- * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
- ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
- ItemDragEventArgs.cs, ItemDragEventHandler.cs,
- LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
- EventHandlers needed by ListView Control.
- 2004-09-22 14:12 pbartok
- * ScrollableControl.cs:
- - Implemented DockPadding property
- - Implemented AutoScroll property
- - Implemented AutoScrollMargin property
- - Implemented AutoScrollMinSize property
- - Implemented AutoScrollPosition property
- - Implemented DisplayRectangle property (still incomplete)
- - Implemented CreateParams property
- - Implemented HScroll property
- - Implemented VScroll property
- - Implemented OnVisibleChanged property
- 2004-09-22 14:09 pbartok
- * Form.cs:
- - Added Form.ControllCollection class
- - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
- RemoveOwnedForm (still incomplete, missing on-top and common
- minimize/maximize behaviour)
- - Added StartPosition property (still incomplete, does not use when
- creating the form)
- - Added ShowDialog() methods (still incomplete, missing forcing the
- dialog modal)
- 2004-09-22 14:05 pbartok
- * Application.cs:
- - Added message loop for modal dialogs
- 2004-09-22 14:02 pbartok
- * GroupBox.cs:
- - Fixed wrong types for events
- 2004-09-22 14:00 pbartok
- * Shortcut.cs, FormWindowState.cs:
- - Fixed wrong values
- 2004-09-22 12:01 jackson
- * Control.cs: Text is never null
- 2004-09-20 22:14 pbartok
- * XplatUIWin32.cs:
- - Fixed accessibility level for Idle handler
- 2004-09-20 18:54 jackson
- * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
- XplatUIX11.cs: New message loop that uses poll so we don't get a
- busy loop
- 2004-09-17 10:43 pbartok
- * ScrollBar.cs:
- - Fixed behaviour of arrow buttons. Now properly behaves like
- Buttons (and like Microsoft's scrollbar arrow buttons)
- 2004-09-17 10:14 pbartok
- * ScrollBar.cs:
- - Added missing release of keyboard/mouse capture
- 2004-09-17 06:18 jordi
- * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
- Theme.cs: Very early menu support
- 2004-09-16 17:45 pbartok
- * XplatUIWin32.cs:
- - Fixed sending a window to the front
- - Added overload for SetWindowPos to avoid casting
- 2004-09-16 17:44 pbartok
- * Control.cs:
- - Added SendToBack and BringToFront methods
- 2004-09-16 07:00 ravindra
- * Copyright: Added Novell URL.
- 2004-09-16 07:00 ravindra
- * ToolBar.cs: Invalidate should be done before redrawing.
- 2004-09-15 21:19 ravindra
- * ColumnHeaderStyle.cs: Enum for ListView Control.
- 2004-09-15 21:18 ravindra
- * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
- ListView Control.
- 2004-09-13 18:26 jackson
- * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
- properly
- 2004-09-13 18:13 jackson
- * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
- a second thread and post messages into the main threads message
- queue. This makes timing much more consistent. Both win2K and XP
- have a minimum timer value of 15 milliseconds, so we now do this
- too.
- 2004-09-13 15:18 pbartok
- * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
- XplatUIX11.cs:
- - Added Z-Ordering methods
- 2004-09-13 10:56 pbartok
- * Form.cs:
- - Fixed #region names
- - Moved properties and methods into their proper #regions
- 2004-09-13 10:51 pbartok
- * Form.cs:
- - Added Accept and CancelButton properties
- - Added ProcessDialogKey() method
- 2004-09-13 08:18 pbartok
- * IWindowTarget.cs:
- - Initial check-in
- 2004-09-10 21:50 pbartok
- * Control.cs:
- - Added DoDragDrop() [incomplete]
- - Properly implemented 'Visible' handling
- - Added SetVisibleCore()
- - Implemented FindChildAtPoint()
- - Implemented GetContainerControl()
- - Implemented Hide()
- 2004-09-10 19:28 pbartok
- * Control.cs:
- - Moved methods into their appropriate #regions
- - Reordered methods within regions alphabetically
- 2004-09-10 18:57 pbartok
- * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
- - Added method to retrieve text from window
- 2004-09-10 18:56 pbartok
- * Control.cs:
- - Moved some internal functions into the internal region
- - Implemented FontHeight
- - Implemented RenderRightToLeft
- - Implemented ResizeRedraw
- - Implemented ShowFocusCues
- - Implemented ShowKeyboardCues
- - Implemented FromChildHandle
- - Implemented FromHandle
- - Implemented IsMnemonic
- - Implemented ReflectMessage
- - All public and protected Static Methods are now complete
- 2004-09-10 16:54 pbartok
- * Control.cs:
- - Implemented remaining missing public instance properties
- - Alphabetized some out of order properties
- 2004-09-10 05:51 ravindra
- * PictureBox.cs: Added a check for null image.
- 2004-09-10 00:59 jordi
- * GroupBox.cs: remove cvs tag
- 2004-09-09 05:25 ravindra
- * ToolBar.cs: Make redraw accessible from ToolBarButton.
- 2004-09-09 05:23 ravindra
- * ToolBarButton.cs: Changes in ToolBarButton need to make it's
- parent redraw.
- 2004-09-09 02:28 pbartok
- * ThemeWin32Classic.cs:
- - Improve disabled string look
- 2004-09-09 01:15 jordi
- * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
- args and handler
- 2004-09-08 23:56 ravindra
- * ItemBoundsPortion.cs: It's enum, not a class!
- 2004-09-08 23:47 ravindra
- * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
- Enums for Form.
- 2004-09-08 21:13 ravindra
- * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
- ListView control.
- 2004-09-08 21:03 ravindra
- * ThemeWin32Classic.cs: PictureBox would not draw a null image to
- avoid crash.
- 2004-09-08 21:01 ravindra
- * ScrollableControl.cs: Removed unreachable code.
- 2004-09-08 06:45 jordi
- * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
- 2004-09-08 01:00 jackson
- * XplatUIX11.cs: Only run the timers when updating the message
- queue. This effectively gives X messages a higher priority then
- timer messages. Timers still need love though
- 2004-09-07 14:01 jackson
- * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
- this for us and the handle is no longer valid.
- 2004-09-07 13:59 jackson
- * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
- loop that manages to not crash. TODO: Add poll and cleanup timers
- 2004-09-07 11:12 jordi
- * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
- 2004-09-07 03:40 jordi
- * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
- fixes, methods, multiple links
- 2004-09-06 06:55 jordi
- * Control.cs: Caches ClientRectangle rectangle value
- 2004-09-05 02:03 jordi
- * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
- certain situations
- 2004-09-04 11:10 jordi
- * Label.cs: Refresh when font changed
- 2004-09-02 16:24 pbartok
- * Control.cs:
- - Added sanity check to creation of double buffer bitmap
- 2004-09-02 16:24 pbartok
- * ButtonBase.cs:
- - Fixed selection of text color
- - Fixed handling of resize event; now properly recreates double
- buffering bitmap
- - Added missing assignment of TextAlignment
- - Added proper default for TextAlignment
- 2004-09-02 14:26 pbartok
- * RadioButton.cs:
- - Added missing RadioButton.RadioButtonAccessibleObject class
- 2004-09-02 14:26 pbartok
- * Control.cs:
- - Added missing Control.ControlAccessibleObject class
- - Started to implement Select()ion mechanisms, still very incomplete
- 2004-09-02 14:25 pbartok
- * AccessibleObject.cs:
- - Added missing methods
- 2004-09-02 14:23 pbartok
- * AccessibleNavigation.cs, AccessibleSelection.cs:
- - Initial check-in
- 2004-09-02 10:32 jordi
- * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
- pool for pens, brushes, and hatchbruses
- 2004-09-01 15:30 jackson
- * StatusBar.cs: Fix typo
- 2004-09-01 14:44 pbartok
- * RadioButton.cs:
- - Fixed state
- 2004-09-01 14:39 pbartok
- * Button.cs, RadioButton.cs:
- - Functional initial check-in
- 2004-09-01 14:01 pbartok
- * CheckBox.cs:
- - Added missing default
- - Added missing region mark
- 2004-09-01 09:10 jordi
- * Label.cs: fixes method signatures, new methods, events, fixes
- autosize
- 2004-09-01 07:19 jordi
- * Control.cs: Init string variables with an empty object
- 2004-09-01 04:20 jordi
- * Control.cs: fires OnFontChanged event
- 2004-08-31 20:07 pbartok
- * ButtonBase.cs:
- - Enabled display of strings
- 2004-08-31 20:05 pbartok
- * Form.cs:
- - Added (partial) implementation of DialogResult; rest needs to be
- implemented when the modal loop code is done
- 2004-08-31 19:55 pbartok
- * CheckBox.cs:
- - Fixed to match the removal of the needs_redraw concept
- 2004-08-31 19:55 pbartok
- * ButtonBase.cs:
- - Removed the rather odd split between 'needs redraw' and redrawing
- - Now handles the events that require regeneration (ambient
- properties and size)
- 2004-08-31 19:41 pbartok
- * Control.cs:
- - Added firing of BackColorChanged event
- - Added TopLevelControl property
- - Fixed handling of WM_ERASEBKGRND message
- 2004-08-31 12:49 pbartok
- * ButtonBase.cs:
- - Removed debug
- - Minor fixes
- 2004-08-31 12:48 pbartok
- * CheckBox.cs:
- - Finished (famous last words)
- 2004-08-31 04:35 jordi
- * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
- scrolling bugs, adds new methods
- 2004-08-30 14:42 pbartok
- * CheckBox.cs:
- - Implemented CheckBox drawing code
- 2004-08-30 14:42 pbartok
- * ButtonBase.cs:
- - Made Redraw() and CheckRedraw() virtual
- - Improved mouse up/down/move logic to properly track buttons
- 2004-08-30 09:44 pbartok
- * CheckBox.cs:
- - Updated to fix broken build. Not complete yet.
- 2004-08-30 09:28 pbartok
- * CheckState.cs:
- - Initial checkin
- 2004-08-30 09:17 pbartok
- * Appearance.cs:
- - Initial check-in
- 2004-08-27 16:12 ravindra
- * ToolBarButton.cs: Added TypeConverter attribute.
- 2004-08-27 16:07 ravindra
- * ImageIndexConverter.cs: Implemented.
- 2004-08-27 14:17 pbartok
- * Control.cs:
- - Removed unneeded stack vars
- - First attempt to fix sizing issues when layout is suspended
- 2004-08-25 15:35 jordi
- * ScrollBar.cs: more fixes to scrollbar
- 2004-08-25 14:04 ravindra
- * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
- Added the missing divider code and grip for ToolBar Control.
- 2004-08-25 13:20 pbartok
- * Control.cs:
- - Control now properly passes the ambient background color to child
- controls
- 2004-08-25 13:20 jordi
- * ScrollBar.cs: small bug fix regarding bar position
- 2004-08-25 12:33 pbartok
- * Timer.cs:
- - Now only calls SetTimer or KillTimer if the enabled state has
- changed
- 2004-08-25 12:33 pbartok
- * XplatUIWin32.cs:
- - Fixed timer handling, now seems to work
- - Improved error message for window creation
- 2004-08-25 12:32 pbartok
- * Control.cs:
- - Fixed generation of MouseUp message
- 2004-08-25 12:29 jordi
- * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
- and fixes for progressbar
- 2004-08-24 18:43 ravindra
- * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
- in ToolBar control.
- 2004-08-24 17:15 pbartok
- * Panel.cs:
- - Added #region
- - Added missing events
- - Alphabetized
- 2004-08-24 17:14 pbartok
- * StatusBar.cs, PictureBox.cs:
- - Now uses Control's CreateParams
- 2004-08-24 16:36 pbartok
- * XplatUIX11.cs:
- - Fixed background color handling
- - Fixed sending of enter/leave events on a grab
- 2004-08-24 16:35 pbartok
- * X11Structs.cs:
- - Refined definitions for CrossingEvent
- 2004-08-24 12:37 jordi
- * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
- formmating, methods signature, and adds missing events
- 2004-08-24 12:24 jordi
- * Control.cs: fire OnEnabledChanged event
- 2004-08-24 11:17 pbartok
- * XplatUIWin32.cs:
- - Implemented SetTimer() and KillTimer()
- 2004-08-24 11:16 pbartok
- * XplatUIX11.cs:
- - Now uses Remove instead of Add to kill the timer
- 2004-08-24 10:16 jackson
- * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
- picture boxes in the theme now. Draw picture box borders and obey
- sizing modes
- 2004-08-24 05:49 jackson
- * Timer.cs: Remove top secret debugging code
- 2004-08-24 05:34 jackson
- * PictureBox.cs: Temp hack to make picture boxes draw their full
- image
- 2004-08-24 05:29 jackson
- * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
- XplatUIX11.cs: Move timers to the driver level. On X they are
- queued by the driver and checked on idle.
- 2004-08-24 01:07 jackson
- * XplatUIX11.cs: Use a queue for async messages instead of passing
- them as ClientMessages since that was totally broken. Also simply
- check for events and return an idle message if none are found. This
- gives us an idle handler, and prevents deadlocking when no messages
- are in the queue.
- 2004-08-23 18:19 ravindra
- * XplatUIWin32.cs: Removed the unwanted destructor.
- 2004-08-23 17:27 pbartok
- * ButtonBase.cs:
- - Finishing touches. Works now, just needs some optimizations.
- 2004-08-23 16:53 jordi
- * ScrollBar.cs: small fix
- 2004-08-23 16:45 pbartok
- * Application.cs:
- - Removed debug output
- - Simplifications
- 2004-08-23 16:43 jordi
- * ScrollBar.cs: [no log message]
- 2004-08-23 16:10 pbartok
- * Form.cs:
- - Fixed handling of WM_CLOSE message
- - Removed debug output
- 2004-08-23 16:09 pbartok
- * Application.cs:
- - Added handling of Idle event
- - Added handling of form closing
- - Fixed reporting of MessageLoop property
- - Removed some unneeded code, should provide a bit of a speedup
- 2004-08-23 15:22 pbartok
- * Control.cs:
- - Added InitLayout() method
- - Added code to properly perform layout when Anchor or Dock property
- is changed
- - Changed 'interpretation' of ResumeLayout. MS seems to have a
- LAMESPEC, tried to do it in a way that makes sense
- 2004-08-23 14:10 jordi
- * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
- properties and methods
- 2004-08-23 13:55 pbartok
- * Control.cs:
- - Properly fixed Jordi's last fix
- - Now uses Cursor's Position property instead of calling XplatUI
- directly
- 2004-08-23 13:44 jordi
- * PaintEventHandler.cs: Adding missing attribute
- 2004-08-23 13:39 pbartok
- * Cursor.cs:
- - Implemented Position property
- 2004-08-23 13:39 pbartok
- * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
- - Added method to move mouse cursor
- 2004-08-23 13:39 pbartok
- * XplatUIX11.cs:
- - Fixed setting of background color
- - Added method to move mouse cursor
- 2004-08-23 13:16 jordi
- * Control.cs: avoids null exception
- 2004-08-22 17:46 jackson
- * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
- PictureBox
- 2004-08-22 17:40 jackson
- * XplatUIX11.cs: Add some missing locks
- 2004-08-22 15:10 pbartok
- * Control.cs, Form.cs:
- - Removed OverlappedWindow style from Control, instead it's default
- now is child
- - Made form windows OverlappedWindow by default
- 2004-08-22 13:34 jackson
- * ScrollBar.cs: Update the position through the Value property so
- the OnValueChanged event is raised.
- 2004-08-22 12:04 pbartok
- * SWF.csproj:
- - Added Cursor.cs and UserControl.cs
- 2004-08-22 12:03 pbartok
- * Cursor.cs:
- - Started implementation, not usable yet
- 2004-08-22 12:00 pbartok
- * UserControl.cs:
- - Implemented UserControl (complete)
- 2004-08-21 19:20 ravindra
- * ToolBar.cs: Correcting the formatting mess of VS.NET.
- 2004-08-21 18:49 ravindra
- * ToolBar.cs: Probably this completes the missing attributes in
- toolbar control.
- 2004-08-21 18:03 ravindra
- * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
- Fixed toolbar control signatures.
- 2004-08-21 16:32 pbartok
- * LinkLabel.cs:
- - Signature Fixes
- 2004-08-21 16:30 pbartok
- * Label.cs:
- - Signature fixes
- 2004-08-21 16:19 pbartok
- * Control.cs, Label.cs:
- - Signature fixes
- 2004-08-21 15:57 pbartok
- * ButtonBase.cs:
- - Added loads of debug output for development
- - Fixed typo in method name
- 2004-08-21 15:52 pbartok
- * ToolBarButtonClickEventArgs.cs:
- - Added missing base class
- 2004-08-21 14:53 pbartok
- * Control.cs:
- - Updated to match new GrabWindow signature
- 2004-08-21 14:51 pbartok
- * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
- - Added method to get default display size
- 2004-08-21 14:23 pbartok
- * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
- - Added method to query current grab state
- - Added argument to allow confining a grab to a window
- 2004-08-21 14:22 pbartok
- * Keys.cs:
- - Added [Flags] attribute so that modifiers can be used in bitwise
- ops
- 2004-08-21 14:21 pbartok
- * TrackBar.cs, ScrollBar.cs:
- - Replaced direct XplatUI calls with their Control counterpart
- 2004-08-21 13:32 pbartok
- * Control.cs:
- - Implemented Created property
- 2004-08-21 13:28 pbartok
- * Control.cs:
- - Implemented ContainsFocus
- 2004-08-21 13:26 pbartok
- * Control.cs:
- - Implemented CausesValidation
- 2004-08-21 13:21 pbartok
- * Control.cs:
- - Implemented CanFocus
- - Implemented CanSelect
- - Implemented Capture
- 2004-08-21 12:35 pbartok
- * XplatUIWin32.cs:
- - Fixed bug with Async message handling
- - Implemented getting the ModifierKeys
- 2004-08-21 12:32 jackson
- * AsyncMethodResult.cs: Make sure we have the mutex before we
- release it. Fixes BeginInvoke on windows
- 2004-08-21 11:31 pbartok
- * XplatUIWin32.cs, XplatUIX11.cs:
- - Drivers now return proper mouse state
- 2004-08-21 10:54 jackson
- * Control.cs: Implement EndInvoke
- 2004-08-21 10:48 jackson
- * Timer.cs: Remove unneeded finalizer
- 2004-08-20 19:52 ravindra
- * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
- in mouse event handling in the ToolBar control.
- 2004-08-20 19:50 ravindra
- * ImageList.cs: Changed draw method to use the arguments passed in
- to draw the image.
- 2004-08-20 18:58 pbartok
- * XplatUIStructs.cs:
- - Added private message for async communication
- 2004-08-20 17:38 ravindra
- * Control.cs: Made RightToLeft property virtual and removed a
- Console.WriteLine.
- 2004-08-20 14:39 jordi
- * ThemeGtk.cs: use style_attach
- 2004-08-20 14:39 pbartok
- * XplatUIWin32.cs:
- - Added jackson's Async code from X11 to Win32
- 2004-08-20 14:09 pbartok
- * SWF.csproj:
- - Added all new files
- 2004-08-20 14:09 pbartok
- * Control.cs:
- - Added call to set window background color
- 2004-08-20 14:03 pbartok
- * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
- - Added method for setting the window background
- 2004-08-20 14:02 pbartok
- * XplatUIWin32.cs:
- - Added method for setting the background color
- - Added handling for erasing the window background
- 2004-08-20 13:45 jordi
- * TrackBar.cs: fixes timer, new properties and methods
- 2004-08-20 13:34 jackson
- * ScrollBar.cs: Use the SWF timer so callbacks are run in the
- correct thread
- 2004-08-20 13:22 jackson
- * Timer.cs: Timer Tick events are now handed through Controls Async
- mechanism so the callbacks are executed in the same thread as X
- 2004-08-20 13:19 jackson
- * XplatUIDriver.cs: Expose functionality to send async messages
- through the driver
- 2004-08-20 13:18 jackson
- * Control.cs: Implement Begininvoke
- 2004-08-20 13:14 jackson
- * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
- messages through the driver
- 2004-08-20 13:12 jackson
- * XplatUIX11.cs: Lock before all X operations. Also added Async
- method functionality through XSendEvent
- 2004-08-20 13:11 jackson
- * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
- This will screw up on 64 bit systems)
- 2004-08-20 13:10 jackson
- * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
- Async messages through X/Win32
- 2004-08-19 19:39 pbartok
- * XplatUIX11.cs:
- - Updated code to match new HandleData.DeviceContext type
- 2004-08-19 19:38 pbartok
- * HandleData.cs:
- - Made DeviceContext a generic object to allow usage from various
- drivers
- - Added support for queueing Windows messages
- 2004-08-19 19:37 pbartok
- * XplatUIWin32.cs:
- - Added generation of MouseEnter, MouseLeave and MouseHover events
- - Added cleanup on EndPaint
- 2004-08-19 19:17 pbartok
- * Control.cs:
- - Added handling of WM_MOUSEHOVER
- - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
- code
- 2004-08-19 18:55 jordi
- * ThemeGtk.cs: fixes button order
- 2004-08-19 18:12 jordi
- * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
- 2004-08-19 17:09 pbartok
- * Control.cs:
- - Added Right property
- - Added RightToLeft property
- 2004-08-19 16:27 jordi
- * ThemeGtk.cs: experimental GTK theme support
- 2004-08-19 16:26 jordi
- * ITheme.cs, Theme.cs: move themes from an interface to a class
- 2004-08-19 16:25 jordi
- * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
- theme enhancaments
- 2004-08-19 16:04 pbartok
- * XplatUIX11.cs:
- - Added colormap basics
- - Added a way to re-initialize with a different display handle
- - Fixed setting of the window background color
- - Added various X11 imports related to colors and colormaps
- 2004-08-19 15:51 pbartok
- * X11Structs.cs:
- - Removed packing hints (Paolo suggested this a while back)
- - fixed colormap type
- - Added default Atom types
- - Added Screen and color structs and enums
- 2004-08-19 15:39 pbartok
- * ImageList.cs:
- - Added missing Draw() method
- - Added missing RecreateHandle event
- 2004-08-19 15:30 pbartok
- * Form.cs:
- - Added handling of WM_CLOSE
- 2004-08-18 13:16 jordi
- * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
- a table
- 2004-08-18 09:56 jordi
- * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
- 2004-08-17 15:31 ravindra
- * SWF.csproj: Updated project.
- 2004-08-17 15:25 pbartok
- * Control.cs:
- - Drawing improvement; don't call UpdateBounds if we are not visible
- (or have been minimized)
- 2004-08-17 15:24 pbartok
- * XplatUIWin32.cs:
- - Finished IsVisible
- - Added Win32GetWindowPlacement
- 2004-08-17 15:08 jackson
- * Panel.cs: Initial checkin of the Panel
- 2004-08-17 14:25 pbartok
- * Control.cs:
- - Fixed broken handling of default window sizes
- 2004-08-17 13:29 jackson
- * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
- has a large startup time.
- 2004-08-17 10:25 jackson
- * HandleData.cs: union areas properly
- 2004-08-17 10:12 jackson
- * HandleData.cs: union areas properly
- 2004-08-16 20:00 ravindra
- * ToolBar.cs, ToolBarButton.cs: Added attributes.
- 2004-08-16 18:48 ravindra
- * ToolBar.cs: Added attributes.
- 2004-08-16 17:17 ravindra
- * SWF.csproj: Updated project.
- 2004-08-16 17:16 jackson
- * XplatUIX11.cs: Check for more expose events before sending a
- WM_PAINT so they can all be grouped together. This makes dragging a
- window across another window redraw in a sane way.
- 2004-08-16 15:47 pbartok
- * Control.cs:
- - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
- support OnMouseEnter/Leave()
- - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
- exposure handling
- 2004-08-16 15:46 pbartok
- * XplatUIStructs.cs, XplatUIX11.cs:
- - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
- OnMouseEnter/Leave()
- 2004-08-16 15:34 jackson
- * XplatUIX11.cs: Group multiple expose events in HandleData, make
- sure messages get the message field set to WM_NULL if they are not
- handled.
- 2004-08-16 15:24 jackson
- * HandleData.cs: HandleData is used for storing message information
- for window handles
- 2004-08-15 17:23 ravindra
- * ColorDepth.cs: Added attribute.
- 2004-08-15 17:23 ravindra
- * SWF.csproj: Updated project for ToolBar Control.
- 2004-08-15 17:20 ravindra
- * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
- control and also dos2unix format.
- 2004-08-15 17:13 ravindra
- * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
- ToolBarButtonClickEventArgs.cs,
- ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
- ToolBarTextAlign.cs: First Implementation of ToolBar control.
- 2004-08-15 15:31 pbartok
- * ButtonBase.cs:
- - First (mostly) working version
- 2004-08-13 16:15 pbartok
- * Control.cs:
- - Fixed Anchor default
- 2004-08-13 15:43 pbartok
- * Control.cs:
- - Changed GetCursorPos signature
- 2004-08-13 15:42 pbartok
- * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
- - Changed signature for GetCursorPos
- 2004-08-13 15:25 pbartok
- * XplatUIX11.cs:
- - Cleanup
- - Fixed resizing/exposure handling
- 2004-08-13 15:22 jordi
- * ThemeWin32Classic.cs: removes redundant code and fixes issues
- with tickposition
- 2004-08-13 14:55 jordi
- * TrackBar.cs: change from wndproc to events
- 2004-08-13 13:00 jordi
- * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
- XplatUIX11.cs: implements PointToClient (ScreenToClient)
- 2004-08-13 12:53 pbartok
- * XplatUIWin32.cs:
- - Changed GetWindowPos to also provide client area size
- - Fixed broken prototypes for several win32 functions
- 2004-08-13 12:53 pbartok
- * XplatUI.cs, XplatUIDriver.cs:
- - Changed GetWindowPos to also provide client area size
- 2004-08-13 12:52 pbartok
- * XplatUIX11.cs:
- - Added generation of WM_POSCHANGED
- - Changed GetWindowPos to also provide client area size
- 2004-08-13 12:52 pbartok
- * Control.cs:
- - Added Dispose() and destructor
- - Fixed resizing and bounds calculation
- - Fixed Layout
- - Added memory savings for invisible windows
- 2004-08-13 12:46 jordi
- * TrackBar.cs: adds timer and grap window
- 2004-08-13 10:25 jackson
- * Timer.cs: SWF Timer
- 2004-08-12 16:59 pbartok
- * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
- - Implemented method to get current mouse position
- 2004-08-12 14:29 jordi
- * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
- enhancement, fix mouse problems, highli thumb, etc
- 2004-08-12 13:31 pbartok
- * Control.cs:
- - Fixed Anchoring bugs
- 2004-08-12 13:01 jackson
- * StatusBar.cs: Don't forget things
- 2004-08-12 12:54 jackson
- * ThemeWin32Classic.cs: Handle owner draw status bars
- 2004-08-12 12:54 jackson
- * StatusBar.cs: Implement missing properties, events, and methods.
- Handle mouse clicking
- 2004-08-12 10:19 jackson
- * StatusBarPanelClickEventArgs.cs,
- StatusBarPanelClickEventHandler.cs: Classes for handling status
- bar panel click events
- 2004-08-12 10:10 jackson
- * Control.cs: Add missing properties
- 2004-08-12 09:46 pbartok
- * BindingsManagerBase.cs:
- - Name changed to BindingManagerBase.cs
- 2004-08-12 09:25 jordi
- * ScrollableControl.cs: calls ctrlbase instead of exeception
- 2004-08-11 16:28 pbartok
- * InputLanguageChangingEventArgs.cs:
- - Never check in before compiling. Fixes the last check-in
- 2004-08-11 16:26 pbartok
- * InputLanguageChangingEventArgs.cs:
- - More signature fixes
- 2004-08-11 16:20 pbartok
- * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
- Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
- ImageListStreamer.cs, InputLanguage.cs,
- InputLanguageChangedEventArgs.cs,
- InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
- LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
- ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
- XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
- - Signature fixes
- 2004-08-11 16:16 pbartok
- * Application.cs:
- - Fixed Signature
- - Added .Net 1.1 method
- 2004-08-11 15:25 pbartok
- * SWF.csproj:
- - Fixed BindingManagerBase.cs filename
- 2004-08-11 15:22 pbartok
- * BindingManagerBase.cs:
- - Was checked in with wrong filename
- 2004-08-11 14:50 pbartok
- * SWF.csproj:
- - Updated
- 2004-08-11 13:41 jordi
- * XplatUIWin32.cs: Fixes ClientRect
- 2004-08-11 13:19 pbartok
- * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
- XplatUIX11.cs:
- - We had SetWindowPos and MoveWindow to set window positions and
- size, removed MoveWindow. We have GetWindowPos, so it made sense to
- keep SetWindowPos as matching counterpart
- - Added some X11 sanity checking
- 2004-08-11 12:59 pbartok
- * Control.cs:
- - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
- (It seems that SetBounds is just a front for SetBoundsCore and
- SetBoundsCore updates the underlying window system and
- UpdateBounds is responsible for updating the variables associated
- with the Control and sending the events)
- - Major cleanup of Size handling; we now have two sizes, client_size
- and bounds. Bounds defines the window with decorations, client_size
- without them.
- 2004-08-11 12:55 pbartok
- * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
- - Added method to calculate difference between decorated window and
- raw client area
- 2004-08-11 12:54 pbartok
- * Label.cs:
- - Forcing redraw on resize
- 2004-08-11 11:43 pbartok
- * ImageList.cs:
- - Removed disposing of the actual images when the list is disposed
- 2004-08-11 09:13 pbartok
- * Control.cs:
- - Now properly reparents windows
- 2004-08-11 08:37 pbartok
- * Control.cs:
- - Duh!
- 2004-08-11 07:47 pbartok
- * Control.cs:
- - Rewrote the collection stuff. Might not be as fast now, not
- keeping the number of children around and accessible directly, but
- it's more straightforward
- 2004-08-11 07:44 pbartok
- * AccessibleObject.cs:
- - Fixed to match ControlCollection rewrite
- 2004-08-11 07:43 pbartok
- * ImageList.cs:
- - Added missing creation of the collection list
- 2004-08-10 20:08 jackson
- * StatusBar.cs: Get the paint message from WndProc
- 2004-08-10 19:31 jackson
- * ThemeWin32Classic.cs: Create Brushes as little as possible
- 2004-08-10 19:20 jackson
- * UICues.cs: Add Flags attribute
- 2004-08-10 19:19 jackson
- * StatusBarPanel.cs: Signature cleanup
- 2004-08-10 19:10 jackson
- * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
- Initial implementation of status bar item drawing
- 2004-08-10 17:27 jordi
- * TrackBar.cs: add missing methods, properties, and restructure to
- hide extra ones
- 2004-08-10 16:24 jackson
- * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
- ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
- attribute
- 2004-08-10 13:21 jordi
- * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
- enhancements and standarize on win colors defaults
- 2004-08-10 12:52 jackson
- * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
- ThemeWin32Classic.cs: Implement DrawItem functionality
- 2004-08-10 12:47 jordi
- * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
- 2004-08-10 12:32 jordi
- * Control.cs: throw ontextchange event
- 2004-08-10 11:43 pbartok
- * Control.cs:
- - Added more to the still unfinished Dock/Anchor layout code
- 2004-08-10 11:39 pbartok
- * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
- - Added GetWindowPos method
- 2004-08-10 11:36 pbartok
- * XplatUIWin32.cs:
- - Implemented several methods
- 2004-08-10 09:47 jackson
- * TrackBar.cs: Allow control to handle buffering
- 2004-08-10 09:41 jackson
- * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
- 2004-08-10 09:24 jackson
- * Label.cs, LinkLabel.cs: Let Control handle buffering.
- 2004-08-10 09:09 jackson
- * StatusBar.cs: Let Control handle all the buffering.
- 2004-08-10 09:08 jackson
- * Control.cs: Control will now handle the buffering code, so each
- control does not have to implement this.
- 2004-08-10 08:34 jackson
- * XplatUIDriver.cs: Use default colors from the theme
- 2004-08-09 17:12 pbartok
- * ImageList.cs:
- - Fixed several bugs Ravindra pointed out
- 2004-08-09 16:11 pbartok
- * Control.cs:
- - Added incomplete dock layout code
- - Added support for mouse wheel
- 2004-08-09 16:09 pbartok
- * XplatUIX11.cs:
- - Added handling for middle and right mousebutton
- - Added handling for mouse wheel
- - Added handling for key state and mouse state and position
- - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
- messages
- 2004-08-09 15:40 jackson
- * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
- StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
- checkin
- 2004-08-09 15:37 jackson
- * StatusBar.cs: Initial implementation of StatusBar
- 2004-08-09 15:36 jackson
- * ITheme.cs: Add support for drawing status bar and getting status
- bar item sizes
- 2004-08-09 15:35 pbartok
- * MouseButtons.cs:
- - Fixed values
- 2004-08-09 15:34 jackson
- * ThemeWin32Classic.cs: Add support for drawing status bar and get
- status bar item sizes
- 2004-08-09 15:21 jackson
- * ThemeWin32Classic.cs: Use known colors for default control
- colours
- 2004-08-09 15:12 jackson
- * ThemeWin32Classic.cs: Make the default font static, it is static
- in control so this doesn't change functionality and creating fonts
- is sloooooow.
- 2004-08-09 14:56 pbartok
- * X11Structs.cs:
- - Added GrabMode enum
- 2004-08-09 14:55 pbartok
- * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
- - Removed Run method, was only required for initial development
- 2004-08-09 14:51 pbartok
- * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
- - Implemented GrabWindow/ReleaseWindow methods to allow pointer
- capture
- 2004-08-09 13:48 pbartok
- * XplatUIX11.cs:
- - Fixed default sizing for child windows
- 2004-08-09 12:56 pbartok
- * XplatUIX11.cs:
- - Added generation of WM_DESTROY message
- - Added handling of window manager induced shutdown
- 2004-08-09 11:31 jackson
- * ThemeWin32Classic.cs: New names for control properties
- 2004-08-09 11:25 jackson
- * Control.cs: Use new color names
- 2004-08-09 11:02 jackson
- * XplatUI.cs: Get default window properties from the theme
- 2004-08-09 11:01 jackson
- * ITheme.cs: The theme engine now controls default window
- properties
- 2004-08-09 11:00 jackson
- * ThemeWin32Classic.cs: Add default window color properties
- 2004-08-09 10:17 jackson
- * ThemeWin32Classic.cs: Use correct default back color
- 2004-08-09 10:05 jackson
- * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
- the theme now.
- 2004-08-09 09:56 jackson
- * XplatUI.cs: Remove defaults, these are handled by the theme now.
- 2004-08-09 09:54 jackson
- * Control.cs: Get default properties from the theme.
- 2004-08-09 09:53 jackson
- * ITheme.cs: Themes now handle default control properties
- 2004-08-09 09:53 jackson
- * ThemeWin32Classic.cs: Themes now handle default control
- properties so coloring will be consistent
- 2004-08-08 16:54 jordi
- * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
- 2004-08-08 15:08 jordi
- * XplatUIX11.cs: fixes keyboard crash
- 2004-08-08 13:47 jordi
- * Label.cs: add cvs header info
- 2004-08-08 12:09 jackson
- * ThemeWin32Classic.cs: Add pen_buttonface
- 2004-08-08 11:52 jordi
- * Label.cs, LinkLabel.cs: [no log message]
- 2004-08-08 11:34 jordi
- * ThemeWin32Classic.cs: Use Windows Standard Colours
- 2004-08-07 17:32 jordi
- * TrackBar.cs: throw exceptions of invalid enums values
- 2004-08-07 17:31 jordi
- * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
- draw method name
- 2004-08-07 16:56 jackson
- * HorizontalAlignment.cs: Initial checkin
- 2004-08-07 13:16 jordi
- * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
- methods
- 2004-08-07 13:05 jordi
- * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
- GetSysColor defines
- 2004-08-06 18:01 pbartok
- * ThemeWin32Classic.cs:
- - Fixed some rounding issues with float/int
- 2004-08-06 18:00 jackson
- * DockStyle.cs, AnchorStyles.cs:
- Add flags and serializable attributes.
- 2004-08-06 17:46 pbartok
- * XplatUIX11.cs:
- - Implemented GetParent
- 2004-08-06 17:18 pbartok
- * TrackBar.cs:
- - Fixed some rounding issues with float/int
- 2004-08-06 17:17 pbartok
- * X11Structs.cs, XplatUIX11.cs:
- - Fixed Refresh and Invalidate
- 2004-08-06 15:30 pbartok
- * Control.cs, X11Structs.cs, XplatUIX11.cs:
- - Fixed recursive loop when resizing
- - Improved/fixed redrawing on expose messages
- 2004-08-06 09:53 jordi
- * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
- keyboard navigation
- 2004-08-06 08:02 pbartok
- * X11Structs.cs, XplatUIX11.cs:
- - Fixed reparenting
- - Fixed window border creation
- 2004-08-05 15:38 pbartok
- * XplatUIX11.cs:
- - Attempted fix for reparenting problems
- 2004-08-04 15:14 pbartok
- * Control.cs:
- - Fixed Invalidation bug (calculated wrong client area)
- - Added ClientSize setter
- 2004-08-04 15:13 pbartok
- * Form.cs:
- - Added AutoScale properties
- 2004-08-04 15:13 pbartok
- * SWF.csproj:
- - Added latest files
- 2004-08-04 14:11 pbartok
- * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
- XplatUIX11.cs:
- - Added Invalidate handling
- 2004-08-03 17:09 jordi
- * XplatUIDriver.cs: fixes spelling mistake
- 2004-07-27 09:53 jordi
- * TrackBar.cs: fixes trackbar events, def classname, methods
- signature
- 2004-07-27 09:29 jordi
- * ScrollBar.cs: fixes scrollbar events
- 2004-07-27 04:38 jordi
- * Control.cs: changes to be able to run winforms samples
- 2004-07-26 11:42 jordi
- * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
- ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
- 2004-07-26 05:41 jordi
- * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
- MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
- implementation
- 2004-07-22 09:22 jordi
- * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
- check link overlapping, implement events, and fixes
- 2004-07-21 10:28 jordi
- * DialogResult.cs, IButtonControl.cs: fixes comments filenames
- 2004-07-21 10:19 jordi
- * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
- LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
- LinkLabelLinkClickedEventArgs.cs,
- LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
- XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
- implementation
- 2004-07-19 13:09 jordi
- * Control.cs, Label.cs: label control re-written: added missing
- functionlity, events, and properties
- 2004-07-19 10:49 jordi
- * Control.cs: fixes SetBounds logic
- 2004-07-19 01:29 jordi
- * Control.cs: Call RefreshWindow only if the window has created
- 2004-07-15 14:05 pbartok
- * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
- - Implemented ImageList and ImageList.ImageCollection classes
- - Added ColorDepth enumeration
- - Updated SWF VS.Net project
- 2004-07-15 11:06 jordi
- * XplatUIStructs.cs: added MsgButons enum
- 2004-07-15 11:03 jordi
- * Control.cs: added basic mouse handeling events
- 2004-07-15 03:38 jordi
- * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
- Vertical TrackBar control implementation
- 2004-07-13 09:33 jordi
- * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
- 2004-07-13 09:31 jordi
- * Control.cs, Form.cs: commit: new properties and fixes form size
- problems
- 2004-07-09 14:13 miguel
- * ProgressBar.cs: Spelling
- 2004-07-09 11:25 pbartok
- * ProgressBar.cs:
- - Removed usage of Rectangle for drawing. Miguel pointed out it's
- faster
- 2004-07-09 11:17 miguel
- * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
- * ProgressBar.cs: Fixed spelling for `block'
- drawProgressBar: renamed to `DrawProgressBar' to follow the coding
- style guidelines.
- Avoid using the += on rect.X, that exposed a bug in the compiler.
- 2004-07-08 23:21 pbartok
- * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
- AnchorStyles.cs, Application.cs, ApplicationContext.cs,
- BaseCollection.cs, Binding.cs, BindingContext.cs,
- BindingMemberInfo.cs, BindingsCollection.cs,
- BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
- BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
- ButtonState.cs, CaptionButton.cs, CheckBox.cs,
- ContainerControl.cs, Control.cs, ControlEventArgs.cs,
- ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
- ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
- CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
- DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
- FrameStyle.cs, GiveFeedbackEventArgs.cs,
- GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
- HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
- IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
- InputLanguageChangedEventArgs.cs,
- InputLanguageChangedEventHandler.cs,
- InputLanguageChangingEventArgs.cs,
- InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
- InvalidateEventArgs.cs, InvalidateEventHandler.cs,
- KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
- KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
- LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
- MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
- PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
- QueryAccessibilityHelpEventArgs.cs,
- QueryAccessibilityHelpEventHandler.cs,
- QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
- RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
- ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
- ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
- TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
- UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
- XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
- XplatUIX11.cs, lang.cs:
- - Initial check-in
|