ChangeLog 717 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592
  1. 2006-12-08 Chris Toshok <[email protected]>
  2. * Form.cs (set_CancelButton): if the button's DialogResult is
  3. None, set it to Cancel. Fixes bug 80180.
  4. 2006-12-08 Jackson Harper <[email protected]>
  5. * TextBoxBase.cs: Ugh, ClientSize can be 0,0 sometimes, so we need
  6. to watch ourselves when setting the canvas size and setting the
  7. scrollbar values.
  8. 2006-12-08 Chris Toshok <[email protected]>
  9. * DataGrid.cs: comment out the two MakeTransparent calls for the
  10. time being so people using trunk (and not 1.2.2) on windows can
  11. actually use the datagrid. This deals with bug #80151.
  12. 2006-12-08 Jonathan Pobst <[email protected]>
  13. * ThemeWin32Classic.cs: Change ButtonBase_DrawImage to use the
  14. Graphics.DrawImage (image, int, int, int, int) overload instead
  15. of Graphics.DrawImage (image, int, int). GDI+ can't figure out
  16. the dpi difference and was blurring images it drew.
  17. [Fixes bug #79960]
  18. 2006-12-08 Chris Toshok <[email protected]>
  19. * ThemeWin32Classic.cs (DataGridPaintRows): handle case where
  20. rowcnt is 0 (such as with an empty datasource), and make sure we
  21. initialize not_usedarea.Y to cells.Y, so we don't draw over the
  22. other areas (caption, parent row, etc, etc). Fixes bug #80095.
  23. 2006-12-08 Chris Toshok <[email protected]>
  24. * DataGridColumnStyle.cs (SetDataGrid): don't try to access a null
  25. grid.
  26. 2006-12-08 Chris Toshok <[email protected]>
  27. [ Fixes bug #80167 ]
  28. * ThemeWin32Classic.cs: don't draw the image if the button's flat
  29. style is FlatStyle.System.
  30. * ButtonBase, ThemeClearlooks.cs, ThemeGtk.cs, ThemeNice.cs: make
  31. ButtonBase.flat_style private, and switch uses of it to the public
  32. property.
  33. 2006-12-08 Chris Toshok <[email protected]>
  34. [ Fixes bug #80121 ]
  35. * ThemeWin32Classic.cs: center the caption text in the datagrid
  36. when we draw it.
  37. * DataGrid.cs: lessen the amount we add to the caption height from
  38. 6 to 2. 6 was making it huge.
  39. 2006-12-08 Andreia Gaita <[email protected]>
  40. * UpDownBase: Handle MouseWheel call directly instead of capturing
  41. the inner textbox's OnMouseWheel. Fixes #80166
  42. 2006-12-08 Jackson Harper <[email protected]>
  43. * TextControl.cs: We need to invalidate the textbox when we empty
  44. it (how had this not been discovered before?)
  45. 2006-12-08 Jackson Harper <[email protected]>
  46. * TextBoxBase.cs: Reworked the mouse down code so I could get it
  47. to behave like MS, we now ignore the eventargs.Click and just
  48. track state ourself, which we were already doing anyways.
  49. - Constrain the double click handler to the double click size.
  50. 2006-12-08 Chris Toshok <[email protected]>
  51. * DataGrid.cs: the mousewheel code shouldn't try to scroll in a
  52. direction if that scrollbar isn't shown. fixes bug #80158.
  53. 2006-12-08 Andreia Gaita <[email protected]>
  54. * NumericUpDown.cs: Update value on getter. Fixes #79950
  55. 2006-12-08 Chris Toshok <[email protected]>
  56. * MenuItem.cs: add back in the event cloning code. I didn't know
  57. how to do it in the face of the EventHandlerList work i'd done
  58. last week. Fixes bug #80183.
  59. 2006-12-08 Jonathan Pobst <[email protected]>
  60. * Control.cs: Add an invalidate to the BackgroundImage setter.
  61. [Fixes 80184]
  62. 2006-12-07 Jonathan Pobst <[email protected]>
  63. * ToolStrip*: Add some small properties reported by MoMA, fix event
  64. firing and default properties based off of unit tests, and add some
  65. attributes based off of the class status page.
  66. 2006-12-07 Jackson Harper <[email protected]>
  67. * TextBoxBase.cs: Take HideSelection into account when determining
  68. whether or not to show the selection.
  69. * RichTextBox.cs: After inserting the RTF into the document move
  70. the cursor to the beginning of the document.
  71. 2006-12-07 Jonathan Pobst <[email protected]>
  72. * Control.cs: Remove static ArrayList "controls" which maintained
  73. a reference to every control created.
  74. * Application.cs: Create a static FormCollection to maintain a reference
  75. to every form created. Use it in places that formerly enumerated through
  76. the controls one looking for forms.
  77. * Form.cs: Add and remove self from above FormCollection.
  78. 2006-12-07 Alexander Olk <[email protected]>
  79. * MimeIcon.cs: gdk_pixbuf_save_to_buffer is part of libgdk-pixbuf,
  80. not libgdk (though it makes me wonder why I didn't have any
  81. problems)
  82. 2006-12-07 Chris Toshok <[email protected]>
  83. [ you had to know this was coming after that last commit...]
  84. * XplatUIX11.cs: implement the 3 Offscreen functions in terms of
  85. XPixmaps (CreateOffscreenDrawable maps to XCreatePixmap,
  86. DestroyOffscreenDrawable to FreePixmap, and BlitFromOffscreen to
  87. XCopyArea).
  88. 2006-12-07 Chris Toshok <[email protected]>
  89. * XplatUI.cs: add 3 calls (CreateOffscreenDrawable,
  90. DestroyOffscreenDrawable, and BlitFromOffscreen) that encompass
  91. all the behavior we need for double buffering.
  92. * XplatUIDriver.cs: implement the 3 double buffer methods using a
  93. client side Bitmap, just like the old Control-based double buffer
  94. code did. The methods are virtual, so each XplatUI driver
  95. subclass can replace the implementation to use a faster, platform
  96. specific approach.
  97. * Control.cs: make use of the 3 Offscreen XplatUI calls in the
  98. double buffer code, and clean things up a bit in the process.
  99. 2006-12-06 Chris Toshok <[email protected]>
  100. * Control.cs: reindent WndProc.
  101. 2006-12-06 Chris Toshok <[email protected]>
  102. [ I wanna be like BenM when I grow up ]
  103. * Hwnd.cs: create a single static Graphics object on the static
  104. Bitmap we create. use this for our text measurements.
  105. * Control.cs (DeviceContext): stop using the backbuffer's dc_mem.
  106. This was causing us to allocate a backbuffer for every control,
  107. even when it wasn't flagged as double buffered. Instead use the
  108. single graphics instance. This might have implications for
  109. multithreaded applications. If we run into problems we can switch
  110. to creating 1 Graphics per control, on the static Hwnd bitmap.
  111. this change nets us a 7M savings in private dirty mappings when
  112. running FormsTest.exe.
  113. 2006-12-06 Chris Toshok <[email protected]>
  114. * ToolTip.cs: use Visible instead of is_visible.
  115. * TreeView.cs: same.
  116. * ListBox.cs: same.
  117. * ListView.cs: same.
  118. 2006-12-06 Chris Toshok <[email protected]>
  119. * ListView.cs: the BackgroundImage override is just to set
  120. attributes. chain up to base.BackgroundImage.
  121. * RichTextBox.cs: same.
  122. * ToolBar.cs: same, but we need to also redraw the toolbar when it
  123. changes, so instead a handler for BackgroundImageChanged.
  124. * Control.cs: make background_image private.
  125. 2006-12-06 Chris Toshok <[email protected]>
  126. * ScrollBar.cs: change the assignment of cursor to Cursor. not
  127. sure we even need this assignment, but roll with it for now.
  128. * Control.cs: make the cursor field private.
  129. 2006-12-06 Chris Toshok <[email protected]>
  130. * Form.cs: we don't need to explicitly set ImeMode to
  131. ImeMode.NoControl - that's a natural fallout of Control.ImeMode's
  132. behavior in the face of ImeMode.Inherit.
  133. * ButtonBase.cs: change DefaultImeMode to ImeMode.Disable, and
  134. change the ctor's assignment to use ImeMode instead of ime_mode.
  135. * Control.cs (get_ImeMode): don't assume DefaultImeMode ==
  136. ImeModeInherit. Only check for the parent's imemode (and return
  137. NoControl if there is no parent) if ime_Mode == ImeMode.Inherit.
  138. This fixes the button unit test, which sets both ImeMode and
  139. DefaultImeMode to ImeMode.Disable.
  140. also make the ime_mode field private.
  141. 2006-12-06 Chris Toshok <[email protected]>
  142. * Control.cs: make control_style private.
  143. * TextBoxBase.cs: fix the HandleClick override. it was explicitly
  144. setting the styles to true, then setting them to false instead of
  145. reverting to their previous values.
  146. also, call SetStyle on the scrollbars instead of using
  147. control_style directly.
  148. 2006-12-06 Jonathan Pobst <[email protected]>
  149. * FormCollection.cs: Implement. [2.0]
  150. 2006-12-06 Chris Toshok <[email protected]>
  151. * Control.cs: make tab_stop private.
  152. * Label.cs: set TabStop, not tab_stop. reformat some event
  153. add/remove methods to make them more compact.
  154. 2006-12-06 Chris Toshok <[email protected]>
  155. * RadioButton.cs: fix TabStop handling.
  156. 2006-12-06 Chris Toshok <[email protected]>
  157. * TextBox.cs: remove the explicit assignments to has_focus.
  158. Control does that.
  159. * ButtonBase.cs: remove the assignment to has_focus. Control will
  160. manage that.
  161. 2006-12-06 Chris Toshok <[email protected]>
  162. * ButtonBase.cs: remove all uses of is_enabled from this code.
  163. it's always true when any of the code containing the checks is
  164. executed.
  165. 2006-12-06 Chris Toshok <[email protected]>
  166. * ImageList.cs: reinstate the ShouldSerialize*/Reset* methods,
  167. with different semantics (some are present in both 1.1 and 2.0
  168. profiles) so that we match MS's behavior in our unit tests.
  169. 2006-12-06 Jackson Harper <[email protected]>
  170. * TextControl.cs: Make this operation undoable.
  171. * TextBoxBase.cs: Factor the border width into the preferred
  172. height.
  173. - implement Modified as per the spec.
  174. 2006-12-06 Chris Toshok <[email protected]>
  175. * Timer.cs, Control.cs, Menu.cs: make control_tag private.
  176. 2006-12-06 Chris Toshok <[email protected]>
  177. * Control.cs: make right_to_left and context_menu fields private.
  178. 2006-12-06 Chris Toshok <[email protected]>
  179. * AccessibleObject.cs, Control.cs, XplatUIX11GTK.cs,
  180. XplatUIX11.cs, Form.cs, RadioButton.cs, ScrollableControl.cs: make
  181. Control.child_controls private. switch all uses over to
  182. Control.Controls.
  183. 2006-12-06 Chris Toshok <[email protected]>
  184. * System.Windows.Forms/GroupBox.cs,
  185. System.Windows.Forms/AccessibleObject.cs,
  186. System.Windows.Forms/ErrorProvider.cs,
  187. System.Windows.Forms/Control.cs,
  188. System.Windows.Forms/UpDownBase.cs,
  189. System.Windows.Forms/ScrollBar.cs,
  190. System.Windows.Forms/DateTimePicker.cs,
  191. System.Windows.Forms/Form.cs, System.Windows.Forms/Label.cs,
  192. System.Windows.Forms/ToolTip.cs,
  193. System.Windows.Forms/RadioButton.cs,
  194. System.Windows.Forms/LinkLabel.cs,
  195. System.Windows.Forms/Splitter.cs,
  196. System.Windows.Forms/TextBoxBase.cs,
  197. System.Windows.Forms/ToolStripTextBox.cs,
  198. System.Windows.Forms/ContainerControl.cs,
  199. System.Windows.Forms/ThemeWin32Classic.cs,
  200. System.Windows.Forms/SizeGrip.cs,
  201. System.Windows.Forms/ToolStripDropDown.cs,
  202. System.Windows.Forms/ScrollableControl.cs: Make Control.parent
  203. private. switch all uses over to Control.Parent.
  204. 2006-12-06 Chris Toshok <[email protected]>
  205. * RichTextBox.cs: don't assign to has_focus in GotFocus/LostFocus.
  206. Control does this before calling emitting these events.
  207. * TabControl.cs: same.
  208. * ThemeWin32Classic.cs: use Control.ClientRectangle instead of
  209. Control.client_rect.
  210. * ButtonBase.cs: use the ClientSize property instead of the
  211. client_size field.
  212. * ScrollableControl.cs: same.
  213. * Control.cs: another pass at making properties private. also,
  214. move the initialization of tab_stop to the ctor.
  215. 2006-12-05 Andreia Gaita <[email protected]>
  216. * TabControl.cs: Let the selected index be set freely if the
  217. control handle is not yet created.
  218. 2006-12-05 Jonathan Pobst <[email protected]>
  219. * Control.cs: Revert dist_top, dist_right, and dist_bottom to
  220. internal until I can rewrite DefaultLayout.
  221. * ToolStrip.cs: Fix build error and some general cleaning.
  222. * ToolStripControlHost.cs, SplitterPanel.cs, DataGridView.cs:
  223. Fix build errors caused by making some of Control's fields private.
  224. 2006-12-05 Jackson Harper <[email protected]>
  225. * TextControl.cs: Redo Insert a little so that it use IndexOf
  226. instead of Split, this prevents it from messing up on things like
  227. \n\n\n. Also more effecient since the split array doesn't need to
  228. be created.
  229. * TextBoxBase.cs: AppendText doesnt handle multiline and non
  230. multiline text differently, this is the first of many fixes that
  231. will make multiline/non-multiline the same thing as far as the
  232. TextBoxBase is concerned.
  233. - Don't split the text and insert lines, this can lose some line
  234. endings (like is the last line a soft or hard break). Instead use
  235. the new Insert.
  236. - Fix an off by one when combining all the lines in the Text
  237. getter.
  238. - Remove separate multiline handling from the Text getter/setter.
  239. 2006-12-05 Chris Toshok <[email protected]>
  240. * ButtonBase.cs: a few changes:
  241. - don't reinitialize internal Control fields in the ctor when they
  242. have the same values as Control sets them.
  243. - don't set has_focus in OnGotFocus/OnLostFocus. Control does
  244. this before calling those methods.
  245. - we don't need to call Refresh for anything. use Invalidate
  246. instead.
  247. - OnEnabledChanged doesn't need to redraw at all - Control.cs
  248. calls Refresh in its OnEnabledChanged.
  249. - several of the events we were registered for in the ctor to
  250. redraw ourselves already include calls to Invalidate in the
  251. property setters that raise the events. remove the extra
  252. invalidation.
  253. - reformat a switch statement that was 83274658 columns wide.
  254. 2006-12-05 Mike Kestner <[email protected]>
  255. * ComboBox.cs: fix a unit test regression from a TextBox
  256. SelectionLength return of -1 when there's no selection.
  257. 2006-12-05 Chris Toshok <[email protected]>
  258. * Control.cs, Button.cs, ThemeGtk.cs, Form.cs, ListView.cs,
  259. ThemeWin32Classic.cs, SizeGrip.cs, ToolBar.cs: first pass at
  260. cleaning up some of the internal Control fields being used by
  261. subclasses.
  262. 2006-12-05 Mike Kestner <[email protected]>
  263. * ComboBox.cs: fix some Simple mode regressions. Set Visible on the
  264. listbox after AddImplicit calls since it defaults to hidden. Add a
  265. hack to preserve requested heights across DropDownStyle changes.
  266. 2006-12-05 Jonathan Pobst <[email protected]>
  267. * PropertyGrid.cs: Hide FindFirstItem method from public API.
  268. 2006-12-05 Chris Toshok <[email protected]>
  269. * DataGridView.cs: fix compiler warnings.
  270. * PrintControllerWithStatusDialog.cs: same.
  271. * ToolBar.cs: same.
  272. * FolderBrowserDialog.cs: same.
  273. * Splitter.cs: same.
  274. * DataGridViewComboBoxCell.cs: same.
  275. * XplatUIWin32.cs: same.
  276. * PictureBox.cs: same.
  277. * Win32DnD.cs: same.
  278. * PageSetupDialog.cs: same.
  279. * FileDialog.cs: same.
  280. * PrintDialog.cs: same.
  281. * DataGridTextBoxColumn.cs: same.
  282. * DrawTreeNodeEventArgs.cs: same (and fix corcompare)
  283. 2006-12-05 Chris Toshok <[email protected]>
  284. * TextBox.cs, CheckedListBox.cs, MonthCalendar.cs, Menu.cs,
  285. MainMenu.cs, ListView.cs, LabelEditTextBox.cs, ToolBar.cs: more
  286. System.ComponentModel.EventHandlerList work.
  287. 2006-12-05 Jonathan Chambers <[email protected]>
  288. * DrawTreeNodeEventArgs.cs: Added.
  289. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  290. * InternalWindowManager.cs: Remove an unused field.
  291. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  292. * InternalWindowManager.cs:
  293. - Save the point where the title bar is clicked.
  294. * MdiWindowManager.cs:
  295. - Only allow moving of the window as long as the
  296. clicked point on the title bar does not get out of
  297. MdiClient's rectangle. Fixes #79982.
  298. * MdiClient.cs:
  299. - Added Horizontal/VerticalScrollbarVisible.
  300. - Simplified the scrollbar sizing algorithm.
  301. - Cache the difference in scrolled value in
  302. H/VBarValueChanged and move the calculation out
  303. of the for loop.
  304. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  305. * Control.cs: Make the Console.WriteLine in WndProc
  306. write more info.
  307. 2006-12-05 Chris Toshok <[email protected]>
  308. * ToolStripManager.cs, ToolStripButton.cs,
  309. ToolStripContentPanel.cs, ToolStripComboBox.cs, ToolStrip.cs,
  310. ToolStripMenuItem.cs, ToolStripItem.cs, ToolStripControlHost.cs,
  311. ToolStripSplitButton.cs, ToolStripSeparator.cs,
  312. ToolStripRenderer.cs, ToolStripDropDownItem.cs,
  313. ToolStripProgressBar.cs, ToolStripContainer.cs,
  314. ToolStripTextBox.cs, ToolStripPanel.cs, ToolStripDropDown.cs: move
  315. to using System.ComponentModel.EventHandlerList.
  316. 2006-12-04 Chris Toshok <[email protected]>
  317. * LinkLabel.cs: fix up compiler warnings.
  318. * TableLayoutSettings.cs: same.
  319. * TreeView.cs: same.
  320. * ToolBar.cs: same.
  321. * TabControl.cs: same.
  322. * RichTextBox.cs: same.
  323. * ListViewItem.cs: same.
  324. * PropertyGrid.cs: same.
  325. * DataGridViewRowPostPaintEventArgs.cs: corcompare fix.
  326. * ToolTip.cs same.
  327. * TextRenderer.cs: fix up compiler warnings.
  328. * Label.cs: same.
  329. * Form.cs: corcompare fixes.
  330. * PictureBox.cs: fix up compiler warnings.
  331. * ImageListStreamer.cs: same.
  332. * TrackBar.cs: corcompare fix.
  333. * Control.cs: fix up compiler warnings.
  334. * SplitterPanel.cs: same.
  335. * NumericTextBox.cs: same.
  336. * ImageList.cs: same.
  337. * StatusStrip.cs: same.
  338. * ProgressBar.cs: corcompare fix.
  339. * ToolStripButton.cs: fix up compiler warnings.
  340. * ToolStripStatusLabel.cs: same.
  341. * ToolStripSplitButton.cs: same.
  342. * ToolStripSeparator.cs: same.
  343. * ToolStripProgressBar.cs: same.
  344. * ToolStripDropDownMenu.cs: same
  345. * ToolStripDropDown.cs: same.
  346. * ToolStripDropDownButton.cs: same.
  347. * ToolStrip.cs: same.
  348. * ToolStripControlHost.cs: same.
  349. * ToolStripContentPanel.cs: same.
  350. * ToolStripDropDown.cs: same.
  351. * ToolStripContainer.cs: same.
  352. * ToolStripPanel.cs: same, and add "new" where we need it to work
  353. with the new ArrangedElementCollection.
  354. * ToolStripItemCollection.cs: add "new" where we need it to work
  355. with the new ArrangedElementCollection.
  356. 2006-12-04 Andreia Gaita <[email protected]>
  357. * TabControl.cs: Fix default tab selection to after TabControl
  358. gets focus and not before. Fixes #80128
  359. 2006-12-04 Chris Toshok <[email protected]>
  360. * DataGridTableStyle.cs: remove the gross calling of
  361. datagrid.Refresh from here. It's a broken idea and it doesn't
  362. work anyway.
  363. * DataGrid.cs: instead, just register/unregister from the
  364. DataGridTableStyle events in CurrentTableStyle. we play it
  365. conservatively and EndEdit + CalcAreasAndInvalidate on any event,
  366. even though some would most likely not require it. Fixes bug
  367. #80115 (and one portion of #80117 as a side effect).
  368. 2006-12-04 Chris Toshok <[email protected]>
  369. * DataGrid.cs (set_CaptionVisible): EndEdit before doing the work
  370. so the textbox (if any) goes away. Fixes bug #80117.
  371. 2006-12-04 Chris Toshok <[email protected]>
  372. * DataGridColumnStyle.cs: set the column's readonly property
  373. initially based on the property descriptor's IsReadOnly. Fixes
  374. bug #80044.
  375. 2006-12-04 Chris Toshok <[email protected]>
  376. * ComboBox.cs: wrap the dropdown style changing work in
  377. SuspendLayout/ResumeLayout. Fixes bug #79968.
  378. 2006-12-04 Jackson Harper <[email protected]>
  379. * TextBoxBase.cs: Fix off by one, since these are one-based.
  380. * TextBox.cs: Select all the text when we get focus. The TextBox
  381. does this but the RTB does not.
  382. 2006-12-04 Chris Toshok <[email protected]>
  383. * DataGridTextBoxColumn.cs: remove some spew.
  384. * DataGridColumnStyle.cs (SetColumnValueAtRow): this seems right
  385. but some part of me is saying "it shouldn't be here.." At any
  386. rate, it fixes bug #80046. Call IEditableObject.EndEdit after
  387. setting the value.
  388. 2006-12-04 Chris Toshok <[email protected]>
  389. * DataGridColumnStyle.cs (SetDataGrid): call CheckValidDataSource
  390. to reassign the propertydescriptor.
  391. 2006-12-04 Jackson Harper <[email protected]>
  392. * TextBoxBase.cs:
  393. * TextControl.cs: Remove some unused variables. Maybe this will
  394. patch things up between mike and I.
  395. - don't split lines less then one char wide, if the viewport is
  396. that small text won't be visible anyways.
  397. 2006-12-04 Jackson Harper <[email protected]>
  398. * TextBoxBase.cs: Default selection length is -1, need to do some
  399. more testing on windows to see when this is used for the property.
  400. - Redid the Lines [] property to that we properly remove soft line
  401. breaks
  402. - added support for preserving carriage returns
  403. - CanUndo is not a variable like 'is undo enabled' it just returns
  404. true if there is undo operations available.
  405. - AppendText doesn't need to grab the last tag itself anymore,
  406. this happens automatically when we move the cursor.
  407. * TextControl.cs: Add CompoundActions to the undo class. This
  408. allows combining the other operations into one big option. ie a
  409. paste will combine { delete old, insert new, move cursor }
  410. - Add InsertString undo operation
  411. - New method for deleting multiline text
  412. - Add carriage returns to lines. So we can preserve carriage
  413. returns when text is 'roundtripped'
  414. 2006-12-04 Chris Toshok <[email protected]>
  415. * DataGrid.cs (CalcCellsArea): cells_area.Width/Height are at a
  416. minimum 0. Fixes the scrollbar exception in bug #80136.
  417. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  418. * MdiClient.cs:
  419. * MdiWindowManager: Removed unused fields and methods.
  420. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  421. * StatusBar.cs: Update all panels when a AutoSize=Contents
  422. panel needs updating.
  423. * StatusBarPanel.cs: Remove twidth and only use initialize.
  424. Fixes #80031.
  425. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  426. * Form.cs: When a form's MdiParent is set add it directly
  427. on top of the z-order in stead of relying on MdiClient's
  428. ActivateChild to do it. Fixes #80135.
  429. * MdiClient.cs:
  430. - Remove original_order, mdi_child_list is already doing
  431. the same thing.
  432. - Create mdi_child_list on construction in
  433. stead of first use (avoids a few null checks).
  434. * MenuItem.cs: Use an already existing list of mdi children
  435. to get the correct order of children and remove the other
  436. redundant list.
  437. 2006-12-04 Chris Toshok <[email protected]>
  438. * PropertyGridView.cs: cached_splitter_location is only used in
  439. !DOUBLEBUFFER code.
  440. * PropertyGrid.cs: implement the ComComponentNameChanged event
  441. using Events, hoping that would fix the warning. Looks like a
  442. compiler bug instead (#80144).
  443. * PropertyManager.cs: remove unused method.
  444. 2006-11-04 Everaldo Canuto <[email protected]>
  445. * ThemeWin32Classic.cs: Dont draw arrow when menuitem on menubar,
  446. include parentesis to fix expression evaluation. Fixes #79634.
  447. 2006-11-02 Everaldo Canuto <[email protected]>
  448. * MenuAPI.cs:
  449. - Changes to fix behavior in Menu control, some reported in #80097
  450. and other detected during behavior refactory like a select event
  451. problems.
  452. - Remove unneded "if's" conditions.
  453. - Created an internal to flag when popup is active in control, we need
  454. it because in .NET you can have menu active but without popup active
  455. when you active menu using popup without visible items.
  456. - Mimic win32 behavior for Select and Popup events.
  457. - Dont open popup menu when you dont have visible subitems.
  458. - Do nothing when click on disabled menu item.
  459. - Some small changes to follow the coding style guidelines.
  460. - Unselect menu only when another control gives focus. Fixes #80097.
  461. - Remove unused code.
  462. * MenuItem.cs: internal VisibleItems method to check if menu
  463. theres visible subitems, it will be usefull to fix some
  464. behavior in Menu control.
  465. 2006-11-01 Everaldo Canuto <[email protected]>
  466. * Timer.cs: Tag property for 2.0 profile.
  467. 2006-12-01 Chris Toshok <[email protected]>
  468. [ after removing all warning suppressions, this cleans up over 100 warnings. ]
  469. * Win32DnD.cs: comment out some unused fields.
  470. * XplatUIWin32.cs: comment out some unused pinvokes, and remove
  471. some unused properties/methods.
  472. * XplatUIX11.cs: fix MousePosition so we override the base class's
  473. property instead of conflicting with it.
  474. * PictureBox.cs: comment out some unused fields
  475. * OSXStructs.cs: make some struct fields public.
  476. * XplatUIOSX.cs: comment out some unused pinvokes, and fix
  477. MousePosition so we override the base class's property instead of
  478. conflicting with it.
  479. * X11Dnd.cs: comment out some unused fields
  480. * X11DesktopColors.cs: fix some struct field visibility to quiet
  481. the compiler.
  482. * X11Dnd.cs: remove some debug code.
  483. * ThemeClearlooks.cs: comment out unused field.
  484. * ThemeNice.cs: mark some methods as overriding ThemeWin32Classic as needed.
  485. * ThemeGtk.cs: comment out some unused pinvokes.
  486. * Timer.cs: remove some unused fields.
  487. * ThemeClearlooks.cs: comment out unused field.
  488. * UpDownBase.cs: comment out unused field.
  489. * DataObject.cs: comment out unused field.
  490. * DataGridBoolColumn.cs: reomve unused field.
  491. * DataGrid.cs: remove unused field.
  492. * Cursor.cs: remove old ToBitmap code.
  493. * ControlPaint.cs: remove unused method.
  494. * ScrollBar.cs: remove unused fields.
  495. * ComboBox.cs: remove unused field, and chain up to
  496. AccessibleObject ctor.
  497. * ListBox.cs: remove unused field.
  498. * ButtonBase.cs: wrap a couple fields in NET_2_0.
  499. * GridEntry.cs: remove unused fields.
  500. * Binding.cs: remove unused fields.
  501. * AxHost.cs: remove unused method.
  502. * ContainerControl.cs: remove unused field.
  503. * ScrollableControl.cs: remove unused fields.
  504. 2006-12-01 Chris Toshok <[email protected]>
  505. * XplatUI.cs, XplatUIWin32.cs, XplatUIGTK.cs: nuke
  506. the Where/WhereString stuff. it's easy enough to CWL
  507. Environment.StackTrace.
  508. * XplatUIX11.cs: same, but also fix up a lot of mcs warnings about
  509. unused private fields.
  510. 2006-12-01 Jackson Harper <[email protected]>
  511. * TextControl.cs: Do not update the view while inserting multiline
  512. text. If we update the view we might wrap lines, before entering
  513. the new lines, which causes the new line insertion calculations to
  514. be totally fubared.
  515. - Remove an old TODO
  516. - Make debug output a little nicer
  517. 2006-12-01 Chris Toshok <[email protected]>
  518. * ToolBar.cs: revert the ImeMode fix here and add an XXX comment.
  519. 2006-12-01 Chris Toshok <[email protected]>
  520. [ fix the majority of the CS0108 warnings we've been suppressing ]
  521. * TreeView.cs: mark BackgroundImageChanged as 'new'.
  522. * ToolBar.cs: ImeMode just passes stuff to Control. Rename Layout
  523. to "LayoutToolBar" to quiet mcs.
  524. * TabControl.cs: mark our ControlCollection class as 'new'.
  525. * TextBoxBase.cs: mark some events as 'new'.
  526. * Splitter.cs: TabStop is 'new'.
  527. * ControlBindingsCollection.cs: mark a few methods as new since
  528. they change the visibility from protected to public.
  529. * RadioButton.cs: DoubleClick -> base class, and remove unused
  530. HaveDoubleClick.
  531. * MonthCalendar.cs: ImeMode property -> base class, and mark many
  532. events as new.
  533. * NumericUpDown.cs: TextChanged -> base class.
  534. * CheckedListBox.cs: mark our ObjectCollection class as new to
  535. quiet mcs.
  536. * FolderBrowserDialog.cs: make HelpRequest event new and have it
  537. muck with the base class.
  538. * StatusBar.cs: fix some mcs warnings about Update being the same
  539. name as a base class method.
  540. * RichTextBox.cs: mark some events as new, and make them do things
  541. to the base class impl.
  542. * UserControl.cs: mark TextChanged as new, and have it manipulate
  543. base.TextChanged.
  544. * UpDownBase.cs: mark some things new.
  545. * CheckBox.cs: mark DoubleClick "new", and add some text about
  546. what we need to look at.
  547. * Panel.cs: make the events "new", and manipulate the base
  548. version. these are just here for attributes.
  549. * AccessibleObject.cs: make owner private.
  550. * Control.cs: deal with AccessibleObject.owner being private.
  551. cache our own copy if we need it.
  552. * Button.cs: add "new" to the DoubleClickEvent.
  553. * ListBox.cs: no need to track our own has_focus here. let
  554. Control.has_focus do it for us. Also some other work to clear up
  555. warnings about not overriding base class methods of the same name.
  556. * ComboBox.cs: clear up some warnings about not override base
  557. class methods of the same name.
  558. 2006-12-01 Chris Toshok <[email protected]>
  559. * Form.cs: flag a few things as "new" to quiet some of the mcs
  560. warnings.
  561. * AxHost.cs: same.
  562. * PrintPreviewDialog.cs: same.
  563. * DataGridView.cs: fix a ton of corcompare warnings. not all, but
  564. now DGV isn't so horrible on the class status page. also, move
  565. all events to using System.ComponentModel.EventHandlerList. my
  566. wrists hurt.
  567. 2006-12-01 Rolf Bjarne Kvinge <[email protected]>
  568. * MdiWindowManager.cs:
  569. - Set form to active mdi child if shown,
  570. and update the active mdi child to the next
  571. remaining child in the z-order if the form is hidden.
  572. * Form.cs:
  573. - Track if the form has been visible and if its
  574. visibility is beeing changed, so that the MdiClient
  575. can properly decide the ActiveMdiChild. The MdiClient
  576. cannot track this since the form can change visibility
  577. before MdiClient is created.
  578. * MdiClient.cs:
  579. - Don't activate anything of the parent form is changing
  580. its visibility.
  581. - Rework ActiveMdiChild to only return visible mdi
  582. children and take into account several other corner
  583. cases.
  584. 2006-12-01 Chris Toshok <[email protected]>
  585. * IBindableComponent.cs: new 2.0 interface.
  586. 2006-12-01 Gert Driesen <[email protected]>
  587. * DataGrid.cs: Font for caption area is bold by default.
  588. 2006-12-01 Everaldo Canuto <[email protected]>
  589. * Menu.cs: Tag property for 2.0.
  590. 2006-11-01 Everaldo Canuto <[email protected]>
  591. * ThemeWin32Classic.cs: Adjust menu separator drawing.
  592. 2006-12-01 Chris Toshok <[email protected]>
  593. * TreeView.cs: doh, the Begin* events should be
  594. TreeViewCancelEventHandler.
  595. 2006-12-01 Chris Toshok <[email protected]>
  596. * Form.cs: Form.ControlCollection already stores off the
  597. form_owner field. don't access the base class's internal "owner"
  598. field.
  599. * Control.cs: make all the fields in Control.ControlCollection
  600. private. there's no need for any internal fields here.
  601. 2006-12-01 Chris Toshok <[email protected]>
  602. * DataGrid.cs: call SetDataSource instead of CalcGridAreas in
  603. OnHandleCreated. Fixes bug #80109.
  604. 2006-12-01 Chris Toshok <[email protected]>
  605. * Button.cs, PropertyGridTextBox.cs, ComboBox.cs,
  606. SplitContainer.cs, Control.cs, StatusStrip.cs,
  607. DataGridTableStyle.cs, MenuItem.cs, DomainUpDown.cs, ImageList.cs,
  608. NumericTextBox.cs, NumericUpDown.cs, Panel.cs, CommonDialog.cs,
  609. DataGrid.cs, ScrollBar.cs, TrackBar.cs, PictureBox.cs,
  610. DateTimePicker.cs, StatusBar.cs, Form.cs, PrintPreviewDialog.cs,
  611. Label.cs, UserControl.cs, CheckBox.cs, RadioButton.cs,
  612. LinkLabel.cs, ListControl.cs, PropertyGrid.cs, Splitter.cs,
  613. MenuStrip.cs, FolderBrowserDialog.cs, NotifyIcon.cs,
  614. TextBoxBase.cs, ListView.cs, DataGridBoolColumn.cs,
  615. PrintPreviewControl.cs, RichTextBox.cs, ListBox.cs, TabControl.cs,
  616. DataGridColumnStyle.cs, ContextMenu.cs, TreeView.cs:
  617. do most of the work to convert our code over to use
  618. System.ComponentModel.Component.Events for
  619. adding/removing/dispatching events.
  620. 2006-11-30 Jonathan Pobst <[email protected]>
  621. * DataGridView.cs: Fix an ArgumentNullException reported
  622. twice today in IRC.
  623. 2006-11-30 Mike Kestner <[email protected]>
  624. * ComboBox.cs: fix the scrollbar mouse event forwarding in the
  625. grabbed listbox. Fixes #80036 and #80101.
  626. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  627. * Message.cs: Changed ToString() to match MS.
  628. 2006-11-30 Jackson Harper <[email protected]>
  629. * TextBoxBase.cs: You can still change the selected text on a read
  630. only textbox.
  631. * TextControl.cs: Lower magic number for wrap calculations. This
  632. lets text get closer to the right (far) edge.
  633. 2006-11-30 Jonathan Pobst <[email protected]>
  634. * Control.cs: Tweak 2.0 layout properties.
  635. * Form.cs: Switch ToolStripMenuTracker hooks to ToolStripManager.
  636. * TextRenderer.cs: Add a new overload.
  637. * ToolStrip*: Huge amount of changes and new features.
  638. 2006-11-30 Mike Kestner <[email protected]>
  639. * ComboBox.cs: fixes for LargeChange and Maximum to get the
  640. scroll range correct. Fixes #79994.
  641. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  642. * MdiWindowManager.cs: Update main form's text when
  643. a form is closed. (fixes #80038)
  644. 2006-11-30 Everaldo Canuto <[email protected]>
  645. * ToolBar.cs:
  646. - Fix an regression in ButtonSize.
  647. - Get ImeMode default value change to "Disable".
  648. - Get ShowTooltips default value change to true, default value is
  649. "false" but after make a test in .NET we get "true" result as default.
  650. 2006-11-29 Jonathan Pobst <[email protected]>
  651. * ToolStripDropDown.cs: Fix for SupportsTransparency change.
  652. 2006-11-29 Chris Toshok <[email protected]>
  653. * XplatUIWin32.cs (GetWindowTransparency): check return value of
  654. GetLayeredWindowAttributes. if it's 0, return 1.0, as
  655. SetWindowTransparency hasn't been called.
  656. 2006-11-29 Chris Toshok <[email protected]>
  657. * Form.cs (set_TransparencyKey): only call SetWindowTransparency
  658. if it's supported.
  659. (set_AllowTransparency): reorder things a little so that the
  660. WS_EX_LAYERED style is removed properly.
  661. 2006-11-29 Chris Toshok <[email protected]>
  662. [ totally cosmetic eye-candy feature, fixes bug #80089 ]
  663. * Form.cs: only call the XplatUI transparency method (get/set) if
  664. SupportsTransparency says it's supported. Otherwise fallback to
  665. doing nothing (in the set case) or returning the instance field we
  666. cache (in the get case).
  667. * XplatUIStructs.cs: add TransparencySupport flag enum.
  668. * XplatUIDriver.cs: add abstract GetWindowTransparency, and track
  669. change to SupportsTransparency.
  670. * XplatUIOSX.cs: stub out GetWindowTransparency, and return
  671. TransparencySupport.None from SupportsTransparency.
  672. * XplatUIX11.cs: Stub out GetWindowTransparency, and return
  673. TransparencySupport.Set from SupportsTransparency.
  674. * XplatUIWin32.cs: implement GetWindowTransparency calling
  675. GetLayeredWindowAttributes, and implement SupportsTransparency by
  676. checking whether or not both
  677. GetWindowTransparency/SetWindowTransparency are available
  678. entrypoints. We need to do this since SetWindowTransparency is
  679. available as of win2k, but GetWindowTransparency requires winxp.
  680. yay win32 api.
  681. * XplatUI.cs: Add GetWindowTransparency, and change
  682. SupportsTransparency to allow for either/both Get/Set.
  683. 2006-11-29 Chris Toshok <[email protected]>
  684. * DataGrid.cs: keep from going into an infinite loop redrawing a
  685. datagrid that has no datasource. Fixes bug #80033.
  686. 2006-11-29 Chris Toshok <[email protected]>
  687. * MenuItem.cs: fix the NRE when we assign text (and therefore call
  688. Invalidate) before the mainmenu has been assigned to a control.
  689. 2006-11-29 Chris Toshok <[email protected]>
  690. * DataGrid.cs: detect when we should be double the double click
  691. row/column autosize stuff, although that codepath has yet to be
  692. written. part of the work for bug #79891.
  693. 2006-11-29 Chris Toshok <[email protected]>
  694. * Binding.cs (SetControl): fix unit test.
  695. 2006-11-29 Carlos Alberto Cortez <[email protected]>
  696. * PageSetupDialog.cs: Validate the margins and set them in
  697. PageSettings.
  698. * NumericTextBox.cs: New class to mimic the behavior of the
  699. textboxes used in the printing dialogs.
  700. 2006-11-29 Andreia Gaita <[email protected]>
  701. * Form.cs: Revert previous change (remove call UpdateBounds
  702. from form constructor), because it messes with the handle creation
  703. order, and that one needs lots and lots of love.
  704. * PrintPreviewDialog.cs: Revert change to CreateHandle (add check
  705. for valid printer and throw InvalidPrinterException if document
  706. is set but printer not valid), adding a MonoTODO. Once
  707. handle creation is done properly, we can put this back in.
  708. 2006-11-28 Everaldo Canuto <[email protected]>
  709. * MenuItem.cs: Create a invalidate method for menu item, to be
  710. calling from set text, it make text changes to imadiate update
  711. on screen. Fixes #80013.
  712. 2006-11-28 Everaldo Canuto <[email protected]>
  713. * ToolBar.cs: Fixes and simplify toolbar button layout, it
  714. fixes bug #80070 and some other problem on toolbar buttons
  715. layout.
  716. 2006-11-28 Everaldo Canuto <[email protected]>
  717. * ThemeWin32Classic.cs: Paint toolbar toggle button background
  718. with dotted brush. Fixes #79564
  719. 2006-11-28 Andreia Gaita <[email protected]>
  720. * Form.cs: Removed call to UpdateBounds on Form
  721. constructor, it was causing a call to CreateHandle
  722. before it was supposed to.
  723. * PrintControllerWithStatusDialog: Applied patch
  724. by Chris Toshok to hide controller when there are
  725. no printers available.
  726. PrintDialog.cs: initialize printer settings to
  727. null - correct DefaultValues test #5
  728. * PrintPreviewControl.cs: Move PrintController
  729. initialization to GeneratePreview
  730. * PrintPreviewDialog.cs:
  731. - Remove Preview generation from Document_set(). It is
  732. called on OnPaint
  733. - Throw InvalidPrinterException on CreateHandle if
  734. a Document is set but there are no printers or
  735. printer is not valid.
  736. * ThemeWin32Classic: don't paint PrintPreviewControl
  737. if there is nothing to paint
  738. 2006-11-28 Miguel de Icaza <[email protected]>
  739. * Form.cs: Add another popular method.
  740. * TabPage.cs: ditto.
  741. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  742. * MenuItem.cs: Fixed a warning.
  743. * InternalWindowManager: Fixed a warning.
  744. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  745. * MenuItem.cs:
  746. - When cloning a menu also clone MdiList and clone the
  747. window menu items properly (as the forms and menuitems
  748. are kept in an internal hashtable, these need updating
  749. as well)
  750. - Rewrote the window menu code, menu items are added in the
  751. order the forms were added to their parent, and they are
  752. updated every time the window menu is shown (before the
  753. list was only generated once, in the current order of the
  754. forms, and would never be updated). A checkmark is shown
  755. next to the item corresponding to the active mdi child.
  756. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  757. * XplatUIStructs.cs:
  758. - Added WM_NCMOUSEHOVER and WM_NCMOUSELEAVE.
  759. * XplatUIWin32.cs:
  760. - Added TME_NONCLIENT to TMEFlags.
  761. - Handles WM_NCMOUSEMOVE in GetMessage to
  762. generate WM_NCMOUSEHOVER and WM_NCMOUSELEAVE messages.
  763. * MdiWindowManager:
  764. - Now merges mdi child menu to parent menu when maximized.
  765. - Recalculate NC areas of both mdi child and mdi parent.
  766. Fixes #79757 (4).
  767. on window state and size changes.Fixes #79844 (3).
  768. - Handle WM_NCCALCSIZE to properly calculate borders.
  769. * Form.cs:
  770. - Add/remove to the mdi containers list of mdi children
  771. in the order they are added.
  772. - Pass on WM_NCLBUTTONUP, WM_NCMOUSEMOVE and WM_NCMOUSELEAVE
  773. to the maximized mdi child.
  774. * InternalWindowManager.cs:
  775. - Only execute a click on the control buttons on the mouse up,
  776. not on the mouse down. Show the state of the button
  777. (was only showing Normal state, never Pressed state). The
  778. pressed button now follows the mouse (if you click the Close
  779. button and move the mouse over the Maximize button, the
  780. Maximize button will be shown as pressed). Since Win32 does
  781. not generate WM_NCLBUTTONUP if you release the button outside
  782. of the nc area, we need to handle WM_NCMOUSELEAVE and treat
  783. it as a mouse up.
  784. * ThemeWin32Classic.cs:
  785. - Draw a missing border around mdi child forms. Fixes #79844 (2).
  786. * MdiClient.cs:
  787. - Added a list of forms which contains the order the forms are
  788. added to the mdi parent.
  789. - Handle WM_NCPAINT to properly draw a 3D border. Fixes #79844 (2).
  790. - Handle WM_NCCALCSIZE to properly calculate the 3D border.
  791. - If the active form changes set the scrollbars to the top
  792. of the Z order, otherwise the form could hide them.
  793. - Scrollbars are now sized according to ClientSize, not
  794. to Size, and they take into account the other scrollbar
  795. to determine maximum.
  796. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  797. * XplatUI.cs:
  798. * XplatUIDriver.cs:
  799. * XplatUIX11.cs:
  800. * XplatUIWin32.cs:
  801. * XplatUIOSX.cs:
  802. - Added RequestAdditionalWM_NCMessages for windows to
  803. opt in for WM_NCMOUSELEAVE and WM_NCMOUSEHOVER.
  804. Currently only implemented in XplatUIWin32.
  805. 2006-11-27 Chris Toshok <[email protected]>
  806. * Hwnd.cs: only add the hwnd to the windows hash in
  807. set_WholeWindow and set_ClientWindow if whole_window/client_window
  808. are not IntPtr.Zero. also, remove the unused SetObjectWindow.
  809. 2006-11-27 Mike Kestner <[email protected]>
  810. * ComboBox.cs: remove redundant OnDropDown call. It is called
  811. from the ComboListBox.ShowWindow code. Fixes #79969.
  812. 2006-11-27 Chris Toshok <[email protected]>
  813. * Hwnd.cs: remove the setters for ExposePending and
  814. NCExposePending - noone uses them.
  815. 2006-11-27 Jackson Harper <[email protected]>
  816. * TextControl.cs: new param for ReplaceSelection which determines
  817. whether we select the new selection, or set the cursor to the end
  818. of the new selection.
  819. * TextBoxBase.cs: Use new param for ReplaceSelection. When
  820. pasting, select the new text.
  821. * RichTextBox.cs: Use new param for ReplaceSelection.
  822. 2006-11-27 Jackson Harper <[email protected]>
  823. * TextBoxBase.cs: Set the selection to the caret after the caret
  824. is moved, otherwise they get out of sync.
  825. 2006-11-26 Everaldo Canuto <[email protected]>
  826. * ToolBar.cs: Fixe size of ToolBar when AutoSize is false,
  827. it fixes #80015
  828. 2006-11-26 Everaldo Canuto <[email protected]>
  829. * ThemeWin32Classic.cs:
  830. - Fix toolbar drop down arrow position.
  831. - Fix drop down appearance when ToolBar.Appearance is normal,
  832. it fixes #80018.
  833. 2006-11-26 Gert Driesen <[email protected]>
  834. * ProgressBar.cs: GetStyle fixes for 2.0 profile.
  835. * Control.cs: Same.
  836. * UpDownBase.cs: Same.
  837. * ButtonBase.cs: Same.
  838. * ScrollBar.cs: Same.
  839. * TrackBar.cs: Same.
  840. * PictureBox.cs: Same.
  841. * UserControl.cs: Same.
  842. * Label.cs: Same.
  843. * ListControl.cs: Same.
  844. * TextBoxBase.cs: Same.
  845. * ListView.cs: Same.
  846. * RichTextBox.cs: Same.
  847. * TreeView.cs: Same.
  848. 2006-11-25 Jordi Mas i Hernandez <[email protected]>
  849. * PrintDialog.cs:
  850. - Text label for where
  851. - Text label comment was not shown
  852. 2006-11-23 Everaldo Canuto <[email protected]>
  853. * ThemeWin32Classic.cs: Fix toolbar drop down arrow size.
  854. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  855. * InternalWindowManager.cs:
  856. - Handle WM_PARENTNOTIFY to activate the form
  857. if any child control is clicked.
  858. - The form is only sizable if not minimized.
  859. * MdiWindowManager.cs:
  860. - Save the IconicBounds if the form is moved.
  861. - Rework SetWindowState, now the window bounds
  862. are stored only if the old window state is Normal.
  863. * MdiClient.cs:
  864. - In SetWindowStates store the old window state if
  865. the window is maximized and restore window state if
  866. the window looses focus.
  867. - Don't handle any scrollbar value changes if
  868. initializing the scroll bars. Fixes #79771.
  869. - Reworked ArrangeIconicWindows. Current algorithm
  870. tests bounds agains all other minimized windows, if
  871. any intersections create new bounds (going left to
  872. right, bottom to top) and then test again. When
  873. successful the bounds are saved and never computed
  874. again. Fixes #79774.
  875. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  876. * InternalWindowManager.cs: Added HandleTitleBarUp.
  877. 2006-11-23 Gert Driesen <[email protected]>
  878. * NumericUpDown.cs: In .NET 1.1, user entered text is still
  879. hexadecimal in ParseUserEdit.
  880. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  881. * MdiWindowManager.cs:
  882. - Handle a click on the form's icon to show the
  883. system menu (when maximized). Fixes #79775.
  884. - Change the existing click handler for the form's
  885. icon when not maximized to show on MouseUp.
  886. Fixes #79776.
  887. * Form.cs: In OnResize only layout the mdi child's
  888. parent if it actually has a parent. Might not if
  889. the window is closing.
  890. 2006-11-23 Gert Driesen <[email protected]>
  891. * MdiClient.cs: Ignore active MDI client for text of parent, if
  892. child has no text set.
  893. 2006-11-23 Gert Driesen <[email protected]>
  894. * ToolBar.cs: Fixed ToString to match MS.
  895. 2006-11-22 Andreia Gaita <[email protected]>
  896. * NumericUpDown:
  897. - Fix DecimalPlaces, Hexadecimal and ThousandsSeparator to
  898. update inner values on set. Fixes #79966.
  899. - Override OnLostFocus to update value on NET 2. Fixes #79950.
  900. - Fix hexadecimal parsing.
  901. * UpDownBase: Override OnGotFocus and OnLostFocus to notify
  902. parent. Fixes #79957
  903. 2006-11-22 Rolf Bjarne Kvinge <[email protected]>
  904. * Control.cs: After calling SetWindowsPos in SetBoundsCore
  905. the actual size has to be queried, since if height /
  906. width is negative Win32 changes it to 0.
  907. Fixes #79999 on Windows.
  908. * XplatUIX11.cs: Set height / width to 0 if negative
  909. in SetWindowPos. Fixes #79999 on Linux.
  910. 2006-11-22 Everaldo Canuto <[email protected]>
  911. * ThemeWin32Classic.cs: Fix text redenring when button is
  912. pressed.
  913. 2006-11-22 Everaldo Canuto <[email protected]>
  914. * MenuAPI.cs: Fixes behavior when menu is opened by kerboard
  915. and later navigate by mouse. Fixes #79528.
  916. 2006-11-21 Everaldo Canuto <[email protected]>
  917. * ToolBar.cs: Set default value for TabStop to false in
  918. constructor, it fixes remaining behavior of bug #79863.
  919. 2006-11-21 Rolf Bjarne Kvinge <[email protected]>
  920. * MdiWindowManager.cs:
  921. * InternalWindowManager.cs:
  922. - Moved a few methods specific to Mdi from
  923. InternalWindowManager to MdiWindowManager.
  924. Fixes #79996.
  925. 2006-11-21 Chris Toshok <[email protected]>
  926. * XplatUIOSX.cs: stub out InvalidateNC.
  927. * XplatUIWin32.cs: implement InvalidateNC using the call I found
  928. at http://www.dotnet247.com/247reference/msgs/58/292037.aspx.
  929. * XplatUIX11.cs: rename InvalidateWholeWindow to InvalidateNC.
  930. * XplatUIDriver.cs: add InvalidateNC abstract method.
  931. * XplatUI.cs: add InvalidateNC.
  932. 2006-11-21 Everaldo Canuto <[email protected]>
  933. * ToolBar.cs: Invalidate complete button area when pressed status
  934. was changed.
  935. * ToolButton.cs: Fix InvalidateBorder for DropDown buttons.
  936. * ThemeWin32Classic.cs: Increase vertical and horizontal position
  937. by 1 when button is pressed.
  938. 2006-11-20 Everaldo Canuto <[email protected]>
  939. * ToolButton.cs: Invalidate middle of DropDown button when
  940. ToolBar theres DropDownArrows.
  941. * ThemeWin32Classic.cs: Change position of DropDown arrow and
  942. fix DropDown drawing operations.
  943. 2006-11-20 Chris Toshok <[email protected]>
  944. * NativeWindow.cs: fix the formatting of functions ('{' on the
  945. following line), and enable the thread exception dialog.
  946. * Application.cs: remove the duplicate exception catching from
  947. here.
  948. 2006-11-20 Everaldo Canuto <[email protected]>
  949. * Toolbar.cs: Triggers button click event when click on icon
  950. of dropdown ToolBarButton. Fixes #79912.
  951. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  952. * Theme.cs:
  953. * ThemeWin32Classic.cs:
  954. - Added a property WindowBorderFont to enable themeing
  955. of mdi child windows' Text.
  956. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  957. * InternalWindowManager.cs:
  958. * Form.cs:
  959. * MdiClient.cs:
  960. * MdiWindowManager.cs:
  961. - If mdi child is maximized, set mdi parent's
  962. text to "Parent - [Child]". Fixes #79770.
  963. - If there is any maximized mdi child windows, only the active
  964. window (and any new windows) is maximized, the rest are normal.
  965. - On a WindowState change only save mdi child's window bounds
  966. if the old window state was normal. Fixes #79774.
  967. - The scroll bars are now calculated on hopefully all
  968. necessary events. Fixed #79771 / #79844->6 / #79906.
  969. - MdiClient.SizeScrollBars() now takes into account docked
  970. controls in the parent when calculating available space.
  971. - InternalWindowManager now always repaints the entire title
  972. area. Fixes #79844->1/4/5.
  973. - Added RequestNCRecalc on mdi child windowstate changes.
  974. Fixes #79772.
  975. 2006-11-20 Mike Kestner <[email protected]>
  976. * ComboBox.cs: setup LargeChange on the scrollbar. Invoke FireMouseUp
  977. in the MouseUp handler of the listbox and move the return handling
  978. code to FireMouseUp to avoid scrolling on ups. Fixes #79952.
  979. 2006-11-20 Everaldo Canuto <[email protected]>
  980. * Toolbar.cs: Ignore right mouse clicks in toolbar. Fixes #79855.
  981. 2006-11-17 Alexander Olk <[email protected]>
  982. * MimeIcon.cs: Seems that DllImports that were fine in 1.2 are not
  983. working in 1.2.x anymore. So, updated.
  984. 2006-11-19 Gert Driesen <[email protected]>
  985. * NumericUpDown.cs: Use NegativeSign, NumberDecimalSeparator and
  986. NumberGroupSeparator of current culture instead of assuming en-US.
  987. Fixed bug #79967.
  988. 2006-11-17 Mike Kestner <[email protected]>
  989. * Control.cs: Add the concept of implicit bounds setting so that
  990. dock/undock round trips preserve explicitly set size/locations.
  991. Fixes #79313.
  992. 2006-11-17 Alexander Olk <[email protected]>
  993. * FileDialog.cs: Trim all filters, otherwise DirInfo.GetFiles
  994. can't handle those filters. (Fixes bug #79961)
  995. 2006-11-17 Chris Toshok <[email protected]>
  996. [ fixes the exit/crashes associated with #79835. it's clearly
  997. suboptimal though, we need to figure out a better way to solve
  998. this. ]
  999. * PrintPreviewControl.cs: deal with the new invalid printer
  1000. exceptions.
  1001. * PageSetupDialog.cs: if the printer is invalid, pop up a dialog
  1002. and return false (so CommonDialog.ShowDialog doesn't actually show
  1003. the form.)
  1004. * PrintDialog.cs: enable/disable the Ok button depending on
  1005. whether or not the printer is valid.
  1006. * CommonDialog.cs (ShowDialog): only actually show the form if
  1007. RunDialog returns true.
  1008. 2006-11-17 Jackson Harper <[email protected]>
  1009. * TextControl.cs: When soft splitting a line, mark it as a soft
  1010. split line. Also carry over the current line break to the next
  1011. line.
  1012. 2006-11-17 Chris Toshok <[email protected]>
  1013. * XplatUIX11.cs: when scrolling a window with an invalid area, we
  1014. only want to shift the part of the invalid area that overlaps the
  1015. area we're scrolling. we also don't want to clear the invalid
  1016. area unless the invalid area was entirely contained within the
  1017. scrolling area.
  1018. 2006-11-16 Chris Toshok <[email protected]>
  1019. * XplatUIX11.cs: remove the handling of the TimerEvent stuff, and
  1020. also make sure to free the memory returned by XGetWindowProperty
  1021. in GetText().
  1022. * X11Structs.cs: remove the TimerEvent stuff, it's unused.
  1023. 2006-11-16 Chris Toshok <[email protected]>
  1024. * XplatUI.cs: add a new super secret way to get at the totally
  1025. unsupported X11 backend.
  1026. 2006-11-16 Gert Driesen <[email protected]>
  1027. * NumericUpDown.cs: Allow lowercase letters when in hex-mode.
  1028. 2006-11-16 Jackson Harper <[email protected]>
  1029. * TreeView.cs: Allow more explicit setting of top node position
  1030. for scrollbars. Slower algo, but more accurate.
  1031. - CollapseAll should maintain the current top node.
  1032. * TextBoxBase.cs: When positioning the caret, use the line, pos
  1033. method, since the x, y method does not grab the correct tag, and
  1034. the caret height never gets set correctly. (Maybe I should just do
  1035. away with the caret having its own height, and always use the
  1036. carets current tag for height).
  1037. 2006-11-16 Jonathan Pobst <[email protected]
  1038. [Fixes 79778, 79923]
  1039. * XplatUIWin32.cs: Don't allow a parent to be set to IntPtr.Zero.
  1040. Parent to the FosterParent instead.
  1041. 2006-11-16 Jackson Harper <[email protected]>
  1042. * TreeView.cs: Need to recalc the topnode when we expand or
  1043. collapse. The scrolling methods can't handle this on their own,
  1044. since they use differences between the last scroll position, and
  1045. those difference get completely messed up since we are expanding
  1046. nodes. This problem should probably be fixed in the scrolling
  1047. methods, so they can figure out exactly where they are, but this
  1048. will slow things down a little.
  1049. * ThemeWin32Classic.cs: Special case for groupboxes with empty
  1050. strings, makes nunit-gui look a lot nicer.
  1051. 2006-11-16 Chris Toshok <[email protected]>
  1052. * XplatUIX11.cs: nasty, nasty, nasty changes required because of
  1053. the broken multithreaded event handling we have in here. File
  1054. this entry under "Why we should move to the new X11 backend".
  1055. Any thread can make it into UpdateMessageQueue, which gets events
  1056. from the X socket - some of which could belong to hwnds being
  1057. managed by a different thread. We can also have multiple threads
  1058. in UpdateMessageQueue at the same time, with each one reading from
  1059. the X socket. This leads to many problems, with the following
  1060. solutions:
  1061. We can't use hwnd.Queue.Enqueue anywhere in here and must use
  1062. EnqueueLocked.
  1063. The MotionNotify compression we do can't work across threads
  1064. (without locking the entire queue, perhaps) since we call
  1065. hwnd.Queue.Peek, so we just punt and don't compress motion events
  1066. unless the owning thread is the one which got the X event.
  1067. ConfigureNotify is another fun one, since it modifies the hwnd's
  1068. bounds and then enqueues the event. We add a lock to Hwnd which
  1069. is held when setting configure_pending to true (and enqueuing the
  1070. event).
  1071. There is a race wrt the wake socket. we need to make sure that
  1072. only 1 thread is waiting on that socket, or else a thread could
  1073. sleep waiting for data that never comes. It's difficult (but not
  1074. impossible) to make happen, because it seems to require something
  1075. like the following:
  1076. 1. Thread 1 polls on wake_receive
  1077. 2. poll returns saying there's data to be read on
  1078. wake_receive.
  1079. 3. Thread 2 polls on wake_receive and immediately returns
  1080. saying there's data to be read.
  1081. 4. Thread 2 reads the wakeup byte from wake_receive
  1082. 5. Thread 1 attempts to read the wakeup byte from
  1083. wake_receive.
  1084. 6. Thread 2 exits (due to a form closing, perhaps).
  1085. 7. Thread 1 blocks forever.
  1086. Fun, eh?
  1087. Fixing the Expose handling isn't done yet, and the races inherent
  1088. in that piece of code are responsible for the drawing mistakes you
  1089. see when generating expose events in a MT app (like NPlot). This
  1090. one is the likely to be the hardest to bandaid, and it doesn't
  1091. appear to cause anything but drawing problems. The other issues
  1092. caused apps to exit or hang.
  1093. * XEventQueue.cs: output some spew when Dequeue/Enqueue/Peek are
  1094. called from a different thread than the one that should be calling
  1095. these functions.
  1096. * Hwnd.cs: add some locks to be used by the XplatUIX11 code.
  1097. 2006-11-15 Chris Toshok <[email protected]>
  1098. * Application.cs: null out the context's MainForm when we exit
  1099. RunLoop. Fixes a newly checked in unit test as well as the last
  1100. ODE from bug #79933.
  1101. 2006-11-15 Chris Toshok <[email protected]>
  1102. * Form.cs (set_Owner): allow a null value so we can clear the
  1103. form's owner.
  1104. (Dispose): set all our owned_form's Owner properties to null, and
  1105. clear the owned_forms collection.
  1106. (WM_CLOSE): clean up this a little bit.. still not right though.
  1107. * ApplicationContext.cs: OnMainFormClosed should only call
  1108. ExitThreadCore if the main form isn't recreating. Fixes unit
  1109. test.
  1110. 2006-11-15 Jonathan Pobst <[email protected]>
  1111. [Fixes 78346]
  1112. * ComboBox.cs: Set the Hwnd.no_activate flag for the ComboListBox.
  1113. 2006-11-15 Jonathan Pobst <[email protected]>
  1114. [Fixes 79433]
  1115. * Hwnd.cs: Add a flag to show a window, but not activate it, to
  1116. keep popup window types from stealing focus from the main form
  1117. on Windows.
  1118. * XPlatUIWin32.cs: Use SW_SHOWNOACTIVATE if above field is true.
  1119. * MenuAPI.cs: Set above flag to true.
  1120. 2006-11-15 Chris Toshok <[email protected]>
  1121. * XplatUIX11.cs: mimic win32 behavior on BUTTONUP events, where
  1122. the button being released is not in wParam.
  1123. 2006-11-15 Jonathan Pobst <[email protected]>
  1124. * Form.cs: Add the released button to MouseEventArgs.Button
  1125. for the OnMouseUp call to the MenuTracker. Fixes menu clicking
  1126. on Win32.
  1127. 2006-11-15 Chris Toshok <[email protected]>
  1128. * XplatUIX11.cs: add (untested) a _NET_WM_NAME implementation of
  1129. GetText(). untested because it's unused in our implementation.
  1130. Control.Text always caches the text, even if
  1131. ControlStyles.CacheText is not set.
  1132. fixes bug #79939.
  1133. 2006-11-15 Chris Toshok <[email protected]>
  1134. [ fixes #79933 ]
  1135. * Form.cs: in Close() don't do anything after we send the WM_CLOSE
  1136. message. no hiding, no disposing.
  1137. in the WM_CLOSE handler, hide the form if it's modal.
  1138. 2006-11-15 Chris Toshok <[email protected]>
  1139. * XplatUIX11.cs: use AddExpose instead of sending a message.
  1140. fixes textbox border drawing.
  1141. 2006-11-15 Chris Toshok <[email protected]>
  1142. * PropertyGridView.cs: keep from crashing on mouse move/down when
  1143. the property grid is empty.
  1144. 2006-11-14 Jackson Harper <[email protected]>
  1145. * TextControl.cs: Make PageUp and PageDown more like the MS
  1146. versions.
  1147. * TextBoxBase.cs: When we set the text property position the
  1148. cursor at the beginning of the document.
  1149. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  1150. * Form.cs: if a mdi child's WindowState has changed
  1151. before it's creation, it would display wrong control
  1152. buttons.
  1153. 2006-11-14 Alexander Olk <[email protected]>
  1154. * TreeView.cs: De-uglify TreeView checkbox checkmarks.
  1155. (Fixes bug #79927)
  1156. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  1157. * XplatUIX11.cs: send a WM_NCPAINT on WM_NCCALCSIZE so that
  1158. the window gets to paint its borders even if the window is
  1159. getting smaller.
  1160. * Form.cs: on a WM_NCPAINT invalidate the entire menu,
  1161. otherwise the old control buttons would still be painted
  1162. if the window gets bigger.
  1163. * PaintEventArgs.cs: add an internal method so that the clip
  1164. rectangle can be changed.
  1165. 2006-11-13 Chris Toshok <[email protected]>
  1166. [ fixes bug #79745 ]
  1167. * NotifyIcon.cs: lots of cleanup.
  1168. * X11Structs.cs: add an enum for XEMBED messages.
  1169. * XplatUIX11.cs: reindent one of the giant switch statements, it
  1170. was taking up an additional tab stop, and this file is already way
  1171. too wide for my laptop's screen.
  1172. Also, add handling for the XEmbed EMBEDDED_NOTIFY message. When
  1173. we get it, resize the hwnd to the WMNormalHints max_width/height.
  1174. 2006-11-13 Jackson Harper <[email protected]>
  1175. * TextBoxBase.cs: Compute the value changes for the mouse wheel
  1176. teh simple way.
  1177. 2006-11-13 Chris Toshok <[email protected]>
  1178. * XplatUIX11.cs, XplatUIStructs.cs: kind of a gross fix for
  1179. #79898. force a reference to the Region to stick around so the
  1180. unmanaged object isn't collected (rendering our handle in the MSG
  1181. stale).
  1182. 2006-11-13 Chris Toshok <[email protected]>
  1183. * XplatUIX11.cs: fix #79917 for window managers which support
  1184. using XStoreName on the raw utf8, and we need to convert to
  1185. COMPOUND_TEXT if it's non-latin1.
  1186. 2006-11-13 Chris Toshok <[email protected]>
  1187. * Form.cs (set_DialogResult): we need to set closing to false if
  1188. we're setting our result to None. fixes bug #79908.
  1189. 2006-11-13 Jackson Harper <[email protected]>
  1190. * TextControl.cs: When formatting text, compute the adjusted tag
  1191. lengths correctly, using FindTag for the end tag instead of trying
  1192. to figure it out outselves.
  1193. * TreeNode.cs: Use ActualItemHeight, which is the actual height of
  1194. the item, ItemHeight doesn't work, because trees with large
  1195. imagelists use those for their height
  1196. * TreeView.cs: ActualItemHeight factors in the image height
  1197. - compute left edge of checkboxes correctly
  1198. - when expanding/collapsing move the bottom down one pixel, so we
  1199. aren't moving part of the node
  1200. 2006-11-13 Rolf Bjarne Kvinge <[email protected]>
  1201. * XplatUIX11.cs: The PaintEventArgs is also added to the drawing
  1202. stack in PaintEventStart so that it won't get disposed by the gc
  1203. before reaching PaintEventEnd.
  1204. 2006-11-13 Jackson Harper <[email protected]>
  1205. * TextBoxBase.cs: Don't select the word if we are on a line with
  1206. no text.
  1207. - We don't need to position the caret on mouse up, since the mouse
  1208. move handler should be doing this
  1209. - When double clicking a blank line, the caret is advanced to the
  1210. next line.
  1211. 2006-11-13 Gert Driesen <[email protected]>
  1212. * TreeNodeCollection.cs: Avoid duplicating indexer code.
  1213. 2006-11-12 Gert Driesen <[email protected]>
  1214. * ColorDialog.cs: Reset size of dialog between calls to ShowDialog.
  1215. Fixes part of bug #79910.
  1216. 2006-11-11 Alexander Olk <[email protected]>
  1217. * ColorDialog.cs: Fix a NRE when adding a color to custom colors
  1218. (bug #79903). Some minor string updates to match ms.
  1219. 2006-11-10 Alexander Olk <[email protected]>
  1220. * FileDialog.cs: Don't add an extension if the filename
  1221. already ends with that extension.
  1222. 2006-11-10 Jackson Harper <[email protected]>
  1223. * TreeView.cs: Use the currently highlighted node for the
  1224. BeforeSelect event.
  1225. * TextBoxBase.cs: There is no need to expand selection on
  1226. MouseMove.
  1227. - CanUndo means 'is there any undo operations', not 'is undo
  1228. allowed on this textcontrol. Fixed ClearUndo unit test.
  1229. 2006-11-10 Andreia Gaita <[email protected]>
  1230. * Button.cs: only perform click when button is Selectable (so as
  1231. not to activate default buttons when they're disabled)
  1232. * Control.cs: Rewrite of the SelectNextControl and related
  1233. methods. HandleClick now selects next control if the current one
  1234. is being disabled.
  1235. * Form.cs: OnActivated selects next active control only if Load
  1236. has already occurred. If Load hasn't run, there's no point in
  1237. selecting here, Load might change the state of controls.
  1238. * FocusTest.cs: Tests marked as working again for these fixes
  1239. 2006-11-10 Chris Toshok <[email protected]>
  1240. * XplatUIX11.cs: a couple of fixes.
  1241. - use XInternAtoms with almost all the atoms we need to register,
  1242. instead of many, many calls to XInternAtom. should help a bit on
  1243. startup time, at the expense of making the code look a little
  1244. worse.
  1245. - fall back to setting TransientFor on TOOLWINDOW's if their hwnd
  1246. isn't reparented (which seems to be a clue that we're running fon
  1247. compiz) and they have an Owner form. This fixes the tool windows
  1248. in paint.net when running under compiz.
  1249. - when setting the opacity of a window, support both the case
  1250. where the window has been reparented and also when it hasn't been.
  1251. Since compiz/beryl doesn't seem to reparent windows, and these are
  1252. the only window managers which support translucency, I'm not sure
  1253. why we need the hwnd.reparented case at all.. but leave it in.
  1254. now we get translucent windows in paint.net under compiz/beryl.
  1255. 2006-11-10 Alexander Olk <[email protected]>
  1256. * FileDialog.cs: Always return the value for FilterIndex that
  1257. was set. Internally convert it to values that make sense.
  1258. 2006-11-10 Everaldo Canuto <[email protected]>
  1259. * ThemeWin32Classic.cs: Fix drowp down arrow borders.
  1260. 2006-11-10 Everaldo Canuto <[email protected]>
  1261. * Toolbar.cs: Change default value of DropDownArrows to true, the
  1262. signature still using false to make it compatible with MS but the
  1263. initial value is true. Fixes #79855.
  1264. 2006-11-10 Alexander Olk <[email protected]>
  1265. * MimeIcon.cs: Don't throw an exception on windows. Mime stuff is
  1266. only available on Linux.
  1267. 2006-11-09 Everaldo Canuto <[email protected]>
  1268. * Toolbar.cs, ToolBarButton.cs: Fix wrong separator size and
  1269. reduce number of calls to redraw method during toolbar creation.
  1270. 2006-11-09 Mike Kestner <[email protected]>
  1271. * ListView.cs : raise SelectedIndexChanged when an item is selected
  1272. programmatically via the Item.Selected property. Gert's nice
  1273. ListViewSelectedIndexChanged test fixture now runs clean.
  1274. 2006-11-09 Mike Kestner <[email protected]>
  1275. * ListView.cs : raise SelectedIndexChanged when a selected item is
  1276. removed from the item collection using Remove or RemoveAt.
  1277. 2006-11-09 Mike Kestner <[email protected]>
  1278. * ListView.cs : raise SelectedIndexChanged once per selected item
  1279. for compat with MS. Fixes #79849+.
  1280. 2006-11-09 Chris Toshok <[email protected]>
  1281. * TabControl.cs: initialize row_count to 0, and set it to 1 when
  1282. we need to (if we have any tab pages). Fixes unit test.
  1283. 2006-11-09 Chris Toshok <[email protected]>
  1284. * Label.cs (CalcPreferredWidth): if Text == "", our preferred
  1285. width is 0, not 3. Fixes a unit test.
  1286. 2006-11-09 Mike Kestner <[email protected]>
  1287. * ListView.cs : use Implicit scrollbars so that focus isn't
  1288. stolen from the listview when they are clicked. Fixes #79850.
  1289. 2006-11-09 Chris Toshok <[email protected]>
  1290. * PropertyGridView.cs (OnPaint): only call DrawGridItems if we
  1291. have a root item. Fixes #79879.
  1292. 2006-11-09 Alexander Olk <[email protected]>
  1293. * FileDialog.cs:
  1294. - Fix ToString ()
  1295. - An ArgumentException is now thrown if a wrong filter
  1296. is applied (matches ms). The previous filter doesn't change
  1297. anymore if an exception is thrown.
  1298. - Changing the FileName property also affects FileNames
  1299. * ColorDialog.cs: The length of the CustomColors array is always
  1300. 16. It doesn't matter if we use a smaller array or null to update
  1301. or change the custom colors property.
  1302. * FolderBrowserDialog.cs: Throw an InvalidEnumArgumentException if
  1303. for RootFolder if we get a undefined value.
  1304. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  1305. * StatusBarPanel.cs:
  1306. - Width is set to MinWidth if Width is smaller than
  1307. MinWidth. Fixes #79842.
  1308. - MinWidth now always overrides Width (MSDN says MinWidth
  1309. is set to Width when AutoSize = None, but they do not
  1310. behave like that).
  1311. - Style has now the the correct default value.
  1312. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  1313. * TrackBar.cs:
  1314. - The control is completely invalidated on
  1315. Got/LostFocus to draw the focus rectangle correctly.
  1316. - When AutoSize then height is always 45 (width for
  1317. vertical controls).
  1318. * ThemeWin32Classic.cs: The TrackBar thumb is now centered
  1319. on the mouse when moved and it doesn't move when grabbed
  1320. until the mouse moves as well. Also fixed some wrong
  1321. calculations when clicking on the thumb (control thought
  1322. click was outside of thumb and didn't grab it).
  1323. Fixes some of the issues in #79718.
  1324. 2006-11-08 Everaldo Canuto <[email protected]>
  1325. * Toolbar.cs: Prevent disabled button to highlight. Fixes #79868.
  1326. 2006-11-08 Chris Toshok <[email protected]>
  1327. * PropertyGridView.cs: only call ToggleValue if the item is not
  1328. readonly.
  1329. 2006-11-08 Jackson Harper <[email protected]>
  1330. * TextBoxBase.cs: The RichTextBox and textbox have very different
  1331. word selection methods. Implement the textbox's simple word
  1332. selection here, and let the RichTextBox override and provide it's
  1333. own.
  1334. - Don't do extra selection on mouseup
  1335. * RichTextBox.cs: Use the documents word selection algorithm, I
  1336. think ideally, this function will be pulled into the
  1337. RichTextBox.cs code someday.
  1338. 2006-11-08 Chris Toshok <[email protected]>
  1339. * RootGridEntry.cs: new class to represent GridItemType.Root.
  1340. * CategoryGridEntry.cs: reformat, and add boilerplate.
  1341. * GridEntry.cs: remove the UIParent stuff - turns out .Parent
  1342. returns the UI parent anyway, and we need special handling to
  1343. implement the GetTarget method in the face of it. Also, implement
  1344. Select().
  1345. * PropertyGrid.cs, PropertyGridView.cs: a number of fixes. create
  1346. a root grid item, and use that instead of PropertyGrid.grid_items.
  1347. Also, make use of TypeConverters (and add limitted support for
  1348. ICustomTypeDescriptors) when initially populating the grid.
  1349. Arrays now show up more or less properly.
  1350. 2006-11-08 Chris Toshok <[email protected]>
  1351. * Application.cs: set the modal dialog to non modal after we close
  1352. it. Fixes bug #79866.
  1353. 2006-11-08 Jackson Harper <[email protected]>
  1354. * TextControl.cs: When combining lines carry over the line end
  1355. style from the end line.
  1356. - Invalidate the selected area when setting it, if it is visible.
  1357. * TextBoxBase.cs: Only rich text box can do full line selects.
  1358. - Make sure to set the cursor position when there is a click,
  1359. otherwise two clicks in separate areas could cause a large chunk
  1360. to be selected.
  1361. 2006-11-07 Everaldo Canuto <[email protected]>
  1362. * Toolbar.cs: Release flat button borders when Toolbar lost focus.
  1363. Fixes #79863.
  1364. 2006-11-07 Everaldo Canuto <[email protected]>
  1365. * Toolbar.cs: Prevent toolbar to open more than one tooltip at same
  1366. time. Remove tooltips when ToolButton click events. Fixes #79856.
  1367. 2006-11-07 Everaldo Canuto <[email protected]>
  1368. * MenuAPI.cs: Ignore right click for menu actions and fixes
  1369. menu border when clicked. Fixes #79846.
  1370. 2006-11-07 Everaldo Canuto <[email protected]>
  1371. * XplatUIX11.cs, XplatUIX11.cs: Fix MouseRelease to only release
  1372. MouseState after create wParam for message, this fixes mouse button
  1373. equal none in mouse up events.
  1374. 2006-11-07 Andreia Gaita <[email protected]>
  1375. * Control.cs : Focus() now calls Select to set the Container's
  1376. Active Control and to give it focus. To avoid infinite recursion
  1377. (because ActiveControl also calls Focus at one point), a check
  1378. is made in Focus with the help of a new internal variable
  1379. is_focusing.
  1380. 2006-11-07 Mike Kestner <[email protected]>
  1381. * ListView.cs : raise OnSelectedIndexChanged in CreateHandle
  1382. if there's a selection. Fixes #79849.
  1383. 2006-11-07 Gert Driesen <[email protected]>
  1384. * PropertyGrid.cs: Avoid fixed height of help description label.
  1385. Fixes part of bug #79829.
  1386. 2006-11-07 Chris Toshok <[email protected]>
  1387. * XplatUIX11.cs: fix #79790 again, by using the
  1388. _NET_WM_STATE_SKIP_TASKBAR atom to implement Form.ShowInTaskbar.
  1389. 2006-11-07 Everaldo Canuto <[email protected]>
  1390. * ToolBar.cs: Fix left click checking.
  1391. 2006-11-07 Chris Toshok <[email protected]>
  1392. * ProgressBar.cs: fix a typo in ToString(). fixes a unit test.
  1393. 2006-11-07 Chris Toshok <[email protected]>
  1394. * RelatedPropertyManager.cs: set property_name in our ctor. fixes
  1395. PropertyManager unit tests.
  1396. * PropertyManager.cs: make property_name internal.
  1397. 2006-11-07 Chris Toshok <[email protected]>
  1398. * ButtonBase.cs: initialize base.ime_mode to ImeMode.Disable to
  1399. pass a unit test. Also, don't set image_index to anything in
  1400. response to setting the ImageList property.
  1401. 2006-11-07 Everaldo Canuto <[email protected]>
  1402. * ToolBar.cs: Ignore click events when mouse button is not a
  1403. left button, only accepts other button for dropdown menus.
  1404. Fixes #79854.
  1405. 2006-11-07 Chris Toshok <[email protected]>
  1406. * DataGrid.cs: make the back and parent row buttons a little less
  1407. ugly.
  1408. 2006-11-07 Jackson Harper <[email protected]>
  1409. * TextBoxBase.cs: When converting to Text don't put line breaks in
  1410. for soft line breaks.
  1411. * TextControl.cs: There is an initial "fake" line in the document,
  1412. this is now a soft break line, so that an extra line feed doesn't
  1413. get added to the end of documents.
  1414. 2006-11-07 Chris Toshok <[email protected]>
  1415. [ fix bug #79778 ]
  1416. * CurrencyManager.cs: if the list is readonly, don't bother
  1417. checking if IBindingList.AllowNew is true.
  1418. * ThemeWin32Classic.cs (DataGridPaintParentRow): make this work
  1419. for non-DataRowView datasources.. or rather, make it not crash.
  1420. (DataGridPaintRelationRow): make sure we limit the row painting to
  1421. the area not covered by the row header, and make our cell width at
  1422. least large enough to cover the relation area. This allows grids
  1423. that have relations but no rows to render correctly.
  1424. (DataGridPaintRowContents): same type of changes here.
  1425. (SetDataSource): move back to always calling
  1426. CalcAreasAndInvalidate. this fixes a crash/drawing problem when
  1427. navigating back through relations.
  1428. (HitTest): handle the case where we have no cells but have
  1429. relations. Right now we generate a hit in cell 0 of whatever the
  1430. row is, not sure if this is strictly correct, but it works for our
  1431. purposes.
  1432. * DataGrid.cs (EndEdit, CancelEdit): if we have no columns, don't
  1433. bother doing anything.
  1434. 2006-11-07 Jonathan Pobst <[email protected]>
  1435. * StatusStrip.cs, ToolStripStatusLabel.cs: By request, an
  1436. early version of StatusStrip. Not responsible for eaten
  1437. application or firstborn children.
  1438. 2006-11-06 Chris Toshok <[email protected]>
  1439. * TabControl.cs: in OnGotFocusInternal/OnLostFocusInternal don't
  1440. call GetTabRect with a -1 index. Fixes #79847.
  1441. 2006-11-06 Jackson Harper <[email protected]>
  1442. * TreeNodeCollection.cs: Update scrollbars after clearing.
  1443. 2006-11-06 Chris Toshok <[email protected]>
  1444. * NumericUpDown.cs: fix the ToString method for some unit test
  1445. love.
  1446. 2006-11-06 Chris Toshok <[email protected]>
  1447. * PropertyGrid.cs:
  1448. - set the initial SelectedGridItem if we can.
  1449. - Exclude non-mergable properties only if we're merging > 1
  1450. object. Merging 1 object isn't really merging, obviously.
  1451. - Handle PropertySort.NoSort just like Alphabetical, which is
  1452. wrong of course, but at least gets things on the screen.
  1453. * PropertyGridView.cs:
  1454. - Add method "FindFirstItem" which finds the first property grid
  1455. item, so we can select it by default.
  1456. - make use of GridEntry.CanResetValue.
  1457. - Don't call RedrawBelowItemOnExpansion here anymore, the
  1458. individual GridEntry's will do that.
  1459. - Remove the ITypeDescriptorContextImpl internal class.
  1460. * GridEntry.cs:
  1461. - this class needs to implement ITypeDescriptorContext, as it's
  1462. what MS's PropertyDescriptorGridEntry does, which means we can
  1463. remove the ITypeDescriptorContextImpl internal class from
  1464. PropertyGrid.cs. This fixes the crashing portion of bug #79829.
  1465. - keep a reference to our PropertyGridView, and move the call to
  1466. RedrawBelowItemOnExpansion here from PGV. This means
  1467. programmaticly setting Expanded actually does something visible.
  1468. - add a CanResetValue() function which takes into account our
  1469. possibly multiple "selected_objects" in the merged case. Shifting
  1470. PropertyGridView to use this method fixes another unreported
  1471. crasher found running the test for #79829.
  1472. - when Top or Bounds is updated, make sure the PropertyGridTextBox
  1473. is updated to reflect this.
  1474. * CategoryGridEntry.cs: the ctor takes the PGV now.
  1475. 2006-11-06 Jackson Harper <[email protected]>
  1476. * TextControl.cs: These are 1 based.
  1477. * TextBoxBase.cs: When setting the selected text, don't change the
  1478. selected text tags, this is done by ReplaceText, just position the
  1479. cursor at the end of the new text.
  1480. 2006-11-06 Alexander Olk <[email protected]>
  1481. * ListView.cs: Allow label edit only when, when LabelEdit is
  1482. set to true.
  1483. 2006-11-06 Jackson Harper <[email protected]>
  1484. * TextControl.cs: If a suitable wrapping position isn't found,
  1485. just wrap right in the middle of a word.
  1486. 2006-11-06 Alexander Olk <[email protected]>
  1487. * ListView.cs, ListViewItem.cs: Implement LabelEdit. Fixes
  1488. bug #79820.
  1489. 2006-11-06 Jackson Harper <[email protected]>
  1490. * TreeView.cs: Can't use the VisibleCount property when setting
  1491. scrollbar heights, because this doesn't take into account whether
  1492. or not the horz scrollbar just came visible.
  1493. 2006-11-05 Everaldo Canuto <[email protected]>
  1494. * MenuAPI.cs: Deactivate menu on mouse up when menus it is already
  1495. activated. Fixes #79369, #79832.
  1496. 2006-11-05 Alexander Olk <[email protected]>
  1497. * FileDialog.cs: *sigh* Because of recent runtime changes (r67043) I
  1498. had to remove support for links that point to a directory. FileInfo
  1499. returns no usefull information (means, the directory they point to)
  1500. for such links. Replaced some empty string ("") with String.Empty.
  1501. 2006-11-04 Gert Driesen <[email protected]>
  1502. * TreeNodeCollection.cs: To match MS, in 1.0 profile throw
  1503. NullReferenceException when attempting to remove node that is not in
  1504. collection. Throw NullReferenceException when null is passed to
  1505. Remove. Allow first element of the collection to be removed. Fixes
  1506. bug #79831. In GetEnumerator ().Current return null if positioned
  1507. before the first element of the collection. In GetEnumerator ().Reset,
  1508. position before first element of the collection.
  1509. 2006-11-04 Gert Driesen <[email protected]>
  1510. * PropertyGrid.cs: To match MS, remove default title and description
  1511. for panel. Fixed tooltips for Categorized and Alphabetic toolbar
  1512. buttons.
  1513. 2006-11-04 Chris Toshok <[email protected]>
  1514. * Theme.cs: add a Clamp method, just for kicks.
  1515. * ThemeWin32Classic.cs: clamp all color components to [0..255].
  1516. 2006-11-04 Chris Toshok <[email protected]>
  1517. * Form.cs: if the form isn't visible, Close() does nothing.
  1518. 2006-11-03 Chris Toshok <[email protected]>
  1519. * Form.cs (Close): if the form is modal, don't Dispose of it, only
  1520. Hide it.
  1521. (WndProc): don't Dispose after handling the WM_CLOSE message.
  1522. * Application.cs (RunLoop): toplevels is a list of Forms, so treat
  1523. them as such, instead of using casts from Control to Form. Also,
  1524. don't Dispose of the modal dialog when we fall out of the loop -
  1525. Close() it instead.
  1526. fixes bug #79813.
  1527. 2006-11-03 Chris Toshok <[email protected]>
  1528. * Control.cs (Dispose): only go through the dispose thing if we're
  1529. @disposing, and we haven't already been disposed. Fixes bug
  1530. #79814.
  1531. * Form.cs: no reason to call "base.Dispose()" here instead of
  1532. "Dispose()".
  1533. 2006-11-03 Mike Kestner <[email protected]>
  1534. * ComboBox.cs : use ToString instead of casts in AddItem for
  1535. sorting functionality. Fixes #79812.
  1536. 2006-11-03 Chris Toshok <[email protected]>
  1537. * Application.cs: pave the way for actually using the thread
  1538. exception dialog. it's ifdefed out at the moment.
  1539. 2006-11-03 Chris Toshok <[email protected]>
  1540. * ThreadExceptionDialog.cs: until we get a better layout, actually
  1541. hide the details textbox and label when we shouldn't see them.
  1542. 2006-11-03 Jackson Harper <[email protected]>
  1543. * TextBoxBase.cs: Don't bail from the scrollbar calcs for non
  1544. multiline textboxes anymore. This method also determines the
  1545. width/height of a textboxes canvas area.
  1546. - Sorta a revert of the last patch. For multiline just position
  1547. the controls, then bail. This way the scrollbar width won't be
  1548. altered.
  1549. 2006-11-03 Everaldo Canuto <[email protected]>
  1550. * ThemeWin32Classic.cs: Dont paint inner lines of 3D border when
  1551. it dont need. Fixes #79537.
  1552. 2006-11-02 Jackson Harper <[email protected]>
  1553. * X11Dnd.cs: We always allow copy, since XDND implies Copy. Also
  1554. send the status after firing the DndOver event.
  1555. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  1556. * TrackBar.cs: Now orientation only switches height / width if
  1557. the control's handle is created (Win32 does it like this). Also
  1558. fixed a typo in ToString() for a test to pass, changed the
  1559. exception thrown in set_LargeChange and set_SmallChange to
  1560. match Win32 behaviour, and added TrackBar tests to the unit
  1561. tests.
  1562. 2006-11-02 Chris Toshok <[email protected]>
  1563. * XplatUIX11.cs: the atom we want is _NET_WM_STATE_SKIP_TASKBAR,
  1564. not _NET_WM_STATE_NO_TASKBAR.
  1565. 2006-11-02 Jackson Harper <[email protected]>
  1566. * TextControl.cs: Increment count by one, since in the update view
  1567. count - 1 is used.
  1568. 2006-11-02 Jackson Harper <[email protected]>
  1569. * TextBoxBase.cs: Use client rectangle not bounds for checking if
  1570. the mouse is in the client rectangle (duh).
  1571. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  1572. * TrackBar.cs: Fixed trackbar jumping around when clicking
  1573. on it - the trackbar was not detecting correctly at which
  1574. side of the thumb the click was done. (fixes #79718)
  1575. 2006-11-02 Everaldo Canuto <[email protected]>
  1576. * ListBox.cs: scroll visible area when change SelectedIndex to
  1577. a non visible area. Fixes #79481.
  1578. 2006-11-01 Jackson Harper <[email protected]>
  1579. * TextControl.cs: When replacing the selection move the selection
  1580. start/end/anchor to the end of the new text.
  1581. 2006-11-01 Jackson Harper <[email protected]>
  1582. * XplatUIWin32.cs: When setting the parent change the controls
  1583. visibility to it's visibility flag, not to it's old parents
  1584. visibility (.Visible walks the parent chain).
  1585. 2006-11-01 Chris Toshok <[email protected]>
  1586. * XplatUIX11.cs: revert the #79790 fix, as the simple.
  1587. XSetTransientForHint fix breaks paint .net's tool windows. more
  1588. work needed for that one.
  1589. 2006-11-01 Chris Toshok <[email protected]>
  1590. * ScrollBar.cs: throw ArgumentException instead of Exception in
  1591. LargeChange/SmallChange setters. fixes unit tests.
  1592. 2006-10-31 Andreia Gaita <[email protected]>
  1593. * ContainerControl.cs: reverted rev.67183 (which was itself
  1594. a reversion of rev.66853... eh).
  1595. * Control.cs: Fixes Reflector hang by changing Focus() call
  1596. to what it was before rev.66643 (calling Select() here sets
  1597. ActiveControl, which in some situations calls back Focus and
  1598. eventually does a stack overflow). Temp fix.
  1599. Changes to GetNextControl() to not look for children to select when
  1600. parent cannot be selectable (so it looks for siblings instead)
  1601. 2006-10-31 Mike Kestner <[email protected]>
  1602. * CheckedListBox.cs : off by one error in returned index from
  1603. ObjectCollection.Add. Fixes #79758.
  1604. 2006-10-31 Chris Toshok <[email protected]>
  1605. * UpDownBase.cs: remove the OnGotFocusInternal/OnLostFocusInternal
  1606. calls for the textbox/spinner, to keep from recursing to the point
  1607. where we crash. Fixes #79760.
  1608. 2006-10-31 Chris Toshok <[email protected]>
  1609. * ListControl.cs (set_SelectedValue): don't throw exceptions on
  1610. null/"" value, just return. matches ms's behavior and fixes some
  1611. failing tests.
  1612. 2006-10-31 Chris Toshok <[email protected]>
  1613. * Control.cs (set_Capture): make a logic a little easier to
  1614. follow.
  1615. * XplatUIX11.cs (CleanupCachedWindows): zero out the Grab window
  1616. if it's being destroyed. A necessary fix surely, but a bandaid
  1617. also, to fix the stuck capture problem in bug #78413.
  1618. 2006-10-31 Chris Toshok <[email protected]>
  1619. * XplatUIX11.cs: fix a couple of compiler warnings, and follow the
  1620. convention of clearing hwnd.ClientRect when we set the
  1621. width/height (so it'll be recalculated by Hwnd).
  1622. 2006-10-31 Andreia Gaita <[email protected]>
  1623. * ContainerControl.cs: reversed Contains check from
  1624. ActiveControl due to hanging problems. This fix
  1625. partly regresses #79667 (button does not have
  1626. initial focus), so this might be a symptom for
  1627. a larger parenting problem (set_ActiveControl
  1628. is being called but the child control does
  1629. not have the parent set yet?)
  1630. 2006-10-31 Mike Kestner <[email protected]>
  1631. * MenuAPI.cs : fix keynav when menu is click activated.
  1632. 2006-10-31 Jonathan Pobst <[email protected]>
  1633. * ToolStrip*: Version 0.2.
  1634. * MenuStrip.cs: Version 0.1.
  1635. * Form.cs: Add a 2.0 MenuStrip tracker like the 1.1 Menu one.
  1636. 2006-10-30 Chris Toshok <[email protected]>
  1637. [ fixes the oversized notify icon issue in bug #79745 ]
  1638. * NotifyIcon.cs: scale the icon down to the size we're given by
  1639. the XplatUI layer (this would be faster if we did it once instead
  1640. of whenever we paint..) Also, remove the WM_NCPAINT handling,
  1641. since it's never invoked.
  1642. * XplatUIX11.cs: the gnome and kde systrays use icons that are 24
  1643. pixels high by default, so let's hardcode our systray icon to that
  1644. size. The SYSTEM_TRAY protocol should really have a way for
  1645. client apps to query for the correct icon size.. but oh well. A
  1646. couple of patches to deal with the screwy client_window ==
  1647. whole_window notifyicon stuff (we don't want to PerformNCCalc, for
  1648. instance, and also make sure we don't XSelectInput twice).
  1649. 2006-10-30 Chris Toshok <[email protected]>
  1650. * Control.cs: ugh, the unit test fix (CH11, yesterday) breaks when
  1651. recreating forms. Control recreation is the bane of my existence.
  1652. Fix it in a way that keeps everyone happy.
  1653. 2006-10-30 Chris Toshok <[email protected]>
  1654. * XplatUIX11.cs: use StructureNotifyMask on all whole_windows, not
  1655. just non-CHILD ones. otherwise sometimes scrollbars end up with
  1656. client_windows not being resized to the proper size (ReportBuilder
  1657. shows this extremely well).
  1658. 2006-10-30 Chris Toshok <[email protected]>
  1659. * XplatUIX11.cs (SetWMStyles): reinstate the XSetTransientForHint
  1660. for non-WS_EX_APPWINDOW windows. This is what keeps them from
  1661. showing up in the gnome taskbar. Fixes bug #79790.
  1662. 2006-10-30 Chris Toshok <[email protected]>
  1663. * ApplicationContext.cs: guard against a NRE.
  1664. * Application.cs: null out the old MainForm for the context, so we
  1665. don't try to use it again once it's disposed. Fixes bug #79783.
  1666. 2006-10-30 Chris Toshok <[email protected]>
  1667. * DataGrid.cs (set_DataSource, set_DataMember): if we have a
  1668. BindingContext, set the data source directly, otherwise do the
  1669. lazy approach - the actual ListManager will be created when we get
  1670. a BindingContext. Fixes bug #79700.
  1671. 2006-10-30 Jonathan Pobst <[email protected]>
  1672. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  1673. XplatUIX11.cs: Remove old 2 parameter SetVisible.
  1674. * Control.cs: Use the new 3 parameter SetVisible with activate = true.
  1675. 2006-10-30 Jonathan Pobst <[email protected]>
  1676. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Add an overload
  1677. of SetVisible that allows a window to be shown, but not activated.
  1678. This is needed on Windows for MenuStrip, and can probably be used
  1679. with MainMenu and ComboBox to fix the focus stealing issues on
  1680. Windows.
  1681. * XplatUIOSX.cs, XplatUIX11.cs: Not needed, call existing SetVisible.
  1682. 2006-10-30 Alexander Olk <[email protected]>
  1683. * PictureBox.cs: Fix the output of the ToString method.
  1684. 2006-10-29 Chris Toshok <[email protected]>
  1685. * Control.cs (get_TopLevelControl): fix bug #79781.
  1686. 2006-10-29 Chris Toshok <[email protected]>
  1687. * ListControl.cs (set_DataSource): throw Exception here, not
  1688. ArgumentException, to match MS behavior.
  1689. 2006-10-29 Chris Toshok <[email protected]>
  1690. * Form.cs: remove the try-catch's around calls to GetWindowState.
  1691. We can just check the return value.
  1692. * XplatUIX11.cs: don't throw exceptions from GetWindowState.
  1693. Instead return -1.
  1694. * XplatUI.cs: Add note about additional return value for
  1695. GetWindowState.
  1696. 2006-10-29 Chris Toshok <[email protected]>
  1697. * Control.cs (CreateHandle): when we create our handle, we also
  1698. create the handles of our child controls. Fixes one of the
  1699. Control unit tests (CH11).
  1700. 2006-10-28 Alexander Olk <[email protected]>
  1701. * MimeIcon.cs: If a gnome icon doesn't exist add a default icon.
  1702. 2006-10-28 Alexander Olk <[email protected]>
  1703. * ThemeClearlooks.cs: A little speedup.
  1704. 2006-10-27 Chris Toshok <[email protected]>
  1705. * Control.cs: implement Control.FromChildHandle in a way that
  1706. matches the docs (and fixes the failed test.)
  1707. 2006-10-27 Chris Toshok <[email protected]>
  1708. * DataGridTableStyle.cs: reproduce buggy MS behavior (with
  1709. comments).
  1710. * DataGrid.cs: implement ResetForeColor such that the tests
  1711. succeed.
  1712. 2006-10-27 Chris Toshok <[email protected]>
  1713. * ToolBarButton.cs: setting text/tooltiptext to null results in it
  1714. being set to "". Fixes bug #79759.
  1715. 2006-10-27 Jackson Harper <[email protected]>
  1716. * TextControl.cs: We need to clear the entire selection area when
  1717. setting the start, otherwise multiline selections are still
  1718. visible.
  1719. 2006-10-26 Chris Toshok <[email protected]>
  1720. * PropertyGridView.cs:
  1721. - ifdef all the code specific to the double
  1722. buffer case, and provide some alternatives in the non-doublebuffer
  1723. code, which makes heavy use of XplatUI.ScrollWindow to move things
  1724. around without having to invalidate (and cause flicker). There
  1725. are still some drawing problems in the non-doublebuffered case, so
  1726. DOUBLEBUFFER is defined by default.
  1727. - Fix the way dropdowns are handled. now we explicitly watch for
  1728. the events which might cause the dropdown to close, and break out
  1729. of the nested event loop there. This gets rid of all Capture
  1730. code, at the expense of the Msg special casing. Seems to work,
  1731. though, and fixes bug #79743.
  1732. 2006-10-27 Rolf Bjarne Kvinge <[email protected]>
  1733. * Control.cs: SetIsRecreating now recreates implicitly added
  1734. child controls as well. Finally fixes #79629. The flag passed to
  1735. SetIsRecreating has also been removed since it wasn't used.
  1736. 2006-10-26 Carlos Alberto Cortez <[email protected]>
  1737. * PageSetupDialog.cs: Clean some code, fix some bits,
  1738. add some checks, and add a printer sub-dialog.
  1739. 2006-10-26 Chris Toshok <[email protected]>
  1740. * PropertyGrid.cs: make set_SelectedObject call
  1741. set_SelectedObjects, and move the duplicate logic to the
  1742. SelectedObjects setter. Also, raise SelectedObjectsChanged.
  1743. * PropertyGridView.cs: hide the textbox when we get a
  1744. SelectedObjectsChanged event.
  1745. Fixes bug #79748.
  1746. 2006-10-26 Chris Toshok <[email protected]>
  1747. * PropertyGridView.cs: deal with the type converter not supporting
  1748. GetStandardValues() or GetStandardValues() returning null, which
  1749. is does in the default case. Fixes #79742.
  1750. 2006-10-25 Andreia Gaita <[email protected]>
  1751. * CheckedListBox.cs: nunit no longer crashes when selecting
  1752. Project/Edit menu option
  1753. 2006-10-25 Andreia Gaita <[email protected]>
  1754. * MenuAPI.cs: prevent ExecFocusedItem from blowing up if there
  1755. is no menu selected. fixes #79739
  1756. 2006-10-25 Chris Toshok <[email protected]>
  1757. * PropertyGridView.cs: factor out the splitter invalidation code
  1758. into the SplitterPercent setter, and for kicks implement the
  1759. Ctrl-Left/Ctrl-Right handling that moves the splitter by a small
  1760. amount in either direction.
  1761. 2006-10-25 Chris Toshok <[email protected]>
  1762. * PropertyGridView.cs: do some cleanup of the brush used to draw
  1763. text - read only fields should be grayed out. not sure how to do
  1764. this with the textbox, though. but the textbox's should also be
  1765. readonly now at least. Also, hide/show the textbox when resizing
  1766. the control.
  1767. * CursorConverter.cs: use System.Reflection when getting the
  1768. properties of Cursors, as TypeDescriptor.GetProperties isn't
  1769. returning static properties.
  1770. 2006-10-25 Chris Toshok <[email protected]>
  1771. * PropertyGridView.cs: factor out the up/down handling, and reuse
  1772. it for page up/down. also add End/Home support.
  1773. 2006-10-25 Chris Toshok <[email protected]>
  1774. * PropertyGridView.cs:
  1775. - ensure the selected grid item is visible in the scrolled area,
  1776. fixes bug #79572.
  1777. - fix Keys.Down handling when you're on the last item in the
  1778. propertygrid.
  1779. 2006-10-25 Mike Kestner <[email protected]>
  1780. * MenuAPI.cs : set the ActiveTracker for MainMenu non-popup
  1781. clicks too. Fixes #79725.
  1782. 2006-10-24 Chris Toshok <[email protected]>
  1783. * PropertyGrid.cs: use property.Converter instead of
  1784. TypeDescriptor.GetConverter(property.PropertyType), so we catch
  1785. TypeConverters declared on the property as well as on the
  1786. PropertyType. Fixes bug #79678.
  1787. 2006-10-24 Alexander Olk <[email protected]>
  1788. * MimeIcon.cs, Mime.cs:
  1789. Fallback to the default platform handler if no shared mime info
  1790. stuff exists (fixes #79693).
  1791. 2006-10-20 Andreia Gaita <[email protected]>
  1792. * ContainerControl.cs: Incorrect contains check in ActiveControl
  1793. from previous fix (duh).
  1794. 2006-10-20 Chris Toshok <[email protected]>
  1795. * PropertyGridView.cs: the dropdown should be MIN(number of items
  1796. in list, 15). Fixes #79551.
  1797. 2006-10-20 Andreia Gaita <[email protected]>
  1798. Fixes #79384, #79394, #79652, #79667
  1799. * Application.cs:
  1800. - Modal windows are now destroyed in the proper order for windows
  1801. * ContainerControl.cs:
  1802. - ActiveControl setter has more conditions on when to return:
  1803. - if we're reselecting the active control, but it actually
  1804. didn't have focus (window hidden or some such), it runs
  1805. - if the active control being selected doesn't actually
  1806. exist in the container, it returns
  1807. * Form.cs
  1808. - The ShowDialog now gets the current form as the owner when
  1809. invoking without parameters, and correctly activates the owner
  1810. when returning
  1811. * MessageBox.cs
  1812. - MessageBox now catches the Escape key to exit
  1813. 2006-10-20 Chris Toshok <[email protected]>
  1814. * PropertyGridView.cs: fix a number of issues (bug #78565, and
  1815. most of bug #79676):
  1816. - you can navigate around the property grid with the arrow keys.
  1817. - the dropdown is sized properly when the pg has a vertical
  1818. scrollbar.
  1819. - fix the indentation for subentries, and properly select the
  1820. entire label rect.
  1821. - fix the gray bar's drawing (only draw it to the last element,
  1822. not for the height of the control. Also make sure we draw that
  1823. last horizontal grid line.
  1824. - use the same mechanism the datagrid uses wrt the editing textbox
  1825. when scrolling/resizing/etc. Namely, we hide it first, do the
  1826. operation, then show it again (if it's still visible).
  1827. - aggressively remove a lot of unnecessary refreshes (and also
  1828. calls to Invalidate(). call more limited variants, and only redraw
  1829. what we need.)
  1830. * PropertyGrid.cs:
  1831. - when we're populating the merged collection, fill in the UI
  1832. parent with either the passed in item, or the category item we
  1833. create.
  1834. - remove the Refresh call from the BorderHelpControl.OnSizeChanged.
  1835. * GridItem.cs: drop some fully qualified names.
  1836. * GridEntry.cs: add a "UIParent", which is basically the parent
  1837. treenode.
  1838. * GridItemCollection.cs: add an IndexOf method.
  1839. 2006-10-20 Mike Kestner <[email protected]>
  1840. * MainMenu.cs : go back to Draw in OnMenuChanged. Until we get
  1841. a working win32 NC invalidation mechanism, we can't invalidate
  1842. menus. [Fixes #79705]
  1843. 2006-10-20 Mike Kestner <[email protected]>
  1844. * ListBox.cs : don't update the VScrollbar if the list is empty,
  1845. just hide it. [Fixes #79692]
  1846. 2006-10-20 Jackson Harper <[email protected]>
  1847. * RichTextBox.cs: Handle some special chars better, and don't skip
  1848. the entire group when we encounter a special char that we don't
  1849. handle correctly.
  1850. 2006-10-18 Chris Toshok <[email protected]>
  1851. * PropertyGridView.cs: address a number of issues from bug #79676,
  1852. mostly of the cosmetic variety.
  1853. - The highlight rectangle for indented items not extends all the
  1854. way to the left.
  1855. - Indented items aren't indented so much.
  1856. - the dropdown is properly sized width-wise if the pg has a
  1857. vertical scrollbar.
  1858. 2006-10-18 Chris Toshok <[email protected]>
  1859. * XplatUIX11.cs (SystrayAdd): a rather convoluted change, but the
  1860. systray stuff is rather convoluted to begin with.
  1861. systray icons are a single window for some reason (that I haven't
  1862. figured out yet), and for them, client_window == whole_window.
  1863. Given the way the tests are structured elsewhere to determine
  1864. which paints are pending (client vs. nc), that situation will
  1865. always yield PAINT, not NCPAINT. So, if we have a pending
  1866. nc_expose and no pending expose, remove the hwnd from the paint
  1867. queue, and also set nc_expose_pending to false, to keep us from
  1868. blocking further expose's adding the hwnd to the paint queue.
  1869. phew. like i said, a rather convoluted change. Fixes the
  1870. notifyicon repaint issues in bug #79645.
  1871. 2006-10-18 Chris Toshok <[email protected]>
  1872. * Form.cs: when getting the backcolor of the form, don't get
  1873. base.BackColor, as this allows parents to influence the background
  1874. color. This breaks mdi forms. Instead, if the background_color
  1875. is empty, return the default.
  1876. 2006-10-18 Chris Toshok <[email protected]>
  1877. * XplatUIX11.cs: change some debug ifdefs, and return XGetParent
  1878. to being private instead of internal static.
  1879. * Control.cs: remove all the stupid ParentWaitingOnRecreation
  1880. crap, it wasn't working for more deeply nested controls anyway,
  1881. and we already have the is_recreating flag - use that instead.
  1882. Before calling DestroyHandle in RecreateHandle, recurse through
  1883. the control tree setting it to true. this returns the recreate
  1884. code to much of its original simplicity, while now guaranteeing we
  1885. actually recreate everything we're supposed to. This change gets
  1886. fyireporting actually showing mdi children.
  1887. 2006-10-17 Chris Toshok <[email protected]>
  1888. * Form.cs: remove some debug spew, and collapse some duplicate
  1889. code at the end of SetClientSizeCore.
  1890. * XplatUIX11.cs:
  1891. - add some more debug spew here too wrt Destroy handling.
  1892. - don't call hwnd.Dispose in DestroyWindow, it's effectively done
  1893. in Control's handling of WM_DESTROY.
  1894. - Remove the handling of zombie window DestroyNotifies from the
  1895. event loop - we don't need it. Now the only DestroyNotifies we
  1896. actually handle are ones generated by X.
  1897. - When sending _NET_ACTIVE_WINDOW, the first param should be 1, to
  1898. match gtk's (functioning) handling of this. This keep metacity
  1899. from leaving droppings in the form of wm borders with no window
  1900. contents all over the place.
  1901. * Control.cs:
  1902. - add a bunch of debug spew wrt control recreation.
  1903. - fix a bug where we weren't tracking Visible properly on
  1904. recreated hwnds.
  1905. - fixed the WM_PAINT double buffer handling to support re-entrant
  1906. calls (yes, i know it's gross, but it's happening to us).
  1907. 2006-10-17 Rolf Bjarne Kvinge <[email protected]>
  1908. * ThemeWin32Classic.cs: changed drawing of selected days
  1909. to make them look better.
  1910. 2006-10-16 Chris Toshok <[email protected]>
  1911. * Hwnd.cs: replace the user_data/client_dc/non_client_dc with
  1912. drawing_stack. Nuke the ClientDC/NonClientDC properties.
  1913. * XplatUIX11.cs: move away from using hwnd.client_dc and
  1914. hwnd.non_client_dc and on to a stack of dc's (and in window's
  1915. case, PAINTSTRUCT's), so we can deal with nested Paint calls
  1916. without puking or not disposing of Graphics objects.
  1917. * XplatUIOSX.cs: same.
  1918. * XplatUIWin32.cs: same.
  1919. 2006-10-03 Alexander Olk <[email protected]>
  1920. * FileDialog.cs: Don't call on_directory_changed inside
  1921. OnSelectedIndexChanged (it changes the SelectedIndex too).
  1922. Instead move it to OnSelectionChangeCommitted.
  1923. 2006-10-13 Chris Toshok <[email protected]>
  1924. * XplatUIX11.cs: more Destroy work. the current code does the
  1925. following things, in order:
  1926. 1. Enumerates all handles of all controls at or below the one
  1927. being destroyed, in pre-order. As it is doing this, it marks the
  1928. handles as zombie and clears all references to them.
  1929. 2. calls XDestroyWindow on the window passed in.
  1930. 3. SendMessage's WM_DESTROY to all he handles in the accumulated
  1931. list.
  1932. 2006-10-13 Chris Toshok <[email protected]>
  1933. * XplatUIX11.cs: set hwnd.zombie to true before calling
  1934. SendMessage (WM_DESTROY). this keeps us from marking the new
  1935. window a zombie, and also keeps us from calling sendmessage at
  1936. all.
  1937. 2006-10-13 Jackson Harper <[email protected]>
  1938. * TextControl.cs: Do not show the caret and selection at the same
  1939. time. Reduces ugliness by 35%.
  1940. 2006-10-13 Chris Toshok <[email protected]>
  1941. * XplatUIX11.cs (SendWMDestroyMessages): set the hwnd to be a
  1942. zombie after we do the recursive call, so we actually do call
  1943. SendMessage on the children controls.
  1944. (GetMessage): if we find a pending paint event for a zombie hwnd,
  1945. remove the hwnd from the paint queue, or else it will always be
  1946. there (and we'll effectively loop infinitely)
  1947. 2006-10-13 Mike Kestner <[email protected]>
  1948. * MenuItem.cs : add Selected format under keynav too.
  1949. Fixes #79528.
  1950. 2006-10-13 Gert Driesen <[email protected]>
  1951. * PropertyGrid.cs: Fixed some NRE's and small difference between our
  1952. implementation and that of MS.
  1953. 2006-10-13 Chris Toshok <[email protected]>
  1954. * Control.cs (OnInvalidated) only futz with the invalid_region if
  1955. the control is double buffered. this fixes the apparent hang in
  1956. the ListView unit tests. Someone needs to make the
  1957. BeginEndUpdateTest not call OnInvalidated 15004 times, though..
  1958. 2006-10-13 Chris Toshok <[email protected]>
  1959. * PropertyGridView.cs:
  1960. - do a little refactoring so that only one place calls
  1961. dropdown_form.Hide, and that is CloseDropDown. make everywhere
  1962. else call that. Also make it Refresh, since there are redraw bugs
  1963. otherwise (we should take a look at that...)
  1964. - do a little more refactoring work to share the body of code
  1965. involved with the drop down. it was duplicated in the code
  1966. dealing with the listbox handling and in the code dealing with the
  1967. UITypeEditors.
  1968. - add a Capture to the dropdown form's control once it's
  1969. displayed, and add a MouseDown handler that checks to make sure
  1970. the position is inside the control. If it's not, close the
  1971. dropdown. This fixes #78190.
  1972. - in SetPropertyValueFromUITypeEditor, only call SetPropertyValue
  1973. if the value is different than the initial value.
  1974. 2006-10-13 Andreia Gaita <[email protected]>
  1975. * Control.cs: see #78650
  1976. - Fixed GetNextControl for several cases:
  1977. - Changed FindFlatForward to return
  1978. correct sibling control when more than one
  1979. control has same TabIndex as the currently
  1980. focused one.
  1981. - Changed FindFlatBackward to loop children
  1982. from last to first and apply same logic as in
  1983. FindFlatForward
  1984. - Changed FindControlForward to search for
  1985. children when control is not a container
  1986. but has children, or search for siblings if
  1987. control is a container...
  1988. - Changed FindControlBackward to continue
  1989. searching for child controls when hitting
  1990. Panel-like parents
  1991. - Fixed Focus method to update ActiveControl
  1992. (FocusTest.FocusSetsActive failure)
  1993. * TabControl.cs:
  1994. - Focus rectangle now refreshes when gaining
  1995. or losing focus
  1996. - Removed grab for Tab key on IsInputKey that
  1997. was keeping tab navigation from working (#78650)
  1998. 2006-10-13 Chris Toshok <[email protected]>
  1999. * PropertyGridView.cs:
  2000. - Rewrite SetPropertyValue to loop over SelectedGridItem's
  2001. SelectedObjects.
  2002. - Deal with GridItem.Value == null a few places.
  2003. * PropertyGrid.cs:
  2004. - replace the PopulateGridItemCollection with a pair of methods
  2005. which compute the intersection of all the properties in the
  2006. SelectedObjects array. Fixes #79615.
  2007. - Throw ArgumentException from set_SelectedObjects if there's a
  2008. null in the array.
  2009. - Add GetTarget method which can be used to traverse up the
  2010. GridItem.Parent chain. It depends on the assumption that
  2011. selected_objects for different GridEntries are always in the same
  2012. order (a safe assumption). Use this method and loop over all the
  2013. selected objects in the entry when calling RemoveValueChanged and
  2014. AddValueChanged.
  2015. * GridEntry.cs: Make this handle multiple selected objects.
  2016. .Value returns null if not all the selected objects share the same
  2017. value.
  2018. 2006-10-12 Jonathan Pobst <[email protected]>
  2019. * ToolStrip.cs, ToolStripButton.cs, ToolStripComboBox.cs,
  2020. ToolStripControlHost.cs, ToolStripItem.cs, ToolStripLabel.cs,
  2021. ToolStripProfessionalRenderer.cs, ToolStripProgressBar.cs,
  2022. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs,
  2023. ToolStripTextBox.cs: Add accessibility, fix attributes/API and
  2024. add additional functionality.
  2025. 2006-10-12 Mike Kestner <[email protected]>
  2026. * ErrorProvider.cs : new ToolTipWindow ctor sig.
  2027. * HelpProvider.cs : new ToolTipWindow ctor sig.
  2028. * ToolTip.cs : remove ToolTip param from Window sig since it is
  2029. not used.
  2030. * ToolBar.cs : add tooltip support. Fixes #79565.
  2031. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  2032. * ComboBox.cs: move the events in set_SelectedIndex to
  2033. after the call to HighlightIndex in order to avoid
  2034. possible recursion and subsequent problems with the call
  2035. to HighlightIndex and include a range check in
  2036. set_HighlightIndex. Fixes #79588
  2037. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  2038. * MonthCalendar.cs: When FirstDayOfWeek is default set firstday
  2039. to ui thread's settings instead of sunday.
  2040. * ThemeWin32Classic.cs: Localize the day string. Fixes #79563
  2041. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  2042. * DateTimePicker.cs
  2043. * MonthCalendar.cs
  2044. * ThemeWin32Classic.cs: rewrote DateTimePicker to fix bug #78364
  2045. and implement missing functionality (selecting different parts
  2046. of the date and edit them individually with the keyboard).
  2047. 2006-10-11 Chris Toshok <[email protected]>
  2048. * Control.cs (OnInvalidated): fix NRE relating to last change.
  2049. 2006-10-11 Chris Toshok <[email protected]>
  2050. * XplatUIX11.cs (SetWMStyles): make sure we include the MAXIMIZED
  2051. atoms in _NET_WM_STATE here if the window is maximized. We need
  2052. to do this because we're *replacing* the existing _NET_WM_STATE
  2053. property, so those atoms will be lost otherwise, and any further
  2054. call to GetWindowState will return Normal for a window which is
  2055. actually maximized. Fixes #79338.
  2056. 2006-10-11 Jackson Harper <[email protected]>
  2057. * TextControl.cs: Special case for setting selection end to
  2058. selection start, we basically kill the anchor.
  2059. - some todo comments.
  2060. 2006-10-11 Chris Toshok <[email protected]>
  2061. * Control.cs: switch to using an "invalid_region" to track which
  2062. parts of the image buffer need updating. This is more code than
  2063. the simple fix from r66532. That version just attempted to always
  2064. fill the entire buffer on redraw, which turns out to be
  2065. inefficient when invalidating small rectangles. This version
  2066. simply adds the invalid rectangle to the invalid region. When we
  2067. get any WM_PAINT message we see if it can be filled using the
  2068. image buffer, and if it can't (if the paint event's clip rectangle
  2069. is visible in the invalid region) we first fill the image buffer.
  2070. So, the image buffer is still a cache, we just fill it lazily.
  2071. * PaintEventArgs.cs: remove the SetClipRectangle method, we don't
  2072. need it any longer.
  2073. 2006-10-11 Chris Toshok <[email protected]>
  2074. * XplatUIX11.cs (SetWindowPos): we need to update both position as
  2075. well as size after calling XMoveResizeWindow. This keeps us from
  2076. ignoring future SetWindowPos calls. Fixes the disappearing
  2077. DateTimePicker in the ToolBarDockExample from bug #72499.
  2078. 2006-10-11 Chris Toshok <[email protected]>
  2079. * TextBoxBase.cs: reorder things a bit when it comes to
  2080. resizing-causing-recalculation. we were recalculating the
  2081. document when our position was changed, which shouldn't happen.
  2082. We only care about size changes. Clear up some more redundant
  2083. recalculation calls while I'm at it. This makes the toolbar dock
  2084. example snappy when you're just dragging toolbars around (since it
  2085. causes a relayout whenever you move one.)
  2086. 2006-10-11 Chris Toshok <[email protected]>
  2087. * ToolBarButton.cs (get_Rectangle): this only returns
  2088. Rectangle.Empty if Visible == false, or Parent == null.
  2089. Parent.Visible doesn't matter.
  2090. 2006-10-10 Chris Toshok <[email protected]>
  2091. * Control.cs, PaintEventArgs.cs: "internal set { .. }" isn't loved
  2092. by .net 1.1, so switch to an internal method instead.
  2093. 2006-10-10 Chris Toshok <[email protected]>
  2094. * Control.cs (WM_PAINT): when a control is double buffered we draw
  2095. initially to the ImageBuffer and then copy from there. But when a
  2096. parent control which has child controls is double buffered, the
  2097. initial drawing doesn't encompass the entire ClientRectangle of
  2098. the parent control, so we end up with uninitialized bits (this is
  2099. easily seen by dragging the top toolbar in
  2100. wf-apps/ToolBarDockExample to the right, quickly). The fix is to
  2101. manually set the ClipRectangle of the paint_event (only the one we
  2102. use to populate the ImageBuffer) to ClientRectangle. Fixes more
  2103. of the nastiness in bug #72499.
  2104. * PaintEventArgs.cs: Add an internal setter for ClipRectangle,
  2105. which we use in Control.cs's WM_PAINT handling.
  2106. 2006-10-10 Jackson Harper <[email protected]>
  2107. * TextBoxBase.cs: Finish off the autoscrolling stuff.
  2108. 2006-10-10 Chris Toshok <[email protected]>
  2109. * Cursor.cs: Apply a slightly different patch to the one suggested
  2110. in #79609.
  2111. 2006-10-10 Jackson Harper <[email protected]>
  2112. * MenuItem.cs: Make sure to put the mdi child in the hashtable,
  2113. not the parent form.
  2114. * TextControl.cs: use difference in old line count vs new count to
  2115. calculate how many lines were added, this takes into account soft
  2116. line breaks properly.
  2117. 2006-10-10 Chris Toshok <[email protected]>
  2118. * LinkLabel.cs: don't call MeasureCharacterRanges against a
  2119. rectangle located at 0,0 and the size of the text. Use
  2120. ClientRectangle instead. This fixes rendering of non-left aligned
  2121. link labels.
  2122. 2006-10-10 Jackson Harper <[email protected]>
  2123. * TextBoxBase.cs: When we set the selection start position the
  2124. caret.
  2125. * TextControl.cs: Need to update the caret when we decrement it to
  2126. zero.
  2127. - Make sure that the selection_visible flag gets reset to false if
  2128. the selection isn't visible. Before this you could get it set to
  2129. visible by changing the selection start, then changing the end to
  2130. equal the start.
  2131. 2006-10-09 Jackson Harper <[email protected]>
  2132. * TreeView.cs: Don't update scrollbars when we aren't visible.
  2133. * TreeNodeCollection.cs: Only need to update scrollbars if being
  2134. added to an expanded visible node or the root node.
  2135. 2006-10-09 Chris Toshok <[email protected]>
  2136. * XplatUIX11.cs (SendMessage): fix NRE.
  2137. 2006-10-09 Jackson Harper <[email protected]>
  2138. * TextBoxBase.cs: Implement horizontal autoscrolling.
  2139. * TextControl.cs: Add a movement types that allows moving forward
  2140. and backwards without wrapping.
  2141. 2006-10-09 Mike Kestner <[email protected]>
  2142. * ListViewItem.cs : layout changes for wrapped LargeIcon labels
  2143. with focus "expansion" of labels. Fixes #79532 and then some.
  2144. * ThemeWin32Classic.cs : add LineLimit to ListView label format
  2145. when wrapping.
  2146. 2006-10-09 Jackson Harper <[email protected]>
  2147. * TextBoxBase.cs: Set the default max values to MaxValue since
  2148. we use the scrollbar for autoscrolling and the default value is
  2149. 100. If we don't do this the caret won't keep up with typing
  2150. after about 18 characters.
  2151. * TextControl.cs: Make sure the selection is offset by the
  2152. viewport x. This fixes selection when using auto scrolling.
  2153. 2006-10-07 Andreia Gaita <[email protected]>
  2154. * Form.cs: The active control should be selected after the
  2155. OnLoad so that any child control initialization that affects
  2156. the selection is done. Fixes #79406
  2157. 2006-10-06 Chris Toshok <[email protected]>
  2158. * XplatUIX11.cs: This is perhaps a dangerous change, but it seems
  2159. to have no evil effects.
  2160. - Stop selecting StructureNotifyMask on non-toplevel windows.
  2161. The only way children should be resized is by using the SWF api,
  2162. and we already send WM_WINDOWPOSCHANGED messages in those cases.
  2163. Toplevel windows can be interacted with via the window manager,
  2164. and so we keep the input mask there.
  2165. The other event StructureNotifyMask gives us (that we care
  2166. about) is DestroyNotify. The code is already structured such
  2167. that it assumes we won't be getting a DestroyNotify event for
  2168. the window we pass to XDestroyWindow (which is what
  2169. StructureNotifyMask is supposed to guarantee.) So, that code
  2170. shouldn't be affected by this either.
  2171. - Stop selecting VisibilityChangeMask altogether.
  2172. We weren't doing anything with the resulting events anyway.
  2173. This vastly reduces the number of X requests and events we see
  2174. when resizing/laying out a large ui.
  2175. 2006-10-06 Chris Toshok <[email protected]>
  2176. * ScrollableControl.cs (DisplayRectangle): we need to take into
  2177. account the DockPadding regardless of whether or not auto_scroll
  2178. == true. rework this slightly to this effect, and fix bug #79606,
  2179. and part of #72499 (you can now see the drag handles and drag
  2180. toolbars around).
  2181. 2006-10-06 Gert Driesen <[email protected]>
  2182. * ListViewItem.cs: Collections of selected and checked items are now
  2183. dynamically rebuilt. Whenever an item is (un)checked or (de)selected
  2184. we mark the collection "dirty".
  2185. * ListView.cs: Marked collections readonly. Modified UpdateSelection
  2186. to only clear SelectedItems when a new item is selected and MultiSelect
  2187. is enabled. CheckedItems and SelectedItems now subscribe to Changed
  2188. event of ListViewItemCollection, and mark its list dirty whenever
  2189. that event is fire. This allows us to return selected/checked items
  2190. in the same order as they are in the Items collection. This matches
  2191. the MS behavior.
  2192. 2006-10-06 Chris Toshok <[email protected]>
  2193. * NotifyIcon.cs (HandleMouseUp): only show the context menu on
  2194. right mouse clicks. Fixes bug #79593.
  2195. 2006-10-06 Chris Toshok <[email protected]>
  2196. * Splitter.cs: doh, fix splitters that don't want to cancel the
  2197. movement when you drag them. Also, impose the limits on the
  2198. values we send to the SplitterMovingEvent. Fixes #79598.
  2199. 2006-10-06 Jackson Harper <[email protected]>
  2200. * TextBoxBase.cs: Ignore whether or not the scrollbar is enabled,
  2201. since we use this for auto scrolling also.
  2202. 2006-10-05 Chris Toshok <[email protected]>
  2203. * DataGridBoolColumn.cs: Nuke the code from ConcedeFocus. I'm
  2204. beginning to think that most datagrid column types don't need this
  2205. method. Fixes bug #79392.
  2206. 2006-10-05 Chris Toshok <[email protected]>
  2207. * DataGrid.cs: move back to a more lazy scheme for creating the
  2208. CurrencyManager, so we aren't updating it every time you set
  2209. either DataSource or DataMember. Also, don't call
  2210. RecreateDataGridRows if the currency manager hasn't changed.
  2211. 2006-10-05 Chris Toshok <[email protected]>
  2212. * ComboBox.cs: by the time the OnSelectionChangeCommitted event is
  2213. emitted, SelectedIndex should already be updated. Fixes bug
  2214. #78929.
  2215. 2006-10-05 Jonathan Pobst <[email protected]>
  2216. * ToolStripComboBox.cs, ToolStripControlHost.cs, ToolStripProgressBar,
  2217. ToolStripTextBox.cs: Initial commit.
  2218. * ToolStripItem.cs: Fixes for OnLayout, BackColor, Parent.
  2219. 2006-10-05 Jackson Harper <[email protected]>
  2220. * TabControl.cs: We need to invalidate the tab control area when
  2221. new ones are added (duh).
  2222. 2006-10-03 Chris Toshok <[email protected]>
  2223. * Form.cs (ProcessDialogKey): if the focused control is in this
  2224. form and is a button, call its PerformClick method here. Fixes
  2225. #79534.
  2226. 2006-10-04 Jackson Harper <[email protected]>
  2227. * TabPage.cs: Ignore setting of Visible, and add an internal
  2228. method for setting the controls visibility. TabPage's Visible
  2229. property is a little strange on MS, this seems to make us
  2230. compatible, and fixes cases where people set all the tab pages to
  2231. visible.
  2232. * TabControl.cs: Use the new internal setting on tab pages
  2233. visibility.
  2234. 2006-10-03 Mike Kestner <[email protected]>
  2235. * ComboBox.cs : raise Click on ComboTextBox clicks. Fixes #79555.
  2236. 2006-10-03 Mike Kestner <[email protected]>
  2237. * ListView.cs : use is_visible instead of Visible to check if
  2238. scrollbars should be placed/sized. Also some max_wrap_width
  2239. love for LargeIcon view. [Fixes #79533]
  2240. 2006-10-03 Atsushi Enomoto <[email protected]>
  2241. * TextControl.cs :
  2242. Make set_TextAlign() do actually update the align. Fixed #78403.
  2243. 2006-10-03 Chris Toshok <[email protected]>
  2244. * DataGrid.cs: fix a crash when switching datasources if the
  2245. vertical scrollbar is at someplace other than Value = 0. Also,
  2246. reduce the number of recalculation passes we do in SetDataSource
  2247. from 2 to 1.
  2248. 2006-10-03 Jackson Harper <[email protected]>
  2249. * TextBoxBase.cs: Move the if value the same bail check up, we
  2250. don't want to empty the document if it is already empty, this
  2251. seems to severly mess up the caret. TODO: I should probably fix
  2252. the empty statement to update teh caret somehow.
  2253. 2006-10-03 Chris Toshok <[email protected]>
  2254. * ThemeWin32Classic.cs, DataGrid.cs: some changes so that the
  2255. incredibly hacky Windows.Forms FAQ autosize rows entry (it uses
  2256. reflection, an internal row type, properties on said type, etc.)
  2257. will work with our datagrid. Fixes #79531.
  2258. 2006-10-03 Alexander Olk <[email protected]>
  2259. * FileDialog.cs: Don't crash if a path is not accessible
  2260. (System.UnauthorizedAccessException). Fixes #79569.
  2261. * MimeIcon.cs: Workaround for a Uri bug. Unix paths/files can have
  2262. a ':' too. Return unknown icon for those paths/files.
  2263. 2006-10-03 Sebastien Pouliot <[email protected]>
  2264. * ToolTip.cs: Fix rare, but possible, NRE on MouseEnter when
  2265. GetContainerControl returns null.
  2266. 2006-10-02 Chris Toshok <[email protected]>
  2267. * XplatUIX11.cs (GetWindowState): use hwnd.client_window in the
  2268. call to XGetWindowAttributes instead of "handle". fixes an X
  2269. error using notifyicon after the NotifyIconWindow to Form base
  2270. class switch.
  2271. 2006-10-02 Chris Toshok <[email protected]>
  2272. * XplatUIX11.cs (QueryPointer): new function, encapsulating the
  2273. server grab and looping we need to do to get down to the most
  2274. deeply nested child window.
  2275. (SetCursorPos): use QueryPointer instead of GetCursorPos, and call
  2276. QueryPointer again after the WarpPointer so we can generate a
  2277. proper (fake) MotionNotify event to be enqueued in the destination
  2278. window's queue.
  2279. (GetCursorPos): call QueryPointer.
  2280. Fixes #79556.
  2281. 2006-10-02 Jackson Harper <[email protected]>
  2282. * NotifyIcon.cs: Derive the notify icon from a form, so things
  2283. like FindForm work on it.
  2284. - Swallow the WM_CONTEXTMENU message, since that is generated on
  2285. mouse down, and context menu is a mouse up kinda guy. I believe
  2286. the correct fix here is probably to make the notify icon entirely
  2287. NC area, but this seems to work fine for anyone not manipulating
  2288. WndProc.
  2289. 2006-10-02 Jonathan Pobst <[email protected]>
  2290. * ToolStrip.cs, ToolStripButton.cs, ToolStripItem.cs,
  2291. ToolStripItemCollection.cs, ToolStripLabel.cs,
  2292. ToolStripProfessionalRenderer.cs, ToolStripRenderer.cs,
  2293. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs:
  2294. Initial implementation.
  2295. * TextRenderer.cs: Provide padding to MeasureText.
  2296. 2006-10-02 Sebastien Pouliot <[email protected]>
  2297. * ButtonBase.cs: Fix CreateAccessibilityInstance to return an instance
  2298. of ButtonBaseAccessibleObject. Fix bug #79552.
  2299. 2006-10-02 Jackson Harper <[email protected]>
  2300. * MdiWindowManager.cs: When maximizing use the containers client
  2301. rect, not it's bounds, so nc area is accounted correctly.
  2302. - Use the parent form's size for the menu position, since the
  2303. client isn't always the full form size.
  2304. 2006-10-01 Chris Toshok <[email protected]>
  2305. * ScrollableControl.cs: make sure neither right_edge or
  2306. bottom_edge are < 0, since they're used as LargeChange for the
  2307. horiz/vert scrollbars respectively. Fixes #79539.
  2308. 2006-10-01 Chris Toshok <[email protected]>
  2309. * NotifyIcon.cs: add NotifyIconWindow.InternalRecreateHandle, so
  2310. the xplatuix11 code can cause us to destroy/recreate our handle.
  2311. * XplatUIX11.cs
  2312. (SystrayAdd):
  2313. - this code can be invoked many times for the same Hwnd. Make
  2314. sure we only destroy the client window once (the first time this
  2315. method is called). This fixes bug #79544.
  2316. - Remove the call to the improperly bound XSync. why we had two
  2317. bindings to this, I will never know, but this call resulted in
  2318. events being discarded from the queue(!).
  2319. - correct a misunderstanding of _XEMBED_INFO - the second atom is
  2320. not our current state but the state we wish to be in. So, 0 if
  2321. we don't want to be mapped. Change it to 1.
  2322. (SystrayRemove): The XEMBED spec makes mention of the fact that
  2323. gtk doesn't support the reparent of client windows away from the
  2324. embedder. Looking at gtksocket-x11.c seems to agree with this.
  2325. The only avenue we have for removing systray icons is to destroy
  2326. them. We don't want the handle to go away for good, though, so
  2327. call InternalRecreateHandle on the NotifyIconWindow. Fixes
  2328. #79545.
  2329. 2006-10-01 Chris Toshok <[email protected]>
  2330. * Form.cs (WndProc): inline the native_enabled variable usage into
  2331. the cases in which it's used. Fixes #79536.
  2332. 2006-09-29 Mike Kestner <[email protected]>
  2333. * ListView.cs : toggle the selection state for ctrl clicks in
  2334. multiselect mode. [Fixes #79417]
  2335. 2006-09-29 Mike Kestner <[email protected]>
  2336. * ListView.cs : kill CanMultiSelect and refactor the selection
  2337. code to support multiselection in the absence of mod keys. Steal
  2338. arrow/home/end keys by overriding InternalPreProcessMessage to
  2339. restore regressed keynav behavior.
  2340. [Fixes #79416]
  2341. 2006-09-29 Jackson Harper <[email protected]>
  2342. * MdiClient.cs: Repaint the titlebars when the active window is
  2343. changed.
  2344. 2006-09-29 Chris Toshok <[email protected]>
  2345. * Application.cs: when entering a runloop with a modal, make sure
  2346. the hwnd is enabled. Fixes #79480.
  2347. 2006-09-29 Chris Toshok <[email protected]>
  2348. * DataGrid.cs (CurrentCell): if we try to navigate to the add row
  2349. when ListManager.CanAddRows == false, bump us back one.
  2350. * DataGridColumnStyle.cs (ParentReadOnly): remove the
  2351. listmanager.CanAddRows check. This makes ArrayLists uneditable
  2352. using a datagrid, which is not right.
  2353. (SetColumnValueAtRow): call IEditable.BeginEdit if source[rowNum]
  2354. is an IEditable, but call property_descriptor.SetValue regardless.
  2355. fixes #79435.
  2356. 2006-09-29 Chris Toshok <[email protected]>
  2357. * DataGridBoolColumn.cs: we need to test equality in the face of
  2358. possible null values (as is the case with the default NullValue).
  2359. This patch keeps us from crashing in that case.
  2360. 2006-09-29 Jackson Harper <[email protected]>
  2361. * TreeNodeCollection.cs: Don't do a recalculate/updatescrollbars
  2362. here, since it will get called for every node collection in the
  2363. tree. This is now done in the treeview once the sorting is
  2364. finished.
  2365. * TreeView.cs: Recalculate the visible order, and update the
  2366. scrollbars after sorting, set the top nope to the root so that the
  2367. recalc actually works.
  2368. 2006-09-29 Chris Toshok <[email protected]>
  2369. * LinkLabel.cs: more handling of the default link collection in
  2370. the face of LinkArea manipulation. The default link collection
  2371. contains 1 element (start=0,length=-1). If the user sets LinkArea
  2372. to anything and the links collection is the default, clear it.
  2373. Then only add the link if its nonempty. Fixes #79518.
  2374. 2006-09-29 Chris Toshok <[email protected]>
  2375. * LinkLabel.cs (CreatePiecesFromText): calculate the length of a
  2376. piece correctly when we hit a '\n'. Fixes #79517.
  2377. 2006-09-29 Chris Toshok <[email protected]>
  2378. * MimeIcon.cs, ThemeGtk.cs, X11DesktopColors.cs, XplatUIX11GTK.cs:
  2379. change the binding of gdk_init_check to take two IntPtr's, and
  2380. pass IntPtr.Zero for both of them. Fixes #79520.
  2381. 2006-09-29 Mike Kestner <[email protected]>
  2382. * ComboBox.cs : raise TextChanged on ComboTextBox.TextChanged.
  2383. [Fixes #78779]
  2384. 2006-09-28 Jackson Harper <[email protected]>
  2385. * XplatUIX11.cs: When translating NC messages make sure we go from
  2386. whole window to screen, not client window to screen.
  2387. * MdiClient.cs: Remove the calls to PaintWindowDecorations, this
  2388. method doesn't exist
  2389. - Skip over controls that aren't forms when arranging.
  2390. 2006-09-28 Jackson Harper <[email protected]>
  2391. * XplatUIWin32.cs: Clip the rect to the parent window.
  2392. * XplatUIStructs.cs: Add clipping modes struct.
  2393. * InternalWindowManager.cs: New private method that factors title
  2394. bar heights in when calculating the pos of an NC mouse message.
  2395. - Use SendMessage to force a paint when the form's size is changed
  2396. instead of painting the decorations immediately.
  2397. - Don't let the NC button click messages get to DefWndProc,
  2398. because they will attempt to handle windowing themself, and this
  2399. messes up z-order (it will put them in front of the scrollbars).
  2400. * XplatUIX11.cs: Make sure that we don't reset window managers if
  2401. we already have one (ie the window is an MDI window).
  2402. 2006-09-28 Chris Toshok <[email protected]>
  2403. * MainMenu.cs: fix #79405 by way of a disgusting hack. all the
  2404. menu code really needs going over.
  2405. 2006-09-27 Chris Toshok <[email protected]>
  2406. * XplatUIX11.cs (SetWMStyles): more metacity wonderment. turns
  2407. out metacity ignores the MAXIMIZE_HORZ/VERT messages unless the
  2408. window is maximizable. So, we need to make sure that even if we
  2409. clear the border/wm frame of those functions, they're still
  2410. available (basically, we remove the decoration without removing
  2411. the function). Half the fix for #79338.
  2412. 2006-09-27 Chris Toshok <[email protected]>
  2413. * DataGrid.cs (ProcessGridKey): implement Shift-Tab handling.
  2414. Fixes bug #79515.
  2415. 2006-09-27 Chris Toshok <[email protected]>
  2416. * Splitter.cs: reorder things a bit so that we don't actually
  2417. draw/move the splitter until after calling OnSplitterMoving. This
  2418. lets users cancel/disallow the movement by explicitly setting
  2419. event.SplitX/SplitY. Fixes #79372.
  2420. 2006-09-27 Jackson Harper <[email protected]>
  2421. * XplatUIX11.cs: Don't hide the caret when it is being destroyed,
  2422. because it is most likely on a window being destroyed, and that
  2423. will give us an X11 error.
  2424. 2006-09-27 Chris Toshok <[email protected]>
  2425. * PropertyGridView.cs: half of the fix for #78190. Clicking on
  2426. the dropdown button now toggles between showing and hiding the
  2427. dropdown. Also, get rid of dropdown_form_showing and just use
  2428. dropdown_form.Visible. We still don't do a grab, but I'll leave
  2429. that part to someone who has handled Capture-fu before.
  2430. 2006-09-27 Chris Toshok <[email protected]>
  2431. * DataGrid.cs: return false if alt isn't pressed when '0' is
  2432. pressed. this keeps the '0' key from being swallowed, and fixes
  2433. bug #79350.
  2434. 2006-09-27 Chris Toshok <[email protected]>
  2435. * ComboBox.cs: use Invalidate when scrolling the dropdown list.
  2436. Calling Refresh (in response to a scrollbar event) screws up the
  2437. scrollbar painting. Fixes bug #78923.
  2438. 2006-09-27 Chris Toshok <[email protected]>
  2439. * Theme.cs (SystemResPool): make the "if hashtable[key] == null
  2440. then insert into hashtable" blocks threadsafe.
  2441. 2006-09-27 Chris Toshok <[email protected]>
  2442. * MessageBox.cs (CreateParams): the styles should be |'ed with our
  2443. baseclass's, since otherwise the
  2444. ControlBox/MinimizeBox/MaximizeBox assignments above have no
  2445. effect. This gets the close button back in messageboxes.
  2446. 2006-09-27 Chris Toshok <[email protected]>
  2447. * XplatUIX11.cs: make StyleSet and ExStyleSet check == with the
  2448. flag, not just != 0. this makes flags that are actually multiple
  2449. bits (like WS_CAPTION) work. fixes bug #79508.
  2450. 2006-09-27 Jordi Mas i Hernandez <[email protected]>
  2451. * PageSetupDialog.cs: add support for getting and settings the
  2452. paper size, source and orientation.
  2453. 2006-09-26 Chris Toshok <[email protected]>
  2454. * XplatUIX11.cs (SetWMStyles): turns out when SYSMENU is not set
  2455. and caption == "", we need to remove the resize handles as well as
  2456. the title bar.
  2457. * Control.cs (set_Text): turns out that setting Text on a form
  2458. should change the WM styles on the window, since if ControlBox ==
  2459. false, the only way to get a window border is to have a non-""
  2460. Text property. check winforms/forms/text.cs for an example. so,
  2461. call both XplatUI.SetWindowStyle and XplatUI.Text here to properly
  2462. update both window styles and title. This fixes a lot of dialogs
  2463. (including the preferences dialog in MonoCalendar.)
  2464. 2006-09-26 Chris Toshok <[email protected]>
  2465. * XplatUIWin32.cs (SetParent): if parent == IntPtr.Zero (and the
  2466. control isn't a Form), call Win32ShowWindow to hide the window,
  2467. but don't update the control Visible property. When we reparent
  2468. back to a parent control, call SetVisible in order for the
  2469. window's visibility to be reinstated.
  2470. * XplatUIX11.cs (SetParent): if hwnd.parent == null, reparent to
  2471. the FosterParent.
  2472. * Control.cs (ControlCollection.Remove): remove that value.Hide()
  2473. call for good, since it breaks MonoCalendar (and other things I'm
  2474. sure.) Also, set all_controls to null *after* the owner calls,
  2475. which end up regenerating it.
  2476. (ChangeParent): allow new_parent to be == null, passing
  2477. IntPtr.Zero down to XplatUI.
  2478. this fixes #79294 the right way.
  2479. 2006-09-26 Mike Kestner <[email protected]>
  2480. * GridEntry.cs : internal SetParent method.
  2481. * PropertyGrid.cs : attach to property changed on the proper
  2482. target if we have a hierarchical grid with subobjects. Setup
  2483. GridItem.Parent for hierarchical items.
  2484. * PropertyGridView.cs : Set value on the correct target for
  2485. hierarchical grids. [Fixes #78903]
  2486. 2006-09-26 Chris Toshok <[email protected]>
  2487. * Control.cs (ChildNeedsRecreating): this should return true if
  2488. either we're being recreated and the child is in our list, or our
  2489. parent is waiting for our recreation.
  2490. 2006-09-26 Chris Toshok <[email protected]>
  2491. * Control.cs (ControlCollection.Remove): reinstate the
  2492. value.Hide() call as suggested in bug #79294.
  2493. 2006-09-26 Sebastien Pouliot <[email protected]>
  2494. * XplatUIX11.cs: Fixed SetCursorPos to move the cursor to screen
  2495. coordinates (versus a relative move).
  2496. 2006-09-26 Chris Toshok <[email protected]>
  2497. * Control.cs: rework child recreation a little bit. It turns out
  2498. that we race between the DestroyNotify the WM_DESTROY message. If
  2499. the parent gets its DestroyNotify before the child gets the
  2500. WM_DESTROY message, the child ends up not recreating (since the
  2501. parent finishes its recreation on DestroyNotify, and the child
  2502. checks ParentIsRecreating.)
  2503. So, instead we store off a list of all the child controls which
  2504. need to be recreated when the parent control starts to recreate
  2505. itself. Then, when child controls get their WM_DESTROY message we
  2506. check to see if they're in the parent's pending recreation list,
  2507. and if so, we recreate. This removes all dependency on ordering
  2508. from the code and fixes the initial MonoCalendar upgrade dialog.
  2509. 2006-09-26 Jackson Harper <[email protected]>
  2510. * TextControl.cs: Use the Line to get the length of the line,
  2511. since soft line breaks can change the end line.
  2512. 2006-09-26 Chris Toshok <[email protected]>
  2513. * Control.cs (ControlCollection.AddImplicit): don't add the
  2514. control again if it's already in one of our lists. This keeps us
  2515. from adding controls over and over again for comboboxes when their
  2516. handle gets recreated (as the combobox adds implicit controls in
  2517. OnHandleCreated). Fixes the X11 errors in bug #79480.
  2518. 2006-09-26 Jackson Harper <[email protected]>
  2519. * TextControl.cs: When deleting characters make sure that any
  2520. orphaned zero lengthed tags get deleted.
  2521. - Fix ToString for zero lengthed tags.
  2522. 2006-09-25 Jackson Harper <[email protected]>
  2523. * TextControl.cs: When getting a tag at the location there can be
  2524. multiple tags at the same spot, these are 0-lengthed tags that
  2525. appear when extra formatting has been stuck in a location. We
  2526. need to pull out the last of these 0 lengthed tags.
  2527. 2006-09-25 Jackson Harper <[email protected]>
  2528. * TextControl.cs: Fix print out in debug method.
  2529. * TextBoxBase.cs: When text is set bail if we are setting to the
  2530. previous value.
  2531. 2006-09-24 Alexander Olk <[email protected]>
  2532. * FontDialog.cs: Fixed the up/down arrow keys issue from bug #79478.
  2533. It is now possible to change the selected index in a FontXXXListBox
  2534. with the up and down arrow keys from the FontXXXTextBoxes.
  2535. Also, send the FontXXXTextBox mouse wheel event to the corresponding
  2536. FontXXXListBoxes to match ms.
  2537. 2006-09-22 Sebastien Pouliot <[email protected]>
  2538. * SystemInformation.cs: Return a clone of the theme's MenuFont because
  2539. anyone can dispose it, anytime. All other properties returns enums,
  2540. structs or basic types so they don't need such tricks.
  2541. 2006-09-22 Jackson Harper <[email protected]>
  2542. * XplatUI.cs:
  2543. * XplatUIWin32.cs:
  2544. * Clipboard.cs:
  2545. * DataFormats.cs:
  2546. * XplatUIOSX.cs:
  2547. * XplatUIDriver.cs: Update interface to add a primary selection
  2548. flag, so the driver can use the primary selection buffer if
  2549. needed.
  2550. * XplatUIX11.cs: Allow the clipboard to retrieve from PRIMARY.
  2551. * RichTextBox.cs: We need to supply the data object to paste now
  2552. (so we can choose to supply CLIPBOARD or PRIMARY).
  2553. * TextBoxBase.cs: Supply data object to paste (see above).
  2554. - Middle click uses the primary selection data object.
  2555. 2006-09-21 Chris Toshok <[email protected]>
  2556. * XplatUIX11.cs: first little cleanup of the StyleSet (...) block
  2557. of SetWMStyles. It's still a rat's nest and is largely
  2558. order-dependent which I dislike immensely. This also fixes the X
  2559. button disappearing from toplevel forms.
  2560. 2006-09-21 Mike Kestner <[email protected]>
  2561. * ListBox.cs: move Jordi's click/dblclick raising code to the
  2562. mouse up handler.
  2563. 2006-09-21 Jordi Mas i Hernandez <[email protected]>
  2564. * ListBox.cs: Fixes 79450
  2565. 2006-09-21 Mike Kestner <[email protected]>
  2566. * TreeView.cs: guard against disposed conditions in UpdateScrollbars
  2567. to deal with people updating the TreeNodeCollection after the tree
  2568. is disposed. "Fixes" 79330.
  2569. 2006-09-20 Jackson Harper <[email protected]>
  2570. * TextControl.cs: Push the cursor record onto the undo stack
  2571. before the delete action. This fixes 78651.
  2572. 2006-09-20 Jonathan Chambers <[email protected]>
  2573. * PropertyGridView.cs: Remove WindowStyles.WS_VISIBLE from
  2574. CreateParams. Fixes 79329.
  2575. 2006-09-19 Chris Toshok <[email protected]>
  2576. * XplatUIX11.cs: a couple of blanket code massage passes to clean
  2577. things up a bit. First, get rid of the NetAtoms array (and the NA
  2578. enum), and just embed the atoms as static fields. Also, add a
  2579. couple of functions (StyleSet and ExStyleSet) to clean up all the
  2580. bitmask testing of styles.
  2581. * X11Structs.cs: remove the NA enum, not needed anymore.
  2582. 2006-09-19 Chris Toshok <[email protected]>
  2583. * XplatUIX11.cs: apply Alexander's tool window fix for bug #79245
  2584. (mapping them to _NET_WM_WINDOW_TYPE_UTILITY). and add a little
  2585. added cleanup to get MessageBox titles appearing again, which were
  2586. broken by my earlier fix for caption-less/ControlBox-less windows.
  2587. 2006-09-18 Jonathan Pobst <[email protected]>
  2588. * ToolStripArrowRenderEventArgs.cs, ToolStripArrowRenderEventHandler.cs,
  2589. ToolStripContentPanelRenderEventArgs.cs, ToolStripContentPanelRenderEventHandler.cs,
  2590. ToolStripGripRenderEventArgs.cs, ToolStripGripRenderEventHandler.cs,
  2591. ToolStripItemClickedEventArgs.cs, ToolStripItemClickedEventHandler.cs,
  2592. ToolStripItemEventArgs.cs, ToolStripItemEventHandler.cs,
  2593. ToolStripItemImageRenderEventArgs.cs, ToolStripItemImageRenderEventHandler.cs,
  2594. ToolStripItemRenderEventArgs.cs, ToolStripItemRenderEventHandler.cs,
  2595. ToolStripItemTextRenderEventArgs.cs, ToolStripItemTextRenderEventHandler.cs,
  2596. ToolStripPanelRenderEventArgs.cs, ToolStripPanelRenderEventHandler.cs,
  2597. ToolStripRenderEventArgs.cs, ToolStripRenderEventHandler.cs,
  2598. ToolStripSeparatorRenderEventArgs.cs, ToolStripSeparatorRenderEventHandler.cs:
  2599. Inital import.
  2600. * ToolStripPanel.cs, ToolStripContentPanel.cs, ToolStripSeparator.cs,
  2601. ToolStripButton.cs: Stubs needed for above.
  2602. * ToolStrip.cs, ToolStripItem.cs: Stub a few variables/properties for above.
  2603. 2006-09-15 Chris Toshok <[email protected]>
  2604. * XplatUIX11.cs:
  2605. - make the MessageQueues hashtable Synchronized.
  2606. - SendMessage: if the Hwnd is owned by a different thread, use the
  2607. AsyncMethod stuff to dispatch the SendMessage on the hwnd's
  2608. thread. Fixes bug #79201.
  2609. 2006-09-15 Chris Toshok <[email protected]>
  2610. * XplatUIX11.cs (SetWMStyles): rework the #79368 fix slightly. If
  2611. ControlBox == false, we disallow maximize/minimize/close. If the
  2612. form Caption is "" we also disallow move (and get rid of the Title
  2613. decoration). Unfortunately, regardless of how things are set,
  2614. we're stuck with the Title and WM menu.
  2615. 2006-09-15 Chris Toshok <[email protected]>
  2616. * Application.cs: add locking around the static message_filters
  2617. ArrayList, part of #79196.
  2618. 2006-09-15 Chris Toshok <[email protected]>
  2619. * XplatUIX11.cs (SetWMStyles): if Form.Text == "" and
  2620. Form.ControlBox == false, the window has no titlebar nor resize
  2621. handles. fixes bug #79368.
  2622. 2006-09-15 Chris Toshok <[email protected]>
  2623. * TextBoxBase.cs: in CalculateScrollBars make sure LargeChange is
  2624. >= 0. Fixes bug #79370.
  2625. 2006-09-15 Jonathan Pobst <[email protected]>
  2626. * FlowLayoutPanel.cs, FlowLayoutSettings.cs: Initial commit.
  2627. * Control.cs:
  2628. Add properties: LayoutEngine, Margin, DefaultMargin.
  2629. Add method: GetPreferredSize.
  2630. Move layout logic from PerformLayout to layout engines.
  2631. 2006-09-13 Chris Toshok <[email protected]>
  2632. * XplatUIX11.cs: more destroy work. Jackson pointed out that my
  2633. fix for #79326 broke #78718, so this change addresses that.
  2634. - in SendWMDestroyMessages remove the call to
  2635. CleanupCachedWindows, since we might be recreating the control and
  2636. need to maintain the references to right Hwnd handles. Also, set
  2637. the zombie flag to true for each of the children in the hierarchy
  2638. instead of calling hwnd.Dispose. This will cause GetMessage to
  2639. ignore all events for the window except for DestroyNotify.
  2640. - In GetMessage, ignore messages except for DestroyNotify for
  2641. zombie hwnds.
  2642. * Control.cs: revert the is_recreating fix from the last
  2643. ChangeLog. It's definitely "right", but it breaks switching from
  2644. an MDI form to a non-MDI form. Will need to revisit that.
  2645. * Hwnd.cs: add a zombie flag, which means "the
  2646. client_window/whole_window handles are invalid, but we're waiting
  2647. for the DestroyNotify event to come in for them". Set the flag to
  2648. false explicitly if setting WholeWindow/ClientWindow, and also
  2649. when Disposing.
  2650. 2006-09-13 Chris Toshok <[email protected]>
  2651. * XplatUIX11.cs: rework window destruction slightly.
  2652. - when destroying the windows associated with a control, we don't
  2653. need 2 separate XDestroyWindow calls. Just the one for the
  2654. whole_window (or for client_window if whole_window is somehow
  2655. IntPtr.Zero -- can this happen?) is enough.
  2656. - reworked SendWMDestroyMessages slightly, so we always dispose
  2657. the child control hwnd's after sending the messages.
  2658. - refactored out the ActiveWindow/FocusWindow/Caret clearing from
  2659. the two places it was used (one was even using hwnd.Handle and the
  2660. other hwnd.client_window. ugh), adding another call in
  2661. SendWMDestroyMessages. We need this new call because now the
  2662. DestroyNotify events in the queue will be ignored for the child
  2663. controls (as their hwnd's were disposed, and the window id's
  2664. removed from the hashtable in SendWMDestroyMessages.) fun, eh?
  2665. - this fixes bug #79326.
  2666. 2006-09-13 Chris Toshok <[email protected]>
  2667. * Control.cs: don't always set is_recreating to false at the end
  2668. of RecreateHandle, since sometimes we're not done (and won't be
  2669. until WndProc handles the WM_DESTROY message). Also, set
  2670. is_recreating to false in the WM_DESTROY handling code. Part of
  2671. the fix for bug #79326.
  2672. 2006-09-13 Miguel de Icaza <[email protected]>
  2673. * X11DesktopColors.cs: Start the droppage of debugging messages.
  2674. * FileDialog.cs: Store the configuration file in ~/.mono/mwf_config
  2675. 2006-09-13 Jonathan Pobst <[email protected]>
  2676. * SplitContainer.cs, SplitterPanel.cs: Initial implementation [2.0].
  2677. 2006-09-12 Chris Toshok <[email protected]>
  2678. * DataGrid.cs (get_ListManager): if the list_manager is null, try
  2679. to create it using SetDataSource. Fixes bug #79151.
  2680. 2006-09-11 Chris Toshok <[email protected]>
  2681. * XEventQueue.cs: add a DispatchIdle property.
  2682. * XplatUIX11.cs (UpdateMessageQueue): only emit the Idle event if
  2683. either the queue is null, or the queue has DispatchIdle set to
  2684. true.
  2685. (DoEvents): set queue.DispatchIdle to false around the
  2686. peek/translate/dispatch message loop in this method. This keeps
  2687. Application.Doevents from emitting idle events. Part of the fix
  2688. for #78823.
  2689. 2006-09-11 Chris Toshok <[email protected]>
  2690. * DataGrid.cs (set_DataSource): make this work for both the
  2691. winforms/datagrid test and ReportBuilder. It seems as though when
  2692. we've created a ListManager (or maybe it's if we have a
  2693. BindingContext?), when we set the DataSource it clears the
  2694. DataMember to "". otherwise we reuse the datamember. Fixes bug
  2695. #79333.
  2696. 2006-09-11 Chris Toshok <[email protected]>
  2697. * XplatUIX11.cs: deal with queue being null, which happens in all
  2698. the Clipboard functions. Fixes one of the two problems mentioned
  2699. in #78612.
  2700. 2006-09-11 Chris Toshok <[email protected]>
  2701. * MenuAPI.cs: rework OnMouseUp a bit so that releasing the mouse
  2702. button on various spots (including outside the menu) works closer
  2703. to MS, and doesn't crash. Fixes #79343.
  2704. 2006-09-11 Gert Driesen <[email protected]>
  2705. * ListView.cs: Do not initialize item_sorter in init. To match MS,
  2706. return null for ListViewItemSorter if View is SmallIcon or LargeIcon
  2707. and the internal comparer is set. When a new ListViewItemSorter is set,
  2708. sort the items. Use Enum.IsDefined to verify whether a valid SortOrder
  2709. was specified. No further processing is necessary if SortOrder is set
  2710. to it's current value. If Sorting is modified to None, and View is
  2711. neither SmallIcon nor LargeIcon then: on 2.0 profile set item_sorter
  2712. (either custom or our internal ItemComparer) to null, on 1.0 profile
  2713. only set item_sorter to null if its our internal IComparer. If Sorting
  2714. is modified to Ascending or Descending, then use our internal IComparer
  2715. if none is set, and if the current IComparer is our internal one then:
  2716. on 2.0 profile always replace it with one for new Sorting, and on 1.0
  2717. profile only use new Sorting if view is not SmallIcon or LargeIcon. Use
  2718. Enum.IsDefined to verify whether a valid View value is specified in
  2719. its setter. Automatically sort listview items when listview is
  2720. created. In Sort, do nothing if ListView is not yet created, or if
  2721. no item_sorter is set (no Sorting was set, Sorting was explicitly set
  2722. to None or ListViewItemSorter was set to null). Added Sort overload
  2723. taking a bool to indicate whether the ListView should be redrawn when
  2724. items are sorted (we use this in ListViewItemCollection to avoid double
  2725. redraws). Modified our internal IComparer to take the sort order into
  2726. account. In Add and AddRange methods of ListViewItemCollection, also
  2727. call Sort if Sorting is None (necessary for SmallIcon and LargeIcon
  2728. view), but use overload with noredraw option to avoid double redraw.
  2729. On 2.0 profile, throw NotSupportedException when setting CheckBoxes to
  2730. true when View is Tile, and do the same when attempting to set View to
  2731. Tile when CheckBoxes is true. Avoid maintaining separate ArrayLists
  2732. for selected/checked indices, as it involves overhead when sorting is
  2733. done while these collections are not used all that often. Instead
  2734. we'll build the indices on demand. Modified IList implementation of
  2735. CheckedIndexCollection to use public methods if object is int.
  2736. Modified CheckedListViewItemCollection to hide checked items if
  2737. ListView.CheckBoxes is false. Removed LAMESPEC remark in
  2738. ListViewItemCollection as the .NET SDK docs have been fixed. Modified
  2739. IList implementation in SelectedIndexCollection to use public methods
  2740. if object is int. Modified SelectedListViewItemCollection to hide
  2741. selected items if listview is not yet created.
  2742. * ListViewItem.cs: CheckedIndices list no longer needs to be
  2743. maintained separately (see ListView changes). Also clone font, fixes
  2744. test failure.
  2745. 2006-09-11 Mike Kestner <[email protected]>
  2746. * ComboBox.cs: if we are updating the contents of the currently
  2747. selected index, refresh the control or the textbox selection.
  2748. [Fixes #79066]
  2749. 2006-09-11 Mike Kestner <[email protected]>
  2750. * ComboBox.cs (UpdateBounds): use SetBounds not SetBoundsCore since
  2751. the 'specified' logic has been moved there. This seems like a bug
  2752. in Control.cs, since our current SetBoundsCore completely ignores
  2753. the specified parameter. Peter's commit seems to indicate that is
  2754. the way the MS control implementation works. [Fixes #79325]
  2755. 2006-09-10 Jonathan Chambers <[email protected]>
  2756. * XplatUI.cs: Set default_class_name to be composed
  2757. of current domain id. This allows MWF to be loaded in multiple
  2758. domains on Win32.
  2759. 2006-09-09 Miguel de Icaza <[email protected]>
  2760. * X11Keyboard.cs: If we are unable to obtain the input method, do
  2761. not call CreateXic to create the input context. Should fix
  2762. #78944/79276.
  2763. 2006-09-08 Alexander Olk <[email protected]>
  2764. * MimeIcon.cs: Rewrote major parts. Dropped KDE support for now.
  2765. Simplified gnome support by adding more pinvokes to get the
  2766. icon for a file or mime type.
  2767. 2006-09-08 Jackson Harper <[email protected]>
  2768. * MenuAPI.cs: Deslect popup context menu items before closing the
  2769. window, so that you don't see the previously selected item
  2770. selected when you reopen the menu.
  2771. * TextControl.cs: Update the cursor position even if we don't have
  2772. focus. This fixes typing in things like the ComboBox. I'm not
  2773. totally sure we should always set the visibility if we don't have
  2774. focus, but couldn't find any corner cases where the cursor showed
  2775. up when it shouldn't.
  2776. 2006-09-08 Chris Toshok <[email protected]>
  2777. * X11Keyboard.cs: In UpdateKeyState vkey can be any integer, but
  2778. our arrays are length 256. & 0xff before indexing. Fixes the
  2779. crash in bug #78077.
  2780. 2006-09-08 Carlos Alberto Cortez <[email protected]>
  2781. * ThemeWin32Classic.cs:
  2782. * DateTimePicker.cs: Draw check box if DateTimePicker.ShowCheckBox
  2783. is true. Handle that check box too.
  2784. 2006-09-07 Chris Toshok <[email protected]>
  2785. * MenuAPI.cs: move the PerformClick call to OnMouseUp. Fixes bug
  2786. 79244.
  2787. 2006-09-07 Chris Toshok <[email protected]>
  2788. * Control.cs: in set_BackColor only do the work if
  2789. background_color != value.
  2790. * XplatUIX11.cs: move the clearing of invalid areas (both client
  2791. and nc) to the same block of code where we set (nc_)expose_pending
  2792. to false. That is, move it from PaintEventEnd to PaintEventStart,
  2793. so things that cause invalidates from within OnPaint will trigger
  2794. another call to OnPaint. Fixes bug #79262.
  2795. 2006-09-07 Alexander Olk <[email protected]>
  2796. * Theme.cs: Use correct icon for UIIcon.PlacesPersonal
  2797. * FileDialog.cs: Fix typo
  2798. 2006-09-07 Jackson Harper <[email protected]>
  2799. * ThemeWin32Classic.cs: oops, forgot to commit. Draw the images
  2800. for tab pages if they have any.
  2801. 2006-09-06 Mike Kestner <[email protected]>
  2802. * Splitter.cs: use the "current" rect when finishing drag handle
  2803. to avoid an artifact demonstrated by resedit.exe. [Fixes #79251]
  2804. 2006-09-06 Mike Kestner <[email protected]>
  2805. * Splitter.cs: draw the drag handle at X or Y instead of 0 to deal
  2806. support offset splitters. [Fixes #79298]
  2807. 2006-09-06 Alexander Olk <[email protected]>
  2808. * Mime.cs: Fixed a bug that could override the global mime type
  2809. result.
  2810. 2006-09-05 Jackson Harper <[email protected]>
  2811. * TabControl.cs: Better calculation method for setting the slider
  2812. pos. Prevents crashes on really wide tabs.
  2813. - Draw Image on tab pages if an image list is used.
  2814. 2006-09-02 Carlos Alberto Cortez <[email protected]>
  2815. * MonthCalendar.cs: When Font changes, the Size should be
  2816. updated to fit the new font's space requirements.
  2817. 2006-09-02 Alexander Olk <[email protected]>
  2818. * ListBox.cs: If the items are cleared with Items.Clear set
  2819. top_index to 0.
  2820. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  2821. * MonthCalendar.cs: Handle arrow keys as input keys. Also
  2822. fire DateChanged event instead of DateSelected event when
  2823. the date was changed by keyboard interaction.
  2824. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  2825. * DateTimePicker.cs: Handle DateChanged for the associated
  2826. month_calendar control, and set month_calendar.Font from
  2827. OnFontChanged method, as well as resize the height of the
  2828. control when needed. Make PreferredHeight proportional.
  2829. 2006-09-01 Chris Toshok <[email protected]>
  2830. * DataGrid.cs: grr, stop overthinking the DataMember/DataSource
  2831. properties.
  2832. * BindingContext.cs (HashKey.GetHashCode): use ^ instead of +.
  2833. 2006-09-01 Peter Dennis Bartok <[email protected]>
  2834. * FileDialog.cs: Set ClientSize instead of window size, to allow space
  2835. for decorations (Fixes #79219)
  2836. 2006-09-01 Mike Kestner <[email protected]>
  2837. * ComboBox.cs: first stab at sorting plus some selection handling
  2838. fixes to bring us more in line with MS behavior. Also switches back
  2839. to index based selection. Alternative patches for index-based
  2840. selection were provided by Jackson Harper, Carlos Alberto Cortez,
  2841. and [email protected] on bug 78848. I assume they were similar to this
  2842. code I've had simmering in my tree forever.
  2843. [Fixes #78848]
  2844. 2006-09-01 Chris Toshok <[email protected]>
  2845. * CurrencyManager.cs (ListChangedHandler): in the ItemAdded case,
  2846. when setting list position guard against ending up with a -1 index
  2847. (the other part of the fix for #78812). Should probably make sure
  2848. we don't need the analogous fix in the ItemDeleted case.
  2849. * DataGrid.cs:
  2850. - in SetDataSource, work around the fact that the way
  2851. OnBindingContextChanged is invoked will cause us to re-enter this
  2852. method. I'll remove the hack once I investigate
  2853. OnBindingContextChanged.
  2854. - fix the logic in set_DataSource and set_DataMember (basically
  2855. what to do if the other of the two is null.)
  2856. - in OnListManagerItemChanged, we need to take into account the
  2857. edit row when deciding whether or not to call RecreateDataGridRows
  2858. (part of the fix for #78812).
  2859. 2006-09-01 Jackson Harper <[email protected]>
  2860. * Splitter.cs: Don't do anything if there is no control to affect
  2861. (prevents us from crashing in weird tet cases).
  2862. * TreeView.cs: Bounding box for the mouse movement reverting
  2863. focus/selection back to previously selected node. This matches
  2864. MS, and makes the tree a lot more useable.
  2865. * GroupBox.cs: Instead of drawing over the lines of the groupbox,
  2866. use clipping so they are not drawn. This fixes when the control
  2867. is set to have a transparent background, or if it was over an
  2868. image.
  2869. 2006-09-01 Alexander Olk <[email protected]>
  2870. * MimeIcon.cs: Improved handling for reading default icons when
  2871. using gnome (2.16 made it necessary). Check and read svg icons
  2872. first, then 48x48 and then 32x32 icons.
  2873. 2006-08-31 Chris Toshok <[email protected]>
  2874. * DataGridTextBoxColumn.cs: only hide the textbox if it's still
  2875. visible.
  2876. * DataGridTextBox.cs: Pass Tab's up to the datagrid by calling
  2877. ProcessKeyPreview. Fixes part of #77806.
  2878. * DataGrid.cs: big patch.
  2879. - revert the queueing up of DataSource/DataMember if inside
  2880. BeginInit/EndInit calls. That's not the way the datagrid achieves
  2881. its delayed databinding. Instead, call SetDataSource in
  2882. OnBindingContextChanged. This mimic's MS's behavior, and fixes
  2883. #78811.
  2884. - Also, it wasn't mentioned in #78811, but the test case exhibits
  2885. behavior that was lacking in our datagrid implementation - Columns
  2886. that have mapping names that don't exist in the datasource's
  2887. properties aren't shown. Yuck. To fix this I added the bound
  2888. field to the column style, and basically any calculation to figure
  2889. out anything about columns uses a loop to find the bound columns.
  2890. still need to investigate if I can cache an array of the bound
  2891. columns or if the indices must be the same.
  2892. - When setting CurrentCell, we no longer abort if the cell being
  2893. edited was in the add row. This fixes the other part of #77806.
  2894. - The new code also fixes #78807.
  2895. * ThemeWin32Classic.cs: perpetrate the same disgusting
  2896. column.bound field hack, and only render bound fields.
  2897. 2006-08-31 Chris Toshok <[email protected]>
  2898. * DataGridColumnStyle.cs: add bound field. this field is true if
  2899. the datasource has a property corresponding to the mapping name.
  2900. * DataGridTableStyle.cs: set the bound field on the column styles
  2901. depending on whether or not we have a column for that property.
  2902. 2006-08-31 Peter Dennis Bartok <[email protected]>
  2903. * Splitter.cs (SetBoundsCore): Don't ignore width/height of the
  2904. splitter control (fixes #79228)
  2905. 2006-08-31 Chris Toshok <[email protected]>
  2906. * DataGridColumnStyle.cs: we need to delay the assignment of
  2907. property descriptor until the last possible moment due to the lazy
  2908. databinding stuff in the datagrid. Also, fix the exceptions
  2909. thrown by CheckValidDataSource to match MS.
  2910. 2006-08-31 Jackson Harper <[email protected]>
  2911. * Form.cs: When activated select the active control, if there is
  2912. no active control, we select the first control.
  2913. * XplatUIX11.cs: If there is no focus control when we get a
  2914. FocusIn event, find the toplevel form and activate it. This
  2915. occurs when you popup a window, it becomes the focus window, then
  2916. you close that window, giving focus back to the main window.
  2917. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  2918. * MonthCalendar.cs:
  2919. * ThemeWin32Classic.cs: Cache Font in bold style, as well
  2920. as StringFormat with Center alignments in MonthCalendar,
  2921. instead of creating new ones when drawing the control.
  2922. Also, draw the month name in bold style.
  2923. 2006-08-30 Peter Dennis Bartok <[email protected]>
  2924. * Control.cs:
  2925. - PerformLayout(): It would seem MS performs the fill even if the
  2926. control is not visible (part of #79218 fix)
  2927. - ResetBackColor(): Use the setter to reset the color, to allow
  2928. overriders to catch the change.
  2929. * Form.cs:
  2930. - .ctor: Call UpdateBounds to adjust client rectangle (part of #79218 fix)
  2931. - CreateHandle(): dito (part of $79218 fix)
  2932. - Don't set an icon if we have a dialog
  2933. * ScrollableControl.cs:
  2934. - set_AutoScrollMinSize: Setting the property enables AutoScroll (#79218)
  2935. - ScrollIntoView(): No need to scroll if control is already visible
  2936. (resolves fixme and fixes #79218)
  2937. 2006-08-30 Carlos Alberto Cortez <[email protected]>
  2938. * MonthCalendar.cs: Change proportions in SingleMonthSize
  2939. to match the aspect of the original control.
  2940. 2006-08-29 Alexander Olk <[email protected]>
  2941. * XplatUIX11.cs: Fix for a metacity/X problem where windows don't
  2942. get updated when they get maximized.
  2943. 2006-08-29 Peter Dennis Bartok <[email protected]>
  2944. * XplatUIX11.cs: Handle windows with no border (Fixes part of #79160)
  2945. 2006-08-29 Chris Toshok <[email protected]>
  2946. * XplatUIX11.cs: when destroying the FocusWindow, send KILLFOCUS.
  2947. 2006-08-29 Jackson Harper <[email protected]>
  2948. * TreeView.cs: Need to track selected node and highlighted node,
  2949. they aren't always the same thing, when the mouse is down on a
  2950. node it is hilighted, but not selected yet.
  2951. - Do the HideSelection stuff right
  2952. - Need to focus on rbutton mouse down. And redraw selection when
  2953. right click is mouse upped.
  2954. 2006-08-29 Mike Kestner <[email protected]>
  2955. * ThemeWin32Classic.cs: draw selections for columns in FullRowSelect
  2956. when SubItems.Count < Columns.Count. [Fixes #79167]
  2957. 2006-08-28 Peter Dennis Bartok <[email protected]>
  2958. * TextControl.cs (FindCursor): Fix math error (Fixes #78402)
  2959. 2006-08-28 Peter Dennis Bartok <[email protected]>
  2960. * XplatUIX11.cs: Preempt the roundtrip for getting the location back
  2961. from X. Only send based on ConfigureNotify if we don't have the
  2962. correct location in hwnd (if the window manager moved us)
  2963. 2006-08-28 Mike Kestner <[email protected]>
  2964. * ListView.cs: remove a TODO.
  2965. * ThemeWin32Classic.cs: implement HideSelection support for ListView.
  2966. [Fixes ListView part of #79166]
  2967. 2006-08-28 Mike Kestner <[email protected]>
  2968. * ListView.cs: move wheel handler to parent since it is focused
  2969. instead of the item_control now. [Fixes #79177]
  2970. 2006-08-28 Mike Kestner <[email protected]>
  2971. * ThemeWin32Classic.cs: only highlight subitems in fullrowselect
  2972. when the control is focused. [Fixes #79171]
  2973. 2006-08-28 Mike Kestner <[email protected]>
  2974. * ListView.cs: size the item and header controls for empty and
  2975. unscrollable views.
  2976. * ThemeWin32Classic.cs: draw disabled backgrounds.
  2977. [Fixes #79187]
  2978. 2006-08-28 Chris Toshok <[email protected]>
  2979. * Form.cs: remove unused "active_form" static field.
  2980. * Hwnd.cs: lock around accesses to static windows collection.
  2981. * Application.cs: lock threads in Exit ().
  2982. 2006-08-28 Chris Toshok <[email protected]>
  2983. * NativeWindow.cs: lock around accesses to window_collection.
  2984. 2006-08-28 Chris Toshok <[email protected]>
  2985. * Control.cs: err, fix this the right way, by locking on controls
  2986. when using it. not by making it synchronized.
  2987. 2006-08-28 Chris Toshok <[email protected]>
  2988. * Control.cs: make the static "controls" field synchronized, as it
  2989. gets updated from multiple threads.
  2990. 2006-08-27 Peter Dennis Bartok <[email protected]>
  2991. * XplatUIX11.cs: PostQuitMessage is thread-specific not app-specific.
  2992. Prevent other threads from exiting when calling thread sets quit state.
  2993. * XEventQueue.cs: Added PostQuitState property
  2994. 2006-08-27 Chris Toshok <[email protected]>
  2995. * AsyncMethodData.cs: add a slot for the window handle.
  2996. * XplatUIX11.cs (SendAsyncMethod): send the event to the right
  2997. window (the destination control's window, not the foster window).
  2998. * Control.cs (BeginInvokeInternal): store the window's handle in
  2999. the AsyncMethodData.
  3000. 2006-08-27 Peter Dennis Bartok <[email protected]>
  3001. * XplatUIX11.cs:
  3002. - PostQuitMessage: Removed resetting S.D display handle, we might have
  3003. another loop started after calling PostQuitMessage (Fixes #79119)
  3004. - Created destructor to reset S.D handle
  3005. 2006-08-27 Peter Dennis Bartok <[email protected]>
  3006. * XplatUIX11.cs (SetCursor): Issue flush after setting the cursor (#79168)
  3007. 2006-08-23 Peter Dennis Bartok <[email protected]>
  3008. * TextControl.cs (Insert): Update the caret position even if we don't
  3009. have a handle yet, just don't call the driver in that case.
  3010. * TextBoxBase.cs (set_SelectedText): Set the Start and End selection
  3011. to the end of the new selection text (Fixes #79184)
  3012. 2006-08-23 Peter Dennis Bartok <[email protected]>
  3013. * Form.cs (Activate): Only activate if the handle is created)
  3014. * Control.c:
  3015. - Mark window as invisible when it's disposed
  3016. - Check if window handle is created when setting window visible,
  3017. instead of relying just on the is_created variable
  3018. - Check if object is disposed when creating the control (Fixes #79155)
  3019. 2006-08-23 Peter Dennis Bartok <[email protected]>
  3020. * ScrollableWindow.cs (ScrollWindow): Don't actually perform layouting
  3021. when allowing layout again. Otherwise we re-generate the anchoring
  3022. distance to the border again and actually alter what the user wanted
  3023. This is ugly, it'd be better if we used DisplayRectangle instead of
  3024. ClientRectangle for Control.UpdateDistances, but that causes us to
  3025. have other problems (initial anchoring positons would be wrong)
  3026. (Fixes #78835)
  3027. 2006-08-23 Peter Dennis Bartok <[email protected]>
  3028. * Control.cs:
  3029. - The size and location setters shouldn't go directly to
  3030. SetBoundsCore, but to SetBounds, which triggers layout on the
  3031. parent, then calls SetBoundsCore. (Related to fix for #78835)
  3032. - SetBounds: Moved actual location update code into this function
  3033. from SetBoundsCore, to match MS. Added call to PerformLayout if
  3034. we have a parent (to trigger resizing of anchored parents if the
  3035. child size has changed (see testcase for #78835)
  3036. * ListBox.cs, Form.cs: Call SetBounds instead of SetBoundsCore to match
  3037. new control code
  3038. * ScrollableControl.cs (CalculateCanvasSize): Use shortcut variable
  3039. 2006-08-23 Peter Dennis Bartok <[email protected]>
  3040. * XplatUIX11.cs: Don't reset the DisplayHandle that's stored in
  3041. System.Drawing when a toplevel window gets closed; there might
  3042. be other toplevel windows belonging to the same app (Fixes #78052)
  3043. 2006-08-26 Alexander Olk <[email protected]>
  3044. * FileDialog.cs: After reading FileDialog settings from mwf_config
  3045. use Desktop prefix only if a real folder doesn't exist anymore.
  3046. * FontDialog.cs: Added char sets.
  3047. It is now possible to select the font, size or style with the
  3048. textboxes.
  3049. 2006-08-25 Kornél Pál <[email protected]>
  3050. * PrintPreviewDialog.cs: Use assembly name constants.
  3051. 2006-08-23 Peter Dennis Bartok <[email protected]>
  3052. * XplatUIWin32.cs (ScrollWindow): Use clipping rectangle arg (prevents
  3053. scrollbar from whacking it's buttons)
  3054. 2006-08-24 Chris Toshok <[email protected]>
  3055. * ScrollableControl.cs: fix #78271. There's a lot of misc stuff
  3056. in this patch (aggregating setting Left/Top/Width/Height to
  3057. setting Bounds on the scrollbars), but the crux of the fix is in
  3058. Recalculate, where we scroll by the remaining scroll_position if
  3059. we're hiding a scrollbar. The 2*$5 reward in the comment is
  3060. serious.
  3061. 2006-08-24 Jackson Harper <[email protected]>
  3062. * MdiClient.cs:
  3063. * MdiWindowManager.cs: If the form is made a non-mdi window we
  3064. need to remove the form closed event so that closing forms works
  3065. correctly.
  3066. 2006-08-24 Jackson Harper <[email protected]>
  3067. * Control.cs: Make IsRecreating internal so that the driver can
  3068. check it
  3069. - Temporarily remove the Hide when controls are removed, its
  3070. making a whole bunch of things not work because visibility isn't
  3071. getting reset elsewhere correctly
  3072. * Form.cs: Need to do a full handle recreation when the mdi parent
  3073. is set.
  3074. * XplatUIX11.cs: If we are recreating handles don't dispose the
  3075. HWNDs. What was happening is the handles were being recreated in
  3076. SendWMDestroyMessages, but then flow continued on in that method
  3077. and destroyed the new handles.
  3078. 2006-08-23 Jackson Harper <[email protected]>
  3079. * Form.cs: MdiClient is always at the back of the bus
  3080. * Control.cs: When the order of items in the collection is changed
  3081. we need to reset the all_controls array
  3082. - do the same sorta setup thats done when adding a control when a
  3083. control is set on the collection.
  3084. 2006-08-23 Peter Dennis Bartok <[email protected]>
  3085. * TextBoxBase.cs (get_Text): Return an empty array if our document
  3086. is empty (fixes #79052)
  3087. 2006-08-23 Peter Dennis Bartok <[email protected]>
  3088. * Control.cs: We should call IsInputChar on only on WM_CHAR but not
  3089. on WM_SYSCHAR messages (fixes #79053)
  3090. 2006-08-23 Chris Toshok <[email protected]>
  3091. * DataGrid.cs: fix flickering when scrolling vertically.
  3092. 2006-08-23 Chris Toshok <[email protected]>
  3093. * DataGrid.cs (EndEdit): only invalidate the row header when we
  3094. need to.
  3095. 2006-08-23 Chris Toshok <[email protected]>
  3096. * ThemeWin32Classic.cs: fix the clip munging of the datagrid paint
  3097. methods. fixes the flicker when scrolling around.
  3098. 2006-08-23 Peter Dennis Bartok <[email protected]>
  3099. * FileDialog.cs: Making sure the control is created before we get a
  3100. chance to use it with BeginInvoke (Fixes #79096)
  3101. 2006-08-23 Chris Toshok <[email protected]>
  3102. * ThemeWin32Classic.cs (DataGridPaintRows): calculate the proper
  3103. width to use when painting the rows.
  3104. 2006-08-23 Peter Dennis Bartok <[email protected]>
  3105. * TextBoxBase.cs:
  3106. - Throw ArgumentException if a negative value is passed to SelectionLength
  3107. - Update the selection end if start is moved. end needs to be always
  3108. after start. (Fixes #79095)
  3109. - Track selection length; MS keeps the selection length even if start
  3110. is changed; reset on all other operations affection selection
  3111. 2006-08-22 Jackson Harper <[email protected]>
  3112. * TreeView.cs: Make sure both scrollbars get displayed and sized
  3113. correctly when the other bar is visible.
  3114. - Use the original clip rectangle for checking if the area between
  3115. the two scrollbars is visible, not the viewport adjusted clipping
  3116. rectangle.
  3117. 2006-08-22 Jackson Harper <[email protected]>
  3118. * Binding.cs: We don't use IsBinding because it requires the
  3119. control to be created, which really shouldn't be necessary just to
  3120. set a property on the control.
  3121. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  3122. * ComboBox.cs: Some CB.ObjectCollection methods must throw
  3123. ArgumentNullReferenceException when the argument is null.
  3124. 2006-08-21 Jackson Harper <[email protected]>
  3125. * Timer.cs: Track the thread that the timer is started in (NOT
  3126. CREATED), this way messages for it will only be triggered on its
  3127. queue.
  3128. * XEventQueue.cs: Track the timers here, this makes timers per
  3129. thread, like MS.
  3130. * XplatUIX11.cs: The timers are moved to the XEventQueue.
  3131. 2006-08-19 Chris Toshok <[email protected]>
  3132. * XplatUIX11.cs: after further communication with pdb, we get the
  3133. best of both worlds. SetZOrder working for un-Mapped windows, and
  3134. no X errors for un-mapped windows.
  3135. 2006-08-19 Chris Toshok <[email protected]>
  3136. * XplatUIX11.cs (SetZOrder): remove the if (!hwnd.mapped) check,
  3137. as it was causing pdn toolbars to not have the correct stacking.
  3138. 2006-08-18 Mike Kestner <[email protected]>
  3139. * ListView.cs : guard against negative ClientArea.Width in scrollbar
  3140. calculation. Not sure why control should ever be setting a negative
  3141. width though. Fixes #78931.
  3142. 2006-08-18 Carlos Alberto Cortez <[email protected]>
  3143. * ComboBox.cs: Throw ArgumentNullException when adding/modifyng
  3144. null items in ObjectCollection class.
  3145. * ListBox.cs.: Likewise.
  3146. 2006-08-18 Atsushi Enomoto <[email protected]>
  3147. * ThemeNice.cs, ThemeClearlooks.cs : remove RadioButton_DrawFocus()
  3148. as the base method in ThemeWin32Classic should work fine.
  3149. Fixed bug #78607.
  3150. 2006-08-18 Jackson Harper <[email protected]>
  3151. * Binding.cs: When validating if the value entered doesn't convert
  3152. properly reset to the old value.
  3153. * RadioButton.cs: Don't fire click when we get focus.
  3154. 2006-08-18 Jackson Harper <[email protected]>
  3155. * FileDialog.cs: Paint the selection on the directory combobox the
  3156. same way as on MS.
  3157. 2006-08-17 Jackson Harper <[email protected]>
  3158. * ErrorProvider.cs: Don't allow the error control to be selected.
  3159. * Control.cs: Don't send the SetFocus messages, the control
  3160. activation will do this, and if we do it blindly here validation
  3161. does not work.
  3162. 2006-08-17 Jackson Harper <[email protected]>
  3163. * Control.cs:
  3164. * ContainerControl.cs: Make validation events fire in the correct
  3165. order. TODO: For some reason the first validation event is not
  3166. getting fired.
  3167. 2006-08-17 Mike Kestner <[email protected]>
  3168. * ComboBox.cs : some null guarding for ComboListBox.Scroll.
  3169. 2006-08-17 Mike Kestner <[email protected]>
  3170. * ComboBox.cs : implement scroll wheel support for popped-down
  3171. state. Fixes #78945.
  3172. 2006-08-17 Jackson Harper <[email protected]>
  3173. * TreeView.cs: Specify treeview actions (old patch that didn't get
  3174. committed for some reason).
  3175. - Don't let the mouse wheel scroll us too far. Just want to make
  3176. the bottom node visible, not scroll it all the ways to the top.
  3177. 2006-08-17 Jackson Harper <[email protected]>
  3178. * XplatUIX11.cs: Mouse wheel events go to the focused window.
  3179. 2006-08-17 Mike Kestner <[email protected]>
  3180. * ComboBox.cs : don't do mouseover selection in simple mode.
  3181. 2006-08-16 Jackson Harper <[email protected]>
  3182. * Form.cs: Fire the closing events for all the mdi child windows
  3183. when a window is closed. If the cancel args are set to true, the
  3184. main window still gets the event fired, but it doesn't not close.
  3185. * MdiWindowManager.cs: Do this closing cleanup in a Closed
  3186. handler, instead of when the button is clicked, so cancelling the
  3187. close works correctly.
  3188. * ComboBox.cs: Send the mouse down to the scrollbar.
  3189. 2006-08-16 Carlos Alberto Cortez <[email protected]>
  3190. * ListBox.cs: When passing 'null' to SelectedItem,
  3191. set SelectedIndex to -1, to unselect items. This is the
  3192. observed behaviour in .Net.
  3193. 2006-08-16 Peter Dennis Bartok <[email protected]>
  3194. * TextBoxBase.cs: Overriding HandleClick to get clicks in spite of
  3195. MS flags saying there won't be any. (fixes #78800)
  3196. * Control.cs (HandleClick): Made virtual
  3197. 2006-08-16 Atsushi Enomoto <[email protected]>
  3198. * PageSetupDialog.cs : use Yard-Pound units only in en-GB and en-US
  3199. cultures. Fixed bug #78399.
  3200. 2006-08-16 Jackson Harper <[email protected]>
  3201. * Form.cs: Use the MdiClients MdiChildren property to access
  3202. MdiChildren instead of creating the array from the child controls.
  3203. * MdiClient.cs: Maintain a separate array of the mdi children, so
  3204. that insertion order is maintained when the Z-order is changed.
  3205. 2006-08-16 Mike Kestner <[email protected]>
  3206. * ListView.cs : add an ItemComparer and default to it for sorting.
  3207. Fixes #79076, but sorting needs a complete overhaul to be compat with
  3208. MS.
  3209. 2006-08-15 Peter Dennis Bartok <[email protected]>
  3210. * XplatUIX11.cs (SetZOrder): Fix debugging leftover (fixes #79080)
  3211. 2006-08-15 Peter Dennis Bartok <[email protected]>
  3212. * Hwnd.cs (Mapped): Properly traverse the tree
  3213. 2006-08-15 Chris Toshok <[email protected]>
  3214. * Binding.cs: fix PullData/SetPropertyValue. We don't want to
  3215. pass manager.Current.GetType() to ParseData. It has to be the
  3216. property type. So, hold off doing the ParseData until we're in
  3217. SetPropertyValue where we know the type. This fixes the crash in
  3218. #78821 but the textbox is still empty.
  3219. 2006-08-15 Chris Toshok <[email protected]>
  3220. * DataGrid.cs:
  3221. - when we're scrolling, only call Edit() again if the
  3222. current cell is still unobscured. Fixes bug #78927.
  3223. - when handling mousedown on a cell, ensure the cell is visible
  3224. before calling Edit.
  3225. - remove the properties from DataGridRow, and remove the
  3226. DataGridParentRow class altogether.
  3227. 2006-08-15 Peter Dennis Bartok <[email protected]>
  3228. * TextBoxBase.cs (set_Text): Don't use base.Text, instead just
  3229. fire OnTextChanged by ourselves. There's no point calling base,
  3230. we don't set the base value anywhere else. Fixes #78773.
  3231. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  3232. * ListBox.cs: Call CollectionChanged when modifying
  3233. an item from Items indexer, to update the actual items
  3234. in the list box.
  3235. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  3236. * PrintDialog.cs: Small fixes for focus and a pair of checks,
  3237. to match .Net behaviour.
  3238. 2006-08-15 Peter Dennis Bartok <[email protected]>
  3239. * XplatUIX11.cs (SetZOrder): Handle raising toplevel windows
  3240. 2006-08-15 Peter Dennis Bartok <[email protected]>
  3241. * Control.cs: Handle BringToFront for toplevel windows (Fixes #78737)
  3242. 2006-08-15 Peter Dennis Bartok <[email protected]>
  3243. * MessageBox.cs: Prevent potential NRE exception.
  3244. * TextBoxBase.cs: AutoSize only applies if MultiLine is false. Fixes #78889
  3245. 2006-08-14 Peter Dennis Bartok <[email protected]>
  3246. * MessageBox.cs: Calculate the owner of a messagebox, also make
  3247. it topmost. Fixes #78753
  3248. 2006-08-14 Chris Toshok <[email protected]>
  3249. * XplatUIX11.cs: A couple of fixes so that metacity will let us
  3250. programmatically move windows. first, set the PPosition hint as
  3251. well as the USPosition hint. Second include some code from pdb
  3252. that sets the window type to NORMAL when we set the transient for
  3253. hint. This is because, in the absence of a window type, metacity
  3254. thinks any window with TransientFor set is a dialog, and refuses
  3255. to let us move it programmatically. fascists.
  3256. 2006-08-14 Peter Dennis Bartok <[email protected]>
  3257. * XplatUIX11.cs: When setting normal hints, take into consideration
  3258. an different hints previously set so we don't delete them (fixes #78866)
  3259. 2006-08-12 Chris Toshok <[email protected]>
  3260. * ToolBarButton.cs: make Layout return a boolean, if something to
  3261. do with the button's layout changed.
  3262. * ToolBar.cs:
  3263. - add another parameter to Redraw, @force, which all existing
  3264. calls set to true.
  3265. - make the Layout function return a boolean which is true if the
  3266. layout has actually changed. Redraw now uses this (and @force)
  3267. to determine when to invalidate. At present the only place
  3268. where @force can be false is the call from OnResize, when
  3269. background_image == null. So, resizing a toolbar when the
  3270. layout doesn't change results in no drawing.
  3271. 2006-08-12 Chris Toshok <[email protected]>
  3272. * ThemeWin32Classic.cs: fix the bottom right corner painting. had
  3273. the VScrollBar and HScrollbar reversed. oops.
  3274. * DataGrid.cs: fix the logic that assigns sizes to the implicit
  3275. scrollbars. we were assigning them twice (once in
  3276. Calc{Horiz,Vertical}Scrollbar, and once in CalcGridAreas),
  3277. therefore causing two scrollbar resizes (and redraws?) to happen
  3278. per grid resize.
  3279. 2006-08-12 Chris Toshok <[email protected]>
  3280. * ToolBarButton.cs: redraw the entire button if the theme tells us
  3281. to.
  3282. * Theme.cs: add ToolBarInvalidateEntireButton.
  3283. * ThemeWin32Classic.cs: we don't need to redraw the entire toolbar
  3284. buttons, just the border.
  3285. * ThemeNice.cs: redraw the entire toolbar button since we need to
  3286. draw the highlight image.
  3287. * ThemeClearlooks.cs: the rounded corners of toolbar buttons mean
  3288. we need to redraw the entire button (not just the border).
  3289. 2006-08-11 Peter Dennis Bartok <[email protected]>
  3290. * TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
  3291. for vertical bars. Fixes the mismatches shown by #78513
  3292. 2006-08-11 Alexander Olk <[email protected]>
  3293. * FileDialog.cs: If a saved/remembered path doesn't exist
  3294. anymore, fall back to "Desktop".
  3295. 2006-08-11 Peter Dennis Bartok <[email protected]>
  3296. * Form.cs (CreateParams): Don't use Parent.Handle unless we have a
  3297. parent. It's apparently legal to not have one
  3298. * XplatUIX11.cs:
  3299. - SetZOrder: Don't try to set Z-Order on an unmapped window
  3300. - CreateWindow: 0,0 are legal coordinates for a window. don't move
  3301. it unless the coordinates are negative
  3302. 2006-08-10 Mike Kestner <[email protected]>
  3303. * ListControl.cs: allow null for DataSource. Clear DisplayMember
  3304. when setting to null per msdn docs. Fixes #78854.
  3305. 2006-08-10 Chris Toshok <[email protected]>
  3306. * Menu.cs, MainMenu.cs, MenuAPI.cs: get rid of most of the
  3307. flickering by setting a clip rectangle on the Graphics when we
  3308. need to redraw just a particular menuitem. Also, rename "OnClick"
  3309. to "OnMouseDown" to reflect what it actually is.
  3310. * Form.cs: track the OnMouseDown change.
  3311. 2006-08-10 Peter Dennis Bartok <[email protected]>
  3312. * CommonDialog.cs: Properly inherit the CreateParams from the form
  3313. and only change what we need. Fixes #78865
  3314. 2006-08-10 Chris Toshok <[email protected]>
  3315. * ToolBar.cs, ToolBarButton.cs: fix the redraw-on-highlight
  3316. flickering in flat mode (and most of the flickering in general) by
  3317. only invalidating the button border (and not the entire rectangle)
  3318. when the state changes. A couple of cases still flicker:
  3319. ToggleButtons, and the dropdown arrow case when the user mouse
  3320. ups.
  3321. 2006-08-10 Alexander Olk <[email protected]>
  3322. * X11Keyboard.cs: Fixed handling of the Del key on the cursorblock
  3323. for german keyboards. Numlock state shouldn't affect the behaviour
  3324. of the Del key. Fixes bug #78291.
  3325. 2006-08-10 Chris Toshok <[email protected]>
  3326. * ListControl.cs: remove the items.Clear line from BindDataItems,
  3327. as this is the first thing done by both subclasses in their
  3328. SetItemsCore overrides. Also, add a ItemChanged handler, and when
  3329. passed -1, refresh the list. This gets databinding working when
  3330. the datasource is set on the list before the datasource is
  3331. populated (as in wf-apps/ReportBuilder.)
  3332. * ComboBox.cs: remove the argument to BindDataItems. This call
  3333. should really go away, and be initiated by the ListControl code.
  3334. * ListBox.cs: same.
  3335. 2006-08-09 Peter Dennis Bartok <[email protected]>
  3336. * TextControl.cs (Document.ctor): Initialize caret so we don't crash
  3337. if no data is in the document when the control is displayed
  3338. 2006-08-09 Peter Dennis Bartok <[email protected]>
  3339. * TextBoxBase.cs: Don't try moving the caret if we don't have a window
  3340. yes (fixes #78806)
  3341. * TextControl.cs:
  3342. - PositionCaret: Allow positioning of caret but don't call methods
  3343. requiring a handle if the window isn't created yet
  3344. - CharIndexToLineTag: Fix ending loop early error. Lines is 1 based
  3345. - owner_HandleCreated: Don't position the caret, just update it's
  3346. location. User might have already set a different position
  3347. 2006-08-09 Peter Dennis Bartok <[email protected]>
  3348. * XplatUIWin32.cs: Don't use the desktop as basis for foster-parented
  3349. windows. Screws up the returned coordinates for child windows.
  3350. Fixes #78825. I'm hoping this doesn't break something, since the
  3351. code was explicitly put in 8 months ago, but no bug was attached.
  3352. Menus still seem to work properly.
  3353. 2006-08-08 Chris Toshok <[email protected]>
  3354. * DataGrid.cs: make BeginInit/EndInit actually do what they're
  3355. supposed to do - delay data binding until the EndInit call. Also,
  3356. make the table style collection's CollectionChangeAction.Refresh
  3357. work properly.
  3358. * GridTableStylesCollection.cs: raise a CollectionChangeEvent
  3359. (with action = Refresh) when a consituent table's MappingName is
  3360. changed.
  3361. 2006-08-08 Chris Toshok <[email protected]>
  3362. * ToolBarButton.cs: in set_Text, call Parent.Redraw, not
  3363. Invalidate, since changing the text can change the size of the all
  3364. toolbar buttons.
  3365. 2006-08-08 Peter Dennis Bartok <[email protected]>
  3366. * Form.cs (AddOwnedForm): Still need to add the form to our listif
  3367. we don't have it yet
  3368. 2006-08-08 Chris Toshok <[email protected]>
  3369. * PrintControllerWithStatusDialog.cs: don't .Close() the status
  3370. dialog, as this causes X errors later on, since we actually
  3371. destroy the window. Instead, .Hide() it.
  3372. 2006-08-08 Peter Dennis Bartok <[email protected]>
  3373. * ComboBox.cs: Added focus reflection for popup window
  3374. * XplatUIX11.cs:
  3375. - Removed transient setting for non-app windows for now, not sure it
  3376. was needed
  3377. - Fixed logic checking if we have captions when deciding
  3378. override_redirect, WS_CAPTION is two bits and a 0 check was not
  3379. sufficient
  3380. - Removed the WINDOW_TYPE stuff, it was unneeded and making things
  3381. complicated
  3382. * Form.cs:
  3383. - AddOwnedForm: Don't just add the form to the list, call the property
  3384. to ensure the driver is informed about the ownership as well
  3385. - CreateHandle: Set the TopMost status in the driver if we have an owner
  3386. * XplatUI.cs: Fixed debug statement
  3387. 2006-08-08 Jonathan Pobst <[email protected]>
  3388. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  3389. GroupBoxRenderer.cs, ProgressBarRenderer.cs, RadioButtonRenderer.cs,
  3390. ScrollBarRenderer.cs, TabRenderer.cs, TextBoxRenderer.cs,
  3391. TrackBarRenderer.cs: Make constructor private.
  3392. * ProfessionalColors.cs, ProfessionalColorTable.cs: Fix misnamed properties.
  3393. * ProfessionalColorTable.cs: Make properties virtual.
  3394. 2006-08-06 Duncan Mak <[email protected]>
  3395. * NumericUpDown.cs (Value): Don't call OnValueChanged if the value
  3396. is not changing.
  3397. 2006-08-04 Jonathan Pobst <[email protected]>
  3398. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  3399. GroupBoxRenderer.cs, ProfessionalColors.cs, ProfessionalColorTable.cs,
  3400. ProgressBarRenderer.cs, RadioButtonRenderer.cs, ScrollBarRenderer.cs,
  3401. TabRenderer.cs, TextBoxRenderer.cs, TextRenderer.cs, TrackBarRenderer.cs:
  3402. Initial import of new 2.0 classes.
  3403. 2006-08-04 Jonathan Pobst <[email protected]>
  3404. * Application.cs: Add 2.0 VisualStyles properties.
  3405. 2006-08-04 Jonathan Pobst <[email protected]>
  3406. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  3407. XplatUIX11.cs: Create property to allow access to existing private
  3408. variable "themes_enabled"
  3409. 2006-08-04 Gonzalo Paniagua Javier <[email protected]>
  3410. * ImageListStreamer.cs: generate the MemoryStreams with the exact BMP
  3411. file size, as otherwise our class libraries fail using windows. Fixes
  3412. bug #78759.
  3413. 2006-08-04 Jackson Harper <[email protected]>
  3414. * Form.cs:
  3415. * XplatUIX11.cs: Move the toolwindow window manager creation into
  3416. the X11 driver, this way on win32 we can let windows create/handle
  3417. the toolwindows.
  3418. 2006-08-04 Carlos Alberto Cortez <[email protected]>
  3419. * PrintDialog.cs: Remove some redundant checks, add some others,
  3420. clean some code, and move the focus to the text boxes when the
  3421. values are incorrect.
  3422. 2006-08-04 Alexander Olk <[email protected]>
  3423. * FontDialog.cs: Remove Form.MinimumSize. It's not needed.
  3424. 2006-08-03 Alexander Olk <[email protected]>
  3425. * NumericUpDown.cs: Setting the Minimum and Maximum is now
  3426. handled correctly. Fixes bug #79001.
  3427. 2006-08-03 Carlos Alberto Cortez <[email protected]>
  3428. * PrintDialog.cs: The "Copies" numeric up down must have
  3429. set the Minimum property to 1; only if the value is bigger
  3430. than 1, activate "Collate" check box. This is the behaviour of .Net.
  3431. Also modify the Document elements only if it is not null.
  3432. 2006-08-03 Jackson Harper <[email protected]>
  3433. * TreeNodeCollection.cs: Fix copyto to use the correct nodes
  3434. length. (We have a larger array then actual node count).
  3435. 2006-08-03 Jackson Harper <[email protected]>
  3436. * ComboBox.cs: Don't show selection by default.
  3437. - The SelectAll isn't needed here, since the focus code should do
  3438. that
  3439. - DDL style lists to manual selection drawing, so when they
  3440. get/lose focus they have to invalidate.
  3441. 2006-08-03 Peter Dennis Bartok <[email protected]>
  3442. * TextBoxBase.cs: Don't always show all selections by default.
  3443. 2006-08-03 Jonathan Pobst <[email protected]>
  3444. * ControlUpdateMode.cs, DataSourceUpdateMode.cs,
  3445. HelpNavigator.cs, WebBrowserEncryptionLevel.cs:
  3446. Fixed various typos.
  3447. 2006-08-03 Alexander Olk <[email protected]>
  3448. * Control.cs: Removing the controls in a ControlCollection with
  3449. Clear now hides the controls as expected. Fixes bug #78804.
  3450. 2006-08-03 Jackson Harper <[email protected]>
  3451. * Control.cs: Revert previous focus patch, it breaks reflector.
  3452. 2006-08-03 Jackson Harper <[email protected]>
  3453. * ComboBox.cs: Cleanup selection and focus with the combobox.
  3454. This also eliminates some duplicated keyboard code, since now
  3455. everything is handled by the main class.
  3456. - Make list selection work on mouse up instead of down, to match
  3457. MS.
  3458. 2006-08-02 Jackson Harper <[email protected]>
  3459. * Control.cs: Setting focus needs to go through the whole
  3460. selection mechanism.
  3461. 2006-08-02 Chris Toshok <[email protected]>
  3462. * PrintPreviewDialog.cs: change MinimumSize to use
  3463. base.MinimumSize so it works.
  3464. 2006-08-02 Peter Dennis Bartok <[email protected]>
  3465. * TextControl.cs:
  3466. - UpdateCaret: Added sanity check in case caret isn't defined yet
  3467. - Line.Delete: Now updating selection and caret markers if we're
  3468. transfering a node (Properly fixes #78323)
  3469. - SetSelectionEnd: Added sanity check
  3470. * TextBoxBase.cs: Removed broken attempt to fix #78323
  3471. 2006-08-01 Chris Toshok <[email protected]>
  3472. * PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
  3473. Close() call is handled in Form, not here.
  3474. 2006-08-01 Chris Toshok <[email protected]>
  3475. * Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
  3476. layout/rendering.
  3477. * PrintPreviewDialog.cs: add scrollbars, and add an image cache
  3478. for sizes < 100% zoom. The code now aggressively attempts to keep
  3479. from calling document.Print (), and tries not to use the scaling
  3480. g.DrawImage whenever possible (it still does if you scale to >
  3481. 100%, since usually that involves huge images).
  3482. * PrintPreviewControl.cs: hook up the close button.
  3483. 2006-08-01 Jonathan Pobst <[email protected]>
  3484. * ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
  3485. ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
  3486. ItemDragEventHandler.cs, LabelEditEventHandler.cs,
  3487. LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
  3488. MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
  3489. PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
  3490. SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
  3491. Removed [Serializable] for 2.0 Event Handlers.
  3492. 2006-07-31 Jackson Harper <[email protected]>
  3493. * TextBoxBase.cs: Make ShowSelection invalidate when changed.
  3494. * TextControl.cs: Uncomment out the body of this method.
  3495. 2006-07-31 Alexander Olk <[email protected]>
  3496. * XplatUIX11.cs: Use the correct cursor shapes for arrow and default
  3497. standard cursors.
  3498. 2006-07-31 Peter Dennis Bartok <[email protected]>
  3499. * TextBoxBase.cs: Added internal property ShowSelection to allow controls
  3500. that embed TextBox and need selections visible even if textbox is not
  3501. focused to enforce that behaviour.
  3502. * TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
  3503. selection drawing
  3504. 2006-07-31 Peter Dennis Bartok <[email protected]>
  3505. * TextControl.cs:
  3506. - Added new SetSelectionStart/SetSelectionEnd overloads
  3507. - Fixed viewport width assignment to be accurate
  3508. - Adjusted alignment line shift calculations to allow cursor on right
  3509. aligned lines to be always visible at the right border (like MS)
  3510. * TextBoxBase.cs:
  3511. - SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
  3512. - TextBoxBase_SizeChanged: recalculating canvas on size changes
  3513. - CalculateScrollBars: Use ViewPort size instead of window size, to
  3514. properly consider space occupied by the border and scrollbars
  3515. (Fixes #78661)
  3516. - hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
  3517. calculations; no longer leaves artifacts
  3518. - CaretMoved: Adjusted window scrolling to match MS and fixed several
  3519. calculation bugs (Still missing right/center align calculations)
  3520. 2006-07-31 Peter Dennis Bartok <[email protected]>
  3521. * XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
  3522. use of both scroll rect and clip rect, as they do the same.
  3523. 2006-07-31 Peter Dennis Bartok <[email protected]>
  3524. * Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
  3525. in the event handler (fixes #78912)
  3526. 2006-07-31 Chris Toshok <[email protected]>
  3527. * ThemeWin32Classic.cs: use grid.RowsCount here instead of
  3528. grid.ListManager.Count, since grid.ListManager might be null.
  3529. This of course begs the question "why are we drawing rows for a
  3530. grid with no list manager (and therefor no rows)?" Fixes the
  3531. crash in bug #78929.
  3532. 2006-07-31 Chris Toshok <[email protected]>
  3533. * RelatedPropertyManager.cs: Don't always chain up to the parent
  3534. ctor. instead, call SetDataSource if the parent's position is !=
  3535. -1. Fixes the crash in #78822.
  3536. 2006-07-31 Chris Toshok <[email protected]>
  3537. * DataGrid.cs (get_ListManager): use field instead of property
  3538. accessors for datasource and datamember.
  3539. (RowsCount): make internal again.
  3540. (OnMouseDown): end edits before resizing columns/rows.
  3541. (OnMouseUp): restart edits after resizing columns/rows.
  3542. 2006-07-30 Peter Dennis Bartok <[email protected]>
  3543. * XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
  3544. This fixes the situation where the last set cursor is displayed
  3545. whenever the mouse is over scrollbars.
  3546. 2006-07-30 Carlos Alberto Cortez <[email protected]>
  3547. * PrintDialog.cs: Fix the behaviour of PrinterSettings and
  3548. Document properties, as well as initial values.
  3549. 2006-07-29 Peter Dennis Bartok <[email protected]>
  3550. * XplatUIWin32.cs (SetBorderStyle): Setting both border
  3551. and ClientEdge results in a 3-pixel border, which is
  3552. wrong.
  3553. 2006-07-28 Jackson Harper <[email protected]>
  3554. * TreeNodeCollection.cs: Fix the clear method.
  3555. - Fix the Shrink also
  3556. 2006-07-27 Jackson Harper <[email protected]>
  3557. * TreeView.cs: Make sure the visible order is computed when we
  3558. attempt to size the scrollbars (for trees that mess with the
  3559. scrolling when they shouldn't.
  3560. - Make sure to give the scrollbars valid values.
  3561. 2006-07-26 Peter Dennis Bartok <[email protected]>
  3562. * XplatUIX11.cs: Move motion compression code to where it
  3563. has less performance impact
  3564. 2006-07-26 Jackson Harper <[email protected]>
  3565. * UpDownBase.cs: When the control is selected make the child
  3566. controls non selectable, so that a click on them won't do a
  3567. focus/unfocus cycle.
  3568. - Don't give focus to the text box when the spinner is selected.
  3569. * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
  3570. 2006-07-26 Chris Toshok <[email protected]>
  3571. * ThemeWin32Classic.cs: add print preview rendering. I'm not
  3572. satisfied with this solution. If the bitmaps are small, we should
  3573. just cache them in the PrintPreviewDialog and draw them here.
  3574. Also, the layout is broken for the 2-up and 3-up cases.
  3575. * Theme.cs: add PrintPReviewControlPaint.
  3576. * PrintPreviewDialog.cs: first pass implementation.
  3577. * PrintPreviewControl.cs: first pass implementation. No
  3578. scrollbars yet.
  3579. * PrintDialog.cs: only validate fields if that particular portion
  3580. of the UI is enabled. Also, set the document's controller to a
  3581. PrintControllerWithStatusDialog wrapping the document's print
  3582. controller.
  3583. * PrintControllerWithStatusDialog.cs: if we're printing to a file,
  3584. bring up a SaveFileDialog (i hope we don't want to match the
  3585. behavior of the crappy windows file entry) and set the
  3586. PrinterSettings.PrintFileName accordingly.
  3587. 2006-07-26 Jackson Harper <[email protected]>
  3588. * ContainerControl.cs: Add a field that disables auto selecting
  3589. the next control in a container when the container is activated.
  3590. * UpDownBase.cs: Don't select the text box when the up down is
  3591. selected.
  3592. 2006-07-26 Peter Dennis Bartok <[email protected]>
  3593. * XEventQueue.cs: Added methods for peeking (used for compression
  3594. of successive events)
  3595. * XplatUIX11.cs (GetMessage): We're now compressing consecutive
  3596. mouse move events (fixes #78732)
  3597. 2006-07-25 Jackson Harper <[email protected]>
  3598. * UpDownBase.cs: Use an internal class for the textbox so that we
  3599. can control focus. the updown control should always have focus,
  3600. if either the text area or the buttons are clicked.
  3601. - Send the key messages to the textbox, since it never actually
  3602. has focus
  3603. - Activate and decativate the textbox caret.
  3604. 2006-07-24 Jackson Harper <[email protected]>
  3605. * Control.cs: Use the directed select when selecting a control,
  3606. this way the container controls override will get called and the
  3607. whole ActiveControl chain will get triggered. TODO: probably need
  3608. to make sure this gets done everywhere instead of the old
  3609. Select(Control).
  3610. * ContainerControl.cs: Implement the directed Select method to
  3611. find and activate the correct child control.
  3612. 2006-07-22 Mike Kestner <[email protected]>
  3613. * Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
  3614. menu handling code so that clicks without a grab work too.
  3615. [Fixes #78914]
  3616. 2006-07-22 Alexander Olk <[email protected]>
  3617. * FileDialog.cs: Enable the BackButton when dirstack has one element.
  3618. Added some small optimizations.
  3619. 2006-07-21 Matt Hargett <[email protected]>
  3620. * Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties
  3621. 2006-07-21 Peter Dennis Bartok <[email protected]>
  3622. * Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  3623. tests pass and match MS in some strange border cases.
  3624. 2006-07-21 Chris Toshok <[email protected]>
  3625. * ThemeWin32Classic.cs: handle drawing of the relation links and
  3626. parent row buttons.
  3627. * Theme.cs: change args to DataGridPaintParentRow.
  3628. * DataGrid.cs: Don't use controls for the relation links and
  3629. parent buttons, so we have to handle all their interactions in
  3630. MouseMove, MouseDown, MouseUp, etc. Also, store a lot more stuff
  3631. when we're navigating through child tables, so we can reinstate
  3632. selection, expanded state, current cell, etc.
  3633. 2006-07-20 Chris Toshok <[email protected]>
  3634. * ToolBar.cs: When we redraw a button, for whatever reason,
  3635. there's no reason to redraw the entire toolbar. Also, don't call
  3636. Control.Refresh from within Redraw, as it's much heavier than
  3637. Invalidate (which is really what we want).
  3638. 2006-07-20 Chris Toshok <[email protected]>
  3639. * DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
  3640. DataGridTextBoxColumn.cs, DataGridTextBox.cs,
  3641. ThemeWin32Classic.cs, ListControl.cs: After staring at stack
  3642. traces from within a debug IBindingList datasource
  3643. (in mono/winforms/datagrid) for *days*, I've finally gotten things
  3644. to work in a similar fashion.
  3645. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  3646. * ListBox.cs: Don't call Sort () when setting
  3647. the Sorted property to false (avoid an unnecessary sort).
  3648. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  3649. * ListControl.cs: DataSource should throw an ArgumentException
  3650. instead of a normal exception when the argument is not of the
  3651. correct type.
  3652. 2006-07-20 Mike Kestner <[email protected]>
  3653. * Control.cs: add InternalPreProcessMessage to allow us to steal
  3654. key events before MWF gets its paws on them. Adapted from a
  3655. suggestion by eno.
  3656. * ToolBar.cs: add GotLostFocus handing for flat toolbars, with
  3657. up/down/left/right navigation. Override the new internal control
  3658. method to steal the events since they never make it to WndProc.
  3659. * ToolBarButton.cs: don't worry about pushed when setting hilight
  3660. since the drawing code prefers pushed to hilight. Invalidate on
  3661. Hilight changes. Fixes #78547 and #78525.
  3662. 2006-07-20 Peter Dennis Bartok <[email protected]>
  3663. * ScrollableControl.cs: Consider AutoScrollMinSize when calculating
  3664. the canvas size. Fixes #78868
  3665. 2006-07-20 Peter Dennis Bartok <[email protected]>
  3666. * Splitter.cs: Track requested split position until first layout
  3667. is performed. Fixes #78871
  3668. 2006-07-20 Peter Dennis Bartok <[email protected]>
  3669. * Application.cs: Removed code that forces 1.x for the version
  3670. number if the version started with 0. Not sure why that code was
  3671. there and I couldn't find any bugs that indicated we needed it.
  3672. Fixes #78869
  3673. 2006-07-20 Alexander Olk <[email protected]>
  3674. * ThemeWin32Classic.cs: Don't throw a NotImplementedException in
  3675. ResetDefaults(), just write some output to the console until it's
  3676. implemented. Fixes bug #78907 for now. Eliminated two warnings.
  3677. 2006-07-19 Jonathan Chambers <[email protected]>
  3678. * PropertyGridView.cs: set StartPosition of drop down forms
  3679. so they appear in correct initial spot. Fixes #78190.
  3680. 2006-07-19 Mike Kestner <[email protected]>
  3681. * ThemeWin32Classic.cs: use parent background color when drawing
  3682. flat toolbars. Restructure the conditionals to make sure non-flat
  3683. non-Divider toolbars are filled too. Fixes #78837.
  3684. 2006-07-19 Mike Kestner <[email protected]>
  3685. * ListBox.cs: Sort on collection changes even if the handle
  3686. isn't created yet. Fixes #78813.
  3687. 2006-07-18 Carlos Alberto Cortez <[email protected]>
  3688. * ListControl.cs: DisplayMember should never be null,
  3689. and now we assign String.Empty when null is passed to it (this
  3690. is the .Net way).
  3691. 2006-07-17 Mike Kestner <[email protected]>
  3692. * ListViewItem.cs: restructure Font and subitem Font handling
  3693. to hold a specific font and refer back to owner on null.
  3694. Fixes #78761.
  3695. 2006-07-17 Mike Kestner <[email protected]>
  3696. * ToolBar.cs: bandaid for side-effect of previous patch which was
  3697. discarding explicit heights for non-AutoSize toolbars. Need to
  3698. extend my format tester to deal with AutoSize=false. Fixes #78864.
  3699. 2006-07-15 Jackson Harper <[email protected]>
  3700. * LabelEditTextBox.cs:
  3701. * TreeView.cs: Use a new LabelEdit class for node editing, this
  3702. class automatically 'closes' itself when it gets the enter key or
  3703. loses focus.
  3704. - Use the client rectangle when setting the trees scrollbars, so
  3705. border style is taken into account.
  3706. 2006-07-14 Jackson Harper <[email protected]>
  3707. * TreeNode.cs:
  3708. * TreeView.cs: Make the editing work similar to MSs, firing the
  3709. events correctly and ending edits correctly.
  3710. 2006-07-14 Mike Kestner <[email protected]>
  3711. * ToolBarButton.cs:
  3712. * ToolBar.cs: layout restructuring and redraw enhancements to support
  3713. formatting changes gracefully, like setting TextAlign, ImageList,
  3714. ButtonSize, and Appearance. Handles explicit button sizing quirks
  3715. of the MS controls. Things like flat toolbars ignoring button size
  3716. but becoming constant sized at the largest button's size. Normal
  3717. toolbars with an image set cannot be shrunk smaller than the image,
  3718. but text can be clipped/ignored.
  3719. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  3720. is zero. Seems like DrawString should be smart enough to not put
  3721. anything on screen though. Also trim labels and ellipsize at the char
  3722. boundary, not word.
  3723. Fixes #78711 and #78483.
  3724. 2006-07-14 Alexander Olk <[email protected]>
  3725. * FolderBrowserDialog.cs: Disable "New Folder" button and
  3726. "New Folder" contextmenu menuitem if a folder like "My Computer"
  3727. is selected.
  3728. 2006-07-14 Alexander Olk <[email protected]>
  3729. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  3730. * FolderBrowserDialog.cs:
  3731. - Use MWFConfig to store and read size and position settings
  3732. - Added code to create a new folder (button or context menu).
  3733. Use TreeView labeledit to change the name of the new folder.
  3734. 2006-07-14 Jackson Harper <[email protected]>
  3735. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  3736. when the tree is scrolled we end editing.
  3737. 2006-07-14 Alexander Olk <[email protected]>
  3738. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  3739. Down arrows
  3740. 2006-07-14 Jonathan Pobst <[email protected]>
  3741. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  3742. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  3743. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  3744. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  3745. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  3746. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  3747. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  3748. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  3749. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  3750. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  3751. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  3752. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  3753. ListViewItemSelectionChangedEventHandler.cs,
  3754. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  3755. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  3756. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  3757. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  3758. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  3759. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  3760. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  3761. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  3762. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  3763. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  3764. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  3765. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  3766. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  3767. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  3768. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  3769. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  3770. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  3771. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  3772. WebBrowserNavigatingEventHandler.cs,
  3773. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  3774. 2006-07-14 Jonathan Pobst <[email protected]>
  3775. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  3776. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  3777. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  3778. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  3779. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  3780. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  3781. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  3782. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  3783. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  3784. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  3785. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  3786. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  3787. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  3788. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  3789. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  3790. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  3791. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  3792. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  3793. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  3794. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  3795. ListViewItemStates.cs, MaskFormat.cs: Added
  3796. 2006-07-13 Jonathan Chambers <[email protected]>
  3797. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  3798. Patch from eno for bug 78558.
  3799. 2006-07-13 Jackson Harper <[email protected]>
  3800. * TreeView.cs: When an edit is finished make sure that the
  3801. selected node is visible.
  3802. - When setting the top/bottom use the scrollbars is_visible, so
  3803. everything will be set correctly even if the tree isn't visible
  3804. yet.
  3805. 2006-07-13 Jackson Harper <[email protected]>
  3806. * ComboBox.cs: Revert the item->index part of my previous patch.
  3807. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  3808. the edit box has lost focus (duh).
  3809. - Just make the edit box not visible when we get return, that will
  3810. take the focus, which will call EndEdit
  3811. * TreeNode.cs When we start editing, notify the treeview.
  3812. 2006-07-12 Jackson Harper <[email protected]>
  3813. * ComboBox.cs: Clear out old items before setting the item list.
  3814. This prevents databound controls from having their items added
  3815. twice.
  3816. - Switch the combobox to use indices whereever possible instead of
  3817. using Item's. This allows usto navigate through lists that have
  3818. more then one item with the same string value (ie a, b, b, a).
  3819. - Scroll the listboxes scrollbar when a non visible item is
  3820. highlighted
  3821. - Allow keypress to cycle through all the possible values. For
  3822. example if you have b1, b2, b3 and hold down the B key all the
  3823. values will be cycled through.
  3824. 2006-07-12 Jackson Harper <[email protected]>
  3825. * TextBoxBase.cs:
  3826. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  3827. this using the internal methods.
  3828. * Control.cs: Add OnGotFocusInternal. A new method that allows
  3829. controls to "override" OnGotFocus and change focus behavior if
  3830. needed.
  3831. - Same thing for LostFocus
  3832. * ComboBox.cs: Pass off focus to the text control properly.
  3833. 2006-07-12 Alexander Olk <[email protected]>
  3834. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  3835. * FolderBrowserDialog.cs: Almost a complete rewrite.
  3836. - Better support for Environment.Specialfolders
  3837. - Added support for MWFVFS
  3838. - Made setting SelectedPath work
  3839. 2006-07-12 Jackson Harper <[email protected]>
  3840. * Control.cs: Optimze getting all the controls.
  3841. 2006-07-11 Jackson Harper <[email protected]>
  3842. * ContainerControl.cs: Override SETFOCUS in the container control,
  3843. so that it is not selected on mouse click.
  3844. 2006-07-11 Peter Dennis Bartok <[email protected]>
  3845. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  3846. Hopefully we will have a better way once all of focus is complete.
  3847. 2006-07-11 Peter Dennis Bartok <[email protected]>
  3848. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  3849. a compile error with csc.
  3850. 2006-07-11 Jackson Harper <[email protected]>
  3851. * Control.cs: When hiding a control only select the next control
  3852. if the current control was focused.
  3853. - Don't handle enter/leave when setting/killing focus, this is
  3854. done by the container control.
  3855. - Remove is_selected, it's not needed anymore.
  3856. - Add utility methods for selecting a child control, and for
  3857. firing the Enter/Leave events.
  3858. * ContainerControl.cs: When a control is activated fire the
  3859. enter/leave events.
  3860. - Don't wrap when processing the tab key, so that focus can be
  3861. moved outside of the container.
  3862. - Use the correct active control
  3863. 2006-07-11 Jackson Harper <[email protected]>
  3864. * ComboBox.cs: Remove some debug code that was blinding me.
  3865. * UpDownBase.cs: These controls actually aren't implicit, they are
  3866. visible to the user.
  3867. 2006-07-10 Chris Toshok <[email protected]>
  3868. * DataGrid.cs: move back to the is_adding boolean field. god i
  3869. hate this is_editing/is_adding/is_changing stuff.
  3870. 2006-07-10 Chris Toshok <[email protected]>
  3871. * DataGridTableStyle.cs: just check if the property type is bool.
  3872. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  3873. Don't use CanRenderType.
  3874. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  3875. if our text == NullText. Remove CanRenderType.
  3876. * DataGridBoolColumn.cs: nuke CanRenderType.
  3877. * DataGrid.cs: reenable some code to end the current edit inside
  3878. of set_CurrentCell. This fixes the other 1.1.16 regression.
  3879. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  3880. Also, remove the visible_row_count arg from CalcRowHeaders, since
  3881. we don't need to worry about the actual height of the area.
  3882. 2006-07-10 Chris Toshok <[email protected]>
  3883. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  3884. mode, just return.
  3885. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  3886. the real sense of the IsInEditOrNavigateMode property (true =
  3887. navigate, false = edit). Also, update OnKeyPress to reflect this.
  3888. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  3889. column style exists, we still need to set its property descriptor
  3890. to match up with our list manager.
  3891. 2006-07-10 Chris Toshok <[email protected]>
  3892. * ThemeWin32Classic.cs: implement the new row/header painting
  3893. approach. The parent row painting will likely go away and
  3894. replaced with label controls, but the rest seems to work ok (and
  3895. efficiently).
  3896. * Theme.cs: change the way we draw datagrid rows. we don't draw
  3897. the row headers as a block now. Instead we draw them in the
  3898. normal draw-row loop. Add some calls for drawing parent rows and
  3899. relation rows.
  3900. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  3901. a default table style. Set the defaults from ThemeEngine.Current,
  3902. not SystemColors. Fix lots of misc issues with property setters.
  3903. * DataGrid.cs: move loads of style information out of this class
  3904. as it's being duplicated with DataGridTableStyle. keep track of a
  3905. special DataGridTableStyle for the properties we used to mirror
  3906. here. Switch all the style properties to access this table style
  3907. instead of instance fields of this class. Also add a internal
  3908. class to represent parent rows (more needs to be stored here, like
  3909. the selection state from the parent table, as well as the
  3910. expansion state.) Also, for datasources with relations, do the
  3911. right thing for collapse/expand, and add support for the
  3912. navigation/parent row buttons.
  3913. Lastly, fix the crash in the 1.1.16 build.
  3914. * GridTableStylesCollection.cs: make the explicit interface
  3915. implementations call the class's methods as opposed to duplicating
  3916. them.
  3917. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  3918. 0 so the text doesn't jump around when we move the cursor.
  3919. 2006-07-10 Jackson Harper <[email protected]>
  3920. * TextBoxBase.cs:
  3921. * ListBox.cs: Match MS's ToString (this makes debugging focus
  3922. stuff infinitely easier).
  3923. 2006-07-10 Jackson Harper <[email protected]>
  3924. * Control.cs (SelectNextControl): When checking the control's
  3925. parent use this instead of ctrl.parent so that null can be passed
  3926. to SelectNextControl. (I have unit tests for this).
  3927. - Remove unused var.
  3928. 2006-07-10 Chris Toshok <[email protected]>
  3929. * CurrencyManager.cs: correct one regression, the removal of the
  3930. finalType field. Also, add a MonoTODO on CanAddRows, implement
  3931. Refresh() correctly, and fix some event emission in
  3932. ListChangedHandler.
  3933. 2006-07-07 Alexander Olk <[email protected]>
  3934. * FileDialog.cs: Don't use brackets for new folders if they exist
  3935. under *nix. Instead use -(number of existing folders +1).
  3936. 2006-07-07 Alexander Olk <[email protected]>
  3937. * FileDialog.cs:
  3938. - Fixed really nasty bug #78771
  3939. - Don't block the whole GUI when reading directories with a lot of
  3940. entries. Use an other thread instead and call BeginInvoke to
  3941. update the ListView in MWFFileView
  3942. 2006-07-07 Chris Toshok <[email protected]>
  3943. * Control.cs (Dispose): release any Capture when disposing.
  3944. 2006-07-07 Chris Toshok <[email protected]>
  3945. * LinkLabel.cs (Select): if we chain up to the parent, set
  3946. focused_index to -1 so we'll search for the first available link
  3947. the next time the user tabs into us. Also, if the direction is
  3948. backward and focused_index == -1, start the search from the last
  3949. element.
  3950. 2006-07-07 Chris Toshok <[email protected]>
  3951. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  3952. is beyond the end of the text, don't do anything.
  3953. (CreateLinkPieces): set our ControlStyles.Selectable based on
  3954. whether or not we have any links.
  3955. (Link.Invalidate): use a loop instead of foreach.
  3956. (Link.set_Start): null out owner.sorted_links so it'll be
  3957. recreated by CreateLinkPieces.
  3958. 2006-07-06 Chris Toshok <[email protected]>
  3959. * LinkLabel.cs: revert the SetStyle change.
  3960. 2006-07-06 Chris Toshok <[email protected]>
  3961. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  3962. (OnEnableChanged): s/Refresh/Invalidate
  3963. (OnGotFocus): if we have a focused index already, refocus it (so
  3964. if we mouse out/in to the window it'll focus the right link).
  3965. (OnKeyDown): move the tab handling out of here.
  3966. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  3967. when we lose focus.
  3968. (OnMouseDown): don't Capture here - Control handles it. Also,
  3969. focus the active link.
  3970. (OnMouseUp): don't deal with Capture.
  3971. (OnPaintBackgroundInternal): remove.
  3972. (OnTextAlignChanged): CreateLinkPieces before calling the
  3973. superclass's method.
  3974. (OnTextChanged): call CreateLinkPieces before calling superclass's
  3975. method.
  3976. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  3977. move around.
  3978. (Select): implement this, moving the selection between different
  3979. links, and call parent.SelectNextControl if we don't have another
  3980. link to focus in the given direction.
  3981. (CreateLinkPieces): call Invalidate instead of Refresh.
  3982. 2006-07-06 Chris Toshok <[email protected]>
  3983. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  3984. new LinkLabel internals.
  3985. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  3986. over pieces looking for active/focused/etc links. also, deal with
  3987. runs of text (and links) with embedded \n's in them, and use
  3988. MeasureCharacterRanges instead of MeasureString to figure out the
  3989. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  3990. two-step.
  3991. 2006-07-04 Jackson Harper <[email protected]>
  3992. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  3993. XKB or key auto repeat, do it manually. Without key auto repeat,
  3994. when a key is held down we get key press, key release, key press,
  3995. key release, ... with auto repeat we get key press, key press, key
  3996. press ..., and then a release when the key is actually released.
  3997. 2006-07-03 Jackson Harper <[email protected]>
  3998. * TabControl.cs:
  3999. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  4000. rules, they are always control color regardless of the background
  4001. color.
  4002. 2006-07-02 Alexander Olk <[email protected]>
  4003. * FileDialog.cs: Added internal class MWFConfig.
  4004. Removed Registry support and replaced it with support for the new
  4005. MWFConfig class. See MWFConfig comments for more information.
  4006. 2006-06-30 Alexander Olk <[email protected]>
  4007. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  4008. rectangle. Added some patches from eno from bug #78490 and fixed
  4009. the arrow position for small up and down CPDrawScrollButtons.
  4010. 2006-06-30 Jackson Harper <[email protected]>
  4011. * InternalWindowManager.cs: Remove some debug code.
  4012. * Form.cs: When an MdiParent is set to null, the window is
  4013. "detatched" and becomes a normal window.
  4014. * MdiClient.cs: Don't bring the new child form to the front until
  4015. it is activated (setting it as active does this), this makes the
  4016. previously active forms titlebar get redrawn as inactive.
  4017. 2006-06-29 Peter Dennis Bartok <[email protected]>
  4018. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  4019. with later controls
  4020. 2006-06-29 Mike Kestner <[email protected]>
  4021. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  4022. arrow in keynav state. Fixes #78682.
  4023. 2006-06-28 Atsushi Enomoto <[email protected]>
  4024. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  4025. order (fixes #78393)
  4026. 2006-06-28 Jonathan Pobst <[email protected]>
  4027. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  4028. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  4029. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  4030. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  4031. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  4032. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  4033. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  4034. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  4035. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  4036. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  4037. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  4038. values)
  4039. 2006-06-28 Mike Kestner <[email protected]>
  4040. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  4041. 2006-06-28 Atsushi Enomoto <[email protected]>
  4042. * PropertyGrid.cs,
  4043. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  4044. item lines from other area (It also makes BackColor consistent and
  4045. compatible with .NET). Fixed bug #78564.
  4046. 2006-06-28 Jonathan Chambers <[email protected]>
  4047. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  4048. Patch from Eno for #78555.
  4049. 2006-06-27 Chris Toshok <[email protected]>
  4050. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  4051. * DataGridColumnStyle.cs: same.
  4052. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  4053. * DataGridDrawingLogic.cs: nuke.
  4054. 2006-06-27 Chris Toshok <[email protected]>
  4055. * DataGridTableStyle.cs: clean up the constructors, and build the
  4056. list of child relations for this table. I have no idea if this is
  4057. where we should be doing it (it probably isn't), but since we're
  4058. already iterating over the properties..
  4059. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  4060. struct and array for keeping track of row information, similar to
  4061. what's shown in a hack on
  4062. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  4063. * Theme.cs: be consistent about the naming of DataGrid methods,
  4064. prefering ColumnWidths and RowHeights over columnsWidths and
  4065. RowsHeights.
  4066. * ThemeWin32Classic.cs: same, and also add support for variable
  4067. sized rows (and the +/- expansion icons for related rows).
  4068. 2006-06-27 Peter Dennis Bartok <[email protected]>
  4069. * TextBoxBase.cs: Applied Eno's patch from #78660
  4070. 2006-06-27 Peter Dennis Bartok <[email protected]>
  4071. * Form.cs (ScaleCore): We don't want to scale our form if it's
  4072. state is minimized or maximized, but we still need to scale our
  4073. child windows. Also, added try/finally block to ensure layout
  4074. gets reset (Fixes #78697)
  4075. 2006-06-27 Peter Dennis Bartok <[email protected]>
  4076. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  4077. 2006-06-27 Peter Dennis Bartok <[email protected]>
  4078. * Form.cs: Fixed c+p error and added check to resize form if minimum
  4079. size is bigger than current size (Fixes #78709)
  4080. 2006-06-26 Peter Dennis Bartok <[email protected]>
  4081. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  4082. 2006-06-26 Mike Kestner <[email protected]>
  4083. * ComboBox.cs: only do Keypress handling in the combo when there
  4084. are items in the collection. Fixes #78710.
  4085. 2006-06-26 Chris Toshok <[email protected]>
  4086. * Binding.cs: make this work bi-directionally. also, clear up
  4087. other mixups between Push/Pull Data (e.g. we're supposed to pull
  4088. data when validating).
  4089. * BindingManagerBase.cs: trim some fully qualified collection
  4090. types.
  4091. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  4092. 2006-06-23 Chris Toshok <[email protected]>
  4093. * PropertyManager.cs: It appears (according to the unit tests)
  4094. that PropertyManager doesn't use
  4095. PropertyDescriptor.AddValueChanged to track propery value changes
  4096. in its datasource, but uses the same scheme as Binding, where it
  4097. looks for a <Property>Changed event and binds to it.
  4098. Also, according to the docs, IsSuspended always returns false for
  4099. a property manager with a non-null datasource.
  4100. 2006-06-22 Peter Dennis Bartok <[email protected]>
  4101. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  4102. need to update the actual DialogResult. (Fixes #78613)
  4103. 2006-06-22 Peter Dennis Bartok <[email protected]>
  4104. * Form.cs (ShowDialog): Release any captures before running the
  4105. new message pump (fixes #78680)
  4106. 2006-06-22 Mike Kestner <[email protected]>
  4107. * ListView.cs: Layout column widths properly in details mode even
  4108. if HeaderStyle.None is set. Fixes #78691.
  4109. 2006-06-21 Peter Dennis Bartok <[email protected]>
  4110. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  4111. 2006-06-21 Peter Dennis Bartok <[email protected]>
  4112. * Control.cs (ContainsFocus): Using new driver method to get focused
  4113. window, instead of trying to use internal tracking var, which can
  4114. recursion issues (Fixes #78685)
  4115. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  4116. XplatUIWin32.cs: Added GetFocus method to return focused window
  4117. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  4118. * ColorDialog.cs: when the mouse button is pressed inside the color
  4119. matrix, don't let the cursor move out of it until the button is
  4120. released, which is the behavior on windows. Changed 'colours' by
  4121. 'colors' to use the same word consistently.
  4122. 2006-06-21 Chris Toshok <[email protected]>
  4123. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  4124. child relation and back, using a stack). Also, remove
  4125. GetDataSource and the code that calls it - it's not needed. Also,
  4126. track CurrencyManager.ListName's removal.
  4127. 2006-06-21 Chris Toshok <[email protected]>
  4128. * CurrencyManager.cs: push some of the original type checking from
  4129. BindingContext.CreateBindingManager to here, and remove some of
  4130. the finalType stuff. Need more tests to make sure I've got the
  4131. ListName part right, and we might need more in SetDataSource.
  4132. * PropertyManager.cs: add a ctor that takes just the datasource,
  4133. and no property name. Make SetDataSource work with a null
  4134. property_name, and make Current return the data_source if the
  4135. property descriptor is null. this makes 'string foo = "hi";
  4136. BindingContext[foo].Current' return "hi" as it should.
  4137. * RelatedCurrencyManager.cs: make this code more generic - there's
  4138. no reason the parent manager has to be CurrencyManager, and
  4139. there's no reason to pass the DataRelation. It suffices to use a
  4140. BindingManagerBase and PropetyDescriptor.
  4141. * RelatedPropertyManager.cs: make a similar change here.
  4142. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  4143. flower I knew it could be.
  4144. 2006-06-20 Chris Toshok <[email protected]>
  4145. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  4146. data in the source has changed and we need to update the control,
  4147. so s/PullData/PushData.
  4148. * CurrencyManager.cs: Refresh is meant to update the control from
  4149. data in the datasource. So, s/PullData/PushData.
  4150. * BindingContext.cs: add more ugliness (we weren't handling the
  4151. case where data_source = DataTable and data_member = column_name).
  4152. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  4153. from the perspective of the datasource. PullData pulls from the
  4154. control, PushData pushes to the control.
  4155. 2006-06-20 Chris Toshok <[email protected]>
  4156. * BindingContext.cs: rewrite the CreateBindingManager code to
  4157. handle navigation paths more or less properly. This could
  4158. definitely stand some more work, in particular to push the
  4159. recursion up to the toplevel. But that relies on fixes in other
  4160. places (System.Data comes to mind).
  4161. Also, move to a flat hashtable (and encode the twolevel nature of
  4162. the dictionary into the hash key). This lets us implement the
  4163. IEnumerable.GetEnumerator method.
  4164. * RelatedCurrencyManager.cs: new class. Update our view based on
  4165. our relation and our parent CurrencyManager's position.
  4166. * CurrencyManager.cs: split out some logic from the ctor into
  4167. SetView, so it can be called from the new RelatedCurrencyManager
  4168. subclass.
  4169. * RelatedPropertyManager.cs: new class. Update our datasource
  4170. based on the position of our parent CurrencyManager.
  4171. * PropertyManager.cs: split out some logic from the ctor into
  4172. SetDataSource, so it can be called from the new RelatedDataSource
  4173. subclass. Also, make the Current getter return the value
  4174. of the PropertyDescriptor, not the data_source.
  4175. * Binding.cs: no need to duplicate the string splitting code here.
  4176. 2006-06-19 Peter Dennis Bartok <[email protected]>
  4177. * Control.cs:
  4178. - set_Enabled: OnEnabledChanged is not called if the inherited state
  4179. of the control is not altered, even though we might be changing the
  4180. internal state of the control (#78458)
  4181. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  4182. OnEnabledChanged, to allow easy altering of any child window state
  4183. - OnEnabledChanged: Added code to enable/disable driver window state
  4184. - OnParentEnabledChanged: Instead of firing the event, call
  4185. OnEnabledChanged, which will fire the event and also a) set driver
  4186. window state and pass the enabled state to any grandchildren (#78458)
  4187. 2006-06-19 Jackson Harper <[email protected]>
  4188. * InternalWindowManager.cs: We don't set the cursor explicitly
  4189. thats done via the response to NCHITTESTs.
  4190. - Don't need to adjust for titlebar heights anymore, the
  4191. coordinates are coming in the correct coordinates now (see peters
  4192. last patch).
  4193. 2006-06-19 Peter Dennis Bartok <[email protected]>
  4194. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  4195. being translated relative to whole window, instead of client window.
  4196. That caused broken offsets on mouseclick (and caused gas for our
  4197. InternalWindowManager)
  4198. 2006-06-15 Peter Dennis Bartok <[email protected]>
  4199. * TextControl.cs:
  4200. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  4201. - Undo(): Added replay of cursor move on DeleteChars action; added
  4202. calling Undo() again if a recorded cursor move is invalid (to
  4203. ensure that some action is performed on Undo)
  4204. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  4205. 2006-06-16 Jackson Harper <[email protected]>
  4206. * MdiClient.cs: Instead of just sizing maximized windows when
  4207. there is a resize we also have to adjust the Y of minimized
  4208. windows, so they stay pinned to the bottom of the mdi container.
  4209. - Eliminate separate tracking of the active control, we can just
  4210. get this from the controls collection.
  4211. - Paint the decorations for the newly activated titlebar so we get
  4212. a pretty blue bar.
  4213. * InternalWindowManager.cs:
  4214. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  4215. even if they are a tool window.
  4216. 2006-06-15 Peter Dennis Bartok <[email protected]>
  4217. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  4218. undo buffer, these can happen when text was deleted and the cursor
  4219. was recorded first. Since we will also have a recorded cursor
  4220. after the delete this is not an issue. (Fixes #78651)
  4221. 2006-06-14 Peter Dennis Bartok <[email protected]>
  4222. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  4223. instead properly track control states internally (allows us to
  4224. remove is_selected from Control)
  4225. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  4226. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  4227. whose width is not a multiple of 8.
  4228. 2006-06-13 Jackson Harper <[email protected]>
  4229. * MdiClient.cs: Only maximize the next child if the current one
  4230. is maximized.
  4231. 2006-06-13 Chris Toshok <[email protected]>
  4232. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  4233. modified. Also, guard against grid or grid_drawing being null in
  4234. Invalidate.
  4235. * DataGrid.cs: Reformat tons of getters/setters. In the
  4236. DataMember setter, just call SetNewDataSource instead of
  4237. duplicating some of its functionality. In SetNewDataSource, don't
  4238. check ListManager for null, since the property getter creates the
  4239. object if needed.
  4240. * DataGridTableStyle.cs: don't set TableStyle or call
  4241. SetDataGridInternal on the column here, it's done in
  4242. GridColumnStylesCollection.Add.
  4243. * GridColumnStylesCollection.cs: fix all the explicit interface
  4244. implementations to just call our methods. Nuke AddInternal() and
  4245. move the body of it to Add(). Also, add a call to
  4246. column.SetDataGridInternal to Add().
  4247. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  4248. base()+duplicate code. Also, use the Format property instead of
  4249. format to generate an Invalidate ala MS. Lastly, create the
  4250. textbox here, unconditionally.
  4251. (set_Format): call Invalidate.
  4252. (get_TextBox): no need to call EnsureTextBox.
  4253. (Commit): remove the message box.
  4254. (Edit) remove the call to EnsureTextBox.
  4255. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  4256. (EnterNullValue): no need to check textbox for null.
  4257. (HideEditBox): no need to check textbox for null.
  4258. (SetDataGridInColumn): add the textbox to the grid's controls.
  4259. (EnsureTextBox): nuke.
  4260. 2006-06-13 Jackson Harper <[email protected]>
  4261. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  4262. and redraw the buttons when needed. Unhook when the window is
  4263. unmaximized.
  4264. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  4265. needs this so that it can redraw its buttons when the menu is
  4266. repainted.
  4267. * InternalWindowManager.cs:
  4268. * Form.cs: The method order has changed for DrawMaximizedButtons,
  4269. so that it can be a PaintEventHandler.
  4270. 2006-06-13 Jackson Harper <[email protected]>
  4271. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  4272. window is activated and maximized, even if it wasn't before.
  4273. - When a new window is activated repaint the decorations of the
  4274. old one, so that it no longer has the Active "look" (the blue
  4275. titlebar).
  4276. * InternalWindowManager.cs: Open up CreateButtons to base classes
  4277. so they can recreate the buttons on state changes.
  4278. - If a window is maximized give it all three buttons
  4279. * MdiWindowManager.cs: Create the titlebar buttons when the state
  4280. is changed, this is needed because a toolwindow will not have all
  4281. three buttons until it is maximized.
  4282. 2006-06-13 Atsushi Enomoto <[email protected]>
  4283. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  4284. Fixed bug #78609.
  4285. 2006-06-12 Jackson Harper <[email protected]>
  4286. * KeysConverter.cs: Make sure we handle the Ctrl special case
  4287. if its the only key.
  4288. 2006-06-12 Jackson Harper <[email protected]>
  4289. * Theme.cs: Add a method to get the size of a managed window
  4290. toolbar button.
  4291. * InternalWindowManager.cs: Remove the ButtonSize property, this
  4292. should be retrieved from the theme.
  4293. * MdiWindowManager.cs: Get the button size from the theme
  4294. * ThemeWin32Classic.cs: Make the method to get the managed window
  4295. titlebar button size public.
  4296. - Handle the different button sizes of maximized toolwindows
  4297. (should match any maximized window).
  4298. - Get the titlebar height from the theme, not the WM (which gets
  4299. it from the theme).
  4300. 2006-06-12 Jackson Harper <[email protected]>
  4301. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  4302. event down to the mdi window manager.
  4303. - Expose some extra stuff to base classes
  4304. - Make sure to end the Capture on an NC Mouse up, so that we can
  4305. get double clicks properly, and the sizing doens't stick.
  4306. - When doing PointToClient contain it in the workable desktop
  4307. area, this prevents windows from changing size when the cursor is
  4308. pulled outside of the working area while sizing.
  4309. * MdiWindowManager.cs: When we get a double click maximize the
  4310. window.
  4311. - Reset the cursor after handling mode changes.
  4312. 2006-06-12 Peter Dennis Bartok <[email protected]>
  4313. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  4314. current desktop, instead of just assuming a 0, 0 origin. This
  4315. is needed for our internal window manager, to know the top
  4316. margin of the desktop
  4317. 2006-06-12 Chris Toshok <[email protected]>
  4318. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  4319. we need this to get rid of the selected background in the bool
  4320. column.
  4321. (CancelEditing): move the ConcedeFocus call to above the Abort
  4322. call. Also, set is_changing to false and invalidate the row
  4323. header if we were changing before.
  4324. (ProcessKeyPreviewInternal): remove, since noone outside this
  4325. class calls it anymore. Roll the code into ProcessKeyPreview.
  4326. (EndEdit): remove the internal version.
  4327. (InvalidateCurrentRowHeader): make private.
  4328. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  4329. Keys.Escape handling (and with it the last call to
  4330. DataGrid.EndEdit from outside the class.)
  4331. 2006-06-12 Chris Toshok <[email protected]>
  4332. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  4333. (OnKeyPress): set isedit to true.
  4334. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  4335. already handled by the grid.
  4336. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  4337. right. ugh.
  4338. (set_DataSource): SetDataSource always returns true, so stop
  4339. putting it in an if statement.
  4340. (EndEdit): get rid of some {}'s
  4341. (ProcessGridKey): return true in case Keys.Escape.
  4342. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  4343. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  4344. PositionChanged, stopped connecting to CurrentChanged.
  4345. (GetDataSource): simplify this a bunch.
  4346. (SetDataSource): change return type from bool to void.
  4347. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  4348. to this, and make sure we don't set ListManager.Position inside
  4349. set_CurrentCell.
  4350. (OnListManagerItemChanged): if we're passed an actual index,
  4351. redraw that row.
  4352. * CurrencyManager.cs (set_Position): don't call PullData here.
  4353. 2006-06-09 Jackson Harper <[email protected]>
  4354. * TreeNode.cs: Recalculate the visible order before doing the
  4355. Expand/Collapse Below calls, because those calls generate an
  4356. expose.
  4357. - Reduce calls to the TreeView property, which is mildly expensive
  4358. by using a local var.
  4359. * Form.cs: Layout the MDI child windows when creating the parent
  4360. form.
  4361. - Don't use the internal constructor anymore
  4362. * MdiClient.cs: use the parent form width/height (if available)
  4363. when laying out the child windows, we do this because the
  4364. mdiclient isn't docked yet when the initial layout is done.
  4365. - Don't need an internal constructor anymore.
  4366. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  4367. * FileDialog.cs: handle access errors when trying to create a folder
  4368. or changing to a directory. No need to initialize out parameters.
  4369. 2006-06-08 Alexander Olk <[email protected]>
  4370. * FileDialog.cs: Append a number when creating a new folder if the
  4371. folder already exists (use parenthesis instead of square brackets)
  4372. 2006-06-08 Alexander Olk <[email protected]>
  4373. * FileDialog.cs:
  4374. - Disabled registry support for windows and added better registry
  4375. error checking for other systems (need to investigate why it
  4376. works perfectly on my system)
  4377. - If a folder already exist show an error MessageBox instead of
  4378. trying to create an indexed name.
  4379. - Fixed a non intentional typo.
  4380. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  4381. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  4382. 2006-06-08 Alexander Olk <[email protected]>
  4383. * FileDialog.cs: When creating a new folder don't crash if the
  4384. folder already exists.
  4385. 2006-06-08 Alexander Olk <[email protected]>
  4386. * FileDialog.cs: Allmost a complete rewrite.
  4387. - added a "virtual" file system that handles the differences
  4388. between unix and windows file systems (especially the directory
  4389. structure). Moved most of the directory and file handling code
  4390. into the vfs.
  4391. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  4392. UnixFileSystem and FSEntry.
  4393. - Recently used folder/directory, size, location and used file names
  4394. (file name ComboBox) are now stored in the registry and get read
  4395. before the dialog shows up (fixes part 6 of bug #78446).
  4396. - Creation of new folders/directories is now possible (context menu
  4397. or ToolBar). Added TextEntryDialog for this that fills in the gap
  4398. until ListView.LabelEdit works.
  4399. - Fixed cursor handling (bug #78527) and focus handling for
  4400. PopupButtonPanel
  4401. - Various "Search in" ComboBox enhancements. The content of the
  4402. dropdown listbox now almost matches ms.
  4403. - Changed the behaviour when the user switches to SpecialFolder
  4404. Recent to show the ListView in View.Details.
  4405. - Beside using the ToolBar to change the View property of the
  4406. file ListView it is now possible to use the context menu too.
  4407. 2006-06-08 Alexander Olk <[email protected]>
  4408. * ComboBox.cs: Don't create a new ObjectCollection when an item
  4409. gets inserted. Just insert the item in the existing object_items
  4410. ArrayList.
  4411. 2006-06-08 Jackson Harper <[email protected]>
  4412. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  4413. that the treeview and root node checks are done also, this fixes a
  4414. regression i caused in the unit tests.
  4415. 2006-06-07 Wade Berrier <[email protected]>
  4416. * RichTextBox.cs: More ISO8859-1 -> unicode
  4417. 2006-06-07 Mike Kestner <[email protected]>
  4418. * ComboBox.cs : use items to hold highlight/selection so that
  4419. collection insertions don't require synchronization.
  4420. 2006-06-07 Jackson Harper <[email protected]>
  4421. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  4422. routine. We now always keep the sized edge at the cursor instead
  4423. of computing movement and adjusting rects. There is one buglet
  4424. with this method though when the cursor is moved over area that
  4425. the window can not expand too (such as the toolbars on the desktop).
  4426. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  4427. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  4428. here. Fixes crash on startup in AlbumSurfer.
  4429. 2006-06-07 Peter Dennis Bartok <[email protected]>
  4430. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  4431. values
  4432. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  4433. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  4434. statement to avoid calling XNextEvent which will block if another thread
  4435. took the event that we were expecting. Fixes bug #78605.
  4436. 2006-06-07 Mike Kestner <[email protected]>
  4437. * ListView.cs : isolated checkbox clicking from the selection logic.
  4438. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  4439. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  4440. * Form.cs: Check that the value passed to Form.DialogResult
  4441. is a valid enum value.
  4442. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  4443. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  4444. Computer'. Clicking it in the network view goes to 'My Computer'.
  4445. Added CIFS filesystem type. Display the mount point of filesystems.
  4446. Avoid duplicate mount points (happens for me with CIFS);
  4447. 2006-06-06 Jackson Harper <[email protected]>
  4448. * InternalWindowManager.cs: Draw the maximized windows buttons
  4449. when resizing.
  4450. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  4451. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  4452. all other dialogs. Fixes bug #78585.
  4453. 2006-06-06 Mike Kestner <[email protected]>
  4454. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  4455. Only invalidate checkbox on checkstate changes to avoid flicker.
  4456. * ListBox.cs : avoid unselect/select when clicking selected item.
  4457. avoid reselection flicker for already multiselected items.
  4458. Fixes #78382.
  4459. 2006-06-06 Jackson Harper <[email protected]>
  4460. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  4461. the parent form so that the menu is removed if needed.
  4462. 2006-06-06 Mike Kestner <[email protected]>
  4463. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  4464. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  4465. 2006-06-06 Mike Kestner <[email protected]>
  4466. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  4467. 2006-06-06 Jackson Harper <[email protected]>
  4468. * Control.cs: Use the property (instead of the field) to get the
  4469. default cursor so it is instantiated correctly.
  4470. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  4471. resizes so we need to manually repaint the window decorations here.
  4472. - Set the titlebar button locations as soon as they are created,
  4473. otherwise they are not set correctly on win32.
  4474. 2006-06-06 Chris Toshok <[email protected]>
  4475. * CurrencyManager.cs (set_Position): call PullData before
  4476. OnCurrentChanged.
  4477. (AddNew): after calling IBindingList.AddNew, update our
  4478. listposition, and call OnCurrentChanged/OnPositionChanged (without
  4479. calling PullData).
  4480. (OnCurrentChanged): remove the call to PullData from here.
  4481. (OnItemChanged): remove the call to PushData from here.
  4482. (OnPositionChanged): change the test from == null to != null to
  4483. match the other methods.
  4484. (ListChangedHandler): the grossest part of the patch. Implement
  4485. this such that it passes the unit tests in CurrencyManagerTest and
  4486. the output more or less matches that of MS's implementation.
  4487. 2006-06-06 Mike Kestner <[email protected]>
  4488. * ListView.cs : only update check state on single click.
  4489. * ThemeWin32Classic.cs : fix focus drawing for details view without
  4490. fullrowselect. Fixes #78454.
  4491. * XplatUIX11.cs : fix for double click emission.
  4492. 2006-06-05 Jonathan Chambers <[email protected]>
  4493. * PropertyGridView.cs : Applied Atsushi's patch to fix
  4494. font dialog bug (#78197).
  4495. 2006-06-05 Jackson Harper <[email protected]>
  4496. * TreeNode.cs: Compute the next node for expanding/collapsing
  4497. correctly. We now factor in nodes without a NextNode
  4498. correctly. (Fixes somes cases in nunit-gui).
  4499. * InternalWindowManager.cs: Set the bounds when updating the
  4500. virtual position of a tool window.
  4501. 2006-06-05 Chris Toshok <[email protected]>
  4502. * DataGrid.cs: rename cached_currencymgr to list_manager.
  4503. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  4504. some.
  4505. (CurrentRow, CurrentColumn): single accessors so we can make the
  4506. cursor movement code a lot easier to understand.
  4507. (CurrentRowIndex): implement this in terms of CurrentRow.
  4508. (BeginEdit): clean this up a bit.
  4509. (CancelEditing): sort out the is_editing/is_changing/is_adding
  4510. stuff a little.
  4511. (EndEdit): minor changes.
  4512. (OnKeyDown): add a comment about a (most likely) unnecessary
  4513. check.
  4514. (OnMouseDown): cancel editing when we click on a row header. And
  4515. use the CurrentRow setter, not CurrentCell.
  4516. (ProcessDialogKey): directly call ProcessGridKey.
  4517. (UpdateSelectionAfterCursorMove): factor out this common block of
  4518. code (it's used everywhere that we move the cursor by updating row
  4519. or column).
  4520. (ProcessGridKey): pretty substantial overhaul. Use the
  4521. CurrentRow/CurrentColumn properties to make the code a lot more
  4522. readable. Only use the CurrentCell property when we have to
  4523. modify both row and column at once. Tab behavior is still broken,
  4524. and Delete is untested.
  4525. (Select): if we have no selected rows, set selection_start to
  4526. @row.
  4527. (EditCurrentCell): rename EditCell this. It was only ever invoked
  4528. with CurrentCell as the arg, so drop the arg and rename it.
  4529. * DataGridColumnStyle.cs: clean up the constructors a little, and
  4530. drop CommonConstructor().
  4531. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  4532. actually get notified when the user hits it.
  4533. (ProcessKeyMessage): *substantially* simplify this method.
  4534. There's no reason (that I can see) for the textbox to be making
  4535. calls into the datagrid at all. Remove all of them but the ones
  4536. for Enter handling. those will take some more work.
  4537. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  4538. calling HideEditBox.
  4539. (HideEditBox): if we have an active textbox, render it invisible
  4540. without causing a re-layout of the datagrid.
  4541. 2006-06-05 Mike Kestner <[email protected]>
  4542. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  4543. collection changes by resetting it to Items[0]. Fixes #78587.
  4544. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  4545. * MessageBox.cs: if the height of the text is larger than the icon_size,
  4546. use that. Fixes bug #78575.
  4547. 2006-06-05 Jackson Harper <[email protected]>
  4548. * TreeView.cs: Fix line drawing when scrolling. To do this each
  4549. node is basically responsible for drawing its entire horizontal
  4550. area. When drawing a node it draws its parent node lines if
  4551. needed.
  4552. - Adjust the clip area to the viewport rectangle
  4553. - Fix Left/Right key handling to match MS. (It expand/collapses
  4554. and moves to parents/first child but does not move selection to
  4555. sibling nodes).
  4556. - Fix SetTop to work with new bound calculation code
  4557. - When scrollbars are no longer needed we need to reset scrolling
  4558. vars and recalculate the visible order so the redraw is correct
  4559. * TreeNode.cs: We can't expand/collapse nodes with no children.
  4560. 2006-06-03 John Luke <[email protected]>
  4561. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  4562. so the colors work without dev packages
  4563. 2006-06-02 Peter Dennis Bartok <[email protected]>
  4564. * Control.cs
  4565. - Select: Implemented to just use activate. Seems to match MS
  4566. behaviour closest. Documented to only do actual control walking
  4567. based on it's parameters if in a container control so I moved
  4568. the code there.
  4569. - Removed selection check logic from our internal Select() method
  4570. * ContainerControl.cs:
  4571. - Select: Moved selection logic from Control here, since MS documents
  4572. that containers obey the bool arguments. No longer calling base
  4573. 2006-06-02 Jackson Harper <[email protected]>
  4574. * TreeView.cs: If the selected node isn't changed when we get
  4575. focus update the previously selected node so that we see the
  4576. selection box.
  4577. 2006-06-02 Mike Kestner <[email protected]>
  4578. * ComboBox.cs: restructure grab and general mouse event handling.
  4579. Make the composite control raise mouse events like it was a single
  4580. control for leaves/enters/motion/up/down events. fix dropdown list
  4581. coordinate mangling and refactor it into the scrollbar subclass to
  4582. reduce code duplication. Fixes #78282 #78361 and #78457.
  4583. 2006-06-02 Mike Kestner <[email protected]>
  4584. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  4585. automatically in the Control.WndProc.
  4586. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  4587. * FileDialog.cs: fix crash when running SharpChess, which sets the
  4588. FilterIndex to 2 with only one Filter.
  4589. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  4590. * ToolBar.cs: add SizeSpecified property.
  4591. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  4592. try to figure out our real size, otherwise fallback to what the
  4593. container says.
  4594. 2006-06-01 Peter Dennis Bartok <[email protected]>
  4595. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  4596. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  4597. up the event
  4598. 2006-06-01 Mike Kestner <[email protected]>
  4599. * ListView.cs: revamp the focus management in ListView. It still
  4600. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  4601. better than not handling focus at all. Will revisit when pdb feels
  4602. the general focus handling is solid. Fixes #78526.
  4603. 2006-06-01 Jackson Harper <[email protected]>
  4604. * TreeView.cs: Set the default border style in the constructor.
  4605. - Move painting to use OnPaintInternal instead of capturing
  4606. WM_PAINT, this is the correct way of doing things
  4607. - UpdateBelow shouldn't invalidate the scrollbar area
  4608. - Cap the top on update below in case the node was above the top
  4609. of the viewport rectangle.
  4610. - ExpandBelow and Collapse below need to obey Begin/End Update.
  4611. * TreeNode.cs: Make is_expanded internal so the treenode
  4612. collection can change it without firing the whole event chain.
  4613. * TreeNodeCollection.cs: When clearing all the child nodes make
  4614. sure to recalc the visible order.
  4615. - Improve algo for remove the top node
  4616. 2006-06-01 Peter Dennis Bartok <[email protected]>
  4617. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  4618. SendMessage directly calling window procedures, which in turn might
  4619. call SetFocus()
  4620. 2006-06-01 Peter Dennis Bartok <[email protected]>
  4621. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  4622. has focus (works around X11 sending a FocusIn after our SetFocus)
  4623. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  4624. 2006-06-01 Alexander Olk <[email protected]>
  4625. * Mime.cs: Fix for the NET_2_0 build.
  4626. NameValueCollection needs StringComparer now.
  4627. 2006-05-31 Chris Toshok <[email protected]>
  4628. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  4629. return (via an out parameter) the starting X of the column.
  4630. (UpdateVisibleColumn): track change to FromPixelToColumn.
  4631. (HitTest): add a ColumnResize case here.
  4632. (DrawResizeLine): new function, probably poorly named.
  4633. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  4634. only need to keep one reference.
  4635. (set_ListManager): same.
  4636. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  4637. Also, add support for HitTestType.ColumnResize.
  4638. (OnMouseMove): add column resize behavior here, and change the
  4639. cursor to the correct one as we move around the datagrid.
  4640. (OnMouseUp): terminate the column resize if we're resizing.
  4641. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  4642. for the current cell.
  4643. (ConnectListManagerEvents): use cached_currencymgr.
  4644. (DisconnectListManagerEvents): fill this in, using
  4645. cached_currencymgr.
  4646. (SetCurrentCell): remove cached_currencymgr_events handling.
  4647. (SetDataMember): only call DisconnectListManagerEvents if
  4648. cached_currencymgr is != null.
  4649. (SetDataSource): same.
  4650. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  4651. cached_currencymgr.
  4652. 2006-05-31 Jackson Harper <[email protected]>
  4653. * BindingManagerBase.cs: Remove somedebug code that creeped into
  4654. SVN.
  4655. * TreeNode.cs: We get the indent level dynamically right now, so
  4656. don't track it as a member.
  4657. * TreeNodeCollection.cs: Make sure all nodes added to the list
  4658. have parents, treeviews/topnodes setup properly.
  4659. - Don't attempt to track indent level.
  4660. 2006-05-30 Jackson Harper <[email protected]>
  4661. * BindingContext.cs: Create the currency manager tables here.
  4662. This allows us to more easily create null tables (when bad data
  4663. members are used), and more easily create related currency
  4664. managers.
  4665. * CurrencyManager.cs: All the table creation stuff is done by the
  4666. binding context now.
  4667. - Current should throw an exception if listposition is -1.
  4668. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  4669. been bound yet.
  4670. 2006-05-30 Mike Kestner <[email protected]>
  4671. * ListView.cs: allow reexpansion of zero-width column headers.
  4672. Fixes #78528.
  4673. 2006-05-28 Chris Toshok <[email protected]>
  4674. * CurrencyManager.cs (get_Current): after the late binding
  4675. listposition = -1 fix, we need to guard against it here and return
  4676. null, otherwise we raise an exception (which is swallowed
  4677. elsewhere, and breaks datagrid databinding.)
  4678. 2006-05-26 Peter Dennis Bartok <[email protected]>
  4679. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  4680. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  4681. 2006-05-26 Jackson Harper <[email protected]>
  4682. * ControlPaint.cs:
  4683. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  4684. values, it's faster and it's all we care about (we don't care if
  4685. the names aren't equal).
  4686. * KeyboardLayouts.cs: Eliminate some dead code.
  4687. - Lazy init things
  4688. * X11Keyboard.cs: Lazy init keyboard detection.
  4689. - Cleanup access modifiers a little.
  4690. 2006-05-26 Peter Dennis Bartok <[email protected]>
  4691. * XplatUIX11.cs: Once again, attempting to get layout just right.
  4692. 2006-05-26 Peter Dennis Bartok <[email protected]>
  4693. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  4694. the sizes of each link section, that will result in sizes that
  4695. match DrawString's layout (Fixes #78391)
  4696. 2006-05-27 Alexander Olk <[email protected]>
  4697. * FileDialog.cs: If AddExtension property is true autocomplete the
  4698. extensions in SaveFileDialog correctly. Fixes bug #78453.
  4699. Set MyNetwork and MyComputer to "C:\" for windows. This should
  4700. fix part 8 of bug #78446 for now.
  4701. 2006-05-26 Chris Toshok <[email protected]>
  4702. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  4703. invalidate the current row header if we need to, but presumably
  4704. we'll invalidate the row corrsponding to the bounds or
  4705. editingControl.
  4706. (GridHScrolled): switch back to this method, as it's part of the
  4707. public api. *sigh*.
  4708. (GridVScrolled): same.
  4709. (OnMouseWheel): hack up something that more or less works. Call
  4710. GridHScrolled/GridVScrolled directly, instead of duplicating much
  4711. of their code here.
  4712. (EnsureCellVisibility): reinstate a bunch of this code, since we
  4713. can't just set the scrollbar Value and expect to do all the work
  4714. in the ValueChanged handler. Also, Call Update() after scrolling
  4715. in one direction so the other XplatX11.ScrollWindow call has the
  4716. proper stuff in the proper places.
  4717. (EditCell): set is_editing to true before calling .Edit.
  4718. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  4719. don't bother comparing first.
  4720. (OnKeyPress): call grid.ColumnStartedEditing before calling
  4721. base.OnKeyPress. this will set is_changing and invalidate the row
  4722. header if necessary.
  4723. (ProcessKeyMessage): for WM_CHAR messages, call
  4724. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  4725. and WM_KEYDOWN.
  4726. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  4727. it's done in the DataGrid.
  4728. (NextState): call grid.ColumnStartedEditing, which takes care of
  4729. invalidating the row header (and setting is_changing).
  4730. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  4731. here. it's done in the DataGrid.
  4732. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  4733. * Control.cs: allow changing the cursor when the mouse position is
  4734. out of bounds but Capture is set.
  4735. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  4736. linklabel but released somewhere else.
  4737. 2006-05-25 Jackson Harper <[email protected]>
  4738. * TreeView.cs: When we get focus if there is no selected node make
  4739. it the top node
  4740. - Remove some uneeded setup code from Draw.
  4741. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  4742. a new node is inserted make the new node the top.
  4743. * XplatUIX11.cs:
  4744. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  4745. be used (should be faster).
  4746. 2006-05-25 Chris Toshok <[email protected]>
  4747. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  4748. problem with the last commit.
  4749. 2006-05-25 Chris Toshok <[email protected]>
  4750. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  4751. need the invalidate call here, while scrolling right-to-left via
  4752. the left arrow key (i.e. moving the editing cell while scrolling).
  4753. * DataGrid.cs (.ctor): remove the initialization of
  4754. ctrl_pressed/shift_pressed. We no longer track them using key
  4755. up/down handlers, but by using Control.ModifierKeys. Also, switch
  4756. to using ValueChanged handlers on the scrollbars instead of
  4757. Scrolled event handlers. This simplifies a bunch of the scrolling
  4758. code.
  4759. (GridHValueChanged): rename from GridHScrolled, and change it to
  4760. work with the new event args.
  4761. (GridVValueChanged): same.
  4762. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  4763. (OnMouseWheel): actually scroll the datagrid. Don't change the
  4764. selected cell.
  4765. (ProcessGridKey): correct all the keyboard navigation stuff I
  4766. could find. Ctrl up/down/left/right/home/end work now.
  4767. (EnsureCellVisibility): correct method name spelling. Also,
  4768. simplify this a touch by not explicitly calling the
  4769. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  4770. scrollbar value.
  4771. (OnKeyUpDG): no need for this method now.
  4772. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  4773. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  4774. Fixes bug #78392.
  4775. 2006-05-25 Chris Toshok <[email protected]>
  4776. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  4777. r61019.
  4778. 2006-05-25 Peter Dennis Bartok <[email protected]>
  4779. * Application.cs: Moved setting of is_modal and closing to before
  4780. we create the control, to allow the event handlers called as a
  4781. result of creation affect closing. Also removed Gonzalo's previous
  4782. change to setting DialogResult, the behaviour has been moved to
  4783. Form.ShowDialog()
  4784. * Form.cs:
  4785. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  4786. handle it instead
  4787. - ShowDialog(): If no dialog result is set, we need to return Cancel
  4788. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  4789. the close is cancelled
  4790. 2006-05-25 Jackson Harper <[email protected]>
  4791. * StatusBar.cs: We only need to update the sizes of the other
  4792. panels when we have auto size contents. Also we are only updating
  4793. the contents of the panel, not the borders, so compensate for the
  4794. border width (TODO: get this width from the theme somehow).
  4795. * TreeView.cs: Scrollable is true by default
  4796. - Use invalidate instead of refresh where needed
  4797. - Factor the scrollable value into scrollbar updating
  4798. - Update the scrollbars if the Scrollable property is altered
  4799. - Update the selected node if its ImageIndex is changed
  4800. - Handle null nodes in UpdateNode (mainly so we don't have to
  4801. check if selected is null when updating it
  4802. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  4803. are factored into the visible count
  4804. - Use VisibleCount for clarity in the code
  4805. - When the font is changed we need to recurse through all the
  4806. nodes and invalidate their sizes
  4807. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  4808. * Application.cs: set the DialogResult to fixed when the main form is
  4809. hidden or destroyed while being modal.
  4810. 2006-05-25 Miguel de Icaza <[email protected]>
  4811. * Theme.cs: Use Tangoified messagebox icons.
  4812. (GetSizedResourceImage): Also cope with width = 0 and do not
  4813. trigger a warning in that case (0 means "give me your icon from
  4814. the resouce, no special size needed).
  4815. 2006-05-25 Peter Dennis Bartok <[email protected]>
  4816. * Application.cs: Leave runloop if the the main modal form is
  4817. hidden (fixes #78484)
  4818. 2006-05-25 Atsushi Enomoto <[email protected]>
  4819. * BindingContext.cs : reject null datasource in Contains() and
  4820. Item[].
  4821. * CurrencyManager.cs : check data_member validity when data_source
  4822. is dataset. When it is late binding, the initial position is -1.
  4823. 2006-05-24 Jackson Harper <[email protected]>
  4824. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  4825. inserted nodes that aren't visible. This changes the
  4826. max_visible_order which confuses scrollbar settings.
  4827. - Use the enumerator to get the prev node instead of duplicating
  4828. code.
  4829. * TreeView.cs: Use new method for setting scrollbar values
  4830. - Don't set the bounds every time the scrollbar is updated
  4831. - When updating below the root node use an invalidate instead of a
  4832. refresh to prevent the child controls (scrollbars) from being
  4833. refreshed. (UpdateBelow still needs to be reworked anyways).
  4834. - Reenable SetBottom now that visible orders are set correctly,
  4835. added some debug code incase we ever get bad values there again.
  4836. - Set the scrollbar max to 2 less then the max value, this
  4837. compensates for the max value being one above the node count, and
  4838. for scrollbars adding one extra "notch".
  4839. - When drawing image nodes if there is an imagelist we draw the
  4840. first image in the list if the supplied image index is out of the
  4841. image list's bounds.
  4842. 2006-05-24 Peter Dennis Bartok <[email protected]>
  4843. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  4844. we receive a size change from the WM (Fixes #78503)
  4845. 2006-05-24 Peter Dennis Bartok <[email protected]>
  4846. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  4847. rectangle (Fixes #78501)
  4848. 2006-05-24 Peter Dennis Bartok <[email protected]>
  4849. * ButtonBase.cs:
  4850. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  4851. as a bitfield.
  4852. - Fixed MouseMove to no longer switch pressed state unless the left
  4853. mouse button is pressed. Atsushi provided the original patch (#78485)
  4854. 2006-05-24 Jackson Harper <[email protected]>
  4855. * ScrollBar.cs: New internal methods that allow us to change a
  4856. couple values on the scrollbar (the most common case is maximum
  4857. and large change) without getting multiple invalidates.
  4858. 2006-05-24 Chris Toshok <[email protected]>
  4859. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  4860. (Edit): save off the original state in oldState, and set
  4861. grid.is_editing to true.
  4862. (OnKeyDown): abort editing if escape is pressed. also, call
  4863. NextState if space is pressed.
  4864. (OnMouseDown): call NextState.
  4865. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  4866. here. Also, only invalidate the row header once (on the initial
  4867. is_changing switch) to save on redraws.
  4868. 2006-05-24 Chris Toshok <[email protected]>
  4869. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  4870. if the value in the cell is different than it was before. This
  4871. keeps us from triggering a layout when we move around a datarid
  4872. with a highlighted cell.
  4873. (Edit): suspend layout when creating/positining the text box, and
  4874. resume passing false so we don't ever actually re-layout.
  4875. (ReleaseHostedControl): same.
  4876. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  4877. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  4878. control-key sequences should go to the datagrid - remove that
  4879. lock. Also, modify the conditions under which we move between
  4880. cells when moving the cursor within a cell, and remove the "this"
  4881. and "base" from field accesses. We weren't even consistent, given
  4882. they all were in the base class.
  4883. 2006-05-24 Atsushi Enomoto <[email protected]>
  4884. * Binding.cs : (.ctor)
  4885. An obvious NRE fix for BindingTest.CtorNullTest().
  4886. 2006-05-23 Chris Toshok <[email protected]>
  4887. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  4888. them between lines. This fixes some quirks editing cells in the
  4889. datagrid.
  4890. 2006-05-23 Jackson Harper <[email protected]>
  4891. * TreeView.cs: Use begin/end update when doing expand/collapse all
  4892. so that we don't get flicker on the scrollbar.
  4893. 2006-05-23 Jackson Harper <[email protected]>
  4894. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  4895. treenode calculations to be independant of the painting code. To
  4896. do this nodes track a visible order which is calculated by the
  4897. treeview.
  4898. - Call new methods for expanding/collapsing nodes. These methods
  4899. use scrollwindow so we don't have to update everything below the
  4900. node.
  4901. * TreeView.cs: Refactored drawing and scrolling code. We don't
  4902. need to update nodes when drawing anymore or calculate scrollbar
  4903. stuff.
  4904. - Added new methods for expanding/collapsing nodes. These methods
  4905. use ScrollWindow so as to not have to redraw all the nodes below.
  4906. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  4907. we add/remove nodes or sort.
  4908. - Handle removing the selected and the top node properly.
  4909. 2006-05-23 Chris Toshok <[email protected]>
  4910. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  4911. maybe this should actually happen in the datagrid code?
  4912. (EndEdit): no need to invalidate anything, given that
  4913. ReleaseHostedControl causes the datagrid to relayout, which
  4914. invalidates everything anyway.
  4915. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  4916. in SetCurrentCell).
  4917. (set_SelectionBackColor): call InvalidateSelection instead of
  4918. Refresh.
  4919. (set_SelectionForeColor): same.
  4920. (BeginEdit): Flesh this out a bit.
  4921. (CancelEditing): only do any of this if we're editing/adding.
  4922. (EndEdit): same.
  4923. (OnMouseDown): there's no need to cancel editing here, it's done
  4924. in SetCurrentCell.
  4925. (SetCurrentCell): only invalidate the current row header if it's a
  4926. different row than the new one.
  4927. (ShiftSelection): fix this to work like MS does.
  4928. (ResetSelection): factor out the invalidation of selected_rows to
  4929. InvalidateSelection.
  4930. (SetDataSource): cancel any editing that's going on.
  4931. * DataGridColumnStyle.cs
  4932. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  4933. call the non-interface version.
  4934. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  4935. header rectangle with the clip rectangle so we don't redraw the
  4936. entire header for just a small area. Gets rid of the last flicker
  4937. when horizontally scrolling.
  4938. (DataGridPaintRow): same.
  4939. 2006-05-23 Mike Kestner <[email protected]>
  4940. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  4941. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  4942. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  4943. Critical bug report.
  4944. 2006-05-23 Peter Dennis Bartok <[email protected]>
  4945. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  4946. and this fixes #78493
  4947. 2006-05-23 Miguel de Icaza <[email protected]>
  4948. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  4949. size is not found.
  4950. * FileDialog.cs: Do not change the background for the side bar as
  4951. it wont work nicely with the theme, and also reduces the artifacts
  4952. in rendering the icons (which I want to fix too).
  4953. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  4954. resources, not resgen resources.
  4955. (PlatformDefaultHandler): Pull images using the new API.
  4956. 2006-05-23 Peter Dennis Bartok <[email protected]>
  4957. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  4958. a reference to the hwnd and will not remove it unless there are
  4959. no pending exposures (fixes #78341)
  4960. * XplatUI.cs: Improved debug
  4961. 2006-05-23 Atsushi Enomoto <[email protected]>
  4962. * MenuAPI.cs : don't handle OnClick event when it was not the left
  4963. button. Fixed bug #78487.
  4964. 2006-05-23 Mike Kestner <[email protected]>
  4965. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  4966. prefer submenus to the top menu for item lookup, to avoid popping down
  4967. top-row items.
  4968. 2006-05-23 Alexander Olk <[email protected]>
  4969. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  4970. Graphics.FillRectangle as the visual results are really bad (even
  4971. on win). We now draw perfect arrows (and perfect shadows when the
  4972. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  4973. Pen.DashPattern to draw the dots of each line.
  4974. 2006-05-22 Alexander Olk <[email protected]>
  4975. * FileDialog.cs: Update the filename combobox when navigating through
  4976. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  4977. 2006-05-22 Mike Kestner <[email protected]>
  4978. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  4979. Fixes #78463.
  4980. 2006-05-22 Mike Kestner <[email protected]>
  4981. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  4982. requests. Fix a misspelled parameter and a copy paste exception error
  4983. in Select.
  4984. 2006-05-22 Peter Dennis Bartok <[email protected]>
  4985. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  4986. to get the same width/height (5/13) on X11 as the default font has on
  4987. win32. This means that our DefaultFont emSize is smaller than the
  4988. the MS SWF equivalent (even thought the width/height stays the same)
  4989. 2006-05-20 Jackson Harper <[email protected]>
  4990. * MdiClient.cs:
  4991. * MdiWindowManager.cs:
  4992. * InternalWindowManager.cs: Make sure to use the border width from
  4993. the theme.
  4994. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  4995. * PrintDialog.cs: Implements printer details
  4996. 2006-05-19 Alexander Olk <[email protected]>
  4997. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  4998. Fixes part 1 and 2 of bug #78446
  4999. 2006-05-19 Peter Dennis Bartok <[email protected]>
  5000. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  5001. instead of sticking to the first ever calculated value
  5002. 2006-05-19 Mike Kestner <[email protected]>
  5003. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  5004. PointToClient, since Capture is set. Fixes #78344.
  5005. 2006-05-19 Mike Kestner <[email protected]>
  5006. * ListView.cs: match MS behavior in Details view where items are not
  5007. drawn if Columns.Count == 0.
  5008. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  5009. Use a separate pen to draw the check, since changing the width affects
  5010. the box as well. Fixes #78454.
  5011. 2006-05-18 Miguel de Icaza <[email protected]>
  5012. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  5013. exception should throw the name of the invalid argument.
  5014. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  5015. there are no files listed.
  5016. 2006-05-18 Jackson Harper <[email protected]>
  5017. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  5018. up.
  5019. 2006-05-18 Peter Dennis Bartok <[email protected]>
  5020. * Control.cs: Brought back our old UpdateZOrder method as a private
  5021. function and switched our calls from UpdateZOrder to the new one.
  5022. This fixes the Paint.Net canvas disappearing bug.
  5023. 2006-05-18 Jackson Harper <[email protected]>
  5024. * Theme.cs:
  5025. * ThemeWin32Classic.cs:
  5026. * InternalWindowManager.cs: Move the drawing into the theme,
  5027. expose everything the theme should need from the window manager.
  5028. 2006-05-18 Peter Dennis Bartok <[email protected]>
  5029. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  5030. from the call to NativeWindow to avoid walking up the parent chain
  5031. further than needed (speeds up setting cursors and avoids setting
  5032. the wrong cursor if a parent has another cursor defined)
  5033. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  5034. the icon as hotspot, not what's contained as hotspot in the icon
  5035. file. This fixes the perceived drawing offset seen with Paint.Net
  5036. 2006-05-18 Peter Dennis Bartok <[email protected]>
  5037. * XplatUIX11.cs:
  5038. - Store the calculated rectangle in Hwnd object and use it when
  5039. setting the client size
  5040. - Force Toolwindows to always be type Dock, to ensure they're on top
  5041. 2006-05-18 Mike Kestner <[email protected]>
  5042. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  5043. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  5044. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  5045. Substantial refactoring to remove confusing nested classes. Coding
  5046. standard and Get+Set->property refactorings. Shift to index based
  5047. highlighting in ComboListBox instead of constantly using IndexOf and
  5048. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  5049. in FileDialog growth. Draw borders manually since Simple mode needs
  5050. to look like two independent controls. Make listbox border
  5051. conditional to DropDownStyle. Improved OwnerDraw support.
  5052. 2006-05-18 Sebastien Pouliot <[email protected]>
  5053. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  5054. Don't set the disposed graphics to null, so we can throw the "right"
  5055. exception if the graphics is reused later (added a flag to avoid
  5056. double disposing). Some behaviours are different under 2.0 and are
  5057. filled under bug #78448.
  5058. 2006-05-18 Peter Dennis Bartok <[email protected]>
  5059. * Control.cs: When double-buffering is enabled, we need to reset
  5060. our graphics context between paint calls. Otherwise, any
  5061. transformations and other alterations on the context will
  5062. become cumulative (#77734)
  5063. 2006-05-18 Mike Kestner <[email protected]>
  5064. * ListView.cs: do focused item selection like MS on clicks.
  5065. Rework focus handling for ItemControl so LostFocus invalidates as
  5066. well.
  5067. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  5068. the ListView ItemControl has focus.
  5069. 2006-05-17 Peter Dennis Bartok <[email protected]>
  5070. * XplatUIX11.cs: If client_window ends up being width or height zero
  5071. due to border settings, move it off window inside whole_window (#78433)
  5072. 2006-05-17 Alexander Olk <[email protected]>
  5073. * Mime.cs: Shrink the mime file cache correctly.
  5074. 2006-05-17 Alexander Olk <[email protected]>
  5075. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  5076. 2006-05-16 Peter Dennis Bartok <[email protected]>
  5077. * XplatUIX11.cs (AddExpose): More sanity checks
  5078. 2006-05-16 Peter Dennis Bartok <[email protected]>
  5079. * XplatUIX11.cs:
  5080. - AddExpose: Don't add expose ranges outside the size of our
  5081. window
  5082. - Cast opacity values to Int32 to avoid crashes with certain
  5083. values
  5084. - Added disabled code paths that protect against illegal cross-
  5085. thread painting (Developers.exe)
  5086. 2006-05-16 Peter Dennis Bartok <[email protected]>
  5087. * ProgressBar.cs: Invalidate the control when it's resized
  5088. since block size is based on control size. (#78388)
  5089. 2006-05-16 Miguel de Icaza <[email protected]>
  5090. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  5091. of setting the incoming argument to the "reset" value, we set the
  5092. this.datamember to string.empty (before we were invalidating the
  5093. incoming data).
  5094. Fixes 78420
  5095. 2006-05-16 Peter Dennis Bartok <[email protected]>
  5096. * Form.cs: Only apply transparency settings after the form
  5097. is created. (Fixes #77800)
  5098. 2006-05-16 Peter Dennis Bartok <[email protected]>
  5099. * ApplicationContext.cs: Grab the HandleDestroyed event so
  5100. we know when to fire OnMainFormClosed
  5101. 2006-05-16 Peter Dennis Bartok <[email protected]>
  5102. * Application.cs: Introduced sub-class to allow tracking of
  5103. threads and centralized triggering of the event mess for
  5104. ThreadExit, AppExit, etc.. (#76156)
  5105. 2006-05-16 Alexander Olk <[email protected]>
  5106. * MimeIcon.cs:
  5107. - Do not return a null icon index value for a mime subclass.
  5108. Instead try the main mime type class too.
  5109. - Seems that some newer distributions don't have a link to some
  5110. gnome default icons anymore. So check the default gnome dir too.
  5111. 2006-05-16 Jackson Harper <[email protected]>
  5112. * MdiClient.cs: Don't paint the parent background image if we have
  5113. our own background image.
  5114. 2006-05-16 Peter Dennis Bartok <[email protected]>
  5115. * Control.cs:
  5116. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  5117. controls, all filled controls are supposed to overlap (#78080)
  5118. - UpdateZOrder is supposed to update the control's z-order in the
  5119. parent's z-order chain. Fixed to behave like that
  5120. - BringToFront: Removed obsolete code
  5121. - SendToBack: Simplyfied
  5122. - SetChildIndex: Trigger layout calculations when Z-order changes
  5123. since layout is done by z-order
  5124. 2006-05-16 Chris Toshok <[email protected]>
  5125. [ fixes bug #78410 ]
  5126. * DataGrid.cs (set_AlternatingBackColor): use
  5127. grid_drawing.InvalidateCells instead of Refresh().
  5128. (set_BackColor): call grid_drawing.InvalidateCells.
  5129. (set_BackgroundColor): use Invalidate instead of Refresh.
  5130. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  5131. invalidate the cell area.
  5132. 2006-05-15 Chris Toshok <[email protected]>
  5133. [ fixes bug #78011 ]
  5134. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  5135. on to DataGridPaintRow.
  5136. (DataGridPaintRow): take a clip argument, and only draw the cells
  5137. which intersect it. same with the not_usedarea.
  5138. * Theme.cs (DataGridPaintRow) add @clip parameter.
  5139. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  5140. XplatUI.ScrollWindow.
  5141. (ScrollToRow): same.
  5142. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  5143. with last column which was causing a gray swath to appear with the
  5144. XplatUI.ScrollWindow code.
  5145. 2006-05-15 Chris Toshok <[email protected]>
  5146. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  5147. use XplatUI.ScrollWindow.
  5148. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  5149. 2006-05-15 Peter Dennis Bartok <[email protected]>
  5150. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  5151. 2006-05-15 Peter Dennis Bartok <[email protected]>
  5152. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  5153. file since there are no equivalent X11 cursors
  5154. 2006-05-15 Atsushi Enomoto <[email protected]>
  5155. * MonthCalendar.cs : DateTimePicker should reflect selected date
  5156. on mouse*up*, not mouse*down*. Fixed originally reported part of
  5157. bug #76474.
  5158. 2006-05-15 Atsushi Enomoto <[email protected]>
  5159. * TabControl.cs : When argument index is equal or more than tab
  5160. count, just ignore. Fixed bug #78395.
  5161. 2006-05-15 Peter Dennis Bartok <[email protected]>
  5162. * Control.cs: Dispose all child controls when control is diposed (#78394)
  5163. 2006-05-14 Alexander Olk <[email protected]>
  5164. * ColorDialog.cs: Finally it is possible to select the color with
  5165. the text boxes
  5166. 2006-05-14 Alexander Olk <[email protected]>
  5167. * PrintDialog.cs: Fix typo
  5168. 2006-05-14 Alexander Olk <[email protected]>
  5169. * PrintDialog.cs: PrintDialog is not resizable
  5170. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  5171. color. Made some ToolBar drawing methods protected virtual.
  5172. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  5173. * PrintDialog.cs: Implementation of the PrintDialog
  5174. 2006-05-12 Chris Toshok <[email protected]>
  5175. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  5176. thumb, instead use MoveThumb. This has the side effect of making
  5177. most of the other thumb moving machinery use MoveThumb as well.
  5178. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  5179. need to actually invalidate the rectangle where the new thumb will
  5180. go.
  5181. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  5182. We force an Update() after, so it's not as fast as it could be,
  5183. but at least there's zero flicker and no droppings.
  5184. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  5185. (UpdateThumbPos): add another argument (dirty), which says whether
  5186. or not to calculate/add dirty regions which we later invalidate.
  5187. For cases where we know we're going to use MoveThumb, we pass
  5188. false for this. Otherwise, pass true.
  5189. 2006-05-12 Jackson Harper <[email protected]>
  5190. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  5191. the status bar.
  5192. 2006-05-12 Peter Dennis Bartok <[email protected]>
  5193. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  5194. and GetClipRegion methods and UserClipWontExposeParent property.
  5195. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  5196. overriding UserClipWontExposeParent property, setting to false, since
  5197. Win32 handles the required expose messages to draw our clipped parent
  5198. areas internally
  5199. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  5200. PaintEventStart to set the user clip region if set.
  5201. * Control.cs:
  5202. - Now internally tracking the Region for the control since we need to
  5203. store it if the handle is not yet created and only set it when it
  5204. becomes created. Before setting the region forced handle creation
  5205. - Added code to draw the parents underneath a user-clipped region
  5206. * Hwnd.cs: Added UserClip property
  5207. 2006-05-12 Chris Toshok <[email protected]>
  5208. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  5209. (set_Maximum): same.
  5210. (set_Minimum): same.
  5211. (set_SmallChange): same.
  5212. (OnMouseUpSB): remove the call to refresh when releasing the
  5213. thumb. We shouldn't need it.
  5214. 2006-05-12 Miguel de Icaza <[email protected]>
  5215. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  5216. AutoSize set to None, we do not need to relayout everything, we
  5217. just need to invalidate the current region.
  5218. (Draw): Do not draw the entire ClientArea, just redraw the
  5219. clip area being passed.
  5220. * MdiClient.cs: Make MdiClient constructor with the Form argument
  5221. internal.
  5222. 2006-05-12 Jackson Harper <[email protected]>
  5223. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  5224. parents background image, but strangely not their own.
  5225. - (DrawStatusBarPanel): Take into account horizontal alignment
  5226. when drawing the strings and icons.
  5227. 2006-05-12 Mike Kestner <[email protected]>
  5228. * ListBox.cs: avoid invalidations for focus when the collection is
  5229. empty.
  5230. 2006-05-12 Chris Toshok <[email protected]>
  5231. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  5232. invalidate the entire thumb area. Call InvalidateDirty which
  5233. limits the redraw to the thumb itself and surrounding pixels.
  5234. * XplatUIX11.cs (ScrollWindow): optimize copying.
  5235. 2006-05-12 Chris Toshok <[email protected]>
  5236. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  5237. Figure out the positioning/layout in a single pass instead of
  5238. multiple recursive invocations. Speeds up the initial display of
  5239. the data grid. Also, make many things private that were
  5240. originally public but unused outside this class.
  5241. 2006-05-11 Jackson Harper <[email protected]>
  5242. * MdiClient.cs: Improved layout code.
  5243. 2006-05-11 Jonathan Chambers <[email protected]>
  5244. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  5245. not SelectedObject.
  5246. 2006-05-11 Chris Toshok <[email protected]>
  5247. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  5248. union of that will always be {0,0,width,height}.
  5249. 2006-05-11 Jackson Harper <[email protected]>
  5250. * Form.cs: Match MS's DefaultSize for forms (they must have
  5251. changed the size in sp2).
  5252. 2006-05-11 Atsushi Enomoto <[email protected]>
  5253. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  5254. 2006-05-11 Atsushi Enomoto <[email protected]>
  5255. * TextControl.cs : Fixed bug #78109. This incorrect position
  5256. comparison caused crash on automatic line split.
  5257. * TextBoxBase.cs : reduce duplicate code.
  5258. 2006-05-10 Jackson Harper <[email protected]>
  5259. * MdiClient.cs: Active form is only sent to the back when using
  5260. the Next form functionality, when a form is clicked the current
  5261. active shouldn't be sent to the back.
  5262. - Layout the mdi windows when the container is first made visible.
  5263. * Form.cs: Give the MdiClient a ref to the containing form when we
  5264. create it.
  5265. 2006-05-10 Atsushi Enomoto <[email protected]>
  5266. * LinkLabel.cs : link_font could be uninitialized, so populate one
  5267. before actual use. Fixed bug #78340.
  5268. 2006-05-10 Atsushi Enomoto <[email protected]>
  5269. * XplatUIX11.cs : clipboard format native value is IntPtr.
  5270. Fixed bug #78283.
  5271. 2006-05-10 Peter Dennis Bartok <[email protected]>
  5272. * Control.cs:
  5273. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  5274. which is passed up the parent chain by DefWndProc
  5275. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  5276. to DefWndProc (#77956)
  5277. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  5278. 2006-05-10 Jackson Harper <[email protected]>
  5279. * MdiClient.cs: We need to remove the controls from the mdi
  5280. collection, when we close the window.
  5281. * MdiWindowManager.cs: Special handling of closing mdi windows.
  5282. * InternalWindowManager.cs: Make the close method virtual so the
  5283. mdi window manager can handle it specially.
  5284. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  5285. * DataGrid.cs:
  5286. - Recalculate grid when the data source has changed
  5287. - Matches styles provided by user from all data sources types
  5288. * DataGridTableStyle.cs: For columns that provided by the user set the
  5289. with the preferred value is there was unassigned.
  5290. * CurrencyManager.cs: throw OnItemChanged event
  5291. 2006-05-10 Peter Dennis Bartok <[email protected]>
  5292. * PictureBox.cs: Don't animate until handle is created. Start animation
  5293. when handle is created.
  5294. 2006-05-10 Peter Dennis Bartok <[email protected]>
  5295. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  5296. current codebase.
  5297. * XEventQueue.cs: We don't need to provide the extra info
  5298. 2006-05-10 Jackson Harper <[email protected]>
  5299. * MdiClient.cs: If the mdi clients parent form has a background
  5300. image set, we draw that background image for the mdi area's
  5301. background.
  5302. 2006-05-10 Peter Dennis Bartok <[email protected]>
  5303. * TextBoxBase.cs: Set IBeam cursor (#78347)
  5304. 2006-05-10 Mike Kestner <[email protected]>
  5305. * ToolBar.cs: fix some text padding issues with ButtonSize
  5306. calculation. Update the default size to match MS documentation.
  5307. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  5308. button size. Fixes #78296.
  5309. 2006-05-10 Mike Kestner <[email protected]>
  5310. * ListBox.cs: use is_visible for scrollbar positioning in case the
  5311. control isn't on screen yet. Fix off by one with Right vs Width
  5312. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  5313. 2006-05-10 Jackson Harper <[email protected]>
  5314. * X11Dnd.cs: Drop to a control with another control on top of it.
  5315. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  5316. be modified in click handlers. TODO: Look for similar problems in
  5317. other controls.
  5318. 2006-05-09 Jackson Harper <[email protected]>
  5319. * Form.cs: Window managers need the old window state when setting
  5320. window state now.
  5321. * InternalWindowManager.cs: Allow the base mdi window manager to
  5322. handle more of the MDI only stuff (like maximize buttons).
  5323. * MdiWindowManager.cs: Fix some snafus in changing the window
  5324. state. Add all the menu functionality, for both popup and
  5325. maximized menus.
  5326. * MdiClient.cs: When a new form is selected the currently
  5327. activated form is sent to the back, this matches MS.
  5328. - Implement a new method to activate the next mdi child window.
  5329. 2006-05-08 Peter Dennis Bartok <[email protected]>
  5330. * Control.cs:
  5331. - Added new InternalCapture method to allow controls to prevent
  5332. the capture behaviour on the click handlers
  5333. - Switched to use InternalCapture
  5334. * ComboBox.cs:
  5335. - Using InternalCapture to prevent mouse captures from being released
  5336. on mouse button release (Fixes #78100)
  5337. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  5338. returns Form borders if a caption is present. (Fixes #78310)
  5339. 2006-05-08 Peter Dennis Bartok <[email protected]>
  5340. * TreeNode.cs: Changed serialization .ctor to not require every field
  5341. to be present. (#78265)
  5342. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  5343. 2006-05-05 Alexander Olk <[email protected]>
  5344. * MimeIcon.cs: for is faster than foreach for strings.
  5345. 2006-05-05 Mike Kestner <[email protected]>
  5346. * CheckedListBox.cs: update check handling code to not use selected.
  5347. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  5348. behavior for visual feedback, motion response, shift/ctrl handling,
  5349. and properly deal with all 4 selection modes. Updates to bounds
  5350. handling logic. Add scroll wheel support. [Fixes #77842]
  5351. 2006-05-05 Peter Dennis Bartok <[email protected]>
  5352. * ListView.cs:
  5353. - Moved adding of Implicit controls into .ctor. That way, subsequent
  5354. creation of the controls will not cause them to think they are
  5355. toplevel windows (fixes #78200 header problem)
  5356. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  5357. - Switched visibility setting of header control to use internal field
  5358. to avoid triggering handle creation
  5359. - Now checking if handle is created before causing a refresh when items
  5360. are added (This makes us now match handle creation time with MS)
  5361. * Splitter.cs: Removed loading of private splitter cursor, switched to
  5362. Cursors version now that that is loading the right ones
  5363. * Cursors.cs: Load proper splitter cursors from resources
  5364. * Cursor.cs: Added second method of loading resource cursors for the
  5365. VS.Net users amongst us
  5366. 2006-05-05 Mike Kestner <[email protected]>
  5367. * ListView.cs: give header_control a minimum size based on the
  5368. ListView size.
  5369. 2006-05-05 Peter Dennis Bartok <[email protected]>
  5370. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  5371. window seems to do that with metacity, so set that type. (#78120)
  5372. 2006-05-05 Mike Kestner <[email protected]>
  5373. * ListViewItem.cs: fix Details mode checkbox layout bug.
  5374. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  5375. at the end of the header, if it exists. [Fixes for #78200]
  5376. 2006-05-04 Jackson Harper <[email protected]>
  5377. * MdiClient.cs: Add a helper property to get the container form.
  5378. * MdiWindowManager.cs: We have to make sure to use the menu origin
  5379. when drawing the icons and buttons, this fixes maximized window
  5380. icons/buttons on win32.
  5381. * InternalWindowManager.cs: Reset the restore captions when a
  5382. window goes from Maximized to Minimized and vice versa. Move the
  5383. DrawMaximizedButtons into the MdiWindowManager source, tool
  5384. windows can't be maximized. NOTE: This could use a little
  5385. refactoring if time ever permits.
  5386. 2006-05-03 Jonathan Chambers <[email protected]>
  5387. * TextBox.cs: Add MWFCategoryAttributes
  5388. * TextBoxBase.cs: Add MWFCategoryAttributes
  5389. * Form.cs: Add MWFCategoryAttributes
  5390. 2006-05-03 Jonathan Chambers <[email protected]>
  5391. * Control.cs: Add MWFCategoryAttributes
  5392. * ScrollableControl.cs: Add MWFCategoryAttributes
  5393. 2006-05-03 Alexander Olk <[email protected]>
  5394. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  5395. Divider is true. Fix a little glitch in PropertyToolBar
  5396. drawing code
  5397. 2006-05-02 Peter Dennis Bartok <[email protected]>
  5398. * Control.cs:
  5399. - Dispose: Call base.Dispose, this causes the disposed event
  5400. to be fired (and probably other, more important stuff)
  5401. - SetVisibleCore: Set is_visible to true after creating the
  5402. window so that the window still gets created invisible (if
  5403. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  5404. to generate a WM_ACTIVE message
  5405. * Form.cs: Call Dispose when we want to destroy the window, instead of
  5406. just destroying the handle (Dispose will do that for us)
  5407. * XplatUIX11.cs:
  5408. - RootWindow also needs a queue, so we can properly process the
  5409. property change events from RootWindow (like Activate)
  5410. - Generatic synthetic WM_ACTIVE message when the active window is
  5411. being destroyed
  5412. 2006-05-01 Peter Dennis Bartok <[email protected]>
  5413. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  5414. bounds are changed
  5415. 2006-05-01 Peter Dennis Bartok <[email protected]>
  5416. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  5417. for determining width and height (image might not be assigned if
  5418. we're drawing an imagelist)
  5419. 2006-05-01 Peter Dennis Bartok <[email protected]>
  5420. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  5421. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  5422. height from system
  5423. * Theme.cs: No longer returns hardcoded menu height, instead calls
  5424. new driver method
  5425. * Form.cs (OnLoad): Scaling happens before triggering Load events
  5426. on MS (# 78257)
  5427. 2006-05-01 Mike Kestner <[email protected]>
  5428. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  5429. 2006-04-30 Peter Dennis Bartok <[email protected]>
  5430. * TextBoxBase.cs: Removed Fixme
  5431. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  5432. 2006-04-30 Peter Dennis Bartok <[email protected]>
  5433. * XplatUIX11.cs:
  5434. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  5435. the rectangle relative to the parent, considering borders. We
  5436. don't really want that.
  5437. - ScrollWindow: Fixed warning to be more understandable
  5438. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  5439. scrollbars and scroll only the visible area
  5440. * RichTextBox.cs: Removed debug output
  5441. 2006-04-29 Peter Dennis Bartok <[email protected]>
  5442. * NumericUpDown.cs (Text): Just use base
  5443. * UpDownBase.cs: Ensure txtView is created before using it
  5444. 2006-04-29 Peter Dennis Bartok <[email protected]>
  5445. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  5446. casting to IntPtr to avoid 64bit overflow errors
  5447. 2006-04-29 Peter Dennis Bartok <[email protected]>
  5448. * Control.cs:
  5449. - AllowDrop: Don't force handle creation.
  5450. - CreateHandle: Added call to tell driver if we're allowed to drop
  5451. 2006-04-27 Alexander Olk <[email protected]>
  5452. * FileDialog.cs: Remember the last directory not only for the
  5453. current instance but also for new FileDialog instances.
  5454. 2006-04-29 Peter Dennis Bartok <[email protected]>
  5455. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  5456. broke sending async messages
  5457. 2006-04-29 Peter Dennis Bartok <[email protected]>
  5458. * XplatUIX11.cs:
  5459. - ScrollWindow: Fixed method. We finally generate expose events again
  5460. for scrolled areas. This was causing 'garbage' when scrolling
  5461. textbox and other controls that used ScrollWindow
  5462. - Switched from using the regular queue for paint events to the MS
  5463. model of 'generating' paint events when the queue is empty.
  5464. We use the new XQueueEvent.Paint subclass to store which windows
  5465. need painting.
  5466. - AddExpose now takes the x/y/width/height of the exposed area
  5467. and inserts the window into the paint queue if not already there
  5468. - InvalidateWholeWindow: Switched to use new AddExpose method
  5469. - UpdateMessageQueue: Added which queue to monitor for paint events
  5470. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  5471. the unlikely case nothing above handles it. We reset the expose
  5472. pending states to get them off the queue.
  5473. - GetMessage: Now pulls a paint event if no other events are in the
  5474. queue
  5475. - Invalidate: Switched to new AddExpose method
  5476. - PeekMessage: Updated to understand pending paint events
  5477. - UpdateWindow: Fixed logic bug. We were only updating if the window
  5478. didn't need updating. Also switched to sending WM_PAINT directly,
  5479. like MS does.
  5480. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  5481. and random access Remove(). The random access is needed to handle
  5482. UpdateWindow() where a WM_PAINT is sent directly without accessing
  5483. the queue.
  5484. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  5485. allow for better feedback when scrolling. Scrollbars are small and
  5486. the immediate update should make it 'feel' more responsive without
  5487. slowing things down. ScrollBar still needs it's invaliate logic
  5488. updated to not always invalidate the whole bar on certain changes.
  5489. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  5490. * Control.cs:
  5491. (BackColor): if the control does not support a transparent background,
  5492. return the default backcolor when the parent backcolor is transparent.
  5493. 2006-04-28 Peter Dennis Bartok <[email protected]>
  5494. * Application.cs: Updated to new StartLoop/GetMessage API
  5495. * RichTextBox.cs: Provide some output on RTF parsing errors
  5496. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  5497. new queue_id argument to GetMessage and PeekMessage to allow faster
  5498. handling of per-thread queues in drivers.
  5499. * Hwnd.cs: Added Queue tracking and property
  5500. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  5501. * XEventQueue.cs: Added thread trackingA
  5502. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  5503. * XplatUIX11.cs:
  5504. - Implemented new per-thread queue
  5505. - GetMessage: Fixed return/break behaviour on several cases. We were
  5506. returning stale messages in some cases, instead of just processing
  5507. the next message
  5508. 2006-04-27 Jonathan Chambers <[email protected]>
  5509. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  5510. 2006-04-27 Peter Dennis Bartok <[email protected]>
  5511. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  5512. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  5513. 2006-04-27 Jonathan Chambers <[email protected]>
  5514. * PropertyGridView.cs: Fix drop down width.
  5515. 2006-04-27 Alexander Olk <[email protected]>
  5516. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  5517. a mess in DrawToolBar, so I removed one of them.
  5518. 2006-04-27 Alexander Olk <[email protected]>
  5519. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  5520. needed (clip). Otherwise we get artifacts.
  5521. 2006-04-26 Peter Dennis Bartok <[email protected]>
  5522. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  5523. dimension is fixed
  5524. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  5525. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  5526. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  5527. if it matches the scale base font (avoids unneeded scaling)
  5528. 2006-04-26 Alexander Olk <[email protected]>
  5529. * X11DesktopColors.cs: One gtk_init_check should be enough
  5530. 2006-04-26 Peter Dennis Bartok <[email protected]>
  5531. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  5532. match MS behaviour
  5533. 2006-04-26 Peter Dennis Bartok <[email protected]>
  5534. * TextBoxBase.cs:
  5535. - Generate OnTextChanged for Backspace even if we're only deleting
  5536. the current selection
  5537. - When setting the Text property, only select all text if the
  5538. control does not have focus when it is being set. Otherwise
  5539. just place the cursor at the beginning of the control
  5540. 2006-04-26 Alexander Olk <[email protected]>
  5541. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  5542. Added a little helper to draw PropertyGrid ToolBar with a different
  5543. border and a different BackColor.
  5544. * PropertyGrid.cs: Some background parts didn't get painted with the
  5545. correct background color. Added a class that helps us to draw the
  5546. correct border for PropertyGridView and a class that helps us to
  5547. draw ToolBars with a different backcolor
  5548. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  5549. 2006-04-25 Jonathan Chambers <[email protected]>
  5550. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  5551. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  5552. 2006-04-25 Peter Dennis Bartok <[email protected]>
  5553. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  5554. into the palette entries. Also, since we're working on a copy
  5555. we needed to copy the palette back onto the bitmap.
  5556. * Cursor.cs: Same fix as XplatUIWin32.cs.
  5557. 2006-04-25 Peter Dennis Bartok <[email protected]>
  5558. * ImageListStreamer.cs: Need to read the var (or we're off)
  5559. 2006-04-25 Peter Dennis Bartok <[email protected]>
  5560. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  5561. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  5562. TextBoxBase.cs: Unused var fixes
  5563. * AxHost.cs: Small 2.0 fix
  5564. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  5565. as it seems that is what at least Metacity expects. This will make
  5566. icons show up on 64bit platforms. We still have some 64bit size
  5567. issues, though, since the startup app window size still won't match.
  5568. 2006-04-25 Mike Kestner <[email protected]>
  5569. * *.cs: cleanup newly reported exception var unused warnings.
  5570. 2006-04-25 Alexander Olk <[email protected]>
  5571. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  5572. ms
  5573. 2006-04-25 Alexander Olk <[email protected]>
  5574. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  5575. image. The image position is always the same, no matter if the
  5576. button is pressed or not.
  5577. 2006-04-25 Alexander Olk <[email protected]>
  5578. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  5579. selection and set the correct filename for SaveFileDialog.
  5580. Patch by Emery Conrad.
  5581. 2006-04-24 Mike Kestner <[email protected]>
  5582. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  5583. check for item.X outside the ClientRect instead of item.Y. Fixes
  5584. #78151.
  5585. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  5586. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  5587. trust that value blindly and do some sanity check. Fixes bug #77814.
  5588. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  5589. * ImageListStreamer.cs: save the mask as a 1bpp image.
  5590. 2006-04-21 Mike Kestner <[email protected]>
  5591. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  5592. pass Checked and Indeterminate to the Theme Engine. Improve
  5593. encapsulation with ListBox.
  5594. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  5595. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  5596. nested types. Move all CheckState functionality to CheckedListBox.
  5597. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  5598. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  5599. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  5600. single base list. Fix scrollbar sizing and placement to mirror MS.
  5601. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  5602. used.
  5603. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  5604. for CheckedListBox by using new DrawItemState info. Center the
  5605. checkboxes on the items. Use new StringFormat property.
  5606. 2006-04-18 Jackson Harper <[email protected]>
  5607. * Form.cs: MdiChildren don't do default locations the same way as
  5608. regular forms. This prevents a crash when trying to position the
  5609. mdi windows.
  5610. 2006-04-17 Jonathan Chambers <[email protected]>
  5611. * PropertyGridTextBox.cs: Formatting, copyright
  5612. * PropertiesTab.cs: Formatting
  5613. * PropertyGrid.cs: Formatting
  5614. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  5615. click toggling of values
  5616. 2006-04-17 Peter Dennis Bartok <[email protected]>
  5617. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  5618. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  5619. every time a control is created
  5620. * Application.cs: Removed obsolete EnableRTLMirroring method
  5621. 2006-04-18 Gert Driesen <[email protected]>
  5622. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  5623. SelectedIndex to -1. Fixes bug #78121.
  5624. 2006-04-17 Jackson Harper <[email protected]>
  5625. * Binding.cs: Handle null values for Current and BindingContext.
  5626. This occurs when binding is a little delayed.
  5627. * CurrencyManager.cs: return null for Current when there are no
  5628. items in the list.
  5629. - Hookup to the listchanged event on the DataView and update
  5630. bindings when the list is changed. This fixes late binding of
  5631. controls.
  5632. 2006-04-17 Jackson Harper <[email protected]>
  5633. * X11Dnd.cs:
  5634. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  5635. Ringenbach.
  5636. 2006-04-15 Alexander Olk <[email protected]>
  5637. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  5638. place
  5639. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  5640. with the correct ButtonState
  5641. 2006-04-14 Peter Dennis Bartok <[email protected]>
  5642. * XplatUIX11.cs: Improved distinguishing between window types to
  5643. tell the WM a type closer to what the app wants (Fixes #78107)
  5644. 2006-04-14 Alexander Olk <[email protected]>
  5645. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  5646. GrabHandle
  5647. 2006-04-14 Alexander Olk <[email protected]>
  5648. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  5649. drawing code to reflect the size grip changes
  5650. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  5651. * ImageListStreamer.cs: fix handling of the mask that follows the main
  5652. bitmap when deserializing and serialize it properly. The generated mask
  5653. should better be a 1bpp image, but I'll do that later.
  5654. 2006-04-13 Alexander Olk <[email protected]>
  5655. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  5656. path doesn't fit into some of our Current.Places
  5657. 2006-04-13 Jackson Harper <[email protected]>
  5658. * ComboBox.cs: Use borders instead of drawing our own decorations,
  5659. try to obey correct rules for heights.
  5660. * Theme.cs:
  5661. * ThemeNice.cs:
  5662. * ThemeClearLooks.cs:
  5663. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  5664. this is now handled by borders.
  5665. - Remove unused DrawListBoxDecorationSize method.
  5666. 2006-04-13 Mike Kestner <[email protected]>
  5667. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  5668. reported by Alex.
  5669. 2006-04-13 Alexander Olk <[email protected]>
  5670. * ThemeWin32Classic.cs:
  5671. - Fixed CPDrawStringDisabled
  5672. - Corrected drawing of disabled menu items
  5673. - Fixed drawing of disabled radio buttons (bug #78095)
  5674. - Draw check in a disabled CheckBox with color ControlDark
  5675. 2006-04-12 Peter Dennis Bartok <[email protected]>
  5676. * Form.cs: Use the provided width when calculating the menu size;
  5677. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  5678. and ClientSize.Width won't be updated yet
  5679. * Application.cs: Use Visible instead of Show() to make form visible,
  5680. this way we create the handle later and menusize is considered
  5681. 2006-04-12 Mike Kestner <[email protected]>
  5682. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  5683. reporting.
  5684. 2006-04-12 Peter Dennis Bartok <[email protected]>
  5685. * TextBox.cs: Implemented context menu
  5686. 2006-04-12 Mike Kestner <[email protected]>
  5687. * ListView.cs: implement box selection. fixes #77838.
  5688. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  5689. 2006-04-12 Peter Dennis Bartok <[email protected]>
  5690. * XplatUIX11.cs: Added setting of window type when transient window
  5691. is created (metacity would move it otherwise)
  5692. * X11Structs.cs: Added WINDOW_TYPE atoms
  5693. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  5694. background (the control is Opaque but still wants transparent
  5695. backgrounds)
  5696. 2006-04-12 Peter Dennis Bartok <[email protected]>
  5697. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  5698. that set Opaque but don't mean it (like all ButtonBase-derived
  5699. controls) to still draw their background
  5700. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  5701. the background
  5702. 2006-04-12 Peter Dennis Bartok <[email protected]>
  5703. * Control.cs (PaintControlBackground): Set the graphics object
  5704. on our PaintEvent to null to prevent it from being disposed
  5705. when the PaintEvent gets disposed
  5706. 2006-04-12 Alexander Olk <[email protected]>
  5707. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  5708. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  5709. 2006-04-12 Peter Dennis Bartok <[email protected]>
  5710. * Control.cs:
  5711. - Added transparency check to BackColor property. Transparent
  5712. backgrounds are only allowed if the control styles permit it
  5713. - Added recursive painting of parent control background and
  5714. foreground if a control with a transparent backcolor is drawn
  5715. (Thanks to Tim Ringenback for providing his 'hack' as a base
  5716. for this patch) Fixes #77985 and #78026.
  5717. - Added Opaque style check before calling OnPaintBackground, no
  5718. need to draw the background if the control is opaque
  5719. - Removed ControlAccessibleObject owner variable (inherited from
  5720. base, no need to define again)
  5721. - Added some documentation links explaining the drawing events
  5722. and styles
  5723. 2006-04-11 Peter Dennis Bartok <[email protected]>
  5724. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  5725. that the affected control is the located at the left border of our
  5726. parent (Fixes #77936)
  5727. 2006-04-11 Peter Dennis Bartok <[email protected]>
  5728. * TextBoxBase.cs: When rendering disabled or readonly controls,
  5729. draw the background with 'Control' instead of 'Window' color as
  5730. long as the user hasn't specifically set a color
  5731. 2006-04-11 Peter Dennis Bartok <[email protected]>
  5732. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  5733. since that won't be updated if the user types text (only if it's
  5734. programatically set)
  5735. 2006-04-11 Peter Dennis Bartok <[email protected]>
  5736. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  5737. layout changes do to app-triggered resizes will have the proper
  5738. display rectangle for layout
  5739. 2006-04-11 Alexander Olk <[email protected]>
  5740. * ThemeWin32Classic.cs:
  5741. - Make use of the SystemBrushes and SystemPens wherever possible
  5742. - Corrected some highlight colors
  5743. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  5744. drawing
  5745. * Theme.cs: Added Empty field to CPColor struct
  5746. 2006-04-11 Peter Dennis Bartok <[email protected]>
  5747. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  5748. is displayed when calculating the display rectangle. Thanks to Mike
  5749. for teaching me the err of my ways.
  5750. 2006-04-10 Peter Dennis Bartok <[email protected]>
  5751. * ScrollableControl.cs:
  5752. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  5753. (instead of 0,0) and we now return the real width/height instead of
  5754. just the clientrectangle, adjusted for padding. The rectangle is
  5755. now cached and created by the new CalculateDisplayRectangle method.
  5756. - Created new CalculateDisplayRectange method, which basically does
  5757. what get_DisplayRectangle() did originally, but now using the
  5758. right edge instead of DisplayRectangle to determine the size of
  5759. our scrollbars
  5760. - get_Canvas(): Fixed it to properly calculate canvas for
  5761. right/bottom controls which seem to be placed to the right/bottom
  5762. of any controls that have a fixed location
  5763. - Removed TODO that's taken care of
  5764. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  5765. and SetDisplayRectLocation according to new MSDN2 docs
  5766. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  5767. event when that is called, this is added for compatibility
  5768. - ScrollControlIntoView(): Implemented.
  5769. - Switched scrollbars to be implicit, they shouldn't be selectable
  5770. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  5771. call it when the active control is set/changed
  5772. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  5773. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  5774. implicit_control variable (used for native Win32 message generation)
  5775. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  5776. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  5777. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  5778. * XplatUIStructs.cs: Added ScrollBarCommands enum
  5779. 2006-04-10 Jackson Harper <[email protected]>
  5780. * ButtonBase.cs:
  5781. * CheckedListBox.cs:
  5782. * ComboBox.cs:
  5783. * DataGrid.cs:
  5784. * DataGridView.cs:
  5785. * Form.cs:
  5786. * GroupBox.cs:
  5787. * ListBox.cs:
  5788. * PrintPreviewControl.cs:
  5789. * ProgressBar.cs:
  5790. * PropertyGrid.cs:
  5791. * Splitter.cs:
  5792. * StatusBar.cs:
  5793. * TrackBar.cs:
  5794. * UpDownBase.cs: Fixup base event overrides.
  5795. 2006-04-06 Mike Kestner <[email protected]>
  5796. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  5797. all user-initiated value changes to min <= value <= max-thumbsz+1.
  5798. (set_Value): check for vert/horiz when calculating new thumb position.
  5799. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  5800. like MS does.
  5801. (OnMouseMoveSB): refactor the thumb dragging code and refine
  5802. invalidation logic to reduce flicker.
  5803. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  5804. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  5805. (UpdateThumbPosition): small code readability cleanup
  5806. 2006-04-10 Alexander Olk <[email protected]>
  5807. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  5808. different
  5809. 2006-04-08 Alexander Olk <[email protected]>
  5810. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  5811. 2006-04-08 Alexander Olk <[email protected]>
  5812. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  5813. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  5814. This dramatically reduces the number of Pen.Dispose calls.
  5815. Where possible call ResPool methods only once instead of calling it
  5816. over and over again (for example for the same color).
  5817. 2006-04-06 Mike Kestner <[email protected]>
  5818. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  5819. Also remove an unused private field on the collection. Fixes #77972.
  5820. 2006-04-06 Alexander Olk <[email protected]>
  5821. * ThemeNice.cs: Added ToolBar drawing code
  5822. 2006-04-06 Mike Kestner <[email protected]>
  5823. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  5824. I'm assuming that means we need to look up the toplevel for the
  5825. provided control. Fixes the crash trace in #77911 but exposes another
  5826. crash in some strange reflection usage in NDocGui.
  5827. 2006-04-06 Alexander Olk <[email protected]>
  5828. * ThemeNice.cs: Gave it a little silver touch and added Images
  5829. method
  5830. * FontDialog.cs: FontDialog is not resizable
  5831. * FileDialg.cs: Added SizeGripStyle.Show
  5832. 2006-04-05 Jackson Harper <[email protected]>
  5833. * KeyboardLayouts.cs: Remove warning.
  5834. 2006-04-05 Jackson Harper <[email protected]>
  5835. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  5836. all of our controls instead of Paint +=.
  5837. * ListBox.cs:
  5838. * ListView.cs:
  5839. * MenuAPI.cs:
  5840. * MessageBox.cs:
  5841. * NotifyIcon.cs:
  5842. * ProgressBar.cs:
  5843. * ScrollBar.cs:
  5844. * Splitter.cs:
  5845. * StatusBar.cs:
  5846. * TabControl.cs:
  5847. * TextBoxBase.cs:
  5848. * ToolBar.cs:
  5849. * TrackBar.cs:
  5850. * UpDownBase.cs:
  5851. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  5852. use OnPaintInternal. Remove Width/Height and Visible checks in
  5853. paint handler, this is done at a higher level now.
  5854. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  5855. * PaintEventArgs.cs: Add a handled flag so controls that don't
  5856. want anymore painting after OnPaintInternal can make sure OnPaint
  5857. isn't called.
  5858. 2006-04-05 Mike Kestner <[email protected]>
  5859. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  5860. state of the form, so that we don't process events when Modal dialogs
  5861. are up. Fixes #77922.
  5862. 2006-04-05 Alexander Olk <[email protected]>
  5863. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  5864. checking is done.
  5865. 2006-04-05 Mike Kestner <[email protected]>
  5866. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  5867. 2006-04-05 Mike Kestner <[email protected]>
  5868. * ListView.cs (HeaderMouseMove): null guarding for the over column
  5869. when setting up the drag_to_index. Fixes #78015.
  5870. 2006-04-04 Peter Dennis Bartok <[email protected]>
  5871. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  5872. in the taskbar. Transient windows seem to accomplish that.
  5873. 2006-04-04 Peter Dennis Bartok <[email protected]>
  5874. * Form.cs:
  5875. - Re-enabled CreateParams.X/Y code for FormStartPosition
  5876. - Added code for manual placement when creating the Control
  5877. - Incomplete patch to treat MDI forms differently when
  5878. setting the ClientSizeCore. (Still need to figure out handling
  5879. x/y coords there)
  5880. * XplatUIX11.cs:
  5881. - When we're explicitly setting the X/Y position of a non-Child
  5882. window, let the WM know. Metacity really wants this.
  5883. 2006-04-04 Alexander Olk <[email protected]>
  5884. * ThemeNice.cs: Added CPDrawButton
  5885. 2006-04-04 Alexander Olk <[email protected]>
  5886. * ThemeNice.cs: Changed the color for focused buttons and activated
  5887. the arrows for small scroll buttons.
  5888. 2006-04-04 Alexander Olk <[email protected]>
  5889. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  5890. anymore. Changed some method modifiers to protected (virtual)
  5891. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  5892. changes
  5893. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  5894. Updated drawing of menus, buttons and progressbars; added
  5895. CPDrawBorder3D
  5896. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  5897. * ImageListStreamer.cs: implemented serialization/deserialization
  5898. of the images.
  5899. 2006-04-03 Alexander Olk <[email protected]>
  5900. * ThemeWin32Classic.cs:
  5901. - Removed all the DrawFrameControl stuff; CPDrawButton,
  5902. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  5903. inside the methods
  5904. - Updated and corrected the drawing code of CPDrawButton,
  5905. CPDrawCheckBox and CPDrawRadioButton to better match ms
  5906. - Updated theme checkbox and radiobutton code to use the CP*
  5907. methods
  5908. 2006-03-31 Peter Dennis Bartok <[email protected]>
  5909. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  5910. bug is fixed
  5911. 2006-03-31 Jackson Harper <[email protected]>
  5912. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  5913. sometimes.
  5914. * UpDownBase.cs: Don't CreateGraphics manually, use a
  5915. Refresh. Ideally we would invalidate the correct areas here.
  5916. 2006-03-31 Peter Dennis Bartok <[email protected]>
  5917. * XplatUIX11.cs:
  5918. - We now track the mapping state of windows. If a window (or
  5919. one of it's parents) is not mapped we no longer permit
  5920. WM_PAINT messages to be generated since we'd otherwise get
  5921. lots of BadMatch X errors. Jackson did all the work figuring
  5922. out the problem.
  5923. - Destroying the caret if the window it's contained in is
  5924. destroyed. Can't use regular DestroyCaret method since it
  5925. might fall into a drawing function (trying to remove the
  5926. caret) and with that generate new BadMatch errors. Again,
  5927. Jackson tracked this down.
  5928. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  5929. make sure we send the messages to all windows. (The old code
  5930. would send the WM_DESTROY to the window, and then all child
  5931. windows would be 'gone' because the WM_DESTROY handle lookup
  5932. would no longer find the destroyed window)
  5933. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  5934. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  5935. 2006-03-31 Jackson Harper <[email protected]>
  5936. * ScrollableControl.cs: Dont recalc if we are not visible.
  5937. 2006-03-31 Mike Kestner <[email protected]>
  5938. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  5939. the visibility branch.
  5940. 2006-03-31 Jackson Harper <[email protected]>
  5941. * ScrollBar.cs: Cap values when incrementing/decrementing.
  5942. 2006-03-31 Mike Kestner <[email protected]>
  5943. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  5944. * ToolTip.cs: guard against timer expirations with no active control.
  5945. Not sure why it happened.
  5946. 2006-03-31 Mike Kestner <[email protected]>
  5947. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  5948. text.
  5949. * ToolTip.cs: Position the tooltip based on where the cursor is at
  5950. popup time, not at MouseEnter time. Add a Down state so that we don't
  5951. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  5952. positioning offset. Lookup DisplaySize at positioning time, since it
  5953. can theoretically change during invocation.
  5954. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  5955. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  5956. 2006-03-31 Alexander Olk <[email protected]>
  5957. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  5958. Fixes behaviour when the Text property of the box is String.Empty
  5959. 2006-03-31 Peter Dennis Bartok <[email protected]>
  5960. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  5961. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  5962. a window)
  5963. 2006-03-31 Alexander Olk <[email protected]>
  5964. * FileDialog.cs: Visual enhancement for the popup buttons in
  5965. PopupButtonPanel
  5966. 2006-03-31 Alexander Olk <[email protected]>
  5967. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  5968. code
  5969. 2006-03-30 Alexander Olk <[email protected]>
  5970. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  5971. highlighted menu items to match ms
  5972. 2006-03-30 Peter Dennis Bartok <[email protected]>
  5973. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  5974. 2006-03-30 Mike Kestner <[email protected]>
  5975. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  5976. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  5977. go active to account for HotLight to Selected transition.
  5978. * MenuItem.cs: add internal Selected prop. Fill out the Status
  5979. property by calculating it from item info. Add HotLight,
  5980. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  5981. 2006-03-30 Mike Kestner <[email protected]>
  5982. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  5983. 2006-03-29 Jackson Harper <[email protected]>
  5984. * Form.cs: Implement TODO.
  5985. 2006-03-29 Peter Dennis Bartok <[email protected]>
  5986. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  5987. missing proper dialog setup in the constructor
  5988. 2006-03-29 Peter Dennis Bartok <[email protected]>
  5989. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  5990. * Control.cs:
  5991. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  5992. - Fixed ResetBindings and removed TODO
  5993. - Added check for cross-thread calls to get_Handle()
  5994. - Added Marshaller attribute for set_Font to satisfy class status
  5995. * FontDialog.cs: Removed TODOs that seemed implemented
  5996. * UpDownBase.cs: Removed unneeded TODO and Fixme
  5997. * MessageBox.cs: Implemented support for Default button and removed TODO
  5998. * FileDialog.cs: Removed obsolete TODO
  5999. * DomainUpDown.cs: Removed obsolete TODO
  6000. * ButtonBase.cs: Removed obsolete TODO
  6001. * XplatUIWin32.cs: Removed obsolete TODO
  6002. * Form.cs:
  6003. - Removed obsolete TODO
  6004. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  6005. internal status updates
  6006. - Making sure the active control is selected when the control is created
  6007. * CurrencyManager.cs: Removed obsolete TODO
  6008. 2006-03-29 Mike Kestner <[email protected]>
  6009. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  6010. of PrintPreviewDialog and RichTextBox.
  6011. 2006-03-29 Alexander Olk <[email protected]>
  6012. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  6013. DarkDark, Light and LightLight colors for a specific color
  6014. * ThemeWin32Classic.cs:
  6015. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  6016. Appearance = Button
  6017. - Make use of the new ResPool helper CPColor
  6018. - Draw ProgressBar and StatusBar with correct 3D borders
  6019. 2006-03-29 Alexander Olk <[email protected]>
  6020. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  6021. 2006-03-28 Mike Kestner <[email protected]>
  6022. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  6023. calculating col/row counts.
  6024. 2006-03-28 Mike Kestner <[email protected]>
  6025. * ColumnHeader.cs:
  6026. * ListView.cs:
  6027. * ListViewItem.cs:
  6028. * Menu.cs:
  6029. switch to explicit interface method implementation for some methods
  6030. corcompare identifies as inconsistent with MS.
  6031. 2006-03-28 Mike Kestner <[email protected]>
  6032. * MainMenu.cs:
  6033. * Menu.cs:
  6034. add a few missing methods from the class status output.
  6035. 2006-03-28 Alexander Olk <[email protected]>
  6036. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  6037. correct.
  6038. 2006-03-28 Mike Kestner <[email protected]>
  6039. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  6040. 2006-03-27 Mike Kestner <[email protected]>
  6041. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  6042. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  6043. 2006-03-27 Alexander Olk <[email protected]>
  6044. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  6045. 2006-03-25 Alexander Olk <[email protected]>
  6046. * ThemeWin32Classic.cs:
  6047. - GroupBox: Inserted a little gap between the text and the lines
  6048. on the right side
  6049. - Made the code in CPDrawBorder3D more readable
  6050. - Corrected the drawing location of the up and down arrows in
  6051. CPDrawScrollButton
  6052. 2006-03-25 Alexander Olk <[email protected]>
  6053. * ControlPaint.cs: Corrected line widths in DrawBorder for
  6054. ButtonBorderStyle Inset and Outset
  6055. 2006-03-25 Alexander Olk <[email protected]>
  6056. * ThemeWin32Classic.cs:
  6057. - Rewrote the totally broken CPDrawBorder3D method. That was
  6058. one of the main problems for the terrific ThemeWin32Classic
  6059. look
  6060. - Updated and corrected Button drawing
  6061. - Correct the dimensions of the SizeGrip to match ms ones
  6062. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  6063. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  6064. Border3DStyle.Sunken to match ms.
  6065. 2006-03-25 Alexander Olk <[email protected]>
  6066. * ThemeWin32Classic.cs: First small part of the "de-uglify
  6067. ThemeWin32Classic" effort, SizeGrip
  6068. 2006-03-24 Jackson Harper <[email protected]>
  6069. * XplatUIX11.cs: Give a max idle time of one second, this matches
  6070. MS and forces an Idle event every second when there are no other
  6071. events in the queue.
  6072. 2006-03-24 Mike Kestner <[email protected]>
  6073. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  6074. * ListView.Item.cs: fix layout issues with null image lists and images
  6075. smaller than checkbox size.
  6076. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  6077. mode like MS does. It's weird, but consistent. ;-)
  6078. Fixes #77890.
  6079. 2006-03-24 Mike Kestner <[email protected]>
  6080. * ListView.cs: Scroll wheel support for the item control. Fixes
  6081. #77839.
  6082. 2006-03-23 Jackson Harper <[email protected]>
  6083. * ScrollableControl.cs: Special case negative sized areas, not
  6084. zero.
  6085. * MonthCalendar.cs: Save the rect of the clicked date so we can
  6086. use it for invalidation.
  6087. - Try to cut down on the number of invalidates
  6088. - Invalidate the rect the mouse is over and was over when moving
  6089. the mouse, so we get the focus box following the cursor.
  6090. 2006-03-23 Mike Kestner <[email protected]>
  6091. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  6092. focus rectangle drawing. Fixes #77835.
  6093. 2006-03-23 Mike Kestner <[email protected]>
  6094. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  6095. the if and else if and reverting back to the original == check on the
  6096. None conditional.
  6097. 2006-03-23 Alexander Olk <[email protected]>
  6098. * FontDialog.cs: Update the example panel if the selected index of
  6099. the fontListBox changes.
  6100. 2006-03-23 Alexander Olk <[email protected]>
  6101. * FileDialog.cs: Make FileDialog remember which directory it was in
  6102. last in the same execution.
  6103. 2006-03-22 Mike Kestner <[email protected]>
  6104. * FileDialog.cs: make the DropDownMenu on the toolbar display
  6105. RadioChecks since they are mutually exclusive and that's what MS does.
  6106. 2006-03-22 Mike Kestner <[email protected]>
  6107. * Theme.cs: add Color param to CPDrawMenuGlyph.
  6108. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  6109. checks and radio marks and arrows are visible on highlighted items.
  6110. * ControlPaint.cs: update to use new Theme signature.
  6111. 2006-03-22 Mike Kestner <[email protected]>
  6112. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  6113. is active. Fixes #77870.
  6114. 2006-03-22 Alexander Olk <[email protected]>
  6115. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  6116. to be focused/selected after startup
  6117. 2006-03-22 Alexander Olk <[email protected]>
  6118. * ColorDialog.cs:
  6119. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  6120. CustomColors and ShowHelp properties
  6121. - Some internal rewrites to get better results when using the
  6122. ColorMatrix
  6123. 2006-03-22 Mike Kestner <[email protected]>
  6124. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  6125. HoverSelection. Fixes #77836.
  6126. 2006-03-22 Mike Kestner <[email protected]>
  6127. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  6128. ToggleButtons. (De)Sensitize the Back button around a stack count of
  6129. 1, not 0. Update ButtonSize based on a pixel count of the win32
  6130. control. Adjust the toolbar size/location for new button size.
  6131. 2006-03-22 Jackson Harper <[email protected]>
  6132. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  6133. true.
  6134. * ScrollBar.cs: When doing increments and decrements we need to
  6135. set the Value property so that ValueChanged gets raised. A
  6136. possible optimization here would be to make an internal SetValue
  6137. that doesn't invalidate immediately.
  6138. * ToolTip.cs: Tooltips get added to their container (when
  6139. supplied) so they get disposed when the container is disposed.
  6140. - Don't create tooltips for String.Empty. This prevents all these
  6141. little 2-3 pixel windows from showing up when running nunit-gui
  6142. and driving me mad.
  6143. * Form.cs: Don't set topmost when setting the owner if the handles
  6144. haven't been created yet. The topmost set will happen when the
  6145. handles are created.
  6146. 2006-03-22 Peter Dennis Bartok <[email protected]>
  6147. * XplatUIX11.cs:
  6148. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  6149. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  6150. visible (to allow them to recalculate their sizes)
  6151. 2006-03-21 Mike Kestner <[email protected]>
  6152. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  6153. methods. Removed a ton of redundant code. Still not really happy with
  6154. the border rendering, but I think that's mainly because of the
  6155. ControlDarkDark being black instead of a dark grey. Depending on how
  6156. close we want to be, we might want to revisit those color choices.
  6157. Among the new features added during the refactor were DropDownArrow
  6158. pressed rendering, Disabled image rendering. Proper flat appearance
  6159. boundary rendering. Removed the Divider and Wrapping dividers since I
  6160. can't figure out any combination of themes and conditions to make the
  6161. MS control draw a horizontal line on a toolbar despite what the
  6162. Divider property docs indicate.
  6163. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  6164. conditions and incorrect layout. Updated to coding standard.
  6165. * ToolBarButton.cs: refactored layout and positioning code from
  6166. ToolBar to here. Invalidate wherever possible instead of forcing
  6167. redraws of the whole toolbar.
  6168. (Known remaining issues: explicit ButtonSize smaller than provided
  6169. images.)
  6170. 2006-03-21 Mike Kestner <[email protected]>
  6171. * ContextMenu.cs (Show): use the position parameter instead of just
  6172. showing at the MousePosition.
  6173. 2006-03-21 Jackson Harper <[email protected]>
  6174. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  6175. control handle this.
  6176. * TreeNodeCollection.cs: If we are clearing the root node we need
  6177. to reset top_node so calcs can still happen.
  6178. * ThemeWin32Classic.cs: This is a Flags so we need to check
  6179. properly.
  6180. 2006-03-21 Jackson Harper <[email protected]>
  6181. * DataGrid.cs: Create columns when the binding context has been
  6182. changed.
  6183. * X11Structs.cs: Keysyms are uints.
  6184. - Add size to fix build.
  6185. 2006-03-21 Peter Dennis Bartok <[email protected]>
  6186. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  6187. XplatUIOSX.cs:
  6188. - Added ResetMouseHover method to allow controls to retrigger
  6189. hovering if they need it more than once
  6190. - Implemented MouseHoverTime and MouseHoverSize properties
  6191. * Timer.cs: Start() must reset the interval
  6192. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  6193. properties
  6194. 2006-03-21 Jackson Harper <[email protected]>
  6195. * X11Keyboard.cs: improved layout detection. Move the nonchar
  6196. tables into this file.
  6197. * KeyboardLayouts.cs: Move the tables into resource files.
  6198. 2006-03-21 Mike Kestner <[email protected]>
  6199. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  6200. 2006-03-21 Alexander Olk <[email protected]>
  6201. * Mime.cs: Various speed optimizations. Looking up mime types
  6202. is now 2 times faster than before
  6203. 2006-03-17 Peter Dennis Bartok <[email protected]>
  6204. * CreateParams.cs: Added internal menu field
  6205. * Control.cs:
  6206. - Switched call order for UpdateBounds; now we always call
  6207. the one that also takes ClientSize, and we're calculating the
  6208. client size via driver method in the others. The previous
  6209. method of tracking client size by difference wasn't working
  6210. for forms where even the starting client size wouldn't match
  6211. the overall form size (due to borders) (Part of fix for #77729)
  6212. - CreateParams(): Do not use parent.Handle unless the handle is
  6213. already created. Causes havoc with Nexxia and throws off our
  6214. creation of controls
  6215. * XplatUIX11.cs:
  6216. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  6217. - Switched handling of ConfigureNotify over to new PerformNCCalc
  6218. method (consolidates code)
  6219. - Changed RequestNCRecalc to use new PerformNCCalc method
  6220. - Added calls to RequestNCRecalc when menus and borders are changed
  6221. to allow app to set NC size. (Part of fix for #77729) This matches
  6222. when MS send a WM_NCRECALC on Win32 windows.
  6223. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  6224. (Part of fix for #77729). This matches what MS does, they also
  6225. send that message when the form is made visible.
  6226. - XException.GetMessage: Improved usability of X errors by including
  6227. a translation of the window into Hwnd and Control class
  6228. - Improved debug info for window creation, reparenting and destruction
  6229. - Created helper method WindowIsMapped() [Currently not used]
  6230. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  6231. * Form.cs:
  6232. - CreateParams: Now setting our menu on the new internal menu field
  6233. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  6234. avoid calculating the same property twice
  6235. * Hwnd.cs:
  6236. - Improved usability of ToString() for debugging purposes
  6237. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  6238. determine the height of the menu, instead of just the font. This
  6239. required to also create a graphics context and to keep a bmp
  6240. around (for performance reasons)
  6241. 2006-03-17 Peter Dennis Bartok <[email protected]>
  6242. * MenuAPI.cs: Added OnMouseUp method
  6243. * Form.cs:
  6244. - Now remembering the requested client size, avoids size errors
  6245. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  6246. instead of base if the menu is active. This is required due to
  6247. control now capturing and releasing on down/up and it would
  6248. prematurely release our menu capture
  6249. 2006-03-17 Jackson Harper <[email protected]>
  6250. * KeyboardLayouts.cs: Add the czech layouts.
  6251. 2006-03-16 Jackson Harper <[email protected]>
  6252. * Control.cs: Use the viewport space when sizing not the controls
  6253. client size, so things like ScrollableControl that effect the
  6254. viewport size (when scrollbars are added) are computed correctly.
  6255. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  6256. of ManagerEntrys.
  6257. - Handle creating BindingManagers for null data sources.
  6258. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  6259. source, otherwise when rows are added they are added to the 'fake'
  6260. datasource and we will crash when trying to set the position in
  6261. those rows.
  6262. - Use Implicit scrollbars on the datagrid so they arent
  6263. selectable.
  6264. 2006-03-16 Jackson Harper <[email protected]>
  6265. * Binding.cs:
  6266. * InternalWindowManager.cs:
  6267. * MdiWindowManager.cs:
  6268. * X11Keyboard.cs: I really want Mike to love me again (fix
  6269. compiler warnings).
  6270. 2006-03-16 Peter Dennis Bartok <[email protected]>
  6271. * DataGrid.cs:
  6272. - OnMouseDown: Switch to editing mode when clicking on the cell
  6273. even if we're clicking on the cell that's currently
  6274. selected
  6275. - ProcessGridKey: Left/Right now wrap like MS.Net does
  6276. - ProcessGridKey: Tab now knows to add a new row when tab is
  6277. pressed in the cell of the last column of the
  6278. last row
  6279. - ProcessGridKey: Enter now adds another row if pressed in the last
  6280. row and selectes the new row, same column cell
  6281. - ProcessGridKey: Home/End navigate columns, not rows, like
  6282. originally implemented
  6283. - Broke ProcessKeyPreview code out into an extra Internal method
  6284. so it can be called from the edit code
  6285. * DataGridTextBox.cs (ProcessKeyMessage):
  6286. - Switched to accept Tab keypresses
  6287. - Added F2 handling to allow jumping to the end of the edited cell
  6288. - Added logic to allow moving caret left/right inside edited cell
  6289. and making the edited cell jump when the caret hits cell borders
  6290. - Tab and Enter are now passed to the datagrid after being handled
  6291. * TextBoxBase.cs:
  6292. - Removed capture code now that Control handles it
  6293. - set_SelectionStart now ensures caret is visible
  6294. 2006-03-16 Jackson Harper <[email protected]>
  6295. * TrackBar.cs: Debackwards the increment/decrement for handling
  6296. mouse clicks on the bar with vertical trackbars.
  6297. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  6298. bottom to match MS.
  6299. 2006-03-16 Mike Kestner <[email protected]>
  6300. * ListView.cs: make shift/ctrl keyboard and mouse selection
  6301. consistent with the MS control. Fix a bug in
  6302. SelectedListViewItemCollection.Clear that was pissing me off for the
  6303. better part of a day because the collection was being altered
  6304. underneath us as we walked the list.
  6305. 2006-03-16 Peter Dennis Bartok <[email protected]>
  6306. * Control.cs: Not sure how we could miss this so long, but it seems
  6307. that MS.Net has Capture set all the way from before calling
  6308. OnMouseDown through sending the mouse events until after
  6309. OnMouseUp. This will fix DataGrid's selection being set to end
  6310. at the location of the MouseUp.
  6311. 2006-03-15 Jackson Harper <[email protected]>
  6312. * BindingContext.cs: Check the binding after its added so that it
  6313. can initialize the binding managers and hookup to events.
  6314. * Binding.cs: Data members seem to sometimes include rows/cols in
  6315. the format Row.Column we now take this into account.
  6316. - Hookup to the position changed event so we can update the
  6317. control when the position has changed in the data set.
  6318. * CurrencyManager.cs: Take into account the row/col naming
  6319. convention when creating dataset tables.
  6320. * BindingContext.cs: Using a newer better way of storing
  6321. datasource/datamember pairs. Hopefully this better matches MS for
  6322. looking up binding managers.
  6323. 2006-03-15 Jackson Harper <[email protected]>
  6324. * BindingContext.cs: The currency manager needs the data member
  6325. name, if the member is a data set we use the name to find the
  6326. correct table.
  6327. * CurrencyManager.cs: When creating the list prefer an IList over
  6328. an IListSource.
  6329. - Attempt to create a DataTable from a DataSet (TODO: might need
  6330. some better error checking here, although MS doesn't seem to have much)
  6331. - If we have a DataTable create a view and use it as our list.
  6332. 2006-03-15 Mike Kestner <[email protected]>
  6333. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  6334. keyboard navigation. Support Up/Down/Left/Right selection correctly
  6335. for all 4 View modes.
  6336. * ListViewItem.cs: add internal row/col fields for icon layouts.
  6337. 2006-03-15 Jackson Harper <[email protected]>
  6338. * TabControl.cs: Redraw the tabs when we resize so their newly
  6339. calculated sizes are drawn on screen.
  6340. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  6341. composite characters.
  6342. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  6343. - filter events so that composite characters can be created
  6344. patches by peter
  6345. * X11Structs.cs: Add XIMProperties enum.
  6346. 2006-03-14 Peter Dennis Bartok <[email protected]>
  6347. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  6348. unless it's created
  6349. 2006-03-14 Peter Dennis Bartok <[email protected]>
  6350. * Control.cs (PerformLayout): We don't need to consider visiblity
  6351. for anchoring, only for docking. This fixes 'whacky' alignment
  6352. in listbox and other controls that use implicit scrollbars after
  6353. the previous PerformLayout patch
  6354. * ListBox.cs: Switched to use implicit scrollbars
  6355. 2006-03-14 Mike Kestner <[email protected]>
  6356. * ToolBar.cs:
  6357. * VScrollBar.cs:
  6358. - chain up the "new event" overrides to base and use
  6359. OnEvent to raise them. Part of fix for bug #76509.
  6360. 2006-03-14 Alexander Olk <[email protected]>
  6361. * FileDialog.cs: Do not select an item in the parent directory
  6362. on backspace
  6363. 2006-03-14 Peter Dennis Bartok <[email protected]>
  6364. * Control.cs (PerformLayout): It would seem that we considered
  6365. invisible windows for our layout. Not quite the right thing
  6366. to do. Now we don't any longer, thereby fixing bug #76889.
  6367. 2006-03-14 Peter Dennis Bartok <[email protected]>
  6368. * Control.cs (CanFocus): I goofed. A control can have focus
  6369. even though it's not selectable. Made it match MS docs.
  6370. 2006-03-13 Peter Dennis Bartok <[email protected]>
  6371. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  6372. center by default (fixes #76895)
  6373. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  6374. all uses of Border3DSides.All with the explicit ORd together
  6375. Left|Right|Top|Bottom because I assume that nobody was aware
  6376. that All also implies a center fill. Most places I checked had
  6377. a fill right above.
  6378. * ProgressBarStyle.cs: Added
  6379. 2006-03-13 Mike Kestner <[email protected]>
  6380. * ListView.cs: fix breakage in drag shadow header positioning
  6381. from Peter's csc compilation fix.
  6382. 2006-03-13 Mike Kestner <[email protected]>
  6383. * ListView.cs: fix NRE produced by backspacing twice in a focused
  6384. FileDialog.
  6385. 2006-03-13 Mike Kestner <[email protected]>
  6386. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  6387. 2006-03-13 Peter Dennis Bartok <[email protected]>
  6388. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  6389. be changed
  6390. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  6391. the allowed size before making programmatic size changes
  6392. 2006-03-13 Peter Dennis Bartok <[email protected]>
  6393. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  6394. set, metacity is broken and will still use the emty sizes in
  6395. the struct. (Fix for #77089)
  6396. 2006-03-13 Peter Dennis Bartok <[email protected]>
  6397. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  6398. WindowExStyles and marked both enums as Flags
  6399. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  6400. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  6401. to match WindowStyles split
  6402. * XplatUIX11.cs:
  6403. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  6404. - Updated to match WindowStyles split
  6405. * XplatUIWin32.cs:
  6406. - Fixed FosterParent creation, was using ExStyle on the Style field
  6407. (This should help with Popup focus issues)
  6408. - Updated to match WindowStyles split
  6409. 2006-03-13 Jackson Harper <[email protected]>
  6410. * MdiWindowManager.cs: Use the system menu height. Fixes some
  6411. strange sizing issues.
  6412. 2006-03-12 Peter Dennis Bartok <[email protected]>
  6413. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  6414. * TextBoxBase.cs:
  6415. - Scroll to caret after inserting text (#77672)
  6416. - Make scroll range one pixel higher, fixes off-by-one error (and
  6417. makes underlines visible on the last line)
  6418. 2006-03-12 Peter Dennis Bartok <[email protected]>
  6419. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  6420. the keyboard state from being stuck with keys in 'pressed' state when
  6421. focus is switched away via keyboard
  6422. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  6423. reset the keyboard if no X11 KeyUp events are expected to come
  6424. * X11Structs.cs: Switched type of Visible to bool to match driver
  6425. 2006-03-12 Peter Dennis Bartok <[email protected]>
  6426. * TextControl.cs:
  6427. - Switched caret to be just 1 pixel wide, matches MS and looks less
  6428. clunky
  6429. - Moved caret display 1 pixel down from the top of the control
  6430. to improve view
  6431. - InsertCharAtCharet: Update the selection start if moving the caret
  6432. (fixes bug #77696; based on patch suggested by [email protected])
  6433. - No longer always creating the caret when the caret methods are
  6434. called. Only the actual ShowCaret/HideCaret will do that now
  6435. - Only setting caret visible if the owner control has focus
  6436. - UpdateView: Added invalidation-shortcut logic for center and right
  6437. aligned text. Previously we'd update all according to the left
  6438. logic which caused drawing errors. Also fixed height of invalidated
  6439. areas, now properly invalidating the whole area (was off-by-one)
  6440. - owner_HandleCreated: Always generate the document when the
  6441. handle is created; this ensures that
  6442. * TextBoxBase.cs:
  6443. - Fixed situation where caret would disappear under the right
  6444. window border, also improved scrolling behaviour on left-
  6445. aligned textboxes
  6446. - Fixed right-aligned textboxes to have a border to the
  6447. right instead of the caret being under the right border
  6448. * XplatUIX11.cs:
  6449. - Switched from 'nested' to simple visible/not visible tracking
  6450. for caret (part of fix for #77671)
  6451. - No longer passing through translated FocusIn/FocusOut messages
  6452. since we were notifying too often and the wrong windows. Instead
  6453. we just notify our focussed window of receiving or loosing focus
  6454. * XplatUIWin32.cs: Switched from 'nested' show/hide
  6455. counting for caret to simple visible yes/no behaviour (part of
  6456. fix for #77671)
  6457. 2006-03-11 Alexander Olk <[email protected]>
  6458. * Mime.cs: Remove debug code...
  6459. 2006-03-11 Alexander Olk <[email protected]>
  6460. * MimeGenerated.cs: Removed
  6461. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  6462. and subclasses) from /usr/(local/)share/mime and
  6463. $HOME/.local/share/mime.
  6464. 2006-03-10 Jackson Harper <[email protected]>
  6465. * MdiWindowManager.cs: Recalc the NC area when a window is
  6466. maximized/restored so that the menu area is drawn on forms that
  6467. don't have a menu.
  6468. 2006-03-10 Peter Dennis Bartok <[email protected]>
  6469. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  6470. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  6471. us to force a WM_NCCALCRESIZE message being sent. This is needed
  6472. for MDI maximizing.
  6473. 2006-03-10 Jackson Harper <[email protected]>
  6474. * Form.cs: We need to use the ActiveMenu when calculating menu
  6475. height.
  6476. - Fix nullref when the window manager hasn't been created yet.
  6477. * Control.cs: Fix nullref when we try to bring a control to the
  6478. front that has no parent.
  6479. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  6480. height.
  6481. - Add a dummy item to the maximized menu so it always has the
  6482. correct height. Otherwise when there are no menus we don't get our
  6483. icon and buttons.
  6484. 2006-03-10 Jackson Harper <[email protected]>
  6485. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  6486. stuff.
  6487. * Form.cs: Make the window_state internal so the window managers
  6488. can track it.
  6489. - When an MDI child is maximized let its window manager create the
  6490. main menu (so it can add its icon).
  6491. - Notify the window managers of state changes
  6492. - Let the window manager paint its buttons and handle button
  6493. clicks on the menu when it is maximized.
  6494. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  6495. window manager, since tool windows don't use it, only mdi windows.
  6496. - Tell the main form that we don't want it to handle NCPAINT
  6497. itself to avoid extra painting.
  6498. - Handle clicks on a maximized windows menu.
  6499. - Handle window state changes
  6500. - Handle minimize/maximize clicks correctly by setting the window state.
  6501. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  6502. when clicking on the forms icon).
  6503. - New method to create a forms maximized menu. This is its normal
  6504. menu + an icon.
  6505. - Handle window state changes.
  6506. - Handle sizing of maximized windows. Maximized windows are just
  6507. drawn bigger then the parent visible area. All controls are still
  6508. there, they are just outside the visible area (this matches windows).
  6509. * MdiClient.cs: No scrollbars when a child window is maximized.
  6510. - Let the children windows figure out how big they should be when
  6511. sizing maximized windows.
  6512. - Implement a version of ArrangeIconicWindows somewhat similar to
  6513. Windows version. There are some little differences, but I don't
  6514. think any app will rely on the layout of minimized mdi windows.
  6515. 2006-03-10 Peter Dennis Bartok <[email protected]>
  6516. * Padding.cs: Several fixes to allow compiling with csc 2.0
  6517. 2006-03-09 Jackson Harper <[email protected]>
  6518. * Menu.cs:
  6519. * MenuItem.cs: Cheap hack so we can add items to the list without
  6520. the events being raised. This allows adding mdi items during
  6521. drawing. TODO: Should probably find a better time to add the items.
  6522. 2006-03-10 Peter Dennis Bartok <[email protected]>
  6523. * ThemeWin32Classic.cs:
  6524. - CheckBox_DrawText: Added logic to not wrap if not enough space
  6525. is available (Fix for bug #77727)
  6526. - RadioButton_DrawText: Added logic not to wrap if not enough
  6527. space is available (Fix for bug #77727). Also removed some
  6528. duplicate code, DrawString always drawing the regular text
  6529. before hitting the if statement.
  6530. 2006-03-10 Peter Dennis Bartok <[email protected]>
  6531. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  6532. 2006-03-10 Peter Dennis Bartok <[email protected]>
  6533. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  6534. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  6535. methods. Moved the new 2.0 properties into alphabetical order with
  6536. other properties and added MonoTODO tags
  6537. 2006-03-09 Peter Dennis Bartok <[email protected]>
  6538. * AutoScaleMode.cs: Added. Fix build.
  6539. 2006-03-09 Peter Dennis Bartok <[email protected]>
  6540. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  6541. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  6542. and was requiring premature handle creation for calls from above
  6543. * Form.cs, Control.cs: Removed handle arguments from calls to
  6544. CalculateClientRect()
  6545. 2006-03-09 Peter Dennis Bartok <[email protected]>
  6546. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  6547. drag_column.column_rect is MarshalByRef and can't be used that way
  6548. 2006-03-09 Peter Dennis Bartok <[email protected]>
  6549. * AxHost.cs: Added deserialization constructor for
  6550. AxHost+State (fixes 77743)
  6551. 2006-03-09 Mike Kestner <[email protected]>
  6552. * ListView.cs:
  6553. - Added column drag reordering for details view.
  6554. - fixed behavior when mouse is dragged off column and
  6555. AllowColumnReorder is false.
  6556. * ColumnHeader.cs: clone the format too in Clone.
  6557. * Theme.cs: add DrawListViewHeaderDragDetails method.
  6558. * ThemeWin32Classic.cs:
  6559. - impl new method for drawing drag column shadows and targets.
  6560. - support column offset for details mode in DrawListViewItem.
  6561. 2006-03-09 Peter Dennis Bartok <[email protected]>
  6562. * TextControl.cs: Reset the char_count when the document is cleared
  6563. (Fixes bug reported on mono-winforms mailing list)
  6564. 2006-03-09 Peter Dennis Bartok <[email protected]>
  6565. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  6566. of calling base we simply process the key ourselves, since both
  6567. DefWindowProc and the handled method would set m.Result.
  6568. (Fixes #77732)
  6569. 2006-03-09 Peter Dennis Bartok <[email protected]>
  6570. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  6571. method also moves the window; instead implemented a copy of
  6572. Control.ScaleCore (Part of fix for #77456)
  6573. * TextBoxBase.cs:
  6574. - Created new CreateGraphicsInternal method to allow providing
  6575. a graphics context when no handle is created without triggering
  6576. handle creation. (Part of fix for #77456)
  6577. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  6578. * TextControl.cs:
  6579. - Switched Constructor to require TextBoxBase instead of Control (to
  6580. allow uncast access to CreateGraphicsInternal)
  6581. - Safeguarded use of owner.Handle property. No longer accessing it
  6582. unless the handle is already created.
  6583. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  6584. - Now triggering a recalc when owning control becomes visible
  6585. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  6586. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  6587. premature handle creation (Part of fix for #77456)
  6588. * Control.cs:
  6589. - We now only destroy our double-buffering buffers when the
  6590. control is resized or disposed, but not when visibility
  6591. changes. (The code even re-created them twice every time)
  6592. - Now requiring a redraw of the buffer on visibility changes
  6593. (fixes bug 77654 part 2)
  6594. - Not passing OnParentVisibleChanged up unless the control
  6595. is visible
  6596. - CanFocus: Fixed to match MS documentation
  6597. - Focus: Fixed to return actual focus state and to check if
  6598. setting focus is legal before setting it
  6599. 2006-03-08 Peter Dennis Bartok <[email protected]>
  6600. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  6601. when to draw focus rectangle by looking at parent focus and
  6602. selected state instead. This fixes TabPages on Linux sometimes
  6603. having none or multiple focus rectangles.
  6604. * XplatUIX11.cs (SetFocus):
  6605. - Don't set the focus if the same window already has focus
  6606. - Use SendMessage instead of PostMessage (like it's Win32
  6607. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  6608. to match MS behaviour
  6609. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  6610. are not selectable.
  6611. 2006-03-07 Jackson Harper <[email protected]>
  6612. * PictureBox.cs: Revert line I accidently committed last week.
  6613. 2006-03-07 Peter Dennis Bartok <[email protected]>
  6614. * Control.cs:
  6615. - Added new IsRecreating and ParentIsRecreating properties to
  6616. allow testing if RecreateHandle has been called on ourselves
  6617. or one of our parents
  6618. - WndProc(WM_DESTROY): If our control handle is being recreated
  6619. we immediately need to create the handle when receiving the
  6620. destroy, that way our child windows find a valid parent handle
  6621. when they themselves are being recreated upon WM_DESTROY receipt
  6622. (fix for bug #77654 part 1)
  6623. * XplatUIX11.cs:
  6624. - DestroyWindow: WM_DESTROY must be sent to our own window before
  6625. notifying any child windows. MS documents that child windows
  6626. are still valid when WM_DESTROY is received. (Control now relies on
  6627. this behaviour)
  6628. - Added some fine-grain debug options
  6629. 2006-03-06 Jackson Harper <[email protected]>
  6630. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  6631. box and base calculations off this.
  6632. * MdiChildContext.cs:
  6633. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  6634. anymore.
  6635. 2006-03-06 Peter Dennis Bartok <[email protected]>
  6636. * Splitter.cs: In situations where the affected control is added
  6637. to the parent's control list after the splitter, we would not
  6638. populate affected. Now we try populating it on mousedown, if
  6639. it's not already set, and force it to be re-set whenever our
  6640. parent changes.
  6641. 2006-03-03 Matt Hargett <[email protected]>
  6642. * Control.cs: implement Control.Padding
  6643. * Padding.cs: -Padding.All returns -1 when constructing with the
  6644. implicit default ctor
  6645. -Padding.ToString() matches MS.NET
  6646. * ContainerControl.cs: implement
  6647. ContainerControl.AutoScaleDimensions
  6648. * ListControl.cs: implement ListControl.FormattingEnabled
  6649. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  6650. * ButtonBase.cs:
  6651. * TabPage.cs: Implement UseVisualStyleBackColor.
  6652. * PictureBox.cs: Implement PictureBox.InitialImage.
  6653. 2006-03-03 Mike Kestner <[email protected]>
  6654. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  6655. event declarations to proxy to base event.
  6656. * ListViewItem.cs: update to use ItemControl.
  6657. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  6658. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  6659. column header label rendering for 0 width columns.
  6660. 2006-03-03 Peter Dennis Bartok <[email protected]>
  6661. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  6662. that causes the control to be created. Fixes #77476.
  6663. 2006-03-02 Jackson Harper <[email protected]>
  6664. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  6665. expose_pending.
  6666. 2006-03-02 Peter Dennis Bartok <[email protected]>
  6667. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  6668. passed in for the EventArgs (fixes #77690)
  6669. 2006-03-01 Jackson Harper <[email protected]>
  6670. * ScrollBar.cs: Refresh afterbeing resized.
  6671. 2006-02-28 Mike Kestner <[email protected]>
  6672. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  6673. Clean up a tracker compile warning.
  6674. * MenuItem.cs: add internal PerformPopup method.
  6675. [Fixes #77457]
  6676. 2006-02-28 Peter Dennis Bartok <[email protected]>
  6677. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  6678. implicit expose) when the text is set to null
  6679. 2006-02-28 Peter Dennis Bartok <[email protected]>
  6680. * RichTextBox.cs (FlushText): When newline is true, we always
  6681. need to split the line, even if no text is on it and we may
  6682. never eat newlines. (Fixes #77669)
  6683. 2006-02-28 Mike Kestner <[email protected]>
  6684. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  6685. and set Selected instead.
  6686. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  6687. collections.
  6688. 2006-02-28 Peter Dennis Bartok <[email protected]>
  6689. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  6690. 2006-02-28 Alexander Olk <[email protected]>
  6691. * FontDialog.cs:
  6692. - Got rid of the panel. All controls are now directly added to
  6693. the dialog form
  6694. - It is now possible to set a font with the Font property
  6695. - MinSize and MaxSize property do now what they should
  6696. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  6697. - Searching and selecting a font with the font textbox works now,
  6698. the same applies to the style and size textbox
  6699. - Draw the correct 3D border in the example panel
  6700. - Fixed a little mem leak (unused fonts didn't get disposed)
  6701. - Many other internal updates/rewrites...
  6702. - Fix typo
  6703. 2006-02-27 Peter Dennis Bartok <[email protected]>
  6704. * TextControl.cs:
  6705. - InsertRTFFromStream: Added 'number of characters inserted' argument
  6706. - set_SelectedRTF: Now using the number of characters to calculate
  6707. the new location for the selection and cursor (x/y cannot be used
  6708. due to potentially already wrapped text)
  6709. 2006-02-27 Peter Dennis Bartok <[email protected]>
  6710. * TextControl.cs: Added property and implemented means to allow
  6711. disabling recalculation of a document (can be used to speed up
  6712. multiple inserts and is needed to make RTF inserts predictable, see
  6713. bug #77659)
  6714. * RichTextBox.cs: Using the new NoRecalc property of Document to
  6715. keep x/y insert locations predictable. Also makes it faster inserting
  6716. large chunks of RTF
  6717. 2006-02-27 Peter Dennis Bartok <[email protected]>
  6718. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  6719. it's easier for a child control to handle the other messages without
  6720. having to duplicate the special functionality
  6721. * TextBoxBase.cs
  6722. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  6723. code to handle processing the key ourselves, in order to get
  6724. access to the result of KeyEventArgs.Handled. We now only call
  6725. ProcessKey if they key hasn't been handled already. Fixes #77526.
  6726. - set_Text: If null or empty string is given, just clear the
  6727. document. Fixes part of #77526
  6728. 2006-02-27 Jackson Harper <[email protected]>
  6729. * SizeGrip.cs: Paint the background color before painting the grip
  6730. so things look right.
  6731. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  6732. 2006-02-27 Mike Kestner <[email protected]>
  6733. * ListView.cs:
  6734. - Restructure layout and invalidation model to remove a ton of
  6735. flicker from the control and speed up performance in general.
  6736. - Add manual column resize, flickers like crazy, but I already have
  6737. some ideas on how I'll fix that. (#76822)
  6738. - Merge the three Icon-based views into a single layout method.
  6739. - Move item selection interaction logic from the item since
  6740. interaction with the collections is more appropriate to the view.
  6741. - Deselection on non-item clicks.
  6742. * ListViewItem.cs:
  6743. - Encapsulate most of the layout. Add some internal props to trigger
  6744. layout. Move to a model where Items invalidate themselves instead
  6745. of just invalidating the whole control every time something changes.
  6746. - Invalidate on Text/Caption changes.
  6747. - switch to an offset based layout model to avoid having to absolute
  6748. position every element on item moves.
  6749. - correct checkbox layout to conform to MS layout.
  6750. * ThemeWin32Classic.cs:
  6751. - refactor some column header drawing code.
  6752. - fix string justification for column headers (#76821)
  6753. - make SmallIcon labels top justified for compat with MS impl.
  6754. * ThemeClearlooks.cs:
  6755. - adjust to new ListViewItem internal checkbox bounds api.
  6756. 2006-02-27 Jackson Harper <[email protected]>
  6757. * Control.cs: Change where implicit controls fall in the zorder.
  6758. They are now on top of all children.
  6759. - Synced AddImplicit code with Add
  6760. - Removed unused enumerator.
  6761. * SizeGrip.cs: Remove the TODO as its been TODONE.
  6762. 2006-02-26 Peter Dennis Bartok <[email protected]>
  6763. * TextControl.cs(Insert): Combine the last lines unless the insertion
  6764. string ends with \n\n, otherwise we leave one line too many (Fixes
  6765. something I noticed with the testapp for #77526; the bug itself was
  6766. already fixed in the previous checkin)
  6767. 2006-02-26 Peter Dennis Bartok <[email protected]>
  6768. * RichTextBox.cs:
  6769. - SelectionColor and SelectionFont methods no longer set absolute
  6770. styles. Instead, the keep font or color respectively (This
  6771. resolves a long-standing FIXME in the code)
  6772. - When flushing RTF text, the insert code now considers text trailing
  6773. behind the insertion point (Fixes the bug where when replacing
  6774. the selected text via SelectedRTF the remainder of the line behind
  6775. the selection would stay on the first insertion line)
  6776. * TextBoxBase.cs:
  6777. - AppendText now updates the selection points after inserting text
  6778. - AppendText now ensures that the last tag (sometimes 0-length) of
  6779. the document is used for the style information (Fixes part of
  6780. bug #77220)
  6781. * TextControl.cs:
  6782. - Created new FontDefiniton class to allow describing partial style
  6783. changes
  6784. - StreamLine() now takes a lines argument, to allow it to decide
  6785. whether an encountered zero-length tag is the last in the document
  6786. (which must be kept to not loose the font/color contained in it,
  6787. for later appends)
  6788. - Created Combine() and Split() methods for Marker structs, to
  6789. support marker updates due to reformatted documents (soft line
  6790. wraps)
  6791. - Implemented Document.CaretTag setter
  6792. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  6793. of the last line (Not the cause, but also exposed by bug #77220)
  6794. - Added LineTag argument to InsertString method, to allow callers
  6795. to force a certain tag to be used (required to force use of the
  6796. trailing zero-length tag of a document)
  6797. - Now updating markers in Combine(), to avoid stale tag markers
  6798. - Added some method descriptions to aid maintenance
  6799. - Implemented new FormatText concept, allowing additive/subtractive
  6800. formatting by only specifying the components that are to be
  6801. changed. This was needed for resolving the RTB.SelectedColor/
  6802. RTB.SelectedFont fixmes
  6803. - Added Break() support method to allow breaking up linetags (used
  6804. for partial formatting)
  6805. - Added GenerateTextFormat() method. It is used for partial
  6806. formatting and allows to generate a full font/color from given
  6807. attributes and an existing tag.
  6808. 2006-02-26 Jackson Harper <[email protected]>
  6809. * XplatUIX11.cs: Use the correct caption height.
  6810. - Translate hittest coordinates to screen coords to match MS.
  6811. * XplatUIWin32.cs: When we create MDI windows we need to reset
  6812. some of the style flags, so we get a nice blank window, and can
  6813. draw all the decorations ourselves.
  6814. - Set a clipping rectangle on the non client paint event, the
  6815. window manager drawing code needs one.
  6816. * Form.cs: The window manager needs to know when the window state
  6817. has been updated.
  6818. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  6819. don't need to factor in border and title sizes in these
  6820. methods. TODO: Remove the args and fix the call points.
  6821. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  6822. properly.
  6823. - Let the driver set the cursors.
  6824. - Improve active window handling
  6825. - Correct sizes for title bars and buttons.
  6826. - Match MS drawing better
  6827. * MdiWindowManager.cs: We don't need to handle border style
  6828. updates specially anymore.
  6829. - Check for scrollbars when windows are done moving
  6830. - Handle Active properly.
  6831. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  6832. correctly. I am spewing the exception though, so we don't hide the
  6833. bugs.
  6834. 2006-02-26 Pedro Martinez Julia <[email protected]>
  6835. * DataGridViewRowPostPaintEventArgs.cs,
  6836. DataGridViewCellPaintingEventArgs.cs,
  6837. DataGridViewRowCollection.cs,
  6838. DataGridViewRowPrePaintEventArgs.cs,
  6839. DataGridViewCell.cs: Clear a few warnings and implement a few
  6840. exceptions that should be thrown.
  6841. 2006-02-22 Peter Dennis Bartok <[email protected]>
  6842. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  6843. 'inheriting' our parent's (non-default) cursor. (Part of
  6844. the fix for #77479)
  6845. 2006-02-22 Peter Dennis Bartok <[email protected]>
  6846. * XplatUIX11.cs: Fixed cast to make csc happy
  6847. 2006-02-22 Peter Dennis Bartok <[email protected]>
  6848. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  6849. it's for the client area (part of fix for #77479 and needed
  6850. for MDI window cursor handling)
  6851. * XplatUIX11.cs
  6852. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  6853. the appropriate default cursors and also passing the message
  6854. up the parent chain
  6855. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  6856. for non-client areas
  6857. 2006-02-15 Jackson Harper <[email protected]>
  6858. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  6859. is a real MDI window
  6860. 2006-02-14 Alexander Olk <[email protected]>
  6861. * X11DesktopColors.cs: Instead of checking the desktop session
  6862. string for "KDE" check if it starts with "KDE"
  6863. 2006-02-10 Jackson Harper <[email protected]>
  6864. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  6865. systems).
  6866. 2006-02-10 Alexander Olk <[email protected]>
  6867. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  6868. errors
  6869. * ColorDialog.cs:
  6870. - Got rid of the panel. All controls are now directly added to
  6871. the dialog form
  6872. - Changed to mono coding style
  6873. 2006-02-10 Jackson Harper <[email protected]>
  6874. * InternalWindowManager.cs: We don't need the set visibility to
  6875. false hack anymore now that peter has written beautiful shutdown
  6876. code.
  6877. 2006-02-10 Peter Dennis Bartok <[email protected]>
  6878. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  6879. where already explicitly destroyed
  6880. 2006-02-10 Jackson Harper <[email protected]>
  6881. * MdiClient.cs: Handle the case where windows are too high or to
  6882. the left and we need scrollbars.
  6883. 2006-02-10 Alexander Olk <[email protected]>
  6884. * MimeIcon.cs: Added some icons
  6885. * FileDialog.cs:
  6886. - Fixed bug #77477
  6887. - Got rid of the panel. All controls are now directly added to
  6888. the dialog form
  6889. - Changed to mono coding style
  6890. - On Linux "My Computer" and "My Network" will now show some
  6891. more usefull information. A new class, MasterMount, gathers
  6892. this information from /proc/mount. Updated MWFFileView to make
  6893. use of this information
  6894. - Fixed a bug that caused FileDialog to crash when
  6895. ".recently_used" file had a zero size
  6896. - FilterIndex does now what it should
  6897. - Some Refactoring
  6898. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  6899. FileDialog changes
  6900. 2006-02-09 Jackson Harper <[email protected]>
  6901. * ComboBox.cs: Don't touch if null.
  6902. 2006-02-09 Peter Dennis Bartok <[email protected]>
  6903. * Cursor.cs: 64bit safeness fix
  6904. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  6905. 2006-02-09 Jackson Harper <[email protected]>
  6906. * Form.cs: If a form is made into an MDI form update the styles so
  6907. all the props can get set correctly.
  6908. - Kill the mdi_container when we dont need it anymore.
  6909. * InternalWindowManager.cs: Add missing NOT
  6910. 2006-02-08 Jackson Harper <[email protected]>
  6911. * InternalWindowManager.cs: Respek clipping when drawing MDi
  6912. decorations.
  6913. 2006-02-08 Jackson Harper <[email protected]>
  6914. * Hwnd.cs: Add bits to track non client expose events.
  6915. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  6916. gives us a proper invalid rect and will allow for some nice
  6917. optimizations with NC client drawing
  6918. - MDI windows are children windows, so move their style handling
  6919. into the child window block.
  6920. * InternalWindowManager.cs: Remove a state reset that was
  6921. getting invoked at the wrong time. Fixes managed windows getting
  6922. into a 'stuck' captured state.
  6923. 2006-02-07 Peter Dennis Bartok <[email protected]>
  6924. * TextControl.cs (Document.ctor): Now initializing
  6925. selection_anchor. Fixes #77493
  6926. 2006-02-07 Jackson Harper <[email protected]>
  6927. * TrackBar.cs: The increment/decrements were backwards.
  6928. 2006-02-07 Mike Kestner <[email protected]>
  6929. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  6930. to the instance itself.
  6931. 2006-02-07 Peter Dennis Bartok <[email protected]>
  6932. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  6933. on ulongs and pointers, the size differs between 32bit and 64bit
  6934. systems.
  6935. 2006-02-07 Mike Kestner <[email protected]>
  6936. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  6937. for 64 bit platforms to work around a metacity bug.
  6938. 2006-02-07 Jackson Harper <[email protected]>
  6939. * TrackBar.cs: Process the input keys we need, and hookup to
  6940. KeyDown instead of using WndProc, so we get key messages.
  6941. 2006-02-06 Peter Dennis Bartok <[email protected]>
  6942. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  6943. machine we're on.
  6944. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  6945. we need to translate the XdndVersion atoms array before sending it
  6946. 2006-02-06 Peter Dennis Bartok <[email protected]>
  6947. * XplatUIX11.cs:
  6948. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  6949. number of bits for the property, not the number of bytes. The
  6950. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  6951. but would not crash since it specified 8 bits instead of 4 bits)
  6952. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  6953. defined as XID -> long in the C headers)
  6954. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  6955. references since those are now IntPtr to begin with
  6956. - Switched all Atom.XXX 'int' casts to IntPtr casts
  6957. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  6958. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  6959. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  6960. * X11Structs.cs:
  6961. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  6962. - Changed atom in HoverStruct to be IntPtr
  6963. * X11DnD.cs:
  6964. - Removed local DllImports, switched code to use those from XplatUIX11
  6965. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  6966. 2006-02-06 Mike Kestner <[email protected]>
  6967. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  6968. method signatures in the import region. There may still be some
  6969. lingering struct marshaling issues, as I didn't drill down into those.
  6970. Yet.
  6971. 2006-02-06 Jackson Harper <[email protected]>
  6972. * ComboBox.cs: Dont manually set the top_item, this is computed
  6973. when the scrollbar position is set.
  6974. 2006-02-06 Mike Kestner <[email protected]>
  6975. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  6976. startup crashes on amd64. There's other fixes needed. All pinvoke
  6977. usage of Atom needs to be mapped to IntPtr for example. And there are
  6978. likely other int/long issues to be addressed.
  6979. 2006-02-04 Alexander Olk <[email protected]>
  6980. * FileDialog.cs: One more...
  6981. 2006-02-03 Alexander Olk <[email protected]>
  6982. * FileDialog.cs: Next try
  6983. 2006-02-03 Alexander Olk <[email protected]>
  6984. * FileDialog.cs: First part of fix for #77464
  6985. 2006-02-03 Alexander Olk <[email protected]>
  6986. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  6987. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  6988. AcceptButton border drawing.
  6989. 2006-02-03 Peter Dennis Bartok <[email protected]>
  6990. * Form.cs: Moved positioning of form after auto scaling is applied,
  6991. otherwise it would possibly use wrong form size.
  6992. 2006-02-03 Peter Dennis Bartok <[email protected]>
  6993. * Control.cs (RecreateHandle): No need to re-create any child
  6994. controls, the child windows will get destroyed automatically by
  6995. the windowing system or driver, and re-created when the handle
  6996. is being accessed the first time. Fixes #77456
  6997. * Form.cs: No longer setting the form to closing if the handle is
  6998. being recreated. This seems like the right thing to do, don't
  6999. have a bug or testcase for this, though.
  7000. 2006-02-02 Peter Dennis Bartok <[email protected]>
  7001. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  7002. controls to avoid unwanted side effects
  7003. 2006-02-02 Peter Dennis Bartok <[email protected]>
  7004. * Control.cs:
  7005. - ScaleCore needs to scale the bounds, not the ClientSize of the
  7006. control. Fixes #77416.
  7007. - DefaultSize is 0,0 for control
  7008. * TextBoxBase.cs:
  7009. - DefaultSize is 100, 20
  7010. - SetBoundsCore: Now enforcing the height, no matter if the provided
  7011. height is more or less than the preferred one, as long as AutoSize
  7012. is on
  7013. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  7014. 2006-02-02 Peter Dennis Bartok <[email protected]>
  7015. * Control.cs:
  7016. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  7017. call unless both performLayout is true *and* we have a pending
  7018. layout change
  7019. - ResumeLayout: MS does not completely nest Suspend and Resume,
  7020. they bottom out at 0, fixed our code to match that.
  7021. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  7022. SetBoundsCore, we were updating even when we shouldn't. This fixes
  7023. swf-anchors mis-anchoring when resizing the app fast and lots.
  7024. - UpdateDistances: Now only setting the left and top distance if
  7025. we have a parent and are not suspended, this is based on
  7026. a suggestion by Don Edvaldson in bug #77355.
  7027. - OnVisibleChanged: Fixed logic when to create the control. We may
  7028. not create the control if we have no parent or if it's not visible;
  7029. switched to using Visible property instead of is_visible field
  7030. since the property also considers parent states. This fixes a bug
  7031. when starting Paint.Net
  7032. 2006-02-02 Jackson Harper <[email protected]>
  7033. * Form.cs: If the forms handle hasn't been created yet don't call
  7034. into xplatui to make it top most, just set the topmost flag on the
  7035. form in CreateParams
  7036. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  7037. 2006-02-01 Jackson Harper <[email protected]>
  7038. * ScrollableControl.cs: Refactored the Recalculate method a
  7039. little, this wasn't handling all the variants of bottom and right
  7040. bars needed to be added and added/removed based on their
  7041. counterparts being added/removed (which changes the drawable
  7042. size). Also we special case client widths and heights of 0 and
  7043. don't add the scrollbar for those.
  7044. 2006-02-01 Peter Dennis Bartok <[email protected]>
  7045. * XplatUIX11.cs:
  7046. - Added method to get AbsoluteGeometry(); currently unused, but might
  7047. be used in the future, if we try again to figure out toplevel
  7048. coordinates with some more crappy window managers
  7049. - Added FrameExtents() method to retrieve the WM set decoration size
  7050. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  7051. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  7052. * Hwnd.cs:
  7053. - Added whacky_wm tracking var for metacity
  7054. - Added logic to have default menu height if the actual menu height
  7055. has not yet been calculated (part of fix for #77426)
  7056. * Form.cs: Keep track whether client size has been set and re-set
  7057. it if a menu is added/removed afterwards (Fixes #77426)
  7058. 2006-01-31 Jackson Harper <[email protected]>
  7059. * Control.cs: When a new Site is set on the component attempt to
  7060. pull the AmbientProperties from it.
  7061. 2006-01-31 Peter Dennis Bartok <[email protected]>
  7062. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  7063. in the background of the owning form. Fixes #77332
  7064. 2006-01-31 Alexander Olk <[email protected]>
  7065. * MimeIcon.cs: Fix for #77409
  7066. 2006-01-31 Alexander Olk <[email protected]>
  7067. * XplatUIX11GTK.cs: Initial import
  7068. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  7069. * FixedSizeTextBox: fixes class signature
  7070. 2006-01-30 Jackson Harper <[email protected]>
  7071. * FixedSizeTextBox.cs: New internal class that represents a
  7072. textBox that will not be scaled.
  7073. * TreeView.cs:
  7074. * ComboBox.cs:
  7075. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  7076. standard TextBox.
  7077. 2006-01-30 Peter Dennis Bartok <[email protected]>
  7078. * XplatUIX11.cs: Retrieve default screen number instead of
  7079. assuming 0. Attempted fix for #77318
  7080. 2006-01-30 Peter Dennis Bartok <[email protected]>
  7081. * XplatUIWin32.cs:
  7082. - GetWindowPos: When a window is parented by FosterParent, use
  7083. the desktop instead of FosterParent as the base to get coordinates
  7084. - CreateWindow: Don't make FosterParent the parent window for Popups
  7085. if we don't want a taskbar entry, Popups automatically don't get one
  7086. * Hwnd.cs: Need to call remove to actually remove the key from the
  7087. hash table
  7088. 2006-01-30 Mike Kestner <[email protected]>
  7089. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  7090. 2006-01-30 Jackson Harper <[email protected]>
  7091. * TreeView.cs:
  7092. * TreeNode.cs: Raise events no matter how the treenode is
  7093. checked. Patch by Don Edvalson.
  7094. 2006-01-30 Jackson Harper <[email protected]>
  7095. * TreeNode.cs: Signature fix.
  7096. 2006-01-29 Alexander Olk <[email protected]>
  7097. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  7098. 2006-01-20 Mike Kestner <[email protected]>
  7099. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  7100. event forwarding when menus are active.
  7101. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  7102. Most of the patch is pdb's with a little rework.
  7103. 2006-01-26 Peter Dennis Bartok <[email protected]>
  7104. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  7105. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  7106. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  7107. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  7108. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  7109. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  7110. the PaintWindowDecorations method
  7111. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  7112. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  7113. * MenuAPI.cs: Made tracker window invisible
  7114. * XplatUIWin32.cs:
  7115. - Removed GetMenuDC and ReleaseMenuDC methods
  7116. - Implemented the client=false path for PaintEventStart and
  7117. PaintEventEnd
  7118. 2006-01-26 Peter Dennis Bartok <[email protected]>
  7119. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  7120. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  7121. styles
  7122. * Form.cs:
  7123. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  7124. the style
  7125. - CreateParams: Reworked the styles to match MS look'n'feel,
  7126. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  7127. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  7128. 2006-01-26 Peter Dennis Bartok <[email protected]>
  7129. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  7130. window is not mapped, since otherwise every form that's being
  7131. created is considered minimized, which is wrong.
  7132. * Form.cs: Catching the exception and returning our internal value
  7133. instead
  7134. 2006-01-26 Peter Dennis Bartok <[email protected]>
  7135. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  7136. SetWindowMinMax() to have means to tell the driver about the minimum,
  7137. maximum and maximized state window sizes. (Part of the fix for #76485)
  7138. * Form.cs:
  7139. - Implemented tracking of minimum and maximum window size, now calling
  7140. new SetWindowMinMax() driver method to tell the driver (Part of the
  7141. fix for #76485)
  7142. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  7143. (Completes fix for #76485)
  7144. - Calling new SetWindowMinMax driver method when the handle for a
  7145. form is created, to make sure the driver knows about it even if
  7146. the values have been set before the window was created
  7147. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  7148. to avoid messing up our anchoring calculations (partial fix
  7149. for #77355)
  7150. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  7151. * XplatUIX11.cs:
  7152. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  7153. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  7154. (and presumably other freedesktop.org compliant WMs). Left the
  7155. assumption unmapped=minimized, needed for SetVisible to work.
  7156. - Now setting the window state when creating windows
  7157. - Fixed SetVisible to consider/set the window state when mapping
  7158. a Form. We cannot set the state before it's mapped, and we cannot
  7159. use Form.WindowState once it's mapped (since it would ask the
  7160. driver and get 'normal'. Therefore, we grab the state before
  7161. mapping, map, and then set state.
  7162. - Implmemented SetWindowMinMax method; Metacity does not seem to
  7163. honor the ZoomHints, though.
  7164. * XplatUIWin32.cs:
  7165. - Removed MINMAXINFO (moved to XplatUIStructs)
  7166. - Added SetWindowMinMax stub (on Win32 the only way to set that
  7167. information is in response to the WM_GETMINMAXINFO message, which
  7168. is handled in Form.cs)
  7169. - Added logic to SetVisible to set the proper window state when a
  7170. form is made visible (fixes #75720)
  7171. 2006-01-26 Jackson Harper <[email protected]>
  7172. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  7173. same way we handle them with Invoke.
  7174. 2006-01-25 Peter Dennis Bartok <[email protected]>
  7175. * Form.cs:
  7176. - Added tracking of window state so CreateParams can return
  7177. the appropriate style
  7178. - Moved setting of WS_CAPTION style in CreateParams to allow
  7179. styles without caption
  7180. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  7181. control if the TextBox property is accessed. Fixes #77345
  7182. * Control.cs:
  7183. - get_Created: now uses is_disposed and is_created to determine
  7184. return value (suggested by Jackson)
  7185. - CreateHandle: No longer exits if the handle is being recreated
  7186. - RecreateHandle: If the handle is not yet created call the
  7187. appropriate method to create either control or handle. If the
  7188. control is already created CreateHandle will simply exit instead
  7189. of just creating the handle
  7190. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  7191. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  7192. is called.
  7193. * XplatUIX11.cs:
  7194. - When DestroyWindow is called, instead of waiting for the
  7195. DestroyNotification from X11, we directly post it to the WndProc
  7196. and immediately dispose the hwnd object.
  7197. Same applies to DestroyChildWindows, and this obsoletes the
  7198. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  7199. child windows before our own, to avoid X11 errors.
  7200. - Removed the direct sending of WM_PAINT on UpdateWindow
  7201. * XplatUIWin32.cs:
  7202. - Reworked DoEvents and GetMessage to allow access to internal queue
  7203. even when trying non-blocking access to the queue. Fixes #77335.
  7204. Based on a patch suggestion by Don Edvalson. The new private
  7205. GetMessage can now also be used as a backend for a PeekMessage
  7206. frontend version.
  7207. * XplatUI.cs: Improved debug output for CreateWindow
  7208. 2006-01-25 Jackson Harper <[email protected]>
  7209. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  7210. 2006-01-24 Jackson Harper <[email protected]>
  7211. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  7212. when we have a MaxDropItems lower then the selected index.
  7213. 2006-01-24 Jackson Harper <[email protected]>
  7214. * Control.cs: Don't allow selection of non visible controls, allow
  7215. selection of controls without parents.
  7216. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  7217. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  7218. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  7219. 2006-01-23 Jackson Harper <[email protected]>
  7220. * UpDownBase.cs: Make the textbox handle all the selection and
  7221. tabbing. This fixes tabing to updown controls.
  7222. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  7223. * TextBoxBase.cs: fixes exception thown the object was null
  7224. 2006-01-23 Jackson Harper <[email protected]>
  7225. * ButtonBase.cs: Just use the base CreateParams. They set
  7226. visibility and enabled correctly.
  7227. * ComboBox.cs:
  7228. * TrackBar.cs:
  7229. * MonthCalendar.cs: Lets let the base set as much of the
  7230. createparams as possible so we don't have duplicate code all over
  7231. the place.
  7232. 2006-01-22 Alexander Olk <[email protected]>
  7233. * ThemeGtk.cs: Added TrackBar and some experimental code to
  7234. get double buffering back
  7235. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  7236. * DataGrid.cs: Allows row number set internally higher than the last
  7237. when creating a new row. Restores the editing functionality.
  7238. 2006-01-20 Mike Kestner <[email protected]>
  7239. * MimeIcon.cs: delay Image creation until the icons are accessed
  7240. instead of creating 190 scaled images on GnomeHandler startup.
  7241. 2006-01-19 Peter Dennis Bartok <[email protected]>
  7242. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  7243. first call base before processing the event. Fixes #77279
  7244. 2006-01-19 Peter Dennis Bartok <[email protected]>
  7245. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  7246. that the stride for the GDI bitmap would match the stride of
  7247. a DIB or a Cursor.
  7248. 2006-01-19 Alexander Olk <[email protected]>
  7249. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  7250. 2006-01-19 Jackson Harper <[email protected]>
  7251. * ComboBox.cs: Hookup the text controls keydown event so we get
  7252. those when the text control has the focus.
  7253. 2006-01-18 Peter Dennis Bartok <[email protected]>
  7254. * Label.cs: Now using the base events instead of defining new ones;
  7255. this allows us to just call the base properties without having to
  7256. duplicate all base property logic
  7257. 2006-01-18 Peter Dennis Bartok <[email protected]>
  7258. * Label.cs: A label by default is not a tabstop (Fixes one of our
  7259. failing nunit tests)
  7260. 2006-01-18 Peter Dennis Bartok <[email protected]>
  7261. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  7262. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  7263. 2006-01-18 Peter Dennis Bartok <[email protected]>
  7264. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  7265. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  7266. This fixes #77218
  7267. * XplatUIWin32.cs:
  7268. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  7269. constructor creates images that can't be saved. Part of the fix
  7270. for #76103
  7271. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  7272. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  7273. bug fix for handling window state in forms properly)
  7274. 2006-01-18 Alexander Olk <[email protected]>
  7275. * ThemeGtk.cs: Simplify ScrollBar drawing
  7276. 2006-01-18 Jackson Harper <[email protected]>
  7277. * Splitter.cs: Set the default dock style for the splitter control
  7278. in the constructor.
  7279. 2006-01-18 Alexander Olk <[email protected]>
  7280. * ThemeGtk.cs: Corrected StateType and ShadowType for
  7281. gtk_paint_box
  7282. 2006-01-18 Alexander Olk <[email protected]>
  7283. * Control.cs: Make use of Theme.DoubleBufferingSupported
  7284. * ThemeGtk.cs:
  7285. - Added drawing for flat style buttons
  7286. - Added ScrollBar drawing
  7287. 2006-01-18 Alexander Olk <[email protected]>
  7288. * ThemeClearlooks.cs: Removed some unneeded code.
  7289. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  7290. 2006-01-17 Peter Dennis Bartok <[email protected]>
  7291. * LinkLabel.cs: We need to update the hover drawing when
  7292. leaving the control as well.
  7293. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  7294. * DataGrid.cs: Clicking on non empty areas in the columns
  7295. area was giving an exception
  7296. 2006-01-17 Jackson Harper <[email protected]>
  7297. * ThemeWin32Classic.cs:
  7298. * ListView.cs: Do not draw/clip the headers when the header style
  7299. is None.
  7300. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  7301. * DataGrid.cs: Fixes 77260
  7302. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  7303. * DataGrid.cs: Clicking on a column on a empty grid was giving
  7304. an exception
  7305. 2006-01-17 Peter Dennis Bartok <[email protected]>
  7306. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  7307. or any keypress will crash the grid.
  7308. 2006-01-17 Mike Kestner <[email protected]>
  7309. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  7310. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  7311. invisible/previously-visible items.
  7312. [Fixes #76909]
  7313. 2006-01-17 Alexander Olk <[email protected]>
  7314. * ThemeClearlooks.cs:
  7315. - Added CL_Draw_Button method; now other theme controls that are
  7316. not derived from button or do not have a button can draw buttons
  7317. too
  7318. - Updated ComboBox drawing
  7319. - Beautified RadioButton drawing
  7320. - Corrected drawing of bottom and left tabs
  7321. - Beautified DateTimePicker and MonthCalendar
  7322. - Added CPDrawButton and CPDrawRadioButton
  7323. 2006-01-16 Jackson Harper <[email protected]>
  7324. * ComboBox.cs: Set the initial value of the scrollbar to the
  7325. current index. Reduce the numbers of refreshs and IndexOfs called.
  7326. 2006-01-14 Alexander Olk <[email protected]>
  7327. * FileDialog.cs: When the file listview is focused hitting the
  7328. backspace key moves the fileview to the parent directory
  7329. 2006-01-13 Peter Dennis Bartok <[email protected]>
  7330. * Form.cs:
  7331. - Added RecreateHandle call when changing taskbar visibility to
  7332. trigger reparenting in Win32 driver (Fixes #75719)
  7333. - If a window has minimize or maximize buttons, it cannot have
  7334. a help button
  7335. * XplatUIWin32.cs:
  7336. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  7337. the toplevel form with FosterParent (A toolwindow not on the
  7338. taskbar) (Fixes #75719)
  7339. - Made FosterParent a toolwindow
  7340. 2006-01-13 Alexander Olk <[email protected]>
  7341. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  7342. 2006-01-13 Alexander Olk <[email protected]>
  7343. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  7344. is currently over that control, make sure that tooltip_window.Text
  7345. gets updated
  7346. 2006-01-13 Mike Kestner <[email protected]>
  7347. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  7348. 2006-01-13 Jackson Harper <[email protected]>
  7349. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  7350. value passed. Also redraw the selected node when we recieve
  7351. focus, so tabbing between trees works correctly.
  7352. 2006-01-13 Alexander Olk <[email protected]>
  7353. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  7354. ~/.gconf/%gconf-tree.xml, so use
  7355. .gconf/desktop/gnome/interface/%gconf.xml
  7356. 2006-01-13 Peter Dennis Bartok <[email protected]>
  7357. * TextControl.cs: Draw text in gray if control is disabled
  7358. 2006-01-13 Peter Dennis Bartok <[email protected]>
  7359. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  7360. make sure it's always visible. Fixes #76680.
  7361. 2006-01-13 Peter Dennis Bartok <[email protected]>
  7362. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  7363. 2006-01-13 Jonathan Chambers <[email protected]>
  7364. * PageSetupDialog.cs: Added.
  7365. * PrintDialog.cs: Attributes.
  7366. * PrintPreviewControl.cs: Updates.
  7367. * PrintPreviewDialog.cs: Updates.
  7368. 2006-01-12 Peter Dennis Bartok <[email protected]>
  7369. * Control.cs: Undid my selection check fix, since it's not needed
  7370. * TextBoxBase.cs:
  7371. - Now considering the presence of hscroll/vscroll when sizing
  7372. vscroll/hscroll respectively. Fixed bug #77077
  7373. - Added Left/Up/Down/Right to IsInputKey list to prevent
  7374. ContainerControl from stealing them. This fixes what I broke
  7375. with my last checkin.
  7376. 2006-01-12 Peter Dennis Bartok <[email protected]>
  7377. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  7378. I finally understand how the property can be set without a setter :-)
  7379. 2006-01-12 Peter Dennis Bartok <[email protected]>
  7380. * Application.cs:
  7381. - Switched RunLoop to use static Message.Create to create a
  7382. Message object
  7383. - Added PreProcessMessage call in runloop for keyboard events; this
  7384. is part of the fix for #77219, I overlooked this originally in the
  7385. MSDN doc for PreProcessMessage
  7386. * Control.cs:
  7387. - Removed call to PreProcessMessage from handling of keyboard
  7388. messages; it's supposed to be done in the message pump
  7389. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  7390. per MSDN documentation.
  7391. - IsInputChar: All chars are input chars by default; removed the
  7392. parent calling chain, MS does not document that
  7393. - PreProcessMessage: If IsInputChar is true, we want to return false
  7394. to allow dispatching of the message
  7395. - When selecting the next control, now also check that we're not
  7396. selecting ourselves again and therefore return a false positive.
  7397. * TextBoxBase.cs:
  7398. - Tried to match return values for IsInputKey and ProcessDialogKey
  7399. to what MS returns; moved processing of our special keys outside
  7400. ProcessDialogKey since MS does not seem to return true on those.
  7401. - Moved code that previously was in ProcessDialogKey into new private
  7402. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  7403. - Reworked handling of WM_CHAR to not have to duplicate code from
  7404. Control.cs anymore, instead we simply call down to base.
  7405. 2006-01-12 Jackson Harper <[email protected]>
  7406. * ComboBox.cs: We always need to refresh the text area when
  7407. EndUpdate is called. Fixes the combobox in the file dialog.
  7408. * Control.cs: Don't create the creator_thread until the controls
  7409. handle is created. Also in InvokeRequired we check if the
  7410. creator_thread is null. This gives the effect of InvokeRequired
  7411. returning true if the controls handle is not created yet, and
  7412. matches MS.
  7413. 2006-01-12 Peter Dennis Bartok <[email protected]>
  7414. * XplatUI.cs:
  7415. - Added StartLoop() driver method. This is used to allow drivers to
  7416. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  7417. loop for a particular thread
  7418. - Added EndLoop() driver method. This is called once the message
  7419. pump for the thread is shut down
  7420. - Added SupportsTransparency method to allow the driver to indicate
  7421. opacity support for windows
  7422. * Form.cs:
  7423. - Removed TODO attribute, completed AllowTransparency property
  7424. - Added documented logic to Opacity
  7425. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  7426. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  7427. versions of CompatibleTextRendering
  7428. * X11Structs.cs: Added opacity atom to our atom enumeration
  7429. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  7430. of a form might be set before it's reparented by the WM, and we need
  7431. the opacity value without calling up to Form)
  7432. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  7433. SupportsTransparency() driver methods
  7434. * Application.cs: Now calling StartLoop and EndLoop driver methods
  7435. * XplatUIX11.cs:
  7436. - Added opacity atom registration
  7437. - Added StartLoop()/EndLoop() methods. They're empty right now but
  7438. will need to get implemented when we switch to a per-thread queue
  7439. - Implemented SupportsTransparency() method
  7440. - Implemented SetWindowTransparency() method
  7441. - Added support for setting the opacity value when a window is
  7442. reparented (since the opacity needs to be set on the WM frame)
  7443. * XplatUIOSX.cs, XplatUIWin32.cs:
  7444. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  7445. 2006-01-12 Alexander Olk <[email protected]>
  7446. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  7447. 2006-01-12 Alexander Olk <[email protected]>
  7448. * FileDialog.cs: Added ToolTip for MWFFileView
  7449. * MimeIcon.cs: Rewrote GnomeHandler.
  7450. - Get currently used gnome icon theme from
  7451. ($HOME)/.gconf/%gconf-tree.xml
  7452. - Make use of inherited icon themes
  7453. - Support SVG icon themes like Tango via librsvg
  7454. 2006-01-12 Miguel de Icaza <[email protected]>
  7455. Revert's Jackson's revert which broke 2.0 builds. Fix both
  7456. builds.
  7457. * Application.cs: Move the use_compatible_text_rendering outside
  7458. the NET_2_0 define. If we ever need to use the
  7459. use_compatible_text_rendering on the individual controls they will
  7460. access the variable from the common shared code paths.
  7461. 2006-01-12 Peter Dennis Bartok <[email protected]>
  7462. * XplatUI.cs:
  7463. - Added more granular debug options
  7464. - Added method to print both window text and id
  7465. - Switched debug output to use new Window() debug method
  7466. - Added IsEnabled() driver method
  7467. - Added EnableWindow() driver method
  7468. * Form.cs:
  7469. - Removed end_modal; no longer needed, new loop handles termination
  7470. via 'closing' variable
  7471. - If form is modal, setting DialogResult will now initiate loop
  7472. termination via 'closing' variable
  7473. - Added support for is_enabled/WS_DISABLED to CreateParams
  7474. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  7475. does all the work
  7476. - Removed code that's now in RunLoop from ShowDialog()
  7477. - Added various documented sanity checks to ShowDialog()
  7478. - Added handling of WM_DESTROY message; we set 'closing' on getting
  7479. the message to indicate the message pump to terminate
  7480. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  7481. send by the Application.ExitThread method. (We send the message
  7482. to destroy the window after all other events have been
  7483. processed through the queue, instead of destroying the handle
  7484. directly)
  7485. - Moved code from Close() method to WM_CLOSE handler; added logic
  7486. to only send close-related events if the form is not displayed
  7487. modal
  7488. * Splitter.cs (..ctor): Fixed typo in resource name
  7489. * Control.cs:
  7490. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  7491. brush now
  7492. - set_Cursor: Now only setting calling into XplatUI if the handle for
  7493. the control is already created; this avoids implict handle creation
  7494. or crashes if it's not created
  7495. - set_Enabled: Now setting the enabled state via the new driver method
  7496. instead of just tracking it
  7497. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  7498. - CreateControl: Reordered event firing and method calls to more
  7499. closely fire events in the order MS does. Now setting the
  7500. enabled state in the driver when creating the control.
  7501. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  7502. match MS order
  7503. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  7504. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  7505. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  7506. * Hwnd.cs:
  7507. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  7508. - Added EnabledHwnd property to easily allow a driver to find the
  7509. handle of the first enabled window in the parent chain (this is
  7510. used by drivers to pass up input events of disabled windows)
  7511. * XplatUIDriver.cs: Added IsEnabled() method
  7512. * Application.cs:
  7513. - Removed crude and obsolete exiting tracking variable
  7514. - Removed internal ModalRun(); replaced by RunLoop()
  7515. - Implemented private CloseForms() method to allow closing all
  7516. windows owned by a particular (or all) threads
  7517. - Exit() now properly closes all windows without forcing the message
  7518. pump to quit
  7519. - Removed obsolete InternalExit() method
  7520. - Changed Run() methods to use new RunLoop() message pump
  7521. - Implemented new RunLoop() method for both modal and non-modal forms
  7522. * CommonDialog.cs:
  7523. - get_CreateParams: Added setting of WS_DISABLED
  7524. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  7525. invoked via Form.ShowDialog()
  7526. * NativeWindow.cs: We don't remove the window from the collection when
  7527. the handle is destroyed; there might still be messages for it in the
  7528. queue (mainly the resulting WM_DESTROY); instead it will be removed
  7529. when Control calls InvalidateHandle in the WM_DESTROY handler
  7530. * XplatUIX11.cs:
  7531. - CreateWindow: Added logic to handle the WS_DISABLED window style
  7532. - EnableWindow: Implemented based on Hwnd.Enabled
  7533. - GetMessage: Reset PostQuitState so the method can be called again
  7534. - Implemented support for disabled windows (passing messages to the
  7535. first enabled parent) in handling all input messages
  7536. - Added optimizations for handling Expose events
  7537. - Implemeted new driver method IsEnabled()
  7538. - Now always resetting paint pending tracking vars when we start paint
  7539. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  7540. * XplatUIOSX.cs: Added IsEnabled method stub
  7541. * XplatUIWin32.cs: Implemented new IsEnabled() method
  7542. 2006-01-11 Jackson Harper <[email protected]>
  7543. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  7544. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  7545. variables a little.
  7546. * ColorDialog.cs: Clear out the old form before adding the new
  7547. panel.
  7548. 2006-01-11 Jackson Harper <[email protected]>
  7549. * X11Dnd.cs: Make sure to add all the text formats when adding
  7550. strings to the data object.
  7551. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  7552. do some redrawing too. Also change the UpdateNode to an
  7553. UpdateBelow so the newly added node gets painted.
  7554. 2006-01-11 Miguel de Icaza <[email protected]>
  7555. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  7556. LinkLabel.cs, PropertyGrid.cs: Implement the
  7557. UseCompatibleTextRendering property for 2.x
  7558. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  7559. 2006-01-11 Jackson Harper <[email protected]>
  7560. * TreeView.cs: Use the property for setting the selected node so
  7561. the correct events get raised.
  7562. * TreeNode.cs: Update the tree when the fore/back colours of a
  7563. node are set.
  7564. 2006-01-10 Jackson Harper <[email protected]>
  7565. * TreeView.cs: Allow setting SelectedNode to null.
  7566. 2006-01-9 Jonathan Chambers <[email protected]>
  7567. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  7568. 2006-01-9 Jonathan Chambers <[email protected]>
  7569. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  7570. 2006-01-9 Jonathan Chambers <[email protected]>
  7571. * PrintDialog.cs: Added attributes and set default property values.
  7572. 2006-01-9 Jonathan Chambers <[email protected]>
  7573. * PrintControllerWithStatusDialog.cs:
  7574. Added PrintControllerWithStatusDialog.
  7575. 2006-01-9 Jonathan Chambers <[email protected]>
  7576. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  7577. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  7578. 2006-01-9 Jonathan Chambers <[email protected]>
  7579. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  7580. 2006-01-09 Jonathan Chambers <[email protected]>
  7581. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  7582. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  7583. 2006-01-08 Alexander Olk <[email protected]>
  7584. * MimeIcon.cs: Added internal class SVGUtil.
  7585. 2006-01-08 Alexander Olk <[email protected]>
  7586. * FileDialog.cs: Don't crash if there are two files with the
  7587. same name but different locations.
  7588. 2006-01-08 John BouAntoun <[email protected]>
  7589. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  7590. dates across multiple month grids. Used to not highlight entire
  7591. month, but does now.
  7592. 2006-01-06 Jackson Harper <[email protected]>
  7593. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  7594. message loop. Change timer intervals to numbers that seem more
  7595. natural.
  7596. 2006-01-06 John BouAntoun <[email protected]>
  7597. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  7598. object for location info since screen object is now implemented.
  7599. 2006-01-05 Jackson Harper <[email protected]>
  7600. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  7601. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  7602. AsyncMethodResult, this is because we ALWAYS want the
  7603. ManualResetEvent to get set.
  7604. * Control.cs: When disposing use an async invoke to call shutdown
  7605. code, so that thigns don't block on the finalizer thread. Also
  7606. check if we even have a message loop before trying to send
  7607. messages, if we don't then don't bother sending messages.
  7608. - No more weak references for async methods
  7609. * XplatUIDriver.cs: No more weak references for async methods.
  7610. 2006-01-04 Alexander Olk <[email protected]>
  7611. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  7612. returns two FontFamily with the same name
  7613. 2006-01-04 Peter Dennis Bartok <[email protected]>
  7614. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  7615. drawing disabled text. Instead using the ColorGrayText color
  7616. 2006-01-04 Jackson Harper <[email protected]>
  7617. * TreeNode.cs: redraw the node when its image index is changed.
  7618. 2006-01-04 Peter Dennis Bartok <[email protected]>
  7619. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  7620. time I checked there are no others like it.
  7621. 2006-01-04 Jackson Harper <[email protected]>
  7622. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  7623. this gives the behavoir I was looking for.
  7624. * Control.cs: Special case Invoking EventHandlers, this matches MS
  7625. and fixes part of bug #76326.
  7626. 2006-01-04 Alexander Olk <[email protected]>
  7627. * ThemeClearlooks.cs, FileDialog.cs:
  7628. - Reflect the latest Theme class changes
  7629. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  7630. with DateTime
  7631. 2006-01-04 Alexander Olk <[email protected]>
  7632. * Theme.cs: Cache UI resource images and resize them if needed
  7633. 2006-01-03 Peter Dennis Bartok <[email protected]>
  7634. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  7635. is called. This fixes the crash in Nexxia when setting the font
  7636. attributes in the chat. [However, RTF needs a look-over to make sure
  7637. that all SelectionXXX methods handle the special case that selection
  7638. is empty and therefore the change must be applied to all text starting
  7639. at the cursor/selection start]
  7640. 2006-01-03 Peter Dennis Bartok <[email protected]>
  7641. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  7642. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  7643. * X11Keyboard.cs: Switched to new way of calling PostMessage
  7644. 2006-01-03 Peter Dennis Bartok <[email protected]>
  7645. * Theme.cs: Added theme interface for images to allow the theme to
  7646. control what images are used for things like FileDialog, MessageBox
  7647. icons, etc.
  7648. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  7649. 2006-01-03 Alexander Olk <[email protected]>
  7650. * FileDialog.cs:
  7651. - Removed some dead code
  7652. - Opening a recently used file does work now
  7653. - Small UI enhancements
  7654. - Refactoring
  7655. 2006-01-02 Alexander Olk <[email protected]>
  7656. * FileDialog.cs: Forgot too add __MonoCS__
  7657. 2006-01-02 Alexander Olk <[email protected]>
  7658. * FileDialog.cs: We are able to read recently used files now let's
  7659. go on and write them.
  7660. 2006-01-01 Alexander Olk <[email protected]>
  7661. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  7662. button
  7663. * MimeIcon.cs: Do a check for the top level media type also
  7664. 2005-12-31 Alexander Olk <[email protected]>
  7665. * ThemeClearlooks.cs:
  7666. - Added CPDrawStringDisabled
  7667. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  7668. some chars if the text doesn't fit into text_rect
  7669. - DrawListViewItem: If View = View.LargeIcon center the image;
  7670. rewrote the drawing of ListViewItem.Text if View =
  7671. View.LargeIcon
  7672. 2005-12-31 Alexander Olk <[email protected]>
  7673. * MimeIcon.cs: Use default KDE icon theme if there is no
  7674. "48x48" directory for the current icon theme, fixes #77114
  7675. * Mime.cs: Disable not working and actually not used code.
  7676. * ThemeWin32Classic.cs:
  7677. - Replace "new SolidBrush" in GetControlBackBrush and
  7678. GetControlForeBrush with ResPool.GetSolidBrush
  7679. - Changed DrawListViewItem from private to protected virtual
  7680. * FileDialog.cs:
  7681. - Added form.MaximizeBox = true
  7682. - Don't throw an exception if there is a broken symbolic link
  7683. 2005-12-23 Jackson Harper <[email protected]>
  7684. * TabControl.cs: Give the panels focus, keyboard navigation is
  7685. fixed so this works correctly now.
  7686. - We need these key events also.
  7687. * ToolBar.cs: Remove some of the poor mans double buffering.
  7688. 2005-12-24 Alexander Olk <[email protected]>
  7689. * ComboBox.cs: The internal TextBox now returns the focus.
  7690. 2005-12-23 Jackson Harper <[email protected]>
  7691. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  7692. 2005-12-23 Peter Dennis Bartok <[email protected]>
  7693. * Control.cs: Removed debug code
  7694. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  7695. implicit children
  7696. 2005-12-23 Peter Dennis Bartok <[email protected]>
  7697. * Control.cs: When creating the control, update the Z-order after
  7698. all it's children are created, too. (Fixes nexxia not showing
  7699. picturebox bug)
  7700. 2005-12-23 Peter Dennis Bartok <[email protected]>
  7701. * Control.cs: Do not update the anchoring distances if layout is
  7702. suspended, instead do it once layout is resumed
  7703. 2005-12-22 Peter Dennis Bartok <[email protected]>
  7704. * Control.cs:
  7705. - After many hours of debugging, for both Jackson and
  7706. myself, it turns out that it helps to set the parent of a control
  7707. if you want to actually see it onscreen. In the spirit of that
  7708. discovery, we're now setting the parent of the control and
  7709. it's children when the control's handle is created. This fix
  7710. will make Lutz Roeder's Reflector run happily.
  7711. - now just creating the handle instead of the whole control when
  7712. getting a graphics context for the control.
  7713. 2005-12-22 Peter Dennis Bartok <[email protected]>
  7714. * ScrollableControl.cs: When calculating the canvas, don't consider
  7715. the scrollbar widths. Instead, predict if horizontal scrollbar
  7716. will affect canvas when deciding on vertical display and vice versa.
  7717. 2005-12-22 Peter Dennis Bartok <[email protected]>
  7718. * RichTextBox.cs: Set default RTF font for documents that don't
  7719. have a font table (Fixes #77076)
  7720. 2005-12-22 Jackson Harper <[email protected]>
  7721. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  7722. clipboard. This prevents a NullRef in that case.
  7723. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  7724. clipboard. PRIMARY is for the currently selected text only. (We
  7725. should implement PRIMARY at some point.
  7726. 2005-12-21 Peter Dennis Bartok <[email protected]>
  7727. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  7728. a Unicode function with a structure that was defined in Ansi way.
  7729. This fixes #76942.
  7730. 2005-12-21 Jackson Harper <[email protected]>
  7731. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  7732. on. Because thats how it rolls. (and this avoids it using ambient
  7733. colours).
  7734. * ThemeWin32Classic.cs: Use the proper back color for filling.
  7735. * Menu.cs: Use the system menu bar color for drawing menu
  7736. bars. Using the window back color will bring ambient colours into
  7737. the picture.
  7738. 2005-12-21 Alexander Olk <[email protected]>
  7739. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  7740. Bitmaps were created and not disposed.
  7741. 2005-12-21 Peter Dennis Bartok <[email protected]>
  7742. * Control.cs (CreateControl): Don't do anything if the control is
  7743. already created, otherwise we'd fire the OnCreated event more than
  7744. once
  7745. 2005-12-21 Peter Dennis Bartok <[email protected]>
  7746. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  7747. will always match. Instead return -1. Fixes #76464.
  7748. 2005-12-21 Peter Dennis Bartok <[email protected]>
  7749. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  7750. neither the beginning nor the end of the line (Fixes bug #76479)
  7751. 2005-12-21 Peter Dennis Bartok <[email protected]>
  7752. * Control.cs:
  7753. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  7754. where handle is invalid
  7755. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  7756. instead of slower linear search
  7757. * NativeWindow.cs: Don't remove the window from the hashtable until
  7758. after the driver has destroyed it (since the driver might use
  7759. Control.FromHandle to lookup the control object
  7760. * Hwnd.cs: Added DestroyPending property to track if a window is
  7761. already destroyed as far as the driver is concerned and only hasn't
  7762. yet notified the control
  7763. * XplatUIX11.cs:
  7764. - Activate(): Check if the window is still valid before using the
  7765. handle
  7766. - Implemented DestroyChildWindow() method to mark child windows as
  7767. destroyed when a window is destroyed. This prevents situations
  7768. where we might call an X method based on queued events for a
  7769. window that already has been destroyed but we haven't yet pulled
  7770. the destroy method from the queue.
  7771. - Added a call to the new DestroyChildWindow() method to the drivers
  7772. DestroyWindow code. Also now marking the destroyed window itself
  7773. as pending
  7774. 2005-12-20 Jackson Harper <[email protected]>
  7775. * StatusBar.cs:
  7776. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  7777. anymore. Just do them when needed, also track the rects of panels
  7778. so that we can optimize refreshing more in the future.
  7779. 2005-12-20 Alexander Olk <[email protected]>
  7780. * ColorDialog.cs: Fixed focus drawing in small color controls
  7781. 2005-12-19 Jackson Harper <[email protected]>
  7782. * InternalWindowManager.cs:
  7783. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  7784. moving windows works properly.
  7785. 2005-12-19 Peter Dennis Bartok <[email protected]>
  7786. * Control.cs:
  7787. - Removed call to InitLayout() from SetBoundsCore(); doc says
  7788. it's only called when a control is added to a container
  7789. - Split InitLayout logic, moved to separate UpdateDistances() method
  7790. since we need to perform those calculations more often than just
  7791. when adding the control to a container. (Needed to fix #77022)
  7792. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  7793. - Reduced the OnBindingContextChanged events count, don't send them
  7794. unless the control is created, we still aren't totally matching
  7795. MS, but I can't quite figure out some of their rules
  7796. 2005-12-18 Alexander Olk <[email protected]>
  7797. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  7798. stripes
  7799. 2005-12-18 Alexander Olk <[email protected]>
  7800. * ThemeClearlooks.cs:
  7801. - Updated ProgressBar drawing
  7802. - Corrected drawing of ScrollBars and scroll buttons
  7803. - Some temporary fixes for minor pixel artefacts
  7804. 2005-12-18 Peter Dennis Bartok <[email protected]>
  7805. * Control.cs:
  7806. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  7807. cause events to be sent in the same order as MS does.
  7808. - Added ChangeParent() method to trigger various OnXXXChanged events
  7809. that need to be fired when a parent changes (This is a reworking
  7810. of the patch from r54254, with the X11 errors fixed)
  7811. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  7812. since on MS we get OnLayoutChanged events when calling Clear()
  7813. - Changed Enabled property to consider parent state as well, if a
  7814. parent is not enabled, the control will not be either
  7815. - Changed Parent property to simply call Controls.Add() since that
  7816. now does all the work required, this way we avoid code duplication
  7817. - Threw in a few OnBindingsContextChanged calls to try and match
  7818. when MS sends them. We seem to send a few too many, though.
  7819. - Added call to CreateControl when adding the control to a parent.
  7820. We were never calling CreateControl. Still needs some work, in
  7821. some places we treat HandleCreated and ControlCreated as equal,
  7822. which is wrong
  7823. - Removed obsolete commented out code from UpdateZOrder()
  7824. 2005-12-18 Alexander Olk <[email protected]>
  7825. * ThemeClearlooks.cs: Updated TrackBar drawing.
  7826. 2005-12-17 Alexander Olk <[email protected]>
  7827. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  7828. 2005-12-17 Alexander Olk <[email protected]>
  7829. * FileDialog.cs: Add the Help button and the open readonly
  7830. checkbox only if needed
  7831. 2005-12-16 Jackson Harper <[email protected]>
  7832. * Control.cs: Make sure we have an active menu before trying to
  7833. process commands on it. Prevents menu-less forms from crashing
  7834. when Alt is pressed.
  7835. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  7836. Dieter Bremes.
  7837. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  7838. 2.0 build.
  7839. 2005-12-16 Jackson Harper <[email protected]>
  7840. * InternalWindowManager.cs: Don't translate tool windows screen
  7841. coordinates. This fixes windows 'bouncing' around when being moved.
  7842. 2005-12-15 Peter Dennis Bartok <[email protected]>
  7843. * TextBoxBase.cs:
  7844. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  7845. not quite MS compatible, MS uses that number only for single line
  7846. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  7847. the limit at 2GB)
  7848. - Now enforcing the MaxLength limit when entering characters
  7849. - Added argument to internal Paste() method to track if it's called
  7850. from programatically or via keyboard, since keyboard driven pastes
  7851. need to enforce max-length
  7852. - Added logic to Paste to only paste as many chars as MaxLength
  7853. allows
  7854. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  7855. * TextControl.cs:
  7856. - Added Length property to return number of characters in document
  7857. - Added private CharCount property which only tracks actual chars
  7858. in the document (no linefeeds) and fires event when CharCount
  7859. changes
  7860. - Added tracking of character count to all methods that alter it
  7861. - Added LengthChanged event to allow applications to subscribe
  7862. to any changes to the document
  7863. 2005-12-15 Peter Dennis Bartok <[email protected]>
  7864. * TextBox.cs:
  7865. - Removed local password_char field (moved to TextBoxBase)
  7866. - Now setting the document's password var when password is
  7867. set
  7868. * TextBoxBase.cs:
  7869. - Added password_char field (needed here so MultiLine can
  7870. access it)
  7871. - Added logic to MultiLine property setter to set the document's
  7872. variable when password display is allowed
  7873. - Removed debug code and made some debug code conditional
  7874. * TextControl.cs:
  7875. - Added RecalculatePasswordLine() method to handle special password
  7876. char only lines
  7877. - Added PasswordChar property, also added related tracking vars
  7878. - Draw() method now uses local text var for grabbing text to draw,
  7879. this var is set to line.text unless we're doing password display,
  7880. then it is set to the pre-generated all-password-chars line
  7881. - Added calling RecalculatePasswordLine() method for password lines
  7882. 2005-12-14 Peter Dennis Bartok <[email protected]>
  7883. * Hwnd.cs:
  7884. - Added Reparented property to allow tracking of Window Manager
  7885. reparenting actions (which affect X/Y calculations of toplevel
  7886. windows)
  7887. - Made ToString() print window handles in hex
  7888. * XplatUIX11.cs:
  7889. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  7890. determine if X/Y needs offsetting
  7891. - AddConfigureNotify(): Fixed offset calculations
  7892. - Now adds ReparentNotify messages into the queue
  7893. - Now processes ReparentNotify messages and causes a
  7894. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  7895. is reparented (as most likely it's X/Y coordinates are changed
  7896. due to that)
  7897. 2005-12-14 Jackson Harper <[email protected]>
  7898. * XplatUIX11.cs: Tool windows still need to respek focus.
  7899. 2005-12-14 Peter Dennis Bartok <[email protected]>
  7900. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  7901. have a working release
  7902. 2005-12-13 Jackson Harper <[email protected]>
  7903. * Form.cs: Update styles after setting the border style regardless
  7904. of whether or not the window is using a window manager.
  7905. 2005-12-13 Jackson Harper <[email protected]>
  7906. * Form.cs: We now hook into an internal window manager instead of just an
  7907. MDI subsystem, this is so we can have properly behaving tool windows.
  7908. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  7909. * InternalWindowManager.cs: New internal class that acts as a
  7910. window manager for tool windows and as a base for mdi windows.
  7911. * MdiWindowManager.cs: New class that acts as a window manager for
  7912. mdi windows.
  7913. 2005-12-12 Jackson Harper <[email protected]>
  7914. * Control.cs: Updates so we match behavoir for for implicit
  7915. controls. Fixes explosions in MDI.
  7916. 2005-12-12 Jackson Harper <[email protected]>
  7917. * Control.cs: Implement Invalidate (Region).
  7918. 2005-12-12 Peter Dennis Bartok <[email protected]>
  7919. * Control.cs:
  7920. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  7921. the same events as MS does. MS fires events for each property
  7922. except, for unknown reasons, Cursor, when the control is reparented.
  7923. I can't seem to totally match add/remove since MS also fires some
  7924. VisibleChanged events, which makes no sense. Consolidated the
  7925. parenting code into a separate method so it can be called from
  7926. both Add and Remove. set_Parent no longer needs any special logic
  7927. as it calls the parent's add method which implicitly fires
  7928. all events
  7929. - Removed some obsolete code and debug output
  7930. - Enabled state is inherited from parents, if this is enabled
  7931. 2005-12-08 Peter Dennis Bartok <[email protected]>
  7932. * Form.cs: Removed commented out code
  7933. 2005-12-08 Peter Dennis Bartok <[email protected]>
  7934. * Control.cs:
  7935. - Added internal version of Invoke, with additional argument
  7936. indicating if we're calling it from a Dispose() handler. That
  7937. way we can avoid BeginInvoke throwing an exception if we're
  7938. calling for an already destroyed window.
  7939. - Added a dispose argument to BeginInvokeInternal, and made the
  7940. check if a valid window handle chain exists conditional on
  7941. it not being a dispose call
  7942. - Removed code in DestroyHandle to destroy our children. Since we
  7943. now handle the WM_DESTROY message we will catch all our children
  7944. being destroyed.
  7945. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  7946. * Form.cs:
  7947. - Added a field to track the application context of the form.
  7948. - No need to set closing variable as response to WM_CLOSE, instead
  7949. we destroy the window. We also call PostQuitMessage if the form
  7950. has an application context (which makes it the main app form,
  7951. which, when closed terminates the app)
  7952. * XplatUI.cs:
  7953. - Dropped Exit() method, it's naming was confusing
  7954. - Added PostQuitMessage() which causes GetMessage to return false
  7955. once the message queue is empty
  7956. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  7957. PostQuitMessage()
  7958. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  7959. no longer a valid XplatUI method, but left it in since it's used
  7960. internally. Added empty PostQuitMessage() method.
  7961. * MenuAPI.cs: Replaced call to Exit() with call to
  7962. PostQuitMessage, even though this is probably no longer needed.
  7963. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  7964. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  7965. * Application.cs:
  7966. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  7967. - Removed old debug code that would call XplatUI for exception
  7968. display, enabled standard exception handling (Still not enabled
  7969. though, until NativeWindow's ExternalExceptionHandler define
  7970. is removed
  7971. * NativeWindow.cs:
  7972. - Added internal method to allow control to update NativeWindow
  7973. after a window has been destroyed
  7974. - Added handling of already destroyed windows when calling i
  7975. DestroyWindow
  7976. - Added removal of handle from list on ReleaseHandle
  7977. * XplatUIX11.cs:
  7978. - Dropped GetMessageResult var and related code
  7979. - Added PostQuitState to field to track if PostQuitMessage has been
  7980. called
  7981. - Dropped Exit() method
  7982. - Added PostQuitMessage() method
  7983. - GetMessage now will return false if PostQuitState is set and no
  7984. more messages are in the queue.
  7985. - Expose handler will no longer generate WM_PAINT messages if we are
  7986. in PostQuitState since it's very likely any windows have already
  7987. been destroyed, and since Hwnd won't get updated until we have
  7988. processed the DestroyNotify we'd be causing X errors.
  7989. 2005-12-07 Peter Dennis Bartok <[email protected]>
  7990. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  7991. Thanks to Mike for pointing out the err of my ways.
  7992. 2005-12-07 Peter Dennis Bartok <[email protected]>
  7993. * Control.cs(PreProcessMessage): Moved menu handling back, but
  7994. after all other key handling, to match MS (who handles Menu in
  7995. DefWndProc)
  7996. * Menu.cs (WndProc): Removed my brainfart
  7997. 2005-12-07 Peter Dennis Bartok <[email protected]>
  7998. * Control.cs(PreProcessMessage): Removed special menu handling
  7999. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  8000. 2005-12-07 Mike Kestner <[email protected]>
  8001. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  8002. state according in tracker.
  8003. * Menu.cs : promote tracker field to base class and provide a tracker
  8004. lookup capability. Add/Remove shortcuts dynamically if the top menu
  8005. has a tracker. Unparent items that are removed from the collection.
  8006. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  8007. * Theme*.cs: add always_show_hotkeys field to support configurability
  8008. of mnemonic display. win32 doesn't show mnemonics until Alt is
  8009. pressed.
  8010. 2005-12-07 Jackson Harper <[email protected]>
  8011. * MdiChildContext.cs: Use Control.ResetCursor.
  8012. * Control.cs: ResetCursor needs to set the property so that the
  8013. correct XplatUI call gets made.
  8014. 2005-12-07 Peter Dennis Bartok <[email protected]>
  8015. * Control.cs: More fixes to make our key events match MS. We
  8016. were not setting the modifier state on KeyData, and we were
  8017. not generating any events when Alt was pressed with a key
  8018. since handling of WM_SYSxxx was missing for the OnKey methods.
  8019. 2005-12-07 Jackson Harper <[email protected]>
  8020. * MdiChildContext.cs: reenable the sizing code.
  8021. - When the mouse leaves a window reset its cursor.
  8022. 2005-12-07 Alexander Olk <[email protected]>
  8023. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  8024. 2005-12-07 Peter Dennis Bartok <[email protected]>
  8025. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  8026. widths of Fixed3D borders
  8027. 2005-12-07 Jackson Harper <[email protected]>
  8028. * MdiClient.cs: Fix warnings. Earn Mike's love.
  8029. 2005-12-07 Alexander Olk <[email protected]>
  8030. * ThemeClearlooks.cs:
  8031. - Adjusted mouse over button color
  8032. - Added first parts of CheckBox drawing
  8033. - Added correct color for selected text background
  8034. - Fixed ComboBox drawing
  8035. - Added CPDrawBorder3D and CPDrawBorder
  8036. 2005-12-06 Peter Dennis Bartok <[email protected]>
  8037. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  8038. 2005-12-06 Peter Dennis Bartok <[email protected]>
  8039. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  8040. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  8041. alert users via sound. We could add an enum arg with different
  8042. types of alerts in the future
  8043. 2005-12-06 Peter Dennis Bartok <[email protected]>
  8044. * Control.cs: Fix behaviour problems pointed out by Mike
  8045. 2005-12-05 Mike Kestner <[email protected]>
  8046. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  8047. prop setters. Calls parent.Refresh for now, but could be maybe be
  8048. optimized with an internal method on StatusBar at some point.
  8049. [Fixes #76513]
  8050. 2005-12-05 Peter Dennis Bartok <[email protected]>
  8051. * RichTextBox.cs: Implemented get_SelectionColor
  8052. 2005-12-05 Alexander Olk <[email protected]>
  8053. * ThemeClearlooks.cs:
  8054. - Removed dead code
  8055. - Draw black button border only if button is Form.AcceptButton
  8056. - Draw correct button color for pressed RadioButton if the mouse
  8057. has entered the button
  8058. - Updated ProgressBar drawing!
  8059. - Updated CPDrawSizeGrip drawing
  8060. - Updated StatusBarPanel drawing
  8061. 2005-12-05 Mike Kestner <[email protected]>
  8062. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  8063. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  8064. 2005-12-04 Alexander Olk <[email protected]>
  8065. * ThemeClearlooks.cs: Initial check-in, activate with
  8066. export MONO_THEME=clearlooks
  8067. * ThemeEngine.cs: Added ThemeClearlooks
  8068. 2005-12-03 Mike Kestner <[email protected]>
  8069. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  8070. [Fixes #76897]
  8071. 2005-12-02 Jackson Harper <[email protected]>
  8072. * Form.cs: If the child form has no menu the default main menu is
  8073. used as the active menu.
  8074. 2005-12-02 Peter Dennis Bartok <[email protected]>
  8075. * ListBox.cs: Check if any items exist before trying to resolve
  8076. coordinates into items
  8077. 2005-12-02 Peter Dennis Bartok <[email protected]>
  8078. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  8079. as the second color for the background hatch
  8080. 2005-12-02 Peter Dennis Bartok <[email protected]>
  8081. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  8082. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  8083. sure that what we pass to FormatText is always 1-based. Fixes #76885
  8084. 2005-11-29 Miguel de Icaza <[email protected]>
  8085. * NumericUpDown.cs (EndInit): When we are done initializing,
  8086. reflect any updates on the UI.
  8087. 2005-12-02 Jackson Harper <[email protected]>
  8088. * ImplicitHScrollBar.cs:
  8089. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  8090. their container controls.
  8091. * TreeView.cs: Use the new implicit scrollbars.
  8092. 2005-12-02 Jackson Harper <[email protected]>
  8093. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  8094. can play with it.
  8095. * TreeNodeCollection.cs: If we remove the topnode we need to
  8096. update topnode to the next node in line.
  8097. - When clearing nodes go through the same process as removing
  8098. them, so they get depareneted and checked if they are top node.
  8099. 2005-12-01 Jackson Harper <[email protected]>
  8100. * TreeView.cs: When imagelists are used the image area is
  8101. selectable as well as the text.
  8102. - If there are no selected nodes select the first one.
  8103. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  8104. so don't do it more then we need to.
  8105. 2005-12-01 Jackson Harper <[email protected]>
  8106. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  8107. that arrows can be scaled.
  8108. 2005-12-01 Jackson Harper <[email protected]>
  8109. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  8110. fail. Patch by Dieter Bremes
  8111. 2005-11-30 Jackson Harper <[email protected]>
  8112. * Form.cs: Property is 2.0 only
  8113. * PrintDialog.cs: Signature fix.
  8114. 2005-11-30 Peter Dennis Bartok <[email protected]>
  8115. * TextControl.cs:
  8116. - No longer artificially moves text 2 pixels down (now that we have
  8117. borders this is no longer needed)
  8118. - Added calcs for left, hanging and right indent
  8119. 2005-11-23 Mike Kestner <[email protected]>
  8120. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  8121. 2005-11-30 Jackson Harper <[email protected]>
  8122. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  8123. get cloned as part of CloneMenu ().
  8124. * Menu.cs: Make sure the parent of the items get set correctly
  8125. when they are added. And the owners are notified of the changes.
  8126. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  8127. we can change the menu being displayed/handled by the form without
  8128. changing the menu assosciated with the form.
  8129. - Don't let Mdi children draw/handle menus.
  8130. 2005-11-30 Jackson Harper <[email protected]>
  8131. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  8132. a MenuChanged event. Just to make the API a little more
  8133. consistent.
  8134. * MainMenu.cs:
  8135. * MenuItem.cs: Use the new OnMenuChanged
  8136. * MdiChildContext.cs: Handle menu merging.
  8137. * Form.cs: Implement MergedMenu.
  8138. 2005-11-30 Jackson Harper <[email protected]>
  8139. * Menu.cs: We were misusing Add. Add goes behind the specified
  8140. index according to the docs, and does not replace the specified
  8141. index. So I added an Insert method.
  8142. 2005-11-30 Peter Dennis Bartok <[email protected]>
  8143. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  8144. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  8145. is for Jackson
  8146. * RichTextBox.cs: Added calls to base for DnD events
  8147. 2005-11-28 Peter Dennis Bartok <[email protected]>
  8148. * TextControl.cs:
  8149. - Fixed drag-selection related crash; style fixes
  8150. - Implemented undo class
  8151. o Implemented method to capture document state for specified
  8152. range in document tree
  8153. o Implemented method to restore captured document state
  8154. o Implemented cursor tracking
  8155. o Implemented basic undo stack
  8156. - Added undo cursor tracking to methods altering cursor location
  8157. - Added undo tracking to selection deletion (still missing
  8158. other text-altering hookups)
  8159. * RichTextBox.cs:
  8160. - Added SelectionLength property
  8161. - Implemented CanPaste()
  8162. - Implemented Paste()
  8163. - Added missing protected methods
  8164. - Fixed RTF->Document conversion; now uses font index 0 and color
  8165. index 0 as the default font for the parsed text
  8166. - Fixed RTF<->Document font size translation
  8167. - Fixed RTF generation, now properly handles cross-tag boundaries
  8168. for single line selection
  8169. - No longer always appends blank line to generated RTF
  8170. - Removed TODOs
  8171. - Added missing attributes
  8172. - Hooked up undo-related methods
  8173. * TextBoxBase.cs:
  8174. - Implemented Copy()
  8175. - Implemented Paste()
  8176. - Implemented Cut()
  8177. - Fixed caret mis-behaviour on backspace across line-boundaries
  8178. 2005-11-29 Jackson Harper <[email protected]>
  8179. * MdiClient.cs: Add a method for activating mdi children. Very
  8180. basic right now. I imagine someday it might need more girth.
  8181. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  8182. children windows names are added to the menu item.
  8183. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  8184. mdilist. This happens regardless of whether or not there are any
  8185. mdi windows to see in the list, and according to my tests happens
  8186. before the items are even added. Also happens if there isn't even
  8187. an mdi client to get windows from.
  8188. 2005-11-29 Alexander Olk <[email protected]>
  8189. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  8190. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  8191. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  8192. * DataGridTableStyle.cs:
  8193. - Create always the styles for the missing columns even if they are
  8194. provided by the user (not default table style)
  8195. * DataGrid.cs:
  8196. - Fixes bug 76770
  8197. - Fixes SetDataBinding (always re-attach source)
  8198. - Fixes SetNewDataSource (only clear styles if they are not for
  8199. this source)
  8200. - Expands OnTableStylesCollectionChanged to handle style refresh
  8201. and remove properly
  8202. 2005-11-29 Jackson Harper <[email protected]>
  8203. * FileDialog.cs: Implement missing bits, remove some dead
  8204. code.
  8205. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  8206. creation of the panel so that the options set on the dialog are
  8207. seen when the panel is created.
  8208. * TreeView.cs: raise a click when items are clicked.
  8209. 2005-11-29 Jackson Harper <[email protected]>
  8210. * MdiClient.cs: Pass some signature methods through to base.
  8211. 2005-11-28 Jackson Harper <[email protected]>
  8212. * ListView.cs: Raise the click event when items are clicked.
  8213. 2005-11-28 Jackson Harper <[email protected]>
  8214. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  8215. a nullref.
  8216. 2005-11-27 Alexander Olk <[email protected]>
  8217. * ThemeNice.cs: - Removed 1 pixel bitmaps
  8218. - Use SmoothingMode.AntiAlias where it makes sense
  8219. (ScrollButton arrow for example)
  8220. - Enhanced Button focus drawing
  8221. - Fixed ComboBox drawing (no artefacts anymore, focus
  8222. rectangle is back again, reduced size of ComboButton, etc.)
  8223. - Fixed RadioButton focus drawing for Appearence.Button
  8224. - Slight ScrollButton redesign
  8225. - Some LinearGradientBrush size fixes
  8226. - GroupBoxes have now rounded edges
  8227. - Fixed StatusBar drawing
  8228. 2005-11-25 Alexander Olk <[email protected]>
  8229. * ThemeNice.cs: - Remove dead code
  8230. - use correct background colors for menus, etc.
  8231. - Fake pixel drawing with 1 pixel bitmaps
  8232. 2005-11-24 Jackson Harper <[email protected]>
  8233. * MdiClient.cs: Size the scrollbars when resizing the window.
  8234. - Resize the maximized windows when the client is resized
  8235. * Form.cs: Make the child context available
  8236. 2005-11-23 Jackson Harper <[email protected]>
  8237. * MdiChildContext.cs: Don't size windows if they are maximized.
  8238. 2005-11-23 Mike Kestner <[email protected]>
  8239. * ContextMenu.cs: use MenuTracker.
  8240. * Control.cs: remove menu handle usage.
  8241. * Form.cs: remove menu handle usage.
  8242. * Hwnd.cs: remove menu handle usage.
  8243. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  8244. motion and clicks to the new Tracker handlers.
  8245. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  8246. and handle usage.
  8247. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  8248. Killed the MENU and MENUITEM data types and associated collections
  8249. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  8250. MenuTracker class that exposes the leftovers from the old MenuAPI
  8251. static methods. Restructured Capture handling so that only one grab is
  8252. done for the entire menu hierarchy instead of handing off grabs to
  8253. submenus. Tracker now has an invisible control to Capture when active.
  8254. * MenuItem.cs: add sizing accessors, kill Create
  8255. and handle usage.
  8256. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  8257. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  8258. MENU(ITEM). remove menu handle usage, use Menu directly.
  8259. * XplatUIDriver.cs: remove menu handle usage.
  8260. * XplatUIOSX.cs: remove menu handle usage.
  8261. * XplatUIWin32.cs: remove menu handle usage.
  8262. * XplatUIX11.cs: remove menu handle usage.
  8263. 2005-11-22 Jackson Harper <[email protected]>
  8264. * Hwnd.cs: Don't compute the menu size for
  8265. DefaultClientRectangle.
  8266. - Reenable menu sizes being computed for GetClienRectangle.
  8267. * Form.cs: Remove comment of trechery
  8268. 2005-11-22 Jackson Harper <[email protected]>
  8269. * Hwnd.cs: The adjustments for the menu bar are made when it is
  8270. attached to the form.
  8271. 2005-11-19 Jackson Harper <[email protected]>
  8272. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  8273. (just like on windows).
  8274. 2005-11-19 Jackson Harper <[email protected]>
  8275. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  8276. use real buttons anymore because they are in non client area. The
  8277. one TODO here is that I need to somehow invalidate a section of
  8278. the non client area.
  8279. 2005-11-18 Jackson Harper <[email protected]>
  8280. * Control.cs: Put the enum check back in now that MDI doesnt have
  8281. to use this to set border styles.
  8282. * Form.cs: Only set mdi child windows borders if the handle has
  8283. been created.
  8284. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  8285. this directly on to the driver.
  8286. - Get the move start position before adjusting for the titlebar
  8287. height, this fixes the windows "skipping" when they are first
  8288. moved.
  8289. 2005-11-18 Jackson Harper <[email protected]>
  8290. * XplatUIX11.cs: Just compute the mdi borders separately as they
  8291. don't totally match up with normal form borders.
  8292. 2005-11-18 Jackson Harper <[email protected]>
  8293. * Control.cs: Set WS_ styles for borders, so that the driver does
  8294. not have to retrieve the control instance to figure out what kind
  8295. of borders it should have.
  8296. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  8297. driver can know its an mdi child easily.
  8298. * XplatUIX11.cs: Get the border styles and whether the window is
  8299. MDI from the Styles and ExStyles params instead of having to get a
  8300. control. This prevents a chicken and egg problem.
  8301. 2005-11-18 Jackson Harper <[email protected]>
  8302. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  8303. 2005-11-18 Jackson Harper <[email protected]>
  8304. * MdiClient.cs: Calculate when to add and remove scrollbars
  8305. correctly.
  8306. * MdiChildContext.cs: Adjust the y position to take the titlebar
  8307. into account.
  8308. - No height for FormBorderStyle.None
  8309. 2005-11-18 Jackson Harper <[email protected]>
  8310. * Control.cs: Allow non enum values to be used for
  8311. InternalBorderStyle. MDI does this to set a special border style.
  8312. - New utility methods for converting points to/from client coords
  8313. - Add the newly created control to the Controls collection before
  8314. updating its style. This way UpdateStyle can walk the control
  8315. heirarchy to find the control if needed.
  8316. so I don't need to create a new Point object all the time.
  8317. * Form.cs: Let MDI windows handle their border styles.
  8318. - Set styles on MDI windows so the correct title style is derived.
  8319. * MdiChildContext.cs: Move all the painting and window handling
  8320. into the non client area.
  8321. - Use correct sizing and put correct buttons on frames based on
  8322. the FormBorderStyle.
  8323. - Notify the mdi client about scrolling
  8324. - Need to handle the buttons ourselves now, because they are all
  8325. in non client areas and we can't add controls there.
  8326. * MdiClient.cs: Halfway to scrolling, this implementation is
  8327. somewhat broken though, we need to check to make sure other
  8328. windows aren't causing scrolling before removing the bars. Also
  8329. the bars need to be drawn on top, maybe I can switch implicit
  8330. controls to be on top.
  8331. * Hwnd.cs: caption_height and tool_caption_height are now
  8332. properties of an hwnd, this way they can be set by the driver
  8333. based on the type of window they are. In X11 the window manager
  8334. handles the decorations so caption_height is zero unless its an
  8335. MDI window.
  8336. - Add 3 pixel borders for MDI windows (0xFFFF).
  8337. - Get rid of some code duplication, have DefaultClientRectanle
  8338. just call GetClientRectangle.
  8339. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  8340. Hwnd now.
  8341. - Set border styles differently for mdi windows.
  8342. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  8343. Hwnd now.
  8344. 2005-11-15 Mike Kestner <[email protected]>
  8345. * Menu.cs: when adding an item to the collection, if item is already
  8346. parented, remove it from the parent.
  8347. 2005-11-13 Alexander Olk <[email protected]>
  8348. * X11DesktopColors.cs: Added KDE support
  8349. 2005-11-11 Peter Dennis Bartok <[email protected]>
  8350. * XplatUIWin32.cs:
  8351. - Clipboard methods now can translate Rtf format
  8352. - No longer removes clipboard contents whenever a new format is added
  8353. to allow placing multiple formats on the clipboard
  8354. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  8355. will place all formats contained in it onto the clipboard. Also
  8356. now cleans the clipboard before placing a new object onto it
  8357. * RichTextBox.cs:
  8358. - Implemented set_Rtf
  8359. - Implemented set_SelectedRtf
  8360. - Created InsertRTFFromStream() method to allow single code base
  8361. for all properties and methods that insert RTF into document
  8362. - Removed debug output
  8363. * TextControl.cs:
  8364. - Fixed Delete(int) to fix up line numbers
  8365. - Fixed ReplaceSelection to combine start and end line
  8366. - Fixed serious DeleteChars bug that would leave the document tree
  8367. broken
  8368. - Improved DumpTree with several logic checks to detect broken
  8369. document trees
  8370. - Removed debug lines
  8371. - Fixed Caret.WordForward/WordBack moving code, now always also
  8372. updates caret.tag (fixes crash when word-selecting across tag
  8373. boundaries via keyboard)
  8374. - Added Insert() method for inserting multiline text into documents
  8375. - Fixed DeleteChars() calculation errors that would cause a broken
  8376. tag chain with multiple tag lines
  8377. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  8378. - Split() no longer moves caret if split is at caret location
  8379. - ReplaceSelection() now updates the cursor and re-displays it
  8380. - ReplaceSelection() now uses new Insert() method to avoid code
  8381. duplication
  8382. - FormatText() can now handle formatting partial lines
  8383. * TextBoxBase.cs:
  8384. - Append now uses new TextControl.Insert() method (this avoids
  8385. duplicate code)
  8386. - Implemented Ctrl-X (Cut) (
  8387. - Implemented Ctrl-C (Copy)
  8388. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  8389. regeneration when pasting text; roundtripping Copy&Paste within
  8390. edit control still fails due to some calculation bugs in GenerateRTF)
  8391. - The Delete key will now remove the current selection if it is visible
  8392. * TextBox.cs: Removed debug lines
  8393. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  8394. driver to be initialized and can't therefore be done via a static ctor)
  8395. 2005-11-10 Peter Dennis Bartok <[email protected]>
  8396. * TextControl.cs: Added backend code for finding char arrays and strings
  8397. * TextBoxBase.cs:
  8398. - Added mouse wheel scroll support
  8399. - Added support for VScroll and HScroll events
  8400. * RichTextBox.cs:
  8401. - Implemented all seven Find() variants
  8402. - Implemented GetCharFromPosition()
  8403. - Implemented GetCharIndexFromPosition()
  8404. - Implemented GetLineFromIndex()
  8405. - Implemented GetPositionFromCharIndex();
  8406. - Implemented SaveFile for PlainText and UnicodeText
  8407. - Fixed set_Font, now setting a new font applies that font to
  8408. the whole document
  8409. - Implemented generic Document to RTF converter
  8410. - Implemented SaveFile for RichText format (still missing unicode
  8411. conversion for non-ansi chars)
  8412. - Implemented get_Rtf
  8413. - Implemented get_SelectedRtf
  8414. 2005-11-09 Peter Dennis Bartok <[email protected]>
  8415. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  8416. to allow any captures to be released before triggering OnClick. This
  8417. way a click handler may capture the mouse without interference.
  8418. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  8419. This way we send them even though X may not allow a grab (if the window
  8420. isn't visible, for example)
  8421. 2005-11-08 Pedro Martinez Julia <[email protected]>
  8422. * DataGridViewRowEventArgs.cs: DataGridView implementation
  8423. * DataGridViewElement.cs: DataGridView implementation
  8424. * DataGridViewComboBoxCell.cs: DataGridView implementation
  8425. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  8426. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  8427. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  8428. * ImageLayout.cs: DataGridView implementation
  8429. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  8430. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  8431. * DataGridViewSelectionMode.cs: DataGridView implementation
  8432. * IDataGridViewEditingControl.cs: DataGridView implementation
  8433. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  8434. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  8435. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  8436. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  8437. * DataGridViewColumnSortMode.cs: DataGridView implementation
  8438. * DataGridView.cs: DataGridView implementation
  8439. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  8440. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  8441. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  8442. * Padding.cs: DataGridView implementation
  8443. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  8444. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  8445. * DataGridViewRowEventHandler.cs: DataGridView implementation
  8446. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  8447. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  8448. * DataGridViewButtonCell.cs: DataGridView implementation
  8449. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  8450. * DataGridViewEditMode.cs: DataGridView implementation
  8451. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  8452. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  8453. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  8454. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  8455. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  8456. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  8457. * DataGridViewCellEventHandler.cs: DataGridView implementation
  8458. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  8459. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  8460. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  8461. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  8462. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  8463. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  8464. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  8465. * QuestionEventArgs.cs: DataGridView implementation
  8466. * IDataGridViewEditingCell.cs: DataGridView implementation
  8467. * DataGridViewTriState.cs: DataGridView implementation
  8468. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  8469. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  8470. * DataGridViewColumnCollection.cs: DataGridView implementation
  8471. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  8472. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  8473. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  8474. * DataGridViewColumn.cs: DataGridView implementation
  8475. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  8476. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  8477. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  8478. * DataGridViewRow.cs: DataGridView implementation
  8479. * DataGridViewImageCellLayout.cs: DataGridView implementation
  8480. * DataGridViewImageCell.cs: DataGridView implementation
  8481. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  8482. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  8483. * DataGridViewHeaderCell.cs: DataGridView implementation
  8484. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  8485. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  8486. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  8487. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  8488. * QuestionEventHandler.cs: DataGridView implementation
  8489. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  8490. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  8491. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  8492. * DataGridViewCell.cs: DataGridView implementation
  8493. * DataGridViewCellEventArgs.cs: DataGridView implementation
  8494. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  8495. * DataGridViewCellStyle.cs: DataGridView implementation
  8496. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  8497. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  8498. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  8499. * TextFormatFlags.cs: DataGridView implementation
  8500. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  8501. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  8502. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  8503. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  8504. * DataGridViewButtonColumn.cs: DataGridView implementation
  8505. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  8506. * HandledMouseEventArgs.cs: DataGridView implementation
  8507. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  8508. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  8509. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  8510. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  8511. * DataGridViewRowCollection.cs: DataGridView implementation
  8512. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  8513. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  8514. * DataGridViewHitTestType.cs: DataGridView implementation
  8515. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  8516. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  8517. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  8518. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  8519. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  8520. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  8521. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  8522. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  8523. * DataGridViewContentAlignment.cs: DataGridView implementation
  8524. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  8525. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  8526. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  8527. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  8528. * DataGridViewPaintParts.cs: DataGridView implementation
  8529. * DataGridViewCellCollection.cs: DataGridView implementation
  8530. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  8531. * DataGridViewImageColumn.cs: DataGridView implementation
  8532. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  8533. * DataGridViewElementStates.cs: DataGridView implementation
  8534. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  8535. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  8536. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  8537. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  8538. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  8539. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  8540. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  8541. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  8542. * DataGridViewTextBoxCell.cs: DataGridView implementation
  8543. * DataGridViewBand.cs: DataGridView implementation
  8544. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  8545. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  8546. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  8547. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  8548. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  8549. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  8550. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  8551. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  8552. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  8553. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  8554. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  8555. 2005-11-08 Peter Dennis Bartok <[email protected]>
  8556. * ThemeWin32Classic.cs:
  8557. - Draw the outside focus rectangle around buttons
  8558. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  8559. doesn't use end caps for every dash of a line anymore. This
  8560. workaround ignores the forecolor.
  8561. 2005-11-08 Kornél Pál <[email protected]>
  8562. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  8563. endian safe.
  8564. 2005-11-07 Jackson Harper <[email protected]>
  8565. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  8566. 2005-11-07 Jackson Harper <[email protected]>
  8567. * ScrollableControl.cs: Calculate the maximum and change vars
  8568. (more) correctly so that scrollbars appear as a sensible size.
  8569. 2005-11-04 Jackson Harper <[email protected]>
  8570. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  8571. collection.
  8572. * TreeView.cs: When the tree is sorted null out the top_node so
  8573. that it is recalculated.
  8574. - Use dotted lines instead of dashed lines to match MS better.
  8575. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  8576. * ListView.cs:
  8577. - Implements key search for items. Useful when browsing files with FileDialog
  8578. - When changing view mode or when clear the items reset scrollbar positions
  8579. 2005-11-04 Jackson Harper <[email protected]>
  8580. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  8581. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  8582. as to what the method may do as there is no real way of creating a
  8583. derived CurrencyManager and calling the method.
  8584. 2005-11-03 Jackson Harper <[email protected]>
  8585. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  8586. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  8587. method which seems to just be used internally to refresh the tabs.
  8588. 2005-11-03 Jackson Harper <[email protected]>
  8589. * TabControl.cs: Implement the remove method. Fix some broken
  8590. comments.
  8591. 2005-11-03 Peter Dennis Bartok <[email protected]>
  8592. * DateTimePicker.cs:
  8593. - Added missing DateTimePickerAccessibleObject class
  8594. - Added missing events
  8595. - Added OnFontChanged method
  8596. * Form.cs: Added missing attributes
  8597. * TreeView.cs: Added missing attributes
  8598. 2005-11-03 Peter Dennis Bartok <[email protected]>
  8599. * GridItemCollection.cs: Fix signatures
  8600. 2005-11-03 Peter Dennis Bartok <[email protected]>
  8601. * XplatUI.cs: Updated build rev/date
  8602. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  8603. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  8604. * Application.cs: Trigger context-specific ExitThread events
  8605. 2005-11-03 Jackson Harper <[email protected]>
  8606. * Menu.cs:
  8607. * MainMenu.cs:
  8608. * GridTableStylesCollection.cs:
  8609. * Timer.cs:
  8610. * TabPage.cs:
  8611. * HelpProvider.cs:
  8612. * StatusBar.cs:
  8613. * MonthCalendar.cs: Signature fixes
  8614. 2005-11-03 Jackson Harper <[email protected]>
  8615. * TreeNodeCollection.cs: Remove should not be virtual.
  8616. * TreeView.cs: Implement the last of the missing methods.
  8617. 2005-11-03 Jackson Harper <[email protected]>
  8618. * TreeNodeConverter.cs: Implement to get off my class-status back.
  8619. 2005-11-03 Jackson Harper <[email protected]>
  8620. * TreeView.cs: Hookup the bits for drag and drop.
  8621. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  8622. that nodes can be moved from tree to tree easily this just causes
  8623. all sorts of problems.
  8624. * TreeNodeCollection: Don't need to give treenodes an index and
  8625. treeview anymore when they are added, these are computed on the
  8626. fly. Also make sure to remove a node before its added.
  8627. 2005-11-03 Peter Dennis Bartok <[email protected]>
  8628. * TextControl.cs:
  8629. - Added CaretSelection enum
  8630. - Added comparison methods to Marker struct, makes selection code
  8631. more readable
  8632. - Added SelectionStart and SelectionEnd as 'moveable' location for
  8633. the CaretDirection enum and handler
  8634. - Added selection_prev variable to track optimized invalidation for
  8635. word and line selection
  8636. - Added SelectionVisible property (returns true if there is a valid
  8637. selection)
  8638. - Switched CaretHasFocus to only display the caret if there is no
  8639. visible selection
  8640. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  8641. using the direct character index; should be much faster
  8642. - Added various conditional debug statements
  8643. - Fixed invalidation calculation for selection ranges
  8644. - Added ExpandSelection() method to support word and line selection
  8645. - Switched SetSelectionToCaret to use new Marker compare overloads
  8646. - Added central IsWordSeparator() method to determine word
  8647. separators/whitespace and FindWordSeparator() to streamline common
  8648. usage of IsWordSeparator()
  8649. * TextBoxBase.cs:
  8650. - Removed unneeded grabbed variable, it was just mirroring
  8651. Control.Capture
  8652. - No longer firing OnTextChanged event when Text setter is called,
  8653. since the base will fire the event for us
  8654. - Added handling of Ctrl-Up/Down selection
  8655. - Added handling of Shift-Cursorkey selection
  8656. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  8657. words
  8658. - Added handling of Shift and Ctrl-Shift-Home/End selection
  8659. - Removed some debug output
  8660. - Added handling for single/double/tripple-click to place caret/
  8661. select word/select line respectively (Fixes bug #76031)
  8662. - Added support for drag expansion of word/line selection
  8663. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  8664. current selection
  8665. 2005-11-02 Jackson Harper <[email protected]>
  8666. * X11Dnd.cs: If the drag is going to and from a MWF window just
  8667. copy the data instead of sending it out through the X Selection
  8668. mechanism.
  8669. 2005-11-02 Jackson Harper <[email protected]>
  8670. * X11Dnd.cs:
  8671. * XplatUIX11.cs: When in a drag we don't want motion notify
  8672. messages to get passed on to the other controls. This prevents
  8673. mouse move messages from showing up in the drag source.
  8674. 2005-11-02 Jackson Harper <[email protected]>
  8675. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  8676. the correct button is release to end a drag.
  8677. * XplatUIX11.cs: Make the button state internal so the drag system
  8678. can access it. Dragging needs to know about all button releases,
  8679. not just left button.
  8680. 2005-11-02 Miguel de Icaza <[email protected]>
  8681. * Form.cs (Icon): If the icon is null, reset the icon to the
  8682. default value.
  8683. * Cursor.cs: When writing the AND-mask bitmap do not include the
  8684. number of colors, but hardcode those to two (black and white),
  8685. fixes the loading of color cursors (Paint Dot Net).
  8686. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  8687. turn off autoscaling.
  8688. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  8689. 2005-11-02 Jackson Harper <[email protected]>
  8690. * X11Dnd.cs: Make sure to send a status message if the pointer
  8691. enters a control that can not accept a drop, otherwise the cursor
  8692. isn't updated correctly. Also tried to compress the lines of code
  8693. a bit.
  8694. 2005-11-02 Jackson Harper <[email protected]>
  8695. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  8696. set actions correctly. This isn't perfect as XDND and win32 have
  8697. some differences on how you allow actions. I'll clear this up by
  8698. adding a path for drag from MWF to MWF windows.
  8699. * XplatUIX11.cs: Hook into the dnd system.
  8700. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  8701. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  8702. previously shown but they are no longer need it. Very obvious when
  8703. browsing files with FileDialog.
  8704. 2005-11-01 Peter Dennis Bartok <[email protected]>
  8705. * Control.cs: We always need to call OnPaintBackground. We pretty much
  8706. ignore AllPaintingInWmPaint and always do the painting there, whether
  8707. it's set or not, since we always ignore the WM_ERASEBKGND message
  8708. (which we don't generate on X11). This fixes #76616.
  8709. * Panel.cs: Removed unneeded background painting. This happens properly
  8710. in Control.cs already
  8711. 2005-10-31 Mike Kestner <[email protected]>
  8712. * Menu.cs: Add items to collection before setting their index.
  8713. * MenuItem.cs : add range checking with ArgumentException like MS.
  8714. [Fixes #76510]
  8715. 2005-10-31 Jackson Harper <[email protected]>
  8716. * ListBox.cs: Invalidate if the area is visible at all not just
  8717. contained in the visible rect. Fixes unselection of semi visible
  8718. items.
  8719. 2005-10-31 Jackson Harper <[email protected]>
  8720. * Control.cs: Consistently name the dnd methods. Make them
  8721. internal so we can override them to match some MS behavoir
  8722. internally.
  8723. * Win32DnD.cs: Use the new consistent names.
  8724. 2005-10-31 Jackson Harper <[email protected]>
  8725. * TreeView.cs: Don't draw the selected node when we lose focus.
  8726. 2005-10-31 Jackson Harper <[email protected]>
  8727. * X11Dnd.cs: We still need to reset the state even though a full
  8728. reset isn't being done, otherwise status's still get sent all over
  8729. the place.
  8730. 2005-10-31 Jackson Harper <[email protected]>
  8731. * Control.cs: Make the dnd_aware flag internal so the dnd
  8732. subsystem can check it. Catch exceptions thrown in dnd handlers to
  8733. match MS behavoir.
  8734. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  8735. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  8736. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  8737. flags to reduce the number of dnd enters/status's sent.
  8738. 2005-10-31 Jackson Harper <[email protected]>
  8739. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  8740. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  8741. * PictureBox.cs: Fixes 76512
  8742. 2005-10-28 Jackson Harper <[email protected]>
  8743. * X11Dnd.cs: Early implementation to support winforms being a drag
  8744. source for data on X11. Also restructured the converters so they
  8745. can go both ways now.
  8746. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  8747. 2005-10-27 Peter Dennis Bartok <[email protected]>
  8748. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  8749. clipboard requests
  8750. 2005-10-27 Jackson Harper <[email protected]>
  8751. * TreeNode.cs: Implement serialization so my DnD examples will work.
  8752. 2005-10-24 Kornél Pál <[email protected]>
  8753. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  8754. TreeView.cs: Don't dispose objects that are not owned.
  8755. 2005-10-24 Peter Dennis Bartok <[email protected]>
  8756. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  8757. should retrieve the current cursor and report that, but XplatUI
  8758. doesn't (yet) have an interface for that (and I'm not sure I even
  8759. can, on X11)
  8760. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  8761. until any message loop processing is done (and the WM_SETCURSOR
  8762. replaces the cursor to the proper one)
  8763. * XplatUIX11.cs:
  8764. - Fixed override behaviour, we can't set the cursor globally on X11,
  8765. just for our windows.
  8766. - Invalidating the System.Drawing X11 display handle when we are
  8767. shutting down
  8768. * Control.cs: Fix to make csc happy
  8769. 2005-10-23 Peter Dennis Bartok <[email protected]>
  8770. * TextBoxBase.cs:
  8771. - get_Text: Add last line (without trailing newline) to returned
  8772. value (Fixes 76212)
  8773. - get_TextLength: Count last line in returned length
  8774. - ToString: Call Text property instead of duplicating code
  8775. 2005-10-23 Kornél Pál <[email protected]>
  8776. * ImageList.cs: Dispose ImageAttributes objects.
  8777. 2005-10-22 Kornél Pál <[email protected]>
  8778. * ImageList.cs: Use attribute constructors with less arguments where
  8779. possible.
  8780. 2005-10-22 Kornél Pál <[email protected]>
  8781. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  8782. Use typeof instead of strings when assembly is referenced. Added
  8783. some more comments.
  8784. 2005-10-21 Jackson Harper <[email protected]>
  8785. * ListView.cs: Raise a double click event. Also tried to somewhat
  8786. fix when the selectedindexchanged event is raised. Its still
  8787. broken though.
  8788. 2005-10-21 Jackson Harper <[email protected]>
  8789. * TreeView.cs: New method to invalidate the plus minus area of a
  8790. node without invalidating the whole node (maybe this can be used
  8791. in some more places).
  8792. * TreeNodeCollection.cs: When adding to an empty node we need to
  8793. invalidate its plus minus area so the little block shows up.
  8794. 2005-10-21 Jackson Harper <[email protected]>
  8795. * TreeView.cs: Make sure that when we invalidate a node the bounds
  8796. are big enough to cover the selected box and the focus
  8797. rectangle. Use a different colour for the lines connecting nodes
  8798. so they show up with all themes.
  8799. 2005-10-21 Peter Dennis Bartok <[email protected]>
  8800. * NativeWindow.cs: Don't call anything that could call into the driver,
  8801. we might be on a different thread.
  8802. 2005-10-21 Peter Dennis Bartok <[email protected]>
  8803. * Control.cs(Dispose): Since Dispose might run on a different thread,
  8804. make sure that we call methods that could call into the driver via
  8805. invoke, to avoid thread issues
  8806. 2005-10-21 Peter Dennis Bartok <[email protected]>
  8807. * XplatUI.cs: Removed finalizer
  8808. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  8809. not allowing to be called on the finalizer thread.
  8810. 2005-10-21 Kornél Pál <[email protected]>
  8811. * ImageList.cs:
  8812. - Reverted r51889 and r51891.
  8813. - Added ImageListItem class that stores unmodified image items and image
  8814. properties required to create list images until handle is created.
  8815. - Added AddItem and moved image creation logic to AddItemInternal.
  8816. - Added CreateHandle method that creates images based on unmodified items.
  8817. - Added DestroyHandle that changes state to store unmodified items.
  8818. - Add and AddStrip methods no more create handle.
  8819. - ReduceColorDepth has no return value.
  8820. - Dispose destroys handle.
  8821. - Modified other methods to reflect the above changes.
  8822. - Implemented key support.
  8823. - Added profile 2.0 members and attributes.
  8824. - Added private Reset and ShouldSerialize methods that provide the same
  8825. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  8826. them as they are private.
  8827. - Added some more comments about implementation details.
  8828. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  8829. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  8830. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  8831. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  8832. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  8833. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  8834. * DataGridColumnStyle.cs: Remove debug message
  8835. 2005-10-20 Jackson Harper <[email protected]>
  8836. * TreeView.cs: We can always get input keys regardless of whether
  8837. or not editing is enabled. They are used for navigation.
  8838. 2005-10-20 Jackson Harper <[email protected]>
  8839. * TreeNode.cs: Use the viewport rect for determining if a node
  8840. needs to be moved for visibility. Don't use Begin/End edit. This
  8841. calls a full refresh when its done.
  8842. * TreeView.cs: New SetBottom works correctly. Make the viewport
  8843. rect property internal so the treenodes can see it. When clicking
  8844. on a node we need to ensure that its visible because it might just
  8845. be partly visible when clicked.
  8846. 2005-10-20 Jackson Harper <[email protected]>
  8847. * TreeNodeCollection.cs: Remove debug code.
  8848. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  8849. * Datagrid.cs: Implements column sorting in Datagrid
  8850. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  8851. 2005-10-20 Jackson Harper <[email protected]>
  8852. * TreeNodeCollection.cs: Remove items properly. Update the correct
  8853. area after removing them.
  8854. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  8855. * Datagrid.cs: Should not call base.OnPaintBackground
  8856. 2005-10-20 Peter Dennis Bartok <[email protected]>
  8857. * XplatUIX11.cs (GetMessage):
  8858. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  8859. window instead of client window
  8860. - Now properly calculates NC_xBUTTONUP message coordinates
  8861. - ScreenToMenu now properly calculates it's coordinates of whole
  8862. window, since menus are in the whole window, not in the client
  8863. window
  8864. - Added WholeToScreen coordinate translation method
  8865. 2005-10-20 Peter Dennis Bartok <[email protected]>
  8866. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  8867. want to return a message, loop back to the beginning of the function
  8868. and grab the next real message to process instead.
  8869. 2005-10-20 Peter Dennis Bartok <[email protected]>
  8870. * Splitter.cs: Properly set limits if no filler control is used
  8871. 2005-10-19 Jackson Harper <[email protected]>
  8872. * ColorDialog.cs: Don't show the help button if it is not enabled
  8873. instead of disabling it (this is what MS does). Don't create the
  8874. panel until the dialog is run, otherwise the vars (such as
  8875. ShowHelp) are not set yet.
  8876. 2005-10-19 Jackson Harper <[email protected]>
  8877. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  8878. are reduced when adding nodes.
  8879. * TreeNode.cs:
  8880. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  8881. tree.
  8882. 2005-10-19 Jackson Harper <[email protected]>
  8883. * FolderBrowserDialog.cs: End editing our treeview so the window
  8884. actually gets refreshed.
  8885. 2005-10-18 Peter Dennis Bartok <[email protected]>
  8886. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  8887. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  8888. inside of WM_PAINT
  8889. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  8890. * MenuAPI.cs: Returns after Hidding window
  8891. * XplatUIX11.cs: Added TODO found while debugging menu issues
  8892. 2005-10-18 Peter Dennis Bartok <[email protected]>
  8893. * XplatUIX11.cs: Do not re-map the whole window when it's size
  8894. becomes non-zero unless it's supposed to be actually visible
  8895. 2005-10-18 Jackson Harper <[email protected]>
  8896. * TreeView.cs: We don't need to keep a count anymore.
  8897. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  8898. use the Grow method.
  8899. 2005-10-18 Jackson Harper <[email protected]>
  8900. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  8901. implement it manually here.
  8902. 2005-10-18 Jackson Harper <[email protected]>
  8903. * ImageList.cs: Dont kill the list when the colour depth is
  8904. changed, just change the colour depth of all the images.
  8905. - Same goes for setting the image size. Just resize them all
  8906. instead of killing the list softly.
  8907. 2005-10-18 Jackson Harper <[email protected]>
  8908. * Control.cs: Don't invalidate empty rectangles.
  8909. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  8910. * ListViewItem.cs:
  8911. - Adds checked item to the Checked/Item lists (where empty before)
  8912. - Do not add items to the Selected lists if they are already present
  8913. * ListView.cs:
  8914. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  8915. - When deleting items make sure that we delete them for the Selected
  8916. and Checked list also.
  8917. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  8918. * Label.cs: Dispose objects no longer used
  8919. * ThemeWin32Classic.cs: Dispose objects no longer used
  8920. 2005-10-18 Jackson Harper <[email protected]>
  8921. * TabControl.cs: Don't refresh the whole control when the tabs are
  8922. scrolled, we just need to refresh the tab area.
  8923. 2005-10-17 Jackson Harper <[email protected]>
  8924. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  8925. after handle when we need it.
  8926. 2005-10-17 Peter Dennis Bartok <[email protected]>
  8927. * Control.cs: When the parent size changes, recalculate anchor
  8928. positions. Partial fix for #76462
  8929. 2005-10-17 Peter Dennis Bartok <[email protected]>
  8930. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  8931. drawn. Fixes #76462
  8932. 2005-10-17 Jackson Harper <[email protected]>
  8933. * MonthCalendar.cs: Don't create the numeric up down until our
  8934. handle is created. Otherwise our handle is created in the
  8935. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  8936. yet.
  8937. 2005-10-17 Jackson Harper <[email protected]>
  8938. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  8939. correctly.
  8940. 2005-10-17 Rafael Teixeira <[email protected]>
  8941. * TreeNode.cs : small logical fix (was using local var instead of field)
  8942. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  8943. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  8944. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  8945. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  8946. 2005-10-16 Peter Dennis Bartok <[email protected]>
  8947. * Control.cs:
  8948. - Re-implemented anchoring code. My first version was really broken.
  8949. This fixes bug #76033. Unlike the previous implementation we will
  8950. no longer have round errors since all numbers are calculated from
  8951. scratch every time. Removed various anchor-related obsolete vars.
  8952. - InitLayout no longer causes layout event firing and layout to be
  8953. performed
  8954. 2005-10-16 Jackson Harper <[email protected]>
  8955. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  8956. which was broken).
  8957. 2005-10-16 Jackson Harper <[email protected]>
  8958. * TabControl.cs: Remove debug code.
  8959. 2005-10-16 Jackson Harper <[email protected]>
  8960. * XEventQueue.cs: Increase the default queue size (very simple
  8961. apps needed to grow the queue).
  8962. * Hwnd.cs: No finalizer so we don't need to suppress
  8963. finalization. Compute the invalid area manually so a new rectangle
  8964. does not newto be created.
  8965. * ScrollableControl.cs: Don't set any params (otherwise visibility
  8966. isn't set correctly).
  8967. * MdiChildContext.cs: New constructor takes the mdi parent so it
  8968. doesn't have to be computed and avoids a crash on windows. Draw
  8969. the window icon properly, and allow the text to be seen.
  8970. * Form.cs: Use new MdiChildContext constructor. Make sure the
  8971. child context isn't null in wndproc.
  8972. * TabControl.cs: Don't set focus, this is muddling keyboard
  8973. behavoir. Expand the tab rows when a window size increase will
  8974. allow extra tabs to be seen. Don't allow tabs smaller than the
  8975. width of a window to be scrolled out of view.
  8976. * TreeNode.cs:
  8977. * TreeView.cs: Use measure string to calculate a nodes width, the
  8978. width is cached and only updated when the text or the font is
  8979. changed. Don't check for expand/collapse clicks on the first level
  8980. nodes if root lines are disabled.
  8981. 2005-10-16 Ritvik Mayank <[email protected]>
  8982. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  8983. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  8984. * DataGridBoolColumn.cs: fixes warning
  8985. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  8986. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  8987. to match more to match more precisely the MS Net behavior
  8988. 2005-10-13 Peter Dennis Bartok <[email protected]>
  8989. * Hwnd.cs: Added field to track if window is mapped
  8990. * XplatUIX11.cs:
  8991. - Unmap windows if they become 0-size, re-map when
  8992. they are >0 again; fixes #76035
  8993. - Re-set our error handler after initializing X11Desktop
  8994. to override any error handlers Gtk or whatever was called
  8995. may have set.
  8996. 2005-10-13 Peter Dennis Bartok <[email protected]>
  8997. * CheckedListBox.cs: Removed unused vars
  8998. * ListView.cs: Fixed signatures
  8999. * RichTextBox.cs: Removed unused vars
  9000. * TextBoxBase.cs: Removed unused vars
  9001. * XplatUIWin32.cs: Removed unused vars
  9002. * XplatUIX11.cs: Removed unused vars
  9003. * XplatUI.cs: Updated version and date to latest published
  9004. 2005-10-13 Peter Dennis Bartok <[email protected]>
  9005. * Cursor.cs: Added private .ctor to work around a bug in
  9006. resourceset (Thanks to Geoff Norton for the help on this)
  9007. * SplitterEventArgs.cs: Made fields accessible so we don't
  9008. waste boatloads of objects and can reuse the same one
  9009. in Splitter
  9010. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  9011. any captions and borders when generating screen coordinates
  9012. * Splitter.cs: Reimplemented control, now fully complete, uses
  9013. rubberband drawing, supports and obeys all properties, has
  9014. proper cursors
  9015. 2005-10-13 Miguel de Icaza <[email protected]>
  9016. * Form.cs (Form): Setup default values for autoscale and
  9017. autoscale_base_size; Make these instance variables, not static
  9018. variables.
  9019. (OnLoad): on the first load, adjust the size of the form.
  9020. 2005-10-13 Peter Dennis Bartok <[email protected]>
  9021. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  9022. width argument to DrawReversibleRectangle()
  9023. * XplatUIWin32.cs, XplatUIX11.cs:
  9024. - Implemented width for DrawReversibleRectangle()
  9025. - Added logic to DrawReversibleRectangle that recognizes a zero
  9026. width or height and only draws a line in that situation
  9027. 2005-10-12 Peter Dennis Bartok <[email protected]>
  9028. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  9029. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  9030. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  9031. method (it uses our FosterParent window to get a graphics context)
  9032. 2005-10-12 Peter Dennis Bartok <[email protected]>
  9033. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  9034. and SetWindowBackground methods
  9035. * Control.cs:
  9036. - Setting proper ControlStyles
  9037. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  9038. EraseWindowBackground, instead we draw the window background
  9039. ourselves in PaintControlBackground. This behaviour is
  9040. required to match MS, where, when OnPaintBackground is not
  9041. called, the background is not drawn.
  9042. - Removed unneeded Refresh() in set_Text
  9043. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  9044. * XplatUIX11.cs:
  9045. - Created DeriveStyles method to translate from CreateParams to
  9046. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  9047. matches FormBorderStyle enum values)
  9048. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  9049. style calculations into single DeriveStyles method
  9050. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  9051. from redrawing the whole window on any resize or expose.
  9052. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  9053. all styles were applied to our whole/client window appropriately
  9054. - Removed EraseWindowBackground() and SetWindowBackground() methods
  9055. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  9056. no longer clear/redraw the background through X
  9057. - Removed handling of erase_pending bit, we have no use for it (or
  9058. so it seems)
  9059. * XplatUIOSX.cs:
  9060. - Removed generation and handling of WM_ERASEBKGND message
  9061. - Removed EraseWindowBackground() and SetWindowBackground() methods
  9062. - Removed handling of hwnd.ErasePending flag
  9063. * XplatUIWin32.cs:
  9064. - Removed EraseWindowBackground() and SetWindowBackground() methods
  9065. - We no longer call EraseWindowBackground on PaintEventStart, we
  9066. ignore the fErase flag, erasing is handled in Control in the
  9067. background handler
  9068. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  9069. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  9070. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  9071. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  9072. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  9073. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  9074. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  9075. 2005-10-12 Jonathan Chambers <[email protected]>
  9076. * PropertyGrids.cs: Get sub properties
  9077. * PropertyGridView.cs: Fix drawing code
  9078. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  9079. * ListBox.cs: Fixes 76383
  9080. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  9081. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  9082. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  9083. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  9084. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  9085. * ComboBox.cs: Fixes border drawing
  9086. 2005-10-10 Miguel de Icaza <[email protected]>
  9087. * MimeIcon.cs: Ignore errors if the file can not be read.
  9088. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  9089. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  9090. - Fixed border calculations
  9091. - Fixed horizontal scrolling in single column listboxes
  9092. - Fixed drawing issues
  9093. 2005-10-10 Peter Dennis Bartok <[email protected]>
  9094. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  9095. FormBorderStyle enum
  9096. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  9097. code to determine FormBorderStyles from CreateParams
  9098. * Form.cs:
  9099. - Fixed bug where we'd set the wrong window styles if we were
  9100. not creating an MDI window
  9101. - Added call to XplatUI.SetBorderStyle when form borders are set
  9102. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  9103. * Hwnd.cs:
  9104. - Removed obsolete edge style
  9105. - Switched from BorderStyle to FormBorderStyle
  9106. 2005-10-10 Jackson Harper <[email protected]>
  9107. * Form.cs: Use the property to get the window handle instead of
  9108. accessing it directly. Prevents a null reference exception.
  9109. 2005-10-10 Jackson Harper <[email protected]>
  9110. * TreeView.cs: Don't adjust the rect given to DrawString now that
  9111. our libgdiplus draws correctly.
  9112. 2005-10-08 Jackson Harper <[email protected]>
  9113. * TreeView.cs: Don't try to find the clicked on node if there are
  9114. no nodes in the tree.
  9115. 2005-10-08 Alexander Olk <[email protected]>
  9116. * RichTextBox.cs:
  9117. restore
  9118. 2005-10-08 Alexander Olk <[email protected]>
  9119. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  9120. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  9121. ErrorProvider.cs:
  9122. Use ResPool for brushes and dispose System.Drawing objects that
  9123. are not used anymore.
  9124. 2005-10-07 Jackson Harper <[email protected]>
  9125. * MdiChildContext.cs: Use the new borders instead of drawing them
  9126. ourselves.
  9127. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  9128. * Calling UpdateBounds after changing the window's BorderStyle
  9129. since the style can change the ClientSize
  9130. 2005-10-06 Peter Dennis Bartok <[email protected]>
  9131. * Control.cs: Made PaintControlBackground virtual
  9132. * Panel.cs: Overriding PaintControlBackground instead of using paint
  9133. event; paint event method was interfering with 'real' users of the
  9134. event.
  9135. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  9136. * ThemeWin32Classic.cs: remove border drawing since it is handled
  9137. by the base control class now and was causing double border drawing.
  9138. 2005-10-06 Peter Dennis Bartok <[email protected]>
  9139. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  9140. but it does seem to match MS behaviour. This fixes bug #75324
  9141. 2005-10-06 Peter Dennis Bartok <[email protected]>
  9142. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  9143. somewhat hackish looking
  9144. 2005-10-06 Peter Dennis Bartok <[email protected]>
  9145. * TextBoxBase.cs:
  9146. - We now accept Enter even if AcceptEnter is false, if the containing
  9147. form does not have an AcceptButton configured (fixes bug #76355)
  9148. - Calculations are now fixed to no longer use Width/Height, but
  9149. ClientSize.Width/Height, since we now support borders (this was
  9150. a result of fixing borders and therefore bug #76166)
  9151. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  9152. true (fixes bug #76354)
  9153. 2005-10-06 Peter Dennis Bartok <[email protected]>
  9154. * Control.cs:
  9155. - Defaulting BorderStyle and setting it in XplatUI when our window
  9156. is created
  9157. - Added enum check to InternalBorderStyle setter
  9158. * XplatUIX11.cs:
  9159. - Added drawing of window borders
  9160. - Now properly calculates WM decorations offset for toplevel
  9161. windows (fixes bug #74763)
  9162. * XplatUIWin32.cs:
  9163. - Implemented BorderStyles for windows (we're letting win32 draw
  9164. the border for us)
  9165. - Fixed the signature for SetWindowLong
  9166. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  9167. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  9168. setting borders
  9169. * UpDownBase.cs: Remove drawing of borders, this is handled by
  9170. the driver, outside the client area
  9171. * ListView.cs: Removed bogus border calculations. The control should
  9172. be oblivious to borders, since those are not part of the client
  9173. area.
  9174. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  9175. * ThemeWin32Classic.cs: Removed border calculations from ListView
  9176. drawing code
  9177. 2005-10-06 Jackson Harper <[email protected]>
  9178. * MdiChildContext.cs: Clear out the old virtual position remove
  9179. all the unneeded calls to CreateGraphics.
  9180. 2005-10-06 Peter Dennis Bartok <[email protected]>
  9181. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  9182. 2005-10-06 Peter Dennis Bartok <[email protected]>
  9183. * Form.cs:
  9184. - Added loading and setting of our new default icon
  9185. - Only set icon if window is already created
  9186. 2005-10-06 Peter Dennis Bartok <[email protected]>
  9187. * Label.cs:
  9188. - Do not explicitly set the foreground and background colors, to
  9189. allow inheriting from parents (fixes #76302)
  9190. - Use Control's InternalBorderStyle property to deal with borders
  9191. 2005-10-06 Jackson Harper <[email protected]>
  9192. * MdiChildContext.cs: Use the new xplatui function to draw a
  9193. reversible rect.
  9194. 2005-10-06 Jackson Harper <[email protected]>
  9195. * Form.cs: Add the parent before creating the child context cause
  9196. we need the parent when setting up the child.
  9197. 2005-10-06 Jackson Harper <[email protected]>
  9198. * FolderBrowserDialog.cs: redo the tree population code so a
  9199. second thread isn't used. Should be a lot faster and more stable
  9200. now.
  9201. 2005-10-05 Jackson Harper <[email protected]>
  9202. * TreeView.cs: There are no expand/collapse boxes if the node has
  9203. no children.
  9204. 2005-10-05 Jackson Harper <[email protected]>
  9205. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  9206. 2005-10-05 Alexander Olk <[email protected]>
  9207. * FileDialog.cs: Fix InitialDirectory
  9208. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  9209. * ComboBox.cs:
  9210. - Fixes changing between styles
  9211. - Fixes simple mode
  9212. - Fixes last item crashing when navigating with keyboard
  9213. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  9214. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  9215. 2005-10-05 Jackson Harper <[email protected]>
  9216. * TreeView.cs: If updating the root node do a full refresh.
  9217. * TreeNode.cs: The root node should be expanded by default. Also
  9218. added a utility prop to tell if we are the root node.
  9219. * TreeNodeCollection.cs: Only refresh if the node we are being
  9220. added to is expanded. Also added a comment on a potential
  9221. optimization.
  9222. 2005-10-04 Peter Dennis Bartok <[email protected]>
  9223. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  9224. in dispose method. Fixes #76330
  9225. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  9226. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  9227. - Implements vertical and horizontal scrolling using XplatUI
  9228. - Fixes keyboard navagation
  9229. - Fixes EnsureVisible
  9230. - Drawing fixes
  9231. - Handles and draws focus properly
  9232. 2005-10-04 Kornél Pál <[email protected]>
  9233. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  9234. Create handle. NET_2_0: Destroy handle when value is null.
  9235. 2005-10-03 Jackson Harper <[email protected]>
  9236. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  9237. revert and a new patch to prevent the thumb from refreshing so
  9238. much.
  9239. 2005-10-02 Jackson Harper <[email protected]>
  9240. * ScrollBar.cs: Don't update position if it hasn't actually
  9241. changed. This occurs when you hold down the increment/decrement
  9242. buttons and the thumb gets to the max/min.
  9243. 2005-10-01 Jackson Harper <[email protected]>
  9244. * Form.cs:
  9245. * MdiChildContext.cs:
  9246. * MdiClient.cs: Implement ActiveMdiChild in Form.
  9247. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  9248. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  9249. 2005-10-01 Peter Dennis Bartok <[email protected]>
  9250. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  9251. be found
  9252. 2005-09-30 Jackson Harper <[email protected]>
  9253. * ListBox.cs: Don't do a full refresh unless some data has
  9254. actually changed.
  9255. 2005-09-30 Jackson Harper <[email protected]>
  9256. * TreeView.cs: Make sure that the checkboxes size is factored in
  9257. even when not visible.
  9258. 2005-09-30 Peter Dennis Bartok <[email protected]>
  9259. * FileDialog.cs: Fix Jordi's build break
  9260. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  9261. * FileDialog.cs:
  9262. - Use standard the Windows colours for the combobox as espected
  9263. - Dispose objects that use resouces when no longer need them
  9264. 2005-09-30 Peter Dennis Bartok <[email protected]>
  9265. * X11DesktopColors.cs: Initial incomplete implementation
  9266. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  9267. 2005-09-30 Peter Dennis Bartok <[email protected]>
  9268. * Theme.cs:
  9269. - Switched Theme color names to match the names defined in
  9270. System.Drawing.KnownColors. Life's hard enough, no need to make
  9271. it harder.
  9272. - Added setters to all theme color properties so themes can set
  9273. their color schemes. The setters also propagate the color changes
  9274. to System.Drawing.KnownColors via reflection
  9275. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  9276. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  9277. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  9278. use the new, more logical theme color names
  9279. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  9280. post-NT colors
  9281. * ThemeWin32Classic.cs:
  9282. - Removed code to set the old classic Windows colors. Instead it
  9283. now relies on the colors returned by System.Drawing.KnownColors
  9284. which will be either modern static colors (Unix) or colors
  9285. read from the user's configuration (Win32)
  9286. - Updated to use the new, more logical theme color names
  9287. - Switched DataGrid drawing code to use only Theme colors instead of
  9288. a mix of System.Drawing.KnownColors and Theme colors
  9289. - DrawFrameControl(): Removed code that fills the button area, the
  9290. fill would overwrite any previous fill done by a control. This
  9291. fixes bug #75338
  9292. - Added DrawReversibleRectangle() stub
  9293. * ScrollableControl.cs: Set visible state to false when scrollbars
  9294. are removed (pdn fix)
  9295. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  9296. DrawReversibleRectangle() method to allow drawing primitive
  9297. 'rubber bands'
  9298. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  9299. 2005-09-30 Kornél Pál <[email protected]>
  9300. * ImageList.cs: Add(Icon): Create handle.
  9301. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  9302. * ListView.cs:
  9303. * ThemeWin32Classic.cs:
  9304. - Fixes detail mode
  9305. - Sets clippings
  9306. - Issues with drawing
  9307. 2005-09-30 Kornél Pál <[email protected]>
  9308. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  9309. source has to be the ImageList.
  9310. 2005-09-30 Kornél Pál <[email protected]>
  9311. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  9312. 2005-09-30 Kornél Pál <[email protected]>
  9313. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  9314. 2005-09-30 Kornél Pál <[email protected]>
  9315. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  9316. 2005-09-29 Jonathan Chambers <[email protected]>
  9317. * GridItem.cs: Fixed TODOs
  9318. * GridItemCollection.cs: Added ICollection interface
  9319. 2005-09-30 Kornél Pál <[email protected]>
  9320. * ImageList.cs: Resize icons when needed.
  9321. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  9322. * ListViewItem.cs
  9323. - Fixes GetBounds and returns on screen rects
  9324. * ListView.cs:
  9325. - Fixes vertical and horzintal scrolling of items
  9326. * ThemeWin32Classic.cs:
  9327. - Fixes drawing
  9328. 2005-09-29 Raja R Harinath <[email protected]>
  9329. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  9330. 2005-09-29 Kornél Pál <[email protected]>
  9331. * ImageList.cs: Added comments about handle creation. Moved Handle,
  9332. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  9333. Handle is created in Add methods.
  9334. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  9335. * DataGridDrawingLogic.cs:
  9336. - Takes rows into account on Colum calculations
  9337. - Returns the column when clickig
  9338. * DataGrid.cs:
  9339. - Fixes default HitTestInfo values
  9340. - Fixes HitTestInfo.ToString
  9341. - Fixes ResetBackColor
  9342. 2005-09-28 Jackson Harper <[email protected]>
  9343. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  9344. sizing or cursor changes). Also added some temp code to draw the
  9345. titlebars text (Makes dev a little easier).
  9346. 2005-09-28 Kornél Pál <[email protected]>
  9347. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  9348. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  9349. * ListBox.cs: Fixes bug 76253
  9350. 2005-09-28 Kornél Pál <[email protected]>
  9351. * ImageList.cs: Added comments about the current implementation. Added
  9352. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  9353. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  9354. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  9355. with Bitmap.LockBits for better performance. Revised the whole file to
  9356. match MS.NET behaviour and provide better performance. Non-public
  9357. interface members are calling public members even when they throw
  9358. NotSupportedException for better maintainability. Moved ColorDepth,
  9359. ImageSize, ImageStream and TransparentColor implementations to
  9360. ImageCollection for better performance as these properties are not used
  9361. by ImageList.
  9362. * ImageListStreamer.cs: Added a new internal constructor that takes an
  9363. ImageList.ImageCollection and serializes Images based on
  9364. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  9365. match ImageList property name.
  9366. 2005-09-28 Kazuki Oikawa <[email protected]>
  9367. * ListBox.cs: Fixes IndexFromPoint for last item
  9368. 2005-09-27 Jackson Harper <[email protected]>
  9369. * Form.cs: Set the position of new mdi children correctly.
  9370. 2005-09-27 Jackson Harper <[email protected]>
  9371. * MdiClient.cs: New mdi children need to be added to the back of
  9372. the controls collection so the zorder is set correctly. Also add a
  9373. count of all the child windows that have been created.
  9374. 2005-09-27 Jackson Harper <[email protected]>
  9375. * Form.cs (CreateParams): Setup MDI forms correctly.
  9376. 2005-09-27 Jackson Harper <[email protected]>
  9377. * MdiChildContext.cs:
  9378. * MonthCalendar.cs:
  9379. * UpDownBase.cs:
  9380. * ListBox.cs:
  9381. * ListView.cs:
  9382. * TextBoxBase.cs:
  9383. * TreeView.cs:
  9384. * ScrollableControl.cs:
  9385. * ComboBox.cs: Add implicit controls using the new implict control
  9386. functionality in ControlCollection. Also try to block multiple
  9387. control add in a suspend/resume layout to save some cycles.
  9388. 2005-09-27 Jackson Harper <[email protected]>
  9389. * Control.cs: Add functionality to the controls collection to add
  9390. 'implicit controls' these are controls that are created by the
  9391. containing control but should not be exposed to the user. Such as
  9392. scrollbars in the treeview.
  9393. * Form.cs: The list var of the ControlsCollection is no longer
  9394. available because of the potential of implicit controls getting
  9395. ignored by someone accessing the list directly.
  9396. 2005-09-26 Peter Dennis Bartok <[email protected]>
  9397. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  9398. loose it's parent. (Fixed bug introduced in r49103 when we added
  9399. setting the child parent to null on Remove)
  9400. 2005-09-26 Gert Driesen <[email protected]>
  9401. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  9402. * Splitter.cs: Added missing attributes for BorderStyle property.
  9403. * TextBoxBase.cs: Marked Calculate* methods internal.
  9404. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  9405. MS.NET.
  9406. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  9407. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  9408. 2005-09-25 Jackson Harper <[email protected]>
  9409. * TreeView.cs: Update the node bounds correctly regardless of
  9410. whether the node is visible.
  9411. 2005-09-25 Jackson Harper <[email protected]>
  9412. * ImageList.cs: Don't dispose the image after it is added to the
  9413. image list. Only reformat images that need to be resized.
  9414. 2005-09-25 Jackson Harper <[email protected]>
  9415. * ImageList.cs: Don't set the format when changing the image.
  9416. 2005-09-25 Jackson Harper <[email protected]>
  9417. * TreeView.cs: We can't just assume the node has a font. Use the
  9418. treeviews font if no node font is available.
  9419. 2005-09-25 Jackson Harper <[email protected]>
  9420. * TreeView.cs: Allow the scrollbars to be reset with negative
  9421. values.
  9422. - Don't add scrollbars to negative sized windows.
  9423. 2005-09-23 Jackson Harper <[email protected]>
  9424. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  9425. old Mono.Posix. Also remove some stray code that shouldn't have
  9426. been committed.
  9427. 2005-09-23 Jackson Harper <[email protected]>
  9428. * TreeView.cs: Attempt at proper sizing of the horizontal
  9429. scrollbar. Also don't resize the scrollbars unless they are
  9430. visible.
  9431. 2005-09-23 Jackson Harper <[email protected]>
  9432. * TreeView.cs: We don't need to expand the invalid area when the
  9433. selection changes, as this is all drawn in the node's bounding
  9434. box. The area needs to be expanded (previous typo was contracting
  9435. it) when the focus rect moves.
  9436. 2005-09-23 Jackson Harper <[email protected]>
  9437. * TreeView.cs: Display the selection box under the correct
  9438. circumstances. We were rendering white text with no selection box
  9439. before.
  9440. 2005-09-23 Peter Dennis Bartok <[email protected]>
  9441. * TextControl.cs(Split): Now updates selection start/end if it points
  9442. into a line that's being split. Fixes a FIXME and bug #75258
  9443. 2005-09-23 Jackson Harper <[email protected]>
  9444. * Binding.cs:
  9445. * ListControl.cs: Don't use the path when retrieving binding
  9446. managers from the binding context. My bat sense tells me that the
  9447. path is only used on insertion.
  9448. 2005-09-22 Jackson Harper <[email protected]>
  9449. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  9450. 2005-09-22 Jackson Harper <[email protected]>
  9451. * Splitter.cs: There are special cursors used for splitting.
  9452. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  9453. 2005-09-22 Jackson Harper <[email protected]>
  9454. * Splitter.cs: Change the cursor appropriately when the splitter
  9455. is moused over, so the user actually knows there is a splitter
  9456. there.
  9457. 2005-09-22 Hisham Mardam Bey <[email protected]>
  9458. * Label.cs : Fix ToString method to give same output as MS.NET
  9459. 2005-09-22 Jackson Harper <[email protected]>
  9460. * TreeView.cs: Create the scrollbars when the handle is created
  9461. and add them right away, just make them invisble. Also account for
  9462. the window being shrunk vertically to the point that the vert
  9463. scrollbar needs to be added.
  9464. - Remove some 0.5 adjustments to get around anti aliasing issues.
  9465. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  9466. * MainMenu.cs: Fixes default value
  9467. * MenuItem.cs: Fixes default value
  9468. 2005-09-22 Kazuki Oikawa <[email protected]>
  9469. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  9470. 2005-09-21 Jackson Harper <[email protected]>
  9471. * Control.cs: Don't try to set the border style on the window if
  9472. it hasn't been created. When the window is created the border
  9473. style will be used.
  9474. 2005-09-21 Peter Dennis Bartok <[email protected]>
  9475. * Control.cs (Update): Don't call XplatUI if we don't have a
  9476. window handle yet
  9477. 2005-09-21 Peter Dennis Bartok <[email protected]>
  9478. * ContainerControl.cs: Instead of throwing an exception, print
  9479. a one-time warning about Validate not being implemented
  9480. * XplatUIWin32.cs: Removed debug output
  9481. 2005-09-21 Peter Dennis Bartok <[email protected]>
  9482. * Control.cs: Only set XplatUI background if we expect the windowing
  9483. system to handle the background. This stops controls that draw their
  9484. own background from flickering
  9485. * XplatUIX11.cs: Support custom visuals and colormaps for window
  9486. creation. This allows, amongst other things, using MWF X11 windows
  9487. with OpenGL.
  9488. 2005-09-21 Peter Dennis Bartok <[email protected]>
  9489. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  9490. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  9491. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  9492. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  9493. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  9494. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  9495. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  9496. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  9497. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  9498. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  9499. GridColumnStylesCollection.cs,
  9500. IDataGridColumnStyleEditingNotificationService.cs,
  9501. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  9502. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  9503. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  9504. TreeNodeCollection.cs, AmbientProperties.cs,
  9505. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  9506. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  9507. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  9508. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  9509. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  9510. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  9511. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  9512. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  9513. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  9514. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  9515. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  9516. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  9517. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  9518. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  9519. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  9520. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  9521. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  9522. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  9523. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  9524. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  9525. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  9526. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  9527. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  9528. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  9529. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  9530. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  9531. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  9532. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  9533. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  9534. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  9535. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  9536. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  9537. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  9538. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  9539. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  9540. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  9541. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  9542. 2005-09-21 Jackson Harper <[email protected]>
  9543. * TreeNode.cs: Call Before/After Expand not Collapse when
  9544. expanding.
  9545. 2005-09-20 Jackson Harper <[email protected]>
  9546. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  9547. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  9548. * ListViewItem.cs:
  9549. - Fixes bug 76120
  9550. - Fixes proper storing of subitems
  9551. - Fixes not updated items
  9552. 2005-09-20 Peter Dennis Bartok <[email protected]>
  9553. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  9554. things if our window handle isn't created yet. Also disabled
  9555. debug for TextBoxBase
  9556. 2005-09-20 Peter Dennis Bartok <[email protected]>
  9557. * MenuAPI.cs: Remove filtering of events to allow menu usage
  9558. 2005-09-20 Miguel de Icaza <[email protected]>
  9559. * Cursor.cs: Allow null to be passed to Cursor.Current.
  9560. 2005-09-20 Alexander Olk <[email protected]>
  9561. * ThemeWin32Classic.cs:
  9562. - Change some private methods/fields to protected virtual so that
  9563. they can be accessed and overriden in derived classes
  9564. - First refactoring of some methods. Derived themes now don't
  9565. need to duplicate the complete code from ThemeWin32Classic
  9566. * ThemeNice.cs:
  9567. - Added nice StatusBar
  9568. - Derive from ThemeWin32Classic and not Theme
  9569. - Removed duplicate ThemeWin32Classic code
  9570. 2005-09-20 Miguel de Icaza <[email protected]>
  9571. * Control.cs (ControlCollection.Add): If the value null is passed
  9572. the control is ignored.
  9573. Optimize this loop.
  9574. 2005-09-19 Peter Dennis Bartok <[email protected]>
  9575. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  9576. PostQuitMessage state.
  9577. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  9578. 2005-09-19 Peter Dennis Bartok <[email protected]>
  9579. * Application.cs: Our constructor will never get called, move
  9580. initialization to fields; fixes bug #75933
  9581. 2005-09-19 Hisham Mardam Bey <[email protected]>
  9582. * FileDialog.cs :
  9583. - Allow files to be selected properly using file name
  9584. combo box.
  9585. - Add ability to change diretory (absolute / relative)
  9586. using file name combo box.
  9587. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  9588. * ListBox.cs:
  9589. - Fixes Multicolumn listboxes item wrong calculations
  9590. - Allows to click when only one item is in the listbox
  9591. - Fixes crash when no items using keyboard navigation
  9592. 2005-09-16 Alexander Olk <[email protected]>
  9593. * ComboBox.cs: Reverted almost everything from the latest patch which
  9594. broke ComboBox
  9595. 2005-09-16 Kazuki Oikawa <[email protected]>
  9596. * ToolTip.cs:
  9597. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  9598. * ComboBox.cs:
  9599. - When DropDownStyle is Simple, it does not show scrollbar
  9600. to the last item of the list.
  9601. - When DropDownStyle is Simple, it crashed when the list was
  9602. scrolled down with the down cursor key.
  9603. - Fixed a bug that when DropDownStyle is DropDownList, the
  9604. selected item was not shown.
  9605. - The position of the selected item was not preserved when
  9606. the next dropdown happened.
  9607. * ThemeWin32Classic.cs:
  9608. - Items were wrapped at the right end.
  9609. * CheckedListBox.cs:
  9610. - Fixed Add method
  9611. * ListBox.cs:
  9612. - Items should be fully shown.
  9613. - When resizing and vertical scrollbar disappeared, the item
  9614. of index 0 should be on the top of the list.
  9615. - GetItemRectangle should consider the size of ver. scrollbar
  9616. * StatusBar.cs:
  9617. - SizingGrip area should not be allocated when it is not
  9618. displayed.
  9619. - Now it reflects MinWidth of the containing panel and
  9620. fixed a crash that happens when its width becomes so small.
  9621. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  9622. * CheckedListBox.cs: Fixes bug 76028
  9623. * ListBox.cs: Fixes bug 76028
  9624. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  9625. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  9626. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  9627. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  9628. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  9629. 2005-09-09 Jonathan Chambers <[email protected]>
  9630. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  9631. 2005-09-09 Jonathan Chambers <[email protected]>
  9632. * IRootGridEntry.cs: Added
  9633. * PropertyGridCommands.cs: Added
  9634. * PropertiesTab.cs: Added missing methods and property
  9635. * PropertyGridView.cs: Made class internal
  9636. * PropertyGridTextBox.cs: Made class internal
  9637. 2005-09-09 Alexander Olk <[email protected]>
  9638. * MimeIcon.cs: Try to check some other environment variables
  9639. if "DESKTOP_SESSION" returns "default"
  9640. 2005-09-09 Alexander Olk <[email protected]>
  9641. * ThemeNice.cs: Corrected background colors (e.g. menus)
  9642. * ColorDialog.cs: Use correct background colors for controls
  9643. 2005-09-09 Alexander Olk <[email protected]>
  9644. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  9645. 2005-09-08 Peter Dennis Bartok <[email protected]>
  9646. * RichTextBox.cs: Added initial implementation
  9647. * lang.cs: Removed. Was accidentally checked in long time ago
  9648. * TODO: Removed. Contents were obsolete
  9649. 2005-09-06 Jonathan Chambers <[email protected]>
  9650. * PropertiesTab.cs : Added
  9651. 2005-09-06 Jonathan Chambers <[email protected]>
  9652. * PropertyGrid.cs : Update
  9653. * PropertyGridView.cs : Update
  9654. * System.Windows.Forms.resx : Added images and strings
  9655. 2005-09-06 Peter Dennis Bartok <[email protected]>
  9656. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  9657. 2005-09-06 Peter Dennis Bartok <[email protected]>
  9658. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  9659. a busy loop right after the Ungrab the X11 display is otherwise
  9660. blocked
  9661. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  9662. * ThemeWin32Classic.cs: Optimise the use of clipping
  9663. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  9664. * DataGrid.cs: fixes recursion bug
  9665. 2005-09-03 Alexander Olk <[email protected]>
  9666. * ThemeNice.cs:
  9667. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  9668. - Cleanup
  9669. 2005-09-02 Alexander Olk <[email protected]>
  9670. * ThemeNice.cs: Draw nice ProgressBars
  9671. 2005-09-01 Miguel de Icaza <[email protected]>
  9672. * VScrollBar.cs: Another buglet found by Aaron's tool.
  9673. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  9674. bug finder.
  9675. 2005-08-30 Alexander Olk <[email protected]>
  9676. * ThemeNice.cs:
  9677. - Added nicer menu drawing
  9678. - Updated DrawTab
  9679. - some refactoring
  9680. 2005-08-30 Peter Dennis Bartok <[email protected]>
  9681. * CreateParams.cs (ToString): Made output match MS
  9682. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  9683. handle is already created (to avoid forcing window creation)
  9684. * XplatUIX11.cs: Set window text to caption after creating window,
  9685. in case Text was set before window was created
  9686. * Form.cs: Use this.Text instead of a static string as caption
  9687. 2005-08-30 Peter Dennis Bartok <[email protected]>
  9688. * NotifyIcon.cs: Don't set the window to visible; this screws
  9689. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  9690. OnPaint without a bitmap)
  9691. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  9692. happen very often anyway; we could add the check to the WM_PAINT
  9693. event generation code
  9694. 2005-08-30 Peter Dennis Bartok <[email protected]>
  9695. * NotifyIcon.cs: Fill the icon area with a background color, to
  9696. avoid 'residue' when transparent icons are drawn
  9697. * XplatUIX11.cs:
  9698. - Handle whole_window == client_window when destroying windows
  9699. - SystrayAdd(): Set client_window to whole_window value to
  9700. get mouse and other events passed to NotifyIcon
  9701. 2005-08-30 Peter Dennis Bartok <[email protected]>
  9702. * Form.cs: Set proper default for Opacity property
  9703. * NotifyIcon.cs:
  9704. - ShowSystray(): Don't bother creating telling the OS
  9705. about the systray item if no icon is provided
  9706. - Now handles WM_NCPAINT message to deal with whole/client window
  9707. split
  9708. - Create window as visible to not get caught by Expose optimization
  9709. * Hwnd.cs: Removed debug message
  9710. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  9711. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  9712. PaintEventStart/End to use new client argument
  9713. * TextBoxBase.cs:
  9714. - Commented out debug messages
  9715. - Switched PaintEventStart/End to use new client argument
  9716. * XplatUI.cs: Added client window bool to PaintEventStart()/
  9717. PaintEventEnd() calls, to support drawing in non-client areas
  9718. * XplatUIDriver.cs:
  9719. - Added client window bool to PaintEventStart()/PaintEventEnd()
  9720. calls, to support drawing in non-client areas
  9721. - Added conditional compile to allow using MWF BeginInvoke
  9722. on MS runtime
  9723. * XplatUIX11.cs:
  9724. - Added some conditional debug output
  9725. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  9726. whole/client window split
  9727. - Implemented handling of client argument to PaintEventStart()/End()
  9728. * Control.cs:
  9729. - Throw exception if BeginInvoke() is called and the window handle
  9730. or one of the window's parent handles is not created
  9731. - Added conditional compile to allow using MWF BeginInvoke on
  9732. MS runtime
  9733. - get_Parent(): Only sets parent if handle is created. This avoids
  9734. forcing window handle creation when parent is set.
  9735. - Now fires Layout and Parent changed events in proper order
  9736. - Switched to use Handle instead of window.Handle for Z-Order setting,
  9737. the get_Parent() patch above causes us to possibly get null for 'window'
  9738. - Implemented handling of client argument to PaintEventStart()/End()
  9739. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  9740. default handling)
  9741. - Now sends a Refresh() to all child windows when Refresh() is called
  9742. 2005-08-29 Peter Dennis Bartok <[email protected]>
  9743. * Form.cs: Added (non-functional) Opacity property
  9744. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  9745. 2005-08-29 Alexander Olk <[email protected]>
  9746. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  9747. use export MONO_THEME=nice to activate it.
  9748. Currently supported controls:
  9749. - Button
  9750. - ComboBox
  9751. - ScrollBar
  9752. - TabControl (TabAlignment.Top only, other will follow)
  9753. * ThemeEngine.cs: Add theme nice
  9754. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  9755. if enabled
  9756. 2005-08-25 Jonathan Chambers <[email protected]>
  9757. * Splitter.cs: Resize docked control and its neighbor.
  9758. 2005-08-24 Rafael Teixeira <[email protected]>
  9759. -- Making Windows with Menus layout correctly --
  9760. * Form.cs : The first leg of the fix
  9761. Menu setter - adjust Client Size as needed to make space for the menu
  9762. SetClientSizeCore - doesn't call base version to be able to pass the
  9763. menu handle to XplatUI.CalculateWindowRect
  9764. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  9765. * XplatUIX11.cs: The critical second leg of the fix
  9766. GetWindowPos needs to use a recalculated client_rect
  9767. so that resizing the window doesn't break layout of child controls.
  9768. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  9769. Lots of \t\n killed
  9770. 2005-08-23 Peter Dennis Bartok <[email protected]>
  9771. * Label.cs: Now properly recalculates width and height on Font and Text
  9772. changes if AutoSize is set
  9773. 2005-08-19 Rafael Teixeira <[email protected]>
  9774. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  9775. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  9776. * ImageList.cs: Makes ToString method compatible with MS
  9777. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  9778. * MenuAPI.cs: fixes bug 75716
  9779. 2005-08-11 Umadevi S <[email protected]>
  9780. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  9781. 2005-08-11 Umadevi S <[email protected]>
  9782. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  9783. 2005-08-10 Umadevi S <[email protected]>
  9784. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  9785. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  9786. * Menu.cs: fixes bug 75700
  9787. * MenuAPI.cs: fixes navigation issues
  9788. 2005-08-09 Umadevi S <[email protected]>
  9789. * CheckedListBox.cs - simple fix for GetItemChecked.
  9790. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  9791. * ComboBox.cs: Serveral fixes
  9792. * ListBox.cs: Serveral fixes
  9793. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  9794. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  9795. * ListBox.cs: Fixes FindString methods
  9796. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  9797. * DataGrid.cs: fixes bugs exposed by new tests
  9798. 2005-08-04 Peter Dennis Bartok <[email protected]>
  9799. * Mime.cs: Compile Mono assembly references only if compiling
  9800. with Mono (Allows to build with VS.Net again)
  9801. 2005-07-28 Marek Safar <[email protected]>
  9802. * Control.cs (PaintControlBackground): Draw background image
  9803. corrrectly.
  9804. (CheckForIllegalCrossThreadCalls): Stubbed.
  9805. * Form.cs (OnCreateControl): Center when should be centered.
  9806. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  9807. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  9808. * Binding.cs: Binding to properties should be case unsensitive
  9809. 2005-07-18 [email protected]
  9810. * DataGrid.cs: fixes setmember order
  9811. 2005-07-07 Alexander Olk <[email protected]>
  9812. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  9813. * FileDialog.cs: FileDialog is now resizable and uses the new
  9814. MimeIconEngine
  9815. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  9816. * DataGridTextBoxColumn.cs: default value
  9817. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  9818. * GridTableStylesCollection.cs: fixes checking MappingName
  9819. * DataGridDrawingLogic.cs: fixes drawing logic issues
  9820. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  9821. * DataGrid.cs: fixes
  9822. 2005-07-06 Alexander Olk <[email protected]>
  9823. * MimeGenerated.cs: Use case sensitive comparer for
  9824. NameValueCollections
  9825. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  9826. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  9827. * ThemeWin32Classic.cs: bug fixes, code refactoring
  9828. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  9829. * DataGrid.cs: bug fixes, code refactoring
  9830. * DataGridTextBox.cs: bug fixes, code refactoring
  9831. * DataGridColumnStyle.cs: bug fixes, code refactoring
  9832. * Theme.cs: bug fixes, code refactoring
  9833. 2005-07-01 Peter Bartok <[email protected]>
  9834. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  9835. and other text box usage
  9836. 2005-07-01 Jackson Harper <[email protected]>
  9837. * TabControl.cs: Make sure the bottom of the tab covers the pages
  9838. border.
  9839. 2005-06-30 Peter Bartok <[email protected]>
  9840. * Form.cs (ShowDialog): Assign owner of the dialog
  9841. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  9842. might have been moved to a tag with different height
  9843. 2005-06-30 Jackson Harper <[email protected]>
  9844. * Form.cs: Don't create an infinite loop when setting focus
  9845. * MenuItem.cs: Don't dirty the parents if we don't have any
  9846. 2005-06-29 Ben Maurer <[email protected]>
  9847. * LibSupport.cs: Rename
  9848. 2005-06-29 Peter Bartok <[email protected]>
  9849. * TextBoxBase.cs: Re-align caret after deleting a character
  9850. * TextControl.cs:
  9851. - DeleteChars(): Ensure that tag covers the provided position
  9852. - StreamLine(): Drop reference for dropped tag
  9853. 2005-06-29 Peter Bartok <[email protected]>
  9854. * TextControl.cs:
  9855. - Selections now work properly, anchoring at the initial location
  9856. and properly extending in either direction (SetSelectionToCaret(),
  9857. SetSelectionStart() and SetSelectionEnd())
  9858. - No longer redraws the whole control on selection change, now
  9859. calculates delta between previous and new selection and only
  9860. invalidates/redraws that area
  9861. - Fixed FindPos() math off-by-one errors
  9862. - Changed DeleteChars() to verify the provided tag covers the
  9863. provided position, selections may have a tag that doesn't cover
  9864. the position if the selection is at a tag border
  9865. - Fixed off-by-one errors in DeleteChars()
  9866. - Added missing streamlining check in DeleteChars() to remove
  9867. zero-length tags
  9868. - Implemented Invalidate() method, now properly calculates exposures
  9869. between two given lines/positions
  9870. - Implemented SetSelection()
  9871. - Obsoleted and removed FixupSelection()
  9872. - Improved RecalculateDocument() logic, removing code duplication
  9873. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  9874. * LibSupport.cs: changes to match different input/output arguments.
  9875. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  9876. * LibSupport.cs: added libsupport.so init routine.
  9877. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  9878. * ControlBindingsCollection.cs
  9879. - Throws an exception on null datasource when adding
  9880. - Checks for duplicated bindings when adding
  9881. 2005-06-28 Jackson Harper <[email protected]>
  9882. * TreeView.cs (OnKeyDown): Support left and right properly
  9883. (navigates as well as expanding and collapsing.
  9884. - Add support for Multiply, this expands all the selected nodes
  9885. children.
  9886. - Fix some tabbing.
  9887. 2005-06-28 Jackson Harper <[email protected]>
  9888. * TreeView.cs: Implement keyboard navigation, currently supports,
  9889. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  9890. support for toggling checkboxes with the space bar.
  9891. 2005-06-28 Jackson Harper <[email protected]>
  9892. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  9893. tree.
  9894. 2005-06-28 Jackson Harper <[email protected]>
  9895. * TreeView.cs: Add missing event.
  9896. 2005-06-27 Peter Bartok <[email protected]>
  9897. * TextControl.cs:
  9898. - Made line ending size configurable (now allows for counting
  9899. lineendings as \n or \r\n)
  9900. - Added margin to viewport to keep caret visible on right side
  9901. - Fixed translation routines for line/pos to documentpos to consider
  9902. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  9903. - Fixed some line-endings to be unix style
  9904. - Fixed Document.FormatText to perform it's calculations 1-based
  9905. - Added descriptions for a few methods that might otherwise get
  9906. used wrong
  9907. - Added NOTE section with some basic conventions to remember at
  9908. the top of the file
  9909. - Major fixup for RichTextBox selection drawing:
  9910. * Fixed crashes when multiple tags on a single line were selected
  9911. * fixed selection box drawing not overlaying text
  9912. * fixed bogus offset calculation for tags not starting at index 1
  9913. * Switched behaviour from using multiple Substrings of a
  9914. StringBuilder.ToString() to using multiple
  9915. StringBuilder.ToString(start, length) statements, hoping this is
  9916. faster (kept original version commented out in the code, in case
  9917. original version was faster)
  9918. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  9919. alignment != Left
  9920. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  9921. call it as well
  9922. 2005-06-27 Jackson Harper <[email protected]>
  9923. * TabControl.cs: Move to the left and right with the arrow
  9924. keys. These keys don't cycle beyond first and last like
  9925. tab. Refresh all the tabs when scrolling them to the left or
  9926. right.
  9927. 2005-06-27 Jackson Harper <[email protected]>
  9928. * TabControl.cs:
  9929. - ToString: Added method
  9930. - CreateParams: Remove TODO and comment
  9931. - OnKeyDown: Cycle through bounds properly.
  9932. - SelectedIndex: Scroll to the right or left if we need to
  9933. display the newly selected tab.
  9934. 2005-06-23 Jackson Harper <[email protected]>
  9935. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  9936. set.
  9937. 2005-06-23 Jackson Harper <[email protected]>
  9938. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  9939. CTRL-SHIFT-TAB, and HOME, END are there any others?
  9940. 2005-06-23 Jackson Harper <[email protected]>
  9941. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  9942. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  9943. * DataGridTextBoxColumn.cs: fixes and enhancements
  9944. * ThemeWin32Classic.cs: fixes and enhancements
  9945. * DataGridBoolColumn.cs: fixes and enhancements
  9946. * DataGridDrawingLogic.cs: fixes and enhancements
  9947. * CurrencyManager.cs: fixes and enhancements
  9948. * DataGrid.cs: fixes and enhancements
  9949. * DataGridColumnStyle.cs: fixes and enhancements
  9950. 2005-06-22 Jackson Harper <[email protected]>
  9951. * TabControl.cs: Add some missing methods that just call into the
  9952. base. Make the TabPageCollection's IList interface behave in the
  9953. same manner as the MS implementation.
  9954. 2005-06-22 Peter Bartok <[email protected]>
  9955. * TextControl.cs: Added sanity check
  9956. * TextBoxBase.cs:
  9957. - Fixed wrapping behaviour, don't set wrap on single line controls
  9958. (this fixes the breakage of colordialog introduced in an earlier
  9959. checkin)
  9960. - Added rudimentary support for autoscrolling right-aligned controls
  9961. (still needs fixing, also, center alignment scroll is missing)
  9962. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  9963. * ScrollBar.cs: Fixes thumbpos on Maximum values
  9964. 2005-06-21 Jonathan Chambers <[email protected]>
  9965. * PropertyGridView.cs: Pass context information to UITypeEditors
  9966. 2005-06-21 Peter Bartok <[email protected]>
  9967. * TextBoxBase.cs:
  9968. - Now calling PositionCaret with absolute space coordinates
  9969. - Enabled vertical scrolling
  9970. - Better tracking of scrollbar changes, tied into WidthChange
  9971. event
  9972. - Improved cursor tracking
  9973. - Removed debug output
  9974. * TextControl.cs:
  9975. - PositionCaret coordinates are now works in absolute space, not
  9976. the canvas
  9977. - Improved tracking of document size
  9978. - Added events for width and height changes
  9979. 2005-06-21 Peter Bartok <[email protected]>
  9980. * Form.cs: Set focus to active control when form is activated
  9981. * TextControl.cs:
  9982. - Added word-wrap functionality to RecalculateLine()
  9983. - Added some short function descriptions for VS.Net to aid in
  9984. writing dependent controls
  9985. - Added Caret property, returning the current coords of the caret
  9986. - Added ViewPortWidth and ViewPortHeight properties
  9987. - Added Wrap property
  9988. - Added CaretMoved event
  9989. - Removed some old debug code
  9990. - Split() can now create soft splits
  9991. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  9992. - Added method to format existing text
  9993. - Fixed size/alignment calculations to use viewport
  9994. - RecalculateDocument now can handle changing line-numbers while
  9995. calculating lines
  9996. * TextBox.cs:
  9997. - Added some wrap logic, we don't wrap if alignment is not left
  9998. - Added casts for scrollbar var, base class switched types to
  9999. also support RichTextBoxA
  10000. - Implemented handling of scrollbar visibility flags
  10001. * TextBoxBase.cs:
  10002. - Switched scrollbars type to RichTextBoxScrollBars to support
  10003. RichTextBox
  10004. - Added tracking of canvas width/height
  10005. - Switched scrollbars to be not selectable (to keep focus on text)
  10006. - Added central CalculateDocument() method to handle all redraw
  10007. requirements
  10008. - Added ReadOnly support
  10009. - Added WordWrap support
  10010. - Fixed handling of Enter key (we now treat it as a DialogKey)
  10011. - Fixed caret positioning when h or v scroll is not zero
  10012. - Fixed placing/generation of vertical scrollbar
  10013. - Added CalculateScrollBars() method to allow updating scrollbar
  10014. limits and visibility
  10015. - Fixed handling of horizontal scroll
  10016. - Added handling of vertical scroll
  10017. - Implemented auto-'jump' when caret moves to close to a left or
  10018. right border and there is text to be scrolled into view (currently
  10019. there's the potential for a stack overflow, until a bug in
  10020. scrollbar is fixed)
  10021. 2005-06-21 Geoff Norton <[email protected]>
  10022. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  10023. 2005-06-19 Alexander Olk <[email protected]>
  10024. * Mime.cs:
  10025. - added inodes.
  10026. - return application/x-zerosize for files with size zero
  10027. (if no extension pattern matches).
  10028. - check matches collection for strings too.
  10029. - return only the first mime type if the name value
  10030. collection has more than one mime type.
  10031. 2005-06-18 Jonathan Chambers <[email protected]>
  10032. * PropertyGrid.cs: Cleaned up some TODOs
  10033. * PropertyGridView.cs: Added support for UITypeEditors
  10034. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  10035. * DataGrid.cs: clears cached value
  10036. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  10037. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  10038. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  10039. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  10040. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  10041. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  10042. * ThemeWin32Classic.cs: fixes colour
  10043. 2005-06-15 Peter Bartok <[email protected]>
  10044. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  10045. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  10046. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  10047. * Control.cs: Added some MWFCategory and MWFDescription attributes
  10048. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  10049. 2005-06-15 Alexander Olk <[email protected]>
  10050. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  10051. usage
  10052. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  10053. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  10054. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  10055. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  10056. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  10057. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  10058. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  10059. 2005-06-13 Jackson Harper <[email protected]>
  10060. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  10061. isn't printed when the user enables dropping. (X11 does accept
  10062. drops).
  10063. 2005-06-13 Jackson Harper <[email protected]>
  10064. * TreeView.cs: Remove some TODOS.
  10065. 2005-06-13 Jackson Harper <[email protected]>
  10066. * Form.cs: Hook into the mdi framework.
  10067. * MdiClient.cs: Use the base control collections add method so
  10068. parents get setup correctly. Set the default back colour and dock
  10069. style.
  10070. * MdiChildContext.cs: New class, this bad actor handles an
  10071. instance of an MDI window. Right now there is only basic
  10072. support. You can drag, close, and resize windows. Minimize and
  10073. Maximize are partially implemented.
  10074. 2005-06-13 Jackson Harper <[email protected]>
  10075. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  10076. freaky when both vals are negative. NOTE: There are probably other
  10077. places in XplatUIX11 that this needs to be done.
  10078. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  10079. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  10080. * DataGridColumnStyle.cs: fixes signature
  10081. 2005-06-12 Jackson Harper <[email protected]>
  10082. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  10083. windows.
  10084. 2005-06-11 Jackson Harper <[email protected]>
  10085. * StatusBarPanel.cs: Signature cleanups. Implement
  10086. BeginInit/EndInit.
  10087. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  10088. * DataGridTextBoxColumn.cs: Honors aligment
  10089. * GridColumnStylesCollection.cs: Contains is case unsensitive
  10090. * GridTableStylesCollection.cs: several fixes
  10091. * DataGridTableStyle.cs: default column creation
  10092. * DataGridDrawingLogic.cs: fixes
  10093. * CurrencyManager.cs: ListName property
  10094. * DataGrid.cs: multiple styles support
  10095. * DataGridColumnStyle.cs: fixes
  10096. 2005-06-10 Peter Bartok <[email protected]>
  10097. * Control.cs(Select): Moved SetFocus call to avoid potential
  10098. loops if controls change the active control when getting focus
  10099. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  10100. the up/down buttons
  10101. 2005-06-10 Matthias Felgner <[email protected]>
  10102. * ImageListConverter.cs: Implemented
  10103. 2005-06-10 John BouAntoun <[email protected]>
  10104. * MonthCalendar.cs: Wired in NumericUpDown control for year
  10105. 2005-06-10 John BouAntoun <[email protected]>
  10106. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  10107. DoubleClick events, since they are not meant to be fired.
  10108. 2005-06-09 Peter Bartok <[email protected]>
  10109. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  10110. Jonathan's standalone controls into MWF, implemented missing
  10111. events, attributes and methods; added xxxAccessible classes
  10112. * AccessibleObject.cs: Made fields internal so other classes
  10113. can change them if needed
  10114. 2005-06-09 Jonathan Gilbert <[email protected]>
  10115. * UpDownBase.cs: Complete implementation
  10116. * NumericUpDown.cs: Complete implementation
  10117. * DomainUpDown.cs: Complete implementation
  10118. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  10119. * DataGridTextBoxColumn.cs: drawing fixes
  10120. * DataGridCell.cs: fixes ToString method to match MSNet
  10121. * DataGridTableStyle.cs: fixes
  10122. * DataGridBoolColumn.cs: fixes, drawing
  10123. * DataGridDrawingLogic.cs: fixes, new methods
  10124. * DataGridTextBox.cs: Keyboard and fixes
  10125. * DataGrid.cs:
  10126. - Keyboard navigation
  10127. - Scrolling fixes
  10128. - Row selection (single, multiple, deletion, etc)
  10129. - Lots of fixes
  10130. 2005-06-07 Jackson Harper <[email protected]>
  10131. * ThemeWin32Classic.cs: Clear the background area when drawing
  10132. buttons.
  10133. 2005-06-06 Peter Bartok <[email protected]>
  10134. * ImageListStreamer.cs: Fixed signature for GetData
  10135. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  10136. * ComboBox.cs:
  10137. - Added missing ChildAccessibleObject class
  10138. - Added missing OnXXXFocus overrides, switched to using those
  10139. instead of the event handler
  10140. * Control.cs:
  10141. - Added Parent property for ControlAccessibleObject
  10142. - Fixed signatures
  10143. - Fixed attributes
  10144. - Added ResetBindings()
  10145. * ListBindingConverter.cs: Implemented some methods
  10146. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  10147. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  10148. * ContainerControl.cs: Fixed signature, now subscribing to the
  10149. ControlRemoved event instead of overriding the handler, LAMESPEC
  10150. * CurrencyManager.cs: Added missing attribute
  10151. * MonthCalendar.cs: Added missing properties
  10152. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  10153. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  10154. 2005-06-06 Gaurav Vaish and Ankit Jain
  10155. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  10156. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  10157. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  10158. * Control.cs: fixes CreateParams Width / Height.
  10159. 2005-06-05 Peter Bartok <[email protected]>
  10160. * Win32DnD.cs: Removed compilation warnings
  10161. 2005-06-05 Peter Bartok <[email protected]>
  10162. * Control.cs (CreateParams): Since we don't know if one of the
  10163. properties we use is overridden, lets make sure if we fail accessing
  10164. we continue with a backup plan
  10165. 2005-06-05 Peter Bartok <[email protected]>
  10166. * Win32DnD.cs:
  10167. - Removed debug output
  10168. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  10169. struct
  10170. - Plugged resource leak
  10171. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  10172. MS size
  10173. 2005-06-05 Peter Bartok <[email protected]>
  10174. * XplatUIWin32.cs: Removed DnD code
  10175. * Win32DnD.cs: Implemented drop source and drop target functionality
  10176. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  10177. * UpDownBase.cs: remove duplicate addition of event, enable some code
  10178. that was commented out.
  10179. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  10180. Validate input when a key is pressed. It works fine now for every
  10181. combination of Hexadecimal. Only missing some drawing love when sharing
  10182. space with other controls.
  10183. 2005-06-04 Peter Bartok <[email protected]>
  10184. * Control.cs:
  10185. - We need to pass a window for DragDrop, so enable callback events
  10186. - Added DnD callback events when being a DragSource
  10187. * XplatUI.cs (StartDrag): Added window handle argument
  10188. * XplatUIDriver.cs (StartDrag): Added window handle argument
  10189. * QueryContinueDragEventArgs: Made fields internally accessible so
  10190. drivers can set them
  10191. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  10192. can set them
  10193. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  10194. * DataGridTextBoxColumn.cs: column text editing
  10195. * DataGridTableStyle.cs: Respect columns styles created by the user
  10196. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  10197. * DataGridBoolColumn.cs: bool column editing
  10198. * DataGrid.cs: fixes to scrolling, properties, etc
  10199. * DataGridTextBox.cs: handle keyboard
  10200. * DataGridColumnStyle.cs: fixes
  10201. 2005-06-02 Jackson Harper <[email protected]>
  10202. * ImageListStreamer.cs: Somewhat broken implementation of
  10203. GetObjectData. The RLE needs some work to match MS properly.
  10204. 2005-06-02 Jackson Harper <[email protected]>
  10205. * X11Dnd.cs: Attempting to keep at least one file in MWF
  10206. monostyled.
  10207. 2005-06-02 Peter Bartok <[email protected]>
  10208. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  10209. that way
  10210. 2005-06-02 Peter Bartok <[email protected]>
  10211. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  10212. * XplatUI.cs: Added DoDragDrop() method
  10213. * XplatUIDriver.cs: Added DoDragDrop() method
  10214. 2005-06-02 Jackson Harper <[email protected]>
  10215. * Splitter.cs: Implement BorderStyle.
  10216. 2005-06-02 Jackson Harper <[email protected]>
  10217. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  10218. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  10219. X11 using XDND.
  10220. 2005-06-02 Peter Bartok <[email protected]>
  10221. * DataObject.cs:
  10222. - Added Data setter
  10223. - Fixed broken insertion code for SetData, now also
  10224. overwrites any existing entry of the same format name
  10225. * Hwnd.cs: Added list of pointers that automatically gets
  10226. freed when the window is disposed
  10227. * XplatUI.cs: Call driver initialization method when loading
  10228. a driver
  10229. * Control.cs:
  10230. - OnDragLeave takes EventArgs, not DragEventArgs
  10231. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  10232. supported
  10233. - Forces style update when drop state changes
  10234. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  10235. not perfect since we cannot (yet) call the IDataObject.GetData()
  10236. method, we keep getting 0x80004005 error, dunno why)
  10237. 2005-06-02 Peter Bartok <[email protected]>
  10238. * DragEventArgs.cs: Make fields internal so we can cache the
  10239. object and re-set the fields from XplatUI
  10240. 2005-06-02 Jackson Harper <[email protected]>
  10241. * Control.cs: Add some internal methods so the DnD subsystem can
  10242. raise DnD events. Also call into the driver when AllowDrop is set.
  10243. * XplatUI.cs:
  10244. * XplatUIDriver.cs: New method for setting whether or not a window
  10245. is allowed to accept drag and drop messages.
  10246. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  10247. * ScrollBar.cs: Make sure that values sent in Scroll events
  10248. are always between Maximum and Minimum.
  10249. 2005-06-01 Marek Safar <[email protected]>
  10250. * Menu.cs: Call MenuChanged when menuitem visibility has been
  10251. changed.
  10252. * MenuItem.cs: Rebuild menu when item is (not) visible.
  10253. * MainMenu.cs: MainMenu has special MenuChanged.
  10254. * Theme.cs: Caption and FrameBorderSize are not fixed.
  10255. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  10256. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  10257. * XplatUIX11.cs,
  10258. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  10259. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  10260. 2005-05-30 Jackson Harper <[email protected]>
  10261. * DataFormat.cs: We can't statically initialize this stuff because
  10262. it calls into the xplatui and could create a loop. So we lazy init
  10263. it.
  10264. 2005-05-28 Jackson Harper <[email protected]>
  10265. * Control.cs: Proper implementation of Product(Name/Version).
  10266. 2005-05-27 Jackson Harper <[email protected]>
  10267. * DataObject.cs: Dont crash if no data is found.
  10268. 2005-05-26 Rafael Teixeira <[email protected]>
  10269. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  10270. as per status page, guessing it should be set to true
  10271. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  10272. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  10273. * DataGridTableStyle.cs: set proper formatting text, def header text
  10274. * ThemeWin32Classic.cs: new themable paramaters
  10275. * DataGridBoolColumn.cs: paint check box, get data, fixes
  10276. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  10277. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  10278. * DataGridColumnStyle.cs: fixes
  10279. * Theme.cs: new themable paramaters
  10280. 2005-05-26 Peter Bartok <[email protected]>
  10281. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  10282. 2005-05-24 Jonathan S. Chambers <[email protected]>
  10283. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  10284. 2005-05-24 Peter Bartok <[email protected]>
  10285. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  10286. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  10287. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  10288. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  10289. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  10290. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  10291. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  10292. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  10293. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  10294. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  10295. missing attributes, etc
  10296. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  10297. 2005-05-24 Peter Bartok <[email protected]>
  10298. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  10299. when user tries to get help
  10300. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  10301. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  10302. to suppress warnings
  10303. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  10304. avoid unreachable code warning
  10305. 2005-05-20 Peter Bartok <[email protected]>
  10306. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  10307. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  10308. * DataGridTextBoxColumn.cs: Basic painting methods
  10309. * DataGridTableStyle.cs: Set table style in the column
  10310. * ThemeWin32Classic.cs: Use Theme for colors
  10311. * DataGridDrawingLogic.cs: Implement more drawing
  10312. * DataGrid.cs: drawing, theming, enhacements, fixes
  10313. * DataGridColumnStyle.cs: fixes, drawing
  10314. * Theme.cs: theming for Datagrid
  10315. 2005-05-20 Peter Bartok <[email protected]>
  10316. * Cursor.cs: Implemented GetObjectData() method
  10317. 2005-05-20 Peter Bartok <[email protected]>
  10318. * Cursors.cs: Added setting of cursor name
  10319. * Cursor.cs:
  10320. - Implemented constructors
  10321. - Implemented Draw and DrawStretched
  10322. - Implemented Current property
  10323. - Implemented == and != operators
  10324. - Implemented Dispose()
  10325. - Implemented ToString
  10326. - Added missing attributes
  10327. * XplatUIX11.cs:
  10328. - Added missing reset for OverrideCursor when DoEvents is called
  10329. - Fixed creation of cursor, logic was wrong
  10330. * XplatUIWin32.cs:
  10331. - Added missing reset for OverrideCursor when DoEvents is called
  10332. - Fixed creation of cursor, bit arrays were swapped
  10333. * Clipboard.cs: Removed obsolete MonoTODO attribute
  10334. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  10335. * ComboBox.cs: fixes OnSelectedItemChanged
  10336. * ControlBindingsCollection.cs: fixes item range check
  10337. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  10338. * UpDownBase.cs:
  10339. - Calc preferred height properly
  10340. - Implement missing properties
  10341. * NumericUpDown.cs: Implement missing events
  10342. 2005-05-19 Jackson Harper <[email protected]>
  10343. * TabControl.cs: New method that resizes the tab pages before
  10344. redrawing them. This as needed as the control is double buffered
  10345. and sizing will not be recalculated unless ResizeTabPages is
  10346. called.
  10347. * TabPage.cs: Set base.Text instead of Text in the constructor so
  10348. that UpdateOwner does not get called. Use the new Redraw method of
  10349. TabControl instead of Refresh so the sizing is recalculated.
  10350. * ThemeWin32Classic.cs: Draw the text for button tabs.
  10351. 2005-05-19 Jackson Harper <[email protected]>
  10352. * Control.cs: Paint control background images. Fix typo where
  10353. PaintControlBackground was not getting called correctly.
  10354. 2005-05-19 Peter Bartok <[email protected]>
  10355. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  10356. I can investigate, apparently I broke FileDialog
  10357. 2005-05-19 Marek Safar <[email protected]>
  10358. * AxHost.cs: Some simple properties.
  10359. * Control.cs: window must be accessible after ctor.
  10360. * Form.cs: Added TransparencyKey property.
  10361. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  10362. * XplatUIWin32.cs: SetBorderStyle implemented.
  10363. 2005-05-18 Peter Bartok <[email protected]>
  10364. * DataObject.cs: Entries are not global but particular to the
  10365. DataObject, now it behaves that way
  10366. * XplatUIWin32.cs: Implemented Clipboard methods
  10367. * Clipboard.cs: Implemented
  10368. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  10369. * XplatUIOSX.cs: Updated to final clipboard prototypes
  10370. * XplatUIX11.cs: Implemented Clipboard methods
  10371. * XplatUIDriver.cs: Updated to final clipboard prototypes
  10372. * XplatUIStructs.cs:
  10373. - Added BITMAPINFOHEADER struct
  10374. - Added ClipboardFormats enum
  10375. * X11Structs.cs:
  10376. - Added ClipboardStruct
  10377. - Added Atom enum items for clipboard types
  10378. - Fixed atom types for Selection event structures
  10379. * DataFormats.cs:
  10380. - Added internal properties and methods for drivers to enumerate
  10381. all known formats
  10382. - Switched initialization method to allow drivers to assign their
  10383. own IDs even for the MS predefined clipboard IDs
  10384. * XplatUI.cs: Updated to final clipboard interface
  10385. 2005-05-18 Jonathan S. Chambers <[email protected]>
  10386. * PropertyGridView.cs: Fixed compiler warnings.
  10387. 2005-05-18 Jonathan S. Chambers <[email protected]>
  10388. * PropertyGrid.cs: Added some event calls
  10389. * PropertyGridView.cs: Change drawing code to use double buffering
  10390. * PropertyGridTextBox.cs: Changed Text property name
  10391. * GridItem.cs: Added Bounds property.
  10392. * GridEntry.cs: Added Bounds property.
  10393. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  10394. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  10395. since GetType() may not return the correct type if the object is
  10396. a remoting proxy.
  10397. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  10398. * TreeNodeCollection.cs: fixes get/set item ranges
  10399. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  10400. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  10401. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  10402. * ComboBox.cs: Fix item range comparation
  10403. * ListView.cs: Fix item range comparation
  10404. 2005-05-03 Alexander Olk <[email protected]>
  10405. * FontDialog.cs:
  10406. - Clear example panel when OnPaint is called
  10407. - Better solution for displaying the example panel text
  10408. - Select default indexes in the ListBoxes
  10409. 2005-05-11 Geoff Norton <[email protected]>
  10410. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  10411. 2005-05-11 Peter Bartok <[email protected]>
  10412. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  10413. * SelectionRangeConverter.cs: Implemented
  10414. * PropertyGrid.cs: Fixed attribute value
  10415. * Control.cs:
  10416. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  10417. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  10418. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  10419. that's common to all drivers. First methods to go there are
  10420. Sebastien Pouliot's CAS Stack Propagation helper methods
  10421. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  10422. Sebastien Pouliot for CAS Stack Propagation
  10423. 2005-05-11 Geoff Norton <[email protected]>
  10424. * OSXStructs.cs:
  10425. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  10426. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  10427. * DataGridTextBoxColumn.cs: fixed some members
  10428. * GridColumnStylesCollection.cs: indexed column is case insensitive
  10429. * DataGridTableStyle.cs: fixes
  10430. * ThemeWin32Classic.cs: add new theme parameter
  10431. * Theme.cs: add new theme parameter
  10432. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  10433. * DataGrid.cs: fixes, new internal properties, etc.
  10434. * DataGridColumnStyle.cs: allows to set grid value
  10435. *
  10436. 2005-05-10 Peter Bartok <[email protected]>
  10437. * AccessibleObject.cs:
  10438. - Removed MonoTODO attribute on help, method is correct
  10439. - Fixed Bounds property
  10440. * AxHost.cs: Moved MonoTODO
  10441. * ButtonBase.cs: Now setting AccessibleObject properties
  10442. * RadioButton.cs: Setting proper AccessibleObject role
  10443. * CheckBox.cs: Setting proper AccessibleObject role
  10444. * ControlBindingsCollection.cs: Added properties, methods and attributes
  10445. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  10446. userdefined DataFormats.Format items as well
  10447. * ListControl.cs: Removed data_member from the public eye
  10448. * OpenFileDialog.cs:
  10449. - Made class sealed
  10450. - Added missing attributes
  10451. * SaveFileDialog.cs: Added missing attributes
  10452. * ImageListStreamer.cs: Fixed code that caused warnings
  10453. * LinkLabel.cs: Removed unreachable code
  10454. * TreeView.cs: Fixed code that caused warnings
  10455. * PropertyGridView.cs: Fixed code that caused warnings
  10456. * GridColumnStylesCollection.cs: Added missing attributes
  10457. * GridTableStylesCollection: Added missing attribute
  10458. * PropertyManager: Added .ctor
  10459. * SecurityIDType: Added
  10460. * DataObject.cs: Implemented class
  10461. * LinkArea.cs: Added missing attribute
  10462. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  10463. * RadioButton.cs: call base method to allow to fire OnClick event
  10464. * UpDownBase.cs: OnMouseUp call base method
  10465. * CheckedListBox.cs: call base method before returning
  10466. * TrackBar.cs: call base method before returning
  10467. 2005-05-10 Peter Bartok <[email protected]>
  10468. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  10469. for messages
  10470. 2005-05-10 Peter Bartok <[email protected]>
  10471. * DataFormats.cs: Implemented
  10472. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  10473. XplatUIX11.cs: Added Clipboard APIs
  10474. * XplatUIWin32.cs: Implemented Clipboard APIs
  10475. * FolderBrowserDialog.cs: Added missing event, attributes
  10476. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  10477. * CheckBox.cs: call base method to allow to fire OnClick event
  10478. 2005-05-09 Sebastien Pouliot <[email protected]>
  10479. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  10480. 2005-05-06 Peter Bartok <[email protected]>
  10481. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  10482. * Screen.cs: Implemented
  10483. * HelpNavigator.cs: Added
  10484. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  10485. property
  10486. * HelpProvider.cs: Implemented all we can do until we have a CHM
  10487. help library (which means that "What's This" does work now)
  10488. 2005-05-06 Jackson Harper <[email protected]>
  10489. * XplatUIX11.cs: Fix waking up the main loop.
  10490. 2005-05-05 Peter Bartok <[email protected]>
  10491. * XplatUI.cs: Updated revision
  10492. * Form.cs: Removed enless loop
  10493. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  10494. * Label.cs (OnPaint): Added call to base.OnPaint()
  10495. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  10496. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  10497. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  10498. * AxHost.cs: Added
  10499. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  10500. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  10501. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  10502. reuse of ToolTipWindow by other controls
  10503. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  10504. * XplatUIX11.cs: Now clipping drawing area (experimental)
  10505. * PictureBox.cs: Moved base.OnPaint() call to end of method
  10506. * Theme.cs: Fixed ToolTip abstracts to match new format
  10507. * ErrorProvider.cs: Implemented
  10508. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  10509. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  10510. * LinkLabel.cs:
  10511. - Adds cursors
  10512. - Handles focus
  10513. - Implements LinkBehavior
  10514. - Fixes many issues
  10515. 2005-05-03 Jackson Harper <[email protected]>
  10516. * ListView.cs: Calculate the scrollbar positioning on resize and
  10517. paint, so they get put in the correct place.
  10518. 2005-05-03 Alexander Olk <[email protected]>
  10519. * ColorDialogs.cs: The small color panels are now handled by
  10520. SmallColorControl. This fixes drawing of the focus rectangle
  10521. and adds a 3D border.
  10522. 2005-05-03 Peter Bartok <[email protected]>
  10523. * Control.cs: Modified version of Jonathan Chamber's fix for
  10524. double-buffering
  10525. 2005-05-03 Jackson Harper <[email protected]>
  10526. * ListView.cs: Remove redraw variable. Control now handles whether
  10527. or not a redraw needs to be done, and will only raise the paint
  10528. event if redrawing is needed.
  10529. 2005-05-03 Jackson Harper <[email protected]>
  10530. * Splitter.cs: No decorations for the splitter form. Cache the
  10531. hatch brush.
  10532. 2005-05-03 Jackson Harper <[email protected]>
  10533. * TreeView.cs: Use dashed lines to connect nodes. Use the
  10534. ControlPaint method for drawing the focus rect instead of doing
  10535. that in treeview.
  10536. 2005-05-02 Peter Bartok <[email protected]>
  10537. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  10538. 2005-04-29 Jackson Harper <[email protected]>
  10539. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  10540. entire image buffer. Just clear the clipping rectangle.
  10541. 2005-04-29 Jackson Harper <[email protected]>
  10542. * ThemeWin32Classic.cs: Don't draw list view items that are
  10543. outside the clipping rectangle.
  10544. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  10545. * ListBox.cs: added horizontal item scroll
  10546. 2005-04-29 Jackson Harper <[email protected]>
  10547. * ThemeWin32Classic.cs: Remove some old debug code that was
  10548. causing flicker with the new double buffering code.
  10549. 2005-04-29 John BouAntoun <[email protected]>
  10550. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  10551. behave like combobox and comboboxlist (still not sure if this is
  10552. correct though).
  10553. 2005-04-28 Jackson Harper <[email protected]>
  10554. * ThemeWin32Classic.cs: Don't fill the middle of progress
  10555. bars. This fills areas outside of the clip bounds that don't need
  10556. to be filled.
  10557. 2005-04-28 Jackson Harper <[email protected]>
  10558. * Control.cs: Don't expose functionality to touch the image buffers.
  10559. * ProgressBar.cs:
  10560. * ListView.cs: We do not need to (and no longer can) manipulate
  10561. the image buffers directly. All of this is handled by Control.
  10562. 2005-04-28 Peter Bartok <[email protected]>
  10563. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  10564. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  10565. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  10566. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  10567. * Combobox:
  10568. - Adjust control's height for non-simple comboboxes (bug fix)
  10569. - Remove dead code
  10570. * MenuAPI.cs: remove unused var
  10571. * ScrollBar.cs: remove unsed var
  10572. * ListBox.cs: unselect items when clearing
  10573. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  10574. * ListControl.cs: honors OnPositionChanged and default Selected Item
  10575. * ListBox.cs: unselect items when clearing
  10576. 2005-04-27 Jackson Harper <[email protected]>
  10577. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  10578. if a "correct" keyboard is not found. This will make us not crash,
  10579. but might give some users bad keyboard layouts...seems to be the
  10580. same thing rewind does.
  10581. 2005-04-27 Jackson Harper <[email protected]>
  10582. * BindingManagerBase.cs: Attach the current/position changed
  10583. handlers to their respective events.
  10584. 2005-04-27 Jackson Harper <[email protected]>
  10585. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  10586. not just a blit.
  10587. * ThemeWin32Classic.cs: Don't fill the background for picture
  10588. boxes. This could overright user drawing.
  10589. * ComboBox.cs: Just fill the clipping rect not the entire client
  10590. rect when drawing the background. This prevents pieces of the
  10591. image buffer from getting overwritten and is theoretically faster.
  10592. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  10593. * ComboBox.cs: Databinding support fixes, fire missing events
  10594. * ListControl.cs: implement missing methods and properties, fixes
  10595. * ThemeWin32Classic.cs: Databiding support on Drawing
  10596. * CheckedListBox.cs: Databinding support fixes, fire missing events
  10597. * ListBox.cs: Databinding support fixes, fire missing events
  10598. 2005-04-25 Peter Bartok <[email protected]>
  10599. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  10600. 2005-04-25 Jackson Harper <[email protected]>
  10601. * TreeView.cs: Use the horizontal scrollbars height not width when
  10602. determining how much of the client area is available.
  10603. 2005-04-25 Jackson Harper <[email protected]>
  10604. * Control.cs: Double buffering is handled differently now. As per
  10605. the spec, the extra buffer is created in the WM_PAINT message and
  10606. passed down to the control's drawing code.
  10607. * GroupBox.cs:
  10608. * Label.cs:
  10609. * CheckBox.cs:
  10610. * ProgressBar.cs:
  10611. * RadioButton.cs:
  10612. * ColorDialog.cs:
  10613. * ComboBox.cs:
  10614. * PropertyGridView.cs:
  10615. * UpDownBase.cs:
  10616. * MessageBox.cs:
  10617. * MenuAPI.cs:
  10618. * ListView.cs:
  10619. * ButtonBase.cs:
  10620. * SizeGrip.cs:
  10621. * ScrollBar.cs:
  10622. * ListBox.cs:
  10623. * TrackBar.cs:
  10624. * ToolBar.cs:
  10625. * PictureBox.cs:
  10626. * DateTimePicker.cs:
  10627. * StatusBar.cs:
  10628. * TreeView.cs: Update to new double buffering system.
  10629. * MonthCalendar.cs: Uncomment block, as Capture is now
  10630. working. Update to new double buffering
  10631. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  10632. * PaintEventArgs.cs: New internal method allows us to set the
  10633. graphics object. This is used for double buffering.
  10634. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  10635. rectangle. The internal paint_area var has been removed from
  10636. StatusBar. The clipping rect should be used instead.
  10637. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  10638. * TabPage.cs: The RefreshTabs method was removed, so just call the
  10639. tab controls Refresh method now.
  10640. * TabControl.cs: Update to new double buffering. Make sure the
  10641. handle is created before sizing the tab pages, otherwise we will
  10642. get stuck in a loop.
  10643. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  10644. * LinkLabel.cs: Fix typo, bug #74719; patch
  10645. from Borja Sanchez Zamorano
  10646. 2005-04-22 Jackson Harper <[email protected]>
  10647. * TreeNode.cs: Implement Handle stuff.
  10648. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  10649. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  10650. * DataGridTextBoxColumn.cs: call base constructors, fixes
  10651. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  10652. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  10653. * DataGridTableStyle.cs: implements create default column styles
  10654. * DataGridBoolColumn.cs: which types can handle
  10655. * DataGrid.cs: missing methods, fixes, new functionality
  10656. * DataGridColumnStyle.cs: fixes
  10657. 2005-04-20 Alexander Olk <[email protected]>
  10658. * FolderBrowserDialog.cs:
  10659. - Use a thread to fill the TreeView
  10660. - Adjusted some sizes
  10661. 2005-04-19 Peter Bartok <[email protected]>
  10662. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  10663. property. Fixes #74360.
  10664. 2005-04-19 Jackson Harper <[email protected]>
  10665. * XEventQueue.cs: Lock when getting the lockqueue size.
  10666. * PictureBox.cs: Call base OnPaint
  10667. 2005-04-19 Peter Bartok <[email protected]>
  10668. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  10669. messages were no longer being processed (this broke BeginInvoke)
  10670. 2005-04-18 Jackson Harper <[email protected]>
  10671. * TreeView.cs: buglet that caused node images to get drawn
  10672. regardless of whether or not they were in the clipping rectangle.
  10673. 2005-04-18 Jackson Harper <[email protected]>
  10674. * CurrencyManager.cs: There are four rules for GetItemProperties:
  10675. - If the type is an array use the element type of the array
  10676. - If the type is a typed list, use the type
  10677. - If the list contains an Item property that is not an object, use
  10678. that property
  10679. - use the first element of the list if there are any elements in
  10680. the list.
  10681. 2005-04-17 Jackson Harper <[email protected]>
  10682. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  10683. click. This handles offsets for scrolling properly and reduces
  10684. memory. Also fixed GetNode to not offset now that TopNode works
  10685. properly.
  10686. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  10687. 2005-04-17 Jackson Harper <[email protected]>
  10688. * CursorConverter.cs: Initial implementation.
  10689. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  10690. * ListControl.cs: work towards complex data binding support on ListControl
  10691. * CurrencyManager.cs: work towards complex data binding support on ListControl
  10692. * ListBox.cs: work towards complex data binding support on ListControl
  10693. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  10694. * GridTableStylesCollection.cs: fixes name and constructor
  10695. * DataGridTableStyle.cs: fixes
  10696. * DataGridBoolColumn.cs: fixes names and constructors
  10697. * DataGrid.cs: define methods and properties. Some init implementations
  10698. * DataGridCell.cs: define methods and properties. Some init implementations
  10699. * GridTablesFactory.cs: Define methods and properties
  10700. 2005-04-15 Geoff Norton <[email protected]>
  10701. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  10702. graphics port changes. We still want the coordinates in global screen
  10703. coordinates.
  10704. 2005-04-14 Jackson Harper <[email protected]>
  10705. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  10706. check plus minus or checkbox clicks unless those features are enabled.
  10707. 2005-04-14 Jackson Harper <[email protected]>
  10708. * TreeView.cs: Add methods for setting the top and bottom visible
  10709. nodes. TreeNode::EnsureVisible uses these methods.
  10710. * TreeNode.cs: Implement EnsureVisible
  10711. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  10712. * Form.cs: Pospone menu assignation if the window has not been created yet
  10713. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  10714. size and position
  10715. 2005-04-12 Jackson Harper <[email protected]>
  10716. * TreeView.cs: Set the TopNode properly when scrolling
  10717. occurs. This has the added benifit of reducing the amount of
  10718. walking that needs to be done when drawing. Also removed an old
  10719. misleading TODO.
  10720. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  10721. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  10722. * Timer.cs: fixes interval setting when the timer is already enabled
  10723. 2005-04-10 Alexander Olk <[email protected]>
  10724. * FolderBrowserDialog.cs: First approach
  10725. 2005-04-09 Peter Bartok <[email protected]>
  10726. * FolderBrowserDialog: Added
  10727. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  10728. * LinkLabel.cs: move drawing code into the theme
  10729. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  10730. * Theme.cs: define DrawLinkLabel method
  10731. 2005-04-05 Jackson Harper <[email protected]>
  10732. * BindingContext.cs: Use weak references so these bad actors don't
  10733. stay alive longer then they need to.
  10734. 2005-04-05 Jackson Harper <[email protected]>
  10735. * ListControl.cs: Basic implementation of complex databinding.
  10736. * ComboBox.cs:
  10737. * ListBox.cs: Add calls to ListControl databinding methods.
  10738. 2005-04-05 Alexander Olk <[email protected]>
  10739. * FileDialog.cs:
  10740. - Don't change PopupButtonState to Normal when the
  10741. PopupButton gets pressed several times.
  10742. - Renamed ButtonPanel to PopupButtonPanel
  10743. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  10744. * ColorDialog.cs: Use cached objects instead of creating them
  10745. * LinkLabel.cs: Use cached objects instead of creating them
  10746. * Splitter.cs: Use cached objects instead of creating them
  10747. * FontDialog.cs: Use cached objects instead of creating them
  10748. * PropertyGridView.cs: Use cached objects instead of creating them
  10749. * MessageBox.cs: Use cached objects instead of creating them
  10750. * FileDialog.cs: Use cached objects instead of creating them
  10751. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  10752. * TreeView.cs: Use cached objects instead of creating them
  10753. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  10754. * Control.cs: use Equals to compare the font since no == op
  10755. * ScrollBar.cs: use Equals to compare the font since no == op
  10756. 2005-04-04 Alexander Olk <[email protected]>
  10757. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  10758. 2005-04-01 Jackson Harper <[email protected]>
  10759. * Binding.cs: Implement IsBinding.
  10760. * BindingManagerBase.cs:
  10761. * PropertyManager.cs:
  10762. * CurrencyManager.cs: Add IsSuspended property.
  10763. 2005-04-01 Jackson Harper <[email protected]>
  10764. * Binding.cs: Had some IsAssignableFrom calls backwards.
  10765. 2005-04-01 Jackson Harper <[email protected]>
  10766. * Binding.cs: Handle null data members when pulling data.
  10767. * PropertyManager.cs: Handle the data member being a property that
  10768. does not exist.
  10769. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  10770. * DataGridTextBoxColumn.cs: fixes signature
  10771. * DataGrid.cs: calls right constructor
  10772. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  10773. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  10774. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  10775. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  10776. * DataGridTableStyle.cs: implements DataGridTableStyle
  10777. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  10778. * DataGridTextBox.cs: implements DataGridTextBox
  10779. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  10780. 2005-03-31 Alexander Olk <[email protected]>
  10781. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  10782. 2005-03-29 Peter Bartok <[email protected]>
  10783. * Application.cs:
  10784. - Properly implemented CompanyName property
  10785. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  10786. returns a path that includes CompanyName, ProductName and
  10787. Version (fixes bug #70330)
  10788. 2005-03-29 Stefan Buehler <[email protected]>
  10789. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  10790. fixes bug #72588.
  10791. 2005-03-28 Alexander Olk <[email protected]>
  10792. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  10793. - Added ReadOnly CheckBox
  10794. - Further refactoring: moved some code from Open-/SaveFileDialog
  10795. to FileDialog
  10796. 2005-03-28 Alexander Olk <[email protected]>
  10797. * OpenFileDialog.cs: Fixed CheckFileExists
  10798. * FileDialog.cs:
  10799. Moved FileView and DirComboBox outside FileDialog class.
  10800. They can now be used outside FileDialog
  10801. 2005-03-27 Alexander Olk <[email protected]>
  10802. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  10803. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  10804. 2005-03-27 Alexander Olk <[email protected]>
  10805. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  10806. - Added missing CreatePrompt property in SaveDialog
  10807. - Overall SaveDialog handling should be better now
  10808. - Added non standard ShowHiddenFiles property
  10809. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  10810. - Added InitialDirectory and RestoreDirectory support
  10811. 2005-03-26 Alexander Olk <[email protected]>
  10812. * FileDialog.cs: Made dirComboBox usable
  10813. 2005-03-24 Alexander Olk <[email protected]>
  10814. * FileDialog.cs: Added Filter support (case sensitiv)
  10815. 2005-03-24 Jackson Harper <[email protected]>
  10816. * TabControl.cs: Need a couple more pixels for the lines.
  10817. 2005-03-23 Jackson Harper <[email protected]>
  10818. * TabControl.cs: Give the tab page focus when it is selected.
  10819. 2005-03-23 Jackson Harper <[email protected]>
  10820. * TabControl.cs: Account for the drawing of tabs borders when
  10821. invalidating. If the slider was clicked dont do click detection on
  10822. the tabs.
  10823. 2005-03-23 Jackson Harper <[email protected]>
  10824. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  10825. 2005-03-22 Jonathan Chambers <[email protected]>
  10826. * CategoryGridEntry.cs: Added
  10827. * GridItem.cs: Added helper properties
  10828. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  10829. * GridEntry.cs: Updated code for collection
  10830. * PropertyGrid.cs: Cleaned up some formatting
  10831. * PropertyGridView.cs: Added drop down functionality for enums.
  10832. * GridItemCollection.cs: Added enumerator logic
  10833. * PropertyGridEntry.cs: Added
  10834. 2005-03-19 Alexander Olk <[email protected]>
  10835. * FileDialog.cs:
  10836. - Removed unnecessary commented code
  10837. - Fixed handling for entering the filename manually in the combobox
  10838. 2005-03-19 Alexander Olk <[email protected]>
  10839. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  10840. 2005-03-18 Peter Bartok <[email protected]>
  10841. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  10842. them being touching the border
  10843. 2005-03-18 Peter Bartok <[email protected]>
  10844. * TextControl.cs: Quick hack to center text better
  10845. 2005-03-18 Peter Bartok <[email protected]>
  10846. * ControlPaint.cs:
  10847. - Don't throw NotImplemented exceptions, just print a notice once
  10848. instead (requested by Miguel). This makes running existing SWF
  10849. apps a bit easier
  10850. * Control.cs:
  10851. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  10852. - Added context menu trigger on right click
  10853. * Panel.cs: Trigger invalidate on resize
  10854. * StatusBar.cs:
  10855. - Removed old double-buffer drawing
  10856. - Added ResizeRedraw style to force proper update of statusbar
  10857. * ListView.cs:
  10858. - Removed debug output
  10859. * ThemeWin32Classic.cs:
  10860. - Fixed drawing of status bar, now draws Text property if there
  10861. are no defined panels
  10862. 2005-03-18 Jackson Harper <[email protected]>
  10863. * ImageList.cs: When the image stream is set pull all the images
  10864. from it.
  10865. * ImageListStreamer.cs: Implement reading image list streams.
  10866. 2005-03-18 Peter Bartok <[email protected]>
  10867. * ThemeWin32Classic.cs (DrawPictureBox):
  10868. - Fixed calculations for centered drawing
  10869. - Fixed drawing for normal mode, not scaling the image on normal
  10870. 2005-03-18 Peter Bartok <[email protected]>
  10871. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  10872. textbox
  10873. * FileDialog.cs:
  10874. - Made Open/Save button the accept button for FileDialog
  10875. - Tied the cancel button to the IButtonControl cancel button
  10876. - Save/Open now properly builds the pathname
  10877. - Now handles user-entered text
  10878. - Preventing crash on right-click if no item is selected
  10879. - Fixed Text property, now uses contents of textbox
  10880. - Fixed SelectedText property, now just returns the text part that
  10881. is selected in the text box
  10882. 2005-03-18 Jackson Harper <[email protected]>
  10883. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  10884. rect, make sure to de-adjust the interior rect after drawing the
  10885. tab text.
  10886. 2005-03-18 Peter Bartok <[email protected]>
  10887. * MenuAPI.cs: Remove menu *before* executing selected action to
  10888. prevent the menu from 'hanging around'
  10889. 2005-03-17 Geoff Norton <[email protected]>
  10890. * XplatUIOSX.cs: Implemented WorkingArea property
  10891. 2005-03-17 Peter Bartok <[email protected]>
  10892. * XplatUIX11.cs: Fixed menu coord calculations
  10893. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  10894. for calculating offsets
  10895. 2005-03-17 Peter Bartok <[email protected]>
  10896. * Hwnd.cs: Do not consider menu presence for default client
  10897. rectangle location/size
  10898. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  10899. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  10900. translation functions
  10901. * FileDialog.cs: Fixed (what I presume is a) typo
  10902. 2005-03-17 Jonathan Gilbert <[email protected]>
  10903. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  10904. X access (avoids X-Async errors)
  10905. 2005-03-16 Jackson Harper <[email protected]>
  10906. * TabControl.cs: Raise the SelectedIndexChanged event.
  10907. 2005-03-16 Alexander Olk <[email protected]>
  10908. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  10909. - Removed vertical ToolBar and replaced it with a custom panel
  10910. (desktop and home button already work)
  10911. - Added Help button (some controls get resized or relocated then)
  10912. - Draw correct text depending on Open or Save.
  10913. - Fixed some typos...
  10914. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  10915. * ScrollBar.cs:
  10916. - Only change Maximum and Minimum when need it (bug fix)
  10917. 2005-03-15 Peter Bartok <[email protected]>
  10918. * Form.cs: Use Handle for icon, to trigger creation if
  10919. the window does not yet exist
  10920. * Control.cs:
  10921. - CanSelect: Slight performance improvement
  10922. - Focus(): Preventing possible recursion
  10923. - Invalidate(): Removed ControlStyle based clear flag setting
  10924. - WM_PAINT: fixed logic for calling OnPaintBackground
  10925. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  10926. EraseWindowBackground if the control doesn't paint background
  10927. * XplatUIWin32.cs:
  10928. - Moved EraseWindowBackground() method to internal methods
  10929. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  10930. is sent via SendMessage on BeginPaint call on Win32
  10931. * XplatUIX11.cs:
  10932. - Added EraseWindowBackground() method
  10933. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  10934. PaintEventStart, which more closely matches Win32 behaviour
  10935. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  10936. - Fixed SetFocus() to properly deal with client and whole windows
  10937. * Hwnd.cs: Added ErasePending property
  10938. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  10939. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  10940. 2005-03-12 Geoff Norton <[email protected]>
  10941. * XplatUIOSX.cs:
  10942. - Fix hard loop when timers exist.
  10943. - Fix bugs with middle and right click for 3 button mice.
  10944. 2005-03-11 Peter Bartok <[email protected]>
  10945. * XplatUIX11.cs:
  10946. - get_WorkingArea: Need to call X directly, GetWindowPos only
  10947. returns cached data now
  10948. - Added sanity check to GetWindowPos hwnd usage
  10949. 2005-03-11 Jackson Harper <[email protected]>
  10950. * BindingManagerBase.cs: This method isn't used anymore as
  10951. PullData now updates the data in the control.
  10952. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  10953. * Form.cs: fixes menu drawing on X11
  10954. * MenuAPI.cs: fixes menu drawing on X11
  10955. 2005-03-11 Peter Bartok <[email protected]>
  10956. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  10957. from Jonathan Gilbert; should fix bug #73606
  10958. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  10959. in Screen coordinates. Thanks, Jordi.
  10960. * Form.cs: Added missing attribute
  10961. 2005-03-11 Peter Bartok <[email protected]>
  10962. * Form.cs:
  10963. - Rudimentary Mdi support
  10964. - Removed outdated FormParent code
  10965. - Implemented lots of missing properties and methods, still missing
  10966. transparency support
  10967. - Added missing attributes
  10968. - Implemented support for MaximumBounds
  10969. - Added firing of various events
  10970. * XplatUI.cs: Added SetIcon() method
  10971. * XplatUIDriver.cs: Added SetIcon() abstract
  10972. * XplatUIOSX.cs: Stubbed out SetIcon() method
  10973. * XplatUIX11.cs:
  10974. - Implemented SetIcon() support
  10975. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  10976. - Switched to unix line endings
  10977. * XplatUIWin32.cs:
  10978. - Made POINT internal so for can access it as part of MINMAX
  10979. - Implemented SetIcon() support
  10980. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  10981. native Mdi support again, might have to go managed)
  10982. * Control.cs: Now fires the StyleChanged event
  10983. * MdiClient.cs: Added; still mostly empty
  10984. 2005-03-10 Peter Bartok <[email protected]>
  10985. * SaveFileDialog.cs: Added emtpy file
  10986. 2005-03-08 Peter Bartok <[email protected]>
  10987. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  10988. in turn triggers OnCreateContro) when creating a handle for the
  10989. first time.
  10990. * TextControl.cs: Fixed endless loop in certain cases when
  10991. replacing the current selection
  10992. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  10993. * ScrollBar.cs:
  10994. - Honors NewValue changes in Scroll events allowing apps to change it
  10995. - Adds First and Last Scroll events
  10996. - Fixes Thumb events
  10997. 2005-03-07 Peter Bartok <[email protected]>
  10998. * Hwnd.cs: Added DefaultClientRectangle property
  10999. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  11000. more detailed debug information
  11001. * XplatUIX11.cs:
  11002. - Fixed size-change feedback loop, where we would pull an old size
  11003. off the queue and mistakenly change our window's size to an
  11004. earlier value
  11005. - Now compressing ConfigureNotify events, to reduce looping and
  11006. redraw issues
  11007. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  11008. is called
  11009. 2005-03-07 Jackson Harper <[email protected]>
  11010. * Binding.cs: Push data pushes from data -> property. Check if the
  11011. property is readonly when attempting to set it.
  11012. 2005-03-07 Jackson Harper <[email protected]>
  11013. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  11014. instead of IsSubclassOf. Pulling data now sets the value on the
  11015. control.
  11016. * PropertyManager.cs:
  11017. * CurrencyManager.cs: Just need to pull data when updating now,
  11018. because PullData will set the value on the control.
  11019. 2005-03-04 Jackson Harper <[email protected]>
  11020. * Binding.cs: Implement data type parsing and converting on pulled
  11021. data. TODO: Are there more ways the data can be converted?
  11022. 2005-03-04 Jackson Harper <[email protected]>
  11023. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  11024. controls Validating method so we can repull the data when the
  11025. control loses focus.
  11026. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  11027. * ColumnHeader.cs:
  11028. - Fixes null string format
  11029. * ListView.cs:
  11030. - Adds enum type checks
  11031. - Fixes redrawing and recalc need after changing some properties
  11032. - Fixes on focus_item set after the event
  11033. - Fixes adding columns after the control has been created
  11034. * ThemeWin32Classic.cs:
  11035. - Fixes CheckBox focus rectangle
  11036. - Fixes ColumnHeader drawing
  11037. 2005-03-03 Jackson Harper <[email protected]>
  11038. * Binding.cs: Bind to <Property>Changed events so we can detect
  11039. when properties are changed and update the data.
  11040. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  11041. * ImageList.cs:
  11042. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  11043. - Fixes ImageList constructor with ImageList container
  11044. - Fixes image scaling (wrong parameters at DrawImage)
  11045. 2005-02-02 Jackson Harper <[email protected]>
  11046. * Binding.cs: Make property searches case-insensitive. Eliminate
  11047. some duplicated code.
  11048. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  11049. * ComboBox.cs:
  11050. - Handle focus event
  11051. - Fix scrollbar events
  11052. - Discard highlighted item if remove it
  11053. - Fixes SelectedItem with strings
  11054. 2005-03-01 Peter Bartok <[email protected]>
  11055. * Control.cs:
  11056. - Fixed Visible property, now follows (once again) parent chain
  11057. to return false if any control in the chain is visible=false
  11058. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  11059. - Fixed several places where is_visible instead of Visible was used
  11060. - Implemented FIXME related to focus selection when setting focused
  11061. control to be invisible
  11062. * XplatUIWin32.cs: Now using proper method to find out if window is
  11063. visible. Thanks to Jordi for pointing it out
  11064. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  11065. * ComboBox.cs: show/hide scrollbar instead of creating it
  11066. 2005-02-27 Jackson Harper <[email protected]>
  11067. * CurrencyManager.cs: Add PositionChanged stuff.
  11068. 2005-02-27 Peter Bartok <[email protected]>
  11069. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  11070. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  11071. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  11072. * XplatUIX11.cs:
  11073. - Implemented GetMenuDC()
  11074. - Implemented GetMenuOrigin()
  11075. - Implemented ReleaseMenuDC()
  11076. - Implemented generation of WM_NCPAINT message
  11077. - Implemented generation and handling of WM_NCCALCSIZE message
  11078. * Form.cs: Added debug helper message for Jordi's menu work
  11079. * Hwnd.cs:
  11080. - Modified ClientRect property; added setter, fixed getter to handle
  11081. setting of ClientRect
  11082. - Added MenuOrigin property
  11083. 2005-02-26 Peter Bartok <[email protected]>
  11084. * XplatUIX11.cs:
  11085. - Destroys the caret if a window that's being destroyed contains it
  11086. - Ignores expose events coming from the X11 queue for windows that
  11087. already are destroyed
  11088. - Now uses the proper variable for handling DestroyNotify, before we
  11089. marked the wrong window as destroyed
  11090. - Improved/added some debug output
  11091. 2005-02-26 Peter Bartok <[email protected]>
  11092. * X11Keyboard.cs: Fixes to work on 64bit systems
  11093. 2005-02-26 Peter Bartok <[email protected]>
  11094. * Control.cs:
  11095. - Now calling OnHandleDestroyed from DestroyHandle()
  11096. instead of Dispose()
  11097. - Removed bogus call to controls.Remove() from DestroyHandle()
  11098. 2005-02-26 Peter Bartok <[email protected]>
  11099. * Control.cs: Properly destroy child windows when our handle is
  11100. destroyed
  11101. 2005-02-25 Peter Bartok <[email protected]>
  11102. * XplatUI.cs:
  11103. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  11104. - Alphabetized Static Methods and Subclasses
  11105. * XplatUIX11.cs:
  11106. - Added XException class to allow custom handling of X11 exceptions
  11107. - Created custom X11 error handler, tied into XException class
  11108. - Added support for MONO_XEXCEPTIONS env var to allow the user
  11109. to either throw an exception on X errors or continue running
  11110. after displaying the error
  11111. - Added handling of DestroyNotify message
  11112. - Added handler for CreateNotify message (still disabled)
  11113. - Improved (tried to at least) Where method to provide file and lineno
  11114. * X11Structs.cs:
  11115. - Added XErrorHandler delegate
  11116. - Added XRequest enumeration (to suppor translation of errors)
  11117. 2005-02-25 Jackson Harper <[email protected]>
  11118. * PropertyManager.cs: Implement editing features
  11119. * CurrencyManager.cs:
  11120. * Binding.cs: First attempt at UpdateIsBinding
  11121. * BindingManagerBase.cs: Call UpdateIsBinding before
  11122. pushing/pulling data.
  11123. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  11124. * MenuAPI.cs: Respect disabled items
  11125. * ThemeWin32Classic.cs
  11126. - Caches ImageAttributes creation for DrawImageDisabled
  11127. - Fixes vertical menu line drawing
  11128. - Draws disabled arrows in disable menu items
  11129. 2005-02-24 Peter Bartok <[email protected]>
  11130. * Hwnd.cs:
  11131. - Added UserData property to allow associating arbitrary objects
  11132. with the handle
  11133. - Fixed leak; now removing Hwnd references from static windows array
  11134. * XplatUIWin32.cs:
  11135. - Fixed Graphics leak in PaintEventEnd
  11136. - Removed usage of HandleData, switched over to Hwnd class
  11137. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  11138. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  11139. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  11140. * ScrollBar.cs: Fixes bug
  11141. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  11142. keyboard navigation enhancements
  11143. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  11144. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  11145. * GroupBox.cs: Add control styles
  11146. * Label.cs: Add control styles
  11147. * UpDownBase.cs: Add control styles
  11148. * ListBox.cs: Add control styles
  11149. * XplatUIWin32.cs: Fixes wrong parameter order
  11150. 2005-02-23 Chris Bacon <[email protected]>
  11151. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  11152. 2005-02-23 Jackson Harper <[email protected]>
  11153. * PropertyManager.cs: Implement property binding. This doesn't
  11154. seem to work yet though as (I think) there are some bugs in
  11155. System.ComponentModel.PropertyDescriptor.
  11156. * BindingContext.cs: Use new PropertyManager constructor.
  11157. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  11158. * ProgressBar.cs: use clip region in ProgressBar
  11159. * ThemeWin32Classic.cs: use clip region in ProgressBar
  11160. 2004-02-22 Jackson Harper <[email protected]>
  11161. * BindingsCollection.cs: Remove some debug code.
  11162. 2005-02-22 Jackson Harper <[email protected]>
  11163. * BindingContext.cs:
  11164. * ControlBindingsCollection.cs:
  11165. * CurrencyManager.cs:
  11166. * Binding.cs:
  11167. * BindingManagerBase.cs: Initial implementation
  11168. * BindingsCollection.cs: Add an internal contains method that the
  11169. BindingManagerBase uses to ensure bindings aren't added twice to
  11170. the collection.
  11171. * PropertyManager.cs: Stubbed out.
  11172. * Control.cs:
  11173. * ContainerControl.cs: Hook up databinding
  11174. 2005-02-22 Geoff Norton <[email protected]>
  11175. * XplatUIOSX.cs:
  11176. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  11177. Fixed Invalidate/Update chain.
  11178. Fixed tons of other minor bugs (this is almost a complete rewrite).
  11179. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  11180. * ComboBox.cs: do subcontrol creation when the control is created
  11181. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  11182. * Label.cs: fixes image drawing (image and imagelist)
  11183. * ThemeWin32Classic.cs: cache brushes
  11184. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  11185. * Form.cs: Move menu drawing code to Theme class
  11186. * ComboBox.cs: Move ComboBox drawing code to Theme class
  11187. * MenuItem.cs: Move menu drawing code to Theme class
  11188. * MenuAPI.cs: Move menu drawing code to Theme class
  11189. * ThemeWin32Classic.cs: New methods
  11190. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  11191. * ListBox.cs: Move Listbox drawing code to Theme class
  11192. * Theme.cs: New methods
  11193. 2005-02-20 Peter Bartok <[email protected]>
  11194. * Control.cs:
  11195. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  11196. only process mnemonics on those)
  11197. - Fixed event sequence for key handling; first calling
  11198. ProcessKeyEventArgs now
  11199. * TextBoxBase.cs:
  11200. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  11201. for processing non-character keys
  11202. - Fixed WM_CHAR to generate proper event sequence before processing
  11203. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  11204. generation
  11205. 2005-02-19 Peter Bartok <[email protected]>
  11206. * UserControl.cs: Added TextChanged event; added attributes
  11207. * SizeGrip.cs: Implemented resizing and optional display of grip
  11208. * Form.cs: Fixed attribute
  11209. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  11210. Changed meaning of ScrollWindow bool argument; instead of the
  11211. clear attribute (which will be true usually anyway), it gives the
  11212. option of moving child controls as well.
  11213. * XplatUIX11.cs:
  11214. - Changed to match new ScrollWindow argument
  11215. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  11216. now handles the implicit parent window a WM puts around us
  11217. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  11218. to work)
  11219. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  11220. * TreeView.cs: Adjusted to new ScrollWindow arguments
  11221. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  11222. * Form.cs: Menu integration with non-client area
  11223. * MenuItem.cs: Menu integration with non-client area
  11224. * MenuAPI.cs: Menu integration with non-client area
  11225. 2005-02-18 Peter Bartok <[email protected]>
  11226. * MethodInvoker.cs: Added
  11227. * MdiLayout.cs: Added
  11228. * SendKeys.cs: Started implementation
  11229. * ErrorIconAlignment.cs: Added
  11230. 2005-02-18 Peter Bartok <[email protected]>
  11231. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  11232. * Form.cs: Added handling for Menu-related Non-client messages
  11233. 2005-02-17 Peter Bartok <[email protected]>
  11234. * UpDownBase.cs: Fixed typo, compilation errors
  11235. * DomainUpDown.cs: Fixed attribute value
  11236. 2005-02-16 Miguel de Icaza <[email protected]>
  11237. * UpDownBase.cs: Attach entry events.
  11238. Propagate events.
  11239. Add ForeColor property, Focused, InterceptArrowKeys (interception
  11240. does not work yet).
  11241. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  11242. * Form.cs:
  11243. - Redraw non client are on Setmenu
  11244. - Calc proper menu starting point
  11245. 2005-02-17 Peter Bartok <[email protected]>
  11246. * Application.cs: Fixed message_filter check
  11247. 2005-02-17 Peter Bartok <[email protected]>
  11248. * Application.cs: Now calls registered message filters
  11249. * DockStyle.cs: Fixed attribute
  11250. * Form.cs: Fixed attribute
  11251. * Menu.cs: Fixed attribute
  11252. * ToolTip.cs: Fixed attribute
  11253. * TreeNode.cs: Added missing attributes and arranged in regions
  11254. * PropertyGrid.cs: Fixed signatures
  11255. * TreeNodeCollection.cs: Added attributes
  11256. * Splitter.cs: Added missing attributes; arranged into regions
  11257. * TabPage.cs: Added missing attributes; arranged into regions
  11258. * TextBoxBase.cs: Added missing attributes
  11259. * TextBox.cs: Added missing attributes
  11260. * ArrangeDirection.cs: Added missing attributes
  11261. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  11262. * ToolBarButton.cs: Fixed attributes
  11263. * AnchorStyles.cs: Fixed attribute
  11264. * TrackBar.cs: Fixed attributes
  11265. * TabControl.cs: Added missing attributes and arranged into regions
  11266. * ToolBar.cs: Fixed attribute
  11267. * StatusBar.cs: Fixed signature, organized into regions and added
  11268. attributes
  11269. * StatusBarPanel.cs: Fixed attributes
  11270. * ContentsResizedEventArgs.cs: Implemented
  11271. * ContentsResizedEventHandler.cs: Implemented
  11272. * DateBoldEventArgs.cs: Implemented
  11273. * DateBoldEventHandler.cs: Implemented
  11274. * UpDownEventArgs.cs: Implemented
  11275. * UpDownEventHandler.cs: Implemented
  11276. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  11277. * Form.cs: first Menu NC refactoring
  11278. * MenuAPI.cs: first Menu NC refactoring
  11279. 2005-02-16 Peter Bartok <[email protected]>
  11280. * ImeMode.cs: Added missing attributes
  11281. * Menu.cs: Fixed attribute
  11282. * GroupBox.cs: Fixed attribute
  11283. * Label.cs: Fixed attribute
  11284. * ColorDialog.cs (RunDialog): Removed TODO attribute
  11285. * ComboBox.cs: Fixed attributes
  11286. * ListControl.cs: Added missing attributes
  11287. * PropertyGrid.cs: Fixed attributes
  11288. * Control.cs: Fixed attributes
  11289. * ListViewItem.cs: Added TypeConverter attribute
  11290. * NotifyIcon.cs: Fixed attributes
  11291. * ListView.cs: Fixed attributes
  11292. * ButtonBase.cs: Fixed attribute
  11293. * ImageList.cs: Added missing attributes
  11294. * ContainerControl.cs: Fixed signature
  11295. * CheckedListBox.cs: Fixed attribute; added missing attributes
  11296. * Panel.cs: Fixed attributes
  11297. * PropertyTabChangedEventArgs.cs: Added missing attribute
  11298. * PropertyValueChangedEventArgs.cs: Added missing attribute
  11299. * Binding.cs: Fixed attribute
  11300. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  11301. * ListBox.cs: Fixed attribute; added missing attributes;
  11302. * ScrollableControl.cs: Added missing attributes
  11303. * PictureBox.cs: Added missing attributes; implemented missing property
  11304. * DateTimePicker.cs: Added missing attributes
  11305. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  11306. * MonthCalendar.cs: Fixed attributes
  11307. * StatusBarPanel.cs: Added missing attributes
  11308. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  11309. 2005-02-16 Peter Bartok <[email protected]>
  11310. * TextBoxBase.cs: The previous method to enforce height yet remember
  11311. the requested high was less than ideal, this is an attempt to do
  11312. it better.
  11313. * Control.cs: Added comment about possible problem
  11314. * Copyright: Updated format
  11315. * GridItemType.cs: Fixed swapped values
  11316. 2005-02-15 Jackson Harper <[email protected]>
  11317. * BaseCollection.cs: Use property so we never access an
  11318. uninitialized list. Also initialize the list in the property.
  11319. 2005-02-15 Peter Bartok <[email protected]>
  11320. * GroupBox.cs (ProcessMnemonic): Implemented
  11321. * Label.cs (ProcessMnemonic): Implemented
  11322. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  11323. hotkeys
  11324. 2005-02-15 Peter Bartok <[email protected]>
  11325. * RadioButton.cs (ProcessMnemonic): Implemented
  11326. * CheckBox.cs (ProcessMnemonic): Implemented
  11327. * Control.cs:
  11328. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  11329. handling
  11330. - Added internal method to allow calling ProcessMnemonic from other
  11331. controls
  11332. * ContainerControl.cs:
  11333. - Started support for handling validation chain handling
  11334. - Implemented ProcessMnemonic support
  11335. - Added Select() call to Active, to make sure the active control
  11336. receives focus
  11337. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  11338. FormParent rewrite)
  11339. * ThemeWin32Classic.cs:
  11340. - DrawCheckBox(): Fixed stringformat to show hotkeys
  11341. - DrawRadioButton(): Fixed stringformat to show hotkeys
  11342. * CommonDialog.cs: Removed WndProc override, not needed
  11343. 2005-02-14 Peter Bartok <[email protected]>
  11344. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  11345. missed those in the rewrite
  11346. 2005-02-14 Miguel de Icaza <[email protected]>
  11347. * NumericUpDown.cs (Increment, ToString): Add.
  11348. (DecimalPlaces): implement.
  11349. Add attributes.
  11350. * UpDownBase.cs: Add the designer attributes.
  11351. 2005-02-13 Peter Bartok <[email protected]>
  11352. * Panel.cs: Removed border_style, now in Control
  11353. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  11354. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  11355. 2005-02-13 Peter Bartok <[email protected]>
  11356. * MouseButtons.cs: Added missing attributes
  11357. * XplatUIStructs.cs: Added enumeration for title styles
  11358. * LeftRightAlignment.cs: Added missing attributes
  11359. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  11360. it compatible with Graphics.FromHwnd()
  11361. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  11362. * Keys.cs: Added missing attributes
  11363. * SelectionRange.cs: Added missing attributes
  11364. * SelectionRangeConverter.cs: Added
  11365. * XplatUI.cs:
  11366. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  11367. ReleaseMenuDC methods
  11368. - Renamed ReleaseWindow to UngrabWindow
  11369. - Added proper startup notice to allow version identification
  11370. * Form.cs:
  11371. - Added missing attributes
  11372. - Removed FormParent concept
  11373. * Label.cs: Removed border_style field, now in Control
  11374. * RadioButton.cs: Now properly selects RadioButton when focus is
  11375. received
  11376. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  11377. * Control.cs:
  11378. - Added missing attributes
  11379. - Added borderstyle handling
  11380. - Removed FormParent concept support
  11381. - Fixed calls to XplatUI to match changed APIs
  11382. - Fixed bug that would case us to use disposed Graphics objects
  11383. - Removed unneeded internal methods
  11384. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  11385. - SelectNextControl(): Fixed to properly check common parents
  11386. * TextBoxBase.cs: Removed border_style field (now in Control)
  11387. * MessageBox.cs:
  11388. - Patch by Robert Thompson ([email protected]): Added icon support,
  11389. fixed calculations for form size
  11390. - Added support for localized strings and icons
  11391. - Improved form size calculations, added border
  11392. * ListView.cs: Removed border_style field (now in Control)
  11393. * X11Structs.cs: Moved several structs from X11 driver here
  11394. * X11Keyboard.cs: Changed debug message
  11395. * Application.cs: Removed FormParent concept support
  11396. * CommonDialog.cs:
  11397. - Resetting end_modal flag
  11398. - Removed FormParent concept support
  11399. * NativeWindow.cs: Removed FormParent concept support
  11400. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  11401. Client area and Non-Client whole window to allow support for WM_NC
  11402. messages
  11403. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  11404. prevent using it until it supports Hwnd as per Geoff Norton's request
  11405. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  11406. * PictureBox.cs: Removed border_style field, now in Control
  11407. * XplatUIWin32.cs: Added new driver methods
  11408. 2005-02-12 Peter Bartok <[email protected]>
  11409. * OpacityConverter.cs: Implemented
  11410. * Hwnd.cs: Internal class to support drivers that need to emulate
  11411. client area/non-client area window behaviour
  11412. 2005-02-11 Peter Bartok <[email protected]>
  11413. * KeysConverter.cs: Implemented
  11414. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  11415. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  11416. * LinkLabel: Added missing attributes
  11417. * MainMenu.cs: fixes ToString
  11418. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  11419. * ListBox.cs: fixes event position
  11420. * TrackBar.cs: adds missing attributes and events
  11421. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  11422. * MenuItem.cs: Use SystemInformation and bug fixes
  11423. * MenuAPI.cs: Use SystemInformation and bug fixes
  11424. 2005-02-09 Jackson Harper <[email protected]>
  11425. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  11426. their keystate otherwise things like VK_MENU get stuck "on".
  11427. 2005-02-09 Kazuki Oikawa <[email protected]>
  11428. * ListBox.cs: Fixes AddRange bug
  11429. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  11430. * ProgressBar.cs
  11431. - Add missing attributes
  11432. - Add missing method
  11433. * CheckedListBox.cs: Added missing attributes
  11434. - Add missing attributes
  11435. - Remove extra method
  11436. * ComboBox.cs: Added missing attributes
  11437. * VScrollBar.cs: Added missing attributes
  11438. * ScrollBar.cs: Added missing attributes
  11439. * ListBox.cs: Fixes signature, add missing consts
  11440. * LinkArea.cs: Added missing attributes
  11441. 2005-02-08 Peter Bartok <[email protected]>
  11442. * Menu.cs: Added missing attributes
  11443. * MainMenu.cs: Added missing attributes
  11444. * GroupBox.cs: Added missing attributes
  11445. * Label.cs: Added missing attributes
  11446. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  11447. * ColorDialog.cs:
  11448. - Added Instance and Options properties
  11449. - Added missing attributes
  11450. * Cursor.cs: Made Serializable
  11451. * NotifyIcon: Added missing attributes
  11452. * MenuItem.cs: Added missing attributes
  11453. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  11454. * Panel.cs: Added Missing attributes
  11455. * MonthCalendar.cs: Fixed CreateParams
  11456. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  11457. * LinkLabel.cs:
  11458. - Fixes signature
  11459. - Fixes issues with links
  11460. - Adds the class attributes
  11461. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  11462. * ComboBox.cs:
  11463. - Fixes button when no items available in dropdown
  11464. - Fixes repainting problems
  11465. - Adds the class attributes
  11466. 2005-02-07 Geoff Norton <[email protected]>
  11467. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  11468. the current theme. Cache these on startup.
  11469. 2005-02-07 Jackson Harper <[email protected]>
  11470. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  11471. the scrollbar buttons when they are depressed.
  11472. 2005-02-07 Geoff Norton <[email protected]>
  11473. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  11474. Get the display size from the main displayid. We currently dont
  11475. support multiple display configurations.
  11476. 2005-02-07 Geoff Norton <[email protected]>
  11477. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  11478. 2005-02-07 Miguel de Icaza <[email protected]>
  11479. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  11480. 2005-02-05 Jonathan Chambers <[email protected]>
  11481. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  11482. 2005-02-04 Jackson Harper <[email protected]>
  11483. * ThemeWin32Classic.cs: Respect the clipping rect when
  11484. drawing. Only fill the intersection of clips and rects so there
  11485. isn't a lot of large fills.
  11486. * ScrollBar.cs: Pass the correct clipping rect to the theme
  11487. engine. Remove some debug code.
  11488. 2005-02-05 John BouAntoun <[email protected]>
  11489. * DateTimePicker.cs:
  11490. - Fixed crash on DateTime.Parse, use Constructor instead
  11491. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  11492. * MenuItem.cs:
  11493. * MenuAPI.cs:
  11494. - Owner draw support (MeasureItem and DrawItem)
  11495. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  11496. * Menu.cs:
  11497. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  11498. - Fixes MenuItems.Add range
  11499. * MenuItem.cs:
  11500. - MergeMenu and Clone and CloneMenu functions
  11501. 2005-02-03 Jackson Harper <[email protected]>
  11502. * ScrollBar.cs: Make abstract
  11503. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  11504. is abstract.
  11505. 2005-02-03 Jackson Harper <[email protected]>
  11506. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  11507. all the unneeded refreshes and uses invalidates with properly
  11508. computed rects.
  11509. 2005-02-03 Peter Bartok <[email protected]>
  11510. * ComponentModel.cs: Added
  11511. * IDataGridEditingService.cs: Added
  11512. * Timer.cs: Added missing attributes
  11513. * ToolTip.cs: Added missing attributes
  11514. 2005-02-03 Jonathan Chambers <[email protected]>
  11515. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  11516. 2005-02-03 Peter Bartok <[email protected]>
  11517. * ListBox.cs: Added missing attributes
  11518. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  11519. * ListBox.cs:
  11520. - Fixes font height after font change
  11521. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  11522. 2005-02-02 Peter Bartok <[email protected]>
  11523. * HandleData.cs: Introduced static methods to allow class
  11524. to be more self-contained and track it's own HandleData objects
  11525. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  11526. HandleData to use new static methods
  11527. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  11528. * Combobox.cs:
  11529. - Fixes default size and PreferredHeight
  11530. - Missing events
  11531. - ObjectCollection.Insert implementation
  11532. * ListControl.cs
  11533. - Fixes signature
  11534. * ListBox.cs:
  11535. - Several fixes
  11536. - ObjectCollection.Insert implementation
  11537. - No selection after clean
  11538. - Small fixes
  11539. 2005-01-31 John BouAntoun <[email protected]>
  11540. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  11541. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  11542. * Combobox.cs:
  11543. - Caches ItemHeight calculation for OwnerDrawVariable
  11544. - Handles dropdown properly
  11545. - Fixes several minor bugs
  11546. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  11547. * ListBox.cs:
  11548. - Fixes 71946 and 71950
  11549. - Fixes changing Multicolumn on the fly
  11550. - Fixes keyboard navigation on Multicolumn listboxes
  11551. 2005-01-31 Geoff Norton <[email protected]>
  11552. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  11553. crash reporter log.
  11554. 2005-01-31 Geoff Norton <[email protected]>
  11555. * XplatUIOSX.cs: Allow applications to actually exit.
  11556. 2005-01-31 Geoff Norton <[email protected]>
  11557. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  11558. their parent at creation time rather than lazily later. Fixes a major
  11559. regression we were experiencing.
  11560. 2005-01-31 John BouAntoun <[email protected]>
  11561. * ThemeWin32Classic.cs: more date time picker painting fixes
  11562. * DateTimePicker.cs: more monthcalendar drop down fixes
  11563. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  11564. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  11565. * ScrollBar.cs:
  11566. - When moving the thumb going outside the control should stop the moving
  11567. - Adds the firing of missing events
  11568. - Fixes no button show if Size is not specified
  11569. - End / Home keys for keyboard navigation
  11570. 2005-01-30 Peter Bartok <[email protected]>
  11571. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  11572. sanity check to prevent theoretical loop
  11573. * XplatUIWin32.cs (SetVisible): Removed debug output
  11574. * XplatUIX11.cs (SystrayChange): Added sanity check
  11575. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  11576. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  11577. behaviour, valid until the X11 client window rewrite is done
  11578. * TextBox.cs (ctor): Setting proper default foreground and background
  11579. colors
  11580. 2005-01-30 John BouAntoun <[email protected]>
  11581. * Theme: Added DrawDateTimePicker to interface
  11582. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  11583. * DateTimePicker.cs: Created (still needs keys and painting code)
  11584. * DateTimePickerFormat.cs: added
  11585. * MonthCalendar.cs: fixed CreateParams for popup window mode
  11586. 2005-01-29 Peter Bartok <[email protected]>
  11587. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  11588. this should also the calculations for ligher/darker
  11589. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  11590. 2005-01-29 Peter Bartok <[email protected]>
  11591. * ArrangeDirection.cs: Added
  11592. * ArrangeStartingPositon.cs: Added
  11593. * SystemInformation.cs: Implemented
  11594. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  11595. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  11596. used by SystemInformation class
  11597. * X11Strucs.cs: Added XSizeHints structure
  11598. * MenuAPI.cs:
  11599. - Fixed CreateParams to make sure the menu window is always visible
  11600. - TrackPopupMenu: Added check to make sure we don't draw the
  11601. menu offscreen
  11602. 2005-01-29 Peter Bartok <[email protected]>
  11603. * HandleData.cs: Added method for altering invalid area
  11604. * TextBoxBase.cs: Implemented TextLength
  11605. 2005-01-28 Peter Bartok <[email protected]>
  11606. * XplatUIX11.cs: Improvement over last patch, not sending
  11607. the WM_PAINT directly anymore, instead we scroll any pending
  11608. exposed areas and let the system pick out the WM_PAINT later
  11609. 2005-01-28 Peter Bartok <[email protected]>
  11610. * SWF.csproj: Deleted, no longer used. Instead,
  11611. Managed.Windows.Forms/SWF.csproj should be used
  11612. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  11613. directly, to avoid a potential race condition with the next
  11614. scroll
  11615. 2005-01-28 Peter Bartok <[email protected]>
  11616. * XplatUI.cs: Made class internal
  11617. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  11618. * CheckedListBox.cs:
  11619. - Draw focus
  11620. - Fixed Drawing
  11621. - Missing methods and events
  11622. 2005-01-27 Peter Bartok <[email protected]>
  11623. * Application.cs (Run): Don't use form if we don't have one
  11624. 2005-01-27 Peter Bartok <[email protected]>
  11625. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  11626. 2005-01-27 Peter Bartok <[email protected]>
  11627. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  11628. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  11629. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  11630. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  11631. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  11632. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  11633. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  11634. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  11635. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  11636. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  11637. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  11638. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  11639. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  11640. * Combobox.cs:
  11641. - Draw focus on Simple Combobox
  11642. - Fixes drawing issues
  11643. - fixes 71834
  11644. 2005-01-27 Peter Bartok <[email protected]>
  11645. * Form.cs:
  11646. - Place window in default location, instead of hardcoded 0/0
  11647. - Send initial LocationChanged event
  11648. * Control.cs:
  11649. - UpdateBounds after creation to find out where the WM placed us
  11650. - Make sure that if the ParentForm changes location the Form
  11651. is notified
  11652. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  11653. to the root, but to whatever the WM placed around us.
  11654. Translate to root coordinates before returning toplevel
  11655. coordinates
  11656. * XplatUIWin32.cs: Removed debug output
  11657. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  11658. flag to GetWindowPos, to allow translation of coordinates on X11
  11659. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  11660. * ListBox.cs: connect LostFocus Event
  11661. 2005-01-27 Peter Bartok <[email protected]>
  11662. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  11663. XplatUIX11.cs: Extended the Systray API
  11664. * Form.cs: Removed debug output
  11665. * Application.cs: Fixed focus assignment, always need to call
  11666. XplatUI.Activate() since Form.Activate() has rules that may
  11667. prevent activation
  11668. * NotifyIcon.cs: Should be complete now
  11669. * ToolTip.cs: Worked around possible timer bug
  11670. 2005-01-27 Jackson Harper <[email protected]>
  11671. * TabControl.cs:
  11672. - Only invalidate the effected tabs when the
  11673. selected index changes. This reduces drawing and gets rid of some
  11674. flicker.
  11675. - Only refresh if the tabs need to be shifted, otherwise only
  11676. invalidate the slider button.
  11677. - On windows the tabs are not filled to right if the slider is
  11678. visible.
  11679. 2005-01-27 Jackson Harper <[email protected]>
  11680. * TabControl.cs: Only refresh on mouseup if we are showing the
  11681. slider. Also only invalidate the button whose state has changed.
  11682. 2005-01-26 Peter Bartok <[email protected]>
  11683. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  11684. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  11685. and SystrayRemove() methods
  11686. * XplatUIOSX.cs: Stubbed Systray methods
  11687. * XplatUIX11.cs:
  11688. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  11689. methods
  11690. - Fixed broken XChangeProperty calls (marshalling messed up things)
  11691. * X11Structs.cs: Added enums and structs required for Size hinting
  11692. * NotifyIcon.cs: Added & implemented
  11693. 2005-01-26 Jackson Harper <[email protected]>
  11694. * TabControl.cs: Space vertically layed out tabs properly.
  11695. 2005-01-26 Peter Bartok <[email protected]>
  11696. * Form.cs (CreateClientParams): Always set the location to 0,0
  11697. since we're a child window.
  11698. * Control.cs (SetVisibleCore): Always explicitly setting the location
  11699. of a toplevel window, apparently X11 doesn't like to move windows
  11700. while they're not mapped.
  11701. 2005-01-26 Jackson Harper <[email protected]>
  11702. * TabControl.cs: Implement FillToRight size mode with vertically
  11703. rendered tabs.
  11704. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  11705. * ControlPaint.cs, ThemeWin32Classic.cs
  11706. - Fixes DrawFocusRectangle
  11707. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  11708. * MenuAPI.cs:
  11709. - MenuBar tracking only starts when item is first clicked
  11710. - Fixes menu hidding for multiple subitems
  11711. - Unselect item in MenuBar when item Executed
  11712. - Fixes bug 71495
  11713. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  11714. * ListControl.cs:
  11715. - IsInputKey for ListBox
  11716. * ListBox.cs:
  11717. - Focus item
  11718. - Shift and Control item selection
  11719. - Implement SelectionMode.MultiExtended
  11720. - Fixes RightToLeft
  11721. * ComboBox.cs:
  11722. - IsInputKey implemented
  11723. - Do not generate OnTextChangedEdit on internal txt changes
  11724. 2005-01-23 Peter Bartok <[email protected]>
  11725. * AccessibleObject.cs: Partially implemented Select()
  11726. * MonthCalendar.cs: Added missing attributes and events
  11727. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  11728. form can properly override CreateParams.
  11729. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  11730. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  11731. Control performs Invalidate & Update
  11732. * NativeWindow (CreateHandle): Added special handling for Form
  11733. and Form.FormParent classes to allow overriding of From.CreateParams
  11734. * Control.cs:
  11735. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  11736. name 'owner'
  11737. - ControlNativeWindow: Added Owner property
  11738. - Removed usage of Refresh() on property changes, changed into
  11739. Invalidate(), we need to wait until the queue is processed for
  11740. updates, direct calls might cause problems if not all vars for
  11741. Paint are initialized
  11742. - Added call to UpdateStyles() when creating the window, to set any
  11743. styles that CreateWindow might have ignored.
  11744. - Added support for Form CreateParent overrides to UpdateStyles()
  11745. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  11746. CreateParams are now properly overridable
  11747. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  11748. CreateParams are now properly overridable
  11749. 2005-01-23 Miguel de Icaza <[email protected]>
  11750. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  11751. OnTextBoxChanged.
  11752. Capture LostFocus and OnTextBoxChanged. The later introduces a
  11753. recursive invocation that I have not figured out yet.
  11754. Reset the timer when not using (it was accumulating).
  11755. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  11756. user has made changes that require validation.
  11757. Reset changing to avoid loops.
  11758. 2005-01-22 Miguel de Icaza <[email protected]>
  11759. * NumericUpDown.cs: Display value at startup.
  11760. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  11761. ValidateEditText.
  11762. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  11763. filled in. Added some basic parsing of text.
  11764. Still missing the OnXXX method overrides, and figuring out the
  11765. events that must be emitted.
  11766. * UpDownBase.cs: Handle UserEdit on the Text property.
  11767. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  11768. * ComboBox.cs:
  11769. - Fixes IntegralHeight
  11770. - ToString method
  11771. 2005-01-21 Jackson Harper <[email protected]>
  11772. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  11773. is set so that the page visibility is updated and the tabs are
  11774. sized correctly.
  11775. 2005-01-21 Jackson Harper <[email protected]>
  11776. * TabControl.cs: Use cliping rectangle for blitting. Give the
  11777. theme the clipping rect so we can do clipping while
  11778. drawing. Remove some debug code.
  11779. 2005-01-21 Jackson Harper <[email protected]>
  11780. * TabPage.cs: Add a new method so tab pages can force the tab
  11781. control to recalculate the tab page sizes.
  11782. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  11783. sizes.
  11784. 2005-01-20 Jackson Harper <[email protected]>
  11785. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  11786. 2005-01-20 Jackson Harper <[email protected]>
  11787. * TreeView.cs: Set the bounds for nodes properly. They were
  11788. getting screwed up when checkboxes were not enabled, but images
  11789. were.
  11790. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  11791. * ListBox.cs:
  11792. - Owner draw support
  11793. - Fixes
  11794. 2005-01-20 Jackson Harper <[email protected]>
  11795. * XplatUIStructs.cs: More misc keys
  11796. * X11Keyboard.cs: Ignore some control keys.
  11797. 2005-01-20 Jackson Harper <[email protected]>
  11798. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  11799. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  11800. 2005-01-19 Peter Bartok <[email protected]>
  11801. * Control.cs: Un-selecting the control when it is loosing focus
  11802. 2005-01-19 Jackson Harper <[email protected]>
  11803. * TreeView.cs: Hook up to the text controls leave event so we can
  11804. end editing when the users clicks outside the text box.
  11805. 2005-01-19 Jackson Harper <[email protected]>
  11806. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  11807. get set in the conversion array.
  11808. 2005-01-19 Peter Bartok <[email protected]>
  11809. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  11810. focus is properly set
  11811. * Button.cs:
  11812. - Added missing attributes
  11813. - removed styles, those are already set in the base class
  11814. * ButtonBase.cs:
  11815. - Added missing attributes
  11816. - Added clip window styles
  11817. * CheckBox.cs: Added missing attributes
  11818. * CommonDialog.cs:
  11819. - FormParentWindow.CreateParams: Added required clip styles
  11820. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  11821. also filters modifier keys
  11822. * MessageBox.cs:
  11823. - Added assignment of Accept and Cancel button to enable Enter
  11824. and Esc keys in MessageBox dialogs
  11825. - FormParentWindow.CreateParams: Added required clip styles
  11826. * RadioButton.cs: Added missing attributes
  11827. * TextControl.cs: No longer draws selection if control does not
  11828. have focus
  11829. * TextBoxBase.cs:
  11830. - Now draws simple rectangle around test area to make it obvious
  11831. there's a control. This is a hack until we properly support borders
  11832. - A few simple fixes to support selections better, now erases selected
  11833. text when typing, and resets selection when using movement keys
  11834. 2005-01-19 Miguel de Icaza <[email protected]>
  11835. * UpDownBase.cs: Added some new properties.
  11836. * DomainUpDown.cs: Implement a lot to get my test working.
  11837. 2005-01-19 Geoff Norton <[email protected]>
  11838. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  11839. 2005-01-19 Geoff Norton <[email protected]>
  11840. * OSXStructs (WindowAttributes): Fixed csc complaints
  11841. 2005-01-19 Geoff Norton <[email protected]>
  11842. * XplayUIOSX.cs:
  11843. OSXStructs.cs: Initial refactor to move enums and consts into
  11844. OSXStructs and use them in the driver for greater readability.
  11845. 2005-01-19 Geoff Norton <[email protected]>
  11846. * XplatUIOSX.cs: Initial support for Standard Cursors.
  11847. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  11848. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  11849. * ComboBox.cs: ability to change style when the ctrl is already
  11850. created, missing methods and events, bug fixes, signature fixes
  11851. 2005-01-19 Peter Bartok <[email protected]>
  11852. * Cursors.cs (ctor): Added ctor to fix signature
  11853. 2005-01-18 Peter Bartok <[email protected]>
  11854. * Button.cs: Implemented DoubleClick event
  11855. * ButtonBase.cs:
  11856. - Fixed keyboard handling to behave like MS, where the press of
  11857. Spacebar is equivalent to a mousedown, and the key release is
  11858. equivalent to mouseup. Now a spacebar push will give the same
  11859. visual feedback like a mouse click.
  11860. - Added missing attributes
  11861. - Added ImeModeChanged event
  11862. - Added support for generating DoubleClick event for derived classes
  11863. * CheckBox.cs:
  11864. - Implemented DoubleClick event
  11865. - Added missing attributes
  11866. * CommonDialog.cs: Added missing attribute
  11867. * ContextMenu.cs: Added missing attributes
  11868. * RadioButton.cs:
  11869. - AutoChecked buttons do not allow to be unselected when clicked
  11870. (otherwise we might end up with no selected buttons in a group)
  11871. - Added missing attributes
  11872. - Implemented DoubleClickEvent
  11873. * ThreadExceptionDialog.cs: Enabled TextBox code
  11874. 2005-01-18 Peter Bartok <[email protected]>
  11875. * Form.cs: Removed debug output
  11876. * Button.cs: Added support for DoubleClick method
  11877. 2005-01-18 Peter Bartok <[email protected]>
  11878. * Form.cs:
  11879. - Added method to parent window that allows triggering size
  11880. calculations when a menu is added/removed
  11881. - set_Menu: Cleaned up mess from early days of Form and Control,
  11882. now properly triggers a recalc when a menu is added/removed
  11883. - Added case to select form itself as focused form if no child
  11884. controls exist
  11885. - Added PerformLayout call when showing dialog, to ensure properly
  11886. placed controls
  11887. * Control.cs:
  11888. - Select(): Made internal so Form can access it
  11889. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  11890. status
  11891. * Application.cs (Run): Removed hack and calls PerformLayout instead
  11892. to trigger calculation when Form becomes visible
  11893. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  11894. * ComboBox.cs: fixes for ownerdraw
  11895. 2005-01-18 Peter Bartok <[email protected]>
  11896. * TextControl.cs:
  11897. - Sentinel is no longer static, each Document gets it's own, this
  11898. avoids locking or alternatively overwrite problems when more
  11899. than one text control is used simultaneously.
  11900. - Switched to use Hilight and HilightText brushes for text selection
  11901. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  11902. 2005-01-18 Peter Bartok <[email protected]>
  11903. * Control.cs:
  11904. - Hooked up the following events:
  11905. o ControlAdded
  11906. o ControlRemoved
  11907. o HandleDestroyed
  11908. o ImeModeChanged
  11909. o ParentChanged
  11910. o TabStopChanged
  11911. o Invalidated
  11912. o SystemColorsChanged
  11913. o ParentFontChanged
  11914. o Move
  11915. - Removed debug output
  11916. - Added a call to the current theme's ResetDefaults when a color change
  11917. is detected
  11918. * Form.cs: Now setting the proper ImeMode
  11919. * Theme.cs: Defined a method to force recreation of cached resources
  11920. and rereading of system defaults (ResetDefaults())
  11921. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  11922. 2005-01-17 Peter Bartok <[email protected]>
  11923. * Control.cs: Added missing attributes
  11924. 2005-01-17 Jackson Harper <[email protected]>
  11925. * TreeNode.cs: Implement editing. Add missing properties selected
  11926. and visible.
  11927. * TreeView.cs: Implement node editing. Also some fixes to use
  11928. Invalidate (invalid area) instead of Refresh when selecting.
  11929. 2005-01-17 Peter Bartok <[email protected]>
  11930. * Control.cs:
  11931. - Implemented InvokeGotFocus() method
  11932. - Implemented InvokeLostFocus() method
  11933. - Implemented InvokePaint() method
  11934. - Implemented InvokePaintBackground() method
  11935. - Implemented InvokeClick() method
  11936. - Implemented FindForm() method
  11937. - Implemented RectangleToClient() method
  11938. - Implemented ClientToRectangle() method
  11939. - Implemented ResetBackColor() method
  11940. - Implemented ResetCursor() method
  11941. - Implemented ResetFont() method
  11942. - Implemented ResteForeColor() method
  11943. - Implemented ResetImeMode() method
  11944. - Implemented ResetLeftToRight() method
  11945. - Implemented ResetText() method
  11946. - Implemented Scale() methods
  11947. - Implemented ScaleCore() method
  11948. - Implemented Update() method
  11949. - Removed unused variables
  11950. - Stubbed AccessibilityNotifyClients and
  11951. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  11952. with those yet)
  11953. - Now setting proper default for RightToLeft property
  11954. - Fixed bug in SetClientSizeCore that would cause windows to get
  11955. really big
  11956. - Now sending Click/DoubleClick events
  11957. - Now selecting controls when left mouse button is clicked on
  11958. selectable control
  11959. * AccessibleEvents.cs: Added
  11960. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  11961. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  11962. * XplatUIWin32.cs: Implemented UpdateWindow() method
  11963. * XplatUIX11.cs: Implemented UpdateWindow() method
  11964. * Form.cs: Removed stray semicolon causing CS0162 warning
  11965. * ThemeWin32Classic.cs: Fixed unused variable warnings
  11966. * ScrollableControl.cs: Now calls base method for ScaleCore
  11967. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  11968. style to avoid interference with internal click handler (which is
  11969. different than standard Control click handling)
  11970. * RadioButton.cs:
  11971. - Now unchecks all sibling radio buttons when control is
  11972. selected (Fixes #68756)
  11973. - Removed internal tabstop variable, using the one inherited from
  11974. Control
  11975. 2005-01-17 Jackson Harper <[email protected]>
  11976. * NavigateEventArgs.cs: Fix base type.
  11977. * LinkLabel.cs: Sig fix
  11978. 2005-01-17 Jackson Harper <[email protected]>
  11979. * TreeView.cs: Only invalidate the effected nodes bounds when
  11980. selecting nodes.
  11981. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  11982. * XplatUIWin32.cs: fixes Win32 marshaling
  11983. * XplatUIX11.cs: fixes method signature
  11984. 2005-01-17 Peter Bartok <[email protected]>
  11985. * XplatUIX11.cs: Clean up resources when we no longer need them
  11986. 2005-01-17 Peter Bartok <[email protected]>
  11987. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  11988. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  11989. and DestroyCursor() methods.
  11990. * Cursor.cs: Partially implemented, now supports standard cursors;
  11991. still contains some debug code
  11992. * Cursors.cs: Implemented class
  11993. * Control.cs:
  11994. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  11995. appropriate cursor
  11996. - Implemented Cursor property
  11997. - Replaced break; with return; more straightforwar and possibly
  11998. faster
  11999. - Now properly setting the result for WM_HELP
  12000. * X11Structs.cs: Added CursorFontShape enum
  12001. * XplatUIStructs.cs:
  12002. - Added StdCursor enum (to support DefineStdCursor() method)
  12003. - Added HitTest enum (to support sending WM_SETCURSOR message)
  12004. * XplatUIX11.cs:
  12005. - Now sends the WM_SETCURSOR message
  12006. - Implemented new cursor methods
  12007. * XplatUIOSX.cs: Stubbed new cursor methods
  12008. * XplatUIWin32.cs:
  12009. - Implemented new cursor methods
  12010. - Added GetSystemMetrics function and associated enumeration
  12011. 2005-01-15 Peter Bartok <[email protected]>
  12012. * Control.cs:
  12013. - WndProc(): Now handles EnableNotifyMessage
  12014. - SelectNextControl(): Fixed bug where if no child or sibling
  12015. controls exist we looped endlessly
  12016. 2005-01-14 Jackson Harper <[email protected]>
  12017. * TreeView.cs: Recalculate the tab pages when a new one is added
  12018. so that the proper bounding rects are created.
  12019. 2005-01-14 Jackson Harper <[email protected]>
  12020. * TreeView.cs: Draw a gray box instead of a grip in the lower
  12021. right hand corner when there are both horizontal and vertical
  12022. scroll bars.
  12023. 2005-01-14 Jackson Harper <[email protected]>
  12024. * Control.cs: When erasing backgrounds use FromHwnd instead of
  12025. FromHdc when there is a NULL wparam. This occurs on the X driver.
  12026. * XplatUIX11.cs: Set the wparam to NULL.
  12027. 2005-01-13 Jackson Harper <[email protected]>
  12028. * PictureBox.cs: Implement missing methods (except ToString, need
  12029. to test that on windows) and events. When visibility is changed we
  12030. need to redraw the image because the buffers are killed. When size
  12031. is changed refresh if the sizemode needs it.
  12032. 2005-01-13 Peter Bartok <[email protected]>
  12033. * Control.cs (SelectNextControl): Was using wrong method to select
  12034. a control
  12035. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  12036. * ComboBox.cs: fixes dropstyle
  12037. 2005-01-13 Peter Bartok <[email protected]>
  12038. * Form.cs:
  12039. - Implemented Select() override
  12040. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  12041. - Now sets keyboard focus on startup
  12042. * Control.cs (SelectNextControl): Now properly handles directed=true
  12043. * TextBoxBase.cs:
  12044. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  12045. - Added (really bad) focus rectangle (mostly for testing)
  12046. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  12047. to enforce redraw on focus changes
  12048. * ContainerControl.cs:
  12049. - Fixed detection of Shift-Tab key presses
  12050. - Fixed traversal with arrow keys
  12051. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  12052. gonna keep this or if it's complete yet
  12053. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  12054. * ComboBox.cs: missing properties, fixes
  12055. 2005-01-13 Peter Bartok <[email protected]>
  12056. * Panel.cs (ctor): Setting Selectable window style to off
  12057. * Splitter.cs (ctor): Setting Selectable window style to off
  12058. * GroupBox.cs (ctor): Setting Selectable window style to off
  12059. * Label.cs (ctor): Setting Selectable window style to off
  12060. 2005-01-12 Miguel de Icaza <[email protected]>
  12061. * UpDownBase.cs (InitTimer): If the timer has been already
  12062. created, enable it.
  12063. Use a TextBox instead of a Label.
  12064. 2005-01-12 Jackson Harper <[email protected]>
  12065. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  12066. draw the connecting node lines (when ShowLines is true).
  12067. * TreeNode.cs: The nodes index can now be updated. This is used
  12068. when a node collection is sorted.
  12069. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  12070. insert or an existing unsorted node collection can be sorted.
  12071. 2005-01-12 Peter Bartok <[email protected]>
  12072. * ContainerControl.cs: Implemented ProcessDialogKeys()
  12073. 2005-01-12 Peter Bartok <[email protected]>
  12074. * Control.cs:
  12075. - Implemented SelectNextControl() method
  12076. - Several focus related bug fixes
  12077. - Fixed Docking calculations to match MS documentation and
  12078. behaviour
  12079. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  12080. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  12081. bug fixes
  12082. 2005-01-12 Peter Bartok <[email protected]>
  12083. * Control.cs:
  12084. - Fixed broken Contains() method
  12085. - Implemented GetNextControl() method. Finally. This is the pre-
  12086. requisite for focus handling.
  12087. 2005-01-12 Peter Bartok <[email protected]>
  12088. * OSXStrucs.cs: Added
  12089. 2005-01-12 Peter Bartok <[email protected]>
  12090. * XplatUIWin32.cs:
  12091. - Removed PeekMessageFlags
  12092. - Implemented SetWindowStyle() method
  12093. * XplatUIStructs.cs: Added PeekMessageFlags
  12094. * X11Structs: Added missing border_width field to XWindowChanges struct
  12095. * XplatUIX11.cs:
  12096. - PeekMessage: Now throws exception if flags which are not yet
  12097. supported are passed
  12098. - Implemented SetWindowStyle() method
  12099. - Fixed SetZOrder to handle AfterHwnd properly
  12100. * XplatUI.cs: Added SetWindowStyle() method
  12101. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  12102. * Control.cs:
  12103. - Implemented UpdateStyles() method
  12104. - Implemented UpdateZOrder() method
  12105. * XplatUIOSX.cs: Added SetWindowStyle() stub
  12106. 2005-01-12 Geoff Norton <[email protected]>
  12107. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  12108. button mouse).
  12109. 2005-01-11 Jackson Harper <[email protected]>
  12110. * TreeView.cs: Still need to draw lines to siblings even if out of
  12111. the current node is out of the clip.
  12112. 2005-01-11 Jackson Harper <[email protected]>
  12113. * TreeView.cs: When setting the hbar/vbar/grip position use
  12114. SetBounds so that perform layout is only called once. Also suspend
  12115. and resume layout so layout is only done once for all controls.
  12116. - Removed some debug fluff
  12117. * SizeGrip.cs: Call base implmentation in overriding methods.
  12118. - When visibility is changed the drawing buffers are killed so we
  12119. need to redraw.
  12120. 2005-01-11 Jackson Harper <[email protected]>
  12121. * TreeView.cs: Calculate the open node count while drawing. This
  12122. saves us an entire tree traversal for every paint operation. Use
  12123. a member var for the open node count so less vars are passed around.
  12124. 2005-01-11 John BouAntoun <[email protected]>
  12125. * MonthCalendar.cs:
  12126. - fixed selection to use mousemove, not mouse polling on timer
  12127. * ThemeWin32Classic.cs
  12128. - removed redundant unused variable "no_more_content"
  12129. 2005-01-11 Peter Bartok <[email protected]>
  12130. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  12131. are pending, so it now calls PeekMessage instead of GetMessage;
  12132. implemented a incomplete version of PeekMessage
  12133. 2005-01-11 Peter Bartok <[email protected]>
  12134. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  12135. I18n issues
  12136. * TextBoxBase.cs: Added sending of TextChanged event
  12137. 2005-01-10 Jackson Harper <[email protected]>
  12138. * TreeView.cs: Try not to draw outside the clipping rectangle on
  12139. each node element.
  12140. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  12141. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  12142. 2005-01-10 Jackson Harper <[email protected]>
  12143. * TreeView.cs:
  12144. - Implement fast scrolling. Now only the newly
  12145. exposed nodes are drawn and the old image is moved using the
  12146. XplatUI::ScrollWindow method.
  12147. - Factor in height of nodes when calculating whether or not the
  12148. node is in the clipping rect.
  12149. 2005-01-10 Jackson Harper <[email protected]>
  12150. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  12151. 2005-01-10 Peter Bartok <[email protected]>
  12152. * Application.cs: Added temporary hack to resolve all our resize
  12153. required issues on startup. This will get fixed properly at
  12154. some point in the future
  12155. 2005-01-10 Jackson Harper <[email protected]>
  12156. * SizeGrip.cs: New internal class that is used as a sizing
  12157. grip control...hence the name.
  12158. 2005-01-10 Peter Bartok <[email protected]>
  12159. * Control.cs: Implemented proper TabIndex handling, now assigning
  12160. a tabindex when a control is added to a container
  12161. * GroupBox.cs (ctor): Now sets the Container style bit, required
  12162. for Control.GetNextControl()
  12163. 2005-01-09 Jackson Harper <[email protected]>
  12164. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  12165. 2005-01-09 Peter Bartok <[email protected]>
  12166. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  12167. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  12168. an overload for ScrollWindow to allow only scrolling a rectangle
  12169. 2005-01-09 Peter Bartok <[email protected]>
  12170. * Form.cs:
  12171. - Implemented SetDesktopBounds method
  12172. - Implemented SetDesktopLocation method
  12173. 2005-01-08 Jackson Harper <[email protected]>
  12174. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  12175. the node count has changed, this removes to VScroll::Refresh calls
  12176. when drawing.
  12177. 2005-01-08 Geoff Norton <[email protected]>
  12178. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  12179. 2005-01-07 Jackson Harper <[email protected]>
  12180. * TreeNode.cs: Just update the single node when it is
  12181. checked. Don't refresh after toggling, the Expand/Collapse already
  12182. handles this.
  12183. * TreeView.cs: Respect clipping a little more when drawing. Try
  12184. not to redraw things that don't need to be redrawn. Just hide the
  12185. scrollbars when they are no longer needed instead of removing
  12186. them, so they don't have to be created again and again.
  12187. 2005-01-07 Geoff Norton <[email protected]>
  12188. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  12189. coordinates to window space to place the caret properly, FIXED.
  12190. Implement GetWindowState & SetWindowState
  12191. 2005-01-06 Peter Bartok <[email protected]>
  12192. * Form.cs:
  12193. - Implemented ClientSize property
  12194. - Implemented DesktopBounds property
  12195. - Implemented DesktopLocation property
  12196. - Implemented IsRestrictedWindow property
  12197. - Implemented Size property
  12198. - Implemented TopLevel property
  12199. - Implemented FormWindowState property
  12200. * Control.cs:
  12201. - Implemented GetTopLevel() method
  12202. - Implemented SetTopLevel() method
  12203. * X11Structs.cs (Atom):
  12204. - Added AnyPropertyType definition
  12205. - Added MapState definiton and updated XWindowAttribute struct
  12206. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  12207. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  12208. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  12209. * XplatUIWin32.cs:
  12210. - Implemented GetWindowState() and SetWindowState() methods
  12211. - Fixed Win32GetWindowLong return type
  12212. * XplatUIX11.cs:
  12213. - Introduced central function for sending NET_WM messages
  12214. - Implemented GetWindowState() and SetWindowState() methods
  12215. * TextBoxBase.cs (set_Lines):
  12216. - Now uses Foreground color for text added via Text property (Duh!)
  12217. - Added code to remember programmatically requested size (fixes
  12218. behaviour when Multiline is set after Size)
  12219. - Added AutoSize logic
  12220. 2005-01-06 Jackson Harper <[email protected]>
  12221. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  12222. 2005-01-06 Jackson Harper <[email protected]>
  12223. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  12224. set to less then 0.
  12225. 2005-01-06 Jackson Harper <[email protected]>
  12226. * ScrollableControl.cs: Lazy init the scrollbars.
  12227. 2005-01-06 Jackson Harper <[email protected]>
  12228. * Theme.cs: Speed up getting pens and solid brushes, by using
  12229. their ARGB as a hash instead of tostring and not calling Contains.
  12230. 2005-01-06 Peter Bartok <[email protected]>
  12231. * Form.cs:
  12232. - Implemented OnActivated and OnDeactivate event trigger
  12233. - Implemented Activate() method
  12234. - Fixed ShowDialog() to activate the form that was active before
  12235. the dialog was shown
  12236. * XplatUIX11.cs:
  12237. - Added global active_window var that tracks the currently active
  12238. X11 window
  12239. - Now always grabs Property changes from the root window to always
  12240. catch changes on the active window property
  12241. - Added code to PropertyNotify handler to send Active/Inactive
  12242. messages when state changes. This puts X11 and Win32 en par on
  12243. WM_ACTIVATE notifications (except for double notifications when
  12244. the user clicks away from our modal window to another one of our
  12245. windows)
  12246. 2005-01-05 Jackson Harper <[email protected]>
  12247. * ImageList.cs: Implment ctor
  12248. 2005-01-05 Geoff Norton <[email protected]>
  12249. * XplatUIOSX.cs: Implement Activate/SetTopmost
  12250. 2005-01-05 Geoff Norton <[email protected]>
  12251. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  12252. 2005-01-05 Geoff Norton <[email protected]>
  12253. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  12254. 2005-01-05 Peter Bartok <[email protected]>
  12255. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  12256. XplatUIOSX.cs: Added GetActive method to return the currently
  12257. active window for the application (or null, if none is active)
  12258. * Form.cs:
  12259. - Implemented ActiveForm
  12260. - Commented out owner assignment for modal dialogs (causes problems
  12261. on Win32, since the owner will be disabled)
  12262. - Reworked some Active/Focus handling (still incomplete)
  12263. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  12264. (causes problems on Win32, since the owner will be disabled)
  12265. * IWin32Window: Added ComVisible attribute
  12266. 2005-01-05 Peter Bartok <[email protected]>
  12267. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  12268. required XplatUI functions.
  12269. 2005-01-05 Peter Bartok <[email protected]>
  12270. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  12271. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  12272. to implement focus and activation handling; still incomplete and
  12273. with debug output
  12274. 2005-01-04 Peter Bartok <[email protected]>
  12275. * TextBoxBase.cs: Changed access level for Document property to
  12276. match switch to internal for TextControl
  12277. 2005-01-04 Peter Bartok <[email protected]>
  12278. * AccessibleObject: Added ComVisible attribute
  12279. 2005-01-04 Jackson Harper <[email protected]>
  12280. * X11Keyboard.cs: Remove unneeded var.
  12281. 2005-01-04 Jackson Harper <[email protected]>
  12282. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  12283. but PAINT.
  12284. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  12285. ClientMessage. This makes apps exit cleanly (more often).
  12286. 2005-01-04 Jackson Harper <[email protected]>
  12287. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  12288. handling focus, return correct colors and fonts,
  12289. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  12290. handle selection, horizontal scrolling, and mouse interaction.
  12291. 2005-01-04 Peter Bartok <[email protected]>
  12292. * ICommandExecutor.cs: Added
  12293. * IDataGridColumnStyleEditingNotificationService.cs: Added
  12294. * IFeatureSupport.cs: Added
  12295. * IFileReaderService.cs: Added
  12296. * IDataObject.cs: Added ComVisible attribute
  12297. * AmbientProperties.cs: Added
  12298. * BaseCollection.cs: Added missing attributes
  12299. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  12300. * BaseCollection.cs: Added missing attributes
  12301. * Binding.cs: Added TypeConverter attribute
  12302. * BindingContext.cs: Added DefaultEvent attribute
  12303. * BindingsCollection.cs: Added DefaultEvent attribute
  12304. * Button.cs: Added DefaultValue attribute
  12305. * DragEventArgs.cs: Added ComVisible attribute
  12306. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  12307. * KeyEventArgs.cs: Added ComVisible attribute
  12308. * KeyPressEventArgs.cs: Added ComVisible attribute
  12309. * MouseEventArgs.cs: Added ComVisible attribute
  12310. * NavigateEventArgs.cs: Added
  12311. * NavigateEventHandler.cs: Added
  12312. * FeatureSupport.cs: Added
  12313. * OSFeature.cs: Added
  12314. * Theme.cs: Added abstract Version property to support OSFeature
  12315. * ThemeWin32Classic.cs: Added Version property to
  12316. support OSFeature.Themes
  12317. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  12318. the proper styles to avoid background drawing are set, also doesn't
  12319. match MS signature
  12320. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  12321. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  12322. * ScrollEventArgs.cs: Added ComVisible attribute
  12323. * SplitterEventArgs.cs: Added ComVisible attribute
  12324. * AccessibleSelection.cs: Added Flags attribute
  12325. * Appearance.cs: Added ComVisible attribute
  12326. * Border3DSide.cs: Added ComVisible attribute
  12327. * Border3DStyle.cs: Added ComVisible attribute
  12328. * BorderStyle.cs: Added ComVisible attribute
  12329. * DragAction.cs: Added ComVisible attribute
  12330. * ErrorBlinkStyle.cs: Added
  12331. * ScrollEventType.cs: Added ComVisible attribute
  12332. * AnchorStyles.cs: Added Editor attribute
  12333. * DockStyle.cs: Added Editor attribute
  12334. * HorizontalAlignment.cs: Added ComVisible attribute
  12335. * HelpEventArgs.cs: Added ComVisible attribute
  12336. * PaintEventArgs.cs: Added IDisposable
  12337. 2005-01-04 Peter Bartok <[email protected]>
  12338. * TextControl.cs: Switched Line, LineTag and Document classes to
  12339. internal
  12340. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  12341. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  12342. Simple mode, fixes, IntegralHeight, etc.
  12343. 2005-01-04 Peter Bartok <[email protected]>
  12344. * TextBoxBase.cs: Using proper font variable now
  12345. 2005-01-04 Peter Bartok <[email protected]>
  12346. * Form.cs (ShowDialog): Set parent to owner, if provided
  12347. * GroupBox.cs: Removed unused vars
  12348. * TextControl.cs:
  12349. - Added GetHashCode() for Document and LineTag classes
  12350. - Removed unused variables
  12351. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  12352. to allow translation between continuous char position and line/pos
  12353. * CheckBox.cs: Removed vars that are provided by base class
  12354. * RadioButton.cs: Removed vars that are provided by base class, added
  12355. new keyword where required
  12356. * LinkLabel.cs: Added new keyword where required
  12357. * Control.cs (WndProc): Removed unused variable
  12358. * TextBoxBase.cs:
  12359. - Finished SelectionLength property
  12360. - Implemented SelectionStart property
  12361. - Implemented Text property
  12362. - Removed unused vars
  12363. * MessageBox.cs: Added new keyword where required
  12364. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  12365. WndProc signature
  12366. * MenuAPI.cs: Added new keyword where required
  12367. * ButtonBase.cs: Removed vars that are provided by base class, added
  12368. new keyword where required
  12369. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  12370. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  12371. into this)
  12372. * Application.cs (Run): Now triggers the ThreadExit event
  12373. * CommonDialog.cs: Added new keyword where required; now properly sets
  12374. parent (owner) for dialog
  12375. * XplatUIX11.cs: Commented out unused vars
  12376. * StatusBar.cs: Fixed signature for Text property
  12377. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  12378. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  12379. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  12380. TrackBar.cs, MonthCalendar.cs: remove unused vars
  12381. 2005-01-03 Jackson Harper <[email protected]>
  12382. * ThemeWin32Classic.cs:
  12383. * X11Keyboard.cs: Remove unused vars.
  12384. 2005-01-03 Peter Bartok <[email protected]>
  12385. * TextBox.cs:
  12386. - set_Text: Tied into TextControl
  12387. - set_TextAlignment: Tied into TextControl
  12388. * TextControl.cs:
  12389. - Added alignment properties and implemented alignment handling
  12390. and drawing (still has a bug, not generating proper expose events)
  12391. - Added new Line() constructor to allow passing the line alignment
  12392. - Fixed selection setting, properly handling end<start now
  12393. - Added aligment considerations to RecalculateDocument()
  12394. * TextBoxBase.cs:
  12395. - Now properly enforces control height for single line controls
  12396. - Added support for CharacterCasing
  12397. - Added IsInputKey override
  12398. - Fixed Keys.Enter logic
  12399. - Added SetBoundsCore override
  12400. - Fixed mouse selection handling
  12401. 2005-01-03 Jackson Harper <[email protected]>
  12402. * TreeView.cs:
  12403. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  12404. - Checkboxes are always aligned to the bottom of the node,
  12405. regardless of item height.
  12406. - Use the node bounds to draw the text so we can center it when
  12407. the item height is greater then the font height.
  12408. - Node::Bounds are only the text part of the node.
  12409. * TreeNode.cs: New method to combine collapsing and unchecking all
  12410. nodes recursively.
  12411. 2005-01-02 Jackson Harper <[email protected]>
  12412. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  12413. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  12414. tree when a check is changed. TODO: Only refresh the checked node.
  12415. 2004-12-30 Jackson Harper <[email protected]>
  12416. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  12417. * TreeNode.cs: When collapsing make sure to never collapse the
  12418. root node.
  12419. 2004-12-29 Jackson Harper <[email protected]>
  12420. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  12421. 2004-12-28 Zoltan Varga <[email protected]>
  12422. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  12423. 2004-12-28 Peter Bartok <[email protected]>
  12424. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  12425. not yet assigned
  12426. 2004-12-28 Peter Bartok <[email protected]>
  12427. * Control.cs (WndProc): Added WM_HELP handler, now generates
  12428. HelpRequested event
  12429. * Form.cs: Added HelpButton property and required support code
  12430. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  12431. 2004-12-28 Peter Bartok <[email protected]>
  12432. * CommonDialog.cs:
  12433. - Made DialogForm.owner variable internal
  12434. - Added check to ensure owner form is set before setting
  12435. owner properties in CreateParams
  12436. 2004-12-28 Geoff Norton <[email protected]>
  12437. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  12438. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  12439. GetCursorPos. Fix major visibility issues. Rework the windowing
  12440. system to support borderless/titleless windows (implements menus).
  12441. Fix GetWindowPos. Implement initial background color support for
  12442. views.
  12443. 2004-12-28 Peter Bartok <[email protected]>
  12444. * Form.cs (get_CreateParams): Make sure we have an owner before using
  12445. the owner variable. Implement proper default if no owner exists
  12446. 2004-12-28 Peter Bartok <[email protected]>
  12447. * In preparation for making Managed.Windows.Forms the default build target
  12448. for System.Windows.Forms, the following stubbed files were added.
  12449. Dialogs are currently being implemented by contributors and are only
  12450. short-term place holders.
  12451. * ColorDialog.cs: Initial check-in (minmal stub)
  12452. * DataGrid.cs: Initial check-in (minimal stub)
  12453. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  12454. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  12455. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  12456. * FontDialog.cs: Initial check-in (minimal stub)
  12457. * FileDialog.cs: Initial check-in (minimal stub)
  12458. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  12459. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  12460. * OpenFileDialog: Initial check-in (minimal stub)
  12461. * IComponentEditorPageSite.cs: Initial check-in
  12462. * Splitter.cs: Initial check-in (for Jackson)
  12463. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  12464. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  12465. * TextBox.cs: Initial check-in; still needs some wiring to
  12466. TextControl backend
  12467. * Form.cs: Implemented ControlBox property
  12468. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  12469. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  12470. * TextControl.cs: Added selection functionality; added todo header
  12471. * TextBoxBase.cs:
  12472. - Implemented Lines property
  12473. - Implemented TextHeight property
  12474. - Implemented SelectedText property
  12475. - Implemented SelectionLength property
  12476. - Implemented SelectAll method
  12477. - Implemented ToString method
  12478. - Removed and cleaned up some debug code
  12479. - Implemented (still buggy) mouse text selection
  12480. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  12481. * ComboBox.cs: Complete DropDownList implementation, fixes.
  12482. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  12483. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  12484. * ComboBoxStyle.cs: ComboBoxStyle enum
  12485. * ComboBox.cs: Initial work on ComboBox control
  12486. 2004-12-21 Peter Bartok <[email protected]>
  12487. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  12488. forward so that anything that creates a window gets the default,
  12489. also no longer uses Visible property in CreateParams to avoid
  12490. walking up the parent chain and possibly get the wrong visible
  12491. status. Fixed IsVisible to no longer walk up to the parent.
  12492. 2004-12-21 Peter Bartok <[email protected]>
  12493. * Form.cs (ShowDialog): Unset modality for the proper window
  12494. 2004-12-20 Peter Bartok <[email protected]>
  12495. * CommonDialog.cs: Initial check-in
  12496. 2004-12-20 Peter Bartok <[email protected]>
  12497. * Control.cs (Visible): Now uses the parent window instead of the
  12498. client area window for the property
  12499. * Form.cs
  12500. - ShowDialog(): Now uses the proper window for modality
  12501. - The default visibility state for the form parent is now false. This
  12502. will prevent the user from seeing all the changes to the form and
  12503. its controls before the application hits Application.Run()
  12504. - Removed some stale commented out code
  12505. * NativeWindow.cs:
  12506. - Added FindWindow() method to have a method to check for existence
  12507. of a window handle
  12508. - Added ability to override default exception handling (for example
  12509. when debugging with VS.Net; to do this the ExternalExceptionHandler
  12510. define must be set
  12511. - Removed some useless debug output
  12512. * XplatUIX11.cs:
  12513. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  12514. not working as expected
  12515. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  12516. property to allow switching back to the modal window if focus is
  12517. given to another one of our windows (Application Modal)
  12518. - Now only sets override_redirect if we create a window
  12519. without WS_CAPTION
  12520. - Moved EventMask selection before mapping of newly created window
  12521. so we can catch the map event as well
  12522. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  12523. - Added various Atom related DllImports
  12524. - Implemented Exit() method
  12525. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  12526. in the CreateParams
  12527. * MessageBox.cs: Now properly deals with the FormParent window by
  12528. providing an override the FormParent CreateParams property to
  12529. set as POPUP instead of OVERLAPPED window.
  12530. 2004-12-19 Geoff Norton <[email protected]>
  12531. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  12532. Minor code cleanup.
  12533. 2004-12-19 Geoff Norton <[email protected]>
  12534. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  12535. 2004-12-18 Peter Bartok <[email protected]>
  12536. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  12537. implementing SetModal() method
  12538. 2004-12-18 Peter Bartok <[email protected]>
  12539. * X11Structs.cs (XGCValues): Fixed type of function element
  12540. * XplatUI.cs: Added ScrollWindow() method
  12541. * XplatUIDriver.cs: Added ScrollWindow() abstract
  12542. * XplatUIWin32.cs: Implemented ScrollWindow() method
  12543. * XplatUIX11.cs: Implemented ScrollWindow() method
  12544. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  12545. 2004-12-17 Geoff Norton <[email protected]>
  12546. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  12547. Some more keyboard support (INCOMPLETE)
  12548. 2004-12-17 Peter Bartok <[email protected]>
  12549. * TextControl.cs:
  12550. - Added color attribute to line tags.
  12551. - Added color argument to all functions dealing with tags
  12552. - Added color argument support to various functions
  12553. - Fixed miss-calculation of baseline/shift in certain circumstances
  12554. * TextBoxBase.cs: Added new color option to test code
  12555. 2004-12-17 Jackson Harper <[email protected]>
  12556. * TreeNode.cs:
  12557. * MonthCalendar.cs: Signature fixes
  12558. 2004-12-17 Geoff Norton <[email protected]>
  12559. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  12560. keyboard event moved it. Create a new graphics context for each paint resolves this
  12561. 2004-12-17 Geoff Norton <[email protected]>
  12562. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  12563. Make caret exist and go blink blink. Initial keyboard support.
  12564. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  12565. works.
  12566. 2004-12-17 Jackson Harper <[email protected]>
  12567. * XplatUIStructs.cs: Updated set of virtual keycodes.
  12568. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  12569. 2004-12-17 Jackson Harper <[email protected]>
  12570. * XplatUIX11.cs: Prune old keyboard code.
  12571. 2004-12-17 Jackson Harper <[email protected]>
  12572. * XplatUIX11.cs: When generating mouse wparams get the modifier
  12573. keys from the ModifierKeys property.
  12574. 2004-12-17 Jackson Harper <[email protected]>
  12575. * X11Keyboard.cs: Send up/down input when generating
  12576. messages. Remove some unused vars.
  12577. 2004-12-17 Jackson Harper <[email protected]>
  12578. * TabControl.cs:
  12579. * TreeView.cs: get rid of warnings.
  12580. 2004-12-17 Jackson Harper <[email protected]>
  12581. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  12582. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  12583. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  12584. CheckedListBox.cs: Implementation
  12585. 2004-12-17 Peter Bartok <[email protected]>
  12586. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  12587. 2004-12-16 Peter Bartok <[email protected]>
  12588. * TextControl.cs:
  12589. - InsertCharAtCaret(): Fixed start pos fixup
  12590. - CaretLine_get: No longer derives the line from the tag, the tag
  12591. could be stale if lines in the document have been added or deleted
  12592. - RebalanceAfterDelete(): Fixed bug in balancing code
  12593. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  12594. - Line.Streamline(): Now can also elminate leading empty tags
  12595. - DumpTree(): Added a few more tests and prevented exception on
  12596. uninitialized data
  12597. - Added Debug section for Combining lines
  12598. - Delete(): Now copies all remaining properties of a line
  12599. * TextBoxBase.cs:
  12600. - Left mousebutton now sets the caret (and middle button still acts
  12601. as formatting tester, which must go away soon)
  12602. - Added Debug section for Deleting/Combining lines
  12603. - Fixed calculations for UpdateView after Combining lines
  12604. 2004-12-16 Peter Bartok <[email protected]>
  12605. * TextControl.cs: Now properly aligns text on a baseline, using the
  12606. new XplatUI.GetFontMetrics() method. Simplified several calculations
  12607. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  12608. defined
  12609. 2004-12-16 Peter Bartok <[email protected]>
  12610. * XplatUI.cs: Added GetFontMetrics() method
  12611. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  12612. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  12613. into libgdiplus, our private GetFontMetrics function
  12614. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  12615. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  12616. 2004-12-16 Jackson Harper <[email protected]>
  12617. * XplatUIStruct.cs: Add enum for dead keys
  12618. * X11Keyboard.cs: Map and unmap dead keys.
  12619. 2004-12-16 Jackson Harper <[email protected]>
  12620. * X11Keyboard.cs: Detect and use the num lock mask.
  12621. 2004-12-16 Peter Bartok <[email protected]>
  12622. * Control.cs (CreateGraphics): Added check to make sure the
  12623. handle of the window exists before calling Graphics.FromHwnd()
  12624. 2004-12-16 Peter Bartok <[email protected]>
  12625. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  12626. contains a lot of code that's not supposed to be there for the
  12627. real thing, but required for developing/testing the textbox
  12628. backend.
  12629. 2004-12-16 Peter Bartok <[email protected]>
  12630. * TextControl.cs:
  12631. - Fixed Streamline method
  12632. - Added FindTag method to Line
  12633. - Added DumpTree method for debugging
  12634. - Added DecrementLines() method for deleting lines
  12635. - Fixed UpdateView to update the cursor to end-of-line on single-line
  12636. updates
  12637. - Added PositionCaret() method
  12638. - Fixed MoveCaret(LineDown) to move into the last line, too
  12639. - Added InsertChar overload
  12640. - Fixed InsertChar tag offset calculations
  12641. - Added DeleteChar() method
  12642. - Added Combine() method for folding lines
  12643. - Fixed Delete() method, no longer allocates wasted Line object and
  12644. now copies all properties when swapping nodes
  12645. - Delete() method now updates document line counter
  12646. 2004-12-15 Jackson Harper <[email protected]>
  12647. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  12648. * X11Keyboard.cs: Expose the currently selected modifier keys
  12649. through a property.
  12650. 2004-12-15 Peter Bartok <[email protected]>
  12651. * TextControl.cs: Initial check-in. Still incomplete
  12652. 2004-12-15 Jackson Harper <[email protected]>
  12653. * TreeNode.cs:
  12654. * TreeView.cs: Fix build on csc (second time today ;-))
  12655. 2004-12-15 Jackson Harper <[email protected]>
  12656. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  12657. is calculated and use this for click testing.
  12658. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  12659. 2004-12-15 Jackson Harper <[email protected]>
  12660. * TreeView.cs: Pass the nodes image index to the image list when
  12661. drawing that image.
  12662. 2004-12-15 Jackson Harper <[email protected]>
  12663. * X11Keyboard.cs: Set messages hwnd.
  12664. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  12665. post_message calls.
  12666. 2004-12-15 Jackson Harper <[email protected]>
  12667. * X11Keyboard.cs: Fix to compile with csc.
  12668. 2004-12-15 Jackson Harper <[email protected]>
  12669. * X11Structs.cs: Add key mask values
  12670. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  12671. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  12672. down/up foo into WM_CHAR foo
  12673. * KeyboardLayouts.cs: Common keyboard layouts
  12674. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  12675. post messages into the main queue.
  12676. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  12677. * Button.cs: implement ProcessMnemonic
  12678. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  12679. brushes everytime
  12680. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  12681. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  12682. 2004-12-12 John BouAntoun <[email protected]>
  12683. * MonthCalendar.cs: Implemented click-hold for next/previous month
  12684. and date selection
  12685. 2004-12-11 Peter Bartok <[email protected]>
  12686. * X11Structs.cs:
  12687. - Added XKeyboardState (moved from XplatUIX11.cs)
  12688. - Added XCreateGC related enums and structures
  12689. - Added GXFunction for XSetFunction
  12690. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  12691. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  12692. CaretVisible() calls
  12693. * ToolTip.cs: Added code to prevent stealing focus from app windows
  12694. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  12695. DestroyCaret, SetCaretPos and CaretVisible)
  12696. * XplatUIX11.cs:
  12697. - Added implementation for caret functions
  12698. - Moved hover variables into a struct, to make it a bit easier
  12699. on the eyes and to debug
  12700. - Removed XKeyboardState (moved to XplatUIX11.cs)
  12701. - Moved Keyboard properties into the properties region
  12702. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  12703. call to get a graphics context for our control
  12704. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  12705. * TreeView.cs: Fixed bug. No matter what color was set it would always
  12706. return SystemColors.Window
  12707. * XplatUIWin32.cs: Implemented caret overrides
  12708. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  12709. * ListBox.cs: fire events, implement missing methods and properties,
  12710. sorting.
  12711. 2004-12-10 John BouAntoun <[email protected]>
  12712. * MonthCalendar.cs: invalidation bug fixing
  12713. * ThemeWin32Classic.cs: paint fixing
  12714. 2004-12-09 Geoff Norton <[email protected]>
  12715. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  12716. prepare the CGContextRef there now.
  12717. 2004-12-09 John BouAntoun <[email protected]>
  12718. * MonthCalendar.cs:
  12719. - optimisationL only invalidate areas that have changed
  12720. * ThemeWin32Classic.cs:
  12721. - only paint parts that intersect with clip_area
  12722. 2004-12-09 Peter Bartok <[email protected]>
  12723. * Application.cs: Undid changes from r37004 which cause problems
  12724. on X11
  12725. 2004-12-09 Ravindra <[email protected]>
  12726. * ToolBar.cs: Added support for displaying ContextMenu
  12727. attached to a button on ToolBar.
  12728. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  12729. property.
  12730. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  12731. * Label.cs: autosize works in text change and removes unnecessary
  12732. invalidate
  12733. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  12734. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  12735. remove warnings
  12736. 2004-12-08 Geoff Norton <[email protected]>
  12737. * XplatUIOSX.cs: Added mouse move/click/grab support
  12738. Remove some debugging WriteLines not needed anymore.
  12739. Add window resizing/positioning.
  12740. Fix visibility on reparenting.
  12741. 2004-12-08 Peter Bartok <[email protected]>
  12742. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  12743. 2004-12-07 Geoff Norton <[email protected]>
  12744. * XplatUIOSX.cs: Initial checkin
  12745. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  12746. 2004-12-03 Ravindra <[email protected]>
  12747. * ListView.cs: Added some keybindings and fixed scrolling.
  12748. ScrollBars listen to ValueChanged event instead of Scroll
  12749. Event. This would let us take care of all changes being
  12750. done in the scrollbars' values programmatically or manually.
  12751. * ListView.cs (CanMultiselect): Added a check for shift key.
  12752. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  12753. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  12754. of ListViewSubItemCollection as well.
  12755. 2004-12-06 Peter Bartok <[email protected]>
  12756. * Control.cs (Parent): Added check and exception to prevent
  12757. circular parenting
  12758. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  12759. * ListBox.cs: implemented clipping, selection single and multiple,
  12760. bug fixing
  12761. 2004-12-03 Ravindra <[email protected]>
  12762. * ListView.cs (ListView_KeyDown):
  12763. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  12764. when CTRL key is pressed.
  12765. * ListViewItem.cs (Selected): Fixed setting the property.
  12766. 2004-12-03 Marek Safar <[email protected]>
  12767. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  12768. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  12769. MinimizeBox, ShowInTaskbar, TopMost properties.
  12770. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  12771. will be implemented).
  12772. 2004-12-03 Marek Safar <[email protected]>
  12773. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  12774. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  12775. tests.
  12776. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  12777. * TreeView.cs: BackColor is Colors.Window.
  12778. 2004-12-01 Jackson Harper <[email protected]>
  12779. * TreeView.cs: When resizing the tree if the user is making it
  12780. smaller we don't get expose events, so we need to handle adding
  12781. the horizontal scrollbar in the size changed handler as well as
  12782. the expose handler.
  12783. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  12784. * DrawItemState.cs: fixes wrong enum values
  12785. 2004-12-01 Jackson Harper <[email protected]>
  12786. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  12787. 2004-12-01 Jackson Harper <[email protected]>
  12788. * NodeLabelEditEventArgs.cs:
  12789. * NodeLabelEditEventHandler.cs:
  12790. * OpenTreeNodeEnumerator.cs:
  12791. * TreeNode.cs:
  12792. * TreeNodeCollection.cs:
  12793. * TreeView.cs:
  12794. * TreeViewAction.cs:
  12795. * TreeViewCancelEventArgs.cs:
  12796. * TreeViewCancelEventHandler.cs:
  12797. * TreeViewEventArgs.cs:
  12798. * TreeViewEventHandler.cs: Initial implementation.
  12799. 2004-12-01 Ravindra <[email protected]>
  12800. * ListView.cs (CalculateListView): Fixed scrolling related
  12801. calculations. Also, removed some debug statements from other
  12802. places.
  12803. * ListViewItem.cs: Changed access to 'selected' instance variable
  12804. from private to internal.
  12805. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  12806. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  12807. * ThemeWin32Classic.cs: remove cache of brush and pens for
  12808. specific controls and use the global system, fixes scrollbutton
  12809. bugs (for small sizes, disabled, etc)
  12810. * ScrollBar.cs: does not show the thumb for very small controls
  12811. (as MS) and allow smaller buttons that the regular size
  12812. 2004-12-01 Miguel de Icaza <[email protected]>
  12813. * UpDownBase.cs: Add abstract methods for the interface.
  12814. Add new virtual methods (need to be hooked up to TextEntry when it
  12815. exists).
  12816. Add override methods for most features.
  12817. Computes the size, forces the height of the text entry.
  12818. * NumericUpDown.cs: Put here the current testing code.
  12819. * Set eol-style property on all files that do not have mixed line
  12820. endings, to minimize the future problems. There are still a few
  12821. files with mixed endings, and someone should choose whether they
  12822. want to move it or not.
  12823. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  12824. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  12825. System.Colors
  12826. 2004-11-30 Ravindra <[email protected]>
  12827. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  12828. drawing and replaced use of SystemColors by theme colors.
  12829. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  12830. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  12831. same ListViewItem is being added more than once.
  12832. 2004-11-30 John BouAntoun <[email protected]>
  12833. * MonthCalendar.cs:
  12834. - ControlStyles love to make the control not flicker
  12835. 2004-11-30 Peter Bartok <[email protected]>
  12836. * CharacterCasing.cs: Added
  12837. 2004-11-29 Peter Bartok <[email protected]>
  12838. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  12839. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  12840. I am removing these files as they conflict with already completed
  12841. work. While it is fantastic to get contributions to MWF, I
  12842. respectfully ask that everyone please coordinate their contributions
  12843. through mono-winforms-list or #mono-winforms at this time. We're
  12844. explicitly avoiding stubbing and don't want controls that don't have
  12845. their basic functionality implemented in svn. Please also see
  12846. http://www.mono-project.com/contributing/winforms.html
  12847. 2004-11-29 Marek Safar <[email protected]>
  12848. * Application.cs (ModalRun): Don't hang after exit.
  12849. * Theme.cs: New TreeViewDefaultSize property.
  12850. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  12851. with less hardcoded SystemColors constant.
  12852. Implemented TreeViewDefaultSize.
  12853. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  12854. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  12855. 2004-11-29 John BouAntoun <[email protected]>
  12856. * MonthCalendar.cs:
  12857. - Fix NextMonthDate and PrevMonthDate click moving calendar
  12858. 2004-11-26 John BouAntoun <[email protected]>
  12859. * MonthCalendar.cs:
  12860. - Fix usage of ScrollChange Property when scrolling months
  12861. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  12862. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  12863. - Fixes menu destroying
  12864. - Support adding and removing items on already created menus
  12865. 2004-11-26 John BouAntoun <[email protected]>
  12866. * MonthCalendar.cs:
  12867. - Re-worked all bolded dates handling to match win32
  12868. * ThemeWin32Classic.cs:
  12869. - Fixed rendering with bolded dates
  12870. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  12871. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  12872. - Horizontal scroolbar
  12873. - Multicolumn
  12874. - Fixes
  12875. 2004-11-25 John BouAntoun <[email protected]>
  12876. * MonthCalendar.cs:
  12877. - Fix Usage of MaxSelectionCount from SelectionRange
  12878. - Fixed Shift + Cursor Selection
  12879. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  12880. - Fixed normal cursor selection to be compat with win32
  12881. - Fixed Shift + Mouse Click selection
  12882. 2004-11-24 Peter Bartok <[email protected]>
  12883. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  12884. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  12885. * XplatUIX11.cs:
  12886. - CreatedKeyBoardMsg now updates keystate with Alt key
  12887. - Added workaround for timer crash to CheckTimers, Jackson will
  12888. develop a proper fix and check in later
  12889. - Implemented DispatchMessage
  12890. - Removed calling the native window proc from GetMessage (call
  12891. now moved to DispatchMessage)
  12892. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  12893. the keydata (Fixes bug #69831)
  12894. * XplatUIWin32.cs:
  12895. - (DispatchMessage): Switched to return IntPtr
  12896. - Added DllImport for SetFocus
  12897. 2004-11-24 Ravindra <[email protected]>
  12898. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  12899. background drawing.
  12900. * ListViewItem.cs: Fixed various properties, calculations
  12901. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  12902. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  12903. and some internal properties. Fixed MouseDown handler and Paint
  12904. method.
  12905. 2004-11-24 John BouAntoun <[email protected]>
  12906. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  12907. 2004-11-24 John BouAntoun <[email protected]>
  12908. * ContainerControl.cs: correct accidental check in of local changes
  12909. 2004-11-24 John BouAntoun <[email protected]>
  12910. * ThemeWin32Classic.cs:
  12911. - Fixed Drawing Last month in grid (sometimes not showing)
  12912. * MonthCalendar.cs:
  12913. - Fixed title width calculation bug (makeing title small)
  12914. 2004-11-23 Peter Bartok <[email protected]>
  12915. * XplatUIX11.cs:
  12916. - Added generation of WM_MOUSEHOVER event
  12917. - Added missing assignment of async_method atom
  12918. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  12919. 2004-11-23 John BouAntoun <[email protected]>
  12920. * ThemeWin32Classic.cs:
  12921. - Fixed Drawing of today circle when showtodaycircle not set
  12922. - fixed drawing of first and last month in the grid (gay dates)
  12923. * MonthCalendar.cs:
  12924. - Fixed Drawing of today circle
  12925. - Fixed drawing of grady dates
  12926. - Fixed HitTest for today link when ShowToday set to false
  12927. - Fixed DefaultSize to obey ShowToday
  12928. 2004-11-23 John BouAntoun <[email protected]>
  12929. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  12930. * System.Windows.Forms/Theme.cs
  12931. * MonthCalendar.cs: added for MonthCalendar
  12932. * SelectionRange.cs: added for MonthCalendar
  12933. * Day.cs: added for MonthCalendar: added for MonthCalendar
  12934. * DateRangeEventArgs.cs: added for MonthCalendar
  12935. * DateRangeEventHandler.cs: added for MonthCalendar
  12936. 2004-11-22 Ravindra <[email protected]>
  12937. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  12938. property.
  12939. 2004-11-22 Miguel de Icaza <[email protected]>
  12940. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  12941. event handler.
  12942. * NumericUpDown.cs: Added new implementation.
  12943. * UpDownBase.cs: Added new implementation.
  12944. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  12945. implementations.
  12946. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  12947. implementations.
  12948. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  12949. methods.
  12950. 2004-11-21 Miguel de Icaza <[email protected]>
  12951. * Timer.cs (Dispose): Should call the base dispose when
  12952. overriding.
  12953. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  12954. * ScrollBar.cs: updates thumb position when max, min or increment
  12955. is changed
  12956. 2004-11-21 Ravindra <[email protected]>
  12957. * ListView.cs: Implemented item selection, activation and
  12958. column header style. Fixed properties to do a redraw, if
  12959. required. Added support for MouseHover, DoubleClick, KeyDown
  12960. and KeyUp event handling and some minor fixes.
  12961. * ListViewItem.cs: Fixed constructor.
  12962. * ThemeWin32Classic.cs: Improved drawing for ListView.
  12963. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  12964. * ThemeWin32Classic.cs: initial listbox drawing code
  12965. * DrawMode.cs: new enumerator
  12966. * ListControl.cs: stubbed class
  12967. * ListBox.cs: initial implementation
  12968. * Theme.cs: new methods definitions
  12969. * SelectionMode.cs: new enumerator
  12970. 2004-11-17 Peter Bartok <[email protected]>
  12971. * XplatUIWin32.cs: Added double-click events to the class style
  12972. * Control.cs (WndProc):
  12973. - Added handling of click-count to MouseDown/ MouseUp events.
  12974. - Added handling of middle and right mouse buttons
  12975. - Removed old debug code
  12976. 2004-11-17 Jackson Harper <[email protected]>
  12977. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  12978. 2004-11-17 Ravindra <[email protected]>
  12979. * ListView.cs: Added event handling for MouseMove/Up/Down.
  12980. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  12981. * ThemeWin32Classic.cs: We need to clear the graphics context and
  12982. draw column header in a proper state.
  12983. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  12984. * Menu.cs: fixes signature
  12985. 2004-11-16 Peter Bartok <[email protected]>
  12986. * XplatUIX11.cs (GetMessage): Implemented generation of
  12987. double click mouse messages
  12988. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  12989. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  12990. not by menu
  12991. 2004-11-11 Peter Bartok <[email protected]>
  12992. * HandleData.cs: Added Visible property
  12993. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  12994. HandleData
  12995. * XplatUIX11.cs: Removed old debug leftovers
  12996. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  12997. * Control.cs (WndProc): Removed old debug leftovers,
  12998. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  12999. needed WM_SIZE handling
  13000. 2004-11-11 Jackson Harper <[email protected]>
  13001. * OwnerDrawPropertyBag.cs:
  13002. * TreeViewImageIndexConverter.cs: Initial implementation
  13003. 2004-11-10 Jackson Harper <[email protected]>
  13004. * ThemeWin32Classic.cs:
  13005. * TabControl.cs: instead of moving tabs by the slider pos just
  13006. start drawing at the tab that is offset by the slider. This way
  13007. scrolling always moves by exactly one tab.
  13008. 2004-11-10 Jackson Harper <[email protected]>
  13009. * TabControl.cs: You can only scroll left when the slider has
  13010. already ben moved right.
  13011. 2004-11-10 Jackson Harper <[email protected]>
  13012. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  13013. the clip area.
  13014. 2004-11-10 Jackson Harper <[email protected]>
  13015. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  13016. clip area.
  13017. 2004-11-09 Jackson Harper <[email protected]>
  13018. * TabControl.cs (CalcXPos): New helper method so we can determine
  13019. the proper place to start drawing vertical tabs.
  13020. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  13021. 2004-11-09 Jackson Harper <[email protected]>
  13022. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  13023. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  13024. and Bottom, left and right are illegal values for this and
  13025. multiline is enabled when the alignment is set to left or right.
  13026. (DrawTab): Each alignment block should draw the text itself now
  13027. because Left requires special love. Also add rendering for Left
  13028. aligned tabs.
  13029. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  13030. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  13031. does not destroy the windows, removes debugging messages
  13032. 2004-11-09 jba <[email protected]>
  13033. * ThemeWin32Classic.cs
  13034. (DrawButtonBase): Fix verticle text rect clipping in windows
  13035. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  13036. rendering and incorrect text rect clipping
  13037. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  13038. rendering and incorrect text rect clipping
  13039. 2004-11-08 Jackson Harper <[email protected]>
  13040. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  13041. bottom when they are bottom aligned so the bottoms of the tabs get
  13042. displayed.
  13043. * TabControl.cs (DropRow): Move rows up instead of down when the
  13044. tab control is bottom aligned.
  13045. 2004-11-08 13:59 pbartok
  13046. * XplatUIX11.cs:
  13047. - Added handling for various window styles
  13048. - Added handling for popup windows
  13049. - Added SetTopmost handling
  13050. 2004-11-08 13:55 pbartok
  13051. * XplatUIWin32.cs:
  13052. - Added argument to SetTopmost method
  13053. - Fixed broken ClientToScreen function
  13054. 2004-11-08 13:53 pbartok
  13055. * XplatUIStructs.cs:
  13056. - Added missing WS_EX styles
  13057. 2004-11-08 13:53 pbartok
  13058. * XplatUI.cs, XplatUIDriver.cs:
  13059. - Added argument to SetTopmost
  13060. 2004-11-08 13:52 pbartok
  13061. * X11Structs.cs:
  13062. - Added XSetWindowAttributes structure
  13063. - Improved XWindowAttributes structure
  13064. - Added SetWindowValuemask enum
  13065. - Added window creation arguments enum
  13066. - Added gravity enum
  13067. - Added Motif hints structure
  13068. - Added various Motif flags and enums
  13069. - Added PropertyMode enum for property functions
  13070. 2004-11-08 13:50 pbartok
  13071. * Form.cs:
  13072. - Fixed arguments for updated SetTopmost method
  13073. 2004-11-08 13:49 pbartok
  13074. * ToolTip.cs:
  13075. - Fixed arguments for updated SetTopmost function
  13076. - Fixed usage of PointToClient
  13077. 2004-11-08 13:44 pbartok
  13078. * MenuAPI.cs:
  13079. - Added Clipping of children and siblings
  13080. 2004-11-08 13:41 pbartok
  13081. * MainMenu.cs:
  13082. - Removed SetMenuBarWindow call. We do this in Form.cs
  13083. 2004-11-08 13:40 jackson
  13084. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  13085. scrolling jimmi in the correct location with bottom aligned tabs
  13086. 2004-11-08 13:36 pbartok
  13087. * ContainerControl.cs:
  13088. - Implemented BindingContext
  13089. - Implemented ParentForm
  13090. 2004-11-08 12:46 jackson
  13091. * TabControl.cs: Put bottom rendered tabs in the right location
  13092. 2004-11-08 07:15 jordi
  13093. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  13094. removes dead code
  13095. 2004-11-05 17:30 jackson
  13096. * TabControl.cs: When selected tabs are expanded make sure they
  13097. don't go beyond the edges of the tab control
  13098. 2004-11-05 14:57 jackson
  13099. * TabControl.cs: Reset show_slider so if the control is resized to
  13100. a size where it is no longer needed it's not displayed anymore
  13101. 2004-11-05 13:16 jackson
  13102. * TabControl.cs: Make tab pages non visible when added to the
  13103. control
  13104. 2004-11-05 12:42 jackson
  13105. * TabControl.cs: Implement SizeMode.FillToRight
  13106. 2004-11-05 12:16 jackson
  13107. * Control.cs: Do not call CreateHandle if the handle is already
  13108. created
  13109. 2004-11-05 11:46 jackson
  13110. * TabControl.cs: Remove superflous call to CalcTabRows
  13111. 2004-11-05 09:07 jackson
  13112. * XplatUIX11.cs: Update for Mono.Posix changes
  13113. 2004-11-05 07:00 ravindra
  13114. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  13115. scrolling.
  13116. 2004-11-04 22:47 jba
  13117. * ThemeWin32Classic.cs:
  13118. - Fix Button rendering for FlatStyle = Flat or Popup
  13119. - Fix RadioButton and CheckBox rendering when Appearance = Button
  13120. (normal and flatstyle).
  13121. - Correct outer rectangle color when drawing focus rectangle
  13122. - Adjust button bounds to be 1 px smaller when focused
  13123. - Make button not draw sunken 3d border when pushed (windows compat)
  13124. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  13125. - Offset the text in RadioButton and Checkbox when being rendered as
  13126. a button.
  13127. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  13128. radiobuttons
  13129. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  13130. - Fixed disabled text rendering for normally rendered radiobuttons
  13131. 2004-11-04 10:26 jackson
  13132. * TabControl.cs: Recalculate tab rows when resizing
  13133. 2004-11-04 07:47 jordi
  13134. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  13135. collection completion, drawing issues, missing features
  13136. 2004-11-04 05:03 ravindra
  13137. * ScrollBar.cs:
  13138. - We need to recalculate the Thumb area when
  13139. LargeChange/maximum/minimum values are changed.
  13140. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  13141. than minimum. This is required to handle the case if large_change is
  13142. more than max, and use LargeChange property instead of large_change
  13143. variable.
  13144. - We return max+1 when large_change is more than max, like MS does.
  13145. 2004-11-04 04:29 ravindra
  13146. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  13147. - Changed default value signatures (prefixed all with ListView).
  13148. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  13149. ListView.
  13150. - Fixed calculations for ListViewItem and implemented Clone()
  13151. method.
  13152. 2004-11-04 04:26 ravindra
  13153. * Theme.cs, ThemeWin32Classic.cs:
  13154. - Changed default ListView values signatures (prefixed all with
  13155. ListView).
  13156. - Fixed default size values for VScrollBar and HScrollBar.
  13157. - Fixed DrawListViewItem method.
  13158. 2004-11-04 04:05 ravindra
  13159. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  13160. 2004-11-04 04:04 ravindra
  13161. * ImageList.cs: Implemented the missing overload for Draw method.
  13162. 2004-11-03 19:29 jackson
  13163. * TabControl.cs: Handle dropping rows on selection properly
  13164. 2004-11-03 11:59 jackson
  13165. * TabControl.cs: remove debug code
  13166. 2004-11-03 11:52 jackson
  13167. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  13168. the scrolly widgerywoo
  13169. 2004-11-02 13:52 jackson
  13170. * TabControl.cs: Resize the tab pages and tabs when the tab control
  13171. is resized
  13172. 2004-11-02 13:40 jackson
  13173. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  13174. selected tab to the bottom
  13175. 2004-11-02 13:39 jackson
  13176. * TabPage.cs: Store the tab pages row
  13177. 2004-11-02 12:33 jordi
  13178. * MenuItem.cs: fixes handle creation
  13179. 2004-11-02 11:42 jackson
  13180. * TabControl.cs: signature fix
  13181. 2004-11-02 08:56 jackson
  13182. * TabControl.cs: Calculate whether the tab is on an edge properly.
  13183. Remove top secret debugging code
  13184. 2004-11-01 19:57 jackson
  13185. * TabControl.cs: Add click handling, and proper sizing
  13186. 2004-11-01 19:47 jackson
  13187. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  13188. tab controls
  13189. 2004-11-01 19:39 jackson
  13190. * TabPage.cs: add internal property to store the bounds of a tab
  13191. page
  13192. 2004-10-30 04:23 ravindra
  13193. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  13194. values.
  13195. 2004-10-30 04:21 ravindra
  13196. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  13197. fixed calculations.
  13198. 2004-10-30 03:06 pbartok
  13199. * XplatUIX11.cs:
  13200. - Removed extension of DllImported libs
  13201. 2004-10-29 09:55 jordi
  13202. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  13203. navigation, itemcollection completion, menu fixes
  13204. 2004-10-27 22:58 pbartok
  13205. * XplatUIX11.cs:
  13206. - Now throws a nice error message when no X display could be opened
  13207. 2004-10-26 13:51 jordi
  13208. * ListView.cs: removes warning
  13209. 2004-10-26 03:55 ravindra
  13210. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  13211. ThemeWin32Classic.cs: Some formatting for my last checkins.
  13212. 2004-10-26 03:36 ravindra
  13213. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  13214. control and default values.
  13215. 2004-10-26 03:35 ravindra
  13216. * Theme.cs: Added some default values for ListView control.
  13217. 2004-10-26 03:33 ravindra
  13218. * ToolBar.cs: ToolBar should use the user specified button size, if
  13219. there is any. Added a size_specified flag for the same.
  13220. 2004-10-26 03:33 ravindra
  13221. * ColumnHeader.cs: Added some internal members and calculations for
  13222. ColumnHeader.
  13223. 2004-10-26 03:32 ravindra
  13224. * ListViewItem.cs: Calculations for ListViewItem.
  13225. 2004-10-26 03:31 ravindra
  13226. * ListView.cs: Added some internal members and calculations for
  13227. ListView.
  13228. 2004-10-22 13:31 jordi
  13229. * MenuAPI.cs: speedup menus drawing
  13230. 2004-10-22 13:16 jackson
  13231. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  13232. expose event
  13233. 2004-10-22 11:49 jackson
  13234. * Control.cs: oops
  13235. 2004-10-22 11:41 jackson
  13236. * Control.cs: Check to see if the window should have its background
  13237. repainted by X when drawing.
  13238. 2004-10-22 11:31 jackson
  13239. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  13240. clear is true, this way we do not get flicker from X repainting the
  13241. background
  13242. 2004-10-22 11:28 jackson
  13243. * XEventQueue.cs: Queue properly
  13244. 2004-10-21 09:38 jackson
  13245. * XEventQueue.cs: Fix access modifier
  13246. 2004-10-21 09:36 jackson
  13247. * XEventQueue.cs: Don't loose messages
  13248. 2004-10-21 09:22 jackson
  13249. * XEventQueue.cs: Don't loose messages
  13250. 2004-10-20 04:15 jordi
  13251. * BootMode.cs: enum need it by SystemInfo
  13252. 2004-10-19 21:58 pbartok
  13253. * XplatUIWin32.cs:
  13254. - Small sanity check
  13255. 2004-10-19 21:56 pbartok
  13256. * Form.cs:
  13257. - Added private FormParentWindow class which acts as the container
  13258. for our form and as the non-client area where menus are drawn
  13259. - Added/Moved required tie-ins to Jordi's menus
  13260. - Fixed/Implemented the FormStartPosition functionality
  13261. 2004-10-19 21:52 pbartok
  13262. * Control.cs:
  13263. - Removed unneeded locals
  13264. - Added code to all size and location properties to understand and
  13265. deal with the parent container of Form
  13266. 2004-10-19 21:33 pbartok
  13267. * Application.cs:
  13268. - Fixed to deal with new Form subclasses for menus
  13269. 2004-10-19 17:48 jackson
  13270. * XEventQueue.cs: commit correct version of file
  13271. 2004-10-19 16:50 jackson
  13272. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  13273. 2004-10-19 16:15 jordi
  13274. * MenuAPI.cs: MenuBarCalcSize returns the height
  13275. 2004-10-19 08:31 pbartok
  13276. * Control.cs:
  13277. - Added missing call to PreProcessMessage before calling OnXXXKey
  13278. methods
  13279. 2004-10-19 00:04 ravindra
  13280. * ToolTip.cs: Fixed constructor.
  13281. 2004-10-18 09:31 jordi
  13282. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  13283. 2004-10-18 09:26 jordi
  13284. * MenuItem.cs: fixes MenuItem class signature
  13285. 2004-10-18 08:56 jordi
  13286. * MenuAPI.cs: prevents windows from showing in the taskbar
  13287. 2004-10-18 00:28 ravindra
  13288. * ToolTip.cs: Suppressed a warning message.
  13289. 2004-10-18 00:27 ravindra
  13290. * Control.cs: Default value of visible property must be true.
  13291. 2004-10-17 23:19 pbartok
  13292. * ToolTip.cs:
  13293. - Complete implementation
  13294. 2004-10-17 23:19 pbartok
  13295. * XplatUIX11.cs:
  13296. - Added EnableWindow method
  13297. - Added SetModal stub
  13298. - Added generation of WM_ACTIVATE message (still needs testing)
  13299. - Added SetTopMost stub
  13300. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  13301. 2004-10-17 23:17 pbartok
  13302. * XplatUIWin32.cs:
  13303. - Removed VirtualKeys to XplatUIStructs
  13304. - Implemented SetTopMost method
  13305. - Implemented EnableWindow method
  13306. - Bugfix in ScreenToClient()
  13307. - Bugfixes in ClientToScreen()
  13308. 2004-10-17 22:51 pbartok
  13309. * XplatUIStructs.cs:
  13310. - Added WS_EX styles to WindowStyles enumeration
  13311. 2004-10-17 22:50 pbartok
  13312. * XplatUI.cs, XplatUIDriver.cs:
  13313. - Added method for enabling/disabling windows
  13314. - Added method for setting window modality
  13315. - Added method for setting topmost window
  13316. 2004-10-17 22:49 pbartok
  13317. * ThemeWin32Classic.cs:
  13318. - Added ToolTip drawing code
  13319. 2004-10-17 22:49 pbartok
  13320. * Theme.cs:
  13321. - Added ToolTip abstracts
  13322. 2004-10-17 22:47 pbartok
  13323. * Form.cs:
  13324. - Fixed Form.ControlCollection to handle owner relations
  13325. - Added Owner/OwnedForms handling
  13326. - Implemented Z-Ordering for owned forms
  13327. - Removed unneeded private overload of ShowDialog
  13328. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  13329. so I hope)
  13330. - Fixed Close(), had wrong default
  13331. - Added firing of OnLoad event
  13332. - Added some commented out debug code for Ownership handling
  13333. 2004-10-17 22:16 pbartok
  13334. * Control.cs:
  13335. - Fixed/implemented flat list of controls
  13336. 2004-10-17 22:14 pbartok
  13337. * Application.cs:
  13338. - Added code to simulate modal dialogs on Win32
  13339. 2004-10-17 16:11 jordi
  13340. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  13341. mouse event
  13342. 2004-10-17 13:39 jordi
  13343. * MenuAPI.cs: menu drawing fixes
  13344. 2004-10-15 09:10 ravindra
  13345. * StructFormat.cs: General Enum.
  13346. 2004-10-15 09:09 ravindra
  13347. * SizeGripStyle.cs: Enum for Form.
  13348. 2004-10-15 09:08 ravindra
  13349. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  13350. in Theme for ListView.
  13351. 2004-10-15 09:06 ravindra
  13352. * ColumnHeader.cs: Flushing some formatting changes.
  13353. 2004-10-15 09:05 ravindra
  13354. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  13355. style.
  13356. 2004-10-15 09:03 ravindra
  13357. * ListView.cs: Implemented Paint method and fixed coding style.
  13358. 2004-10-15 07:34 jordi
  13359. * MenuAPI.cs: fix for X11
  13360. 2004-10-15 07:32 ravindra
  13361. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  13362. - Renamed Paint() method to Draw() for clarity. Also, moved
  13363. DrawImage() to OnPaint().
  13364. 2004-10-15 07:25 ravindra
  13365. * CheckBox.cs, RadioButton.cs:
  13366. - Removed Redraw (), we get it from ButtonBase.
  13367. - Implemented Paint (), to do class specific painting.
  13368. 2004-10-15 07:16 ravindra
  13369. * ButtonBase.cs:
  13370. - Redraw () is not virtual now.
  13371. - Added an internal virtual method Paint (), so that
  13372. derived classes can do their painting on their own.
  13373. - Modified OnPaint () to call Paint ().
  13374. 2004-10-15 06:43 jordi
  13375. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  13376. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  13377. 2004-10-15 00:30 ravindra
  13378. * MessageBox.cs:
  13379. - MessageBox on windows does not have min/max buttons.
  13380. This change in CreateParams fixes this on Windows. We
  13381. still need to implement this windowstyle behavior in
  13382. our X11 driver.
  13383. 2004-10-14 05:14 ravindra
  13384. * ToolBar.cs:
  13385. - Changed Redraw () to do a Refresh () always.
  13386. - Fixed the MouseMove event handling when mouse is pressed,
  13387. ie drag event handling.
  13388. - Replaced the usage of ToolBarButton.Pressed property to
  13389. ToolBarButton.pressed internal variable.
  13390. 2004-10-14 05:10 ravindra
  13391. * ToolBarButton.cs:
  13392. - Added an internal member 'inside' to handle mouse move
  13393. with mouse pressed ie mouse drag event.
  13394. - Changed 'Pressed' property to return true only when
  13395. 'inside' and 'pressed' are both true.
  13396. - Some coding style love.
  13397. 2004-10-14 00:17 ravindra
  13398. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  13399. public method.
  13400. 2004-10-14 00:15 ravindra
  13401. * ButtonBase.cs: Redraw () related improvements.
  13402. 2004-10-14 00:14 ravindra
  13403. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  13404. removed unnecessary calls to Button.Show () method.
  13405. 2004-10-13 17:50 pbartok
  13406. * XplatUIX11.cs:
  13407. - Formatting fix
  13408. - Removed destroying of window until we solve the problem of X
  13409. destroying the window before us on shutdown
  13410. 2004-10-13 16:32 pbartok
  13411. * ButtonBase.cs:
  13412. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  13413. 2004-10-13 14:18 pbartok
  13414. * XplatUIX11.cs:
  13415. - Added code to destroy the X window
  13416. 2004-10-13 14:18 pbartok
  13417. * XplatUIWin32.cs:
  13418. - Added code to destroy a window
  13419. 2004-10-13 14:12 pbartok
  13420. * ButtonBase.cs:
  13421. - Added the Redraw on Resize that got dropped in the last rev
  13422. 2004-10-13 09:06 pbartok
  13423. * ThemeWin32Classic.cs:
  13424. - Path from John BouAntoun:
  13425. * Fix check rendering (centre correctly for normal style, offset
  13426. correctly for FlatStyle).
  13427. * Fix border color usage (use backcolor) for FlatStyle.Popup
  13428. * Use checkbox.Capture instead of checkbox.is_pressed when
  13429. rendering flatstyle states.
  13430. 2004-10-12 21:48 pbartok
  13431. * ThemeWin32Classic.cs:
  13432. - Removed all occurences of SystemColors and replaced them with the
  13433. matching theme color
  13434. 2004-10-12 21:41 pbartok
  13435. * ThemeWin32Classic.cs:
  13436. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  13437. him using the function for flatstyle drawing
  13438. - Changed functions to use the new version of CPDrawBorder3D
  13439. 2004-10-12 21:15 pbartok
  13440. * ControlPaint.cs:
  13441. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  13442. match MS documentation. They need to return defined colors if the
  13443. passed color matches the configured control color. Thanks to John
  13444. BouAntoun for pointing this out.
  13445. 2004-10-12 20:57 pbartok
  13446. * Control.cs:
  13447. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  13448. color is changed
  13449. 2004-10-12 20:46 pbartok
  13450. * CheckBox.cs:
  13451. - Fix from John BouAntoun: Now properly sets the Appearance property
  13452. 2004-10-12 20:45 pbartok
  13453. * ThemeWin32Classic.cs:
  13454. - Fixes from John BouAntoun: now handles forecolors and backcolors
  13455. for flatstyle rendered controls much better; It also fixes normal
  13456. checkbox rendering when pushed or disabled.
  13457. 2004-10-08 02:50 jordi
  13458. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  13459. work
  13460. 2004-10-07 08:56 jordi
  13461. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  13462. 2004-10-06 03:59 jordi
  13463. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  13464. XplatUIWin32.cs: removes warnings from compilation
  13465. 2004-10-05 12:23 jackson
  13466. * RadioButton.cs: Fix ctor
  13467. 2004-10-05 11:10 pbartok
  13468. * MessageBox.cs:
  13469. - Partial implementation by Benjamin Dasnois
  13470. 2004-10-05 10:15 jackson
  13471. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  13472. by John BouAntoun
  13473. 2004-10-05 03:07 ravindra
  13474. * ToolBar.cs:
  13475. - Removed a private method, Draw ().
  13476. - Fixed the ButtonDropDown event handling.
  13477. - Fixed MouseMove event handling.
  13478. 2004-10-05 03:04 ravindra
  13479. * ThemeWin32Classic.cs:
  13480. - Added DrawListView method and ListViewDefaultSize property.
  13481. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  13482. - Changed DOS style CRLF to Unix format (dos2unix).
  13483. 2004-10-05 03:03 ravindra
  13484. * Theme.cs:
  13485. - Added DrawListView method and ListViewDefaultSize property.
  13486. 2004-10-05 02:42 ravindra
  13487. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  13488. clicks on DropDown arrow.
  13489. 2004-10-04 22:56 jackson
  13490. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  13491. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  13492. Control handle the buffers, derived classes should not have to
  13493. CreateBuffers themselves.
  13494. 2004-10-04 21:20 jackson
  13495. * StatusBar.cs: The control handles resizing the buffers now.
  13496. 2004-10-04 21:18 jackson
  13497. * Control.cs: When resizing the buffers should be invalidated. This
  13498. should be handled in Control not in derived classes.
  13499. 2004-10-04 14:45 jackson
  13500. * TabPage.cs: oops
  13501. 2004-10-04 02:14 pbartok
  13502. * LeftRightAlignment.cs:
  13503. - Initial check-in
  13504. 2004-10-04 01:09 jordi
  13505. * ThemeWin32Classic.cs: fixes right button position causing right
  13506. button not showing on horizontal scrollbars
  13507. 2004-10-02 13:12 pbartok
  13508. * XplatUIX11.cs:
  13509. - Simplified the Invalidate method by using an X call instead of
  13510. generating the expose ourselves
  13511. - Added an expose when the window background is changed
  13512. - Implemented ClientToScreen method
  13513. 2004-10-02 13:08 pbartok
  13514. * XplatUIWin32.cs:
  13515. - Added Win32EnableWindow method (test for implementing modal
  13516. dialogs)
  13517. - Added ClientToScreen method and imports
  13518. 2004-10-02 13:07 pbartok
  13519. * XplatUI.cs, XplatUIDriver.cs:
  13520. - Added ClientToScreen coordinate translation method
  13521. 2004-10-02 13:06 pbartok
  13522. * KeyPressEventArgs.cs:
  13523. - Fixed access level for constructor
  13524. 2004-10-02 13:06 pbartok
  13525. * NativeWindow.cs:
  13526. - Changed access level for the window_collection hash table
  13527. 2004-10-02 13:05 pbartok
  13528. * Form.cs:
  13529. - Added KeyPreview property
  13530. - Added Menu property (still incomplete, pending Jordi's menu work)
  13531. - Implemented ProcessCmdKey
  13532. - Implemented ProcessDialogKey
  13533. - Implemented ProcessKeyPreview
  13534. 2004-10-02 13:02 pbartok
  13535. * Control.cs:
  13536. - Added private method to get the Control object from the window
  13537. handle
  13538. - Implemented ContextMenu property
  13539. - Implemented PointToScreen
  13540. - Implemented PreProcessMessage
  13541. - Implemented IsInputChar
  13542. - Implemented IsInputKey
  13543. - Implemented ProcessCmdKey
  13544. - Completed ProcessKeyEventArgs
  13545. - Fixed message loop to call the proper chain of functions on key
  13546. events
  13547. - Implemented ProcessDialogChar
  13548. - Implemented ProcessDialogKey
  13549. - Implemented ProcessKeyMessage
  13550. - Implemented ProcessKeyPreview
  13551. - Added RaiseDragEvent stub (MS internal method)
  13552. - Added RaiseKeyEvent stub (MS internal method)
  13553. - Added RaiseMouseEvent stub (MS Internal method)
  13554. - Added RaisePaintEvent stub (MS Internal method)
  13555. - Added ResetMouseEventArgs stub (MS Internal method)
  13556. - Implemented RtlTranslateAlignment
  13557. - Implemented RtlTranslateContent
  13558. - Implemented RtlTranslateHorizontal
  13559. - Implemented RtlTranslateLeftRight
  13560. - Added generation of KeyPress event
  13561. 2004-10-02 05:57 ravindra
  13562. * ListViewItem.cs: Added attributes.
  13563. 2004-10-02 05:32 ravindra
  13564. * ListView.cs: Added attributes.
  13565. 2004-10-01 11:53 jackson
  13566. * Form.cs: Implement the Close method so work on MessageBox can
  13567. continue.
  13568. 2004-09-30 14:06 pbartok
  13569. * XplatUIX11.cs:
  13570. - Bug fixes
  13571. 2004-09-30 11:34 jackson
  13572. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  13573. 2004-09-30 07:26 ravindra
  13574. * ListViewItemConverter.cs: Converter for ListViewItem.
  13575. 2004-09-30 07:26 ravindra
  13576. * SortOrder.cs: Enum for ListView control.
  13577. 2004-09-30 07:25 ravindra
  13578. * ColumnHeader.cs: Supporting class for ListView control.
  13579. 2004-09-30 07:24 ravindra
  13580. * ListView.cs, ListViewItem.cs: Initial implementation.
  13581. 2004-09-30 07:20 ravindra
  13582. * ItemActivation.cs: Enum for ListView Control.
  13583. 2004-09-29 20:29 pbartok
  13584. * XplatUIX11.cs:
  13585. - Added lookup of pixel value for background color; tries to get a
  13586. color 'close' to the requested color, it avoids having to create a
  13587. colormap. Depending on the display this could mean the used color
  13588. is slightly off the desired color. Might have to change it to a more
  13589. resource intensive colormap approach, but it will work as a
  13590. workaround to avoid red screens.
  13591. 2004-09-29 14:27 jackson
  13592. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  13593. 2004-09-28 12:44 pbartok
  13594. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  13595. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  13596. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  13597. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  13598. TrackBar.cs, VScrollBar.cs:
  13599. - Streamlined Theme interfaces:
  13600. * Each DrawXXX method for a control now is passed the object for
  13601. the control to be drawn in order to allow accessing any state the
  13602. theme might require
  13603. * ControlPaint methods for the theme now have a CP prefix to avoid
  13604. name clashes with the Draw methods for controls
  13605. * Every control now retrieves it's DefaultSize from the current
  13606. theme
  13607. 2004-09-28 12:17 jackson
  13608. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  13609. drawing
  13610. 2004-09-24 14:57 jackson
  13611. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  13612. Gives us a nice little performance boost.
  13613. 2004-09-24 12:02 jackson
  13614. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  13615. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  13616. Control and supporting classes. Initial checkin
  13617. 2004-09-23 13:08 jackson
  13618. * Form.cs: Temp build fixage
  13619. 2004-09-23 01:39 ravindra
  13620. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  13621. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  13622. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  13623. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  13624. EventHandlers needed by ListView Control.
  13625. 2004-09-22 14:12 pbartok
  13626. * ScrollableControl.cs:
  13627. - Implemented DockPadding property
  13628. - Implemented AutoScroll property
  13629. - Implemented AutoScrollMargin property
  13630. - Implemented AutoScrollMinSize property
  13631. - Implemented AutoScrollPosition property
  13632. - Implemented DisplayRectangle property (still incomplete)
  13633. - Implemented CreateParams property
  13634. - Implemented HScroll property
  13635. - Implemented VScroll property
  13636. - Implemented OnVisibleChanged property
  13637. 2004-09-22 14:09 pbartok
  13638. * Form.cs:
  13639. - Added Form.ControllCollection class
  13640. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  13641. RemoveOwnedForm (still incomplete, missing on-top and common
  13642. minimize/maximize behaviour)
  13643. - Added StartPosition property (still incomplete, does not use when
  13644. creating the form)
  13645. - Added ShowDialog() methods (still incomplete, missing forcing the
  13646. dialog modal)
  13647. 2004-09-22 14:05 pbartok
  13648. * Application.cs:
  13649. - Added message loop for modal dialogs
  13650. 2004-09-22 14:02 pbartok
  13651. * GroupBox.cs:
  13652. - Fixed wrong types for events
  13653. 2004-09-22 14:00 pbartok
  13654. * Shortcut.cs, FormWindowState.cs:
  13655. - Fixed wrong values
  13656. 2004-09-22 12:01 jackson
  13657. * Control.cs: Text is never null
  13658. 2004-09-20 22:14 pbartok
  13659. * XplatUIWin32.cs:
  13660. - Fixed accessibility level for Idle handler
  13661. 2004-09-20 18:54 jackson
  13662. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  13663. XplatUIX11.cs: New message loop that uses poll so we don't get a
  13664. busy loop
  13665. 2004-09-17 10:43 pbartok
  13666. * ScrollBar.cs:
  13667. - Fixed behaviour of arrow buttons. Now properly behaves like
  13668. Buttons (and like Microsoft's scrollbar arrow buttons)
  13669. 2004-09-17 10:14 pbartok
  13670. * ScrollBar.cs:
  13671. - Added missing release of keyboard/mouse capture
  13672. 2004-09-17 06:18 jordi
  13673. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  13674. Theme.cs: Very early menu support
  13675. 2004-09-16 17:45 pbartok
  13676. * XplatUIWin32.cs:
  13677. - Fixed sending a window to the front
  13678. - Added overload for SetWindowPos to avoid casting
  13679. 2004-09-16 17:44 pbartok
  13680. * Control.cs:
  13681. - Added SendToBack and BringToFront methods
  13682. 2004-09-16 07:00 ravindra
  13683. * Copyright: Added Novell URL.
  13684. 2004-09-16 07:00 ravindra
  13685. * ToolBar.cs: Invalidate should be done before redrawing.
  13686. 2004-09-15 21:19 ravindra
  13687. * ColumnHeaderStyle.cs: Enum for ListView Control.
  13688. 2004-09-15 21:18 ravindra
  13689. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  13690. ListView Control.
  13691. 2004-09-13 18:26 jackson
  13692. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  13693. properly
  13694. 2004-09-13 18:13 jackson
  13695. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  13696. a second thread and post messages into the main threads message
  13697. queue. This makes timing much more consistent. Both win2K and XP
  13698. have a minimum timer value of 15 milliseconds, so we now do this
  13699. too.
  13700. 2004-09-13 15:18 pbartok
  13701. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  13702. XplatUIX11.cs:
  13703. - Added Z-Ordering methods
  13704. 2004-09-13 10:56 pbartok
  13705. * Form.cs:
  13706. - Fixed #region names
  13707. - Moved properties and methods into their proper #regions
  13708. 2004-09-13 10:51 pbartok
  13709. * Form.cs:
  13710. - Added Accept and CancelButton properties
  13711. - Added ProcessDialogKey() method
  13712. 2004-09-13 08:18 pbartok
  13713. * IWindowTarget.cs:
  13714. - Initial check-in
  13715. 2004-09-10 21:50 pbartok
  13716. * Control.cs:
  13717. - Added DoDragDrop() [incomplete]
  13718. - Properly implemented 'Visible' handling
  13719. - Added SetVisibleCore()
  13720. - Implemented FindChildAtPoint()
  13721. - Implemented GetContainerControl()
  13722. - Implemented Hide()
  13723. 2004-09-10 19:28 pbartok
  13724. * Control.cs:
  13725. - Moved methods into their appropriate #regions
  13726. - Reordered methods within regions alphabetically
  13727. 2004-09-10 18:57 pbartok
  13728. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  13729. - Added method to retrieve text from window
  13730. 2004-09-10 18:56 pbartok
  13731. * Control.cs:
  13732. - Moved some internal functions into the internal region
  13733. - Implemented FontHeight
  13734. - Implemented RenderRightToLeft
  13735. - Implemented ResizeRedraw
  13736. - Implemented ShowFocusCues
  13737. - Implemented ShowKeyboardCues
  13738. - Implemented FromChildHandle
  13739. - Implemented FromHandle
  13740. - Implemented IsMnemonic
  13741. - Implemented ReflectMessage
  13742. - All public and protected Static Methods are now complete
  13743. 2004-09-10 16:54 pbartok
  13744. * Control.cs:
  13745. - Implemented remaining missing public instance properties
  13746. - Alphabetized some out of order properties
  13747. 2004-09-10 05:51 ravindra
  13748. * PictureBox.cs: Added a check for null image.
  13749. 2004-09-10 00:59 jordi
  13750. * GroupBox.cs: remove cvs tag
  13751. 2004-09-09 05:25 ravindra
  13752. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  13753. 2004-09-09 05:23 ravindra
  13754. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  13755. parent redraw.
  13756. 2004-09-09 02:28 pbartok
  13757. * ThemeWin32Classic.cs:
  13758. - Improve disabled string look
  13759. 2004-09-09 01:15 jordi
  13760. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  13761. args and handler
  13762. 2004-09-08 23:56 ravindra
  13763. * ItemBoundsPortion.cs: It's enum, not a class!
  13764. 2004-09-08 23:47 ravindra
  13765. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  13766. Enums for Form.
  13767. 2004-09-08 21:13 ravindra
  13768. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  13769. ListView control.
  13770. 2004-09-08 21:03 ravindra
  13771. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  13772. avoid crash.
  13773. 2004-09-08 21:01 ravindra
  13774. * ScrollableControl.cs: Removed unreachable code.
  13775. 2004-09-08 06:45 jordi
  13776. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  13777. 2004-09-08 01:00 jackson
  13778. * XplatUIX11.cs: Only run the timers when updating the message
  13779. queue. This effectively gives X messages a higher priority then
  13780. timer messages. Timers still need love though
  13781. 2004-09-07 14:01 jackson
  13782. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  13783. this for us and the handle is no longer valid.
  13784. 2004-09-07 13:59 jackson
  13785. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  13786. loop that manages to not crash. TODO: Add poll and cleanup timers
  13787. 2004-09-07 11:12 jordi
  13788. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  13789. 2004-09-07 03:40 jordi
  13790. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  13791. fixes, methods, multiple links
  13792. 2004-09-06 06:55 jordi
  13793. * Control.cs: Caches ClientRectangle rectangle value
  13794. 2004-09-05 02:03 jordi
  13795. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  13796. certain situations
  13797. 2004-09-04 11:10 jordi
  13798. * Label.cs: Refresh when font changed
  13799. 2004-09-02 16:24 pbartok
  13800. * Control.cs:
  13801. - Added sanity check to creation of double buffer bitmap
  13802. 2004-09-02 16:24 pbartok
  13803. * ButtonBase.cs:
  13804. - Fixed selection of text color
  13805. - Fixed handling of resize event; now properly recreates double
  13806. buffering bitmap
  13807. - Added missing assignment of TextAlignment
  13808. - Added proper default for TextAlignment
  13809. 2004-09-02 14:26 pbartok
  13810. * RadioButton.cs:
  13811. - Added missing RadioButton.RadioButtonAccessibleObject class
  13812. 2004-09-02 14:26 pbartok
  13813. * Control.cs:
  13814. - Added missing Control.ControlAccessibleObject class
  13815. - Started to implement Select()ion mechanisms, still very incomplete
  13816. 2004-09-02 14:25 pbartok
  13817. * AccessibleObject.cs:
  13818. - Added missing methods
  13819. 2004-09-02 14:23 pbartok
  13820. * AccessibleNavigation.cs, AccessibleSelection.cs:
  13821. - Initial check-in
  13822. 2004-09-02 10:32 jordi
  13823. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  13824. pool for pens, brushes, and hatchbruses
  13825. 2004-09-01 15:30 jackson
  13826. * StatusBar.cs: Fix typo
  13827. 2004-09-01 14:44 pbartok
  13828. * RadioButton.cs:
  13829. - Fixed state
  13830. 2004-09-01 14:39 pbartok
  13831. * Button.cs, RadioButton.cs:
  13832. - Functional initial check-in
  13833. 2004-09-01 14:01 pbartok
  13834. * CheckBox.cs:
  13835. - Added missing default
  13836. - Added missing region mark
  13837. 2004-09-01 09:10 jordi
  13838. * Label.cs: fixes method signatures, new methods, events, fixes
  13839. autosize
  13840. 2004-09-01 07:19 jordi
  13841. * Control.cs: Init string variables with an empty object
  13842. 2004-09-01 04:20 jordi
  13843. * Control.cs: fires OnFontChanged event
  13844. 2004-08-31 20:07 pbartok
  13845. * ButtonBase.cs:
  13846. - Enabled display of strings
  13847. 2004-08-31 20:05 pbartok
  13848. * Form.cs:
  13849. - Added (partial) implementation of DialogResult; rest needs to be
  13850. implemented when the modal loop code is done
  13851. 2004-08-31 19:55 pbartok
  13852. * CheckBox.cs:
  13853. - Fixed to match the removal of the needs_redraw concept
  13854. 2004-08-31 19:55 pbartok
  13855. * ButtonBase.cs:
  13856. - Removed the rather odd split between 'needs redraw' and redrawing
  13857. - Now handles the events that require regeneration (ambient
  13858. properties and size)
  13859. 2004-08-31 19:41 pbartok
  13860. * Control.cs:
  13861. - Added firing of BackColorChanged event
  13862. - Added TopLevelControl property
  13863. - Fixed handling of WM_ERASEBKGRND message
  13864. 2004-08-31 12:49 pbartok
  13865. * ButtonBase.cs:
  13866. - Removed debug
  13867. - Minor fixes
  13868. 2004-08-31 12:48 pbartok
  13869. * CheckBox.cs:
  13870. - Finished (famous last words)
  13871. 2004-08-31 04:35 jordi
  13872. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  13873. scrolling bugs, adds new methods
  13874. 2004-08-30 14:42 pbartok
  13875. * CheckBox.cs:
  13876. - Implemented CheckBox drawing code
  13877. 2004-08-30 14:42 pbartok
  13878. * ButtonBase.cs:
  13879. - Made Redraw() and CheckRedraw() virtual
  13880. - Improved mouse up/down/move logic to properly track buttons
  13881. 2004-08-30 09:44 pbartok
  13882. * CheckBox.cs:
  13883. - Updated to fix broken build. Not complete yet.
  13884. 2004-08-30 09:28 pbartok
  13885. * CheckState.cs:
  13886. - Initial checkin
  13887. 2004-08-30 09:17 pbartok
  13888. * Appearance.cs:
  13889. - Initial check-in
  13890. 2004-08-27 16:12 ravindra
  13891. * ToolBarButton.cs: Added TypeConverter attribute.
  13892. 2004-08-27 16:07 ravindra
  13893. * ImageIndexConverter.cs: Implemented.
  13894. 2004-08-27 14:17 pbartok
  13895. * Control.cs:
  13896. - Removed unneeded stack vars
  13897. - First attempt to fix sizing issues when layout is suspended
  13898. 2004-08-25 15:35 jordi
  13899. * ScrollBar.cs: more fixes to scrollbar
  13900. 2004-08-25 14:04 ravindra
  13901. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  13902. Added the missing divider code and grip for ToolBar Control.
  13903. 2004-08-25 13:20 pbartok
  13904. * Control.cs:
  13905. - Control now properly passes the ambient background color to child
  13906. controls
  13907. 2004-08-25 13:20 jordi
  13908. * ScrollBar.cs: small bug fix regarding bar position
  13909. 2004-08-25 12:33 pbartok
  13910. * Timer.cs:
  13911. - Now only calls SetTimer or KillTimer if the enabled state has
  13912. changed
  13913. 2004-08-25 12:33 pbartok
  13914. * XplatUIWin32.cs:
  13915. - Fixed timer handling, now seems to work
  13916. - Improved error message for window creation
  13917. 2004-08-25 12:32 pbartok
  13918. * Control.cs:
  13919. - Fixed generation of MouseUp message
  13920. 2004-08-25 12:29 jordi
  13921. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  13922. and fixes for progressbar
  13923. 2004-08-24 18:43 ravindra
  13924. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  13925. in ToolBar control.
  13926. 2004-08-24 17:15 pbartok
  13927. * Panel.cs:
  13928. - Added #region
  13929. - Added missing events
  13930. - Alphabetized
  13931. 2004-08-24 17:14 pbartok
  13932. * StatusBar.cs, PictureBox.cs:
  13933. - Now uses Control's CreateParams
  13934. 2004-08-24 16:36 pbartok
  13935. * XplatUIX11.cs:
  13936. - Fixed background color handling
  13937. - Fixed sending of enter/leave events on a grab
  13938. 2004-08-24 16:35 pbartok
  13939. * X11Structs.cs:
  13940. - Refined definitions for CrossingEvent
  13941. 2004-08-24 12:37 jordi
  13942. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  13943. formmating, methods signature, and adds missing events
  13944. 2004-08-24 12:24 jordi
  13945. * Control.cs: fire OnEnabledChanged event
  13946. 2004-08-24 11:17 pbartok
  13947. * XplatUIWin32.cs:
  13948. - Implemented SetTimer() and KillTimer()
  13949. 2004-08-24 11:16 pbartok
  13950. * XplatUIX11.cs:
  13951. - Now uses Remove instead of Add to kill the timer
  13952. 2004-08-24 10:16 jackson
  13953. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  13954. picture boxes in the theme now. Draw picture box borders and obey
  13955. sizing modes
  13956. 2004-08-24 05:49 jackson
  13957. * Timer.cs: Remove top secret debugging code
  13958. 2004-08-24 05:34 jackson
  13959. * PictureBox.cs: Temp hack to make picture boxes draw their full
  13960. image
  13961. 2004-08-24 05:29 jackson
  13962. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  13963. XplatUIX11.cs: Move timers to the driver level. On X they are
  13964. queued by the driver and checked on idle.
  13965. 2004-08-24 01:07 jackson
  13966. * XplatUIX11.cs: Use a queue for async messages instead of passing
  13967. them as ClientMessages since that was totally broken. Also simply
  13968. check for events and return an idle message if none are found. This
  13969. gives us an idle handler, and prevents deadlocking when no messages
  13970. are in the queue.
  13971. 2004-08-23 18:19 ravindra
  13972. * XplatUIWin32.cs: Removed the unwanted destructor.
  13973. 2004-08-23 17:27 pbartok
  13974. * ButtonBase.cs:
  13975. - Finishing touches. Works now, just needs some optimizations.
  13976. 2004-08-23 16:53 jordi
  13977. * ScrollBar.cs: small fix
  13978. 2004-08-23 16:45 pbartok
  13979. * Application.cs:
  13980. - Removed debug output
  13981. - Simplifications
  13982. 2004-08-23 16:43 jordi
  13983. * ScrollBar.cs: [no log message]
  13984. 2004-08-23 16:10 pbartok
  13985. * Form.cs:
  13986. - Fixed handling of WM_CLOSE message
  13987. - Removed debug output
  13988. 2004-08-23 16:09 pbartok
  13989. * Application.cs:
  13990. - Added handling of Idle event
  13991. - Added handling of form closing
  13992. - Fixed reporting of MessageLoop property
  13993. - Removed some unneeded code, should provide a bit of a speedup
  13994. 2004-08-23 15:22 pbartok
  13995. * Control.cs:
  13996. - Added InitLayout() method
  13997. - Added code to properly perform layout when Anchor or Dock property
  13998. is changed
  13999. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  14000. LAMESPEC, tried to do it in a way that makes sense
  14001. 2004-08-23 14:10 jordi
  14002. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  14003. properties and methods
  14004. 2004-08-23 13:55 pbartok
  14005. * Control.cs:
  14006. - Properly fixed Jordi's last fix
  14007. - Now uses Cursor's Position property instead of calling XplatUI
  14008. directly
  14009. 2004-08-23 13:44 jordi
  14010. * PaintEventHandler.cs: Adding missing attribute
  14011. 2004-08-23 13:39 pbartok
  14012. * Cursor.cs:
  14013. - Implemented Position property
  14014. 2004-08-23 13:39 pbartok
  14015. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  14016. - Added method to move mouse cursor
  14017. 2004-08-23 13:39 pbartok
  14018. * XplatUIX11.cs:
  14019. - Fixed setting of background color
  14020. - Added method to move mouse cursor
  14021. 2004-08-23 13:16 jordi
  14022. * Control.cs: avoids null exception
  14023. 2004-08-22 17:46 jackson
  14024. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  14025. PictureBox
  14026. 2004-08-22 17:40 jackson
  14027. * XplatUIX11.cs: Add some missing locks
  14028. 2004-08-22 15:10 pbartok
  14029. * Control.cs, Form.cs:
  14030. - Removed OverlappedWindow style from Control, instead it's default
  14031. now is child
  14032. - Made form windows OverlappedWindow by default
  14033. 2004-08-22 13:34 jackson
  14034. * ScrollBar.cs: Update the position through the Value property so
  14035. the OnValueChanged event is raised.
  14036. 2004-08-22 12:04 pbartok
  14037. * SWF.csproj:
  14038. - Added Cursor.cs and UserControl.cs
  14039. 2004-08-22 12:03 pbartok
  14040. * Cursor.cs:
  14041. - Started implementation, not usable yet
  14042. 2004-08-22 12:00 pbartok
  14043. * UserControl.cs:
  14044. - Implemented UserControl (complete)
  14045. 2004-08-21 19:20 ravindra
  14046. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  14047. 2004-08-21 18:49 ravindra
  14048. * ToolBar.cs: Probably this completes the missing attributes in
  14049. toolbar control.
  14050. 2004-08-21 18:03 ravindra
  14051. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  14052. Fixed toolbar control signatures.
  14053. 2004-08-21 16:32 pbartok
  14054. * LinkLabel.cs:
  14055. - Signature Fixes
  14056. 2004-08-21 16:30 pbartok
  14057. * Label.cs:
  14058. - Signature fixes
  14059. 2004-08-21 16:19 pbartok
  14060. * Control.cs, Label.cs:
  14061. - Signature fixes
  14062. 2004-08-21 15:57 pbartok
  14063. * ButtonBase.cs:
  14064. - Added loads of debug output for development
  14065. - Fixed typo in method name
  14066. 2004-08-21 15:52 pbartok
  14067. * ToolBarButtonClickEventArgs.cs:
  14068. - Added missing base class
  14069. 2004-08-21 14:53 pbartok
  14070. * Control.cs:
  14071. - Updated to match new GrabWindow signature
  14072. 2004-08-21 14:51 pbartok
  14073. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  14074. - Added method to get default display size
  14075. 2004-08-21 14:23 pbartok
  14076. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  14077. - Added method to query current grab state
  14078. - Added argument to allow confining a grab to a window
  14079. 2004-08-21 14:22 pbartok
  14080. * Keys.cs:
  14081. - Added [Flags] attribute so that modifiers can be used in bitwise
  14082. ops
  14083. 2004-08-21 14:21 pbartok
  14084. * TrackBar.cs, ScrollBar.cs:
  14085. - Replaced direct XplatUI calls with their Control counterpart
  14086. 2004-08-21 13:32 pbartok
  14087. * Control.cs:
  14088. - Implemented Created property
  14089. 2004-08-21 13:28 pbartok
  14090. * Control.cs:
  14091. - Implemented ContainsFocus
  14092. 2004-08-21 13:26 pbartok
  14093. * Control.cs:
  14094. - Implemented CausesValidation
  14095. 2004-08-21 13:21 pbartok
  14096. * Control.cs:
  14097. - Implemented CanFocus
  14098. - Implemented CanSelect
  14099. - Implemented Capture
  14100. 2004-08-21 12:35 pbartok
  14101. * XplatUIWin32.cs:
  14102. - Fixed bug with Async message handling
  14103. - Implemented getting the ModifierKeys
  14104. 2004-08-21 12:32 jackson
  14105. * AsyncMethodResult.cs: Make sure we have the mutex before we
  14106. release it. Fixes BeginInvoke on windows
  14107. 2004-08-21 11:31 pbartok
  14108. * XplatUIWin32.cs, XplatUIX11.cs:
  14109. - Drivers now return proper mouse state
  14110. 2004-08-21 10:54 jackson
  14111. * Control.cs: Implement EndInvoke
  14112. 2004-08-21 10:48 jackson
  14113. * Timer.cs: Remove unneeded finalizer
  14114. 2004-08-20 19:52 ravindra
  14115. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  14116. in mouse event handling in the ToolBar control.
  14117. 2004-08-20 19:50 ravindra
  14118. * ImageList.cs: Changed draw method to use the arguments passed in
  14119. to draw the image.
  14120. 2004-08-20 18:58 pbartok
  14121. * XplatUIStructs.cs:
  14122. - Added private message for async communication
  14123. 2004-08-20 17:38 ravindra
  14124. * Control.cs: Made RightToLeft property virtual and removed a
  14125. Console.WriteLine.
  14126. 2004-08-20 14:39 jordi
  14127. * ThemeGtk.cs: use style_attach
  14128. 2004-08-20 14:39 pbartok
  14129. * XplatUIWin32.cs:
  14130. - Added jackson's Async code from X11 to Win32
  14131. 2004-08-20 14:09 pbartok
  14132. * SWF.csproj:
  14133. - Added all new files
  14134. 2004-08-20 14:09 pbartok
  14135. * Control.cs:
  14136. - Added call to set window background color
  14137. 2004-08-20 14:03 pbartok
  14138. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  14139. - Added method for setting the window background
  14140. 2004-08-20 14:02 pbartok
  14141. * XplatUIWin32.cs:
  14142. - Added method for setting the background color
  14143. - Added handling for erasing the window background
  14144. 2004-08-20 13:45 jordi
  14145. * TrackBar.cs: fixes timer, new properties and methods
  14146. 2004-08-20 13:34 jackson
  14147. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  14148. correct thread
  14149. 2004-08-20 13:22 jackson
  14150. * Timer.cs: Timer Tick events are now handed through Controls Async
  14151. mechanism so the callbacks are executed in the same thread as X
  14152. 2004-08-20 13:19 jackson
  14153. * XplatUIDriver.cs: Expose functionality to send async messages
  14154. through the driver
  14155. 2004-08-20 13:18 jackson
  14156. * Control.cs: Implement Begininvoke
  14157. 2004-08-20 13:14 jackson
  14158. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  14159. messages through the driver
  14160. 2004-08-20 13:12 jackson
  14161. * XplatUIX11.cs: Lock before all X operations. Also added Async
  14162. method functionality through XSendEvent
  14163. 2004-08-20 13:11 jackson
  14164. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  14165. This will screw up on 64 bit systems)
  14166. 2004-08-20 13:10 jackson
  14167. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  14168. Async messages through X/Win32
  14169. 2004-08-19 19:39 pbartok
  14170. * XplatUIX11.cs:
  14171. - Updated code to match new HandleData.DeviceContext type
  14172. 2004-08-19 19:38 pbartok
  14173. * HandleData.cs:
  14174. - Made DeviceContext a generic object to allow usage from various
  14175. drivers
  14176. - Added support for queueing Windows messages
  14177. 2004-08-19 19:37 pbartok
  14178. * XplatUIWin32.cs:
  14179. - Added generation of MouseEnter, MouseLeave and MouseHover events
  14180. - Added cleanup on EndPaint
  14181. 2004-08-19 19:17 pbartok
  14182. * Control.cs:
  14183. - Added handling of WM_MOUSEHOVER
  14184. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  14185. code
  14186. 2004-08-19 18:55 jordi
  14187. * ThemeGtk.cs: fixes button order
  14188. 2004-08-19 18:12 jordi
  14189. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  14190. 2004-08-19 17:09 pbartok
  14191. * Control.cs:
  14192. - Added Right property
  14193. - Added RightToLeft property
  14194. 2004-08-19 16:27 jordi
  14195. * ThemeGtk.cs: experimental GTK theme support
  14196. 2004-08-19 16:26 jordi
  14197. * ITheme.cs, Theme.cs: move themes from an interface to a class
  14198. 2004-08-19 16:25 jordi
  14199. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  14200. theme enhancaments
  14201. 2004-08-19 16:04 pbartok
  14202. * XplatUIX11.cs:
  14203. - Added colormap basics
  14204. - Added a way to re-initialize with a different display handle
  14205. - Fixed setting of the window background color
  14206. - Added various X11 imports related to colors and colormaps
  14207. 2004-08-19 15:51 pbartok
  14208. * X11Structs.cs:
  14209. - Removed packing hints (Paolo suggested this a while back)
  14210. - fixed colormap type
  14211. - Added default Atom types
  14212. - Added Screen and color structs and enums
  14213. 2004-08-19 15:39 pbartok
  14214. * ImageList.cs:
  14215. - Added missing Draw() method
  14216. - Added missing RecreateHandle event
  14217. 2004-08-19 15:30 pbartok
  14218. * Form.cs:
  14219. - Added handling of WM_CLOSE
  14220. 2004-08-18 13:16 jordi
  14221. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  14222. a table
  14223. 2004-08-18 09:56 jordi
  14224. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  14225. 2004-08-17 15:31 ravindra
  14226. * SWF.csproj: Updated project.
  14227. 2004-08-17 15:25 pbartok
  14228. * Control.cs:
  14229. - Drawing improvement; don't call UpdateBounds if we are not visible
  14230. (or have been minimized)
  14231. 2004-08-17 15:24 pbartok
  14232. * XplatUIWin32.cs:
  14233. - Finished IsVisible
  14234. - Added Win32GetWindowPlacement
  14235. 2004-08-17 15:08 jackson
  14236. * Panel.cs: Initial checkin of the Panel
  14237. 2004-08-17 14:25 pbartok
  14238. * Control.cs:
  14239. - Fixed broken handling of default window sizes
  14240. 2004-08-17 13:29 jackson
  14241. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  14242. has a large startup time.
  14243. 2004-08-17 10:25 jackson
  14244. * HandleData.cs: union areas properly
  14245. 2004-08-17 10:12 jackson
  14246. * HandleData.cs: union areas properly
  14247. 2004-08-16 20:00 ravindra
  14248. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  14249. 2004-08-16 18:48 ravindra
  14250. * ToolBar.cs: Added attributes.
  14251. 2004-08-16 17:17 ravindra
  14252. * SWF.csproj: Updated project.
  14253. 2004-08-16 17:16 jackson
  14254. * XplatUIX11.cs: Check for more expose events before sending a
  14255. WM_PAINT so they can all be grouped together. This makes dragging a
  14256. window across another window redraw in a sane way.
  14257. 2004-08-16 15:47 pbartok
  14258. * Control.cs:
  14259. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  14260. support OnMouseEnter/Leave()
  14261. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  14262. exposure handling
  14263. 2004-08-16 15:46 pbartok
  14264. * XplatUIStructs.cs, XplatUIX11.cs:
  14265. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  14266. OnMouseEnter/Leave()
  14267. 2004-08-16 15:34 jackson
  14268. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  14269. sure messages get the message field set to WM_NULL if they are not
  14270. handled.
  14271. 2004-08-16 15:24 jackson
  14272. * HandleData.cs: HandleData is used for storing message information
  14273. for window handles
  14274. 2004-08-15 17:23 ravindra
  14275. * ColorDepth.cs: Added attribute.
  14276. 2004-08-15 17:23 ravindra
  14277. * SWF.csproj: Updated project for ToolBar Control.
  14278. 2004-08-15 17:20 ravindra
  14279. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  14280. control and also dos2unix format.
  14281. 2004-08-15 17:13 ravindra
  14282. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  14283. ToolBarButtonClickEventArgs.cs,
  14284. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  14285. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  14286. 2004-08-15 15:31 pbartok
  14287. * ButtonBase.cs:
  14288. - First (mostly) working version
  14289. 2004-08-13 16:15 pbartok
  14290. * Control.cs:
  14291. - Fixed Anchor default
  14292. 2004-08-13 15:43 pbartok
  14293. * Control.cs:
  14294. - Changed GetCursorPos signature
  14295. 2004-08-13 15:42 pbartok
  14296. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  14297. - Changed signature for GetCursorPos
  14298. 2004-08-13 15:25 pbartok
  14299. * XplatUIX11.cs:
  14300. - Cleanup
  14301. - Fixed resizing/exposure handling
  14302. 2004-08-13 15:22 jordi
  14303. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  14304. with tickposition
  14305. 2004-08-13 14:55 jordi
  14306. * TrackBar.cs: change from wndproc to events
  14307. 2004-08-13 13:00 jordi
  14308. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  14309. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  14310. 2004-08-13 12:53 pbartok
  14311. * XplatUIWin32.cs:
  14312. - Changed GetWindowPos to also provide client area size
  14313. - Fixed broken prototypes for several win32 functions
  14314. 2004-08-13 12:53 pbartok
  14315. * XplatUI.cs, XplatUIDriver.cs:
  14316. - Changed GetWindowPos to also provide client area size
  14317. 2004-08-13 12:52 pbartok
  14318. * XplatUIX11.cs:
  14319. - Added generation of WM_POSCHANGED
  14320. - Changed GetWindowPos to also provide client area size
  14321. 2004-08-13 12:52 pbartok
  14322. * Control.cs:
  14323. - Added Dispose() and destructor
  14324. - Fixed resizing and bounds calculation
  14325. - Fixed Layout
  14326. - Added memory savings for invisible windows
  14327. 2004-08-13 12:46 jordi
  14328. * TrackBar.cs: adds timer and grap window
  14329. 2004-08-13 10:25 jackson
  14330. * Timer.cs: SWF Timer
  14331. 2004-08-12 16:59 pbartok
  14332. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  14333. - Implemented method to get current mouse position
  14334. 2004-08-12 14:29 jordi
  14335. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  14336. enhancement, fix mouse problems, highli thumb, etc
  14337. 2004-08-12 13:31 pbartok
  14338. * Control.cs:
  14339. - Fixed Anchoring bugs
  14340. 2004-08-12 13:01 jackson
  14341. * StatusBar.cs: Don't forget things
  14342. 2004-08-12 12:54 jackson
  14343. * ThemeWin32Classic.cs: Handle owner draw status bars
  14344. 2004-08-12 12:54 jackson
  14345. * StatusBar.cs: Implement missing properties, events, and methods.
  14346. Handle mouse clicking
  14347. 2004-08-12 10:19 jackson
  14348. * StatusBarPanelClickEventArgs.cs,
  14349. StatusBarPanelClickEventHandler.cs: Classes for handling status
  14350. bar panel click events
  14351. 2004-08-12 10:10 jackson
  14352. * Control.cs: Add missing properties
  14353. 2004-08-12 09:46 pbartok
  14354. * BindingsManagerBase.cs:
  14355. - Name changed to BindingManagerBase.cs
  14356. 2004-08-12 09:25 jordi
  14357. * ScrollableControl.cs: calls ctrlbase instead of exeception
  14358. 2004-08-11 16:28 pbartok
  14359. * InputLanguageChangingEventArgs.cs:
  14360. - Never check in before compiling. Fixes the last check-in
  14361. 2004-08-11 16:26 pbartok
  14362. * InputLanguageChangingEventArgs.cs:
  14363. - More signature fixes
  14364. 2004-08-11 16:20 pbartok
  14365. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  14366. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  14367. ImageListStreamer.cs, InputLanguage.cs,
  14368. InputLanguageChangedEventArgs.cs,
  14369. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  14370. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  14371. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  14372. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  14373. - Signature fixes
  14374. 2004-08-11 16:16 pbartok
  14375. * Application.cs:
  14376. - Fixed Signature
  14377. - Added .Net 1.1 method
  14378. 2004-08-11 15:25 pbartok
  14379. * SWF.csproj:
  14380. - Fixed BindingManagerBase.cs filename
  14381. 2004-08-11 15:22 pbartok
  14382. * BindingManagerBase.cs:
  14383. - Was checked in with wrong filename
  14384. 2004-08-11 14:50 pbartok
  14385. * SWF.csproj:
  14386. - Updated
  14387. 2004-08-11 13:41 jordi
  14388. * XplatUIWin32.cs: Fixes ClientRect
  14389. 2004-08-11 13:19 pbartok
  14390. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  14391. XplatUIX11.cs:
  14392. - We had SetWindowPos and MoveWindow to set window positions and
  14393. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  14394. keep SetWindowPos as matching counterpart
  14395. - Added some X11 sanity checking
  14396. 2004-08-11 12:59 pbartok
  14397. * Control.cs:
  14398. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  14399. (It seems that SetBounds is just a front for SetBoundsCore and
  14400. SetBoundsCore updates the underlying window system and
  14401. UpdateBounds is responsible for updating the variables associated
  14402. with the Control and sending the events)
  14403. - Major cleanup of Size handling; we now have two sizes, client_size
  14404. and bounds. Bounds defines the window with decorations, client_size
  14405. without them.
  14406. 2004-08-11 12:55 pbartok
  14407. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  14408. - Added method to calculate difference between decorated window and
  14409. raw client area
  14410. 2004-08-11 12:54 pbartok
  14411. * Label.cs:
  14412. - Forcing redraw on resize
  14413. 2004-08-11 11:43 pbartok
  14414. * ImageList.cs:
  14415. - Removed disposing of the actual images when the list is disposed
  14416. 2004-08-11 09:13 pbartok
  14417. * Control.cs:
  14418. - Now properly reparents windows
  14419. 2004-08-11 08:37 pbartok
  14420. * Control.cs:
  14421. - Duh!
  14422. 2004-08-11 07:47 pbartok
  14423. * Control.cs:
  14424. - Rewrote the collection stuff. Might not be as fast now, not
  14425. keeping the number of children around and accessible directly, but
  14426. it's more straightforward
  14427. 2004-08-11 07:44 pbartok
  14428. * AccessibleObject.cs:
  14429. - Fixed to match ControlCollection rewrite
  14430. 2004-08-11 07:43 pbartok
  14431. * ImageList.cs:
  14432. - Added missing creation of the collection list
  14433. 2004-08-10 20:08 jackson
  14434. * StatusBar.cs: Get the paint message from WndProc
  14435. 2004-08-10 19:31 jackson
  14436. * ThemeWin32Classic.cs: Create Brushes as little as possible
  14437. 2004-08-10 19:20 jackson
  14438. * UICues.cs: Add Flags attribute
  14439. 2004-08-10 19:19 jackson
  14440. * StatusBarPanel.cs: Signature cleanup
  14441. 2004-08-10 19:10 jackson
  14442. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  14443. Initial implementation of status bar item drawing
  14444. 2004-08-10 17:27 jordi
  14445. * TrackBar.cs: add missing methods, properties, and restructure to
  14446. hide extra ones
  14447. 2004-08-10 16:24 jackson
  14448. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  14449. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  14450. attribute
  14451. 2004-08-10 13:21 jordi
  14452. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  14453. enhancements and standarize on win colors defaults
  14454. 2004-08-10 12:52 jackson
  14455. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  14456. ThemeWin32Classic.cs: Implement DrawItem functionality
  14457. 2004-08-10 12:47 jordi
  14458. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  14459. 2004-08-10 12:32 jordi
  14460. * Control.cs: throw ontextchange event
  14461. 2004-08-10 11:43 pbartok
  14462. * Control.cs:
  14463. - Added more to the still unfinished Dock/Anchor layout code
  14464. 2004-08-10 11:39 pbartok
  14465. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  14466. - Added GetWindowPos method
  14467. 2004-08-10 11:36 pbartok
  14468. * XplatUIWin32.cs:
  14469. - Implemented several methods
  14470. 2004-08-10 09:47 jackson
  14471. * TrackBar.cs: Allow control to handle buffering
  14472. 2004-08-10 09:41 jackson
  14473. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  14474. 2004-08-10 09:24 jackson
  14475. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  14476. 2004-08-10 09:09 jackson
  14477. * StatusBar.cs: Let Control handle all the buffering.
  14478. 2004-08-10 09:08 jackson
  14479. * Control.cs: Control will now handle the buffering code, so each
  14480. control does not have to implement this.
  14481. 2004-08-10 08:34 jackson
  14482. * XplatUIDriver.cs: Use default colors from the theme
  14483. 2004-08-09 17:12 pbartok
  14484. * ImageList.cs:
  14485. - Fixed several bugs Ravindra pointed out
  14486. 2004-08-09 16:11 pbartok
  14487. * Control.cs:
  14488. - Added incomplete dock layout code
  14489. - Added support for mouse wheel
  14490. 2004-08-09 16:09 pbartok
  14491. * XplatUIX11.cs:
  14492. - Added handling for middle and right mousebutton
  14493. - Added handling for mouse wheel
  14494. - Added handling for key state and mouse state and position
  14495. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  14496. messages
  14497. 2004-08-09 15:40 jackson
  14498. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  14499. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  14500. checkin
  14501. 2004-08-09 15:37 jackson
  14502. * StatusBar.cs: Initial implementation of StatusBar
  14503. 2004-08-09 15:36 jackson
  14504. * ITheme.cs: Add support for drawing status bar and getting status
  14505. bar item sizes
  14506. 2004-08-09 15:35 pbartok
  14507. * MouseButtons.cs:
  14508. - Fixed values
  14509. 2004-08-09 15:34 jackson
  14510. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  14511. status bar item sizes
  14512. 2004-08-09 15:21 jackson
  14513. * ThemeWin32Classic.cs: Use known colors for default control
  14514. colours
  14515. 2004-08-09 15:12 jackson
  14516. * ThemeWin32Classic.cs: Make the default font static, it is static
  14517. in control so this doesn't change functionality and creating fonts
  14518. is sloooooow.
  14519. 2004-08-09 14:56 pbartok
  14520. * X11Structs.cs:
  14521. - Added GrabMode enum
  14522. 2004-08-09 14:55 pbartok
  14523. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  14524. - Removed Run method, was only required for initial development
  14525. 2004-08-09 14:51 pbartok
  14526. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  14527. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  14528. capture
  14529. 2004-08-09 13:48 pbartok
  14530. * XplatUIX11.cs:
  14531. - Fixed default sizing for child windows
  14532. 2004-08-09 12:56 pbartok
  14533. * XplatUIX11.cs:
  14534. - Added generation of WM_DESTROY message
  14535. - Added handling of window manager induced shutdown
  14536. 2004-08-09 11:31 jackson
  14537. * ThemeWin32Classic.cs: New names for control properties
  14538. 2004-08-09 11:25 jackson
  14539. * Control.cs: Use new color names
  14540. 2004-08-09 11:02 jackson
  14541. * XplatUI.cs: Get default window properties from the theme
  14542. 2004-08-09 11:01 jackson
  14543. * ITheme.cs: The theme engine now controls default window
  14544. properties
  14545. 2004-08-09 11:00 jackson
  14546. * ThemeWin32Classic.cs: Add default window color properties
  14547. 2004-08-09 10:17 jackson
  14548. * ThemeWin32Classic.cs: Use correct default back color
  14549. 2004-08-09 10:05 jackson
  14550. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  14551. the theme now.
  14552. 2004-08-09 09:56 jackson
  14553. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  14554. 2004-08-09 09:54 jackson
  14555. * Control.cs: Get default properties from the theme.
  14556. 2004-08-09 09:53 jackson
  14557. * ITheme.cs: Themes now handle default control properties
  14558. 2004-08-09 09:53 jackson
  14559. * ThemeWin32Classic.cs: Themes now handle default control
  14560. properties so coloring will be consistent
  14561. 2004-08-08 16:54 jordi
  14562. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  14563. 2004-08-08 15:08 jordi
  14564. * XplatUIX11.cs: fixes keyboard crash
  14565. 2004-08-08 13:47 jordi
  14566. * Label.cs: add cvs header info
  14567. 2004-08-08 12:09 jackson
  14568. * ThemeWin32Classic.cs: Add pen_buttonface
  14569. 2004-08-08 11:52 jordi
  14570. * Label.cs, LinkLabel.cs: [no log message]
  14571. 2004-08-08 11:34 jordi
  14572. * ThemeWin32Classic.cs: Use Windows Standard Colours
  14573. 2004-08-07 17:32 jordi
  14574. * TrackBar.cs: throw exceptions of invalid enums values
  14575. 2004-08-07 17:31 jordi
  14576. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  14577. draw method name
  14578. 2004-08-07 16:56 jackson
  14579. * HorizontalAlignment.cs: Initial checkin
  14580. 2004-08-07 13:16 jordi
  14581. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  14582. methods
  14583. 2004-08-07 13:05 jordi
  14584. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  14585. GetSysColor defines
  14586. 2004-08-06 18:01 pbartok
  14587. * ThemeWin32Classic.cs:
  14588. - Fixed some rounding issues with float/int
  14589. 2004-08-06 18:00 jackson
  14590. * DockStyle.cs, AnchorStyles.cs:
  14591. Add flags and serializable attributes.
  14592. 2004-08-06 17:46 pbartok
  14593. * XplatUIX11.cs:
  14594. - Implemented GetParent
  14595. 2004-08-06 17:18 pbartok
  14596. * TrackBar.cs:
  14597. - Fixed some rounding issues with float/int
  14598. 2004-08-06 17:17 pbartok
  14599. * X11Structs.cs, XplatUIX11.cs:
  14600. - Fixed Refresh and Invalidate
  14601. 2004-08-06 15:30 pbartok
  14602. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  14603. - Fixed recursive loop when resizing
  14604. - Improved/fixed redrawing on expose messages
  14605. 2004-08-06 09:53 jordi
  14606. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  14607. keyboard navigation
  14608. 2004-08-06 08:02 pbartok
  14609. * X11Structs.cs, XplatUIX11.cs:
  14610. - Fixed reparenting
  14611. - Fixed window border creation
  14612. 2004-08-05 15:38 pbartok
  14613. * XplatUIX11.cs:
  14614. - Attempted fix for reparenting problems
  14615. 2004-08-04 15:14 pbartok
  14616. * Control.cs:
  14617. - Fixed Invalidation bug (calculated wrong client area)
  14618. - Added ClientSize setter
  14619. 2004-08-04 15:13 pbartok
  14620. * Form.cs:
  14621. - Added AutoScale properties
  14622. 2004-08-04 15:13 pbartok
  14623. * SWF.csproj:
  14624. - Added latest files
  14625. 2004-08-04 14:11 pbartok
  14626. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  14627. XplatUIX11.cs:
  14628. - Added Invalidate handling
  14629. 2004-08-03 17:09 jordi
  14630. * XplatUIDriver.cs: fixes spelling mistake
  14631. 2004-07-27 09:53 jordi
  14632. * TrackBar.cs: fixes trackbar events, def classname, methods
  14633. signature
  14634. 2004-07-27 09:29 jordi
  14635. * ScrollBar.cs: fixes scrollbar events
  14636. 2004-07-27 04:38 jordi
  14637. * Control.cs: changes to be able to run winforms samples
  14638. 2004-07-26 11:42 jordi
  14639. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  14640. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  14641. 2004-07-26 05:41 jordi
  14642. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  14643. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  14644. implementation
  14645. 2004-07-22 09:22 jordi
  14646. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  14647. check link overlapping, implement events, and fixes
  14648. 2004-07-21 10:28 jordi
  14649. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  14650. 2004-07-21 10:19 jordi
  14651. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  14652. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  14653. LinkLabelLinkClickedEventArgs.cs,
  14654. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  14655. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  14656. implementation
  14657. 2004-07-19 13:09 jordi
  14658. * Control.cs, Label.cs: label control re-written: added missing
  14659. functionlity, events, and properties
  14660. 2004-07-19 10:49 jordi
  14661. * Control.cs: fixes SetBounds logic
  14662. 2004-07-19 01:29 jordi
  14663. * Control.cs: Call RefreshWindow only if the window has created
  14664. 2004-07-15 14:05 pbartok
  14665. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  14666. - Implemented ImageList and ImageList.ImageCollection classes
  14667. - Added ColorDepth enumeration
  14668. - Updated SWF VS.Net project
  14669. 2004-07-15 11:06 jordi
  14670. * XplatUIStructs.cs: added MsgButons enum
  14671. 2004-07-15 11:03 jordi
  14672. * Control.cs: added basic mouse handeling events
  14673. 2004-07-15 03:38 jordi
  14674. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  14675. Vertical TrackBar control implementation
  14676. 2004-07-13 09:33 jordi
  14677. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  14678. 2004-07-13 09:31 jordi
  14679. * Control.cs, Form.cs: commit: new properties and fixes form size
  14680. problems
  14681. 2004-07-09 14:13 miguel
  14682. * ProgressBar.cs: Spelling
  14683. 2004-07-09 11:25 pbartok
  14684. * ProgressBar.cs:
  14685. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  14686. faster
  14687. 2004-07-09 11:17 miguel
  14688. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  14689. * ProgressBar.cs: Fixed spelling for `block'
  14690. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  14691. style guidelines.
  14692. Avoid using the += on rect.X, that exposed a bug in the compiler.
  14693. 2004-07-08 23:21 pbartok
  14694. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  14695. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  14696. BaseCollection.cs, Binding.cs, BindingContext.cs,
  14697. BindingMemberInfo.cs, BindingsCollection.cs,
  14698. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  14699. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  14700. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  14701. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  14702. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  14703. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  14704. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  14705. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  14706. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  14707. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  14708. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  14709. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  14710. InputLanguageChangedEventArgs.cs,
  14711. InputLanguageChangedEventHandler.cs,
  14712. InputLanguageChangingEventArgs.cs,
  14713. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  14714. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  14715. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  14716. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  14717. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  14718. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  14719. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  14720. QueryAccessibilityHelpEventArgs.cs,
  14721. QueryAccessibilityHelpEventHandler.cs,
  14722. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  14723. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  14724. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  14725. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  14726. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  14727. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  14728. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  14729. XplatUIX11.cs, lang.cs:
  14730. - Initial check-in