ChangeLog 659 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778
  1. 2006-11-10 Jackson Harper <[email protected]>
  2. * TreeView.cs: Use the currently highlighted node for the
  3. BeforeSelect event.
  4. * TextBoxBase.cs: There is no need to expand selection on
  5. MouseMove.
  6. 2006-11-10 Andreia Gaita <[email protected]>
  7. * Button.cs: only perform click when button is Selectable (so as
  8. not to activate default buttons when they're disabled)
  9. * Control.cs: Rewrite of the SelectNextControl and related
  10. methods. HandleClick now selects next control if the current one
  11. is being disabled.
  12. * Form.cs: OnActivated selects next active control only if Load
  13. has already occurred. If Load hasn't run, there's no point in
  14. selecting here, Load might change the state of controls.
  15. * FocusTest.cs: Tests marked as working again for these fixes
  16. 2006-11-10 Chris Toshok <[email protected]>
  17. * XplatUIX11.cs: a couple of fixes.
  18. - use XInternAtoms with almost all the atoms we need to register,
  19. instead of many, many calls to XInternAtom. should help a bit on
  20. startup time, at the expense of making the code look a little
  21. worse.
  22. - fall back to setting TransientFor on TOOLWINDOW's if their hwnd
  23. isn't reparented (which seems to be a clue that we're running fon
  24. compiz) and they have an Owner form. This fixes the tool windows
  25. in paint.net when running under compiz.
  26. - when setting the opacity of a window, support both the case
  27. where the window has been reparented and also when it hasn't been.
  28. Since compiz/beryl doesn't seem to reparent windows, and these are
  29. the only window managers which support translucency, I'm not sure
  30. why we need the hwnd.reparented case at all.. but leave it in.
  31. now we get translucent windows in paint.net under compiz/beryl.
  32. 2006-11-10 Alexander Olk <[email protected]>
  33. * FileDialog.cs: Always return the value for FilterIndex that
  34. was set. Internally convert it to values that make sense.
  35. 2006-11-10 Everaldo Canuto <[email protected]>
  36. * ThemeWin32Classic.cs: Fix drowp down arrow borders.
  37. 2006-11-10 Everaldo Canuto <[email protected]>
  38. * Toolbar.cs: Change default value of DropDownArrows to true, the
  39. signature still using false to make it compatible with MS but the
  40. initial value is true. Fixes #79855.
  41. 2006-11-10 Alexander Olk <[email protected]>
  42. * MimeIcon.cs: Don't throw an exception on windows. Mime stuff is
  43. only available on Linux.
  44. 2006-11-09 Everaldo Canuto <[email protected]>
  45. * Toolbar.cs, ToolBarButton.cs: Fix wrong separator size and
  46. reduce number of calls to redraw method during toolbar creation.
  47. 2006-11-09 Mike Kestner <[email protected]>
  48. * ListView.cs : raise SelectedIndexChanged when an item is selected
  49. programmatically via the Item.Selected property. Gert's nice
  50. ListViewSelectedIndexChanged test fixture now runs clean.
  51. 2006-11-09 Mike Kestner <[email protected]>
  52. * ListView.cs : raise SelectedIndexChanged when a selected item is
  53. removed from the item collection using Remove or RemoveAt.
  54. 2006-11-09 Mike Kestner <[email protected]>
  55. * ListView.cs : raise SelectedIndexChanged once per selected item
  56. for compat with MS. Fixes #79849+.
  57. 2006-11-09 Chris Toshok <[email protected]>
  58. * TabControl.cs: initialize row_count to 0, and set it to 1 when
  59. we need to (if we have any tab pages). Fixes unit test.
  60. 2006-11-09 Chris Toshok <[email protected]>
  61. * Label.cs (CalcPreferredWidth): if Text == "", our preferred
  62. width is 0, not 3. Fixes a unit test.
  63. 2006-11-09 Mike Kestner <[email protected]>
  64. * ListView.cs : use Implicit scrollbars so that focus isn't
  65. stolen from the listview when they are clicked. Fixes #79850.
  66. 2006-11-09 Chris Toshok <[email protected]>
  67. * PropertyGridView.cs (OnPaint): only call DrawGridItems if we
  68. have a root item. Fixes #79879.
  69. 2006-11-09 Alexander Olk <[email protected]>
  70. * FileDialog.cs:
  71. - Fix ToString ()
  72. - An ArgumentException is now thrown if a wrong filter
  73. is applied (matches ms). The previous filter doesn't change
  74. anymore if an exception is thrown.
  75. - Changing the FileName property also affects FileNames
  76. * ColorDialog.cs: The length of the CustomColors array is always
  77. 16. It doesn't matter if we use a smaller array or null to update
  78. or change the custom colors property.
  79. * FolderBrowserDialog.cs: Throw an InvalidEnumArgumentException if
  80. for RootFolder if we get a undefined value.
  81. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  82. * StatusBarPanel.cs:
  83. - Width is set to MinWidth if Width is smaller than
  84. MinWidth. Fixes #79842.
  85. - MinWidth now always overrides Width (MSDN says MinWidth
  86. is set to Width when AutoSize = None, but they do not
  87. behave like that).
  88. - Style has now the the correct default value.
  89. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  90. * TrackBar.cs:
  91. - The control is completely invalidated on
  92. Got/LostFocus to draw the focus rectangle correctly.
  93. - When AutoSize then height is always 45 (width for
  94. vertical controls).
  95. * ThemeWin32Classic.cs: The TrackBar thumb is now centered
  96. on the mouse when moved and it doesn't move when grabbed
  97. until the mouse moves as well. Also fixed some wrong
  98. calculations when clicking on the thumb (control thought
  99. click was outside of thumb and didn't grab it).
  100. Fixes some of the issues in #79718.
  101. 2006-11-08 Everaldo Canuto <[email protected]>
  102. * Toolbar.cs: Prevent disabled button to highlight. Fixes #79868.
  103. 2006-11-08 Chris Toshok <[email protected]>
  104. * PropertyGridView.cs: only call ToggleValue if the item is not
  105. readonly.
  106. 2006-11-08 Jackson Harper <[email protected]>
  107. * TextBoxBase.cs: The RichTextBox and textbox have very different
  108. word selection methods. Implement the textbox's simple word
  109. selection here, and let the RichTextBox override and provide it's
  110. own.
  111. - Don't do extra selection on mouseup
  112. * RichTextBox.cs: Use the documents word selection algorithm, I
  113. think ideally, this function will be pulled into the
  114. RichTextBox.cs code someday.
  115. 2006-11-08 Chris Toshok <[email protected]>
  116. * RootGridEntry.cs: new class to represent GridItemType.Root.
  117. * CategoryGridEntry.cs: reformat, and add boilerplate.
  118. * GridEntry.cs: remove the UIParent stuff - turns out .Parent
  119. returns the UI parent anyway, and we need special handling to
  120. implement the GetTarget method in the face of it. Also, implement
  121. Select().
  122. * PropertyGrid.cs, PropertyGridView.cs: a number of fixes. create
  123. a root grid item, and use that instead of PropertyGrid.grid_items.
  124. Also, make use of TypeConverters (and add limitted support for
  125. ICustomTypeDescriptors) when initially populating the grid.
  126. Arrays now show up more or less properly.
  127. 2006-11-08 Chris Toshok <[email protected]>
  128. * Application.cs: set the modal dialog to non modal after we close
  129. it. Fixes bug #79866.
  130. 2006-11-08 Jackson Harper <[email protected]>
  131. * TextControl.cs: When combining lines carry over the line end
  132. style from the end line.
  133. - Invalidate the selected area when setting it, if it is visible.
  134. * TextBoxBase.cs: Only rich text box can do full line selects.
  135. - Make sure to set the cursor position when there is a click,
  136. otherwise two clicks in separate areas could cause a large chunk
  137. to be selected.
  138. 2006-11-07 Everaldo Canuto <[email protected]>
  139. * Toolbar.cs: Release flat button borders when Toolbar lost focus.
  140. Fixes #79863.
  141. 2006-11-07 Everaldo Canuto <[email protected]>
  142. * Toolbar.cs: Prevent toolbar to open more than one tooltip at same
  143. time. Remove tooltips when ToolButton click events. Fixes #79856.
  144. 2006-11-07 Everaldo Canuto <[email protected]>
  145. * MenuAPI.cs: Ignore right click for menu actions and fixes
  146. menu border when clicked. Fixes #79846.
  147. 2006-11-07 Everaldo Canuto <[email protected]>
  148. * XplatUIX11.cs, XplatUIX11.cs: Fix MouseRelease to only release
  149. MouseState after create wParam for message, this fixes mouse button
  150. equal none in mouse up events.
  151. 2006-11-07 Andreia Gaita <[email protected]>
  152. * Control.cs : Focus() now calls Select to set the Container's
  153. Active Control and to give it focus. To avoid infinite recursion
  154. (because ActiveControl also calls Focus at one point), a check
  155. is made in Focus with the help of a new internal variable
  156. is_focusing.
  157. 2006-11-07 Mike Kestner <[email protected]>
  158. * ListView.cs : raise OnSelectedIndexChanged in CreateHandle
  159. if there's a selection. Fixes #79849.
  160. 2006-11-07 Gert Driesen <[email protected]>
  161. * PropertyGrid.cs: Avoid fixed height of help description label.
  162. Fixes part of bug #79829.
  163. 2006-11-07 Chris Toshok <[email protected]>
  164. * XplatUIX11.cs: fix #79790 again, by using the
  165. _NET_WM_STATE_SKIP_TASKBAR atom to implement Form.ShowInTaskbar.
  166. 2006-11-07 Everaldo Canuto <[email protected]>
  167. * ToolBar.cs: Fix left click checking.
  168. 2006-11-07 Chris Toshok <[email protected]>
  169. * ProgressBar.cs: fix a typo in ToString(). fixes a unit test.
  170. 2006-11-07 Chris Toshok <[email protected]>
  171. * RelatedPropertyManager.cs: set property_name in our ctor. fixes
  172. PropertyManager unit tests.
  173. * PropertyManager.cs: make property_name internal.
  174. 2006-11-07 Chris Toshok <[email protected]>
  175. * ButtonBase.cs: initialize base.ime_mode to ImeMode.Disable to
  176. pass a unit test. Also, don't set image_index to anything in
  177. response to setting the ImageList property.
  178. 2006-11-07 Everaldo Canuto <[email protected]>
  179. * ToolBar.cs: Ignore click events when mouse button is not a
  180. left button, only accepts other button for dropdown menus.
  181. Fixes #79854.
  182. 2006-11-07 Chris Toshok <[email protected]>
  183. * DataGrid.cs: make the back and parent row buttons a little less
  184. ugly.
  185. 2006-11-07 Jackson Harper <[email protected]>
  186. * TextBoxBase.cs: When converting to Text don't put line breaks in
  187. for soft line breaks.
  188. * TextControl.cs: There is an initial "fake" line in the document,
  189. this is now a soft break line, so that an extra line feed doesn't
  190. get added to the end of documents.
  191. 2006-11-07 Chris Toshok <[email protected]>
  192. [ fix bug #79778 ]
  193. * CurrencyManager.cs: if the list is readonly, don't bother
  194. checking if IBindingList.AllowNew is true.
  195. * ThemeWin32Classic.cs (DataGridPaintParentRow): make this work
  196. for non-DataRowView datasources.. or rather, make it not crash.
  197. (DataGridPaintRelationRow): make sure we limit the row painting to
  198. the area not covered by the row header, and make our cell width at
  199. least large enough to cover the relation area. This allows grids
  200. that have relations but no rows to render correctly.
  201. (DataGridPaintRowContents): same type of changes here.
  202. (SetDataSource): move back to always calling
  203. CalcAreasAndInvalidate. this fixes a crash/drawing problem when
  204. navigating back through relations.
  205. (HitTest): handle the case where we have no cells but have
  206. relations. Right now we generate a hit in cell 0 of whatever the
  207. row is, not sure if this is strictly correct, but it works for our
  208. purposes.
  209. * DataGrid.cs (EndEdit, CancelEdit): if we have no columns, don't
  210. bother doing anything.
  211. 2006-11-07 Jonathan Pobst <[email protected]>
  212. * StatusStrip.cs, ToolStripStatusLabel.cs: By request, an
  213. early version of StatusStrip. Not responsible for eaten
  214. application or firstborn children.
  215. 2006-11-06 Chris Toshok <[email protected]>
  216. * TabControl.cs: in OnGotFocusInternal/OnLostFocusInternal don't
  217. call GetTabRect with a -1 index. Fixes #79847.
  218. 2006-11-06 Jackson Harper <[email protected]>
  219. * TreeNodeCollection.cs: Update scrollbars after clearing.
  220. 2006-11-06 Chris Toshok <[email protected]>
  221. * NumericUpDown.cs: fix the ToString method for some unit test
  222. love.
  223. 2006-11-06 Chris Toshok <[email protected]>
  224. * PropertyGrid.cs:
  225. - set the initial SelectedGridItem if we can.
  226. - Exclude non-mergable properties only if we're merging > 1
  227. object. Merging 1 object isn't really merging, obviously.
  228. - Handle PropertySort.NoSort just like Alphabetical, which is
  229. wrong of course, but at least gets things on the screen.
  230. * PropertyGridView.cs:
  231. - Add method "FindFirstItem" which finds the first property grid
  232. item, so we can select it by default.
  233. - make use of GridEntry.CanResetValue.
  234. - Don't call RedrawBelowItemOnExpansion here anymore, the
  235. individual GridEntry's will do that.
  236. - Remove the ITypeDescriptorContextImpl internal class.
  237. * GridEntry.cs:
  238. - this class needs to implement ITypeDescriptorContext, as it's
  239. what MS's PropertyDescriptorGridEntry does, which means we can
  240. remove the ITypeDescriptorContextImpl internal class from
  241. PropertyGrid.cs. This fixes the crashing portion of bug #79829.
  242. - keep a reference to our PropertyGridView, and move the call to
  243. RedrawBelowItemOnExpansion here from PGV. This means
  244. programmaticly setting Expanded actually does something visible.
  245. - add a CanResetValue() function which takes into account our
  246. possibly multiple "selected_objects" in the merged case. Shifting
  247. PropertyGridView to use this method fixes another unreported
  248. crasher found running the test for #79829.
  249. - when Top or Bounds is updated, make sure the PropertyGridTextBox
  250. is updated to reflect this.
  251. * CategoryGridEntry.cs: the ctor takes the PGV now.
  252. 2006-11-06 Jackson Harper <[email protected]>
  253. * TextControl.cs: These are 1 based.
  254. * TextBoxBase.cs: When setting the selected text, don't change the
  255. selected text tags, this is done by ReplaceText, just position the
  256. cursor at the end of the new text.
  257. 2006-11-06 Alexander Olk <[email protected]>
  258. * ListView.cs: Allow label edit only when, when LabelEdit is
  259. set to true.
  260. 2006-11-06 Jackson Harper <[email protected]>
  261. * TextControl.cs: If a suitable wrapping position isn't found,
  262. just wrap right in the middle of a word.
  263. 2006-11-06 Alexander Olk <[email protected]>
  264. * ListView.cs, ListViewItem.cs: Implement LabelEdit. Fixes
  265. bug #79820.
  266. 2006-11-06 Jackson Harper <[email protected]>
  267. * TreeView.cs: Can't use the VisibleCount property when setting
  268. scrollbar heights, because this doesn't take into account whether
  269. or not the horz scrollbar just came visible.
  270. 2006-11-05 Everaldo Canuto <[email protected]>
  271. * MenuAPI.cs: Deactivate menu on mouse up when menus it is already
  272. activated. Fixes #79369, #79832.
  273. 2006-11-05 Alexander Olk <[email protected]>
  274. * FileDialog.cs: *sigh* Because of recent runtime changes (r67043) I
  275. had to remove support for links that point to a directory. FileInfo
  276. returns no usefull information (means, the directory they point to)
  277. for such links. Replaced some empty string ("") with String.Empty.
  278. 2006-11-04 Gert Driesen <[email protected]>
  279. * TreeNodeCollection.cs: To match MS, in 1.0 profile throw
  280. NullReferenceException when attempting to remove node that is not in
  281. collection. Throw NullReferenceException when null is passed to
  282. Remove. Allow first element of the collection to be removed. Fixes
  283. bug #79831. In GetEnumerator ().Current return null if positioned
  284. before the first element of the collection. In GetEnumerator ().Reset,
  285. position before first element of the collection.
  286. 2006-11-04 Gert Driesen <[email protected]>
  287. * PropertyGrid.cs: To match MS, remove default title and description
  288. for panel. Fixed tooltips for Categorized and Alphabetic toolbar
  289. buttons.
  290. 2006-11-04 Chris Toshok <[email protected]>
  291. * Theme.cs: add a Clamp method, just for kicks.
  292. * ThemeWin32Classic.cs: clamp all color components to [0..255].
  293. 2006-11-04 Chris Toshok <[email protected]>
  294. * Form.cs: if the form isn't visible, Close() does nothing.
  295. 2006-11-03 Chris Toshok <[email protected]>
  296. * Form.cs (Close): if the form is modal, don't Dispose of it, only
  297. Hide it.
  298. (WndProc): don't Dispose after handling the WM_CLOSE message.
  299. * Application.cs (RunLoop): toplevels is a list of Forms, so treat
  300. them as such, instead of using casts from Control to Form. Also,
  301. don't Dispose of the modal dialog when we fall out of the loop -
  302. Close() it instead.
  303. fixes bug #79813.
  304. 2006-11-03 Chris Toshok <[email protected]>
  305. * Control.cs (Dispose): only go through the dispose thing if we're
  306. @disposing, and we haven't already been disposed. Fixes bug
  307. #79814.
  308. * Form.cs: no reason to call "base.Dispose()" here instead of
  309. "Dispose()".
  310. 2006-11-03 Mike Kestner <[email protected]>
  311. * ComboBox.cs : use ToString instead of casts in AddItem for
  312. sorting functionality. Fixes #79812.
  313. 2006-11-03 Chris Toshok <[email protected]>
  314. * Application.cs: pave the way for actually using the thread
  315. exception dialog. it's ifdefed out at the moment.
  316. 2006-11-03 Chris Toshok <[email protected]>
  317. * ThreadExceptionDialog.cs: until we get a better layout, actually
  318. hide the details textbox and label when we shouldn't see them.
  319. 2006-11-03 Jackson Harper <[email protected]>
  320. * TextBoxBase.cs: Don't bail from the scrollbar calcs for non
  321. multiline textboxes anymore. This method also determines the
  322. width/height of a textboxes canvas area.
  323. - Sorta a revert of the last patch. For multiline just position
  324. the controls, then bail. This way the scrollbar width won't be
  325. altered.
  326. 2006-11-03 Everaldo Canuto <[email protected]>
  327. * ThemeWin32Classic.cs: Dont paint inner lines of 3D border when
  328. it dont need. Fixes #79537.
  329. 2006-11-02 Jackson Harper <[email protected]>
  330. * X11Dnd.cs: We always allow copy, since XDND implies Copy. Also
  331. send the status after firing the DndOver event.
  332. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  333. * TrackBar.cs: Now orientation only switches height / width if
  334. the control's handle is created (Win32 does it like this). Also
  335. fixed a typo in ToString() for a test to pass, changed the
  336. exception thrown in set_LargeChange and set_SmallChange to
  337. match Win32 behaviour, and added TrackBar tests to the unit
  338. tests.
  339. 2006-11-02 Chris Toshok <[email protected]>
  340. * XplatUIX11.cs: the atom we want is _NET_WM_STATE_SKIP_TASKBAR,
  341. not _NET_WM_STATE_NO_TASKBAR.
  342. 2006-11-02 Jackson Harper <[email protected]>
  343. * TextControl.cs: Increment count by one, since in the update view
  344. count - 1 is used.
  345. 2006-11-02 Jackson Harper <[email protected]>
  346. * TextBoxBase.cs: Use client rectangle not bounds for checking if
  347. the mouse is in the client rectangle (duh).
  348. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  349. * TrackBar.cs: Fixed trackbar jumping around when clicking
  350. on it - the trackbar was not detecting correctly at which
  351. side of the thumb the click was done. (fixes #79718)
  352. 2006-11-02 Everaldo Canuto <[email protected]>
  353. * ListBox.cs: scroll visible area when change SelectedIndex to
  354. a non visible area. Fixes #79481.
  355. 2006-11-01 Jackson Harper <[email protected]>
  356. * TextControl.cs: When replacing the selection move the selection
  357. start/end/anchor to the end of the new text.
  358. 2006-11-01 Jackson Harper <[email protected]>
  359. * XplatUIWin32.cs: When setting the parent change the controls
  360. visibility to it's visibility flag, not to it's old parents
  361. visibility (.Visible walks the parent chain).
  362. 2006-11-01 Chris Toshok <[email protected]>
  363. * XplatUIX11.cs: revert the #79790 fix, as the simple.
  364. XSetTransientForHint fix breaks paint .net's tool windows. more
  365. work needed for that one.
  366. 2006-11-01 Chris Toshok <[email protected]>
  367. * ScrollBar.cs: throw ArgumentException instead of Exception in
  368. LargeChange/SmallChange setters. fixes unit tests.
  369. 2006-10-31 Andreia Gaita <[email protected]>
  370. * ContainerControl.cs: reverted rev.67183 (which was itself
  371. a reversion of rev.66853... eh).
  372. * Control.cs: Fixes Reflector hang by changing Focus() call
  373. to what it was before rev.66643 (calling Select() here sets
  374. ActiveControl, which in some situations calls back Focus and
  375. eventually does a stack overflow). Temp fix.
  376. Changes to GetNextControl() to not look for children to select when
  377. parent cannot be selectable (so it looks for siblings instead)
  378. 2006-10-31 Mike Kestner <[email protected]>
  379. * CheckedListBox.cs : off by one error in returned index from
  380. ObjectCollection.Add. Fixes #79758.
  381. 2006-10-31 Chris Toshok <[email protected]>
  382. * UpDownBase.cs: remove the OnGotFocusInternal/OnLostFocusInternal
  383. calls for the textbox/spinner, to keep from recursing to the point
  384. where we crash. Fixes #79760.
  385. 2006-10-31 Chris Toshok <[email protected]>
  386. * ListControl.cs (set_SelectedValue): don't throw exceptions on
  387. null/"" value, just return. matches ms's behavior and fixes some
  388. failing tests.
  389. 2006-10-31 Chris Toshok <[email protected]>
  390. * Control.cs (set_Capture): make a logic a little easier to
  391. follow.
  392. * XplatUIX11.cs (CleanupCachedWindows): zero out the Grab window
  393. if it's being destroyed. A necessary fix surely, but a bandaid
  394. also, to fix the stuck capture problem in bug #78413.
  395. 2006-10-31 Chris Toshok <[email protected]>
  396. * XplatUIX11.cs: fix a couple of compiler warnings, and follow the
  397. convention of clearing hwnd.ClientRect when we set the
  398. width/height (so it'll be recalculated by Hwnd).
  399. 2006-10-31 Andreia Gaita <[email protected]>
  400. * ContainerControl.cs: reversed Contains check from
  401. ActiveControl due to hanging problems. This fix
  402. partly regresses #79667 (button does not have
  403. initial focus), so this might be a symptom for
  404. a larger parenting problem (set_ActiveControl
  405. is being called but the child control does
  406. not have the parent set yet?)
  407. 2006-10-31 Mike Kestner <[email protected]>
  408. * MenuAPI.cs : fix keynav when menu is click activated.
  409. 2006-10-31 Jonathan Pobst <[email protected]>
  410. * ToolStrip*: Version 0.2.
  411. * MenuStrip.cs: Version 0.1.
  412. * Form.cs: Add a 2.0 MenuStrip tracker like the 1.1 Menu one.
  413. 2006-10-30 Chris Toshok <[email protected]>
  414. [ fixes the oversized notify icon issue in bug #79745 ]
  415. * NotifyIcon.cs: scale the icon down to the size we're given by
  416. the XplatUI layer (this would be faster if we did it once instead
  417. of whenever we paint..) Also, remove the WM_NCPAINT handling,
  418. since it's never invoked.
  419. * XplatUIX11.cs: the gnome and kde systrays use icons that are 24
  420. pixels high by default, so let's hardcode our systray icon to that
  421. size. The SYSTEM_TRAY protocol should really have a way for
  422. client apps to query for the correct icon size.. but oh well. A
  423. couple of patches to deal with the screwy client_window ==
  424. whole_window notifyicon stuff (we don't want to PerformNCCalc, for
  425. instance, and also make sure we don't XSelectInput twice).
  426. 2006-10-30 Chris Toshok <[email protected]>
  427. * Control.cs: ugh, the unit test fix (CH11, yesterday) breaks when
  428. recreating forms. Control recreation is the bane of my existence.
  429. Fix it in a way that keeps everyone happy.
  430. 2006-10-30 Chris Toshok <[email protected]>
  431. * XplatUIX11.cs: use StructureNotifyMask on all whole_windows, not
  432. just non-CHILD ones. otherwise sometimes scrollbars end up with
  433. client_windows not being resized to the proper size (ReportBuilder
  434. shows this extremely well).
  435. 2006-10-30 Chris Toshok <[email protected]>
  436. * XplatUIX11.cs (SetWMStyles): reinstate the XSetTransientForHint
  437. for non-WS_EX_APPWINDOW windows. This is what keeps them from
  438. showing up in the gnome taskbar. Fixes bug #79790.
  439. 2006-10-30 Chris Toshok <[email protected]>
  440. * ApplicationContext.cs: guard against a NRE.
  441. * Application.cs: null out the old MainForm for the context, so we
  442. don't try to use it again once it's disposed. Fixes bug #79783.
  443. 2006-10-30 Chris Toshok <[email protected]>
  444. * DataGrid.cs (set_DataSource, set_DataMember): if we have a
  445. BindingContext, set the data source directly, otherwise do the
  446. lazy approach - the actual ListManager will be created when we get
  447. a BindingContext. Fixes bug #79700.
  448. 2006-10-30 Jonathan Pobst <[email protected]>
  449. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  450. XplatUIX11.cs: Remove old 2 parameter SetVisible.
  451. * Control.cs: Use the new 3 parameter SetVisible with activate = true.
  452. 2006-10-30 Jonathan Pobst <[email protected]>
  453. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Add an overload
  454. of SetVisible that allows a window to be shown, but not activated.
  455. This is needed on Windows for MenuStrip, and can probably be used
  456. with MainMenu and ComboBox to fix the focus stealing issues on
  457. Windows.
  458. * XplatUIOSX.cs, XplatUIX11.cs: Not needed, call existing SetVisible.
  459. 2006-10-30 Alexander Olk <[email protected]>
  460. * PictureBox.cs: Fix the output of the ToString method.
  461. 2006-10-29 Chris Toshok <[email protected]>
  462. * Control.cs (get_TopLevelControl): fix bug #79781.
  463. 2006-10-29 Chris Toshok <[email protected]>
  464. * ListControl.cs (set_DataSource): throw Exception here, not
  465. ArgumentException, to match MS behavior.
  466. 2006-10-29 Chris Toshok <[email protected]>
  467. * Form.cs: remove the try-catch's around calls to GetWindowState.
  468. We can just check the return value.
  469. * XplatUIX11.cs: don't throw exceptions from GetWindowState.
  470. Instead return -1.
  471. * XplatUI.cs: Add note about additional return value for
  472. GetWindowState.
  473. 2006-10-29 Chris Toshok <[email protected]>
  474. * Control.cs (CreateHandle): when we create our handle, we also
  475. create the handles of our child controls. Fixes one of the
  476. Control unit tests (CH11).
  477. 2006-10-28 Alexander Olk <[email protected]>
  478. * MimeIcon.cs: If a gnome icon doesn't exist add a default icon.
  479. 2006-10-28 Alexander Olk <[email protected]>
  480. * ThemeClearlooks.cs: A little speedup.
  481. 2006-10-27 Chris Toshok <[email protected]>
  482. * Control.cs: implement Control.FromChildHandle in a way that
  483. matches the docs (and fixes the failed test.)
  484. 2006-10-27 Chris Toshok <[email protected]>
  485. * DataGridTableStyle.cs: reproduce buggy MS behavior (with
  486. comments).
  487. * DataGrid.cs: implement ResetForeColor such that the tests
  488. succeed.
  489. 2006-10-27 Chris Toshok <[email protected]>
  490. * ToolBarButton.cs: setting text/tooltiptext to null results in it
  491. being set to "". Fixes bug #79759.
  492. 2006-10-27 Jackson Harper <[email protected]>
  493. * TextControl.cs: We need to clear the entire selection area when
  494. setting the start, otherwise multiline selections are still
  495. visible.
  496. 2006-10-26 Chris Toshok <[email protected]>
  497. * PropertyGridView.cs:
  498. - ifdef all the code specific to the double
  499. buffer case, and provide some alternatives in the non-doublebuffer
  500. code, which makes heavy use of XplatUI.ScrollWindow to move things
  501. around without having to invalidate (and cause flicker). There
  502. are still some drawing problems in the non-doublebuffered case, so
  503. DOUBLEBUFFER is defined by default.
  504. - Fix the way dropdowns are handled. now we explicitly watch for
  505. the events which might cause the dropdown to close, and break out
  506. of the nested event loop there. This gets rid of all Capture
  507. code, at the expense of the Msg special casing. Seems to work,
  508. though, and fixes bug #79743.
  509. 2006-10-27 Rolf Bjarne Kvinge <[email protected]>
  510. * Control.cs: SetIsRecreating now recreates implicitly added
  511. child controls as well. Finally fixes #79629. The flag passed to
  512. SetIsRecreating has also been removed since it wasn't used.
  513. 2006-10-26 Carlos Alberto Cortez <[email protected]>
  514. * PageSetupDialog.cs: Clean some code, fix some bits,
  515. add some checks, and add a printer sub-dialog.
  516. 2006-10-26 Chris Toshok <[email protected]>
  517. * PropertyGrid.cs: make set_SelectedObject call
  518. set_SelectedObjects, and move the duplicate logic to the
  519. SelectedObjects setter. Also, raise SelectedObjectsChanged.
  520. * PropertyGridView.cs: hide the textbox when we get a
  521. SelectedObjectsChanged event.
  522. Fixes bug #79748.
  523. 2006-10-26 Chris Toshok <[email protected]>
  524. * PropertyGridView.cs: deal with the type converter not supporting
  525. GetStandardValues() or GetStandardValues() returning null, which
  526. is does in the default case. Fixes #79742.
  527. 2006-10-25 Andreia Gaita <[email protected]>
  528. * CheckedListBox.cs: nunit no longer crashes when selecting
  529. Project/Edit menu option
  530. 2006-10-25 Andreia Gaita <[email protected]>
  531. * MenuAPI.cs: prevent ExecFocusedItem from blowing up if there
  532. is no menu selected. fixes #79739
  533. 2006-10-25 Chris Toshok <[email protected]>
  534. * PropertyGridView.cs: factor out the splitter invalidation code
  535. into the SplitterPercent setter, and for kicks implement the
  536. Ctrl-Left/Ctrl-Right handling that moves the splitter by a small
  537. amount in either direction.
  538. 2006-10-25 Chris Toshok <[email protected]>
  539. * PropertyGridView.cs: do some cleanup of the brush used to draw
  540. text - read only fields should be grayed out. not sure how to do
  541. this with the textbox, though. but the textbox's should also be
  542. readonly now at least. Also, hide/show the textbox when resizing
  543. the control.
  544. * CursorConverter.cs: use System.Reflection when getting the
  545. properties of Cursors, as TypeDescriptor.GetProperties isn't
  546. returning static properties.
  547. 2006-10-25 Chris Toshok <[email protected]>
  548. * PropertyGridView.cs: factor out the up/down handling, and reuse
  549. it for page up/down. also add End/Home support.
  550. 2006-10-25 Chris Toshok <[email protected]>
  551. * PropertyGridView.cs:
  552. - ensure the selected grid item is visible in the scrolled area,
  553. fixes bug #79572.
  554. - fix Keys.Down handling when you're on the last item in the
  555. propertygrid.
  556. 2006-10-25 Mike Kestner <[email protected]>
  557. * MenuAPI.cs : set the ActiveTracker for MainMenu non-popup
  558. clicks too. Fixes #79725.
  559. 2006-10-24 Chris Toshok <[email protected]>
  560. * PropertyGrid.cs: use property.Converter instead of
  561. TypeDescriptor.GetConverter(property.PropertyType), so we catch
  562. TypeConverters declared on the property as well as on the
  563. PropertyType. Fixes bug #79678.
  564. 2006-10-24 Alexander Olk <[email protected]>
  565. * MimeIcon.cs, Mime.cs:
  566. Fallback to the default platform handler if no shared mime info
  567. stuff exists (fixes #79693).
  568. 2006-10-20 Andreia Gaita <[email protected]>
  569. * ContainerControl.cs: Incorrect contains check in ActiveControl
  570. from previous fix (duh).
  571. 2006-10-20 Chris Toshok <[email protected]>
  572. * PropertyGridView.cs: the dropdown should be MIN(number of items
  573. in list, 15). Fixes #79551.
  574. 2006-10-20 Andreia Gaita <[email protected]>
  575. Fixes #79384, #79394, #79652, #79667
  576. * Application.cs:
  577. - Modal windows are now destroyed in the proper order for windows
  578. * ContainerControl.cs:
  579. - ActiveControl setter has more conditions on when to return:
  580. - if we're reselecting the active control, but it actually
  581. didn't have focus (window hidden or some such), it runs
  582. - if the active control being selected doesn't actually
  583. exist in the container, it returns
  584. * Form.cs
  585. - The ShowDialog now gets the current form as the owner when
  586. invoking without parameters, and correctly activates the owner
  587. when returning
  588. * MessageBox.cs
  589. - MessageBox now catches the Escape key to exit
  590. 2006-10-20 Chris Toshok <[email protected]>
  591. * PropertyGridView.cs: fix a number of issues (bug #78565, and
  592. most of bug #79676):
  593. - you can navigate around the property grid with the arrow keys.
  594. - the dropdown is sized properly when the pg has a vertical
  595. scrollbar.
  596. - fix the indentation for subentries, and properly select the
  597. entire label rect.
  598. - fix the gray bar's drawing (only draw it to the last element,
  599. not for the height of the control. Also make sure we draw that
  600. last horizontal grid line.
  601. - use the same mechanism the datagrid uses wrt the editing textbox
  602. when scrolling/resizing/etc. Namely, we hide it first, do the
  603. operation, then show it again (if it's still visible).
  604. - aggressively remove a lot of unnecessary refreshes (and also
  605. calls to Invalidate(). call more limited variants, and only redraw
  606. what we need.)
  607. * PropertyGrid.cs:
  608. - when we're populating the merged collection, fill in the UI
  609. parent with either the passed in item, or the category item we
  610. create.
  611. - remove the Refresh call from the BorderHelpControl.OnSizeChanged.
  612. * GridItem.cs: drop some fully qualified names.
  613. * GridEntry.cs: add a "UIParent", which is basically the parent
  614. treenode.
  615. * GridItemCollection.cs: add an IndexOf method.
  616. 2006-10-20 Mike Kestner <[email protected]>
  617. * MainMenu.cs : go back to Draw in OnMenuChanged. Until we get
  618. a working win32 NC invalidation mechanism, we can't invalidate
  619. menus. [Fixes #79705]
  620. 2006-10-20 Mike Kestner <[email protected]>
  621. * ListBox.cs : don't update the VScrollbar if the list is empty,
  622. just hide it. [Fixes #79692]
  623. 2006-10-20 Jackson Harper <[email protected]>
  624. * RichTextBox.cs: Handle some special chars better, and don't skip
  625. the entire group when we encounter a special char that we don't
  626. handle correctly.
  627. 2006-10-18 Chris Toshok <[email protected]>
  628. * PropertyGridView.cs: address a number of issues from bug #79676,
  629. mostly of the cosmetic variety.
  630. - The highlight rectangle for indented items not extends all the
  631. way to the left.
  632. - Indented items aren't indented so much.
  633. - the dropdown is properly sized width-wise if the pg has a
  634. vertical scrollbar.
  635. 2006-10-18 Chris Toshok <[email protected]>
  636. * XplatUIX11.cs (SystrayAdd): a rather convoluted change, but the
  637. systray stuff is rather convoluted to begin with.
  638. systray icons are a single window for some reason (that I haven't
  639. figured out yet), and for them, client_window == whole_window.
  640. Given the way the tests are structured elsewhere to determine
  641. which paints are pending (client vs. nc), that situation will
  642. always yield PAINT, not NCPAINT. So, if we have a pending
  643. nc_expose and no pending expose, remove the hwnd from the paint
  644. queue, and also set nc_expose_pending to false, to keep us from
  645. blocking further expose's adding the hwnd to the paint queue.
  646. phew. like i said, a rather convoluted change. Fixes the
  647. notifyicon repaint issues in bug #79645.
  648. 2006-10-18 Chris Toshok <[email protected]>
  649. * Form.cs: when getting the backcolor of the form, don't get
  650. base.BackColor, as this allows parents to influence the background
  651. color. This breaks mdi forms. Instead, if the background_color
  652. is empty, return the default.
  653. 2006-10-18 Chris Toshok <[email protected]>
  654. * XplatUIX11.cs: change some debug ifdefs, and return XGetParent
  655. to being private instead of internal static.
  656. * Control.cs: remove all the stupid ParentWaitingOnRecreation
  657. crap, it wasn't working for more deeply nested controls anyway,
  658. and we already have the is_recreating flag - use that instead.
  659. Before calling DestroyHandle in RecreateHandle, recurse through
  660. the control tree setting it to true. this returns the recreate
  661. code to much of its original simplicity, while now guaranteeing we
  662. actually recreate everything we're supposed to. This change gets
  663. fyireporting actually showing mdi children.
  664. 2006-10-17 Chris Toshok <[email protected]>
  665. * Form.cs: remove some debug spew, and collapse some duplicate
  666. code at the end of SetClientSizeCore.
  667. * XplatUIX11.cs:
  668. - add some more debug spew here too wrt Destroy handling.
  669. - don't call hwnd.Dispose in DestroyWindow, it's effectively done
  670. in Control's handling of WM_DESTROY.
  671. - Remove the handling of zombie window DestroyNotifies from the
  672. event loop - we don't need it. Now the only DestroyNotifies we
  673. actually handle are ones generated by X.
  674. - When sending _NET_ACTIVE_WINDOW, the first param should be 1, to
  675. match gtk's (functioning) handling of this. This keep metacity
  676. from leaving droppings in the form of wm borders with no window
  677. contents all over the place.
  678. * Control.cs:
  679. - add a bunch of debug spew wrt control recreation.
  680. - fix a bug where we weren't tracking Visible properly on
  681. recreated hwnds.
  682. - fixed the WM_PAINT double buffer handling to support re-entrant
  683. calls (yes, i know it's gross, but it's happening to us).
  684. 2006-10-17 Rolf Bjarne Kvinge <[email protected]>
  685. * ThemeWin32Classic.cs: changed drawing of selected days
  686. to make them look better.
  687. 2006-10-16 Chris Toshok <[email protected]>
  688. * Hwnd.cs: replace the user_data/client_dc/non_client_dc with
  689. drawing_stack. Nuke the ClientDC/NonClientDC properties.
  690. * XplatUIX11.cs: move away from using hwnd.client_dc and
  691. hwnd.non_client_dc and on to a stack of dc's (and in window's
  692. case, PAINTSTRUCT's), so we can deal with nested Paint calls
  693. without puking or not disposing of Graphics objects.
  694. * XplatUIOSX.cs: same.
  695. * XplatUIWin32.cs: same.
  696. 2006-10-03 Alexander Olk <[email protected]>
  697. * FileDialog.cs: Don't call on_directory_changed inside
  698. OnSelectedIndexChanged (it changes the SelectedIndex too).
  699. Instead move it to OnSelectionChangeCommitted.
  700. 2006-10-13 Chris Toshok <[email protected]>
  701. * XplatUIX11.cs: more Destroy work. the current code does the
  702. following things, in order:
  703. 1. Enumerates all handles of all controls at or below the one
  704. being destroyed, in pre-order. As it is doing this, it marks the
  705. handles as zombie and clears all references to them.
  706. 2. calls XDestroyWindow on the window passed in.
  707. 3. SendMessage's WM_DESTROY to all he handles in the accumulated
  708. list.
  709. 2006-10-13 Chris Toshok <[email protected]>
  710. * XplatUIX11.cs: set hwnd.zombie to true before calling
  711. SendMessage (WM_DESTROY). this keeps us from marking the new
  712. window a zombie, and also keeps us from calling sendmessage at
  713. all.
  714. 2006-10-13 Jackson Harper <[email protected]>
  715. * TextControl.cs: Do not show the caret and selection at the same
  716. time. Reduces ugliness by 35%.
  717. 2006-10-13 Chris Toshok <[email protected]>
  718. * XplatUIX11.cs (SendWMDestroyMessages): set the hwnd to be a
  719. zombie after we do the recursive call, so we actually do call
  720. SendMessage on the children controls.
  721. (GetMessage): if we find a pending paint event for a zombie hwnd,
  722. remove the hwnd from the paint queue, or else it will always be
  723. there (and we'll effectively loop infinitely)
  724. 2006-10-13 Mike Kestner <[email protected]>
  725. * MenuItem.cs : add Selected format under keynav too.
  726. Fixes #79528.
  727. 2006-10-13 Gert Driesen <[email protected]>
  728. * PropertyGrid.cs: Fixed some NRE's and small difference between our
  729. implementation and that of MS.
  730. 2006-10-13 Chris Toshok <[email protected]>
  731. * Control.cs (OnInvalidated) only futz with the invalid_region if
  732. the control is double buffered. this fixes the apparent hang in
  733. the ListView unit tests. Someone needs to make the
  734. BeginEndUpdateTest not call OnInvalidated 15004 times, though..
  735. 2006-10-13 Chris Toshok <[email protected]>
  736. * PropertyGridView.cs:
  737. - do a little refactoring so that only one place calls
  738. dropdown_form.Hide, and that is CloseDropDown. make everywhere
  739. else call that. Also make it Refresh, since there are redraw bugs
  740. otherwise (we should take a look at that...)
  741. - do a little more refactoring work to share the body of code
  742. involved with the drop down. it was duplicated in the code
  743. dealing with the listbox handling and in the code dealing with the
  744. UITypeEditors.
  745. - add a Capture to the dropdown form's control once it's
  746. displayed, and add a MouseDown handler that checks to make sure
  747. the position is inside the control. If it's not, close the
  748. dropdown. This fixes #78190.
  749. - in SetPropertyValueFromUITypeEditor, only call SetPropertyValue
  750. if the value is different than the initial value.
  751. 2006-10-13 Andreia Gaita <[email protected]>
  752. * Control.cs: see #78650
  753. - Fixed GetNextControl for several cases:
  754. - Changed FindFlatForward to return
  755. correct sibling control when more than one
  756. control has same TabIndex as the currently
  757. focused one.
  758. - Changed FindFlatBackward to loop children
  759. from last to first and apply same logic as in
  760. FindFlatForward
  761. - Changed FindControlForward to search for
  762. children when control is not a container
  763. but has children, or search for siblings if
  764. control is a container...
  765. - Changed FindControlBackward to continue
  766. searching for child controls when hitting
  767. Panel-like parents
  768. - Fixed Focus method to update ActiveControl
  769. (FocusTest.FocusSetsActive failure)
  770. * TabControl.cs:
  771. - Focus rectangle now refreshes when gaining
  772. or losing focus
  773. - Removed grab for Tab key on IsInputKey that
  774. was keeping tab navigation from working (#78650)
  775. 2006-10-13 Chris Toshok <[email protected]>
  776. * PropertyGridView.cs:
  777. - Rewrite SetPropertyValue to loop over SelectedGridItem's
  778. SelectedObjects.
  779. - Deal with GridItem.Value == null a few places.
  780. * PropertyGrid.cs:
  781. - replace the PopulateGridItemCollection with a pair of methods
  782. which compute the intersection of all the properties in the
  783. SelectedObjects array. Fixes #79615.
  784. - Throw ArgumentException from set_SelectedObjects if there's a
  785. null in the array.
  786. - Add GetTarget method which can be used to traverse up the
  787. GridItem.Parent chain. It depends on the assumption that
  788. selected_objects for different GridEntries are always in the same
  789. order (a safe assumption). Use this method and loop over all the
  790. selected objects in the entry when calling RemoveValueChanged and
  791. AddValueChanged.
  792. * GridEntry.cs: Make this handle multiple selected objects.
  793. .Value returns null if not all the selected objects share the same
  794. value.
  795. 2006-10-12 Jonathan Pobst <[email protected]>
  796. * ToolStrip.cs, ToolStripButton.cs, ToolStripComboBox.cs,
  797. ToolStripControlHost.cs, ToolStripItem.cs, ToolStripLabel.cs,
  798. ToolStripProfessionalRenderer.cs, ToolStripProgressBar.cs,
  799. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs,
  800. ToolStripTextBox.cs: Add accessibility, fix attributes/API and
  801. add additional functionality.
  802. 2006-10-12 Mike Kestner <[email protected]>
  803. * ErrorProvider.cs : new ToolTipWindow ctor sig.
  804. * HelpProvider.cs : new ToolTipWindow ctor sig.
  805. * ToolTip.cs : remove ToolTip param from Window sig since it is
  806. not used.
  807. * ToolBar.cs : add tooltip support. Fixes #79565.
  808. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  809. * ComboBox.cs: move the events in set_SelectedIndex to
  810. after the call to HighlightIndex in order to avoid
  811. possible recursion and subsequent problems with the call
  812. to HighlightIndex and include a range check in
  813. set_HighlightIndex. Fixes #79588
  814. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  815. * MonthCalendar.cs: When FirstDayOfWeek is default set firstday
  816. to ui thread's settings instead of sunday.
  817. * ThemeWin32Classic.cs: Localize the day string. Fixes #79563
  818. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  819. * DateTimePicker.cs
  820. * MonthCalendar.cs
  821. * ThemeWin32Classic.cs: rewrote DateTimePicker to fix bug #78364
  822. and implement missing functionality (selecting different parts
  823. of the date and edit them individually with the keyboard).
  824. 2006-10-11 Chris Toshok <[email protected]>
  825. * Control.cs (OnInvalidated): fix NRE relating to last change.
  826. 2006-10-11 Chris Toshok <[email protected]>
  827. * XplatUIX11.cs (SetWMStyles): make sure we include the MAXIMIZED
  828. atoms in _NET_WM_STATE here if the window is maximized. We need
  829. to do this because we're *replacing* the existing _NET_WM_STATE
  830. property, so those atoms will be lost otherwise, and any further
  831. call to GetWindowState will return Normal for a window which is
  832. actually maximized. Fixes #79338.
  833. 2006-10-11 Jackson Harper <[email protected]>
  834. * TextControl.cs: Special case for setting selection end to
  835. selection start, we basically kill the anchor.
  836. - some todo comments.
  837. 2006-10-11 Chris Toshok <[email protected]>
  838. * Control.cs: switch to using an "invalid_region" to track which
  839. parts of the image buffer need updating. This is more code than
  840. the simple fix from r66532. That version just attempted to always
  841. fill the entire buffer on redraw, which turns out to be
  842. inefficient when invalidating small rectangles. This version
  843. simply adds the invalid rectangle to the invalid region. When we
  844. get any WM_PAINT message we see if it can be filled using the
  845. image buffer, and if it can't (if the paint event's clip rectangle
  846. is visible in the invalid region) we first fill the image buffer.
  847. So, the image buffer is still a cache, we just fill it lazily.
  848. * PaintEventArgs.cs: remove the SetClipRectangle method, we don't
  849. need it any longer.
  850. 2006-10-11 Chris Toshok <[email protected]>
  851. * XplatUIX11.cs (SetWindowPos): we need to update both position as
  852. well as size after calling XMoveResizeWindow. This keeps us from
  853. ignoring future SetWindowPos calls. Fixes the disappearing
  854. DateTimePicker in the ToolBarDockExample from bug #72499.
  855. 2006-10-11 Chris Toshok <[email protected]>
  856. * TextBoxBase.cs: reorder things a bit when it comes to
  857. resizing-causing-recalculation. we were recalculating the
  858. document when our position was changed, which shouldn't happen.
  859. We only care about size changes. Clear up some more redundant
  860. recalculation calls while I'm at it. This makes the toolbar dock
  861. example snappy when you're just dragging toolbars around (since it
  862. causes a relayout whenever you move one.)
  863. 2006-10-11 Chris Toshok <[email protected]>
  864. * ToolBarButton.cs (get_Rectangle): this only returns
  865. Rectangle.Empty if Visible == false, or Parent == null.
  866. Parent.Visible doesn't matter.
  867. 2006-10-10 Chris Toshok <[email protected]>
  868. * Control.cs, PaintEventArgs.cs: "internal set { .. }" isn't loved
  869. by .net 1.1, so switch to an internal method instead.
  870. 2006-10-10 Chris Toshok <[email protected]>
  871. * Control.cs (WM_PAINT): when a control is double buffered we draw
  872. initially to the ImageBuffer and then copy from there. But when a
  873. parent control which has child controls is double buffered, the
  874. initial drawing doesn't encompass the entire ClientRectangle of
  875. the parent control, so we end up with uninitialized bits (this is
  876. easily seen by dragging the top toolbar in
  877. wf-apps/ToolBarDockExample to the right, quickly). The fix is to
  878. manually set the ClipRectangle of the paint_event (only the one we
  879. use to populate the ImageBuffer) to ClientRectangle. Fixes more
  880. of the nastiness in bug #72499.
  881. * PaintEventArgs.cs: Add an internal setter for ClipRectangle,
  882. which we use in Control.cs's WM_PAINT handling.
  883. 2006-10-10 Jackson Harper <[email protected]>
  884. * TextBoxBase.cs: Finish off the autoscrolling stuff.
  885. 2006-10-10 Chris Toshok <[email protected]>
  886. * Cursor.cs: Apply a slightly different patch to the one suggested
  887. in #79609.
  888. 2006-10-10 Jackson Harper <[email protected]>
  889. * MenuItem.cs: Make sure to put the mdi child in the hashtable,
  890. not the parent form.
  891. * TextControl.cs: use difference in old line count vs new count to
  892. calculate how many lines were added, this takes into account soft
  893. line breaks properly.
  894. 2006-10-10 Chris Toshok <[email protected]>
  895. * LinkLabel.cs: don't call MeasureCharacterRanges against a
  896. rectangle located at 0,0 and the size of the text. Use
  897. ClientRectangle instead. This fixes rendering of non-left aligned
  898. link labels.
  899. 2006-10-10 Jackson Harper <[email protected]>
  900. * TextBoxBase.cs: When we set the selection start position the
  901. caret.
  902. * TextControl.cs: Need to update the caret when we decrement it to
  903. zero.
  904. - Make sure that the selection_visible flag gets reset to false if
  905. the selection isn't visible. Before this you could get it set to
  906. visible by changing the selection start, then changing the end to
  907. equal the start.
  908. 2006-10-09 Jackson Harper <[email protected]>
  909. * TreeView.cs: Don't update scrollbars when we aren't visible.
  910. * TreeNodeCollection.cs: Only need to update scrollbars if being
  911. added to an expanded visible node or the root node.
  912. 2006-10-09 Chris Toshok <[email protected]>
  913. * XplatUIX11.cs (SendMessage): fix NRE.
  914. 2006-10-09 Jackson Harper <[email protected]>
  915. * TextBoxBase.cs: Implement horizontal autoscrolling.
  916. * TextControl.cs: Add a movement types that allows moving forward
  917. and backwards without wrapping.
  918. 2006-10-09 Mike Kestner <[email protected]>
  919. * ListViewItem.cs : layout changes for wrapped LargeIcon labels
  920. with focus "expansion" of labels. Fixes #79532 and then some.
  921. * ThemeWin32Classic.cs : add LineLimit to ListView label format
  922. when wrapping.
  923. 2006-10-09 Jackson Harper <[email protected]>
  924. * TextBoxBase.cs: Set the default max values to MaxValue since
  925. we use the scrollbar for autoscrolling and the default value is
  926. 100. If we don't do this the caret won't keep up with typing
  927. after about 18 characters.
  928. * TextControl.cs: Make sure the selection is offset by the
  929. viewport x. This fixes selection when using auto scrolling.
  930. 2006-10-07 Andreia Gaita <[email protected]>
  931. * Form.cs: The active control should be selected after the
  932. OnLoad so that any child control initialization that affects
  933. the selection is done. Fixes #79406
  934. 2006-10-06 Chris Toshok <[email protected]>
  935. * XplatUIX11.cs: This is perhaps a dangerous change, but it seems
  936. to have no evil effects.
  937. - Stop selecting StructureNotifyMask on non-toplevel windows.
  938. The only way children should be resized is by using the SWF api,
  939. and we already send WM_WINDOWPOSCHANGED messages in those cases.
  940. Toplevel windows can be interacted with via the window manager,
  941. and so we keep the input mask there.
  942. The other event StructureNotifyMask gives us (that we care
  943. about) is DestroyNotify. The code is already structured such
  944. that it assumes we won't be getting a DestroyNotify event for
  945. the window we pass to XDestroyWindow (which is what
  946. StructureNotifyMask is supposed to guarantee.) So, that code
  947. shouldn't be affected by this either.
  948. - Stop selecting VisibilityChangeMask altogether.
  949. We weren't doing anything with the resulting events anyway.
  950. This vastly reduces the number of X requests and events we see
  951. when resizing/laying out a large ui.
  952. 2006-10-06 Chris Toshok <[email protected]>
  953. * ScrollableControl.cs (DisplayRectangle): we need to take into
  954. account the DockPadding regardless of whether or not auto_scroll
  955. == true. rework this slightly to this effect, and fix bug #79606,
  956. and part of #72499 (you can now see the drag handles and drag
  957. toolbars around).
  958. 2006-10-06 Gert Driesen <[email protected]>
  959. * ListViewItem.cs: Collections of selected and checked items are now
  960. dynamically rebuilt. Whenever an item is (un)checked or (de)selected
  961. we mark the collection "dirty".
  962. * ListView.cs: Marked collections readonly. Modified UpdateSelection
  963. to only clear SelectedItems when a new item is selected and MultiSelect
  964. is enabled. CheckedItems and SelectedItems now subscribe to Changed
  965. event of ListViewItemCollection, and mark its list dirty whenever
  966. that event is fire. This allows us to return selected/checked items
  967. in the same order as they are in the Items collection. This matches
  968. the MS behavior.
  969. 2006-10-06 Chris Toshok <[email protected]>
  970. * NotifyIcon.cs (HandleMouseUp): only show the context menu on
  971. right mouse clicks. Fixes bug #79593.
  972. 2006-10-06 Chris Toshok <[email protected]>
  973. * Splitter.cs: doh, fix splitters that don't want to cancel the
  974. movement when you drag them. Also, impose the limits on the
  975. values we send to the SplitterMovingEvent. Fixes #79598.
  976. 2006-10-06 Jackson Harper <[email protected]>
  977. * TextBoxBase.cs: Ignore whether or not the scrollbar is enabled,
  978. since we use this for auto scrolling also.
  979. 2006-10-05 Chris Toshok <[email protected]>
  980. * DataGridBoolColumn.cs: Nuke the code from ConcedeFocus. I'm
  981. beginning to think that most datagrid column types don't need this
  982. method. Fixes bug #79392.
  983. 2006-10-05 Chris Toshok <[email protected]>
  984. * DataGrid.cs: move back to a more lazy scheme for creating the
  985. CurrencyManager, so we aren't updating it every time you set
  986. either DataSource or DataMember. Also, don't call
  987. RecreateDataGridRows if the currency manager hasn't changed.
  988. 2006-10-05 Chris Toshok <[email protected]>
  989. * ComboBox.cs: by the time the OnSelectionChangeCommitted event is
  990. emitted, SelectedIndex should already be updated. Fixes bug
  991. #78929.
  992. 2006-10-05 Jonathan Pobst <[email protected]>
  993. * ToolStripComboBox.cs, ToolStripControlHost.cs, ToolStripProgressBar,
  994. ToolStripTextBox.cs: Initial commit.
  995. * ToolStripItem.cs: Fixes for OnLayout, BackColor, Parent.
  996. 2006-10-05 Jackson Harper <[email protected]>
  997. * TabControl.cs: We need to invalidate the tab control area when
  998. new ones are added (duh).
  999. 2006-10-03 Chris Toshok <[email protected]>
  1000. * Form.cs (ProcessDialogKey): if the focused control is in this
  1001. form and is a button, call its PerformClick method here. Fixes
  1002. #79534.
  1003. 2006-10-04 Jackson Harper <[email protected]>
  1004. * TabPage.cs: Ignore setting of Visible, and add an internal
  1005. method for setting the controls visibility. TabPage's Visible
  1006. property is a little strange on MS, this seems to make us
  1007. compatible, and fixes cases where people set all the tab pages to
  1008. visible.
  1009. * TabControl.cs: Use the new internal setting on tab pages
  1010. visibility.
  1011. 2006-10-03 Mike Kestner <[email protected]>
  1012. * ComboBox.cs : raise Click on ComboTextBox clicks. Fixes #79555.
  1013. 2006-10-03 Mike Kestner <[email protected]>
  1014. * ListView.cs : use is_visible instead of Visible to check if
  1015. scrollbars should be placed/sized. Also some max_wrap_width
  1016. love for LargeIcon view. [Fixes #79533]
  1017. 2006-10-03 Atsushi Enomoto <[email protected]>
  1018. * TextControl.cs :
  1019. Make set_TextAlign() do actually update the align. Fixed #78403.
  1020. 2006-10-03 Chris Toshok <[email protected]>
  1021. * DataGrid.cs: fix a crash when switching datasources if the
  1022. vertical scrollbar is at someplace other than Value = 0. Also,
  1023. reduce the number of recalculation passes we do in SetDataSource
  1024. from 2 to 1.
  1025. 2006-10-03 Jackson Harper <[email protected]>
  1026. * TextBoxBase.cs: Move the if value the same bail check up, we
  1027. don't want to empty the document if it is already empty, this
  1028. seems to severly mess up the caret. TODO: I should probably fix
  1029. the empty statement to update teh caret somehow.
  1030. 2006-10-03 Chris Toshok <[email protected]>
  1031. * ThemeWin32Classic.cs, DataGrid.cs: some changes so that the
  1032. incredibly hacky Windows.Forms FAQ autosize rows entry (it uses
  1033. reflection, an internal row type, properties on said type, etc.)
  1034. will work with our datagrid. Fixes #79531.
  1035. 2006-10-03 Alexander Olk <[email protected]>
  1036. * FileDialog.cs: Don't crash if a path is not accessible
  1037. (System.UnauthorizedAccessException). Fixes #79569.
  1038. * MimeIcon.cs: Workaround for a Uri bug. Unix paths/files can have
  1039. a ':' too. Return unknown icon for those paths/files.
  1040. 2006-10-03 Sebastien Pouliot <[email protected]>
  1041. * ToolTip.cs: Fix rare, but possible, NRE on MouseEnter when
  1042. GetContainerControl returns null.
  1043. 2006-10-02 Chris Toshok <[email protected]>
  1044. * XplatUIX11.cs (GetWindowState): use hwnd.client_window in the
  1045. call to XGetWindowAttributes instead of "handle". fixes an X
  1046. error using notifyicon after the NotifyIconWindow to Form base
  1047. class switch.
  1048. 2006-10-02 Chris Toshok <[email protected]>
  1049. * XplatUIX11.cs (QueryPointer): new function, encapsulating the
  1050. server grab and looping we need to do to get down to the most
  1051. deeply nested child window.
  1052. (SetCursorPos): use QueryPointer instead of GetCursorPos, and call
  1053. QueryPointer again after the WarpPointer so we can generate a
  1054. proper (fake) MotionNotify event to be enqueued in the destination
  1055. window's queue.
  1056. (GetCursorPos): call QueryPointer.
  1057. Fixes #79556.
  1058. 2006-10-02 Jackson Harper <[email protected]>
  1059. * NotifyIcon.cs: Derive the notify icon from a form, so things
  1060. like FindForm work on it.
  1061. - Swallow the WM_CONTEXTMENU message, since that is generated on
  1062. mouse down, and context menu is a mouse up kinda guy. I believe
  1063. the correct fix here is probably to make the notify icon entirely
  1064. NC area, but this seems to work fine for anyone not manipulating
  1065. WndProc.
  1066. 2006-10-02 Jonathan Pobst <[email protected]>
  1067. * ToolStrip.cs, ToolStripButton.cs, ToolStripItem.cs,
  1068. ToolStripItemCollection.cs, ToolStripLabel.cs,
  1069. ToolStripProfessionalRenderer.cs, ToolStripRenderer.cs,
  1070. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs:
  1071. Initial implementation.
  1072. * TextRenderer.cs: Provide padding to MeasureText.
  1073. 2006-10-02 Sebastien Pouliot <[email protected]>
  1074. * ButtonBase.cs: Fix CreateAccessibilityInstance to return an instance
  1075. of ButtonBaseAccessibleObject. Fix bug #79552.
  1076. 2006-10-02 Jackson Harper <[email protected]>
  1077. * MdiWindowManager.cs: When maximizing use the containers client
  1078. rect, not it's bounds, so nc area is accounted correctly.
  1079. - Use the parent form's size for the menu position, since the
  1080. client isn't always the full form size.
  1081. 2006-10-01 Chris Toshok <[email protected]>
  1082. * ScrollableControl.cs: make sure neither right_edge or
  1083. bottom_edge are < 0, since they're used as LargeChange for the
  1084. horiz/vert scrollbars respectively. Fixes #79539.
  1085. 2006-10-01 Chris Toshok <[email protected]>
  1086. * NotifyIcon.cs: add NotifyIconWindow.InternalRecreateHandle, so
  1087. the xplatuix11 code can cause us to destroy/recreate our handle.
  1088. * XplatUIX11.cs
  1089. (SystrayAdd):
  1090. - this code can be invoked many times for the same Hwnd. Make
  1091. sure we only destroy the client window once (the first time this
  1092. method is called). This fixes bug #79544.
  1093. - Remove the call to the improperly bound XSync. why we had two
  1094. bindings to this, I will never know, but this call resulted in
  1095. events being discarded from the queue(!).
  1096. - correct a misunderstanding of _XEMBED_INFO - the second atom is
  1097. not our current state but the state we wish to be in. So, 0 if
  1098. we don't want to be mapped. Change it to 1.
  1099. (SystrayRemove): The XEMBED spec makes mention of the fact that
  1100. gtk doesn't support the reparent of client windows away from the
  1101. embedder. Looking at gtksocket-x11.c seems to agree with this.
  1102. The only avenue we have for removing systray icons is to destroy
  1103. them. We don't want the handle to go away for good, though, so
  1104. call InternalRecreateHandle on the NotifyIconWindow. Fixes
  1105. #79545.
  1106. 2006-10-01 Chris Toshok <[email protected]>
  1107. * Form.cs (WndProc): inline the native_enabled variable usage into
  1108. the cases in which it's used. Fixes #79536.
  1109. 2006-09-29 Mike Kestner <[email protected]>
  1110. * ListView.cs : toggle the selection state for ctrl clicks in
  1111. multiselect mode. [Fixes #79417]
  1112. 2006-09-29 Mike Kestner <[email protected]>
  1113. * ListView.cs : kill CanMultiSelect and refactor the selection
  1114. code to support multiselection in the absence of mod keys. Steal
  1115. arrow/home/end keys by overriding InternalPreProcessMessage to
  1116. restore regressed keynav behavior.
  1117. [Fixes #79416]
  1118. 2006-09-29 Jackson Harper <[email protected]>
  1119. * MdiClient.cs: Repaint the titlebars when the active window is
  1120. changed.
  1121. 2006-09-29 Chris Toshok <[email protected]>
  1122. * Application.cs: when entering a runloop with a modal, make sure
  1123. the hwnd is enabled. Fixes #79480.
  1124. 2006-09-29 Chris Toshok <[email protected]>
  1125. * DataGrid.cs (CurrentCell): if we try to navigate to the add row
  1126. when ListManager.CanAddRows == false, bump us back one.
  1127. * DataGridColumnStyle.cs (ParentReadOnly): remove the
  1128. listmanager.CanAddRows check. This makes ArrayLists uneditable
  1129. using a datagrid, which is not right.
  1130. (SetColumnValueAtRow): call IEditable.BeginEdit if source[rowNum]
  1131. is an IEditable, but call property_descriptor.SetValue regardless.
  1132. fixes #79435.
  1133. 2006-09-29 Chris Toshok <[email protected]>
  1134. * DataGridBoolColumn.cs: we need to test equality in the face of
  1135. possible null values (as is the case with the default NullValue).
  1136. This patch keeps us from crashing in that case.
  1137. 2006-09-29 Jackson Harper <[email protected]>
  1138. * TreeNodeCollection.cs: Don't do a recalculate/updatescrollbars
  1139. here, since it will get called for every node collection in the
  1140. tree. This is now done in the treeview once the sorting is
  1141. finished.
  1142. * TreeView.cs: Recalculate the visible order, and update the
  1143. scrollbars after sorting, set the top nope to the root so that the
  1144. recalc actually works.
  1145. 2006-09-29 Chris Toshok <[email protected]>
  1146. * LinkLabel.cs: more handling of the default link collection in
  1147. the face of LinkArea manipulation. The default link collection
  1148. contains 1 element (start=0,length=-1). If the user sets LinkArea
  1149. to anything and the links collection is the default, clear it.
  1150. Then only add the link if its nonempty. Fixes #79518.
  1151. 2006-09-29 Chris Toshok <[email protected]>
  1152. * LinkLabel.cs (CreatePiecesFromText): calculate the length of a
  1153. piece correctly when we hit a '\n'. Fixes #79517.
  1154. 2006-09-29 Chris Toshok <[email protected]>
  1155. * MimeIcon.cs, ThemeGtk.cs, X11DesktopColors.cs, XplatUIX11GTK.cs:
  1156. change the binding of gdk_init_check to take two IntPtr's, and
  1157. pass IntPtr.Zero for both of them. Fixes #79520.
  1158. 2006-09-29 Mike Kestner <[email protected]>
  1159. * ComboBox.cs : raise TextChanged on ComboTextBox.TextChanged.
  1160. [Fixes #78779]
  1161. 2006-09-28 Jackson Harper <[email protected]>
  1162. * XplatUIX11.cs: When translating NC messages make sure we go from
  1163. whole window to screen, not client window to screen.
  1164. * MdiClient.cs: Remove the calls to PaintWindowDecorations, this
  1165. method doesn't exist
  1166. - Skip over controls that aren't forms when arranging.
  1167. 2006-09-28 Jackson Harper <[email protected]>
  1168. * XplatUIWin32.cs: Clip the rect to the parent window.
  1169. * XplatUIStructs.cs: Add clipping modes struct.
  1170. * InternalWindowManager.cs: New private method that factors title
  1171. bar heights in when calculating the pos of an NC mouse message.
  1172. - Use SendMessage to force a paint when the form's size is changed
  1173. instead of painting the decorations immediately.
  1174. - Don't let the NC button click messages get to DefWndProc,
  1175. because they will attempt to handle windowing themself, and this
  1176. messes up z-order (it will put them in front of the scrollbars).
  1177. * XplatUIX11.cs: Make sure that we don't reset window managers if
  1178. we already have one (ie the window is an MDI window).
  1179. 2006-09-28 Chris Toshok <[email protected]>
  1180. * MainMenu.cs: fix #79405 by way of a disgusting hack. all the
  1181. menu code really needs going over.
  1182. 2006-09-27 Chris Toshok <[email protected]>
  1183. * XplatUIX11.cs (SetWMStyles): more metacity wonderment. turns
  1184. out metacity ignores the MAXIMIZE_HORZ/VERT messages unless the
  1185. window is maximizable. So, we need to make sure that even if we
  1186. clear the border/wm frame of those functions, they're still
  1187. available (basically, we remove the decoration without removing
  1188. the function). Half the fix for #79338.
  1189. 2006-09-27 Chris Toshok <[email protected]>
  1190. * DataGrid.cs (ProcessGridKey): implement Shift-Tab handling.
  1191. Fixes bug #79515.
  1192. 2006-09-27 Chris Toshok <[email protected]>
  1193. * Splitter.cs: reorder things a bit so that we don't actually
  1194. draw/move the splitter until after calling OnSplitterMoving. This
  1195. lets users cancel/disallow the movement by explicitly setting
  1196. event.SplitX/SplitY. Fixes #79372.
  1197. 2006-09-27 Jackson Harper <[email protected]>
  1198. * XplatUIX11.cs: Don't hide the caret when it is being destroyed,
  1199. because it is most likely on a window being destroyed, and that
  1200. will give us an X11 error.
  1201. 2006-09-27 Chris Toshok <[email protected]>
  1202. * PropertyGridView.cs: half of the fix for #78190. Clicking on
  1203. the dropdown button now toggles between showing and hiding the
  1204. dropdown. Also, get rid of dropdown_form_showing and just use
  1205. dropdown_form.Visible. We still don't do a grab, but I'll leave
  1206. that part to someone who has handled Capture-fu before.
  1207. 2006-09-27 Chris Toshok <[email protected]>
  1208. * DataGrid.cs: return false if alt isn't pressed when '0' is
  1209. pressed. this keeps the '0' key from being swallowed, and fixes
  1210. bug #79350.
  1211. 2006-09-27 Chris Toshok <[email protected]>
  1212. * ComboBox.cs: use Invalidate when scrolling the dropdown list.
  1213. Calling Refresh (in response to a scrollbar event) screws up the
  1214. scrollbar painting. Fixes bug #78923.
  1215. 2006-09-27 Chris Toshok <[email protected]>
  1216. * Theme.cs (SystemResPool): make the "if hashtable[key] == null
  1217. then insert into hashtable" blocks threadsafe.
  1218. 2006-09-27 Chris Toshok <[email protected]>
  1219. * MessageBox.cs (CreateParams): the styles should be |'ed with our
  1220. baseclass's, since otherwise the
  1221. ControlBox/MinimizeBox/MaximizeBox assignments above have no
  1222. effect. This gets the close button back in messageboxes.
  1223. 2006-09-27 Chris Toshok <[email protected]>
  1224. * XplatUIX11.cs: make StyleSet and ExStyleSet check == with the
  1225. flag, not just != 0. this makes flags that are actually multiple
  1226. bits (like WS_CAPTION) work. fixes bug #79508.
  1227. 2006-09-27 Jordi Mas i Hernandez <[email protected]>
  1228. * PageSetupDialog.cs: add support for getting and settings the
  1229. paper size, source and orientation.
  1230. 2006-09-26 Chris Toshok <[email protected]>
  1231. * XplatUIX11.cs (SetWMStyles): turns out when SYSMENU is not set
  1232. and caption == "", we need to remove the resize handles as well as
  1233. the title bar.
  1234. * Control.cs (set_Text): turns out that setting Text on a form
  1235. should change the WM styles on the window, since if ControlBox ==
  1236. false, the only way to get a window border is to have a non-""
  1237. Text property. check winforms/forms/text.cs for an example. so,
  1238. call both XplatUI.SetWindowStyle and XplatUI.Text here to properly
  1239. update both window styles and title. This fixes a lot of dialogs
  1240. (including the preferences dialog in MonoCalendar.)
  1241. 2006-09-26 Chris Toshok <[email protected]>
  1242. * XplatUIWin32.cs (SetParent): if parent == IntPtr.Zero (and the
  1243. control isn't a Form), call Win32ShowWindow to hide the window,
  1244. but don't update the control Visible property. When we reparent
  1245. back to a parent control, call SetVisible in order for the
  1246. window's visibility to be reinstated.
  1247. * XplatUIX11.cs (SetParent): if hwnd.parent == null, reparent to
  1248. the FosterParent.
  1249. * Control.cs (ControlCollection.Remove): remove that value.Hide()
  1250. call for good, since it breaks MonoCalendar (and other things I'm
  1251. sure.) Also, set all_controls to null *after* the owner calls,
  1252. which end up regenerating it.
  1253. (ChangeParent): allow new_parent to be == null, passing
  1254. IntPtr.Zero down to XplatUI.
  1255. this fixes #79294 the right way.
  1256. 2006-09-26 Mike Kestner <[email protected]>
  1257. * GridEntry.cs : internal SetParent method.
  1258. * PropertyGrid.cs : attach to property changed on the proper
  1259. target if we have a hierarchical grid with subobjects. Setup
  1260. GridItem.Parent for hierarchical items.
  1261. * PropertyGridView.cs : Set value on the correct target for
  1262. hierarchical grids. [Fixes #78903]
  1263. 2006-09-26 Chris Toshok <[email protected]>
  1264. * Control.cs (ChildNeedsRecreating): this should return true if
  1265. either we're being recreated and the child is in our list, or our
  1266. parent is waiting for our recreation.
  1267. 2006-09-26 Chris Toshok <[email protected]>
  1268. * Control.cs (ControlCollection.Remove): reinstate the
  1269. value.Hide() call as suggested in bug #79294.
  1270. 2006-09-26 Sebastien Pouliot <[email protected]>
  1271. * XplatUIX11.cs: Fixed SetCursorPos to move the cursor to screen
  1272. coordinates (versus a relative move).
  1273. 2006-09-26 Chris Toshok <[email protected]>
  1274. * Control.cs: rework child recreation a little bit. It turns out
  1275. that we race between the DestroyNotify the WM_DESTROY message. If
  1276. the parent gets its DestroyNotify before the child gets the
  1277. WM_DESTROY message, the child ends up not recreating (since the
  1278. parent finishes its recreation on DestroyNotify, and the child
  1279. checks ParentIsRecreating.)
  1280. So, instead we store off a list of all the child controls which
  1281. need to be recreated when the parent control starts to recreate
  1282. itself. Then, when child controls get their WM_DESTROY message we
  1283. check to see if they're in the parent's pending recreation list,
  1284. and if so, we recreate. This removes all dependency on ordering
  1285. from the code and fixes the initial MonoCalendar upgrade dialog.
  1286. 2006-09-26 Jackson Harper <[email protected]>
  1287. * TextControl.cs: Use the Line to get the length of the line,
  1288. since soft line breaks can change the end line.
  1289. 2006-09-26 Chris Toshok <[email protected]>
  1290. * Control.cs (ControlCollection.AddImplicit): don't add the
  1291. control again if it's already in one of our lists. This keeps us
  1292. from adding controls over and over again for comboboxes when their
  1293. handle gets recreated (as the combobox adds implicit controls in
  1294. OnHandleCreated). Fixes the X11 errors in bug #79480.
  1295. 2006-09-26 Jackson Harper <[email protected]>
  1296. * TextControl.cs: When deleting characters make sure that any
  1297. orphaned zero lengthed tags get deleted.
  1298. - Fix ToString for zero lengthed tags.
  1299. 2006-09-25 Jackson Harper <[email protected]>
  1300. * TextControl.cs: When getting a tag at the location there can be
  1301. multiple tags at the same spot, these are 0-lengthed tags that
  1302. appear when extra formatting has been stuck in a location. We
  1303. need to pull out the last of these 0 lengthed tags.
  1304. 2006-09-25 Jackson Harper <[email protected]>
  1305. * TextControl.cs: Fix print out in debug method.
  1306. * TextBoxBase.cs: When text is set bail if we are setting to the
  1307. previous value.
  1308. 2006-09-24 Alexander Olk <[email protected]>
  1309. * FontDialog.cs: Fixed the up/down arrow keys issue from bug #79478.
  1310. It is now possible to change the selected index in a FontXXXListBox
  1311. with the up and down arrow keys from the FontXXXTextBoxes.
  1312. Also, send the FontXXXTextBox mouse wheel event to the corresponding
  1313. FontXXXListBoxes to match ms.
  1314. 2006-09-22 Sebastien Pouliot <[email protected]>
  1315. * SystemInformation.cs: Return a clone of the theme's MenuFont because
  1316. anyone can dispose it, anytime. All other properties returns enums,
  1317. structs or basic types so they don't need such tricks.
  1318. 2006-09-22 Jackson Harper <[email protected]>
  1319. * XplatUI.cs:
  1320. * XplatUIWin32.cs:
  1321. * Clipboard.cs:
  1322. * DataFormats.cs:
  1323. * XplatUIOSX.cs:
  1324. * XplatUIDriver.cs: Update interface to add a primary selection
  1325. flag, so the driver can use the primary selection buffer if
  1326. needed.
  1327. * XplatUIX11.cs: Allow the clipboard to retrieve from PRIMARY.
  1328. * RichTextBox.cs: We need to supply the data object to paste now
  1329. (so we can choose to supply CLIPBOARD or PRIMARY).
  1330. * TextBoxBase.cs: Supply data object to paste (see above).
  1331. - Middle click uses the primary selection data object.
  1332. 2006-09-21 Chris Toshok <[email protected]>
  1333. * XplatUIX11.cs: first little cleanup of the StyleSet (...) block
  1334. of SetWMStyles. It's still a rat's nest and is largely
  1335. order-dependent which I dislike immensely. This also fixes the X
  1336. button disappearing from toplevel forms.
  1337. 2006-09-21 Mike Kestner <[email protected]>
  1338. * ListBox.cs: move Jordi's click/dblclick raising code to the
  1339. mouse up handler.
  1340. 2006-09-21 Jordi Mas i Hernandez <[email protected]>
  1341. * ListBox.cs: Fixes 79450
  1342. 2006-09-21 Mike Kestner <[email protected]>
  1343. * TreeView.cs: guard against disposed conditions in UpdateScrollbars
  1344. to deal with people updating the TreeNodeCollection after the tree
  1345. is disposed. "Fixes" 79330.
  1346. 2006-09-20 Jackson Harper <[email protected]>
  1347. * TextControl.cs: Push the cursor record onto the undo stack
  1348. before the delete action. This fixes 78651.
  1349. 2006-09-20 Jonathan Chambers <[email protected]>
  1350. * PropertyGridView.cs: Remove WindowStyles.WS_VISIBLE from
  1351. CreateParams. Fixes 79329.
  1352. 2006-09-19 Chris Toshok <[email protected]>
  1353. * XplatUIX11.cs: a couple of blanket code massage passes to clean
  1354. things up a bit. First, get rid of the NetAtoms array (and the NA
  1355. enum), and just embed the atoms as static fields. Also, add a
  1356. couple of functions (StyleSet and ExStyleSet) to clean up all the
  1357. bitmask testing of styles.
  1358. * X11Structs.cs: remove the NA enum, not needed anymore.
  1359. 2006-09-19 Chris Toshok <[email protected]>
  1360. * XplatUIX11.cs: apply Alexander's tool window fix for bug #79245
  1361. (mapping them to _NET_WM_WINDOW_TYPE_UTILITY). and add a little
  1362. added cleanup to get MessageBox titles appearing again, which were
  1363. broken by my earlier fix for caption-less/ControlBox-less windows.
  1364. 2006-09-18 Jonathan Pobst <[email protected]>
  1365. * ToolStripArrowRenderEventArgs.cs, ToolStripArrowRenderEventHandler.cs,
  1366. ToolStripContentPanelRenderEventArgs.cs, ToolStripContentPanelRenderEventHandler.cs,
  1367. ToolStripGripRenderEventArgs.cs, ToolStripGripRenderEventHandler.cs,
  1368. ToolStripItemClickedEventArgs.cs, ToolStripItemClickedEventHandler.cs,
  1369. ToolStripItemEventArgs.cs, ToolStripItemEventHandler.cs,
  1370. ToolStripItemImageRenderEventArgs.cs, ToolStripItemImageRenderEventHandler.cs,
  1371. ToolStripItemRenderEventArgs.cs, ToolStripItemRenderEventHandler.cs,
  1372. ToolStripItemTextRenderEventArgs.cs, ToolStripItemTextRenderEventHandler.cs,
  1373. ToolStripPanelRenderEventArgs.cs, ToolStripPanelRenderEventHandler.cs,
  1374. ToolStripRenderEventArgs.cs, ToolStripRenderEventHandler.cs,
  1375. ToolStripSeparatorRenderEventArgs.cs, ToolStripSeparatorRenderEventHandler.cs:
  1376. Inital import.
  1377. * ToolStripPanel.cs, ToolStripContentPanel.cs, ToolStripSeparator.cs,
  1378. ToolStripButton.cs: Stubs needed for above.
  1379. * ToolStrip.cs, ToolStripItem.cs: Stub a few variables/properties for above.
  1380. 2006-09-15 Chris Toshok <[email protected]>
  1381. * XplatUIX11.cs:
  1382. - make the MessageQueues hashtable Synchronized.
  1383. - SendMessage: if the Hwnd is owned by a different thread, use the
  1384. AsyncMethod stuff to dispatch the SendMessage on the hwnd's
  1385. thread. Fixes bug #79201.
  1386. 2006-09-15 Chris Toshok <[email protected]>
  1387. * XplatUIX11.cs (SetWMStyles): rework the #79368 fix slightly. If
  1388. ControlBox == false, we disallow maximize/minimize/close. If the
  1389. form Caption is "" we also disallow move (and get rid of the Title
  1390. decoration). Unfortunately, regardless of how things are set,
  1391. we're stuck with the Title and WM menu.
  1392. 2006-09-15 Chris Toshok <[email protected]>
  1393. * Application.cs: add locking around the static message_filters
  1394. ArrayList, part of #79196.
  1395. 2006-09-15 Chris Toshok <[email protected]>
  1396. * XplatUIX11.cs (SetWMStyles): if Form.Text == "" and
  1397. Form.ControlBox == false, the window has no titlebar nor resize
  1398. handles. fixes bug #79368.
  1399. 2006-09-15 Chris Toshok <[email protected]>
  1400. * TextBoxBase.cs: in CalculateScrollBars make sure LargeChange is
  1401. >= 0. Fixes bug #79370.
  1402. 2006-09-15 Jonathan Pobst <[email protected]>
  1403. * FlowLayoutPanel.cs, FlowLayoutSettings.cs: Initial commit.
  1404. * Control.cs:
  1405. Add properties: LayoutEngine, Margin, DefaultMargin.
  1406. Add method: GetPreferredSize.
  1407. Move layout logic from PerformLayout to layout engines.
  1408. 2006-09-13 Chris Toshok <[email protected]>
  1409. * XplatUIX11.cs: more destroy work. Jackson pointed out that my
  1410. fix for #79326 broke #78718, so this change addresses that.
  1411. - in SendWMDestroyMessages remove the call to
  1412. CleanupCachedWindows, since we might be recreating the control and
  1413. need to maintain the references to right Hwnd handles. Also, set
  1414. the zombie flag to true for each of the children in the hierarchy
  1415. instead of calling hwnd.Dispose. This will cause GetMessage to
  1416. ignore all events for the window except for DestroyNotify.
  1417. - In GetMessage, ignore messages except for DestroyNotify for
  1418. zombie hwnds.
  1419. * Control.cs: revert the is_recreating fix from the last
  1420. ChangeLog. It's definitely "right", but it breaks switching from
  1421. an MDI form to a non-MDI form. Will need to revisit that.
  1422. * Hwnd.cs: add a zombie flag, which means "the
  1423. client_window/whole_window handles are invalid, but we're waiting
  1424. for the DestroyNotify event to come in for them". Set the flag to
  1425. false explicitly if setting WholeWindow/ClientWindow, and also
  1426. when Disposing.
  1427. 2006-09-13 Chris Toshok <[email protected]>
  1428. * XplatUIX11.cs: rework window destruction slightly.
  1429. - when destroying the windows associated with a control, we don't
  1430. need 2 separate XDestroyWindow calls. Just the one for the
  1431. whole_window (or for client_window if whole_window is somehow
  1432. IntPtr.Zero -- can this happen?) is enough.
  1433. - reworked SendWMDestroyMessages slightly, so we always dispose
  1434. the child control hwnd's after sending the messages.
  1435. - refactored out the ActiveWindow/FocusWindow/Caret clearing from
  1436. the two places it was used (one was even using hwnd.Handle and the
  1437. other hwnd.client_window. ugh), adding another call in
  1438. SendWMDestroyMessages. We need this new call because now the
  1439. DestroyNotify events in the queue will be ignored for the child
  1440. controls (as their hwnd's were disposed, and the window id's
  1441. removed from the hashtable in SendWMDestroyMessages.) fun, eh?
  1442. - this fixes bug #79326.
  1443. 2006-09-13 Chris Toshok <[email protected]>
  1444. * Control.cs: don't always set is_recreating to false at the end
  1445. of RecreateHandle, since sometimes we're not done (and won't be
  1446. until WndProc handles the WM_DESTROY message). Also, set
  1447. is_recreating to false in the WM_DESTROY handling code. Part of
  1448. the fix for bug #79326.
  1449. 2006-09-13 Miguel de Icaza <[email protected]>
  1450. * X11DesktopColors.cs: Start the droppage of debugging messages.
  1451. * FileDialog.cs: Store the configuration file in ~/.mono/mwf_config
  1452. 2006-09-13 Jonathan Pobst <[email protected]>
  1453. * SplitContainer.cs, SplitterPanel.cs: Initial implementation [2.0].
  1454. 2006-09-12 Chris Toshok <[email protected]>
  1455. * DataGrid.cs (get_ListManager): if the list_manager is null, try
  1456. to create it using SetDataSource. Fixes bug #79151.
  1457. 2006-09-11 Chris Toshok <[email protected]>
  1458. * XEventQueue.cs: add a DispatchIdle property.
  1459. * XplatUIX11.cs (UpdateMessageQueue): only emit the Idle event if
  1460. either the queue is null, or the queue has DispatchIdle set to
  1461. true.
  1462. (DoEvents): set queue.DispatchIdle to false around the
  1463. peek/translate/dispatch message loop in this method. This keeps
  1464. Application.Doevents from emitting idle events. Part of the fix
  1465. for #78823.
  1466. 2006-09-11 Chris Toshok <[email protected]>
  1467. * DataGrid.cs (set_DataSource): make this work for both the
  1468. winforms/datagrid test and ReportBuilder. It seems as though when
  1469. we've created a ListManager (or maybe it's if we have a
  1470. BindingContext?), when we set the DataSource it clears the
  1471. DataMember to "". otherwise we reuse the datamember. Fixes bug
  1472. #79333.
  1473. 2006-09-11 Chris Toshok <[email protected]>
  1474. * XplatUIX11.cs: deal with queue being null, which happens in all
  1475. the Clipboard functions. Fixes one of the two problems mentioned
  1476. in #78612.
  1477. 2006-09-11 Chris Toshok <[email protected]>
  1478. * MenuAPI.cs: rework OnMouseUp a bit so that releasing the mouse
  1479. button on various spots (including outside the menu) works closer
  1480. to MS, and doesn't crash. Fixes #79343.
  1481. 2006-09-11 Gert Driesen <[email protected]>
  1482. * ListView.cs: Do not initialize item_sorter in init. To match MS,
  1483. return null for ListViewItemSorter if View is SmallIcon or LargeIcon
  1484. and the internal comparer is set. When a new ListViewItemSorter is set,
  1485. sort the items. Use Enum.IsDefined to verify whether a valid SortOrder
  1486. was specified. No further processing is necessary if SortOrder is set
  1487. to it's current value. If Sorting is modified to None, and View is
  1488. neither SmallIcon nor LargeIcon then: on 2.0 profile set item_sorter
  1489. (either custom or our internal ItemComparer) to null, on 1.0 profile
  1490. only set item_sorter to null if its our internal IComparer. If Sorting
  1491. is modified to Ascending or Descending, then use our internal IComparer
  1492. if none is set, and if the current IComparer is our internal one then:
  1493. on 2.0 profile always replace it with one for new Sorting, and on 1.0
  1494. profile only use new Sorting if view is not SmallIcon or LargeIcon. Use
  1495. Enum.IsDefined to verify whether a valid View value is specified in
  1496. its setter. Automatically sort listview items when listview is
  1497. created. In Sort, do nothing if ListView is not yet created, or if
  1498. no item_sorter is set (no Sorting was set, Sorting was explicitly set
  1499. to None or ListViewItemSorter was set to null). Added Sort overload
  1500. taking a bool to indicate whether the ListView should be redrawn when
  1501. items are sorted (we use this in ListViewItemCollection to avoid double
  1502. redraws). Modified our internal IComparer to take the sort order into
  1503. account. In Add and AddRange methods of ListViewItemCollection, also
  1504. call Sort if Sorting is None (necessary for SmallIcon and LargeIcon
  1505. view), but use overload with noredraw option to avoid double redraw.
  1506. On 2.0 profile, throw NotSupportedException when setting CheckBoxes to
  1507. true when View is Tile, and do the same when attempting to set View to
  1508. Tile when CheckBoxes is true. Avoid maintaining separate ArrayLists
  1509. for selected/checked indices, as it involves overhead when sorting is
  1510. done while these collections are not used all that often. Instead
  1511. we'll build the indices on demand. Modified IList implementation of
  1512. CheckedIndexCollection to use public methods if object is int.
  1513. Modified CheckedListViewItemCollection to hide checked items if
  1514. ListView.CheckBoxes is false. Removed LAMESPEC remark in
  1515. ListViewItemCollection as the .NET SDK docs have been fixed. Modified
  1516. IList implementation in SelectedIndexCollection to use public methods
  1517. if object is int. Modified SelectedListViewItemCollection to hide
  1518. selected items if listview is not yet created.
  1519. * ListViewItem.cs: CheckedIndices list no longer needs to be
  1520. maintained separately (see ListView changes). Also clone font, fixes
  1521. test failure.
  1522. 2006-09-11 Mike Kestner <[email protected]>
  1523. * ComboBox.cs: if we are updating the contents of the currently
  1524. selected index, refresh the control or the textbox selection.
  1525. [Fixes #79066]
  1526. 2006-09-11 Mike Kestner <[email protected]>
  1527. * ComboBox.cs (UpdateBounds): use SetBounds not SetBoundsCore since
  1528. the 'specified' logic has been moved there. This seems like a bug
  1529. in Control.cs, since our current SetBoundsCore completely ignores
  1530. the specified parameter. Peter's commit seems to indicate that is
  1531. the way the MS control implementation works. [Fixes #79325]
  1532. 2006-09-10 Jonathan Chambers <[email protected]>
  1533. * XplatUI.cs: Set default_class_name to be composed
  1534. of current domain id. This allows MWF to be loaded in multiple
  1535. domains on Win32.
  1536. 2006-09-09 Miguel de Icaza <[email protected]>
  1537. * X11Keyboard.cs: If we are unable to obtain the input method, do
  1538. not call CreateXic to create the input context. Should fix
  1539. #78944/79276.
  1540. 2006-09-08 Alexander Olk <[email protected]>
  1541. * MimeIcon.cs: Rewrote major parts. Dropped KDE support for now.
  1542. Simplified gnome support by adding more pinvokes to get the
  1543. icon for a file or mime type.
  1544. 2006-09-08 Jackson Harper <[email protected]>
  1545. * MenuAPI.cs: Deslect popup context menu items before closing the
  1546. window, so that you don't see the previously selected item
  1547. selected when you reopen the menu.
  1548. * TextControl.cs: Update the cursor position even if we don't have
  1549. focus. This fixes typing in things like the ComboBox. I'm not
  1550. totally sure we should always set the visibility if we don't have
  1551. focus, but couldn't find any corner cases where the cursor showed
  1552. up when it shouldn't.
  1553. 2006-09-08 Chris Toshok <[email protected]>
  1554. * X11Keyboard.cs: In UpdateKeyState vkey can be any integer, but
  1555. our arrays are length 256. & 0xff before indexing. Fixes the
  1556. crash in bug #78077.
  1557. 2006-09-08 Carlos Alberto Cortez <[email protected]>
  1558. * ThemeWin32Classic.cs:
  1559. * DateTimePicker.cs: Draw check box if DateTimePicker.ShowCheckBox
  1560. is true. Handle that check box too.
  1561. 2006-09-07 Chris Toshok <[email protected]>
  1562. * MenuAPI.cs: move the PerformClick call to OnMouseUp. Fixes bug
  1563. 79244.
  1564. 2006-09-07 Chris Toshok <[email protected]>
  1565. * Control.cs: in set_BackColor only do the work if
  1566. background_color != value.
  1567. * XplatUIX11.cs: move the clearing of invalid areas (both client
  1568. and nc) to the same block of code where we set (nc_)expose_pending
  1569. to false. That is, move it from PaintEventEnd to PaintEventStart,
  1570. so things that cause invalidates from within OnPaint will trigger
  1571. another call to OnPaint. Fixes bug #79262.
  1572. 2006-09-07 Alexander Olk <[email protected]>
  1573. * Theme.cs: Use correct icon for UIIcon.PlacesPersonal
  1574. * FileDialog.cs: Fix typo
  1575. 2006-09-07 Jackson Harper <[email protected]>
  1576. * ThemeWin32Classic.cs: oops, forgot to commit. Draw the images
  1577. for tab pages if they have any.
  1578. 2006-09-06 Mike Kestner <[email protected]>
  1579. * Splitter.cs: use the "current" rect when finishing drag handle
  1580. to avoid an artifact demonstrated by resedit.exe. [Fixes #79251]
  1581. 2006-09-06 Mike Kestner <[email protected]>
  1582. * Splitter.cs: draw the drag handle at X or Y instead of 0 to deal
  1583. support offset splitters. [Fixes #79298]
  1584. 2006-09-06 Alexander Olk <[email protected]>
  1585. * Mime.cs: Fixed a bug that could override the global mime type
  1586. result.
  1587. 2006-09-05 Jackson Harper <[email protected]>
  1588. * TabControl.cs: Better calculation method for setting the slider
  1589. pos. Prevents crashes on really wide tabs.
  1590. - Draw Image on tab pages if an image list is used.
  1591. 2006-09-02 Carlos Alberto Cortez <[email protected]>
  1592. * MonthCalendar.cs: When Font changes, the Size should be
  1593. updated to fit the new font's space requirements.
  1594. 2006-09-02 Alexander Olk <[email protected]>
  1595. * ListBox.cs: If the items are cleared with Items.Clear set
  1596. top_index to 0.
  1597. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  1598. * MonthCalendar.cs: Handle arrow keys as input keys. Also
  1599. fire DateChanged event instead of DateSelected event when
  1600. the date was changed by keyboard interaction.
  1601. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  1602. * DateTimePicker.cs: Handle DateChanged for the associated
  1603. month_calendar control, and set month_calendar.Font from
  1604. OnFontChanged method, as well as resize the height of the
  1605. control when needed. Make PreferredHeight proportional.
  1606. 2006-09-01 Chris Toshok <[email protected]>
  1607. * DataGrid.cs: grr, stop overthinking the DataMember/DataSource
  1608. properties.
  1609. * BindingContext.cs (HashKey.GetHashCode): use ^ instead of +.
  1610. 2006-09-01 Peter Dennis Bartok <[email protected]>
  1611. * FileDialog.cs: Set ClientSize instead of window size, to allow space
  1612. for decorations (Fixes #79219)
  1613. 2006-09-01 Mike Kestner <[email protected]>
  1614. * ComboBox.cs: first stab at sorting plus some selection handling
  1615. fixes to bring us more in line with MS behavior. Also switches back
  1616. to index based selection. Alternative patches for index-based
  1617. selection were provided by Jackson Harper, Carlos Alberto Cortez,
  1618. and [email protected] on bug 78848. I assume they were similar to this
  1619. code I've had simmering in my tree forever.
  1620. [Fixes #78848]
  1621. 2006-09-01 Chris Toshok <[email protected]>
  1622. * CurrencyManager.cs (ListChangedHandler): in the ItemAdded case,
  1623. when setting list position guard against ending up with a -1 index
  1624. (the other part of the fix for #78812). Should probably make sure
  1625. we don't need the analogous fix in the ItemDeleted case.
  1626. * DataGrid.cs:
  1627. - in SetDataSource, work around the fact that the way
  1628. OnBindingContextChanged is invoked will cause us to re-enter this
  1629. method. I'll remove the hack once I investigate
  1630. OnBindingContextChanged.
  1631. - fix the logic in set_DataSource and set_DataMember (basically
  1632. what to do if the other of the two is null.)
  1633. - in OnListManagerItemChanged, we need to take into account the
  1634. edit row when deciding whether or not to call RecreateDataGridRows
  1635. (part of the fix for #78812).
  1636. 2006-09-01 Jackson Harper <[email protected]>
  1637. * Splitter.cs: Don't do anything if there is no control to affect
  1638. (prevents us from crashing in weird tet cases).
  1639. * TreeView.cs: Bounding box for the mouse movement reverting
  1640. focus/selection back to previously selected node. This matches
  1641. MS, and makes the tree a lot more useable.
  1642. * GroupBox.cs: Instead of drawing over the lines of the groupbox,
  1643. use clipping so they are not drawn. This fixes when the control
  1644. is set to have a transparent background, or if it was over an
  1645. image.
  1646. 2006-09-01 Alexander Olk <[email protected]>
  1647. * MimeIcon.cs: Improved handling for reading default icons when
  1648. using gnome (2.16 made it necessary). Check and read svg icons
  1649. first, then 48x48 and then 32x32 icons.
  1650. 2006-08-31 Chris Toshok <[email protected]>
  1651. * DataGridTextBoxColumn.cs: only hide the textbox if it's still
  1652. visible.
  1653. * DataGridTextBox.cs: Pass Tab's up to the datagrid by calling
  1654. ProcessKeyPreview. Fixes part of #77806.
  1655. * DataGrid.cs: big patch.
  1656. - revert the queueing up of DataSource/DataMember if inside
  1657. BeginInit/EndInit calls. That's not the way the datagrid achieves
  1658. its delayed databinding. Instead, call SetDataSource in
  1659. OnBindingContextChanged. This mimic's MS's behavior, and fixes
  1660. #78811.
  1661. - Also, it wasn't mentioned in #78811, but the test case exhibits
  1662. behavior that was lacking in our datagrid implementation - Columns
  1663. that have mapping names that don't exist in the datasource's
  1664. properties aren't shown. Yuck. To fix this I added the bound
  1665. field to the column style, and basically any calculation to figure
  1666. out anything about columns uses a loop to find the bound columns.
  1667. still need to investigate if I can cache an array of the bound
  1668. columns or if the indices must be the same.
  1669. - When setting CurrentCell, we no longer abort if the cell being
  1670. edited was in the add row. This fixes the other part of #77806.
  1671. - The new code also fixes #78807.
  1672. * ThemeWin32Classic.cs: perpetrate the same disgusting
  1673. column.bound field hack, and only render bound fields.
  1674. 2006-08-31 Chris Toshok <[email protected]>
  1675. * DataGridColumnStyle.cs: add bound field. this field is true if
  1676. the datasource has a property corresponding to the mapping name.
  1677. * DataGridTableStyle.cs: set the bound field on the column styles
  1678. depending on whether or not we have a column for that property.
  1679. 2006-08-31 Peter Dennis Bartok <[email protected]>
  1680. * Splitter.cs (SetBoundsCore): Don't ignore width/height of the
  1681. splitter control (fixes #79228)
  1682. 2006-08-31 Chris Toshok <[email protected]>
  1683. * DataGridColumnStyle.cs: we need to delay the assignment of
  1684. property descriptor until the last possible moment due to the lazy
  1685. databinding stuff in the datagrid. Also, fix the exceptions
  1686. thrown by CheckValidDataSource to match MS.
  1687. 2006-08-31 Jackson Harper <[email protected]>
  1688. * Form.cs: When activated select the active control, if there is
  1689. no active control, we select the first control.
  1690. * XplatUIX11.cs: If there is no focus control when we get a
  1691. FocusIn event, find the toplevel form and activate it. This
  1692. occurs when you popup a window, it becomes the focus window, then
  1693. you close that window, giving focus back to the main window.
  1694. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  1695. * MonthCalendar.cs:
  1696. * ThemeWin32Classic.cs: Cache Font in bold style, as well
  1697. as StringFormat with Center alignments in MonthCalendar,
  1698. instead of creating new ones when drawing the control.
  1699. Also, draw the month name in bold style.
  1700. 2006-08-30 Peter Dennis Bartok <[email protected]>
  1701. * Control.cs:
  1702. - PerformLayout(): It would seem MS performs the fill even if the
  1703. control is not visible (part of #79218 fix)
  1704. - ResetBackColor(): Use the setter to reset the color, to allow
  1705. overriders to catch the change.
  1706. * Form.cs:
  1707. - .ctor: Call UpdateBounds to adjust client rectangle (part of #79218 fix)
  1708. - CreateHandle(): dito (part of $79218 fix)
  1709. - Don't set an icon if we have a dialog
  1710. * ScrollableControl.cs:
  1711. - set_AutoScrollMinSize: Setting the property enables AutoScroll (#79218)
  1712. - ScrollIntoView(): No need to scroll if control is already visible
  1713. (resolves fixme and fixes #79218)
  1714. 2006-08-30 Carlos Alberto Cortez <[email protected]>
  1715. * MonthCalendar.cs: Change proportions in SingleMonthSize
  1716. to match the aspect of the original control.
  1717. 2006-08-29 Alexander Olk <[email protected]>
  1718. * XplatUIX11.cs: Fix for a metacity/X problem where windows don't
  1719. get updated when they get maximized.
  1720. 2006-08-29 Peter Dennis Bartok <[email protected]>
  1721. * XplatUIX11.cs: Handle windows with no border (Fixes part of #79160)
  1722. 2006-08-29 Chris Toshok <[email protected]>
  1723. * XplatUIX11.cs: when destroying the FocusWindow, send KILLFOCUS.
  1724. 2006-08-29 Jackson Harper <[email protected]>
  1725. * TreeView.cs: Need to track selected node and highlighted node,
  1726. they aren't always the same thing, when the mouse is down on a
  1727. node it is hilighted, but not selected yet.
  1728. - Do the HideSelection stuff right
  1729. - Need to focus on rbutton mouse down. And redraw selection when
  1730. right click is mouse upped.
  1731. 2006-08-29 Mike Kestner <[email protected]>
  1732. * ThemeWin32Classic.cs: draw selections for columns in FullRowSelect
  1733. when SubItems.Count < Columns.Count. [Fixes #79167]
  1734. 2006-08-28 Peter Dennis Bartok <[email protected]>
  1735. * TextControl.cs (FindCursor): Fix math error (Fixes #78402)
  1736. 2006-08-28 Peter Dennis Bartok <[email protected]>
  1737. * XplatUIX11.cs: Preempt the roundtrip for getting the location back
  1738. from X. Only send based on ConfigureNotify if we don't have the
  1739. correct location in hwnd (if the window manager moved us)
  1740. 2006-08-28 Mike Kestner <[email protected]>
  1741. * ListView.cs: remove a TODO.
  1742. * ThemeWin32Classic.cs: implement HideSelection support for ListView.
  1743. [Fixes ListView part of #79166]
  1744. 2006-08-28 Mike Kestner <[email protected]>
  1745. * ListView.cs: move wheel handler to parent since it is focused
  1746. instead of the item_control now. [Fixes #79177]
  1747. 2006-08-28 Mike Kestner <[email protected]>
  1748. * ThemeWin32Classic.cs: only highlight subitems in fullrowselect
  1749. when the control is focused. [Fixes #79171]
  1750. 2006-08-28 Mike Kestner <[email protected]>
  1751. * ListView.cs: size the item and header controls for empty and
  1752. unscrollable views.
  1753. * ThemeWin32Classic.cs: draw disabled backgrounds.
  1754. [Fixes #79187]
  1755. 2006-08-28 Chris Toshok <[email protected]>
  1756. * Form.cs: remove unused "active_form" static field.
  1757. * Hwnd.cs: lock around accesses to static windows collection.
  1758. * Application.cs: lock threads in Exit ().
  1759. 2006-08-28 Chris Toshok <[email protected]>
  1760. * NativeWindow.cs: lock around accesses to window_collection.
  1761. 2006-08-28 Chris Toshok <[email protected]>
  1762. * Control.cs: err, fix this the right way, by locking on controls
  1763. when using it. not by making it synchronized.
  1764. 2006-08-28 Chris Toshok <[email protected]>
  1765. * Control.cs: make the static "controls" field synchronized, as it
  1766. gets updated from multiple threads.
  1767. 2006-08-27 Peter Dennis Bartok <[email protected]>
  1768. * XplatUIX11.cs: PostQuitMessage is thread-specific not app-specific.
  1769. Prevent other threads from exiting when calling thread sets quit state.
  1770. * XEventQueue.cs: Added PostQuitState property
  1771. 2006-08-27 Chris Toshok <[email protected]>
  1772. * AsyncMethodData.cs: add a slot for the window handle.
  1773. * XplatUIX11.cs (SendAsyncMethod): send the event to the right
  1774. window (the destination control's window, not the foster window).
  1775. * Control.cs (BeginInvokeInternal): store the window's handle in
  1776. the AsyncMethodData.
  1777. 2006-08-27 Peter Dennis Bartok <[email protected]>
  1778. * XplatUIX11.cs:
  1779. - PostQuitMessage: Removed resetting S.D display handle, we might have
  1780. another loop started after calling PostQuitMessage (Fixes #79119)
  1781. - Created destructor to reset S.D handle
  1782. 2006-08-27 Peter Dennis Bartok <[email protected]>
  1783. * XplatUIX11.cs (SetCursor): Issue flush after setting the cursor (#79168)
  1784. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1785. * TextControl.cs (Insert): Update the caret position even if we don't
  1786. have a handle yet, just don't call the driver in that case.
  1787. * TextBoxBase.cs (set_SelectedText): Set the Start and End selection
  1788. to the end of the new selection text (Fixes #79184)
  1789. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1790. * Form.cs (Activate): Only activate if the handle is created)
  1791. * Control.c:
  1792. - Mark window as invisible when it's disposed
  1793. - Check if window handle is created when setting window visible,
  1794. instead of relying just on the is_created variable
  1795. - Check if object is disposed when creating the control (Fixes #79155)
  1796. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1797. * ScrollableWindow.cs (ScrollWindow): Don't actually perform layouting
  1798. when allowing layout again. Otherwise we re-generate the anchoring
  1799. distance to the border again and actually alter what the user wanted
  1800. This is ugly, it'd be better if we used DisplayRectangle instead of
  1801. ClientRectangle for Control.UpdateDistances, but that causes us to
  1802. have other problems (initial anchoring positons would be wrong)
  1803. (Fixes #78835)
  1804. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1805. * Control.cs:
  1806. - The size and location setters shouldn't go directly to
  1807. SetBoundsCore, but to SetBounds, which triggers layout on the
  1808. parent, then calls SetBoundsCore. (Related to fix for #78835)
  1809. - SetBounds: Moved actual location update code into this function
  1810. from SetBoundsCore, to match MS. Added call to PerformLayout if
  1811. we have a parent (to trigger resizing of anchored parents if the
  1812. child size has changed (see testcase for #78835)
  1813. * ListBox.cs, Form.cs: Call SetBounds instead of SetBoundsCore to match
  1814. new control code
  1815. * ScrollableControl.cs (CalculateCanvasSize): Use shortcut variable
  1816. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1817. * XplatUIX11.cs: Don't reset the DisplayHandle that's stored in
  1818. System.Drawing when a toplevel window gets closed; there might
  1819. be other toplevel windows belonging to the same app (Fixes #78052)
  1820. 2006-08-26 Alexander Olk <[email protected]>
  1821. * FileDialog.cs: After reading FileDialog settings from mwf_config
  1822. use Desktop prefix only if a real folder doesn't exist anymore.
  1823. * FontDialog.cs: Added char sets.
  1824. It is now possible to select the font, size or style with the
  1825. textboxes.
  1826. 2006-08-25 Kornél Pál <[email protected]>
  1827. * PrintPreviewDialog.cs: Use assembly name constants.
  1828. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1829. * XplatUIWin32.cs (ScrollWindow): Use clipping rectangle arg (prevents
  1830. scrollbar from whacking it's buttons)
  1831. 2006-08-24 Chris Toshok <[email protected]>
  1832. * ScrollableControl.cs: fix #78271. There's a lot of misc stuff
  1833. in this patch (aggregating setting Left/Top/Width/Height to
  1834. setting Bounds on the scrollbars), but the crux of the fix is in
  1835. Recalculate, where we scroll by the remaining scroll_position if
  1836. we're hiding a scrollbar. The 2*$5 reward in the comment is
  1837. serious.
  1838. 2006-08-24 Jackson Harper <[email protected]>
  1839. * MdiClient.cs:
  1840. * MdiWindowManager.cs: If the form is made a non-mdi window we
  1841. need to remove the form closed event so that closing forms works
  1842. correctly.
  1843. 2006-08-24 Jackson Harper <[email protected]>
  1844. * Control.cs: Make IsRecreating internal so that the driver can
  1845. check it
  1846. - Temporarily remove the Hide when controls are removed, its
  1847. making a whole bunch of things not work because visibility isn't
  1848. getting reset elsewhere correctly
  1849. * Form.cs: Need to do a full handle recreation when the mdi parent
  1850. is set.
  1851. * XplatUIX11.cs: If we are recreating handles don't dispose the
  1852. HWNDs. What was happening is the handles were being recreated in
  1853. SendWMDestroyMessages, but then flow continued on in that method
  1854. and destroyed the new handles.
  1855. 2006-08-23 Jackson Harper <[email protected]>
  1856. * Form.cs: MdiClient is always at the back of the bus
  1857. * Control.cs: When the order of items in the collection is changed
  1858. we need to reset the all_controls array
  1859. - do the same sorta setup thats done when adding a control when a
  1860. control is set on the collection.
  1861. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1862. * TextBoxBase.cs (get_Text): Return an empty array if our document
  1863. is empty (fixes #79052)
  1864. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1865. * Control.cs: We should call IsInputChar on only on WM_CHAR but not
  1866. on WM_SYSCHAR messages (fixes #79053)
  1867. 2006-08-23 Chris Toshok <[email protected]>
  1868. * DataGrid.cs: fix flickering when scrolling vertically.
  1869. 2006-08-23 Chris Toshok <[email protected]>
  1870. * DataGrid.cs (EndEdit): only invalidate the row header when we
  1871. need to.
  1872. 2006-08-23 Chris Toshok <[email protected]>
  1873. * ThemeWin32Classic.cs: fix the clip munging of the datagrid paint
  1874. methods. fixes the flicker when scrolling around.
  1875. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1876. * FileDialog.cs: Making sure the control is created before we get a
  1877. chance to use it with BeginInvoke (Fixes #79096)
  1878. 2006-08-23 Chris Toshok <[email protected]>
  1879. * ThemeWin32Classic.cs (DataGridPaintRows): calculate the proper
  1880. width to use when painting the rows.
  1881. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1882. * TextBoxBase.cs:
  1883. - Throw ArgumentException if a negative value is passed to SelectionLength
  1884. - Update the selection end if start is moved. end needs to be always
  1885. after start. (Fixes #79095)
  1886. - Track selection length; MS keeps the selection length even if start
  1887. is changed; reset on all other operations affection selection
  1888. 2006-08-22 Jackson Harper <[email protected]>
  1889. * TreeView.cs: Make sure both scrollbars get displayed and sized
  1890. correctly when the other bar is visible.
  1891. - Use the original clip rectangle for checking if the area between
  1892. the two scrollbars is visible, not the viewport adjusted clipping
  1893. rectangle.
  1894. 2006-08-22 Jackson Harper <[email protected]>
  1895. * Binding.cs: We don't use IsBinding because it requires the
  1896. control to be created, which really shouldn't be necessary just to
  1897. set a property on the control.
  1898. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  1899. * ComboBox.cs: Some CB.ObjectCollection methods must throw
  1900. ArgumentNullReferenceException when the argument is null.
  1901. 2006-08-21 Jackson Harper <[email protected]>
  1902. * Timer.cs: Track the thread that the timer is started in (NOT
  1903. CREATED), this way messages for it will only be triggered on its
  1904. queue.
  1905. * XEventQueue.cs: Track the timers here, this makes timers per
  1906. thread, like MS.
  1907. * XplatUIX11.cs: The timers are moved to the XEventQueue.
  1908. 2006-08-19 Chris Toshok <[email protected]>
  1909. * XplatUIX11.cs: after further communication with pdb, we get the
  1910. best of both worlds. SetZOrder working for un-Mapped windows, and
  1911. no X errors for un-mapped windows.
  1912. 2006-08-19 Chris Toshok <[email protected]>
  1913. * XplatUIX11.cs (SetZOrder): remove the if (!hwnd.mapped) check,
  1914. as it was causing pdn toolbars to not have the correct stacking.
  1915. 2006-08-18 Mike Kestner <[email protected]>
  1916. * ListView.cs : guard against negative ClientArea.Width in scrollbar
  1917. calculation. Not sure why control should ever be setting a negative
  1918. width though. Fixes #78931.
  1919. 2006-08-18 Carlos Alberto Cortez <[email protected]>
  1920. * ComboBox.cs: Throw ArgumentNullException when adding/modifyng
  1921. null items in ObjectCollection class.
  1922. * ListBox.cs.: Likewise.
  1923. 2006-08-18 Atsushi Enomoto <[email protected]>
  1924. * ThemeNice.cs, ThemeClearlooks.cs : remove RadioButton_DrawFocus()
  1925. as the base method in ThemeWin32Classic should work fine.
  1926. Fixed bug #78607.
  1927. 2006-08-18 Jackson Harper <[email protected]>
  1928. * Binding.cs: When validating if the value entered doesn't convert
  1929. properly reset to the old value.
  1930. * RadioButton.cs: Don't fire click when we get focus.
  1931. 2006-08-18 Jackson Harper <[email protected]>
  1932. * FileDialog.cs: Paint the selection on the directory combobox the
  1933. same way as on MS.
  1934. 2006-08-17 Jackson Harper <[email protected]>
  1935. * ErrorProvider.cs: Don't allow the error control to be selected.
  1936. * Control.cs: Don't send the SetFocus messages, the control
  1937. activation will do this, and if we do it blindly here validation
  1938. does not work.
  1939. 2006-08-17 Jackson Harper <[email protected]>
  1940. * Control.cs:
  1941. * ContainerControl.cs: Make validation events fire in the correct
  1942. order. TODO: For some reason the first validation event is not
  1943. getting fired.
  1944. 2006-08-17 Mike Kestner <[email protected]>
  1945. * ComboBox.cs : some null guarding for ComboListBox.Scroll.
  1946. 2006-08-17 Mike Kestner <[email protected]>
  1947. * ComboBox.cs : implement scroll wheel support for popped-down
  1948. state. Fixes #78945.
  1949. 2006-08-17 Jackson Harper <[email protected]>
  1950. * TreeView.cs: Specify treeview actions (old patch that didn't get
  1951. committed for some reason).
  1952. - Don't let the mouse wheel scroll us too far. Just want to make
  1953. the bottom node visible, not scroll it all the ways to the top.
  1954. 2006-08-17 Jackson Harper <[email protected]>
  1955. * XplatUIX11.cs: Mouse wheel events go to the focused window.
  1956. 2006-08-17 Mike Kestner <[email protected]>
  1957. * ComboBox.cs : don't do mouseover selection in simple mode.
  1958. 2006-08-16 Jackson Harper <[email protected]>
  1959. * Form.cs: Fire the closing events for all the mdi child windows
  1960. when a window is closed. If the cancel args are set to true, the
  1961. main window still gets the event fired, but it doesn't not close.
  1962. * MdiWindowManager.cs: Do this closing cleanup in a Closed
  1963. handler, instead of when the button is clicked, so cancelling the
  1964. close works correctly.
  1965. * ComboBox.cs: Send the mouse down to the scrollbar.
  1966. 2006-08-16 Carlos Alberto Cortez <[email protected]>
  1967. * ListBox.cs: When passing 'null' to SelectedItem,
  1968. set SelectedIndex to -1, to unselect items. This is the
  1969. observed behaviour in .Net.
  1970. 2006-08-16 Peter Dennis Bartok <[email protected]>
  1971. * TextBoxBase.cs: Overriding HandleClick to get clicks in spite of
  1972. MS flags saying there won't be any. (fixes #78800)
  1973. * Control.cs (HandleClick): Made virtual
  1974. 2006-08-16 Atsushi Enomoto <[email protected]>
  1975. * PageSetupDialog.cs : use Yard-Pound units only in en-GB and en-US
  1976. cultures. Fixed bug #78399.
  1977. 2006-08-16 Jackson Harper <[email protected]>
  1978. * Form.cs: Use the MdiClients MdiChildren property to access
  1979. MdiChildren instead of creating the array from the child controls.
  1980. * MdiClient.cs: Maintain a separate array of the mdi children, so
  1981. that insertion order is maintained when the Z-order is changed.
  1982. 2006-08-16 Mike Kestner <[email protected]>
  1983. * ListView.cs : add an ItemComparer and default to it for sorting.
  1984. Fixes #79076, but sorting needs a complete overhaul to be compat with
  1985. MS.
  1986. 2006-08-15 Peter Dennis Bartok <[email protected]>
  1987. * XplatUIX11.cs (SetZOrder): Fix debugging leftover (fixes #79080)
  1988. 2006-08-15 Peter Dennis Bartok <[email protected]>
  1989. * Hwnd.cs (Mapped): Properly traverse the tree
  1990. 2006-08-15 Chris Toshok <[email protected]>
  1991. * Binding.cs: fix PullData/SetPropertyValue. We don't want to
  1992. pass manager.Current.GetType() to ParseData. It has to be the
  1993. property type. So, hold off doing the ParseData until we're in
  1994. SetPropertyValue where we know the type. This fixes the crash in
  1995. #78821 but the textbox is still empty.
  1996. 2006-08-15 Chris Toshok <[email protected]>
  1997. * DataGrid.cs:
  1998. - when we're scrolling, only call Edit() again if the
  1999. current cell is still unobscured. Fixes bug #78927.
  2000. - when handling mousedown on a cell, ensure the cell is visible
  2001. before calling Edit.
  2002. - remove the properties from DataGridRow, and remove the
  2003. DataGridParentRow class altogether.
  2004. 2006-08-15 Peter Dennis Bartok <[email protected]>
  2005. * TextBoxBase.cs (set_Text): Don't use base.Text, instead just
  2006. fire OnTextChanged by ourselves. There's no point calling base,
  2007. we don't set the base value anywhere else. Fixes #78773.
  2008. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  2009. * ListBox.cs: Call CollectionChanged when modifying
  2010. an item from Items indexer, to update the actual items
  2011. in the list box.
  2012. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  2013. * PrintDialog.cs: Small fixes for focus and a pair of checks,
  2014. to match .Net behaviour.
  2015. 2006-08-15 Peter Dennis Bartok <[email protected]>
  2016. * XplatUIX11.cs (SetZOrder): Handle raising toplevel windows
  2017. 2006-08-15 Peter Dennis Bartok <[email protected]>
  2018. * Control.cs: Handle BringToFront for toplevel windows (Fixes #78737)
  2019. 2006-08-15 Peter Dennis Bartok <[email protected]>
  2020. * MessageBox.cs: Prevent potential NRE exception.
  2021. * TextBoxBase.cs: AutoSize only applies if MultiLine is false. Fixes #78889
  2022. 2006-08-14 Peter Dennis Bartok <[email protected]>
  2023. * MessageBox.cs: Calculate the owner of a messagebox, also make
  2024. it topmost. Fixes #78753
  2025. 2006-08-14 Chris Toshok <[email protected]>
  2026. * XplatUIX11.cs: A couple of fixes so that metacity will let us
  2027. programmatically move windows. first, set the PPosition hint as
  2028. well as the USPosition hint. Second include some code from pdb
  2029. that sets the window type to NORMAL when we set the transient for
  2030. hint. This is because, in the absence of a window type, metacity
  2031. thinks any window with TransientFor set is a dialog, and refuses
  2032. to let us move it programmatically. fascists.
  2033. 2006-08-14 Peter Dennis Bartok <[email protected]>
  2034. * XplatUIX11.cs: When setting normal hints, take into consideration
  2035. an different hints previously set so we don't delete them (fixes #78866)
  2036. 2006-08-12 Chris Toshok <[email protected]>
  2037. * ToolBarButton.cs: make Layout return a boolean, if something to
  2038. do with the button's layout changed.
  2039. * ToolBar.cs:
  2040. - add another parameter to Redraw, @force, which all existing
  2041. calls set to true.
  2042. - make the Layout function return a boolean which is true if the
  2043. layout has actually changed. Redraw now uses this (and @force)
  2044. to determine when to invalidate. At present the only place
  2045. where @force can be false is the call from OnResize, when
  2046. background_image == null. So, resizing a toolbar when the
  2047. layout doesn't change results in no drawing.
  2048. 2006-08-12 Chris Toshok <[email protected]>
  2049. * ThemeWin32Classic.cs: fix the bottom right corner painting. had
  2050. the VScrollBar and HScrollbar reversed. oops.
  2051. * DataGrid.cs: fix the logic that assigns sizes to the implicit
  2052. scrollbars. we were assigning them twice (once in
  2053. Calc{Horiz,Vertical}Scrollbar, and once in CalcGridAreas),
  2054. therefore causing two scrollbar resizes (and redraws?) to happen
  2055. per grid resize.
  2056. 2006-08-12 Chris Toshok <[email protected]>
  2057. * ToolBarButton.cs: redraw the entire button if the theme tells us
  2058. to.
  2059. * Theme.cs: add ToolBarInvalidateEntireButton.
  2060. * ThemeWin32Classic.cs: we don't need to redraw the entire toolbar
  2061. buttons, just the border.
  2062. * ThemeNice.cs: redraw the entire toolbar button since we need to
  2063. draw the highlight image.
  2064. * ThemeClearlooks.cs: the rounded corners of toolbar buttons mean
  2065. we need to redraw the entire button (not just the border).
  2066. 2006-08-11 Peter Dennis Bartok <[email protected]>
  2067. * TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
  2068. for vertical bars. Fixes the mismatches shown by #78513
  2069. 2006-08-11 Alexander Olk <[email protected]>
  2070. * FileDialog.cs: If a saved/remembered path doesn't exist
  2071. anymore, fall back to "Desktop".
  2072. 2006-08-11 Peter Dennis Bartok <[email protected]>
  2073. * Form.cs (CreateParams): Don't use Parent.Handle unless we have a
  2074. parent. It's apparently legal to not have one
  2075. * XplatUIX11.cs:
  2076. - SetZOrder: Don't try to set Z-Order on an unmapped window
  2077. - CreateWindow: 0,0 are legal coordinates for a window. don't move
  2078. it unless the coordinates are negative
  2079. 2006-08-10 Mike Kestner <[email protected]>
  2080. * ListControl.cs: allow null for DataSource. Clear DisplayMember
  2081. when setting to null per msdn docs. Fixes #78854.
  2082. 2006-08-10 Chris Toshok <[email protected]>
  2083. * Menu.cs, MainMenu.cs, MenuAPI.cs: get rid of most of the
  2084. flickering by setting a clip rectangle on the Graphics when we
  2085. need to redraw just a particular menuitem. Also, rename "OnClick"
  2086. to "OnMouseDown" to reflect what it actually is.
  2087. * Form.cs: track the OnMouseDown change.
  2088. 2006-08-10 Peter Dennis Bartok <[email protected]>
  2089. * CommonDialog.cs: Properly inherit the CreateParams from the form
  2090. and only change what we need. Fixes #78865
  2091. 2006-08-10 Chris Toshok <[email protected]>
  2092. * ToolBar.cs, ToolBarButton.cs: fix the redraw-on-highlight
  2093. flickering in flat mode (and most of the flickering in general) by
  2094. only invalidating the button border (and not the entire rectangle)
  2095. when the state changes. A couple of cases still flicker:
  2096. ToggleButtons, and the dropdown arrow case when the user mouse
  2097. ups.
  2098. 2006-08-10 Alexander Olk <[email protected]>
  2099. * X11Keyboard.cs: Fixed handling of the Del key on the cursorblock
  2100. for german keyboards. Numlock state shouldn't affect the behaviour
  2101. of the Del key. Fixes bug #78291.
  2102. 2006-08-10 Chris Toshok <[email protected]>
  2103. * ListControl.cs: remove the items.Clear line from BindDataItems,
  2104. as this is the first thing done by both subclasses in their
  2105. SetItemsCore overrides. Also, add a ItemChanged handler, and when
  2106. passed -1, refresh the list. This gets databinding working when
  2107. the datasource is set on the list before the datasource is
  2108. populated (as in wf-apps/ReportBuilder.)
  2109. * ComboBox.cs: remove the argument to BindDataItems. This call
  2110. should really go away, and be initiated by the ListControl code.
  2111. * ListBox.cs: same.
  2112. 2006-08-09 Peter Dennis Bartok <[email protected]>
  2113. * TextControl.cs (Document.ctor): Initialize caret so we don't crash
  2114. if no data is in the document when the control is displayed
  2115. 2006-08-09 Peter Dennis Bartok <[email protected]>
  2116. * TextBoxBase.cs: Don't try moving the caret if we don't have a window
  2117. yes (fixes #78806)
  2118. * TextControl.cs:
  2119. - PositionCaret: Allow positioning of caret but don't call methods
  2120. requiring a handle if the window isn't created yet
  2121. - CharIndexToLineTag: Fix ending loop early error. Lines is 1 based
  2122. - owner_HandleCreated: Don't position the caret, just update it's
  2123. location. User might have already set a different position
  2124. 2006-08-09 Peter Dennis Bartok <[email protected]>
  2125. * XplatUIWin32.cs: Don't use the desktop as basis for foster-parented
  2126. windows. Screws up the returned coordinates for child windows.
  2127. Fixes #78825. I'm hoping this doesn't break something, since the
  2128. code was explicitly put in 8 months ago, but no bug was attached.
  2129. Menus still seem to work properly.
  2130. 2006-08-08 Chris Toshok <[email protected]>
  2131. * DataGrid.cs: make BeginInit/EndInit actually do what they're
  2132. supposed to do - delay data binding until the EndInit call. Also,
  2133. make the table style collection's CollectionChangeAction.Refresh
  2134. work properly.
  2135. * GridTableStylesCollection.cs: raise a CollectionChangeEvent
  2136. (with action = Refresh) when a consituent table's MappingName is
  2137. changed.
  2138. 2006-08-08 Chris Toshok <[email protected]>
  2139. * ToolBarButton.cs: in set_Text, call Parent.Redraw, not
  2140. Invalidate, since changing the text can change the size of the all
  2141. toolbar buttons.
  2142. 2006-08-08 Peter Dennis Bartok <[email protected]>
  2143. * Form.cs (AddOwnedForm): Still need to add the form to our listif
  2144. we don't have it yet
  2145. 2006-08-08 Chris Toshok <[email protected]>
  2146. * PrintControllerWithStatusDialog.cs: don't .Close() the status
  2147. dialog, as this causes X errors later on, since we actually
  2148. destroy the window. Instead, .Hide() it.
  2149. 2006-08-08 Peter Dennis Bartok <[email protected]>
  2150. * ComboBox.cs: Added focus reflection for popup window
  2151. * XplatUIX11.cs:
  2152. - Removed transient setting for non-app windows for now, not sure it
  2153. was needed
  2154. - Fixed logic checking if we have captions when deciding
  2155. override_redirect, WS_CAPTION is two bits and a 0 check was not
  2156. sufficient
  2157. - Removed the WINDOW_TYPE stuff, it was unneeded and making things
  2158. complicated
  2159. * Form.cs:
  2160. - AddOwnedForm: Don't just add the form to the list, call the property
  2161. to ensure the driver is informed about the ownership as well
  2162. - CreateHandle: Set the TopMost status in the driver if we have an owner
  2163. * XplatUI.cs: Fixed debug statement
  2164. 2006-08-08 Jonathan Pobst <[email protected]>
  2165. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  2166. GroupBoxRenderer.cs, ProgressBarRenderer.cs, RadioButtonRenderer.cs,
  2167. ScrollBarRenderer.cs, TabRenderer.cs, TextBoxRenderer.cs,
  2168. TrackBarRenderer.cs: Make constructor private.
  2169. * ProfessionalColors.cs, ProfessionalColorTable.cs: Fix misnamed properties.
  2170. * ProfessionalColorTable.cs: Make properties virtual.
  2171. 2006-08-06 Duncan Mak <[email protected]>
  2172. * NumericUpDown.cs (Value): Don't call OnValueChanged if the value
  2173. is not changing.
  2174. 2006-08-04 Jonathan Pobst <[email protected]>
  2175. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  2176. GroupBoxRenderer.cs, ProfessionalColors.cs, ProfessionalColorTable.cs,
  2177. ProgressBarRenderer.cs, RadioButtonRenderer.cs, ScrollBarRenderer.cs,
  2178. TabRenderer.cs, TextBoxRenderer.cs, TextRenderer.cs, TrackBarRenderer.cs:
  2179. Initial import of new 2.0 classes.
  2180. 2006-08-04 Jonathan Pobst <[email protected]>
  2181. * Application.cs: Add 2.0 VisualStyles properties.
  2182. 2006-08-04 Jonathan Pobst <[email protected]>
  2183. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  2184. XplatUIX11.cs: Create property to allow access to existing private
  2185. variable "themes_enabled"
  2186. 2006-08-04 Gonzalo Paniagua Javier <[email protected]>
  2187. * ImageListStreamer.cs: generate the MemoryStreams with the exact BMP
  2188. file size, as otherwise our class libraries fail using windows. Fixes
  2189. bug #78759.
  2190. 2006-08-04 Jackson Harper <[email protected]>
  2191. * Form.cs:
  2192. * XplatUIX11.cs: Move the toolwindow window manager creation into
  2193. the X11 driver, this way on win32 we can let windows create/handle
  2194. the toolwindows.
  2195. 2006-08-04 Carlos Alberto Cortez <[email protected]>
  2196. * PrintDialog.cs: Remove some redundant checks, add some others,
  2197. clean some code, and move the focus to the text boxes when the
  2198. values are incorrect.
  2199. 2006-08-04 Alexander Olk <[email protected]>
  2200. * FontDialog.cs: Remove Form.MinimumSize. It's not needed.
  2201. 2006-08-03 Alexander Olk <[email protected]>
  2202. * NumericUpDown.cs: Setting the Minimum and Maximum is now
  2203. handled correctly. Fixes bug #79001.
  2204. 2006-08-03 Carlos Alberto Cortez <[email protected]>
  2205. * PrintDialog.cs: The "Copies" numeric up down must have
  2206. set the Minimum property to 1; only if the value is bigger
  2207. than 1, activate "Collate" check box. This is the behaviour of .Net.
  2208. Also modify the Document elements only if it is not null.
  2209. 2006-08-03 Jackson Harper <[email protected]>
  2210. * TreeNodeCollection.cs: Fix copyto to use the correct nodes
  2211. length. (We have a larger array then actual node count).
  2212. 2006-08-03 Jackson Harper <[email protected]>
  2213. * ComboBox.cs: Don't show selection by default.
  2214. - The SelectAll isn't needed here, since the focus code should do
  2215. that
  2216. - DDL style lists to manual selection drawing, so when they
  2217. get/lose focus they have to invalidate.
  2218. 2006-08-03 Peter Dennis Bartok <[email protected]>
  2219. * TextBoxBase.cs: Don't always show all selections by default.
  2220. 2006-08-03 Jonathan Pobst <[email protected]>
  2221. * ControlUpdateMode.cs, DataSourceUpdateMode.cs,
  2222. HelpNavigator.cs, WebBrowserEncryptionLevel.cs:
  2223. Fixed various typos.
  2224. 2006-08-03 Alexander Olk <[email protected]>
  2225. * Control.cs: Removing the controls in a ControlCollection with
  2226. Clear now hides the controls as expected. Fixes bug #78804.
  2227. 2006-08-03 Jackson Harper <[email protected]>
  2228. * Control.cs: Revert previous focus patch, it breaks reflector.
  2229. 2006-08-03 Jackson Harper <[email protected]>
  2230. * ComboBox.cs: Cleanup selection and focus with the combobox.
  2231. This also eliminates some duplicated keyboard code, since now
  2232. everything is handled by the main class.
  2233. - Make list selection work on mouse up instead of down, to match
  2234. MS.
  2235. 2006-08-02 Jackson Harper <[email protected]>
  2236. * Control.cs: Setting focus needs to go through the whole
  2237. selection mechanism.
  2238. 2006-08-02 Chris Toshok <[email protected]>
  2239. * PrintPreviewDialog.cs: change MinimumSize to use
  2240. base.MinimumSize so it works.
  2241. 2006-08-02 Peter Dennis Bartok <[email protected]>
  2242. * TextControl.cs:
  2243. - UpdateCaret: Added sanity check in case caret isn't defined yet
  2244. - Line.Delete: Now updating selection and caret markers if we're
  2245. transfering a node (Properly fixes #78323)
  2246. - SetSelectionEnd: Added sanity check
  2247. * TextBoxBase.cs: Removed broken attempt to fix #78323
  2248. 2006-08-01 Chris Toshok <[email protected]>
  2249. * PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
  2250. Close() call is handled in Form, not here.
  2251. 2006-08-01 Chris Toshok <[email protected]>
  2252. * Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
  2253. layout/rendering.
  2254. * PrintPreviewDialog.cs: add scrollbars, and add an image cache
  2255. for sizes < 100% zoom. The code now aggressively attempts to keep
  2256. from calling document.Print (), and tries not to use the scaling
  2257. g.DrawImage whenever possible (it still does if you scale to >
  2258. 100%, since usually that involves huge images).
  2259. * PrintPreviewControl.cs: hook up the close button.
  2260. 2006-08-01 Jonathan Pobst <[email protected]>
  2261. * ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
  2262. ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
  2263. ItemDragEventHandler.cs, LabelEditEventHandler.cs,
  2264. LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
  2265. MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
  2266. PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
  2267. SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
  2268. Removed [Serializable] for 2.0 Event Handlers.
  2269. 2006-07-31 Jackson Harper <[email protected]>
  2270. * TextBoxBase.cs: Make ShowSelection invalidate when changed.
  2271. * TextControl.cs: Uncomment out the body of this method.
  2272. 2006-07-31 Alexander Olk <[email protected]>
  2273. * XplatUIX11.cs: Use the correct cursor shapes for arrow and default
  2274. standard cursors.
  2275. 2006-07-31 Peter Dennis Bartok <[email protected]>
  2276. * TextBoxBase.cs: Added internal property ShowSelection to allow controls
  2277. that embed TextBox and need selections visible even if textbox is not
  2278. focused to enforce that behaviour.
  2279. * TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
  2280. selection drawing
  2281. 2006-07-31 Peter Dennis Bartok <[email protected]>
  2282. * TextControl.cs:
  2283. - Added new SetSelectionStart/SetSelectionEnd overloads
  2284. - Fixed viewport width assignment to be accurate
  2285. - Adjusted alignment line shift calculations to allow cursor on right
  2286. aligned lines to be always visible at the right border (like MS)
  2287. * TextBoxBase.cs:
  2288. - SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
  2289. - TextBoxBase_SizeChanged: recalculating canvas on size changes
  2290. - CalculateScrollBars: Use ViewPort size instead of window size, to
  2291. properly consider space occupied by the border and scrollbars
  2292. (Fixes #78661)
  2293. - hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
  2294. calculations; no longer leaves artifacts
  2295. - CaretMoved: Adjusted window scrolling to match MS and fixed several
  2296. calculation bugs (Still missing right/center align calculations)
  2297. 2006-07-31 Peter Dennis Bartok <[email protected]>
  2298. * XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
  2299. use of both scroll rect and clip rect, as they do the same.
  2300. 2006-07-31 Peter Dennis Bartok <[email protected]>
  2301. * Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
  2302. in the event handler (fixes #78912)
  2303. 2006-07-31 Chris Toshok <[email protected]>
  2304. * ThemeWin32Classic.cs: use grid.RowsCount here instead of
  2305. grid.ListManager.Count, since grid.ListManager might be null.
  2306. This of course begs the question "why are we drawing rows for a
  2307. grid with no list manager (and therefor no rows)?" Fixes the
  2308. crash in bug #78929.
  2309. 2006-07-31 Chris Toshok <[email protected]>
  2310. * RelatedPropertyManager.cs: Don't always chain up to the parent
  2311. ctor. instead, call SetDataSource if the parent's position is !=
  2312. -1. Fixes the crash in #78822.
  2313. 2006-07-31 Chris Toshok <[email protected]>
  2314. * DataGrid.cs (get_ListManager): use field instead of property
  2315. accessors for datasource and datamember.
  2316. (RowsCount): make internal again.
  2317. (OnMouseDown): end edits before resizing columns/rows.
  2318. (OnMouseUp): restart edits after resizing columns/rows.
  2319. 2006-07-30 Peter Dennis Bartok <[email protected]>
  2320. * XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
  2321. This fixes the situation where the last set cursor is displayed
  2322. whenever the mouse is over scrollbars.
  2323. 2006-07-30 Carlos Alberto Cortez <[email protected]>
  2324. * PrintDialog.cs: Fix the behaviour of PrinterSettings and
  2325. Document properties, as well as initial values.
  2326. 2006-07-29 Peter Dennis Bartok <[email protected]>
  2327. * XplatUIWin32.cs (SetBorderStyle): Setting both border
  2328. and ClientEdge results in a 3-pixel border, which is
  2329. wrong.
  2330. 2006-07-28 Jackson Harper <[email protected]>
  2331. * TreeNodeCollection.cs: Fix the clear method.
  2332. - Fix the Shrink also
  2333. 2006-07-27 Jackson Harper <[email protected]>
  2334. * TreeView.cs: Make sure the visible order is computed when we
  2335. attempt to size the scrollbars (for trees that mess with the
  2336. scrolling when they shouldn't.
  2337. - Make sure to give the scrollbars valid values.
  2338. 2006-07-26 Peter Dennis Bartok <[email protected]>
  2339. * XplatUIX11.cs: Move motion compression code to where it
  2340. has less performance impact
  2341. 2006-07-26 Jackson Harper <[email protected]>
  2342. * UpDownBase.cs: When the control is selected make the child
  2343. controls non selectable, so that a click on them won't do a
  2344. focus/unfocus cycle.
  2345. - Don't give focus to the text box when the spinner is selected.
  2346. * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
  2347. 2006-07-26 Chris Toshok <[email protected]>
  2348. * ThemeWin32Classic.cs: add print preview rendering. I'm not
  2349. satisfied with this solution. If the bitmaps are small, we should
  2350. just cache them in the PrintPreviewDialog and draw them here.
  2351. Also, the layout is broken for the 2-up and 3-up cases.
  2352. * Theme.cs: add PrintPReviewControlPaint.
  2353. * PrintPreviewDialog.cs: first pass implementation.
  2354. * PrintPreviewControl.cs: first pass implementation. No
  2355. scrollbars yet.
  2356. * PrintDialog.cs: only validate fields if that particular portion
  2357. of the UI is enabled. Also, set the document's controller to a
  2358. PrintControllerWithStatusDialog wrapping the document's print
  2359. controller.
  2360. * PrintControllerWithStatusDialog.cs: if we're printing to a file,
  2361. bring up a SaveFileDialog (i hope we don't want to match the
  2362. behavior of the crappy windows file entry) and set the
  2363. PrinterSettings.PrintFileName accordingly.
  2364. 2006-07-26 Jackson Harper <[email protected]>
  2365. * ContainerControl.cs: Add a field that disables auto selecting
  2366. the next control in a container when the container is activated.
  2367. * UpDownBase.cs: Don't select the text box when the up down is
  2368. selected.
  2369. 2006-07-26 Peter Dennis Bartok <[email protected]>
  2370. * XEventQueue.cs: Added methods for peeking (used for compression
  2371. of successive events)
  2372. * XplatUIX11.cs (GetMessage): We're now compressing consecutive
  2373. mouse move events (fixes #78732)
  2374. 2006-07-25 Jackson Harper <[email protected]>
  2375. * UpDownBase.cs: Use an internal class for the textbox so that we
  2376. can control focus. the updown control should always have focus,
  2377. if either the text area or the buttons are clicked.
  2378. - Send the key messages to the textbox, since it never actually
  2379. has focus
  2380. - Activate and decativate the textbox caret.
  2381. 2006-07-24 Jackson Harper <[email protected]>
  2382. * Control.cs: Use the directed select when selecting a control,
  2383. this way the container controls override will get called and the
  2384. whole ActiveControl chain will get triggered. TODO: probably need
  2385. to make sure this gets done everywhere instead of the old
  2386. Select(Control).
  2387. * ContainerControl.cs: Implement the directed Select method to
  2388. find and activate the correct child control.
  2389. 2006-07-22 Mike Kestner <[email protected]>
  2390. * Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
  2391. menu handling code so that clicks without a grab work too.
  2392. [Fixes #78914]
  2393. 2006-07-22 Alexander Olk <[email protected]>
  2394. * FileDialog.cs: Enable the BackButton when dirstack has one element.
  2395. Added some small optimizations.
  2396. 2006-07-21 Matt Hargett <[email protected]>
  2397. * Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties
  2398. 2006-07-21 Peter Dennis Bartok <[email protected]>
  2399. * Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  2400. tests pass and match MS in some strange border cases.
  2401. 2006-07-21 Chris Toshok <[email protected]>
  2402. * ThemeWin32Classic.cs: handle drawing of the relation links and
  2403. parent row buttons.
  2404. * Theme.cs: change args to DataGridPaintParentRow.
  2405. * DataGrid.cs: Don't use controls for the relation links and
  2406. parent buttons, so we have to handle all their interactions in
  2407. MouseMove, MouseDown, MouseUp, etc. Also, store a lot more stuff
  2408. when we're navigating through child tables, so we can reinstate
  2409. selection, expanded state, current cell, etc.
  2410. 2006-07-20 Chris Toshok <[email protected]>
  2411. * ToolBar.cs: When we redraw a button, for whatever reason,
  2412. there's no reason to redraw the entire toolbar. Also, don't call
  2413. Control.Refresh from within Redraw, as it's much heavier than
  2414. Invalidate (which is really what we want).
  2415. 2006-07-20 Chris Toshok <[email protected]>
  2416. * DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
  2417. DataGridTextBoxColumn.cs, DataGridTextBox.cs,
  2418. ThemeWin32Classic.cs, ListControl.cs: After staring at stack
  2419. traces from within a debug IBindingList datasource
  2420. (in mono/winforms/datagrid) for *days*, I've finally gotten things
  2421. to work in a similar fashion.
  2422. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  2423. * ListBox.cs: Don't call Sort () when setting
  2424. the Sorted property to false (avoid an unnecessary sort).
  2425. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  2426. * ListControl.cs: DataSource should throw an ArgumentException
  2427. instead of a normal exception when the argument is not of the
  2428. correct type.
  2429. 2006-07-20 Mike Kestner <[email protected]>
  2430. * Control.cs: add InternalPreProcessMessage to allow us to steal
  2431. key events before MWF gets its paws on them. Adapted from a
  2432. suggestion by eno.
  2433. * ToolBar.cs: add GotLostFocus handing for flat toolbars, with
  2434. up/down/left/right navigation. Override the new internal control
  2435. method to steal the events since they never make it to WndProc.
  2436. * ToolBarButton.cs: don't worry about pushed when setting hilight
  2437. since the drawing code prefers pushed to hilight. Invalidate on
  2438. Hilight changes. Fixes #78547 and #78525.
  2439. 2006-07-20 Peter Dennis Bartok <[email protected]>
  2440. * ScrollableControl.cs: Consider AutoScrollMinSize when calculating
  2441. the canvas size. Fixes #78868
  2442. 2006-07-20 Peter Dennis Bartok <[email protected]>
  2443. * Splitter.cs: Track requested split position until first layout
  2444. is performed. Fixes #78871
  2445. 2006-07-20 Peter Dennis Bartok <[email protected]>
  2446. * Application.cs: Removed code that forces 1.x for the version
  2447. number if the version started with 0. Not sure why that code was
  2448. there and I couldn't find any bugs that indicated we needed it.
  2449. Fixes #78869
  2450. 2006-07-20 Alexander Olk <[email protected]>
  2451. * ThemeWin32Classic.cs: Don't throw a NotImplementedException in
  2452. ResetDefaults(), just write some output to the console until it's
  2453. implemented. Fixes bug #78907 for now. Eliminated two warnings.
  2454. 2006-07-19 Jonathan Chambers <[email protected]>
  2455. * PropertyGridView.cs: set StartPosition of drop down forms
  2456. so they appear in correct initial spot. Fixes #78190.
  2457. 2006-07-19 Mike Kestner <[email protected]>
  2458. * ThemeWin32Classic.cs: use parent background color when drawing
  2459. flat toolbars. Restructure the conditionals to make sure non-flat
  2460. non-Divider toolbars are filled too. Fixes #78837.
  2461. 2006-07-19 Mike Kestner <[email protected]>
  2462. * ListBox.cs: Sort on collection changes even if the handle
  2463. isn't created yet. Fixes #78813.
  2464. 2006-07-18 Carlos Alberto Cortez <[email protected]>
  2465. * ListControl.cs: DisplayMember should never be null,
  2466. and now we assign String.Empty when null is passed to it (this
  2467. is the .Net way).
  2468. 2006-07-17 Mike Kestner <[email protected]>
  2469. * ListViewItem.cs: restructure Font and subitem Font handling
  2470. to hold a specific font and refer back to owner on null.
  2471. Fixes #78761.
  2472. 2006-07-17 Mike Kestner <[email protected]>
  2473. * ToolBar.cs: bandaid for side-effect of previous patch which was
  2474. discarding explicit heights for non-AutoSize toolbars. Need to
  2475. extend my format tester to deal with AutoSize=false. Fixes #78864.
  2476. 2006-07-15 Jackson Harper <[email protected]>
  2477. * LabelEditTextBox.cs:
  2478. * TreeView.cs: Use a new LabelEdit class for node editing, this
  2479. class automatically 'closes' itself when it gets the enter key or
  2480. loses focus.
  2481. - Use the client rectangle when setting the trees scrollbars, so
  2482. border style is taken into account.
  2483. 2006-07-14 Jackson Harper <[email protected]>
  2484. * TreeNode.cs:
  2485. * TreeView.cs: Make the editing work similar to MSs, firing the
  2486. events correctly and ending edits correctly.
  2487. 2006-07-14 Mike Kestner <[email protected]>
  2488. * ToolBarButton.cs:
  2489. * ToolBar.cs: layout restructuring and redraw enhancements to support
  2490. formatting changes gracefully, like setting TextAlign, ImageList,
  2491. ButtonSize, and Appearance. Handles explicit button sizing quirks
  2492. of the MS controls. Things like flat toolbars ignoring button size
  2493. but becoming constant sized at the largest button's size. Normal
  2494. toolbars with an image set cannot be shrunk smaller than the image,
  2495. but text can be clipped/ignored.
  2496. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  2497. is zero. Seems like DrawString should be smart enough to not put
  2498. anything on screen though. Also trim labels and ellipsize at the char
  2499. boundary, not word.
  2500. Fixes #78711 and #78483.
  2501. 2006-07-14 Alexander Olk <[email protected]>
  2502. * FolderBrowserDialog.cs: Disable "New Folder" button and
  2503. "New Folder" contextmenu menuitem if a folder like "My Computer"
  2504. is selected.
  2505. 2006-07-14 Alexander Olk <[email protected]>
  2506. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  2507. * FolderBrowserDialog.cs:
  2508. - Use MWFConfig to store and read size and position settings
  2509. - Added code to create a new folder (button or context menu).
  2510. Use TreeView labeledit to change the name of the new folder.
  2511. 2006-07-14 Jackson Harper <[email protected]>
  2512. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  2513. when the tree is scrolled we end editing.
  2514. 2006-07-14 Alexander Olk <[email protected]>
  2515. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  2516. Down arrows
  2517. 2006-07-14 Jonathan Pobst <[email protected]>
  2518. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  2519. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  2520. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  2521. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  2522. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  2523. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  2524. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  2525. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  2526. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  2527. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  2528. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  2529. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  2530. ListViewItemSelectionChangedEventHandler.cs,
  2531. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  2532. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  2533. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  2534. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  2535. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  2536. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  2537. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  2538. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  2539. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  2540. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  2541. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  2542. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  2543. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  2544. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  2545. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  2546. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  2547. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  2548. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  2549. WebBrowserNavigatingEventHandler.cs,
  2550. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  2551. 2006-07-14 Jonathan Pobst <[email protected]>
  2552. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  2553. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  2554. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  2555. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  2556. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  2557. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  2558. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  2559. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  2560. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  2561. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  2562. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  2563. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  2564. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  2565. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  2566. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  2567. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  2568. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  2569. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  2570. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  2571. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  2572. ListViewItemStates.cs, MaskFormat.cs: Added
  2573. 2006-07-13 Jonathan Chambers <[email protected]>
  2574. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  2575. Patch from eno for bug 78558.
  2576. 2006-07-13 Jackson Harper <[email protected]>
  2577. * TreeView.cs: When an edit is finished make sure that the
  2578. selected node is visible.
  2579. - When setting the top/bottom use the scrollbars is_visible, so
  2580. everything will be set correctly even if the tree isn't visible
  2581. yet.
  2582. 2006-07-13 Jackson Harper <[email protected]>
  2583. * ComboBox.cs: Revert the item->index part of my previous patch.
  2584. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  2585. the edit box has lost focus (duh).
  2586. - Just make the edit box not visible when we get return, that will
  2587. take the focus, which will call EndEdit
  2588. * TreeNode.cs When we start editing, notify the treeview.
  2589. 2006-07-12 Jackson Harper <[email protected]>
  2590. * ComboBox.cs: Clear out old items before setting the item list.
  2591. This prevents databound controls from having their items added
  2592. twice.
  2593. - Switch the combobox to use indices whereever possible instead of
  2594. using Item's. This allows usto navigate through lists that have
  2595. more then one item with the same string value (ie a, b, b, a).
  2596. - Scroll the listboxes scrollbar when a non visible item is
  2597. highlighted
  2598. - Allow keypress to cycle through all the possible values. For
  2599. example if you have b1, b2, b3 and hold down the B key all the
  2600. values will be cycled through.
  2601. 2006-07-12 Jackson Harper <[email protected]>
  2602. * TextBoxBase.cs:
  2603. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  2604. this using the internal methods.
  2605. * Control.cs: Add OnGotFocusInternal. A new method that allows
  2606. controls to "override" OnGotFocus and change focus behavior if
  2607. needed.
  2608. - Same thing for LostFocus
  2609. * ComboBox.cs: Pass off focus to the text control properly.
  2610. 2006-07-12 Alexander Olk <[email protected]>
  2611. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  2612. * FolderBrowserDialog.cs: Almost a complete rewrite.
  2613. - Better support for Environment.Specialfolders
  2614. - Added support for MWFVFS
  2615. - Made setting SelectedPath work
  2616. 2006-07-12 Jackson Harper <[email protected]>
  2617. * Control.cs: Optimze getting all the controls.
  2618. 2006-07-11 Jackson Harper <[email protected]>
  2619. * ContainerControl.cs: Override SETFOCUS in the container control,
  2620. so that it is not selected on mouse click.
  2621. 2006-07-11 Peter Dennis Bartok <[email protected]>
  2622. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  2623. Hopefully we will have a better way once all of focus is complete.
  2624. 2006-07-11 Peter Dennis Bartok <[email protected]>
  2625. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  2626. a compile error with csc.
  2627. 2006-07-11 Jackson Harper <[email protected]>
  2628. * Control.cs: When hiding a control only select the next control
  2629. if the current control was focused.
  2630. - Don't handle enter/leave when setting/killing focus, this is
  2631. done by the container control.
  2632. - Remove is_selected, it's not needed anymore.
  2633. - Add utility methods for selecting a child control, and for
  2634. firing the Enter/Leave events.
  2635. * ContainerControl.cs: When a control is activated fire the
  2636. enter/leave events.
  2637. - Don't wrap when processing the tab key, so that focus can be
  2638. moved outside of the container.
  2639. - Use the correct active control
  2640. 2006-07-11 Jackson Harper <[email protected]>
  2641. * ComboBox.cs: Remove some debug code that was blinding me.
  2642. * UpDownBase.cs: These controls actually aren't implicit, they are
  2643. visible to the user.
  2644. 2006-07-10 Chris Toshok <[email protected]>
  2645. * DataGrid.cs: move back to the is_adding boolean field. god i
  2646. hate this is_editing/is_adding/is_changing stuff.
  2647. 2006-07-10 Chris Toshok <[email protected]>
  2648. * DataGridTableStyle.cs: just check if the property type is bool.
  2649. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  2650. Don't use CanRenderType.
  2651. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  2652. if our text == NullText. Remove CanRenderType.
  2653. * DataGridBoolColumn.cs: nuke CanRenderType.
  2654. * DataGrid.cs: reenable some code to end the current edit inside
  2655. of set_CurrentCell. This fixes the other 1.1.16 regression.
  2656. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  2657. Also, remove the visible_row_count arg from CalcRowHeaders, since
  2658. we don't need to worry about the actual height of the area.
  2659. 2006-07-10 Chris Toshok <[email protected]>
  2660. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  2661. mode, just return.
  2662. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  2663. the real sense of the IsInEditOrNavigateMode property (true =
  2664. navigate, false = edit). Also, update OnKeyPress to reflect this.
  2665. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  2666. column style exists, we still need to set its property descriptor
  2667. to match up with our list manager.
  2668. 2006-07-10 Chris Toshok <[email protected]>
  2669. * ThemeWin32Classic.cs: implement the new row/header painting
  2670. approach. The parent row painting will likely go away and
  2671. replaced with label controls, but the rest seems to work ok (and
  2672. efficiently).
  2673. * Theme.cs: change the way we draw datagrid rows. we don't draw
  2674. the row headers as a block now. Instead we draw them in the
  2675. normal draw-row loop. Add some calls for drawing parent rows and
  2676. relation rows.
  2677. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  2678. a default table style. Set the defaults from ThemeEngine.Current,
  2679. not SystemColors. Fix lots of misc issues with property setters.
  2680. * DataGrid.cs: move loads of style information out of this class
  2681. as it's being duplicated with DataGridTableStyle. keep track of a
  2682. special DataGridTableStyle for the properties we used to mirror
  2683. here. Switch all the style properties to access this table style
  2684. instead of instance fields of this class. Also add a internal
  2685. class to represent parent rows (more needs to be stored here, like
  2686. the selection state from the parent table, as well as the
  2687. expansion state.) Also, for datasources with relations, do the
  2688. right thing for collapse/expand, and add support for the
  2689. navigation/parent row buttons.
  2690. Lastly, fix the crash in the 1.1.16 build.
  2691. * GridTableStylesCollection.cs: make the explicit interface
  2692. implementations call the class's methods as opposed to duplicating
  2693. them.
  2694. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  2695. 0 so the text doesn't jump around when we move the cursor.
  2696. 2006-07-10 Jackson Harper <[email protected]>
  2697. * TextBoxBase.cs:
  2698. * ListBox.cs: Match MS's ToString (this makes debugging focus
  2699. stuff infinitely easier).
  2700. 2006-07-10 Jackson Harper <[email protected]>
  2701. * Control.cs (SelectNextControl): When checking the control's
  2702. parent use this instead of ctrl.parent so that null can be passed
  2703. to SelectNextControl. (I have unit tests for this).
  2704. - Remove unused var.
  2705. 2006-07-10 Chris Toshok <[email protected]>
  2706. * CurrencyManager.cs: correct one regression, the removal of the
  2707. finalType field. Also, add a MonoTODO on CanAddRows, implement
  2708. Refresh() correctly, and fix some event emission in
  2709. ListChangedHandler.
  2710. 2006-07-07 Alexander Olk <[email protected]>
  2711. * FileDialog.cs: Don't use brackets for new folders if they exist
  2712. under *nix. Instead use -(number of existing folders +1).
  2713. 2006-07-07 Alexander Olk <[email protected]>
  2714. * FileDialog.cs:
  2715. - Fixed really nasty bug #78771
  2716. - Don't block the whole GUI when reading directories with a lot of
  2717. entries. Use an other thread instead and call BeginInvoke to
  2718. update the ListView in MWFFileView
  2719. 2006-07-07 Chris Toshok <[email protected]>
  2720. * Control.cs (Dispose): release any Capture when disposing.
  2721. 2006-07-07 Chris Toshok <[email protected]>
  2722. * LinkLabel.cs (Select): if we chain up to the parent, set
  2723. focused_index to -1 so we'll search for the first available link
  2724. the next time the user tabs into us. Also, if the direction is
  2725. backward and focused_index == -1, start the search from the last
  2726. element.
  2727. 2006-07-07 Chris Toshok <[email protected]>
  2728. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  2729. is beyond the end of the text, don't do anything.
  2730. (CreateLinkPieces): set our ControlStyles.Selectable based on
  2731. whether or not we have any links.
  2732. (Link.Invalidate): use a loop instead of foreach.
  2733. (Link.set_Start): null out owner.sorted_links so it'll be
  2734. recreated by CreateLinkPieces.
  2735. 2006-07-06 Chris Toshok <[email protected]>
  2736. * LinkLabel.cs: revert the SetStyle change.
  2737. 2006-07-06 Chris Toshok <[email protected]>
  2738. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  2739. (OnEnableChanged): s/Refresh/Invalidate
  2740. (OnGotFocus): if we have a focused index already, refocus it (so
  2741. if we mouse out/in to the window it'll focus the right link).
  2742. (OnKeyDown): move the tab handling out of here.
  2743. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  2744. when we lose focus.
  2745. (OnMouseDown): don't Capture here - Control handles it. Also,
  2746. focus the active link.
  2747. (OnMouseUp): don't deal with Capture.
  2748. (OnPaintBackgroundInternal): remove.
  2749. (OnTextAlignChanged): CreateLinkPieces before calling the
  2750. superclass's method.
  2751. (OnTextChanged): call CreateLinkPieces before calling superclass's
  2752. method.
  2753. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  2754. move around.
  2755. (Select): implement this, moving the selection between different
  2756. links, and call parent.SelectNextControl if we don't have another
  2757. link to focus in the given direction.
  2758. (CreateLinkPieces): call Invalidate instead of Refresh.
  2759. 2006-07-06 Chris Toshok <[email protected]>
  2760. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  2761. new LinkLabel internals.
  2762. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  2763. over pieces looking for active/focused/etc links. also, deal with
  2764. runs of text (and links) with embedded \n's in them, and use
  2765. MeasureCharacterRanges instead of MeasureString to figure out the
  2766. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  2767. two-step.
  2768. 2006-07-04 Jackson Harper <[email protected]>
  2769. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  2770. XKB or key auto repeat, do it manually. Without key auto repeat,
  2771. when a key is held down we get key press, key release, key press,
  2772. key release, ... with auto repeat we get key press, key press, key
  2773. press ..., and then a release when the key is actually released.
  2774. 2006-07-03 Jackson Harper <[email protected]>
  2775. * TabControl.cs:
  2776. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  2777. rules, they are always control color regardless of the background
  2778. color.
  2779. 2006-07-02 Alexander Olk <[email protected]>
  2780. * FileDialog.cs: Added internal class MWFConfig.
  2781. Removed Registry support and replaced it with support for the new
  2782. MWFConfig class. See MWFConfig comments for more information.
  2783. 2006-06-30 Alexander Olk <[email protected]>
  2784. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  2785. rectangle. Added some patches from eno from bug #78490 and fixed
  2786. the arrow position for small up and down CPDrawScrollButtons.
  2787. 2006-06-30 Jackson Harper <[email protected]>
  2788. * InternalWindowManager.cs: Remove some debug code.
  2789. * Form.cs: When an MdiParent is set to null, the window is
  2790. "detatched" and becomes a normal window.
  2791. * MdiClient.cs: Don't bring the new child form to the front until
  2792. it is activated (setting it as active does this), this makes the
  2793. previously active forms titlebar get redrawn as inactive.
  2794. 2006-06-29 Peter Dennis Bartok <[email protected]>
  2795. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  2796. with later controls
  2797. 2006-06-29 Mike Kestner <[email protected]>
  2798. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  2799. arrow in keynav state. Fixes #78682.
  2800. 2006-06-28 Atsushi Enomoto <[email protected]>
  2801. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  2802. order (fixes #78393)
  2803. 2006-06-28 Jonathan Pobst <[email protected]>
  2804. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  2805. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  2806. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  2807. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  2808. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  2809. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  2810. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  2811. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  2812. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  2813. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  2814. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  2815. values)
  2816. 2006-06-28 Mike Kestner <[email protected]>
  2817. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  2818. 2006-06-28 Atsushi Enomoto <[email protected]>
  2819. * PropertyGrid.cs,
  2820. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  2821. item lines from other area (It also makes BackColor consistent and
  2822. compatible with .NET). Fixed bug #78564.
  2823. 2006-06-28 Jonathan Chambers <[email protected]>
  2824. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  2825. Patch from Eno for #78555.
  2826. 2006-06-27 Chris Toshok <[email protected]>
  2827. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  2828. * DataGridColumnStyle.cs: same.
  2829. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  2830. * DataGridDrawingLogic.cs: nuke.
  2831. 2006-06-27 Chris Toshok <[email protected]>
  2832. * DataGridTableStyle.cs: clean up the constructors, and build the
  2833. list of child relations for this table. I have no idea if this is
  2834. where we should be doing it (it probably isn't), but since we're
  2835. already iterating over the properties..
  2836. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  2837. struct and array for keeping track of row information, similar to
  2838. what's shown in a hack on
  2839. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  2840. * Theme.cs: be consistent about the naming of DataGrid methods,
  2841. prefering ColumnWidths and RowHeights over columnsWidths and
  2842. RowsHeights.
  2843. * ThemeWin32Classic.cs: same, and also add support for variable
  2844. sized rows (and the +/- expansion icons for related rows).
  2845. 2006-06-27 Peter Dennis Bartok <[email protected]>
  2846. * TextBoxBase.cs: Applied Eno's patch from #78660
  2847. 2006-06-27 Peter Dennis Bartok <[email protected]>
  2848. * Form.cs (ScaleCore): We don't want to scale our form if it's
  2849. state is minimized or maximized, but we still need to scale our
  2850. child windows. Also, added try/finally block to ensure layout
  2851. gets reset (Fixes #78697)
  2852. 2006-06-27 Peter Dennis Bartok <[email protected]>
  2853. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  2854. 2006-06-27 Peter Dennis Bartok <[email protected]>
  2855. * Form.cs: Fixed c+p error and added check to resize form if minimum
  2856. size is bigger than current size (Fixes #78709)
  2857. 2006-06-26 Peter Dennis Bartok <[email protected]>
  2858. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  2859. 2006-06-26 Mike Kestner <[email protected]>
  2860. * ComboBox.cs: only do Keypress handling in the combo when there
  2861. are items in the collection. Fixes #78710.
  2862. 2006-06-26 Chris Toshok <[email protected]>
  2863. * Binding.cs: make this work bi-directionally. also, clear up
  2864. other mixups between Push/Pull Data (e.g. we're supposed to pull
  2865. data when validating).
  2866. * BindingManagerBase.cs: trim some fully qualified collection
  2867. types.
  2868. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  2869. 2006-06-23 Chris Toshok <[email protected]>
  2870. * PropertyManager.cs: It appears (according to the unit tests)
  2871. that PropertyManager doesn't use
  2872. PropertyDescriptor.AddValueChanged to track propery value changes
  2873. in its datasource, but uses the same scheme as Binding, where it
  2874. looks for a <Property>Changed event and binds to it.
  2875. Also, according to the docs, IsSuspended always returns false for
  2876. a property manager with a non-null datasource.
  2877. 2006-06-22 Peter Dennis Bartok <[email protected]>
  2878. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  2879. need to update the actual DialogResult. (Fixes #78613)
  2880. 2006-06-22 Peter Dennis Bartok <[email protected]>
  2881. * Form.cs (ShowDialog): Release any captures before running the
  2882. new message pump (fixes #78680)
  2883. 2006-06-22 Mike Kestner <[email protected]>
  2884. * ListView.cs: Layout column widths properly in details mode even
  2885. if HeaderStyle.None is set. Fixes #78691.
  2886. 2006-06-21 Peter Dennis Bartok <[email protected]>
  2887. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  2888. 2006-06-21 Peter Dennis Bartok <[email protected]>
  2889. * Control.cs (ContainsFocus): Using new driver method to get focused
  2890. window, instead of trying to use internal tracking var, which can
  2891. recursion issues (Fixes #78685)
  2892. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  2893. XplatUIWin32.cs: Added GetFocus method to return focused window
  2894. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  2895. * ColorDialog.cs: when the mouse button is pressed inside the color
  2896. matrix, don't let the cursor move out of it until the button is
  2897. released, which is the behavior on windows. Changed 'colours' by
  2898. 'colors' to use the same word consistently.
  2899. 2006-06-21 Chris Toshok <[email protected]>
  2900. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  2901. child relation and back, using a stack). Also, remove
  2902. GetDataSource and the code that calls it - it's not needed. Also,
  2903. track CurrencyManager.ListName's removal.
  2904. 2006-06-21 Chris Toshok <[email protected]>
  2905. * CurrencyManager.cs: push some of the original type checking from
  2906. BindingContext.CreateBindingManager to here, and remove some of
  2907. the finalType stuff. Need more tests to make sure I've got the
  2908. ListName part right, and we might need more in SetDataSource.
  2909. * PropertyManager.cs: add a ctor that takes just the datasource,
  2910. and no property name. Make SetDataSource work with a null
  2911. property_name, and make Current return the data_source if the
  2912. property descriptor is null. this makes 'string foo = "hi";
  2913. BindingContext[foo].Current' return "hi" as it should.
  2914. * RelatedCurrencyManager.cs: make this code more generic - there's
  2915. no reason the parent manager has to be CurrencyManager, and
  2916. there's no reason to pass the DataRelation. It suffices to use a
  2917. BindingManagerBase and PropetyDescriptor.
  2918. * RelatedPropertyManager.cs: make a similar change here.
  2919. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  2920. flower I knew it could be.
  2921. 2006-06-20 Chris Toshok <[email protected]>
  2922. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  2923. data in the source has changed and we need to update the control,
  2924. so s/PullData/PushData.
  2925. * CurrencyManager.cs: Refresh is meant to update the control from
  2926. data in the datasource. So, s/PullData/PushData.
  2927. * BindingContext.cs: add more ugliness (we weren't handling the
  2928. case where data_source = DataTable and data_member = column_name).
  2929. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  2930. from the perspective of the datasource. PullData pulls from the
  2931. control, PushData pushes to the control.
  2932. 2006-06-20 Chris Toshok <[email protected]>
  2933. * BindingContext.cs: rewrite the CreateBindingManager code to
  2934. handle navigation paths more or less properly. This could
  2935. definitely stand some more work, in particular to push the
  2936. recursion up to the toplevel. But that relies on fixes in other
  2937. places (System.Data comes to mind).
  2938. Also, move to a flat hashtable (and encode the twolevel nature of
  2939. the dictionary into the hash key). This lets us implement the
  2940. IEnumerable.GetEnumerator method.
  2941. * RelatedCurrencyManager.cs: new class. Update our view based on
  2942. our relation and our parent CurrencyManager's position.
  2943. * CurrencyManager.cs: split out some logic from the ctor into
  2944. SetView, so it can be called from the new RelatedCurrencyManager
  2945. subclass.
  2946. * RelatedPropertyManager.cs: new class. Update our datasource
  2947. based on the position of our parent CurrencyManager.
  2948. * PropertyManager.cs: split out some logic from the ctor into
  2949. SetDataSource, so it can be called from the new RelatedDataSource
  2950. subclass. Also, make the Current getter return the value
  2951. of the PropertyDescriptor, not the data_source.
  2952. * Binding.cs: no need to duplicate the string splitting code here.
  2953. 2006-06-19 Peter Dennis Bartok <[email protected]>
  2954. * Control.cs:
  2955. - set_Enabled: OnEnabledChanged is not called if the inherited state
  2956. of the control is not altered, even though we might be changing the
  2957. internal state of the control (#78458)
  2958. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  2959. OnEnabledChanged, to allow easy altering of any child window state
  2960. - OnEnabledChanged: Added code to enable/disable driver window state
  2961. - OnParentEnabledChanged: Instead of firing the event, call
  2962. OnEnabledChanged, which will fire the event and also a) set driver
  2963. window state and pass the enabled state to any grandchildren (#78458)
  2964. 2006-06-19 Jackson Harper <[email protected]>
  2965. * InternalWindowManager.cs: We don't set the cursor explicitly
  2966. thats done via the response to NCHITTESTs.
  2967. - Don't need to adjust for titlebar heights anymore, the
  2968. coordinates are coming in the correct coordinates now (see peters
  2969. last patch).
  2970. 2006-06-19 Peter Dennis Bartok <[email protected]>
  2971. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  2972. being translated relative to whole window, instead of client window.
  2973. That caused broken offsets on mouseclick (and caused gas for our
  2974. InternalWindowManager)
  2975. 2006-06-15 Peter Dennis Bartok <[email protected]>
  2976. * TextControl.cs:
  2977. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  2978. - Undo(): Added replay of cursor move on DeleteChars action; added
  2979. calling Undo() again if a recorded cursor move is invalid (to
  2980. ensure that some action is performed on Undo)
  2981. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  2982. 2006-06-16 Jackson Harper <[email protected]>
  2983. * MdiClient.cs: Instead of just sizing maximized windows when
  2984. there is a resize we also have to adjust the Y of minimized
  2985. windows, so they stay pinned to the bottom of the mdi container.
  2986. - Eliminate separate tracking of the active control, we can just
  2987. get this from the controls collection.
  2988. - Paint the decorations for the newly activated titlebar so we get
  2989. a pretty blue bar.
  2990. * InternalWindowManager.cs:
  2991. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  2992. even if they are a tool window.
  2993. 2006-06-15 Peter Dennis Bartok <[email protected]>
  2994. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  2995. undo buffer, these can happen when text was deleted and the cursor
  2996. was recorded first. Since we will also have a recorded cursor
  2997. after the delete this is not an issue. (Fixes #78651)
  2998. 2006-06-14 Peter Dennis Bartok <[email protected]>
  2999. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  3000. instead properly track control states internally (allows us to
  3001. remove is_selected from Control)
  3002. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  3003. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  3004. whose width is not a multiple of 8.
  3005. 2006-06-13 Jackson Harper <[email protected]>
  3006. * MdiClient.cs: Only maximize the next child if the current one
  3007. is maximized.
  3008. 2006-06-13 Chris Toshok <[email protected]>
  3009. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  3010. modified. Also, guard against grid or grid_drawing being null in
  3011. Invalidate.
  3012. * DataGrid.cs: Reformat tons of getters/setters. In the
  3013. DataMember setter, just call SetNewDataSource instead of
  3014. duplicating some of its functionality. In SetNewDataSource, don't
  3015. check ListManager for null, since the property getter creates the
  3016. object if needed.
  3017. * DataGridTableStyle.cs: don't set TableStyle or call
  3018. SetDataGridInternal on the column here, it's done in
  3019. GridColumnStylesCollection.Add.
  3020. * GridColumnStylesCollection.cs: fix all the explicit interface
  3021. implementations to just call our methods. Nuke AddInternal() and
  3022. move the body of it to Add(). Also, add a call to
  3023. column.SetDataGridInternal to Add().
  3024. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  3025. base()+duplicate code. Also, use the Format property instead of
  3026. format to generate an Invalidate ala MS. Lastly, create the
  3027. textbox here, unconditionally.
  3028. (set_Format): call Invalidate.
  3029. (get_TextBox): no need to call EnsureTextBox.
  3030. (Commit): remove the message box.
  3031. (Edit) remove the call to EnsureTextBox.
  3032. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  3033. (EnterNullValue): no need to check textbox for null.
  3034. (HideEditBox): no need to check textbox for null.
  3035. (SetDataGridInColumn): add the textbox to the grid's controls.
  3036. (EnsureTextBox): nuke.
  3037. 2006-06-13 Jackson Harper <[email protected]>
  3038. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  3039. and redraw the buttons when needed. Unhook when the window is
  3040. unmaximized.
  3041. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  3042. needs this so that it can redraw its buttons when the menu is
  3043. repainted.
  3044. * InternalWindowManager.cs:
  3045. * Form.cs: The method order has changed for DrawMaximizedButtons,
  3046. so that it can be a PaintEventHandler.
  3047. 2006-06-13 Jackson Harper <[email protected]>
  3048. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  3049. window is activated and maximized, even if it wasn't before.
  3050. - When a new window is activated repaint the decorations of the
  3051. old one, so that it no longer has the Active "look" (the blue
  3052. titlebar).
  3053. * InternalWindowManager.cs: Open up CreateButtons to base classes
  3054. so they can recreate the buttons on state changes.
  3055. - If a window is maximized give it all three buttons
  3056. * MdiWindowManager.cs: Create the titlebar buttons when the state
  3057. is changed, this is needed because a toolwindow will not have all
  3058. three buttons until it is maximized.
  3059. 2006-06-13 Atsushi Enomoto <[email protected]>
  3060. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  3061. Fixed bug #78609.
  3062. 2006-06-12 Jackson Harper <[email protected]>
  3063. * KeysConverter.cs: Make sure we handle the Ctrl special case
  3064. if its the only key.
  3065. 2006-06-12 Jackson Harper <[email protected]>
  3066. * Theme.cs: Add a method to get the size of a managed window
  3067. toolbar button.
  3068. * InternalWindowManager.cs: Remove the ButtonSize property, this
  3069. should be retrieved from the theme.
  3070. * MdiWindowManager.cs: Get the button size from the theme
  3071. * ThemeWin32Classic.cs: Make the method to get the managed window
  3072. titlebar button size public.
  3073. - Handle the different button sizes of maximized toolwindows
  3074. (should match any maximized window).
  3075. - Get the titlebar height from the theme, not the WM (which gets
  3076. it from the theme).
  3077. 2006-06-12 Jackson Harper <[email protected]>
  3078. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  3079. event down to the mdi window manager.
  3080. - Expose some extra stuff to base classes
  3081. - Make sure to end the Capture on an NC Mouse up, so that we can
  3082. get double clicks properly, and the sizing doens't stick.
  3083. - When doing PointToClient contain it in the workable desktop
  3084. area, this prevents windows from changing size when the cursor is
  3085. pulled outside of the working area while sizing.
  3086. * MdiWindowManager.cs: When we get a double click maximize the
  3087. window.
  3088. - Reset the cursor after handling mode changes.
  3089. 2006-06-12 Peter Dennis Bartok <[email protected]>
  3090. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  3091. current desktop, instead of just assuming a 0, 0 origin. This
  3092. is needed for our internal window manager, to know the top
  3093. margin of the desktop
  3094. 2006-06-12 Chris Toshok <[email protected]>
  3095. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  3096. we need this to get rid of the selected background in the bool
  3097. column.
  3098. (CancelEditing): move the ConcedeFocus call to above the Abort
  3099. call. Also, set is_changing to false and invalidate the row
  3100. header if we were changing before.
  3101. (ProcessKeyPreviewInternal): remove, since noone outside this
  3102. class calls it anymore. Roll the code into ProcessKeyPreview.
  3103. (EndEdit): remove the internal version.
  3104. (InvalidateCurrentRowHeader): make private.
  3105. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  3106. Keys.Escape handling (and with it the last call to
  3107. DataGrid.EndEdit from outside the class.)
  3108. 2006-06-12 Chris Toshok <[email protected]>
  3109. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  3110. (OnKeyPress): set isedit to true.
  3111. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  3112. already handled by the grid.
  3113. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  3114. right. ugh.
  3115. (set_DataSource): SetDataSource always returns true, so stop
  3116. putting it in an if statement.
  3117. (EndEdit): get rid of some {}'s
  3118. (ProcessGridKey): return true in case Keys.Escape.
  3119. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  3120. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  3121. PositionChanged, stopped connecting to CurrentChanged.
  3122. (GetDataSource): simplify this a bunch.
  3123. (SetDataSource): change return type from bool to void.
  3124. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  3125. to this, and make sure we don't set ListManager.Position inside
  3126. set_CurrentCell.
  3127. (OnListManagerItemChanged): if we're passed an actual index,
  3128. redraw that row.
  3129. * CurrencyManager.cs (set_Position): don't call PullData here.
  3130. 2006-06-09 Jackson Harper <[email protected]>
  3131. * TreeNode.cs: Recalculate the visible order before doing the
  3132. Expand/Collapse Below calls, because those calls generate an
  3133. expose.
  3134. - Reduce calls to the TreeView property, which is mildly expensive
  3135. by using a local var.
  3136. * Form.cs: Layout the MDI child windows when creating the parent
  3137. form.
  3138. - Don't use the internal constructor anymore
  3139. * MdiClient.cs: use the parent form width/height (if available)
  3140. when laying out the child windows, we do this because the
  3141. mdiclient isn't docked yet when the initial layout is done.
  3142. - Don't need an internal constructor anymore.
  3143. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  3144. * FileDialog.cs: handle access errors when trying to create a folder
  3145. or changing to a directory. No need to initialize out parameters.
  3146. 2006-06-08 Alexander Olk <[email protected]>
  3147. * FileDialog.cs: Append a number when creating a new folder if the
  3148. folder already exists (use parenthesis instead of square brackets)
  3149. 2006-06-08 Alexander Olk <[email protected]>
  3150. * FileDialog.cs:
  3151. - Disabled registry support for windows and added better registry
  3152. error checking for other systems (need to investigate why it
  3153. works perfectly on my system)
  3154. - If a folder already exist show an error MessageBox instead of
  3155. trying to create an indexed name.
  3156. - Fixed a non intentional typo.
  3157. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  3158. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  3159. 2006-06-08 Alexander Olk <[email protected]>
  3160. * FileDialog.cs: When creating a new folder don't crash if the
  3161. folder already exists.
  3162. 2006-06-08 Alexander Olk <[email protected]>
  3163. * FileDialog.cs: Allmost a complete rewrite.
  3164. - added a "virtual" file system that handles the differences
  3165. between unix and windows file systems (especially the directory
  3166. structure). Moved most of the directory and file handling code
  3167. into the vfs.
  3168. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  3169. UnixFileSystem and FSEntry.
  3170. - Recently used folder/directory, size, location and used file names
  3171. (file name ComboBox) are now stored in the registry and get read
  3172. before the dialog shows up (fixes part 6 of bug #78446).
  3173. - Creation of new folders/directories is now possible (context menu
  3174. or ToolBar). Added TextEntryDialog for this that fills in the gap
  3175. until ListView.LabelEdit works.
  3176. - Fixed cursor handling (bug #78527) and focus handling for
  3177. PopupButtonPanel
  3178. - Various "Search in" ComboBox enhancements. The content of the
  3179. dropdown listbox now almost matches ms.
  3180. - Changed the behaviour when the user switches to SpecialFolder
  3181. Recent to show the ListView in View.Details.
  3182. - Beside using the ToolBar to change the View property of the
  3183. file ListView it is now possible to use the context menu too.
  3184. 2006-06-08 Alexander Olk <[email protected]>
  3185. * ComboBox.cs: Don't create a new ObjectCollection when an item
  3186. gets inserted. Just insert the item in the existing object_items
  3187. ArrayList.
  3188. 2006-06-08 Jackson Harper <[email protected]>
  3189. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  3190. that the treeview and root node checks are done also, this fixes a
  3191. regression i caused in the unit tests.
  3192. 2006-06-07 Wade Berrier <[email protected]>
  3193. * RichTextBox.cs: More ISO8859-1 -> unicode
  3194. 2006-06-07 Mike Kestner <[email protected]>
  3195. * ComboBox.cs : use items to hold highlight/selection so that
  3196. collection insertions don't require synchronization.
  3197. 2006-06-07 Jackson Harper <[email protected]>
  3198. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  3199. routine. We now always keep the sized edge at the cursor instead
  3200. of computing movement and adjusting rects. There is one buglet
  3201. with this method though when the cursor is moved over area that
  3202. the window can not expand too (such as the toolbars on the desktop).
  3203. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  3204. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  3205. here. Fixes crash on startup in AlbumSurfer.
  3206. 2006-06-07 Peter Dennis Bartok <[email protected]>
  3207. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  3208. values
  3209. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  3210. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  3211. statement to avoid calling XNextEvent which will block if another thread
  3212. took the event that we were expecting. Fixes bug #78605.
  3213. 2006-06-07 Mike Kestner <[email protected]>
  3214. * ListView.cs : isolated checkbox clicking from the selection logic.
  3215. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  3216. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  3217. * Form.cs: Check that the value passed to Form.DialogResult
  3218. is a valid enum value.
  3219. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  3220. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  3221. Computer'. Clicking it in the network view goes to 'My Computer'.
  3222. Added CIFS filesystem type. Display the mount point of filesystems.
  3223. Avoid duplicate mount points (happens for me with CIFS);
  3224. 2006-06-06 Jackson Harper <[email protected]>
  3225. * InternalWindowManager.cs: Draw the maximized windows buttons
  3226. when resizing.
  3227. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  3228. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  3229. all other dialogs. Fixes bug #78585.
  3230. 2006-06-06 Mike Kestner <[email protected]>
  3231. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  3232. Only invalidate checkbox on checkstate changes to avoid flicker.
  3233. * ListBox.cs : avoid unselect/select when clicking selected item.
  3234. avoid reselection flicker for already multiselected items.
  3235. Fixes #78382.
  3236. 2006-06-06 Jackson Harper <[email protected]>
  3237. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  3238. the parent form so that the menu is removed if needed.
  3239. 2006-06-06 Mike Kestner <[email protected]>
  3240. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  3241. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  3242. 2006-06-06 Mike Kestner <[email protected]>
  3243. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  3244. 2006-06-06 Jackson Harper <[email protected]>
  3245. * Control.cs: Use the property (instead of the field) to get the
  3246. default cursor so it is instantiated correctly.
  3247. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  3248. resizes so we need to manually repaint the window decorations here.
  3249. - Set the titlebar button locations as soon as they are created,
  3250. otherwise they are not set correctly on win32.
  3251. 2006-06-06 Chris Toshok <[email protected]>
  3252. * CurrencyManager.cs (set_Position): call PullData before
  3253. OnCurrentChanged.
  3254. (AddNew): after calling IBindingList.AddNew, update our
  3255. listposition, and call OnCurrentChanged/OnPositionChanged (without
  3256. calling PullData).
  3257. (OnCurrentChanged): remove the call to PullData from here.
  3258. (OnItemChanged): remove the call to PushData from here.
  3259. (OnPositionChanged): change the test from == null to != null to
  3260. match the other methods.
  3261. (ListChangedHandler): the grossest part of the patch. Implement
  3262. this such that it passes the unit tests in CurrencyManagerTest and
  3263. the output more or less matches that of MS's implementation.
  3264. 2006-06-06 Mike Kestner <[email protected]>
  3265. * ListView.cs : only update check state on single click.
  3266. * ThemeWin32Classic.cs : fix focus drawing for details view without
  3267. fullrowselect. Fixes #78454.
  3268. * XplatUIX11.cs : fix for double click emission.
  3269. 2006-06-05 Jonathan Chambers <[email protected]>
  3270. * PropertyGridView.cs : Applied Atsushi's patch to fix
  3271. font dialog bug (#78197).
  3272. 2006-06-05 Jackson Harper <[email protected]>
  3273. * TreeNode.cs: Compute the next node for expanding/collapsing
  3274. correctly. We now factor in nodes without a NextNode
  3275. correctly. (Fixes somes cases in nunit-gui).
  3276. * InternalWindowManager.cs: Set the bounds when updating the
  3277. virtual position of a tool window.
  3278. 2006-06-05 Chris Toshok <[email protected]>
  3279. * DataGrid.cs: rename cached_currencymgr to list_manager.
  3280. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  3281. some.
  3282. (CurrentRow, CurrentColumn): single accessors so we can make the
  3283. cursor movement code a lot easier to understand.
  3284. (CurrentRowIndex): implement this in terms of CurrentRow.
  3285. (BeginEdit): clean this up a bit.
  3286. (CancelEditing): sort out the is_editing/is_changing/is_adding
  3287. stuff a little.
  3288. (EndEdit): minor changes.
  3289. (OnKeyDown): add a comment about a (most likely) unnecessary
  3290. check.
  3291. (OnMouseDown): cancel editing when we click on a row header. And
  3292. use the CurrentRow setter, not CurrentCell.
  3293. (ProcessDialogKey): directly call ProcessGridKey.
  3294. (UpdateSelectionAfterCursorMove): factor out this common block of
  3295. code (it's used everywhere that we move the cursor by updating row
  3296. or column).
  3297. (ProcessGridKey): pretty substantial overhaul. Use the
  3298. CurrentRow/CurrentColumn properties to make the code a lot more
  3299. readable. Only use the CurrentCell property when we have to
  3300. modify both row and column at once. Tab behavior is still broken,
  3301. and Delete is untested.
  3302. (Select): if we have no selected rows, set selection_start to
  3303. @row.
  3304. (EditCurrentCell): rename EditCell this. It was only ever invoked
  3305. with CurrentCell as the arg, so drop the arg and rename it.
  3306. * DataGridColumnStyle.cs: clean up the constructors a little, and
  3307. drop CommonConstructor().
  3308. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  3309. actually get notified when the user hits it.
  3310. (ProcessKeyMessage): *substantially* simplify this method.
  3311. There's no reason (that I can see) for the textbox to be making
  3312. calls into the datagrid at all. Remove all of them but the ones
  3313. for Enter handling. those will take some more work.
  3314. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  3315. calling HideEditBox.
  3316. (HideEditBox): if we have an active textbox, render it invisible
  3317. without causing a re-layout of the datagrid.
  3318. 2006-06-05 Mike Kestner <[email protected]>
  3319. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  3320. collection changes by resetting it to Items[0]. Fixes #78587.
  3321. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  3322. * MessageBox.cs: if the height of the text is larger than the icon_size,
  3323. use that. Fixes bug #78575.
  3324. 2006-06-05 Jackson Harper <[email protected]>
  3325. * TreeView.cs: Fix line drawing when scrolling. To do this each
  3326. node is basically responsible for drawing its entire horizontal
  3327. area. When drawing a node it draws its parent node lines if
  3328. needed.
  3329. - Adjust the clip area to the viewport rectangle
  3330. - Fix Left/Right key handling to match MS. (It expand/collapses
  3331. and moves to parents/first child but does not move selection to
  3332. sibling nodes).
  3333. - Fix SetTop to work with new bound calculation code
  3334. - When scrollbars are no longer needed we need to reset scrolling
  3335. vars and recalculate the visible order so the redraw is correct
  3336. * TreeNode.cs: We can't expand/collapse nodes with no children.
  3337. 2006-06-03 John Luke <[email protected]>
  3338. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  3339. so the colors work without dev packages
  3340. 2006-06-02 Peter Dennis Bartok <[email protected]>
  3341. * Control.cs
  3342. - Select: Implemented to just use activate. Seems to match MS
  3343. behaviour closest. Documented to only do actual control walking
  3344. based on it's parameters if in a container control so I moved
  3345. the code there.
  3346. - Removed selection check logic from our internal Select() method
  3347. * ContainerControl.cs:
  3348. - Select: Moved selection logic from Control here, since MS documents
  3349. that containers obey the bool arguments. No longer calling base
  3350. 2006-06-02 Jackson Harper <[email protected]>
  3351. * TreeView.cs: If the selected node isn't changed when we get
  3352. focus update the previously selected node so that we see the
  3353. selection box.
  3354. 2006-06-02 Mike Kestner <[email protected]>
  3355. * ComboBox.cs: restructure grab and general mouse event handling.
  3356. Make the composite control raise mouse events like it was a single
  3357. control for leaves/enters/motion/up/down events. fix dropdown list
  3358. coordinate mangling and refactor it into the scrollbar subclass to
  3359. reduce code duplication. Fixes #78282 #78361 and #78457.
  3360. 2006-06-02 Mike Kestner <[email protected]>
  3361. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  3362. automatically in the Control.WndProc.
  3363. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  3364. * FileDialog.cs: fix crash when running SharpChess, which sets the
  3365. FilterIndex to 2 with only one Filter.
  3366. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  3367. * ToolBar.cs: add SizeSpecified property.
  3368. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  3369. try to figure out our real size, otherwise fallback to what the
  3370. container says.
  3371. 2006-06-01 Peter Dennis Bartok <[email protected]>
  3372. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  3373. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  3374. up the event
  3375. 2006-06-01 Mike Kestner <[email protected]>
  3376. * ListView.cs: revamp the focus management in ListView. It still
  3377. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  3378. better than not handling focus at all. Will revisit when pdb feels
  3379. the general focus handling is solid. Fixes #78526.
  3380. 2006-06-01 Jackson Harper <[email protected]>
  3381. * TreeView.cs: Set the default border style in the constructor.
  3382. - Move painting to use OnPaintInternal instead of capturing
  3383. WM_PAINT, this is the correct way of doing things
  3384. - UpdateBelow shouldn't invalidate the scrollbar area
  3385. - Cap the top on update below in case the node was above the top
  3386. of the viewport rectangle.
  3387. - ExpandBelow and Collapse below need to obey Begin/End Update.
  3388. * TreeNode.cs: Make is_expanded internal so the treenode
  3389. collection can change it without firing the whole event chain.
  3390. * TreeNodeCollection.cs: When clearing all the child nodes make
  3391. sure to recalc the visible order.
  3392. - Improve algo for remove the top node
  3393. 2006-06-01 Peter Dennis Bartok <[email protected]>
  3394. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  3395. SendMessage directly calling window procedures, which in turn might
  3396. call SetFocus()
  3397. 2006-06-01 Peter Dennis Bartok <[email protected]>
  3398. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  3399. has focus (works around X11 sending a FocusIn after our SetFocus)
  3400. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  3401. 2006-06-01 Alexander Olk <[email protected]>
  3402. * Mime.cs: Fix for the NET_2_0 build.
  3403. NameValueCollection needs StringComparer now.
  3404. 2006-05-31 Chris Toshok <[email protected]>
  3405. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  3406. return (via an out parameter) the starting X of the column.
  3407. (UpdateVisibleColumn): track change to FromPixelToColumn.
  3408. (HitTest): add a ColumnResize case here.
  3409. (DrawResizeLine): new function, probably poorly named.
  3410. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  3411. only need to keep one reference.
  3412. (set_ListManager): same.
  3413. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  3414. Also, add support for HitTestType.ColumnResize.
  3415. (OnMouseMove): add column resize behavior here, and change the
  3416. cursor to the correct one as we move around the datagrid.
  3417. (OnMouseUp): terminate the column resize if we're resizing.
  3418. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  3419. for the current cell.
  3420. (ConnectListManagerEvents): use cached_currencymgr.
  3421. (DisconnectListManagerEvents): fill this in, using
  3422. cached_currencymgr.
  3423. (SetCurrentCell): remove cached_currencymgr_events handling.
  3424. (SetDataMember): only call DisconnectListManagerEvents if
  3425. cached_currencymgr is != null.
  3426. (SetDataSource): same.
  3427. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  3428. cached_currencymgr.
  3429. 2006-05-31 Jackson Harper <[email protected]>
  3430. * BindingManagerBase.cs: Remove somedebug code that creeped into
  3431. SVN.
  3432. * TreeNode.cs: We get the indent level dynamically right now, so
  3433. don't track it as a member.
  3434. * TreeNodeCollection.cs: Make sure all nodes added to the list
  3435. have parents, treeviews/topnodes setup properly.
  3436. - Don't attempt to track indent level.
  3437. 2006-05-30 Jackson Harper <[email protected]>
  3438. * BindingContext.cs: Create the currency manager tables here.
  3439. This allows us to more easily create null tables (when bad data
  3440. members are used), and more easily create related currency
  3441. managers.
  3442. * CurrencyManager.cs: All the table creation stuff is done by the
  3443. binding context now.
  3444. - Current should throw an exception if listposition is -1.
  3445. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  3446. been bound yet.
  3447. 2006-05-30 Mike Kestner <[email protected]>
  3448. * ListView.cs: allow reexpansion of zero-width column headers.
  3449. Fixes #78528.
  3450. 2006-05-28 Chris Toshok <[email protected]>
  3451. * CurrencyManager.cs (get_Current): after the late binding
  3452. listposition = -1 fix, we need to guard against it here and return
  3453. null, otherwise we raise an exception (which is swallowed
  3454. elsewhere, and breaks datagrid databinding.)
  3455. 2006-05-26 Peter Dennis Bartok <[email protected]>
  3456. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  3457. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  3458. 2006-05-26 Jackson Harper <[email protected]>
  3459. * ControlPaint.cs:
  3460. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  3461. values, it's faster and it's all we care about (we don't care if
  3462. the names aren't equal).
  3463. * KeyboardLayouts.cs: Eliminate some dead code.
  3464. - Lazy init things
  3465. * X11Keyboard.cs: Lazy init keyboard detection.
  3466. - Cleanup access modifiers a little.
  3467. 2006-05-26 Peter Dennis Bartok <[email protected]>
  3468. * XplatUIX11.cs: Once again, attempting to get layout just right.
  3469. 2006-05-26 Peter Dennis Bartok <[email protected]>
  3470. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  3471. the sizes of each link section, that will result in sizes that
  3472. match DrawString's layout (Fixes #78391)
  3473. 2006-05-27 Alexander Olk <[email protected]>
  3474. * FileDialog.cs: If AddExtension property is true autocomplete the
  3475. extensions in SaveFileDialog correctly. Fixes bug #78453.
  3476. Set MyNetwork and MyComputer to "C:\" for windows. This should
  3477. fix part 8 of bug #78446 for now.
  3478. 2006-05-26 Chris Toshok <[email protected]>
  3479. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  3480. invalidate the current row header if we need to, but presumably
  3481. we'll invalidate the row corrsponding to the bounds or
  3482. editingControl.
  3483. (GridHScrolled): switch back to this method, as it's part of the
  3484. public api. *sigh*.
  3485. (GridVScrolled): same.
  3486. (OnMouseWheel): hack up something that more or less works. Call
  3487. GridHScrolled/GridVScrolled directly, instead of duplicating much
  3488. of their code here.
  3489. (EnsureCellVisibility): reinstate a bunch of this code, since we
  3490. can't just set the scrollbar Value and expect to do all the work
  3491. in the ValueChanged handler. Also, Call Update() after scrolling
  3492. in one direction so the other XplatX11.ScrollWindow call has the
  3493. proper stuff in the proper places.
  3494. (EditCell): set is_editing to true before calling .Edit.
  3495. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  3496. don't bother comparing first.
  3497. (OnKeyPress): call grid.ColumnStartedEditing before calling
  3498. base.OnKeyPress. this will set is_changing and invalidate the row
  3499. header if necessary.
  3500. (ProcessKeyMessage): for WM_CHAR messages, call
  3501. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  3502. and WM_KEYDOWN.
  3503. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  3504. it's done in the DataGrid.
  3505. (NextState): call grid.ColumnStartedEditing, which takes care of
  3506. invalidating the row header (and setting is_changing).
  3507. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  3508. here. it's done in the DataGrid.
  3509. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  3510. * Control.cs: allow changing the cursor when the mouse position is
  3511. out of bounds but Capture is set.
  3512. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  3513. linklabel but released somewhere else.
  3514. 2006-05-25 Jackson Harper <[email protected]>
  3515. * TreeView.cs: When we get focus if there is no selected node make
  3516. it the top node
  3517. - Remove some uneeded setup code from Draw.
  3518. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  3519. a new node is inserted make the new node the top.
  3520. * XplatUIX11.cs:
  3521. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  3522. be used (should be faster).
  3523. 2006-05-25 Chris Toshok <[email protected]>
  3524. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  3525. problem with the last commit.
  3526. 2006-05-25 Chris Toshok <[email protected]>
  3527. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  3528. need the invalidate call here, while scrolling right-to-left via
  3529. the left arrow key (i.e. moving the editing cell while scrolling).
  3530. * DataGrid.cs (.ctor): remove the initialization of
  3531. ctrl_pressed/shift_pressed. We no longer track them using key
  3532. up/down handlers, but by using Control.ModifierKeys. Also, switch
  3533. to using ValueChanged handlers on the scrollbars instead of
  3534. Scrolled event handlers. This simplifies a bunch of the scrolling
  3535. code.
  3536. (GridHValueChanged): rename from GridHScrolled, and change it to
  3537. work with the new event args.
  3538. (GridVValueChanged): same.
  3539. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  3540. (OnMouseWheel): actually scroll the datagrid. Don't change the
  3541. selected cell.
  3542. (ProcessGridKey): correct all the keyboard navigation stuff I
  3543. could find. Ctrl up/down/left/right/home/end work now.
  3544. (EnsureCellVisibility): correct method name spelling. Also,
  3545. simplify this a touch by not explicitly calling the
  3546. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  3547. scrollbar value.
  3548. (OnKeyUpDG): no need for this method now.
  3549. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  3550. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  3551. Fixes bug #78392.
  3552. 2006-05-25 Chris Toshok <[email protected]>
  3553. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  3554. r61019.
  3555. 2006-05-25 Peter Dennis Bartok <[email protected]>
  3556. * Application.cs: Moved setting of is_modal and closing to before
  3557. we create the control, to allow the event handlers called as a
  3558. result of creation affect closing. Also removed Gonzalo's previous
  3559. change to setting DialogResult, the behaviour has been moved to
  3560. Form.ShowDialog()
  3561. * Form.cs:
  3562. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  3563. handle it instead
  3564. - ShowDialog(): If no dialog result is set, we need to return Cancel
  3565. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  3566. the close is cancelled
  3567. 2006-05-25 Jackson Harper <[email protected]>
  3568. * StatusBar.cs: We only need to update the sizes of the other
  3569. panels when we have auto size contents. Also we are only updating
  3570. the contents of the panel, not the borders, so compensate for the
  3571. border width (TODO: get this width from the theme somehow).
  3572. * TreeView.cs: Scrollable is true by default
  3573. - Use invalidate instead of refresh where needed
  3574. - Factor the scrollable value into scrollbar updating
  3575. - Update the scrollbars if the Scrollable property is altered
  3576. - Update the selected node if its ImageIndex is changed
  3577. - Handle null nodes in UpdateNode (mainly so we don't have to
  3578. check if selected is null when updating it
  3579. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  3580. are factored into the visible count
  3581. - Use VisibleCount for clarity in the code
  3582. - When the font is changed we need to recurse through all the
  3583. nodes and invalidate their sizes
  3584. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  3585. * Application.cs: set the DialogResult to fixed when the main form is
  3586. hidden or destroyed while being modal.
  3587. 2006-05-25 Miguel de Icaza <[email protected]>
  3588. * Theme.cs: Use Tangoified messagebox icons.
  3589. (GetSizedResourceImage): Also cope with width = 0 and do not
  3590. trigger a warning in that case (0 means "give me your icon from
  3591. the resouce, no special size needed).
  3592. 2006-05-25 Peter Dennis Bartok <[email protected]>
  3593. * Application.cs: Leave runloop if the the main modal form is
  3594. hidden (fixes #78484)
  3595. 2006-05-25 Atsushi Enomoto <[email protected]>
  3596. * BindingContext.cs : reject null datasource in Contains() and
  3597. Item[].
  3598. * CurrencyManager.cs : check data_member validity when data_source
  3599. is dataset. When it is late binding, the initial position is -1.
  3600. 2006-05-24 Jackson Harper <[email protected]>
  3601. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  3602. inserted nodes that aren't visible. This changes the
  3603. max_visible_order which confuses scrollbar settings.
  3604. - Use the enumerator to get the prev node instead of duplicating
  3605. code.
  3606. * TreeView.cs: Use new method for setting scrollbar values
  3607. - Don't set the bounds every time the scrollbar is updated
  3608. - When updating below the root node use an invalidate instead of a
  3609. refresh to prevent the child controls (scrollbars) from being
  3610. refreshed. (UpdateBelow still needs to be reworked anyways).
  3611. - Reenable SetBottom now that visible orders are set correctly,
  3612. added some debug code incase we ever get bad values there again.
  3613. - Set the scrollbar max to 2 less then the max value, this
  3614. compensates for the max value being one above the node count, and
  3615. for scrollbars adding one extra "notch".
  3616. - When drawing image nodes if there is an imagelist we draw the
  3617. first image in the list if the supplied image index is out of the
  3618. image list's bounds.
  3619. 2006-05-24 Peter Dennis Bartok <[email protected]>
  3620. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  3621. we receive a size change from the WM (Fixes #78503)
  3622. 2006-05-24 Peter Dennis Bartok <[email protected]>
  3623. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  3624. rectangle (Fixes #78501)
  3625. 2006-05-24 Peter Dennis Bartok <[email protected]>
  3626. * ButtonBase.cs:
  3627. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  3628. as a bitfield.
  3629. - Fixed MouseMove to no longer switch pressed state unless the left
  3630. mouse button is pressed. Atsushi provided the original patch (#78485)
  3631. 2006-05-24 Jackson Harper <[email protected]>
  3632. * ScrollBar.cs: New internal methods that allow us to change a
  3633. couple values on the scrollbar (the most common case is maximum
  3634. and large change) without getting multiple invalidates.
  3635. 2006-05-24 Chris Toshok <[email protected]>
  3636. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  3637. (Edit): save off the original state in oldState, and set
  3638. grid.is_editing to true.
  3639. (OnKeyDown): abort editing if escape is pressed. also, call
  3640. NextState if space is pressed.
  3641. (OnMouseDown): call NextState.
  3642. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  3643. here. Also, only invalidate the row header once (on the initial
  3644. is_changing switch) to save on redraws.
  3645. 2006-05-24 Chris Toshok <[email protected]>
  3646. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  3647. if the value in the cell is different than it was before. This
  3648. keeps us from triggering a layout when we move around a datarid
  3649. with a highlighted cell.
  3650. (Edit): suspend layout when creating/positining the text box, and
  3651. resume passing false so we don't ever actually re-layout.
  3652. (ReleaseHostedControl): same.
  3653. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  3654. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  3655. control-key sequences should go to the datagrid - remove that
  3656. lock. Also, modify the conditions under which we move between
  3657. cells when moving the cursor within a cell, and remove the "this"
  3658. and "base" from field accesses. We weren't even consistent, given
  3659. they all were in the base class.
  3660. 2006-05-24 Atsushi Enomoto <[email protected]>
  3661. * Binding.cs : (.ctor)
  3662. An obvious NRE fix for BindingTest.CtorNullTest().
  3663. 2006-05-23 Chris Toshok <[email protected]>
  3664. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  3665. them between lines. This fixes some quirks editing cells in the
  3666. datagrid.
  3667. 2006-05-23 Jackson Harper <[email protected]>
  3668. * TreeView.cs: Use begin/end update when doing expand/collapse all
  3669. so that we don't get flicker on the scrollbar.
  3670. 2006-05-23 Jackson Harper <[email protected]>
  3671. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  3672. treenode calculations to be independant of the painting code. To
  3673. do this nodes track a visible order which is calculated by the
  3674. treeview.
  3675. - Call new methods for expanding/collapsing nodes. These methods
  3676. use scrollwindow so we don't have to update everything below the
  3677. node.
  3678. * TreeView.cs: Refactored drawing and scrolling code. We don't
  3679. need to update nodes when drawing anymore or calculate scrollbar
  3680. stuff.
  3681. - Added new methods for expanding/collapsing nodes. These methods
  3682. use ScrollWindow so as to not have to redraw all the nodes below.
  3683. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  3684. we add/remove nodes or sort.
  3685. - Handle removing the selected and the top node properly.
  3686. 2006-05-23 Chris Toshok <[email protected]>
  3687. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  3688. maybe this should actually happen in the datagrid code?
  3689. (EndEdit): no need to invalidate anything, given that
  3690. ReleaseHostedControl causes the datagrid to relayout, which
  3691. invalidates everything anyway.
  3692. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  3693. in SetCurrentCell).
  3694. (set_SelectionBackColor): call InvalidateSelection instead of
  3695. Refresh.
  3696. (set_SelectionForeColor): same.
  3697. (BeginEdit): Flesh this out a bit.
  3698. (CancelEditing): only do any of this if we're editing/adding.
  3699. (EndEdit): same.
  3700. (OnMouseDown): there's no need to cancel editing here, it's done
  3701. in SetCurrentCell.
  3702. (SetCurrentCell): only invalidate the current row header if it's a
  3703. different row than the new one.
  3704. (ShiftSelection): fix this to work like MS does.
  3705. (ResetSelection): factor out the invalidation of selected_rows to
  3706. InvalidateSelection.
  3707. (SetDataSource): cancel any editing that's going on.
  3708. * DataGridColumnStyle.cs
  3709. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  3710. call the non-interface version.
  3711. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  3712. header rectangle with the clip rectangle so we don't redraw the
  3713. entire header for just a small area. Gets rid of the last flicker
  3714. when horizontally scrolling.
  3715. (DataGridPaintRow): same.
  3716. 2006-05-23 Mike Kestner <[email protected]>
  3717. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  3718. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  3719. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  3720. Critical bug report.
  3721. 2006-05-23 Peter Dennis Bartok <[email protected]>
  3722. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  3723. and this fixes #78493
  3724. 2006-05-23 Miguel de Icaza <[email protected]>
  3725. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  3726. size is not found.
  3727. * FileDialog.cs: Do not change the background for the side bar as
  3728. it wont work nicely with the theme, and also reduces the artifacts
  3729. in rendering the icons (which I want to fix too).
  3730. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  3731. resources, not resgen resources.
  3732. (PlatformDefaultHandler): Pull images using the new API.
  3733. 2006-05-23 Peter Dennis Bartok <[email protected]>
  3734. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  3735. a reference to the hwnd and will not remove it unless there are
  3736. no pending exposures (fixes #78341)
  3737. * XplatUI.cs: Improved debug
  3738. 2006-05-23 Atsushi Enomoto <[email protected]>
  3739. * MenuAPI.cs : don't handle OnClick event when it was not the left
  3740. button. Fixed bug #78487.
  3741. 2006-05-23 Mike Kestner <[email protected]>
  3742. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  3743. prefer submenus to the top menu for item lookup, to avoid popping down
  3744. top-row items.
  3745. 2006-05-23 Alexander Olk <[email protected]>
  3746. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  3747. Graphics.FillRectangle as the visual results are really bad (even
  3748. on win). We now draw perfect arrows (and perfect shadows when the
  3749. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  3750. Pen.DashPattern to draw the dots of each line.
  3751. 2006-05-22 Alexander Olk <[email protected]>
  3752. * FileDialog.cs: Update the filename combobox when navigating through
  3753. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  3754. 2006-05-22 Mike Kestner <[email protected]>
  3755. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  3756. Fixes #78463.
  3757. 2006-05-22 Mike Kestner <[email protected]>
  3758. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  3759. requests. Fix a misspelled parameter and a copy paste exception error
  3760. in Select.
  3761. 2006-05-22 Peter Dennis Bartok <[email protected]>
  3762. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  3763. to get the same width/height (5/13) on X11 as the default font has on
  3764. win32. This means that our DefaultFont emSize is smaller than the
  3765. the MS SWF equivalent (even thought the width/height stays the same)
  3766. 2006-05-20 Jackson Harper <[email protected]>
  3767. * MdiClient.cs:
  3768. * MdiWindowManager.cs:
  3769. * InternalWindowManager.cs: Make sure to use the border width from
  3770. the theme.
  3771. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  3772. * PrintDialog.cs: Implements printer details
  3773. 2006-05-19 Alexander Olk <[email protected]>
  3774. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  3775. Fixes part 1 and 2 of bug #78446
  3776. 2006-05-19 Peter Dennis Bartok <[email protected]>
  3777. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  3778. instead of sticking to the first ever calculated value
  3779. 2006-05-19 Mike Kestner <[email protected]>
  3780. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  3781. PointToClient, since Capture is set. Fixes #78344.
  3782. 2006-05-19 Mike Kestner <[email protected]>
  3783. * ListView.cs: match MS behavior in Details view where items are not
  3784. drawn if Columns.Count == 0.
  3785. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  3786. Use a separate pen to draw the check, since changing the width affects
  3787. the box as well. Fixes #78454.
  3788. 2006-05-18 Miguel de Icaza <[email protected]>
  3789. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  3790. exception should throw the name of the invalid argument.
  3791. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  3792. there are no files listed.
  3793. 2006-05-18 Jackson Harper <[email protected]>
  3794. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  3795. up.
  3796. 2006-05-18 Peter Dennis Bartok <[email protected]>
  3797. * Control.cs: Brought back our old UpdateZOrder method as a private
  3798. function and switched our calls from UpdateZOrder to the new one.
  3799. This fixes the Paint.Net canvas disappearing bug.
  3800. 2006-05-18 Jackson Harper <[email protected]>
  3801. * Theme.cs:
  3802. * ThemeWin32Classic.cs:
  3803. * InternalWindowManager.cs: Move the drawing into the theme,
  3804. expose everything the theme should need from the window manager.
  3805. 2006-05-18 Peter Dennis Bartok <[email protected]>
  3806. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  3807. from the call to NativeWindow to avoid walking up the parent chain
  3808. further than needed (speeds up setting cursors and avoids setting
  3809. the wrong cursor if a parent has another cursor defined)
  3810. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  3811. the icon as hotspot, not what's contained as hotspot in the icon
  3812. file. This fixes the perceived drawing offset seen with Paint.Net
  3813. 2006-05-18 Peter Dennis Bartok <[email protected]>
  3814. * XplatUIX11.cs:
  3815. - Store the calculated rectangle in Hwnd object and use it when
  3816. setting the client size
  3817. - Force Toolwindows to always be type Dock, to ensure they're on top
  3818. 2006-05-18 Mike Kestner <[email protected]>
  3819. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  3820. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  3821. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  3822. Substantial refactoring to remove confusing nested classes. Coding
  3823. standard and Get+Set->property refactorings. Shift to index based
  3824. highlighting in ComboListBox instead of constantly using IndexOf and
  3825. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  3826. in FileDialog growth. Draw borders manually since Simple mode needs
  3827. to look like two independent controls. Make listbox border
  3828. conditional to DropDownStyle. Improved OwnerDraw support.
  3829. 2006-05-18 Sebastien Pouliot <[email protected]>
  3830. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  3831. Don't set the disposed graphics to null, so we can throw the "right"
  3832. exception if the graphics is reused later (added a flag to avoid
  3833. double disposing). Some behaviours are different under 2.0 and are
  3834. filled under bug #78448.
  3835. 2006-05-18 Peter Dennis Bartok <[email protected]>
  3836. * Control.cs: When double-buffering is enabled, we need to reset
  3837. our graphics context between paint calls. Otherwise, any
  3838. transformations and other alterations on the context will
  3839. become cumulative (#77734)
  3840. 2006-05-18 Mike Kestner <[email protected]>
  3841. * ListView.cs: do focused item selection like MS on clicks.
  3842. Rework focus handling for ItemControl so LostFocus invalidates as
  3843. well.
  3844. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  3845. the ListView ItemControl has focus.
  3846. 2006-05-17 Peter Dennis Bartok <[email protected]>
  3847. * XplatUIX11.cs: If client_window ends up being width or height zero
  3848. due to border settings, move it off window inside whole_window (#78433)
  3849. 2006-05-17 Alexander Olk <[email protected]>
  3850. * Mime.cs: Shrink the mime file cache correctly.
  3851. 2006-05-17 Alexander Olk <[email protected]>
  3852. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  3853. 2006-05-16 Peter Dennis Bartok <[email protected]>
  3854. * XplatUIX11.cs (AddExpose): More sanity checks
  3855. 2006-05-16 Peter Dennis Bartok <[email protected]>
  3856. * XplatUIX11.cs:
  3857. - AddExpose: Don't add expose ranges outside the size of our
  3858. window
  3859. - Cast opacity values to Int32 to avoid crashes with certain
  3860. values
  3861. - Added disabled code paths that protect against illegal cross-
  3862. thread painting (Developers.exe)
  3863. 2006-05-16 Peter Dennis Bartok <[email protected]>
  3864. * ProgressBar.cs: Invalidate the control when it's resized
  3865. since block size is based on control size. (#78388)
  3866. 2006-05-16 Miguel de Icaza <[email protected]>
  3867. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  3868. of setting the incoming argument to the "reset" value, we set the
  3869. this.datamember to string.empty (before we were invalidating the
  3870. incoming data).
  3871. Fixes 78420
  3872. 2006-05-16 Peter Dennis Bartok <[email protected]>
  3873. * Form.cs: Only apply transparency settings after the form
  3874. is created. (Fixes #77800)
  3875. 2006-05-16 Peter Dennis Bartok <[email protected]>
  3876. * ApplicationContext.cs: Grab the HandleDestroyed event so
  3877. we know when to fire OnMainFormClosed
  3878. 2006-05-16 Peter Dennis Bartok <[email protected]>
  3879. * Application.cs: Introduced sub-class to allow tracking of
  3880. threads and centralized triggering of the event mess for
  3881. ThreadExit, AppExit, etc.. (#76156)
  3882. 2006-05-16 Alexander Olk <[email protected]>
  3883. * MimeIcon.cs:
  3884. - Do not return a null icon index value for a mime subclass.
  3885. Instead try the main mime type class too.
  3886. - Seems that some newer distributions don't have a link to some
  3887. gnome default icons anymore. So check the default gnome dir too.
  3888. 2006-05-16 Jackson Harper <[email protected]>
  3889. * MdiClient.cs: Don't paint the parent background image if we have
  3890. our own background image.
  3891. 2006-05-16 Peter Dennis Bartok <[email protected]>
  3892. * Control.cs:
  3893. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  3894. controls, all filled controls are supposed to overlap (#78080)
  3895. - UpdateZOrder is supposed to update the control's z-order in the
  3896. parent's z-order chain. Fixed to behave like that
  3897. - BringToFront: Removed obsolete code
  3898. - SendToBack: Simplyfied
  3899. - SetChildIndex: Trigger layout calculations when Z-order changes
  3900. since layout is done by z-order
  3901. 2006-05-16 Chris Toshok <[email protected]>
  3902. [ fixes bug #78410 ]
  3903. * DataGrid.cs (set_AlternatingBackColor): use
  3904. grid_drawing.InvalidateCells instead of Refresh().
  3905. (set_BackColor): call grid_drawing.InvalidateCells.
  3906. (set_BackgroundColor): use Invalidate instead of Refresh.
  3907. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  3908. invalidate the cell area.
  3909. 2006-05-15 Chris Toshok <[email protected]>
  3910. [ fixes bug #78011 ]
  3911. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  3912. on to DataGridPaintRow.
  3913. (DataGridPaintRow): take a clip argument, and only draw the cells
  3914. which intersect it. same with the not_usedarea.
  3915. * Theme.cs (DataGridPaintRow) add @clip parameter.
  3916. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  3917. XplatUI.ScrollWindow.
  3918. (ScrollToRow): same.
  3919. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  3920. with last column which was causing a gray swath to appear with the
  3921. XplatUI.ScrollWindow code.
  3922. 2006-05-15 Chris Toshok <[email protected]>
  3923. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  3924. use XplatUI.ScrollWindow.
  3925. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  3926. 2006-05-15 Peter Dennis Bartok <[email protected]>
  3927. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  3928. 2006-05-15 Peter Dennis Bartok <[email protected]>
  3929. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  3930. file since there are no equivalent X11 cursors
  3931. 2006-05-15 Atsushi Enomoto <[email protected]>
  3932. * MonthCalendar.cs : DateTimePicker should reflect selected date
  3933. on mouse*up*, not mouse*down*. Fixed originally reported part of
  3934. bug #76474.
  3935. 2006-05-15 Atsushi Enomoto <[email protected]>
  3936. * TabControl.cs : When argument index is equal or more than tab
  3937. count, just ignore. Fixed bug #78395.
  3938. 2006-05-15 Peter Dennis Bartok <[email protected]>
  3939. * Control.cs: Dispose all child controls when control is diposed (#78394)
  3940. 2006-05-14 Alexander Olk <[email protected]>
  3941. * ColorDialog.cs: Finally it is possible to select the color with
  3942. the text boxes
  3943. 2006-05-14 Alexander Olk <[email protected]>
  3944. * PrintDialog.cs: Fix typo
  3945. 2006-05-14 Alexander Olk <[email protected]>
  3946. * PrintDialog.cs: PrintDialog is not resizable
  3947. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  3948. color. Made some ToolBar drawing methods protected virtual.
  3949. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  3950. * PrintDialog.cs: Implementation of the PrintDialog
  3951. 2006-05-12 Chris Toshok <[email protected]>
  3952. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  3953. thumb, instead use MoveThumb. This has the side effect of making
  3954. most of the other thumb moving machinery use MoveThumb as well.
  3955. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  3956. need to actually invalidate the rectangle where the new thumb will
  3957. go.
  3958. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  3959. We force an Update() after, so it's not as fast as it could be,
  3960. but at least there's zero flicker and no droppings.
  3961. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  3962. (UpdateThumbPos): add another argument (dirty), which says whether
  3963. or not to calculate/add dirty regions which we later invalidate.
  3964. For cases where we know we're going to use MoveThumb, we pass
  3965. false for this. Otherwise, pass true.
  3966. 2006-05-12 Jackson Harper <[email protected]>
  3967. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  3968. the status bar.
  3969. 2006-05-12 Peter Dennis Bartok <[email protected]>
  3970. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  3971. and GetClipRegion methods and UserClipWontExposeParent property.
  3972. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  3973. overriding UserClipWontExposeParent property, setting to false, since
  3974. Win32 handles the required expose messages to draw our clipped parent
  3975. areas internally
  3976. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  3977. PaintEventStart to set the user clip region if set.
  3978. * Control.cs:
  3979. - Now internally tracking the Region for the control since we need to
  3980. store it if the handle is not yet created and only set it when it
  3981. becomes created. Before setting the region forced handle creation
  3982. - Added code to draw the parents underneath a user-clipped region
  3983. * Hwnd.cs: Added UserClip property
  3984. 2006-05-12 Chris Toshok <[email protected]>
  3985. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  3986. (set_Maximum): same.
  3987. (set_Minimum): same.
  3988. (set_SmallChange): same.
  3989. (OnMouseUpSB): remove the call to refresh when releasing the
  3990. thumb. We shouldn't need it.
  3991. 2006-05-12 Miguel de Icaza <[email protected]>
  3992. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  3993. AutoSize set to None, we do not need to relayout everything, we
  3994. just need to invalidate the current region.
  3995. (Draw): Do not draw the entire ClientArea, just redraw the
  3996. clip area being passed.
  3997. * MdiClient.cs: Make MdiClient constructor with the Form argument
  3998. internal.
  3999. 2006-05-12 Jackson Harper <[email protected]>
  4000. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  4001. parents background image, but strangely not their own.
  4002. - (DrawStatusBarPanel): Take into account horizontal alignment
  4003. when drawing the strings and icons.
  4004. 2006-05-12 Mike Kestner <[email protected]>
  4005. * ListBox.cs: avoid invalidations for focus when the collection is
  4006. empty.
  4007. 2006-05-12 Chris Toshok <[email protected]>
  4008. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  4009. invalidate the entire thumb area. Call InvalidateDirty which
  4010. limits the redraw to the thumb itself and surrounding pixels.
  4011. * XplatUIX11.cs (ScrollWindow): optimize copying.
  4012. 2006-05-12 Chris Toshok <[email protected]>
  4013. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  4014. Figure out the positioning/layout in a single pass instead of
  4015. multiple recursive invocations. Speeds up the initial display of
  4016. the data grid. Also, make many things private that were
  4017. originally public but unused outside this class.
  4018. 2006-05-11 Jackson Harper <[email protected]>
  4019. * MdiClient.cs: Improved layout code.
  4020. 2006-05-11 Jonathan Chambers <[email protected]>
  4021. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  4022. not SelectedObject.
  4023. 2006-05-11 Chris Toshok <[email protected]>
  4024. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  4025. union of that will always be {0,0,width,height}.
  4026. 2006-05-11 Jackson Harper <[email protected]>
  4027. * Form.cs: Match MS's DefaultSize for forms (they must have
  4028. changed the size in sp2).
  4029. 2006-05-11 Atsushi Enomoto <[email protected]>
  4030. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  4031. 2006-05-11 Atsushi Enomoto <[email protected]>
  4032. * TextControl.cs : Fixed bug #78109. This incorrect position
  4033. comparison caused crash on automatic line split.
  4034. * TextBoxBase.cs : reduce duplicate code.
  4035. 2006-05-10 Jackson Harper <[email protected]>
  4036. * MdiClient.cs: Active form is only sent to the back when using
  4037. the Next form functionality, when a form is clicked the current
  4038. active shouldn't be sent to the back.
  4039. - Layout the mdi windows when the container is first made visible.
  4040. * Form.cs: Give the MdiClient a ref to the containing form when we
  4041. create it.
  4042. 2006-05-10 Atsushi Enomoto <[email protected]>
  4043. * LinkLabel.cs : link_font could be uninitialized, so populate one
  4044. before actual use. Fixed bug #78340.
  4045. 2006-05-10 Atsushi Enomoto <[email protected]>
  4046. * XplatUIX11.cs : clipboard format native value is IntPtr.
  4047. Fixed bug #78283.
  4048. 2006-05-10 Peter Dennis Bartok <[email protected]>
  4049. * Control.cs:
  4050. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  4051. which is passed up the parent chain by DefWndProc
  4052. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  4053. to DefWndProc (#77956)
  4054. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  4055. 2006-05-10 Jackson Harper <[email protected]>
  4056. * MdiClient.cs: We need to remove the controls from the mdi
  4057. collection, when we close the window.
  4058. * MdiWindowManager.cs: Special handling of closing mdi windows.
  4059. * InternalWindowManager.cs: Make the close method virtual so the
  4060. mdi window manager can handle it specially.
  4061. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  4062. * DataGrid.cs:
  4063. - Recalculate grid when the data source has changed
  4064. - Matches styles provided by user from all data sources types
  4065. * DataGridTableStyle.cs: For columns that provided by the user set the
  4066. with the preferred value is there was unassigned.
  4067. * CurrencyManager.cs: throw OnItemChanged event
  4068. 2006-05-10 Peter Dennis Bartok <[email protected]>
  4069. * PictureBox.cs: Don't animate until handle is created. Start animation
  4070. when handle is created.
  4071. 2006-05-10 Peter Dennis Bartok <[email protected]>
  4072. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  4073. current codebase.
  4074. * XEventQueue.cs: We don't need to provide the extra info
  4075. 2006-05-10 Jackson Harper <[email protected]>
  4076. * MdiClient.cs: If the mdi clients parent form has a background
  4077. image set, we draw that background image for the mdi area's
  4078. background.
  4079. 2006-05-10 Peter Dennis Bartok <[email protected]>
  4080. * TextBoxBase.cs: Set IBeam cursor (#78347)
  4081. 2006-05-10 Mike Kestner <[email protected]>
  4082. * ToolBar.cs: fix some text padding issues with ButtonSize
  4083. calculation. Update the default size to match MS documentation.
  4084. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  4085. button size. Fixes #78296.
  4086. 2006-05-10 Mike Kestner <[email protected]>
  4087. * ListBox.cs: use is_visible for scrollbar positioning in case the
  4088. control isn't on screen yet. Fix off by one with Right vs Width
  4089. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  4090. 2006-05-10 Jackson Harper <[email protected]>
  4091. * X11Dnd.cs: Drop to a control with another control on top of it.
  4092. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  4093. be modified in click handlers. TODO: Look for similar problems in
  4094. other controls.
  4095. 2006-05-09 Jackson Harper <[email protected]>
  4096. * Form.cs: Window managers need the old window state when setting
  4097. window state now.
  4098. * InternalWindowManager.cs: Allow the base mdi window manager to
  4099. handle more of the MDI only stuff (like maximize buttons).
  4100. * MdiWindowManager.cs: Fix some snafus in changing the window
  4101. state. Add all the menu functionality, for both popup and
  4102. maximized menus.
  4103. * MdiClient.cs: When a new form is selected the currently
  4104. activated form is sent to the back, this matches MS.
  4105. - Implement a new method to activate the next mdi child window.
  4106. 2006-05-08 Peter Dennis Bartok <[email protected]>
  4107. * Control.cs:
  4108. - Added new InternalCapture method to allow controls to prevent
  4109. the capture behaviour on the click handlers
  4110. - Switched to use InternalCapture
  4111. * ComboBox.cs:
  4112. - Using InternalCapture to prevent mouse captures from being released
  4113. on mouse button release (Fixes #78100)
  4114. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  4115. returns Form borders if a caption is present. (Fixes #78310)
  4116. 2006-05-08 Peter Dennis Bartok <[email protected]>
  4117. * TreeNode.cs: Changed serialization .ctor to not require every field
  4118. to be present. (#78265)
  4119. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  4120. 2006-05-05 Alexander Olk <[email protected]>
  4121. * MimeIcon.cs: for is faster than foreach for strings.
  4122. 2006-05-05 Mike Kestner <[email protected]>
  4123. * CheckedListBox.cs: update check handling code to not use selected.
  4124. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  4125. behavior for visual feedback, motion response, shift/ctrl handling,
  4126. and properly deal with all 4 selection modes. Updates to bounds
  4127. handling logic. Add scroll wheel support. [Fixes #77842]
  4128. 2006-05-05 Peter Dennis Bartok <[email protected]>
  4129. * ListView.cs:
  4130. - Moved adding of Implicit controls into .ctor. That way, subsequent
  4131. creation of the controls will not cause them to think they are
  4132. toplevel windows (fixes #78200 header problem)
  4133. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  4134. - Switched visibility setting of header control to use internal field
  4135. to avoid triggering handle creation
  4136. - Now checking if handle is created before causing a refresh when items
  4137. are added (This makes us now match handle creation time with MS)
  4138. * Splitter.cs: Removed loading of private splitter cursor, switched to
  4139. Cursors version now that that is loading the right ones
  4140. * Cursors.cs: Load proper splitter cursors from resources
  4141. * Cursor.cs: Added second method of loading resource cursors for the
  4142. VS.Net users amongst us
  4143. 2006-05-05 Mike Kestner <[email protected]>
  4144. * ListView.cs: give header_control a minimum size based on the
  4145. ListView size.
  4146. 2006-05-05 Peter Dennis Bartok <[email protected]>
  4147. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  4148. window seems to do that with metacity, so set that type. (#78120)
  4149. 2006-05-05 Mike Kestner <[email protected]>
  4150. * ListViewItem.cs: fix Details mode checkbox layout bug.
  4151. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  4152. at the end of the header, if it exists. [Fixes for #78200]
  4153. 2006-05-04 Jackson Harper <[email protected]>
  4154. * MdiClient.cs: Add a helper property to get the container form.
  4155. * MdiWindowManager.cs: We have to make sure to use the menu origin
  4156. when drawing the icons and buttons, this fixes maximized window
  4157. icons/buttons on win32.
  4158. * InternalWindowManager.cs: Reset the restore captions when a
  4159. window goes from Maximized to Minimized and vice versa. Move the
  4160. DrawMaximizedButtons into the MdiWindowManager source, tool
  4161. windows can't be maximized. NOTE: This could use a little
  4162. refactoring if time ever permits.
  4163. 2006-05-03 Jonathan Chambers <[email protected]>
  4164. * TextBox.cs: Add MWFCategoryAttributes
  4165. * TextBoxBase.cs: Add MWFCategoryAttributes
  4166. * Form.cs: Add MWFCategoryAttributes
  4167. 2006-05-03 Jonathan Chambers <[email protected]>
  4168. * Control.cs: Add MWFCategoryAttributes
  4169. * ScrollableControl.cs: Add MWFCategoryAttributes
  4170. 2006-05-03 Alexander Olk <[email protected]>
  4171. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  4172. Divider is true. Fix a little glitch in PropertyToolBar
  4173. drawing code
  4174. 2006-05-02 Peter Dennis Bartok <[email protected]>
  4175. * Control.cs:
  4176. - Dispose: Call base.Dispose, this causes the disposed event
  4177. to be fired (and probably other, more important stuff)
  4178. - SetVisibleCore: Set is_visible to true after creating the
  4179. window so that the window still gets created invisible (if
  4180. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  4181. to generate a WM_ACTIVE message
  4182. * Form.cs: Call Dispose when we want to destroy the window, instead of
  4183. just destroying the handle (Dispose will do that for us)
  4184. * XplatUIX11.cs:
  4185. - RootWindow also needs a queue, so we can properly process the
  4186. property change events from RootWindow (like Activate)
  4187. - Generatic synthetic WM_ACTIVE message when the active window is
  4188. being destroyed
  4189. 2006-05-01 Peter Dennis Bartok <[email protected]>
  4190. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  4191. bounds are changed
  4192. 2006-05-01 Peter Dennis Bartok <[email protected]>
  4193. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  4194. for determining width and height (image might not be assigned if
  4195. we're drawing an imagelist)
  4196. 2006-05-01 Peter Dennis Bartok <[email protected]>
  4197. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  4198. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  4199. height from system
  4200. * Theme.cs: No longer returns hardcoded menu height, instead calls
  4201. new driver method
  4202. * Form.cs (OnLoad): Scaling happens before triggering Load events
  4203. on MS (# 78257)
  4204. 2006-05-01 Mike Kestner <[email protected]>
  4205. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  4206. 2006-04-30 Peter Dennis Bartok <[email protected]>
  4207. * TextBoxBase.cs: Removed Fixme
  4208. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  4209. 2006-04-30 Peter Dennis Bartok <[email protected]>
  4210. * XplatUIX11.cs:
  4211. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  4212. the rectangle relative to the parent, considering borders. We
  4213. don't really want that.
  4214. - ScrollWindow: Fixed warning to be more understandable
  4215. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  4216. scrollbars and scroll only the visible area
  4217. * RichTextBox.cs: Removed debug output
  4218. 2006-04-29 Peter Dennis Bartok <[email protected]>
  4219. * NumericUpDown.cs (Text): Just use base
  4220. * UpDownBase.cs: Ensure txtView is created before using it
  4221. 2006-04-29 Peter Dennis Bartok <[email protected]>
  4222. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  4223. casting to IntPtr to avoid 64bit overflow errors
  4224. 2006-04-29 Peter Dennis Bartok <[email protected]>
  4225. * Control.cs:
  4226. - AllowDrop: Don't force handle creation.
  4227. - CreateHandle: Added call to tell driver if we're allowed to drop
  4228. 2006-04-27 Alexander Olk <[email protected]>
  4229. * FileDialog.cs: Remember the last directory not only for the
  4230. current instance but also for new FileDialog instances.
  4231. 2006-04-29 Peter Dennis Bartok <[email protected]>
  4232. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  4233. broke sending async messages
  4234. 2006-04-29 Peter Dennis Bartok <[email protected]>
  4235. * XplatUIX11.cs:
  4236. - ScrollWindow: Fixed method. We finally generate expose events again
  4237. for scrolled areas. This was causing 'garbage' when scrolling
  4238. textbox and other controls that used ScrollWindow
  4239. - Switched from using the regular queue for paint events to the MS
  4240. model of 'generating' paint events when the queue is empty.
  4241. We use the new XQueueEvent.Paint subclass to store which windows
  4242. need painting.
  4243. - AddExpose now takes the x/y/width/height of the exposed area
  4244. and inserts the window into the paint queue if not already there
  4245. - InvalidateWholeWindow: Switched to use new AddExpose method
  4246. - UpdateMessageQueue: Added which queue to monitor for paint events
  4247. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  4248. the unlikely case nothing above handles it. We reset the expose
  4249. pending states to get them off the queue.
  4250. - GetMessage: Now pulls a paint event if no other events are in the
  4251. queue
  4252. - Invalidate: Switched to new AddExpose method
  4253. - PeekMessage: Updated to understand pending paint events
  4254. - UpdateWindow: Fixed logic bug. We were only updating if the window
  4255. didn't need updating. Also switched to sending WM_PAINT directly,
  4256. like MS does.
  4257. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  4258. and random access Remove(). The random access is needed to handle
  4259. UpdateWindow() where a WM_PAINT is sent directly without accessing
  4260. the queue.
  4261. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  4262. allow for better feedback when scrolling. Scrollbars are small and
  4263. the immediate update should make it 'feel' more responsive without
  4264. slowing things down. ScrollBar still needs it's invaliate logic
  4265. updated to not always invalidate the whole bar on certain changes.
  4266. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  4267. * Control.cs:
  4268. (BackColor): if the control does not support a transparent background,
  4269. return the default backcolor when the parent backcolor is transparent.
  4270. 2006-04-28 Peter Dennis Bartok <[email protected]>
  4271. * Application.cs: Updated to new StartLoop/GetMessage API
  4272. * RichTextBox.cs: Provide some output on RTF parsing errors
  4273. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  4274. new queue_id argument to GetMessage and PeekMessage to allow faster
  4275. handling of per-thread queues in drivers.
  4276. * Hwnd.cs: Added Queue tracking and property
  4277. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  4278. * XEventQueue.cs: Added thread trackingA
  4279. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  4280. * XplatUIX11.cs:
  4281. - Implemented new per-thread queue
  4282. - GetMessage: Fixed return/break behaviour on several cases. We were
  4283. returning stale messages in some cases, instead of just processing
  4284. the next message
  4285. 2006-04-27 Jonathan Chambers <[email protected]>
  4286. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  4287. 2006-04-27 Peter Dennis Bartok <[email protected]>
  4288. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  4289. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  4290. 2006-04-27 Jonathan Chambers <[email protected]>
  4291. * PropertyGridView.cs: Fix drop down width.
  4292. 2006-04-27 Alexander Olk <[email protected]>
  4293. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  4294. a mess in DrawToolBar, so I removed one of them.
  4295. 2006-04-27 Alexander Olk <[email protected]>
  4296. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  4297. needed (clip). Otherwise we get artifacts.
  4298. 2006-04-26 Peter Dennis Bartok <[email protected]>
  4299. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  4300. dimension is fixed
  4301. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  4302. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  4303. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  4304. if it matches the scale base font (avoids unneeded scaling)
  4305. 2006-04-26 Alexander Olk <[email protected]>
  4306. * X11DesktopColors.cs: One gtk_init_check should be enough
  4307. 2006-04-26 Peter Dennis Bartok <[email protected]>
  4308. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  4309. match MS behaviour
  4310. 2006-04-26 Peter Dennis Bartok <[email protected]>
  4311. * TextBoxBase.cs:
  4312. - Generate OnTextChanged for Backspace even if we're only deleting
  4313. the current selection
  4314. - When setting the Text property, only select all text if the
  4315. control does not have focus when it is being set. Otherwise
  4316. just place the cursor at the beginning of the control
  4317. 2006-04-26 Alexander Olk <[email protected]>
  4318. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  4319. Added a little helper to draw PropertyGrid ToolBar with a different
  4320. border and a different BackColor.
  4321. * PropertyGrid.cs: Some background parts didn't get painted with the
  4322. correct background color. Added a class that helps us to draw the
  4323. correct border for PropertyGridView and a class that helps us to
  4324. draw ToolBars with a different backcolor
  4325. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  4326. 2006-04-25 Jonathan Chambers <[email protected]>
  4327. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  4328. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  4329. 2006-04-25 Peter Dennis Bartok <[email protected]>
  4330. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  4331. into the palette entries. Also, since we're working on a copy
  4332. we needed to copy the palette back onto the bitmap.
  4333. * Cursor.cs: Same fix as XplatUIWin32.cs.
  4334. 2006-04-25 Peter Dennis Bartok <[email protected]>
  4335. * ImageListStreamer.cs: Need to read the var (or we're off)
  4336. 2006-04-25 Peter Dennis Bartok <[email protected]>
  4337. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  4338. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  4339. TextBoxBase.cs: Unused var fixes
  4340. * AxHost.cs: Small 2.0 fix
  4341. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  4342. as it seems that is what at least Metacity expects. This will make
  4343. icons show up on 64bit platforms. We still have some 64bit size
  4344. issues, though, since the startup app window size still won't match.
  4345. 2006-04-25 Mike Kestner <[email protected]>
  4346. * *.cs: cleanup newly reported exception var unused warnings.
  4347. 2006-04-25 Alexander Olk <[email protected]>
  4348. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  4349. ms
  4350. 2006-04-25 Alexander Olk <[email protected]>
  4351. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  4352. image. The image position is always the same, no matter if the
  4353. button is pressed or not.
  4354. 2006-04-25 Alexander Olk <[email protected]>
  4355. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  4356. selection and set the correct filename for SaveFileDialog.
  4357. Patch by Emery Conrad.
  4358. 2006-04-24 Mike Kestner <[email protected]>
  4359. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  4360. check for item.X outside the ClientRect instead of item.Y. Fixes
  4361. #78151.
  4362. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  4363. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  4364. trust that value blindly and do some sanity check. Fixes bug #77814.
  4365. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  4366. * ImageListStreamer.cs: save the mask as a 1bpp image.
  4367. 2006-04-21 Mike Kestner <[email protected]>
  4368. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  4369. pass Checked and Indeterminate to the Theme Engine. Improve
  4370. encapsulation with ListBox.
  4371. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  4372. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  4373. nested types. Move all CheckState functionality to CheckedListBox.
  4374. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  4375. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  4376. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  4377. single base list. Fix scrollbar sizing and placement to mirror MS.
  4378. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  4379. used.
  4380. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  4381. for CheckedListBox by using new DrawItemState info. Center the
  4382. checkboxes on the items. Use new StringFormat property.
  4383. 2006-04-18 Jackson Harper <[email protected]>
  4384. * Form.cs: MdiChildren don't do default locations the same way as
  4385. regular forms. This prevents a crash when trying to position the
  4386. mdi windows.
  4387. 2006-04-17 Jonathan Chambers <[email protected]>
  4388. * PropertyGridTextBox.cs: Formatting, copyright
  4389. * PropertiesTab.cs: Formatting
  4390. * PropertyGrid.cs: Formatting
  4391. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  4392. click toggling of values
  4393. 2006-04-17 Peter Dennis Bartok <[email protected]>
  4394. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  4395. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  4396. every time a control is created
  4397. * Application.cs: Removed obsolete EnableRTLMirroring method
  4398. 2006-04-18 Gert Driesen <[email protected]>
  4399. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  4400. SelectedIndex to -1. Fixes bug #78121.
  4401. 2006-04-17 Jackson Harper <[email protected]>
  4402. * Binding.cs: Handle null values for Current and BindingContext.
  4403. This occurs when binding is a little delayed.
  4404. * CurrencyManager.cs: return null for Current when there are no
  4405. items in the list.
  4406. - Hookup to the listchanged event on the DataView and update
  4407. bindings when the list is changed. This fixes late binding of
  4408. controls.
  4409. 2006-04-17 Jackson Harper <[email protected]>
  4410. * X11Dnd.cs:
  4411. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  4412. Ringenbach.
  4413. 2006-04-15 Alexander Olk <[email protected]>
  4414. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  4415. place
  4416. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  4417. with the correct ButtonState
  4418. 2006-04-14 Peter Dennis Bartok <[email protected]>
  4419. * XplatUIX11.cs: Improved distinguishing between window types to
  4420. tell the WM a type closer to what the app wants (Fixes #78107)
  4421. 2006-04-14 Alexander Olk <[email protected]>
  4422. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  4423. GrabHandle
  4424. 2006-04-14 Alexander Olk <[email protected]>
  4425. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  4426. drawing code to reflect the size grip changes
  4427. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  4428. * ImageListStreamer.cs: fix handling of the mask that follows the main
  4429. bitmap when deserializing and serialize it properly. The generated mask
  4430. should better be a 1bpp image, but I'll do that later.
  4431. 2006-04-13 Alexander Olk <[email protected]>
  4432. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  4433. path doesn't fit into some of our Current.Places
  4434. 2006-04-13 Jackson Harper <[email protected]>
  4435. * ComboBox.cs: Use borders instead of drawing our own decorations,
  4436. try to obey correct rules for heights.
  4437. * Theme.cs:
  4438. * ThemeNice.cs:
  4439. * ThemeClearLooks.cs:
  4440. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  4441. this is now handled by borders.
  4442. - Remove unused DrawListBoxDecorationSize method.
  4443. 2006-04-13 Mike Kestner <[email protected]>
  4444. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  4445. reported by Alex.
  4446. 2006-04-13 Alexander Olk <[email protected]>
  4447. * ThemeWin32Classic.cs:
  4448. - Fixed CPDrawStringDisabled
  4449. - Corrected drawing of disabled menu items
  4450. - Fixed drawing of disabled radio buttons (bug #78095)
  4451. - Draw check in a disabled CheckBox with color ControlDark
  4452. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4453. * Form.cs: Use the provided width when calculating the menu size;
  4454. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  4455. and ClientSize.Width won't be updated yet
  4456. * Application.cs: Use Visible instead of Show() to make form visible,
  4457. this way we create the handle later and menusize is considered
  4458. 2006-04-12 Mike Kestner <[email protected]>
  4459. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  4460. reporting.
  4461. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4462. * TextBox.cs: Implemented context menu
  4463. 2006-04-12 Mike Kestner <[email protected]>
  4464. * ListView.cs: implement box selection. fixes #77838.
  4465. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  4466. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4467. * XplatUIX11.cs: Added setting of window type when transient window
  4468. is created (metacity would move it otherwise)
  4469. * X11Structs.cs: Added WINDOW_TYPE atoms
  4470. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  4471. background (the control is Opaque but still wants transparent
  4472. backgrounds)
  4473. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4474. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  4475. that set Opaque but don't mean it (like all ButtonBase-derived
  4476. controls) to still draw their background
  4477. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  4478. the background
  4479. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4480. * Control.cs (PaintControlBackground): Set the graphics object
  4481. on our PaintEvent to null to prevent it from being disposed
  4482. when the PaintEvent gets disposed
  4483. 2006-04-12 Alexander Olk <[email protected]>
  4484. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  4485. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  4486. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4487. * Control.cs:
  4488. - Added transparency check to BackColor property. Transparent
  4489. backgrounds are only allowed if the control styles permit it
  4490. - Added recursive painting of parent control background and
  4491. foreground if a control with a transparent backcolor is drawn
  4492. (Thanks to Tim Ringenback for providing his 'hack' as a base
  4493. for this patch) Fixes #77985 and #78026.
  4494. - Added Opaque style check before calling OnPaintBackground, no
  4495. need to draw the background if the control is opaque
  4496. - Removed ControlAccessibleObject owner variable (inherited from
  4497. base, no need to define again)
  4498. - Added some documentation links explaining the drawing events
  4499. and styles
  4500. 2006-04-11 Peter Dennis Bartok <[email protected]>
  4501. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  4502. that the affected control is the located at the left border of our
  4503. parent (Fixes #77936)
  4504. 2006-04-11 Peter Dennis Bartok <[email protected]>
  4505. * TextBoxBase.cs: When rendering disabled or readonly controls,
  4506. draw the background with 'Control' instead of 'Window' color as
  4507. long as the user hasn't specifically set a color
  4508. 2006-04-11 Peter Dennis Bartok <[email protected]>
  4509. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  4510. since that won't be updated if the user types text (only if it's
  4511. programatically set)
  4512. 2006-04-11 Peter Dennis Bartok <[email protected]>
  4513. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  4514. layout changes do to app-triggered resizes will have the proper
  4515. display rectangle for layout
  4516. 2006-04-11 Alexander Olk <[email protected]>
  4517. * ThemeWin32Classic.cs:
  4518. - Make use of the SystemBrushes and SystemPens wherever possible
  4519. - Corrected some highlight colors
  4520. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  4521. drawing
  4522. * Theme.cs: Added Empty field to CPColor struct
  4523. 2006-04-11 Peter Dennis Bartok <[email protected]>
  4524. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  4525. is displayed when calculating the display rectangle. Thanks to Mike
  4526. for teaching me the err of my ways.
  4527. 2006-04-10 Peter Dennis Bartok <[email protected]>
  4528. * ScrollableControl.cs:
  4529. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  4530. (instead of 0,0) and we now return the real width/height instead of
  4531. just the clientrectangle, adjusted for padding. The rectangle is
  4532. now cached and created by the new CalculateDisplayRectangle method.
  4533. - Created new CalculateDisplayRectange method, which basically does
  4534. what get_DisplayRectangle() did originally, but now using the
  4535. right edge instead of DisplayRectangle to determine the size of
  4536. our scrollbars
  4537. - get_Canvas(): Fixed it to properly calculate canvas for
  4538. right/bottom controls which seem to be placed to the right/bottom
  4539. of any controls that have a fixed location
  4540. - Removed TODO that's taken care of
  4541. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  4542. and SetDisplayRectLocation according to new MSDN2 docs
  4543. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  4544. event when that is called, this is added for compatibility
  4545. - ScrollControlIntoView(): Implemented.
  4546. - Switched scrollbars to be implicit, they shouldn't be selectable
  4547. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  4548. call it when the active control is set/changed
  4549. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  4550. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  4551. implicit_control variable (used for native Win32 message generation)
  4552. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  4553. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  4554. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  4555. * XplatUIStructs.cs: Added ScrollBarCommands enum
  4556. 2006-04-10 Jackson Harper <[email protected]>
  4557. * ButtonBase.cs:
  4558. * CheckedListBox.cs:
  4559. * ComboBox.cs:
  4560. * DataGrid.cs:
  4561. * DataGridView.cs:
  4562. * Form.cs:
  4563. * GroupBox.cs:
  4564. * ListBox.cs:
  4565. * PrintPreviewControl.cs:
  4566. * ProgressBar.cs:
  4567. * PropertyGrid.cs:
  4568. * Splitter.cs:
  4569. * StatusBar.cs:
  4570. * TrackBar.cs:
  4571. * UpDownBase.cs: Fixup base event overrides.
  4572. 2006-04-06 Mike Kestner <[email protected]>
  4573. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  4574. all user-initiated value changes to min <= value <= max-thumbsz+1.
  4575. (set_Value): check for vert/horiz when calculating new thumb position.
  4576. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  4577. like MS does.
  4578. (OnMouseMoveSB): refactor the thumb dragging code and refine
  4579. invalidation logic to reduce flicker.
  4580. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  4581. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  4582. (UpdateThumbPosition): small code readability cleanup
  4583. 2006-04-10 Alexander Olk <[email protected]>
  4584. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  4585. different
  4586. 2006-04-08 Alexander Olk <[email protected]>
  4587. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  4588. 2006-04-08 Alexander Olk <[email protected]>
  4589. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  4590. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  4591. This dramatically reduces the number of Pen.Dispose calls.
  4592. Where possible call ResPool methods only once instead of calling it
  4593. over and over again (for example for the same color).
  4594. 2006-04-06 Mike Kestner <[email protected]>
  4595. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  4596. Also remove an unused private field on the collection. Fixes #77972.
  4597. 2006-04-06 Alexander Olk <[email protected]>
  4598. * ThemeNice.cs: Added ToolBar drawing code
  4599. 2006-04-06 Mike Kestner <[email protected]>
  4600. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  4601. I'm assuming that means we need to look up the toplevel for the
  4602. provided control. Fixes the crash trace in #77911 but exposes another
  4603. crash in some strange reflection usage in NDocGui.
  4604. 2006-04-06 Alexander Olk <[email protected]>
  4605. * ThemeNice.cs: Gave it a little silver touch and added Images
  4606. method
  4607. * FontDialog.cs: FontDialog is not resizable
  4608. * FileDialg.cs: Added SizeGripStyle.Show
  4609. 2006-04-05 Jackson Harper <[email protected]>
  4610. * KeyboardLayouts.cs: Remove warning.
  4611. 2006-04-05 Jackson Harper <[email protected]>
  4612. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  4613. all of our controls instead of Paint +=.
  4614. * ListBox.cs:
  4615. * ListView.cs:
  4616. * MenuAPI.cs:
  4617. * MessageBox.cs:
  4618. * NotifyIcon.cs:
  4619. * ProgressBar.cs:
  4620. * ScrollBar.cs:
  4621. * Splitter.cs:
  4622. * StatusBar.cs:
  4623. * TabControl.cs:
  4624. * TextBoxBase.cs:
  4625. * ToolBar.cs:
  4626. * TrackBar.cs:
  4627. * UpDownBase.cs:
  4628. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  4629. use OnPaintInternal. Remove Width/Height and Visible checks in
  4630. paint handler, this is done at a higher level now.
  4631. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  4632. * PaintEventArgs.cs: Add a handled flag so controls that don't
  4633. want anymore painting after OnPaintInternal can make sure OnPaint
  4634. isn't called.
  4635. 2006-04-05 Mike Kestner <[email protected]>
  4636. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  4637. state of the form, so that we don't process events when Modal dialogs
  4638. are up. Fixes #77922.
  4639. 2006-04-05 Alexander Olk <[email protected]>
  4640. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  4641. checking is done.
  4642. 2006-04-05 Mike Kestner <[email protected]>
  4643. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  4644. 2006-04-05 Mike Kestner <[email protected]>
  4645. * ListView.cs (HeaderMouseMove): null guarding for the over column
  4646. when setting up the drag_to_index. Fixes #78015.
  4647. 2006-04-04 Peter Dennis Bartok <[email protected]>
  4648. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  4649. in the taskbar. Transient windows seem to accomplish that.
  4650. 2006-04-04 Peter Dennis Bartok <[email protected]>
  4651. * Form.cs:
  4652. - Re-enabled CreateParams.X/Y code for FormStartPosition
  4653. - Added code for manual placement when creating the Control
  4654. - Incomplete patch to treat MDI forms differently when
  4655. setting the ClientSizeCore. (Still need to figure out handling
  4656. x/y coords there)
  4657. * XplatUIX11.cs:
  4658. - When we're explicitly setting the X/Y position of a non-Child
  4659. window, let the WM know. Metacity really wants this.
  4660. 2006-04-04 Alexander Olk <[email protected]>
  4661. * ThemeNice.cs: Added CPDrawButton
  4662. 2006-04-04 Alexander Olk <[email protected]>
  4663. * ThemeNice.cs: Changed the color for focused buttons and activated
  4664. the arrows for small scroll buttons.
  4665. 2006-04-04 Alexander Olk <[email protected]>
  4666. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  4667. anymore. Changed some method modifiers to protected (virtual)
  4668. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  4669. changes
  4670. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  4671. Updated drawing of menus, buttons and progressbars; added
  4672. CPDrawBorder3D
  4673. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  4674. * ImageListStreamer.cs: implemented serialization/deserialization
  4675. of the images.
  4676. 2006-04-03 Alexander Olk <[email protected]>
  4677. * ThemeWin32Classic.cs:
  4678. - Removed all the DrawFrameControl stuff; CPDrawButton,
  4679. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  4680. inside the methods
  4681. - Updated and corrected the drawing code of CPDrawButton,
  4682. CPDrawCheckBox and CPDrawRadioButton to better match ms
  4683. - Updated theme checkbox and radiobutton code to use the CP*
  4684. methods
  4685. 2006-03-31 Peter Dennis Bartok <[email protected]>
  4686. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  4687. bug is fixed
  4688. 2006-03-31 Jackson Harper <[email protected]>
  4689. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  4690. sometimes.
  4691. * UpDownBase.cs: Don't CreateGraphics manually, use a
  4692. Refresh. Ideally we would invalidate the correct areas here.
  4693. 2006-03-31 Peter Dennis Bartok <[email protected]>
  4694. * XplatUIX11.cs:
  4695. - We now track the mapping state of windows. If a window (or
  4696. one of it's parents) is not mapped we no longer permit
  4697. WM_PAINT messages to be generated since we'd otherwise get
  4698. lots of BadMatch X errors. Jackson did all the work figuring
  4699. out the problem.
  4700. - Destroying the caret if the window it's contained in is
  4701. destroyed. Can't use regular DestroyCaret method since it
  4702. might fall into a drawing function (trying to remove the
  4703. caret) and with that generate new BadMatch errors. Again,
  4704. Jackson tracked this down.
  4705. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  4706. make sure we send the messages to all windows. (The old code
  4707. would send the WM_DESTROY to the window, and then all child
  4708. windows would be 'gone' because the WM_DESTROY handle lookup
  4709. would no longer find the destroyed window)
  4710. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  4711. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  4712. 2006-03-31 Jackson Harper <[email protected]>
  4713. * ScrollableControl.cs: Dont recalc if we are not visible.
  4714. 2006-03-31 Mike Kestner <[email protected]>
  4715. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  4716. the visibility branch.
  4717. 2006-03-31 Jackson Harper <[email protected]>
  4718. * ScrollBar.cs: Cap values when incrementing/decrementing.
  4719. 2006-03-31 Mike Kestner <[email protected]>
  4720. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  4721. * ToolTip.cs: guard against timer expirations with no active control.
  4722. Not sure why it happened.
  4723. 2006-03-31 Mike Kestner <[email protected]>
  4724. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  4725. text.
  4726. * ToolTip.cs: Position the tooltip based on where the cursor is at
  4727. popup time, not at MouseEnter time. Add a Down state so that we don't
  4728. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  4729. positioning offset. Lookup DisplaySize at positioning time, since it
  4730. can theoretically change during invocation.
  4731. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  4732. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  4733. 2006-03-31 Alexander Olk <[email protected]>
  4734. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  4735. Fixes behaviour when the Text property of the box is String.Empty
  4736. 2006-03-31 Peter Dennis Bartok <[email protected]>
  4737. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  4738. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  4739. a window)
  4740. 2006-03-31 Alexander Olk <[email protected]>
  4741. * FileDialog.cs: Visual enhancement for the popup buttons in
  4742. PopupButtonPanel
  4743. 2006-03-31 Alexander Olk <[email protected]>
  4744. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  4745. code
  4746. 2006-03-30 Alexander Olk <[email protected]>
  4747. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  4748. highlighted menu items to match ms
  4749. 2006-03-30 Peter Dennis Bartok <[email protected]>
  4750. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  4751. 2006-03-30 Mike Kestner <[email protected]>
  4752. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  4753. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  4754. go active to account for HotLight to Selected transition.
  4755. * MenuItem.cs: add internal Selected prop. Fill out the Status
  4756. property by calculating it from item info. Add HotLight,
  4757. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  4758. 2006-03-30 Mike Kestner <[email protected]>
  4759. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  4760. 2006-03-29 Jackson Harper <[email protected]>
  4761. * Form.cs: Implement TODO.
  4762. 2006-03-29 Peter Dennis Bartok <[email protected]>
  4763. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  4764. missing proper dialog setup in the constructor
  4765. 2006-03-29 Peter Dennis Bartok <[email protected]>
  4766. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  4767. * Control.cs:
  4768. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  4769. - Fixed ResetBindings and removed TODO
  4770. - Added check for cross-thread calls to get_Handle()
  4771. - Added Marshaller attribute for set_Font to satisfy class status
  4772. * FontDialog.cs: Removed TODOs that seemed implemented
  4773. * UpDownBase.cs: Removed unneeded TODO and Fixme
  4774. * MessageBox.cs: Implemented support for Default button and removed TODO
  4775. * FileDialog.cs: Removed obsolete TODO
  4776. * DomainUpDown.cs: Removed obsolete TODO
  4777. * ButtonBase.cs: Removed obsolete TODO
  4778. * XplatUIWin32.cs: Removed obsolete TODO
  4779. * Form.cs:
  4780. - Removed obsolete TODO
  4781. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  4782. internal status updates
  4783. - Making sure the active control is selected when the control is created
  4784. * CurrencyManager.cs: Removed obsolete TODO
  4785. 2006-03-29 Mike Kestner <[email protected]>
  4786. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  4787. of PrintPreviewDialog and RichTextBox.
  4788. 2006-03-29 Alexander Olk <[email protected]>
  4789. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  4790. DarkDark, Light and LightLight colors for a specific color
  4791. * ThemeWin32Classic.cs:
  4792. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  4793. Appearance = Button
  4794. - Make use of the new ResPool helper CPColor
  4795. - Draw ProgressBar and StatusBar with correct 3D borders
  4796. 2006-03-29 Alexander Olk <[email protected]>
  4797. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  4798. 2006-03-28 Mike Kestner <[email protected]>
  4799. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  4800. calculating col/row counts.
  4801. 2006-03-28 Mike Kestner <[email protected]>
  4802. * ColumnHeader.cs:
  4803. * ListView.cs:
  4804. * ListViewItem.cs:
  4805. * Menu.cs:
  4806. switch to explicit interface method implementation for some methods
  4807. corcompare identifies as inconsistent with MS.
  4808. 2006-03-28 Mike Kestner <[email protected]>
  4809. * MainMenu.cs:
  4810. * Menu.cs:
  4811. add a few missing methods from the class status output.
  4812. 2006-03-28 Alexander Olk <[email protected]>
  4813. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  4814. correct.
  4815. 2006-03-28 Mike Kestner <[email protected]>
  4816. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  4817. 2006-03-27 Mike Kestner <[email protected]>
  4818. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  4819. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  4820. 2006-03-27 Alexander Olk <[email protected]>
  4821. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  4822. 2006-03-25 Alexander Olk <[email protected]>
  4823. * ThemeWin32Classic.cs:
  4824. - GroupBox: Inserted a little gap between the text and the lines
  4825. on the right side
  4826. - Made the code in CPDrawBorder3D more readable
  4827. - Corrected the drawing location of the up and down arrows in
  4828. CPDrawScrollButton
  4829. 2006-03-25 Alexander Olk <[email protected]>
  4830. * ControlPaint.cs: Corrected line widths in DrawBorder for
  4831. ButtonBorderStyle Inset and Outset
  4832. 2006-03-25 Alexander Olk <[email protected]>
  4833. * ThemeWin32Classic.cs:
  4834. - Rewrote the totally broken CPDrawBorder3D method. That was
  4835. one of the main problems for the terrific ThemeWin32Classic
  4836. look
  4837. - Updated and corrected Button drawing
  4838. - Correct the dimensions of the SizeGrip to match ms ones
  4839. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  4840. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  4841. Border3DStyle.Sunken to match ms.
  4842. 2006-03-25 Alexander Olk <[email protected]>
  4843. * ThemeWin32Classic.cs: First small part of the "de-uglify
  4844. ThemeWin32Classic" effort, SizeGrip
  4845. 2006-03-24 Jackson Harper <[email protected]>
  4846. * XplatUIX11.cs: Give a max idle time of one second, this matches
  4847. MS and forces an Idle event every second when there are no other
  4848. events in the queue.
  4849. 2006-03-24 Mike Kestner <[email protected]>
  4850. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  4851. * ListView.Item.cs: fix layout issues with null image lists and images
  4852. smaller than checkbox size.
  4853. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  4854. mode like MS does. It's weird, but consistent. ;-)
  4855. Fixes #77890.
  4856. 2006-03-24 Mike Kestner <[email protected]>
  4857. * ListView.cs: Scroll wheel support for the item control. Fixes
  4858. #77839.
  4859. 2006-03-23 Jackson Harper <[email protected]>
  4860. * ScrollableControl.cs: Special case negative sized areas, not
  4861. zero.
  4862. * MonthCalendar.cs: Save the rect of the clicked date so we can
  4863. use it for invalidation.
  4864. - Try to cut down on the number of invalidates
  4865. - Invalidate the rect the mouse is over and was over when moving
  4866. the mouse, so we get the focus box following the cursor.
  4867. 2006-03-23 Mike Kestner <[email protected]>
  4868. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  4869. focus rectangle drawing. Fixes #77835.
  4870. 2006-03-23 Mike Kestner <[email protected]>
  4871. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  4872. the if and else if and reverting back to the original == check on the
  4873. None conditional.
  4874. 2006-03-23 Alexander Olk <[email protected]>
  4875. * FontDialog.cs: Update the example panel if the selected index of
  4876. the fontListBox changes.
  4877. 2006-03-23 Alexander Olk <[email protected]>
  4878. * FileDialog.cs: Make FileDialog remember which directory it was in
  4879. last in the same execution.
  4880. 2006-03-22 Mike Kestner <[email protected]>
  4881. * FileDialog.cs: make the DropDownMenu on the toolbar display
  4882. RadioChecks since they are mutually exclusive and that's what MS does.
  4883. 2006-03-22 Mike Kestner <[email protected]>
  4884. * Theme.cs: add Color param to CPDrawMenuGlyph.
  4885. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  4886. checks and radio marks and arrows are visible on highlighted items.
  4887. * ControlPaint.cs: update to use new Theme signature.
  4888. 2006-03-22 Mike Kestner <[email protected]>
  4889. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  4890. is active. Fixes #77870.
  4891. 2006-03-22 Alexander Olk <[email protected]>
  4892. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  4893. to be focused/selected after startup
  4894. 2006-03-22 Alexander Olk <[email protected]>
  4895. * ColorDialog.cs:
  4896. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  4897. CustomColors and ShowHelp properties
  4898. - Some internal rewrites to get better results when using the
  4899. ColorMatrix
  4900. 2006-03-22 Mike Kestner <[email protected]>
  4901. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  4902. HoverSelection. Fixes #77836.
  4903. 2006-03-22 Mike Kestner <[email protected]>
  4904. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  4905. ToggleButtons. (De)Sensitize the Back button around a stack count of
  4906. 1, not 0. Update ButtonSize based on a pixel count of the win32
  4907. control. Adjust the toolbar size/location for new button size.
  4908. 2006-03-22 Jackson Harper <[email protected]>
  4909. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  4910. true.
  4911. * ScrollBar.cs: When doing increments and decrements we need to
  4912. set the Value property so that ValueChanged gets raised. A
  4913. possible optimization here would be to make an internal SetValue
  4914. that doesn't invalidate immediately.
  4915. * ToolTip.cs: Tooltips get added to their container (when
  4916. supplied) so they get disposed when the container is disposed.
  4917. - Don't create tooltips for String.Empty. This prevents all these
  4918. little 2-3 pixel windows from showing up when running nunit-gui
  4919. and driving me mad.
  4920. * Form.cs: Don't set topmost when setting the owner if the handles
  4921. haven't been created yet. The topmost set will happen when the
  4922. handles are created.
  4923. 2006-03-22 Peter Dennis Bartok <[email protected]>
  4924. * XplatUIX11.cs:
  4925. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  4926. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  4927. visible (to allow them to recalculate their sizes)
  4928. 2006-03-21 Mike Kestner <[email protected]>
  4929. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  4930. methods. Removed a ton of redundant code. Still not really happy with
  4931. the border rendering, but I think that's mainly because of the
  4932. ControlDarkDark being black instead of a dark grey. Depending on how
  4933. close we want to be, we might want to revisit those color choices.
  4934. Among the new features added during the refactor were DropDownArrow
  4935. pressed rendering, Disabled image rendering. Proper flat appearance
  4936. boundary rendering. Removed the Divider and Wrapping dividers since I
  4937. can't figure out any combination of themes and conditions to make the
  4938. MS control draw a horizontal line on a toolbar despite what the
  4939. Divider property docs indicate.
  4940. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  4941. conditions and incorrect layout. Updated to coding standard.
  4942. * ToolBarButton.cs: refactored layout and positioning code from
  4943. ToolBar to here. Invalidate wherever possible instead of forcing
  4944. redraws of the whole toolbar.
  4945. (Known remaining issues: explicit ButtonSize smaller than provided
  4946. images.)
  4947. 2006-03-21 Mike Kestner <[email protected]>
  4948. * ContextMenu.cs (Show): use the position parameter instead of just
  4949. showing at the MousePosition.
  4950. 2006-03-21 Jackson Harper <[email protected]>
  4951. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  4952. control handle this.
  4953. * TreeNodeCollection.cs: If we are clearing the root node we need
  4954. to reset top_node so calcs can still happen.
  4955. * ThemeWin32Classic.cs: This is a Flags so we need to check
  4956. properly.
  4957. 2006-03-21 Jackson Harper <[email protected]>
  4958. * DataGrid.cs: Create columns when the binding context has been
  4959. changed.
  4960. * X11Structs.cs: Keysyms are uints.
  4961. - Add size to fix build.
  4962. 2006-03-21 Peter Dennis Bartok <[email protected]>
  4963. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  4964. XplatUIOSX.cs:
  4965. - Added ResetMouseHover method to allow controls to retrigger
  4966. hovering if they need it more than once
  4967. - Implemented MouseHoverTime and MouseHoverSize properties
  4968. * Timer.cs: Start() must reset the interval
  4969. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  4970. properties
  4971. 2006-03-21 Jackson Harper <[email protected]>
  4972. * X11Keyboard.cs: improved layout detection. Move the nonchar
  4973. tables into this file.
  4974. * KeyboardLayouts.cs: Move the tables into resource files.
  4975. 2006-03-21 Mike Kestner <[email protected]>
  4976. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  4977. 2006-03-21 Alexander Olk <[email protected]>
  4978. * Mime.cs: Various speed optimizations. Looking up mime types
  4979. is now 2 times faster than before
  4980. 2006-03-17 Peter Dennis Bartok <[email protected]>
  4981. * CreateParams.cs: Added internal menu field
  4982. * Control.cs:
  4983. - Switched call order for UpdateBounds; now we always call
  4984. the one that also takes ClientSize, and we're calculating the
  4985. client size via driver method in the others. The previous
  4986. method of tracking client size by difference wasn't working
  4987. for forms where even the starting client size wouldn't match
  4988. the overall form size (due to borders) (Part of fix for #77729)
  4989. - CreateParams(): Do not use parent.Handle unless the handle is
  4990. already created. Causes havoc with Nexxia and throws off our
  4991. creation of controls
  4992. * XplatUIX11.cs:
  4993. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  4994. - Switched handling of ConfigureNotify over to new PerformNCCalc
  4995. method (consolidates code)
  4996. - Changed RequestNCRecalc to use new PerformNCCalc method
  4997. - Added calls to RequestNCRecalc when menus and borders are changed
  4998. to allow app to set NC size. (Part of fix for #77729) This matches
  4999. when MS send a WM_NCRECALC on Win32 windows.
  5000. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  5001. (Part of fix for #77729). This matches what MS does, they also
  5002. send that message when the form is made visible.
  5003. - XException.GetMessage: Improved usability of X errors by including
  5004. a translation of the window into Hwnd and Control class
  5005. - Improved debug info for window creation, reparenting and destruction
  5006. - Created helper method WindowIsMapped() [Currently not used]
  5007. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  5008. * Form.cs:
  5009. - CreateParams: Now setting our menu on the new internal menu field
  5010. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  5011. avoid calculating the same property twice
  5012. * Hwnd.cs:
  5013. - Improved usability of ToString() for debugging purposes
  5014. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  5015. determine the height of the menu, instead of just the font. This
  5016. required to also create a graphics context and to keep a bmp
  5017. around (for performance reasons)
  5018. 2006-03-17 Peter Dennis Bartok <[email protected]>
  5019. * MenuAPI.cs: Added OnMouseUp method
  5020. * Form.cs:
  5021. - Now remembering the requested client size, avoids size errors
  5022. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  5023. instead of base if the menu is active. This is required due to
  5024. control now capturing and releasing on down/up and it would
  5025. prematurely release our menu capture
  5026. 2006-03-17 Jackson Harper <[email protected]>
  5027. * KeyboardLayouts.cs: Add the czech layouts.
  5028. 2006-03-16 Jackson Harper <[email protected]>
  5029. * Control.cs: Use the viewport space when sizing not the controls
  5030. client size, so things like ScrollableControl that effect the
  5031. viewport size (when scrollbars are added) are computed correctly.
  5032. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  5033. of ManagerEntrys.
  5034. - Handle creating BindingManagers for null data sources.
  5035. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  5036. source, otherwise when rows are added they are added to the 'fake'
  5037. datasource and we will crash when trying to set the position in
  5038. those rows.
  5039. - Use Implicit scrollbars on the datagrid so they arent
  5040. selectable.
  5041. 2006-03-16 Jackson Harper <[email protected]>
  5042. * Binding.cs:
  5043. * InternalWindowManager.cs:
  5044. * MdiWindowManager.cs:
  5045. * X11Keyboard.cs: I really want Mike to love me again (fix
  5046. compiler warnings).
  5047. 2006-03-16 Peter Dennis Bartok <[email protected]>
  5048. * DataGrid.cs:
  5049. - OnMouseDown: Switch to editing mode when clicking on the cell
  5050. even if we're clicking on the cell that's currently
  5051. selected
  5052. - ProcessGridKey: Left/Right now wrap like MS.Net does
  5053. - ProcessGridKey: Tab now knows to add a new row when tab is
  5054. pressed in the cell of the last column of the
  5055. last row
  5056. - ProcessGridKey: Enter now adds another row if pressed in the last
  5057. row and selectes the new row, same column cell
  5058. - ProcessGridKey: Home/End navigate columns, not rows, like
  5059. originally implemented
  5060. - Broke ProcessKeyPreview code out into an extra Internal method
  5061. so it can be called from the edit code
  5062. * DataGridTextBox.cs (ProcessKeyMessage):
  5063. - Switched to accept Tab keypresses
  5064. - Added F2 handling to allow jumping to the end of the edited cell
  5065. - Added logic to allow moving caret left/right inside edited cell
  5066. and making the edited cell jump when the caret hits cell borders
  5067. - Tab and Enter are now passed to the datagrid after being handled
  5068. * TextBoxBase.cs:
  5069. - Removed capture code now that Control handles it
  5070. - set_SelectionStart now ensures caret is visible
  5071. 2006-03-16 Jackson Harper <[email protected]>
  5072. * TrackBar.cs: Debackwards the increment/decrement for handling
  5073. mouse clicks on the bar with vertical trackbars.
  5074. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  5075. bottom to match MS.
  5076. 2006-03-16 Mike Kestner <[email protected]>
  5077. * ListView.cs: make shift/ctrl keyboard and mouse selection
  5078. consistent with the MS control. Fix a bug in
  5079. SelectedListViewItemCollection.Clear that was pissing me off for the
  5080. better part of a day because the collection was being altered
  5081. underneath us as we walked the list.
  5082. 2006-03-16 Peter Dennis Bartok <[email protected]>
  5083. * Control.cs: Not sure how we could miss this so long, but it seems
  5084. that MS.Net has Capture set all the way from before calling
  5085. OnMouseDown through sending the mouse events until after
  5086. OnMouseUp. This will fix DataGrid's selection being set to end
  5087. at the location of the MouseUp.
  5088. 2006-03-15 Jackson Harper <[email protected]>
  5089. * BindingContext.cs: Check the binding after its added so that it
  5090. can initialize the binding managers and hookup to events.
  5091. * Binding.cs: Data members seem to sometimes include rows/cols in
  5092. the format Row.Column we now take this into account.
  5093. - Hookup to the position changed event so we can update the
  5094. control when the position has changed in the data set.
  5095. * CurrencyManager.cs: Take into account the row/col naming
  5096. convention when creating dataset tables.
  5097. * BindingContext.cs: Using a newer better way of storing
  5098. datasource/datamember pairs. Hopefully this better matches MS for
  5099. looking up binding managers.
  5100. 2006-03-15 Jackson Harper <[email protected]>
  5101. * BindingContext.cs: The currency manager needs the data member
  5102. name, if the member is a data set we use the name to find the
  5103. correct table.
  5104. * CurrencyManager.cs: When creating the list prefer an IList over
  5105. an IListSource.
  5106. - Attempt to create a DataTable from a DataSet (TODO: might need
  5107. some better error checking here, although MS doesn't seem to have much)
  5108. - If we have a DataTable create a view and use it as our list.
  5109. 2006-03-15 Mike Kestner <[email protected]>
  5110. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  5111. keyboard navigation. Support Up/Down/Left/Right selection correctly
  5112. for all 4 View modes.
  5113. * ListViewItem.cs: add internal row/col fields for icon layouts.
  5114. 2006-03-15 Jackson Harper <[email protected]>
  5115. * TabControl.cs: Redraw the tabs when we resize so their newly
  5116. calculated sizes are drawn on screen.
  5117. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  5118. composite characters.
  5119. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  5120. - filter events so that composite characters can be created
  5121. patches by peter
  5122. * X11Structs.cs: Add XIMProperties enum.
  5123. 2006-03-14 Peter Dennis Bartok <[email protected]>
  5124. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  5125. unless it's created
  5126. 2006-03-14 Peter Dennis Bartok <[email protected]>
  5127. * Control.cs (PerformLayout): We don't need to consider visiblity
  5128. for anchoring, only for docking. This fixes 'whacky' alignment
  5129. in listbox and other controls that use implicit scrollbars after
  5130. the previous PerformLayout patch
  5131. * ListBox.cs: Switched to use implicit scrollbars
  5132. 2006-03-14 Mike Kestner <[email protected]>
  5133. * ToolBar.cs:
  5134. * VScrollBar.cs:
  5135. - chain up the "new event" overrides to base and use
  5136. OnEvent to raise them. Part of fix for bug #76509.
  5137. 2006-03-14 Alexander Olk <[email protected]>
  5138. * FileDialog.cs: Do not select an item in the parent directory
  5139. on backspace
  5140. 2006-03-14 Peter Dennis Bartok <[email protected]>
  5141. * Control.cs (PerformLayout): It would seem that we considered
  5142. invisible windows for our layout. Not quite the right thing
  5143. to do. Now we don't any longer, thereby fixing bug #76889.
  5144. 2006-03-14 Peter Dennis Bartok <[email protected]>
  5145. * Control.cs (CanFocus): I goofed. A control can have focus
  5146. even though it's not selectable. Made it match MS docs.
  5147. 2006-03-13 Peter Dennis Bartok <[email protected]>
  5148. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  5149. center by default (fixes #76895)
  5150. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  5151. all uses of Border3DSides.All with the explicit ORd together
  5152. Left|Right|Top|Bottom because I assume that nobody was aware
  5153. that All also implies a center fill. Most places I checked had
  5154. a fill right above.
  5155. * ProgressBarStyle.cs: Added
  5156. 2006-03-13 Mike Kestner <[email protected]>
  5157. * ListView.cs: fix breakage in drag shadow header positioning
  5158. from Peter's csc compilation fix.
  5159. 2006-03-13 Mike Kestner <[email protected]>
  5160. * ListView.cs: fix NRE produced by backspacing twice in a focused
  5161. FileDialog.
  5162. 2006-03-13 Mike Kestner <[email protected]>
  5163. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  5164. 2006-03-13 Peter Dennis Bartok <[email protected]>
  5165. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  5166. be changed
  5167. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  5168. the allowed size before making programmatic size changes
  5169. 2006-03-13 Peter Dennis Bartok <[email protected]>
  5170. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  5171. set, metacity is broken and will still use the emty sizes in
  5172. the struct. (Fix for #77089)
  5173. 2006-03-13 Peter Dennis Bartok <[email protected]>
  5174. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  5175. WindowExStyles and marked both enums as Flags
  5176. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  5177. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  5178. to match WindowStyles split
  5179. * XplatUIX11.cs:
  5180. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  5181. - Updated to match WindowStyles split
  5182. * XplatUIWin32.cs:
  5183. - Fixed FosterParent creation, was using ExStyle on the Style field
  5184. (This should help with Popup focus issues)
  5185. - Updated to match WindowStyles split
  5186. 2006-03-13 Jackson Harper <[email protected]>
  5187. * MdiWindowManager.cs: Use the system menu height. Fixes some
  5188. strange sizing issues.
  5189. 2006-03-12 Peter Dennis Bartok <[email protected]>
  5190. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  5191. * TextBoxBase.cs:
  5192. - Scroll to caret after inserting text (#77672)
  5193. - Make scroll range one pixel higher, fixes off-by-one error (and
  5194. makes underlines visible on the last line)
  5195. 2006-03-12 Peter Dennis Bartok <[email protected]>
  5196. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  5197. the keyboard state from being stuck with keys in 'pressed' state when
  5198. focus is switched away via keyboard
  5199. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  5200. reset the keyboard if no X11 KeyUp events are expected to come
  5201. * X11Structs.cs: Switched type of Visible to bool to match driver
  5202. 2006-03-12 Peter Dennis Bartok <[email protected]>
  5203. * TextControl.cs:
  5204. - Switched caret to be just 1 pixel wide, matches MS and looks less
  5205. clunky
  5206. - Moved caret display 1 pixel down from the top of the control
  5207. to improve view
  5208. - InsertCharAtCharet: Update the selection start if moving the caret
  5209. (fixes bug #77696; based on patch suggested by [email protected])
  5210. - No longer always creating the caret when the caret methods are
  5211. called. Only the actual ShowCaret/HideCaret will do that now
  5212. - Only setting caret visible if the owner control has focus
  5213. - UpdateView: Added invalidation-shortcut logic for center and right
  5214. aligned text. Previously we'd update all according to the left
  5215. logic which caused drawing errors. Also fixed height of invalidated
  5216. areas, now properly invalidating the whole area (was off-by-one)
  5217. - owner_HandleCreated: Always generate the document when the
  5218. handle is created; this ensures that
  5219. * TextBoxBase.cs:
  5220. - Fixed situation where caret would disappear under the right
  5221. window border, also improved scrolling behaviour on left-
  5222. aligned textboxes
  5223. - Fixed right-aligned textboxes to have a border to the
  5224. right instead of the caret being under the right border
  5225. * XplatUIX11.cs:
  5226. - Switched from 'nested' to simple visible/not visible tracking
  5227. for caret (part of fix for #77671)
  5228. - No longer passing through translated FocusIn/FocusOut messages
  5229. since we were notifying too often and the wrong windows. Instead
  5230. we just notify our focussed window of receiving or loosing focus
  5231. * XplatUIWin32.cs: Switched from 'nested' show/hide
  5232. counting for caret to simple visible yes/no behaviour (part of
  5233. fix for #77671)
  5234. 2006-03-11 Alexander Olk <[email protected]>
  5235. * Mime.cs: Remove debug code...
  5236. 2006-03-11 Alexander Olk <[email protected]>
  5237. * MimeGenerated.cs: Removed
  5238. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  5239. and subclasses) from /usr/(local/)share/mime and
  5240. $HOME/.local/share/mime.
  5241. 2006-03-10 Jackson Harper <[email protected]>
  5242. * MdiWindowManager.cs: Recalc the NC area when a window is
  5243. maximized/restored so that the menu area is drawn on forms that
  5244. don't have a menu.
  5245. 2006-03-10 Peter Dennis Bartok <[email protected]>
  5246. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  5247. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  5248. us to force a WM_NCCALCRESIZE message being sent. This is needed
  5249. for MDI maximizing.
  5250. 2006-03-10 Jackson Harper <[email protected]>
  5251. * Form.cs: We need to use the ActiveMenu when calculating menu
  5252. height.
  5253. - Fix nullref when the window manager hasn't been created yet.
  5254. * Control.cs: Fix nullref when we try to bring a control to the
  5255. front that has no parent.
  5256. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  5257. height.
  5258. - Add a dummy item to the maximized menu so it always has the
  5259. correct height. Otherwise when there are no menus we don't get our
  5260. icon and buttons.
  5261. 2006-03-10 Jackson Harper <[email protected]>
  5262. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  5263. stuff.
  5264. * Form.cs: Make the window_state internal so the window managers
  5265. can track it.
  5266. - When an MDI child is maximized let its window manager create the
  5267. main menu (so it can add its icon).
  5268. - Notify the window managers of state changes
  5269. - Let the window manager paint its buttons and handle button
  5270. clicks on the menu when it is maximized.
  5271. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  5272. window manager, since tool windows don't use it, only mdi windows.
  5273. - Tell the main form that we don't want it to handle NCPAINT
  5274. itself to avoid extra painting.
  5275. - Handle clicks on a maximized windows menu.
  5276. - Handle window state changes
  5277. - Handle minimize/maximize clicks correctly by setting the window state.
  5278. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  5279. when clicking on the forms icon).
  5280. - New method to create a forms maximized menu. This is its normal
  5281. menu + an icon.
  5282. - Handle window state changes.
  5283. - Handle sizing of maximized windows. Maximized windows are just
  5284. drawn bigger then the parent visible area. All controls are still
  5285. there, they are just outside the visible area (this matches windows).
  5286. * MdiClient.cs: No scrollbars when a child window is maximized.
  5287. - Let the children windows figure out how big they should be when
  5288. sizing maximized windows.
  5289. - Implement a version of ArrangeIconicWindows somewhat similar to
  5290. Windows version. There are some little differences, but I don't
  5291. think any app will rely on the layout of minimized mdi windows.
  5292. 2006-03-10 Peter Dennis Bartok <[email protected]>
  5293. * Padding.cs: Several fixes to allow compiling with csc 2.0
  5294. 2006-03-09 Jackson Harper <[email protected]>
  5295. * Menu.cs:
  5296. * MenuItem.cs: Cheap hack so we can add items to the list without
  5297. the events being raised. This allows adding mdi items during
  5298. drawing. TODO: Should probably find a better time to add the items.
  5299. 2006-03-10 Peter Dennis Bartok <[email protected]>
  5300. * ThemeWin32Classic.cs:
  5301. - CheckBox_DrawText: Added logic to not wrap if not enough space
  5302. is available (Fix for bug #77727)
  5303. - RadioButton_DrawText: Added logic not to wrap if not enough
  5304. space is available (Fix for bug #77727). Also removed some
  5305. duplicate code, DrawString always drawing the regular text
  5306. before hitting the if statement.
  5307. 2006-03-10 Peter Dennis Bartok <[email protected]>
  5308. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  5309. 2006-03-10 Peter Dennis Bartok <[email protected]>
  5310. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  5311. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  5312. methods. Moved the new 2.0 properties into alphabetical order with
  5313. other properties and added MonoTODO tags
  5314. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5315. * AutoScaleMode.cs: Added. Fix build.
  5316. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5317. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  5318. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  5319. and was requiring premature handle creation for calls from above
  5320. * Form.cs, Control.cs: Removed handle arguments from calls to
  5321. CalculateClientRect()
  5322. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5323. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  5324. drag_column.column_rect is MarshalByRef and can't be used that way
  5325. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5326. * AxHost.cs: Added deserialization constructor for
  5327. AxHost+State (fixes 77743)
  5328. 2006-03-09 Mike Kestner <[email protected]>
  5329. * ListView.cs:
  5330. - Added column drag reordering for details view.
  5331. - fixed behavior when mouse is dragged off column and
  5332. AllowColumnReorder is false.
  5333. * ColumnHeader.cs: clone the format too in Clone.
  5334. * Theme.cs: add DrawListViewHeaderDragDetails method.
  5335. * ThemeWin32Classic.cs:
  5336. - impl new method for drawing drag column shadows and targets.
  5337. - support column offset for details mode in DrawListViewItem.
  5338. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5339. * TextControl.cs: Reset the char_count when the document is cleared
  5340. (Fixes bug reported on mono-winforms mailing list)
  5341. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5342. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  5343. of calling base we simply process the key ourselves, since both
  5344. DefWindowProc and the handled method would set m.Result.
  5345. (Fixes #77732)
  5346. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5347. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  5348. method also moves the window; instead implemented a copy of
  5349. Control.ScaleCore (Part of fix for #77456)
  5350. * TextBoxBase.cs:
  5351. - Created new CreateGraphicsInternal method to allow providing
  5352. a graphics context when no handle is created without triggering
  5353. handle creation. (Part of fix for #77456)
  5354. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  5355. * TextControl.cs:
  5356. - Switched Constructor to require TextBoxBase instead of Control (to
  5357. allow uncast access to CreateGraphicsInternal)
  5358. - Safeguarded use of owner.Handle property. No longer accessing it
  5359. unless the handle is already created.
  5360. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  5361. - Now triggering a recalc when owning control becomes visible
  5362. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  5363. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  5364. premature handle creation (Part of fix for #77456)
  5365. * Control.cs:
  5366. - We now only destroy our double-buffering buffers when the
  5367. control is resized or disposed, but not when visibility
  5368. changes. (The code even re-created them twice every time)
  5369. - Now requiring a redraw of the buffer on visibility changes
  5370. (fixes bug 77654 part 2)
  5371. - Not passing OnParentVisibleChanged up unless the control
  5372. is visible
  5373. - CanFocus: Fixed to match MS documentation
  5374. - Focus: Fixed to return actual focus state and to check if
  5375. setting focus is legal before setting it
  5376. 2006-03-08 Peter Dennis Bartok <[email protected]>
  5377. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  5378. when to draw focus rectangle by looking at parent focus and
  5379. selected state instead. This fixes TabPages on Linux sometimes
  5380. having none or multiple focus rectangles.
  5381. * XplatUIX11.cs (SetFocus):
  5382. - Don't set the focus if the same window already has focus
  5383. - Use SendMessage instead of PostMessage (like it's Win32
  5384. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  5385. to match MS behaviour
  5386. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  5387. are not selectable.
  5388. 2006-03-07 Jackson Harper <[email protected]>
  5389. * PictureBox.cs: Revert line I accidently committed last week.
  5390. 2006-03-07 Peter Dennis Bartok <[email protected]>
  5391. * Control.cs:
  5392. - Added new IsRecreating and ParentIsRecreating properties to
  5393. allow testing if RecreateHandle has been called on ourselves
  5394. or one of our parents
  5395. - WndProc(WM_DESTROY): If our control handle is being recreated
  5396. we immediately need to create the handle when receiving the
  5397. destroy, that way our child windows find a valid parent handle
  5398. when they themselves are being recreated upon WM_DESTROY receipt
  5399. (fix for bug #77654 part 1)
  5400. * XplatUIX11.cs:
  5401. - DestroyWindow: WM_DESTROY must be sent to our own window before
  5402. notifying any child windows. MS documents that child windows
  5403. are still valid when WM_DESTROY is received. (Control now relies on
  5404. this behaviour)
  5405. - Added some fine-grain debug options
  5406. 2006-03-06 Jackson Harper <[email protected]>
  5407. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  5408. box and base calculations off this.
  5409. * MdiChildContext.cs:
  5410. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  5411. anymore.
  5412. 2006-03-06 Peter Dennis Bartok <[email protected]>
  5413. * Splitter.cs: In situations where the affected control is added
  5414. to the parent's control list after the splitter, we would not
  5415. populate affected. Now we try populating it on mousedown, if
  5416. it's not already set, and force it to be re-set whenever our
  5417. parent changes.
  5418. 2006-03-03 Matt Hargett <[email protected]>
  5419. * Control.cs: implement Control.Padding
  5420. * Padding.cs: -Padding.All returns -1 when constructing with the
  5421. implicit default ctor
  5422. -Padding.ToString() matches MS.NET
  5423. * ContainerControl.cs: implement
  5424. ContainerControl.AutoScaleDimensions
  5425. * ListControl.cs: implement ListControl.FormattingEnabled
  5426. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  5427. * ButtonBase.cs:
  5428. * TabPage.cs: Implement UseVisualStyleBackColor.
  5429. * PictureBox.cs: Implement PictureBox.InitialImage.
  5430. 2006-03-03 Mike Kestner <[email protected]>
  5431. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  5432. event declarations to proxy to base event.
  5433. * ListViewItem.cs: update to use ItemControl.
  5434. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  5435. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  5436. column header label rendering for 0 width columns.
  5437. 2006-03-03 Peter Dennis Bartok <[email protected]>
  5438. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  5439. that causes the control to be created. Fixes #77476.
  5440. 2006-03-02 Jackson Harper <[email protected]>
  5441. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  5442. expose_pending.
  5443. 2006-03-02 Peter Dennis Bartok <[email protected]>
  5444. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  5445. passed in for the EventArgs (fixes #77690)
  5446. 2006-03-01 Jackson Harper <[email protected]>
  5447. * ScrollBar.cs: Refresh afterbeing resized.
  5448. 2006-02-28 Mike Kestner <[email protected]>
  5449. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  5450. Clean up a tracker compile warning.
  5451. * MenuItem.cs: add internal PerformPopup method.
  5452. [Fixes #77457]
  5453. 2006-02-28 Peter Dennis Bartok <[email protected]>
  5454. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  5455. implicit expose) when the text is set to null
  5456. 2006-02-28 Peter Dennis Bartok <[email protected]>
  5457. * RichTextBox.cs (FlushText): When newline is true, we always
  5458. need to split the line, even if no text is on it and we may
  5459. never eat newlines. (Fixes #77669)
  5460. 2006-02-28 Mike Kestner <[email protected]>
  5461. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  5462. and set Selected instead.
  5463. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  5464. collections.
  5465. 2006-02-28 Peter Dennis Bartok <[email protected]>
  5466. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  5467. 2006-02-28 Alexander Olk <[email protected]>
  5468. * FontDialog.cs:
  5469. - Got rid of the panel. All controls are now directly added to
  5470. the dialog form
  5471. - It is now possible to set a font with the Font property
  5472. - MinSize and MaxSize property do now what they should
  5473. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  5474. - Searching and selecting a font with the font textbox works now,
  5475. the same applies to the style and size textbox
  5476. - Draw the correct 3D border in the example panel
  5477. - Fixed a little mem leak (unused fonts didn't get disposed)
  5478. - Many other internal updates/rewrites...
  5479. - Fix typo
  5480. 2006-02-27 Peter Dennis Bartok <[email protected]>
  5481. * TextControl.cs:
  5482. - InsertRTFFromStream: Added 'number of characters inserted' argument
  5483. - set_SelectedRTF: Now using the number of characters to calculate
  5484. the new location for the selection and cursor (x/y cannot be used
  5485. due to potentially already wrapped text)
  5486. 2006-02-27 Peter Dennis Bartok <[email protected]>
  5487. * TextControl.cs: Added property and implemented means to allow
  5488. disabling recalculation of a document (can be used to speed up
  5489. multiple inserts and is needed to make RTF inserts predictable, see
  5490. bug #77659)
  5491. * RichTextBox.cs: Using the new NoRecalc property of Document to
  5492. keep x/y insert locations predictable. Also makes it faster inserting
  5493. large chunks of RTF
  5494. 2006-02-27 Peter Dennis Bartok <[email protected]>
  5495. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  5496. it's easier for a child control to handle the other messages without
  5497. having to duplicate the special functionality
  5498. * TextBoxBase.cs
  5499. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  5500. code to handle processing the key ourselves, in order to get
  5501. access to the result of KeyEventArgs.Handled. We now only call
  5502. ProcessKey if they key hasn't been handled already. Fixes #77526.
  5503. - set_Text: If null or empty string is given, just clear the
  5504. document. Fixes part of #77526
  5505. 2006-02-27 Jackson Harper <[email protected]>
  5506. * SizeGrip.cs: Paint the background color before painting the grip
  5507. so things look right.
  5508. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  5509. 2006-02-27 Mike Kestner <[email protected]>
  5510. * ListView.cs:
  5511. - Restructure layout and invalidation model to remove a ton of
  5512. flicker from the control and speed up performance in general.
  5513. - Add manual column resize, flickers like crazy, but I already have
  5514. some ideas on how I'll fix that. (#76822)
  5515. - Merge the three Icon-based views into a single layout method.
  5516. - Move item selection interaction logic from the item since
  5517. interaction with the collections is more appropriate to the view.
  5518. - Deselection on non-item clicks.
  5519. * ListViewItem.cs:
  5520. - Encapsulate most of the layout. Add some internal props to trigger
  5521. layout. Move to a model where Items invalidate themselves instead
  5522. of just invalidating the whole control every time something changes.
  5523. - Invalidate on Text/Caption changes.
  5524. - switch to an offset based layout model to avoid having to absolute
  5525. position every element on item moves.
  5526. - correct checkbox layout to conform to MS layout.
  5527. * ThemeWin32Classic.cs:
  5528. - refactor some column header drawing code.
  5529. - fix string justification for column headers (#76821)
  5530. - make SmallIcon labels top justified for compat with MS impl.
  5531. * ThemeClearlooks.cs:
  5532. - adjust to new ListViewItem internal checkbox bounds api.
  5533. 2006-02-27 Jackson Harper <[email protected]>
  5534. * Control.cs: Change where implicit controls fall in the zorder.
  5535. They are now on top of all children.
  5536. - Synced AddImplicit code with Add
  5537. - Removed unused enumerator.
  5538. * SizeGrip.cs: Remove the TODO as its been TODONE.
  5539. 2006-02-26 Peter Dennis Bartok <[email protected]>
  5540. * TextControl.cs(Insert): Combine the last lines unless the insertion
  5541. string ends with \n\n, otherwise we leave one line too many (Fixes
  5542. something I noticed with the testapp for #77526; the bug itself was
  5543. already fixed in the previous checkin)
  5544. 2006-02-26 Peter Dennis Bartok <[email protected]>
  5545. * RichTextBox.cs:
  5546. - SelectionColor and SelectionFont methods no longer set absolute
  5547. styles. Instead, the keep font or color respectively (This
  5548. resolves a long-standing FIXME in the code)
  5549. - When flushing RTF text, the insert code now considers text trailing
  5550. behind the insertion point (Fixes the bug where when replacing
  5551. the selected text via SelectedRTF the remainder of the line behind
  5552. the selection would stay on the first insertion line)
  5553. * TextBoxBase.cs:
  5554. - AppendText now updates the selection points after inserting text
  5555. - AppendText now ensures that the last tag (sometimes 0-length) of
  5556. the document is used for the style information (Fixes part of
  5557. bug #77220)
  5558. * TextControl.cs:
  5559. - Created new FontDefiniton class to allow describing partial style
  5560. changes
  5561. - StreamLine() now takes a lines argument, to allow it to decide
  5562. whether an encountered zero-length tag is the last in the document
  5563. (which must be kept to not loose the font/color contained in it,
  5564. for later appends)
  5565. - Created Combine() and Split() methods for Marker structs, to
  5566. support marker updates due to reformatted documents (soft line
  5567. wraps)
  5568. - Implemented Document.CaretTag setter
  5569. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  5570. of the last line (Not the cause, but also exposed by bug #77220)
  5571. - Added LineTag argument to InsertString method, to allow callers
  5572. to force a certain tag to be used (required to force use of the
  5573. trailing zero-length tag of a document)
  5574. - Now updating markers in Combine(), to avoid stale tag markers
  5575. - Added some method descriptions to aid maintenance
  5576. - Implemented new FormatText concept, allowing additive/subtractive
  5577. formatting by only specifying the components that are to be
  5578. changed. This was needed for resolving the RTB.SelectedColor/
  5579. RTB.SelectedFont fixmes
  5580. - Added Break() support method to allow breaking up linetags (used
  5581. for partial formatting)
  5582. - Added GenerateTextFormat() method. It is used for partial
  5583. formatting and allows to generate a full font/color from given
  5584. attributes and an existing tag.
  5585. 2006-02-26 Jackson Harper <[email protected]>
  5586. * XplatUIX11.cs: Use the correct caption height.
  5587. - Translate hittest coordinates to screen coords to match MS.
  5588. * XplatUIWin32.cs: When we create MDI windows we need to reset
  5589. some of the style flags, so we get a nice blank window, and can
  5590. draw all the decorations ourselves.
  5591. - Set a clipping rectangle on the non client paint event, the
  5592. window manager drawing code needs one.
  5593. * Form.cs: The window manager needs to know when the window state
  5594. has been updated.
  5595. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  5596. don't need to factor in border and title sizes in these
  5597. methods. TODO: Remove the args and fix the call points.
  5598. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  5599. properly.
  5600. - Let the driver set the cursors.
  5601. - Improve active window handling
  5602. - Correct sizes for title bars and buttons.
  5603. - Match MS drawing better
  5604. * MdiWindowManager.cs: We don't need to handle border style
  5605. updates specially anymore.
  5606. - Check for scrollbars when windows are done moving
  5607. - Handle Active properly.
  5608. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  5609. correctly. I am spewing the exception though, so we don't hide the
  5610. bugs.
  5611. 2006-02-26 Pedro Martinez Julia <[email protected]>
  5612. * DataGridViewRowPostPaintEventArgs.cs,
  5613. DataGridViewCellPaintingEventArgs.cs,
  5614. DataGridViewRowCollection.cs,
  5615. DataGridViewRowPrePaintEventArgs.cs,
  5616. DataGridViewCell.cs: Clear a few warnings and implement a few
  5617. exceptions that should be thrown.
  5618. 2006-02-22 Peter Dennis Bartok <[email protected]>
  5619. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  5620. 'inheriting' our parent's (non-default) cursor. (Part of
  5621. the fix for #77479)
  5622. 2006-02-22 Peter Dennis Bartok <[email protected]>
  5623. * XplatUIX11.cs: Fixed cast to make csc happy
  5624. 2006-02-22 Peter Dennis Bartok <[email protected]>
  5625. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  5626. it's for the client area (part of fix for #77479 and needed
  5627. for MDI window cursor handling)
  5628. * XplatUIX11.cs
  5629. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  5630. the appropriate default cursors and also passing the message
  5631. up the parent chain
  5632. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  5633. for non-client areas
  5634. 2006-02-15 Jackson Harper <[email protected]>
  5635. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  5636. is a real MDI window
  5637. 2006-02-14 Alexander Olk <[email protected]>
  5638. * X11DesktopColors.cs: Instead of checking the desktop session
  5639. string for "KDE" check if it starts with "KDE"
  5640. 2006-02-10 Jackson Harper <[email protected]>
  5641. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  5642. systems).
  5643. 2006-02-10 Alexander Olk <[email protected]>
  5644. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  5645. errors
  5646. * ColorDialog.cs:
  5647. - Got rid of the panel. All controls are now directly added to
  5648. the dialog form
  5649. - Changed to mono coding style
  5650. 2006-02-10 Jackson Harper <[email protected]>
  5651. * InternalWindowManager.cs: We don't need the set visibility to
  5652. false hack anymore now that peter has written beautiful shutdown
  5653. code.
  5654. 2006-02-10 Peter Dennis Bartok <[email protected]>
  5655. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  5656. where already explicitly destroyed
  5657. 2006-02-10 Jackson Harper <[email protected]>
  5658. * MdiClient.cs: Handle the case where windows are too high or to
  5659. the left and we need scrollbars.
  5660. 2006-02-10 Alexander Olk <[email protected]>
  5661. * MimeIcon.cs: Added some icons
  5662. * FileDialog.cs:
  5663. - Fixed bug #77477
  5664. - Got rid of the panel. All controls are now directly added to
  5665. the dialog form
  5666. - Changed to mono coding style
  5667. - On Linux "My Computer" and "My Network" will now show some
  5668. more usefull information. A new class, MasterMount, gathers
  5669. this information from /proc/mount. Updated MWFFileView to make
  5670. use of this information
  5671. - Fixed a bug that caused FileDialog to crash when
  5672. ".recently_used" file had a zero size
  5673. - FilterIndex does now what it should
  5674. - Some Refactoring
  5675. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  5676. FileDialog changes
  5677. 2006-02-09 Jackson Harper <[email protected]>
  5678. * ComboBox.cs: Don't touch if null.
  5679. 2006-02-09 Peter Dennis Bartok <[email protected]>
  5680. * Cursor.cs: 64bit safeness fix
  5681. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  5682. 2006-02-09 Jackson Harper <[email protected]>
  5683. * Form.cs: If a form is made into an MDI form update the styles so
  5684. all the props can get set correctly.
  5685. - Kill the mdi_container when we dont need it anymore.
  5686. * InternalWindowManager.cs: Add missing NOT
  5687. 2006-02-08 Jackson Harper <[email protected]>
  5688. * InternalWindowManager.cs: Respek clipping when drawing MDi
  5689. decorations.
  5690. 2006-02-08 Jackson Harper <[email protected]>
  5691. * Hwnd.cs: Add bits to track non client expose events.
  5692. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  5693. gives us a proper invalid rect and will allow for some nice
  5694. optimizations with NC client drawing
  5695. - MDI windows are children windows, so move their style handling
  5696. into the child window block.
  5697. * InternalWindowManager.cs: Remove a state reset that was
  5698. getting invoked at the wrong time. Fixes managed windows getting
  5699. into a 'stuck' captured state.
  5700. 2006-02-07 Peter Dennis Bartok <[email protected]>
  5701. * TextControl.cs (Document.ctor): Now initializing
  5702. selection_anchor. Fixes #77493
  5703. 2006-02-07 Jackson Harper <[email protected]>
  5704. * TrackBar.cs: The increment/decrements were backwards.
  5705. 2006-02-07 Mike Kestner <[email protected]>
  5706. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  5707. to the instance itself.
  5708. 2006-02-07 Peter Dennis Bartok <[email protected]>
  5709. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  5710. on ulongs and pointers, the size differs between 32bit and 64bit
  5711. systems.
  5712. 2006-02-07 Mike Kestner <[email protected]>
  5713. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  5714. for 64 bit platforms to work around a metacity bug.
  5715. 2006-02-07 Jackson Harper <[email protected]>
  5716. * TrackBar.cs: Process the input keys we need, and hookup to
  5717. KeyDown instead of using WndProc, so we get key messages.
  5718. 2006-02-06 Peter Dennis Bartok <[email protected]>
  5719. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  5720. machine we're on.
  5721. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  5722. we need to translate the XdndVersion atoms array before sending it
  5723. 2006-02-06 Peter Dennis Bartok <[email protected]>
  5724. * XplatUIX11.cs:
  5725. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  5726. number of bits for the property, not the number of bytes. The
  5727. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  5728. but would not crash since it specified 8 bits instead of 4 bits)
  5729. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  5730. defined as XID -> long in the C headers)
  5731. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  5732. references since those are now IntPtr to begin with
  5733. - Switched all Atom.XXX 'int' casts to IntPtr casts
  5734. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  5735. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  5736. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  5737. * X11Structs.cs:
  5738. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  5739. - Changed atom in HoverStruct to be IntPtr
  5740. * X11DnD.cs:
  5741. - Removed local DllImports, switched code to use those from XplatUIX11
  5742. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  5743. 2006-02-06 Mike Kestner <[email protected]>
  5744. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  5745. method signatures in the import region. There may still be some
  5746. lingering struct marshaling issues, as I didn't drill down into those.
  5747. Yet.
  5748. 2006-02-06 Jackson Harper <[email protected]>
  5749. * ComboBox.cs: Dont manually set the top_item, this is computed
  5750. when the scrollbar position is set.
  5751. 2006-02-06 Mike Kestner <[email protected]>
  5752. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  5753. startup crashes on amd64. There's other fixes needed. All pinvoke
  5754. usage of Atom needs to be mapped to IntPtr for example. And there are
  5755. likely other int/long issues to be addressed.
  5756. 2006-02-04 Alexander Olk <[email protected]>
  5757. * FileDialog.cs: One more...
  5758. 2006-02-03 Alexander Olk <[email protected]>
  5759. * FileDialog.cs: Next try
  5760. 2006-02-03 Alexander Olk <[email protected]>
  5761. * FileDialog.cs: First part of fix for #77464
  5762. 2006-02-03 Alexander Olk <[email protected]>
  5763. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  5764. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  5765. AcceptButton border drawing.
  5766. 2006-02-03 Peter Dennis Bartok <[email protected]>
  5767. * Form.cs: Moved positioning of form after auto scaling is applied,
  5768. otherwise it would possibly use wrong form size.
  5769. 2006-02-03 Peter Dennis Bartok <[email protected]>
  5770. * Control.cs (RecreateHandle): No need to re-create any child
  5771. controls, the child windows will get destroyed automatically by
  5772. the windowing system or driver, and re-created when the handle
  5773. is being accessed the first time. Fixes #77456
  5774. * Form.cs: No longer setting the form to closing if the handle is
  5775. being recreated. This seems like the right thing to do, don't
  5776. have a bug or testcase for this, though.
  5777. 2006-02-02 Peter Dennis Bartok <[email protected]>
  5778. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  5779. controls to avoid unwanted side effects
  5780. 2006-02-02 Peter Dennis Bartok <[email protected]>
  5781. * Control.cs:
  5782. - ScaleCore needs to scale the bounds, not the ClientSize of the
  5783. control. Fixes #77416.
  5784. - DefaultSize is 0,0 for control
  5785. * TextBoxBase.cs:
  5786. - DefaultSize is 100, 20
  5787. - SetBoundsCore: Now enforcing the height, no matter if the provided
  5788. height is more or less than the preferred one, as long as AutoSize
  5789. is on
  5790. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  5791. 2006-02-02 Peter Dennis Bartok <[email protected]>
  5792. * Control.cs:
  5793. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  5794. call unless both performLayout is true *and* we have a pending
  5795. layout change
  5796. - ResumeLayout: MS does not completely nest Suspend and Resume,
  5797. they bottom out at 0, fixed our code to match that.
  5798. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  5799. SetBoundsCore, we were updating even when we shouldn't. This fixes
  5800. swf-anchors mis-anchoring when resizing the app fast and lots.
  5801. - UpdateDistances: Now only setting the left and top distance if
  5802. we have a parent and are not suspended, this is based on
  5803. a suggestion by Don Edvaldson in bug #77355.
  5804. - OnVisibleChanged: Fixed logic when to create the control. We may
  5805. not create the control if we have no parent or if it's not visible;
  5806. switched to using Visible property instead of is_visible field
  5807. since the property also considers parent states. This fixes a bug
  5808. when starting Paint.Net
  5809. 2006-02-02 Jackson Harper <[email protected]>
  5810. * Form.cs: If the forms handle hasn't been created yet don't call
  5811. into xplatui to make it top most, just set the topmost flag on the
  5812. form in CreateParams
  5813. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  5814. 2006-02-01 Jackson Harper <[email protected]>
  5815. * ScrollableControl.cs: Refactored the Recalculate method a
  5816. little, this wasn't handling all the variants of bottom and right
  5817. bars needed to be added and added/removed based on their
  5818. counterparts being added/removed (which changes the drawable
  5819. size). Also we special case client widths and heights of 0 and
  5820. don't add the scrollbar for those.
  5821. 2006-02-01 Peter Dennis Bartok <[email protected]>
  5822. * XplatUIX11.cs:
  5823. - Added method to get AbsoluteGeometry(); currently unused, but might
  5824. be used in the future, if we try again to figure out toplevel
  5825. coordinates with some more crappy window managers
  5826. - Added FrameExtents() method to retrieve the WM set decoration size
  5827. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  5828. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  5829. * Hwnd.cs:
  5830. - Added whacky_wm tracking var for metacity
  5831. - Added logic to have default menu height if the actual menu height
  5832. has not yet been calculated (part of fix for #77426)
  5833. * Form.cs: Keep track whether client size has been set and re-set
  5834. it if a menu is added/removed afterwards (Fixes #77426)
  5835. 2006-01-31 Jackson Harper <[email protected]>
  5836. * Control.cs: When a new Site is set on the component attempt to
  5837. pull the AmbientProperties from it.
  5838. 2006-01-31 Peter Dennis Bartok <[email protected]>
  5839. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  5840. in the background of the owning form. Fixes #77332
  5841. 2006-01-31 Alexander Olk <[email protected]>
  5842. * MimeIcon.cs: Fix for #77409
  5843. 2006-01-31 Alexander Olk <[email protected]>
  5844. * XplatUIX11GTK.cs: Initial import
  5845. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  5846. * FixedSizeTextBox: fixes class signature
  5847. 2006-01-30 Jackson Harper <[email protected]>
  5848. * FixedSizeTextBox.cs: New internal class that represents a
  5849. textBox that will not be scaled.
  5850. * TreeView.cs:
  5851. * ComboBox.cs:
  5852. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  5853. standard TextBox.
  5854. 2006-01-30 Peter Dennis Bartok <[email protected]>
  5855. * XplatUIX11.cs: Retrieve default screen number instead of
  5856. assuming 0. Attempted fix for #77318
  5857. 2006-01-30 Peter Dennis Bartok <[email protected]>
  5858. * XplatUIWin32.cs:
  5859. - GetWindowPos: When a window is parented by FosterParent, use
  5860. the desktop instead of FosterParent as the base to get coordinates
  5861. - CreateWindow: Don't make FosterParent the parent window for Popups
  5862. if we don't want a taskbar entry, Popups automatically don't get one
  5863. * Hwnd.cs: Need to call remove to actually remove the key from the
  5864. hash table
  5865. 2006-01-30 Mike Kestner <[email protected]>
  5866. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  5867. 2006-01-30 Jackson Harper <[email protected]>
  5868. * TreeView.cs:
  5869. * TreeNode.cs: Raise events no matter how the treenode is
  5870. checked. Patch by Don Edvalson.
  5871. 2006-01-30 Jackson Harper <[email protected]>
  5872. * TreeNode.cs: Signature fix.
  5873. 2006-01-29 Alexander Olk <[email protected]>
  5874. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  5875. 2006-01-20 Mike Kestner <[email protected]>
  5876. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  5877. event forwarding when menus are active.
  5878. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  5879. Most of the patch is pdb's with a little rework.
  5880. 2006-01-26 Peter Dennis Bartok <[email protected]>
  5881. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  5882. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  5883. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  5884. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  5885. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  5886. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  5887. the PaintWindowDecorations method
  5888. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  5889. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  5890. * MenuAPI.cs: Made tracker window invisible
  5891. * XplatUIWin32.cs:
  5892. - Removed GetMenuDC and ReleaseMenuDC methods
  5893. - Implemented the client=false path for PaintEventStart and
  5894. PaintEventEnd
  5895. 2006-01-26 Peter Dennis Bartok <[email protected]>
  5896. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  5897. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  5898. styles
  5899. * Form.cs:
  5900. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  5901. the style
  5902. - CreateParams: Reworked the styles to match MS look'n'feel,
  5903. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  5904. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  5905. 2006-01-26 Peter Dennis Bartok <[email protected]>
  5906. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  5907. window is not mapped, since otherwise every form that's being
  5908. created is considered minimized, which is wrong.
  5909. * Form.cs: Catching the exception and returning our internal value
  5910. instead
  5911. 2006-01-26 Peter Dennis Bartok <[email protected]>
  5912. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  5913. SetWindowMinMax() to have means to tell the driver about the minimum,
  5914. maximum and maximized state window sizes. (Part of the fix for #76485)
  5915. * Form.cs:
  5916. - Implemented tracking of minimum and maximum window size, now calling
  5917. new SetWindowMinMax() driver method to tell the driver (Part of the
  5918. fix for #76485)
  5919. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  5920. (Completes fix for #76485)
  5921. - Calling new SetWindowMinMax driver method when the handle for a
  5922. form is created, to make sure the driver knows about it even if
  5923. the values have been set before the window was created
  5924. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  5925. to avoid messing up our anchoring calculations (partial fix
  5926. for #77355)
  5927. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  5928. * XplatUIX11.cs:
  5929. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  5930. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  5931. (and presumably other freedesktop.org compliant WMs). Left the
  5932. assumption unmapped=minimized, needed for SetVisible to work.
  5933. - Now setting the window state when creating windows
  5934. - Fixed SetVisible to consider/set the window state when mapping
  5935. a Form. We cannot set the state before it's mapped, and we cannot
  5936. use Form.WindowState once it's mapped (since it would ask the
  5937. driver and get 'normal'. Therefore, we grab the state before
  5938. mapping, map, and then set state.
  5939. - Implmemented SetWindowMinMax method; Metacity does not seem to
  5940. honor the ZoomHints, though.
  5941. * XplatUIWin32.cs:
  5942. - Removed MINMAXINFO (moved to XplatUIStructs)
  5943. - Added SetWindowMinMax stub (on Win32 the only way to set that
  5944. information is in response to the WM_GETMINMAXINFO message, which
  5945. is handled in Form.cs)
  5946. - Added logic to SetVisible to set the proper window state when a
  5947. form is made visible (fixes #75720)
  5948. 2006-01-26 Jackson Harper <[email protected]>
  5949. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  5950. same way we handle them with Invoke.
  5951. 2006-01-25 Peter Dennis Bartok <[email protected]>
  5952. * Form.cs:
  5953. - Added tracking of window state so CreateParams can return
  5954. the appropriate style
  5955. - Moved setting of WS_CAPTION style in CreateParams to allow
  5956. styles without caption
  5957. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  5958. control if the TextBox property is accessed. Fixes #77345
  5959. * Control.cs:
  5960. - get_Created: now uses is_disposed and is_created to determine
  5961. return value (suggested by Jackson)
  5962. - CreateHandle: No longer exits if the handle is being recreated
  5963. - RecreateHandle: If the handle is not yet created call the
  5964. appropriate method to create either control or handle. If the
  5965. control is already created CreateHandle will simply exit instead
  5966. of just creating the handle
  5967. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  5968. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  5969. is called.
  5970. * XplatUIX11.cs:
  5971. - When DestroyWindow is called, instead of waiting for the
  5972. DestroyNotification from X11, we directly post it to the WndProc
  5973. and immediately dispose the hwnd object.
  5974. Same applies to DestroyChildWindows, and this obsoletes the
  5975. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  5976. child windows before our own, to avoid X11 errors.
  5977. - Removed the direct sending of WM_PAINT on UpdateWindow
  5978. * XplatUIWin32.cs:
  5979. - Reworked DoEvents and GetMessage to allow access to internal queue
  5980. even when trying non-blocking access to the queue. Fixes #77335.
  5981. Based on a patch suggestion by Don Edvalson. The new private
  5982. GetMessage can now also be used as a backend for a PeekMessage
  5983. frontend version.
  5984. * XplatUI.cs: Improved debug output for CreateWindow
  5985. 2006-01-25 Jackson Harper <[email protected]>
  5986. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  5987. 2006-01-24 Jackson Harper <[email protected]>
  5988. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  5989. when we have a MaxDropItems lower then the selected index.
  5990. 2006-01-24 Jackson Harper <[email protected]>
  5991. * Control.cs: Don't allow selection of non visible controls, allow
  5992. selection of controls without parents.
  5993. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  5994. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  5995. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  5996. 2006-01-23 Jackson Harper <[email protected]>
  5997. * UpDownBase.cs: Make the textbox handle all the selection and
  5998. tabbing. This fixes tabing to updown controls.
  5999. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  6000. * TextBoxBase.cs: fixes exception thown the object was null
  6001. 2006-01-23 Jackson Harper <[email protected]>
  6002. * ButtonBase.cs: Just use the base CreateParams. They set
  6003. visibility and enabled correctly.
  6004. * ComboBox.cs:
  6005. * TrackBar.cs:
  6006. * MonthCalendar.cs: Lets let the base set as much of the
  6007. createparams as possible so we don't have duplicate code all over
  6008. the place.
  6009. 2006-01-22 Alexander Olk <[email protected]>
  6010. * ThemeGtk.cs: Added TrackBar and some experimental code to
  6011. get double buffering back
  6012. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  6013. * DataGrid.cs: Allows row number set internally higher than the last
  6014. when creating a new row. Restores the editing functionality.
  6015. 2006-01-20 Mike Kestner <[email protected]>
  6016. * MimeIcon.cs: delay Image creation until the icons are accessed
  6017. instead of creating 190 scaled images on GnomeHandler startup.
  6018. 2006-01-19 Peter Dennis Bartok <[email protected]>
  6019. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  6020. first call base before processing the event. Fixes #77279
  6021. 2006-01-19 Peter Dennis Bartok <[email protected]>
  6022. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  6023. that the stride for the GDI bitmap would match the stride of
  6024. a DIB or a Cursor.
  6025. 2006-01-19 Alexander Olk <[email protected]>
  6026. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  6027. 2006-01-19 Jackson Harper <[email protected]>
  6028. * ComboBox.cs: Hookup the text controls keydown event so we get
  6029. those when the text control has the focus.
  6030. 2006-01-18 Peter Dennis Bartok <[email protected]>
  6031. * Label.cs: Now using the base events instead of defining new ones;
  6032. this allows us to just call the base properties without having to
  6033. duplicate all base property logic
  6034. 2006-01-18 Peter Dennis Bartok <[email protected]>
  6035. * Label.cs: A label by default is not a tabstop (Fixes one of our
  6036. failing nunit tests)
  6037. 2006-01-18 Peter Dennis Bartok <[email protected]>
  6038. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  6039. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  6040. 2006-01-18 Peter Dennis Bartok <[email protected]>
  6041. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  6042. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  6043. This fixes #77218
  6044. * XplatUIWin32.cs:
  6045. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  6046. constructor creates images that can't be saved. Part of the fix
  6047. for #76103
  6048. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  6049. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  6050. bug fix for handling window state in forms properly)
  6051. 2006-01-18 Alexander Olk <[email protected]>
  6052. * ThemeGtk.cs: Simplify ScrollBar drawing
  6053. 2006-01-18 Jackson Harper <[email protected]>
  6054. * Splitter.cs: Set the default dock style for the splitter control
  6055. in the constructor.
  6056. 2006-01-18 Alexander Olk <[email protected]>
  6057. * ThemeGtk.cs: Corrected StateType and ShadowType for
  6058. gtk_paint_box
  6059. 2006-01-18 Alexander Olk <[email protected]>
  6060. * Control.cs: Make use of Theme.DoubleBufferingSupported
  6061. * ThemeGtk.cs:
  6062. - Added drawing for flat style buttons
  6063. - Added ScrollBar drawing
  6064. 2006-01-18 Alexander Olk <[email protected]>
  6065. * ThemeClearlooks.cs: Removed some unneeded code.
  6066. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  6067. 2006-01-17 Peter Dennis Bartok <[email protected]>
  6068. * LinkLabel.cs: We need to update the hover drawing when
  6069. leaving the control as well.
  6070. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  6071. * DataGrid.cs: Clicking on non empty areas in the columns
  6072. area was giving an exception
  6073. 2006-01-17 Jackson Harper <[email protected]>
  6074. * ThemeWin32Classic.cs:
  6075. * ListView.cs: Do not draw/clip the headers when the header style
  6076. is None.
  6077. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  6078. * DataGrid.cs: Fixes 77260
  6079. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  6080. * DataGrid.cs: Clicking on a column on a empty grid was giving
  6081. an exception
  6082. 2006-01-17 Peter Dennis Bartok <[email protected]>
  6083. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  6084. or any keypress will crash the grid.
  6085. 2006-01-17 Mike Kestner <[email protected]>
  6086. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  6087. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  6088. invisible/previously-visible items.
  6089. [Fixes #76909]
  6090. 2006-01-17 Alexander Olk <[email protected]>
  6091. * ThemeClearlooks.cs:
  6092. - Added CL_Draw_Button method; now other theme controls that are
  6093. not derived from button or do not have a button can draw buttons
  6094. too
  6095. - Updated ComboBox drawing
  6096. - Beautified RadioButton drawing
  6097. - Corrected drawing of bottom and left tabs
  6098. - Beautified DateTimePicker and MonthCalendar
  6099. - Added CPDrawButton and CPDrawRadioButton
  6100. 2006-01-16 Jackson Harper <[email protected]>
  6101. * ComboBox.cs: Set the initial value of the scrollbar to the
  6102. current index. Reduce the numbers of refreshs and IndexOfs called.
  6103. 2006-01-14 Alexander Olk <[email protected]>
  6104. * FileDialog.cs: When the file listview is focused hitting the
  6105. backspace key moves the fileview to the parent directory
  6106. 2006-01-13 Peter Dennis Bartok <[email protected]>
  6107. * Form.cs:
  6108. - Added RecreateHandle call when changing taskbar visibility to
  6109. trigger reparenting in Win32 driver (Fixes #75719)
  6110. - If a window has minimize or maximize buttons, it cannot have
  6111. a help button
  6112. * XplatUIWin32.cs:
  6113. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  6114. the toplevel form with FosterParent (A toolwindow not on the
  6115. taskbar) (Fixes #75719)
  6116. - Made FosterParent a toolwindow
  6117. 2006-01-13 Alexander Olk <[email protected]>
  6118. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  6119. 2006-01-13 Alexander Olk <[email protected]>
  6120. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  6121. is currently over that control, make sure that tooltip_window.Text
  6122. gets updated
  6123. 2006-01-13 Mike Kestner <[email protected]>
  6124. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  6125. 2006-01-13 Jackson Harper <[email protected]>
  6126. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  6127. value passed. Also redraw the selected node when we recieve
  6128. focus, so tabbing between trees works correctly.
  6129. 2006-01-13 Alexander Olk <[email protected]>
  6130. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  6131. ~/.gconf/%gconf-tree.xml, so use
  6132. .gconf/desktop/gnome/interface/%gconf.xml
  6133. 2006-01-13 Peter Dennis Bartok <[email protected]>
  6134. * TextControl.cs: Draw text in gray if control is disabled
  6135. 2006-01-13 Peter Dennis Bartok <[email protected]>
  6136. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  6137. make sure it's always visible. Fixes #76680.
  6138. 2006-01-13 Peter Dennis Bartok <[email protected]>
  6139. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  6140. 2006-01-13 Jonathan Chambers <[email protected]>
  6141. * PageSetupDialog.cs: Added.
  6142. * PrintDialog.cs: Attributes.
  6143. * PrintPreviewControl.cs: Updates.
  6144. * PrintPreviewDialog.cs: Updates.
  6145. 2006-01-12 Peter Dennis Bartok <[email protected]>
  6146. * Control.cs: Undid my selection check fix, since it's not needed
  6147. * TextBoxBase.cs:
  6148. - Now considering the presence of hscroll/vscroll when sizing
  6149. vscroll/hscroll respectively. Fixed bug #77077
  6150. - Added Left/Up/Down/Right to IsInputKey list to prevent
  6151. ContainerControl from stealing them. This fixes what I broke
  6152. with my last checkin.
  6153. 2006-01-12 Peter Dennis Bartok <[email protected]>
  6154. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  6155. I finally understand how the property can be set without a setter :-)
  6156. 2006-01-12 Peter Dennis Bartok <[email protected]>
  6157. * Application.cs:
  6158. - Switched RunLoop to use static Message.Create to create a
  6159. Message object
  6160. - Added PreProcessMessage call in runloop for keyboard events; this
  6161. is part of the fix for #77219, I overlooked this originally in the
  6162. MSDN doc for PreProcessMessage
  6163. * Control.cs:
  6164. - Removed call to PreProcessMessage from handling of keyboard
  6165. messages; it's supposed to be done in the message pump
  6166. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  6167. per MSDN documentation.
  6168. - IsInputChar: All chars are input chars by default; removed the
  6169. parent calling chain, MS does not document that
  6170. - PreProcessMessage: If IsInputChar is true, we want to return false
  6171. to allow dispatching of the message
  6172. - When selecting the next control, now also check that we're not
  6173. selecting ourselves again and therefore return a false positive.
  6174. * TextBoxBase.cs:
  6175. - Tried to match return values for IsInputKey and ProcessDialogKey
  6176. to what MS returns; moved processing of our special keys outside
  6177. ProcessDialogKey since MS does not seem to return true on those.
  6178. - Moved code that previously was in ProcessDialogKey into new private
  6179. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  6180. - Reworked handling of WM_CHAR to not have to duplicate code from
  6181. Control.cs anymore, instead we simply call down to base.
  6182. 2006-01-12 Jackson Harper <[email protected]>
  6183. * ComboBox.cs: We always need to refresh the text area when
  6184. EndUpdate is called. Fixes the combobox in the file dialog.
  6185. * Control.cs: Don't create the creator_thread until the controls
  6186. handle is created. Also in InvokeRequired we check if the
  6187. creator_thread is null. This gives the effect of InvokeRequired
  6188. returning true if the controls handle is not created yet, and
  6189. matches MS.
  6190. 2006-01-12 Peter Dennis Bartok <[email protected]>
  6191. * XplatUI.cs:
  6192. - Added StartLoop() driver method. This is used to allow drivers to
  6193. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  6194. loop for a particular thread
  6195. - Added EndLoop() driver method. This is called once the message
  6196. pump for the thread is shut down
  6197. - Added SupportsTransparency method to allow the driver to indicate
  6198. opacity support for windows
  6199. * Form.cs:
  6200. - Removed TODO attribute, completed AllowTransparency property
  6201. - Added documented logic to Opacity
  6202. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  6203. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  6204. versions of CompatibleTextRendering
  6205. * X11Structs.cs: Added opacity atom to our atom enumeration
  6206. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  6207. of a form might be set before it's reparented by the WM, and we need
  6208. the opacity value without calling up to Form)
  6209. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  6210. SupportsTransparency() driver methods
  6211. * Application.cs: Now calling StartLoop and EndLoop driver methods
  6212. * XplatUIX11.cs:
  6213. - Added opacity atom registration
  6214. - Added StartLoop()/EndLoop() methods. They're empty right now but
  6215. will need to get implemented when we switch to a per-thread queue
  6216. - Implemented SupportsTransparency() method
  6217. - Implemented SetWindowTransparency() method
  6218. - Added support for setting the opacity value when a window is
  6219. reparented (since the opacity needs to be set on the WM frame)
  6220. * XplatUIOSX.cs, XplatUIWin32.cs:
  6221. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  6222. 2006-01-12 Alexander Olk <[email protected]>
  6223. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  6224. 2006-01-12 Alexander Olk <[email protected]>
  6225. * FileDialog.cs: Added ToolTip for MWFFileView
  6226. * MimeIcon.cs: Rewrote GnomeHandler.
  6227. - Get currently used gnome icon theme from
  6228. ($HOME)/.gconf/%gconf-tree.xml
  6229. - Make use of inherited icon themes
  6230. - Support SVG icon themes like Tango via librsvg
  6231. 2006-01-12 Miguel de Icaza <[email protected]>
  6232. Revert's Jackson's revert which broke 2.0 builds. Fix both
  6233. builds.
  6234. * Application.cs: Move the use_compatible_text_rendering outside
  6235. the NET_2_0 define. If we ever need to use the
  6236. use_compatible_text_rendering on the individual controls they will
  6237. access the variable from the common shared code paths.
  6238. 2006-01-12 Peter Dennis Bartok <[email protected]>
  6239. * XplatUI.cs:
  6240. - Added more granular debug options
  6241. - Added method to print both window text and id
  6242. - Switched debug output to use new Window() debug method
  6243. - Added IsEnabled() driver method
  6244. - Added EnableWindow() driver method
  6245. * Form.cs:
  6246. - Removed end_modal; no longer needed, new loop handles termination
  6247. via 'closing' variable
  6248. - If form is modal, setting DialogResult will now initiate loop
  6249. termination via 'closing' variable
  6250. - Added support for is_enabled/WS_DISABLED to CreateParams
  6251. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  6252. does all the work
  6253. - Removed code that's now in RunLoop from ShowDialog()
  6254. - Added various documented sanity checks to ShowDialog()
  6255. - Added handling of WM_DESTROY message; we set 'closing' on getting
  6256. the message to indicate the message pump to terminate
  6257. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  6258. send by the Application.ExitThread method. (We send the message
  6259. to destroy the window after all other events have been
  6260. processed through the queue, instead of destroying the handle
  6261. directly)
  6262. - Moved code from Close() method to WM_CLOSE handler; added logic
  6263. to only send close-related events if the form is not displayed
  6264. modal
  6265. * Splitter.cs (..ctor): Fixed typo in resource name
  6266. * Control.cs:
  6267. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  6268. brush now
  6269. - set_Cursor: Now only setting calling into XplatUI if the handle for
  6270. the control is already created; this avoids implict handle creation
  6271. or crashes if it's not created
  6272. - set_Enabled: Now setting the enabled state via the new driver method
  6273. instead of just tracking it
  6274. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  6275. - CreateControl: Reordered event firing and method calls to more
  6276. closely fire events in the order MS does. Now setting the
  6277. enabled state in the driver when creating the control.
  6278. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  6279. match MS order
  6280. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  6281. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  6282. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  6283. * Hwnd.cs:
  6284. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  6285. - Added EnabledHwnd property to easily allow a driver to find the
  6286. handle of the first enabled window in the parent chain (this is
  6287. used by drivers to pass up input events of disabled windows)
  6288. * XplatUIDriver.cs: Added IsEnabled() method
  6289. * Application.cs:
  6290. - Removed crude and obsolete exiting tracking variable
  6291. - Removed internal ModalRun(); replaced by RunLoop()
  6292. - Implemented private CloseForms() method to allow closing all
  6293. windows owned by a particular (or all) threads
  6294. - Exit() now properly closes all windows without forcing the message
  6295. pump to quit
  6296. - Removed obsolete InternalExit() method
  6297. - Changed Run() methods to use new RunLoop() message pump
  6298. - Implemented new RunLoop() method for both modal and non-modal forms
  6299. * CommonDialog.cs:
  6300. - get_CreateParams: Added setting of WS_DISABLED
  6301. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  6302. invoked via Form.ShowDialog()
  6303. * NativeWindow.cs: We don't remove the window from the collection when
  6304. the handle is destroyed; there might still be messages for it in the
  6305. queue (mainly the resulting WM_DESTROY); instead it will be removed
  6306. when Control calls InvalidateHandle in the WM_DESTROY handler
  6307. * XplatUIX11.cs:
  6308. - CreateWindow: Added logic to handle the WS_DISABLED window style
  6309. - EnableWindow: Implemented based on Hwnd.Enabled
  6310. - GetMessage: Reset PostQuitState so the method can be called again
  6311. - Implemented support for disabled windows (passing messages to the
  6312. first enabled parent) in handling all input messages
  6313. - Added optimizations for handling Expose events
  6314. - Implemeted new driver method IsEnabled()
  6315. - Now always resetting paint pending tracking vars when we start paint
  6316. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  6317. * XplatUIOSX.cs: Added IsEnabled method stub
  6318. * XplatUIWin32.cs: Implemented new IsEnabled() method
  6319. 2006-01-11 Jackson Harper <[email protected]>
  6320. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  6321. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  6322. variables a little.
  6323. * ColorDialog.cs: Clear out the old form before adding the new
  6324. panel.
  6325. 2006-01-11 Jackson Harper <[email protected]>
  6326. * X11Dnd.cs: Make sure to add all the text formats when adding
  6327. strings to the data object.
  6328. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  6329. do some redrawing too. Also change the UpdateNode to an
  6330. UpdateBelow so the newly added node gets painted.
  6331. 2006-01-11 Miguel de Icaza <[email protected]>
  6332. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  6333. LinkLabel.cs, PropertyGrid.cs: Implement the
  6334. UseCompatibleTextRendering property for 2.x
  6335. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  6336. 2006-01-11 Jackson Harper <[email protected]>
  6337. * TreeView.cs: Use the property for setting the selected node so
  6338. the correct events get raised.
  6339. * TreeNode.cs: Update the tree when the fore/back colours of a
  6340. node are set.
  6341. 2006-01-10 Jackson Harper <[email protected]>
  6342. * TreeView.cs: Allow setting SelectedNode to null.
  6343. 2006-01-9 Jonathan Chambers <[email protected]>
  6344. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  6345. 2006-01-9 Jonathan Chambers <[email protected]>
  6346. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  6347. 2006-01-9 Jonathan Chambers <[email protected]>
  6348. * PrintDialog.cs: Added attributes and set default property values.
  6349. 2006-01-9 Jonathan Chambers <[email protected]>
  6350. * PrintControllerWithStatusDialog.cs:
  6351. Added PrintControllerWithStatusDialog.
  6352. 2006-01-9 Jonathan Chambers <[email protected]>
  6353. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  6354. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  6355. 2006-01-9 Jonathan Chambers <[email protected]>
  6356. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  6357. 2006-01-09 Jonathan Chambers <[email protected]>
  6358. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  6359. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  6360. 2006-01-08 Alexander Olk <[email protected]>
  6361. * MimeIcon.cs: Added internal class SVGUtil.
  6362. 2006-01-08 Alexander Olk <[email protected]>
  6363. * FileDialog.cs: Don't crash if there are two files with the
  6364. same name but different locations.
  6365. 2006-01-08 John BouAntoun <[email protected]>
  6366. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  6367. dates across multiple month grids. Used to not highlight entire
  6368. month, but does now.
  6369. 2006-01-06 Jackson Harper <[email protected]>
  6370. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  6371. message loop. Change timer intervals to numbers that seem more
  6372. natural.
  6373. 2006-01-06 John BouAntoun <[email protected]>
  6374. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  6375. object for location info since screen object is now implemented.
  6376. 2006-01-05 Jackson Harper <[email protected]>
  6377. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  6378. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  6379. AsyncMethodResult, this is because we ALWAYS want the
  6380. ManualResetEvent to get set.
  6381. * Control.cs: When disposing use an async invoke to call shutdown
  6382. code, so that thigns don't block on the finalizer thread. Also
  6383. check if we even have a message loop before trying to send
  6384. messages, if we don't then don't bother sending messages.
  6385. - No more weak references for async methods
  6386. * XplatUIDriver.cs: No more weak references for async methods.
  6387. 2006-01-04 Alexander Olk <[email protected]>
  6388. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  6389. returns two FontFamily with the same name
  6390. 2006-01-04 Peter Dennis Bartok <[email protected]>
  6391. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  6392. drawing disabled text. Instead using the ColorGrayText color
  6393. 2006-01-04 Jackson Harper <[email protected]>
  6394. * TreeNode.cs: redraw the node when its image index is changed.
  6395. 2006-01-04 Peter Dennis Bartok <[email protected]>
  6396. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  6397. time I checked there are no others like it.
  6398. 2006-01-04 Jackson Harper <[email protected]>
  6399. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  6400. this gives the behavoir I was looking for.
  6401. * Control.cs: Special case Invoking EventHandlers, this matches MS
  6402. and fixes part of bug #76326.
  6403. 2006-01-04 Alexander Olk <[email protected]>
  6404. * ThemeClearlooks.cs, FileDialog.cs:
  6405. - Reflect the latest Theme class changes
  6406. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  6407. with DateTime
  6408. 2006-01-04 Alexander Olk <[email protected]>
  6409. * Theme.cs: Cache UI resource images and resize them if needed
  6410. 2006-01-03 Peter Dennis Bartok <[email protected]>
  6411. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  6412. is called. This fixes the crash in Nexxia when setting the font
  6413. attributes in the chat. [However, RTF needs a look-over to make sure
  6414. that all SelectionXXX methods handle the special case that selection
  6415. is empty and therefore the change must be applied to all text starting
  6416. at the cursor/selection start]
  6417. 2006-01-03 Peter Dennis Bartok <[email protected]>
  6418. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  6419. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  6420. * X11Keyboard.cs: Switched to new way of calling PostMessage
  6421. 2006-01-03 Peter Dennis Bartok <[email protected]>
  6422. * Theme.cs: Added theme interface for images to allow the theme to
  6423. control what images are used for things like FileDialog, MessageBox
  6424. icons, etc.
  6425. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  6426. 2006-01-03 Alexander Olk <[email protected]>
  6427. * FileDialog.cs:
  6428. - Removed some dead code
  6429. - Opening a recently used file does work now
  6430. - Small UI enhancements
  6431. - Refactoring
  6432. 2006-01-02 Alexander Olk <[email protected]>
  6433. * FileDialog.cs: Forgot too add __MonoCS__
  6434. 2006-01-02 Alexander Olk <[email protected]>
  6435. * FileDialog.cs: We are able to read recently used files now let's
  6436. go on and write them.
  6437. 2006-01-01 Alexander Olk <[email protected]>
  6438. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  6439. button
  6440. * MimeIcon.cs: Do a check for the top level media type also
  6441. 2005-12-31 Alexander Olk <[email protected]>
  6442. * ThemeClearlooks.cs:
  6443. - Added CPDrawStringDisabled
  6444. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  6445. some chars if the text doesn't fit into text_rect
  6446. - DrawListViewItem: If View = View.LargeIcon center the image;
  6447. rewrote the drawing of ListViewItem.Text if View =
  6448. View.LargeIcon
  6449. 2005-12-31 Alexander Olk <[email protected]>
  6450. * MimeIcon.cs: Use default KDE icon theme if there is no
  6451. "48x48" directory for the current icon theme, fixes #77114
  6452. * Mime.cs: Disable not working and actually not used code.
  6453. * ThemeWin32Classic.cs:
  6454. - Replace "new SolidBrush" in GetControlBackBrush and
  6455. GetControlForeBrush with ResPool.GetSolidBrush
  6456. - Changed DrawListViewItem from private to protected virtual
  6457. * FileDialog.cs:
  6458. - Added form.MaximizeBox = true
  6459. - Don't throw an exception if there is a broken symbolic link
  6460. 2005-12-23 Jackson Harper <[email protected]>
  6461. * TabControl.cs: Give the panels focus, keyboard navigation is
  6462. fixed so this works correctly now.
  6463. - We need these key events also.
  6464. * ToolBar.cs: Remove some of the poor mans double buffering.
  6465. 2005-12-24 Alexander Olk <[email protected]>
  6466. * ComboBox.cs: The internal TextBox now returns the focus.
  6467. 2005-12-23 Jackson Harper <[email protected]>
  6468. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  6469. 2005-12-23 Peter Dennis Bartok <[email protected]>
  6470. * Control.cs: Removed debug code
  6471. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  6472. implicit children
  6473. 2005-12-23 Peter Dennis Bartok <[email protected]>
  6474. * Control.cs: When creating the control, update the Z-order after
  6475. all it's children are created, too. (Fixes nexxia not showing
  6476. picturebox bug)
  6477. 2005-12-23 Peter Dennis Bartok <[email protected]>
  6478. * Control.cs: Do not update the anchoring distances if layout is
  6479. suspended, instead do it once layout is resumed
  6480. 2005-12-22 Peter Dennis Bartok <[email protected]>
  6481. * Control.cs:
  6482. - After many hours of debugging, for both Jackson and
  6483. myself, it turns out that it helps to set the parent of a control
  6484. if you want to actually see it onscreen. In the spirit of that
  6485. discovery, we're now setting the parent of the control and
  6486. it's children when the control's handle is created. This fix
  6487. will make Lutz Roeder's Reflector run happily.
  6488. - now just creating the handle instead of the whole control when
  6489. getting a graphics context for the control.
  6490. 2005-12-22 Peter Dennis Bartok <[email protected]>
  6491. * ScrollableControl.cs: When calculating the canvas, don't consider
  6492. the scrollbar widths. Instead, predict if horizontal scrollbar
  6493. will affect canvas when deciding on vertical display and vice versa.
  6494. 2005-12-22 Peter Dennis Bartok <[email protected]>
  6495. * RichTextBox.cs: Set default RTF font for documents that don't
  6496. have a font table (Fixes #77076)
  6497. 2005-12-22 Jackson Harper <[email protected]>
  6498. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  6499. clipboard. This prevents a NullRef in that case.
  6500. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  6501. clipboard. PRIMARY is for the currently selected text only. (We
  6502. should implement PRIMARY at some point.
  6503. 2005-12-21 Peter Dennis Bartok <[email protected]>
  6504. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  6505. a Unicode function with a structure that was defined in Ansi way.
  6506. This fixes #76942.
  6507. 2005-12-21 Jackson Harper <[email protected]>
  6508. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  6509. on. Because thats how it rolls. (and this avoids it using ambient
  6510. colours).
  6511. * ThemeWin32Classic.cs: Use the proper back color for filling.
  6512. * Menu.cs: Use the system menu bar color for drawing menu
  6513. bars. Using the window back color will bring ambient colours into
  6514. the picture.
  6515. 2005-12-21 Alexander Olk <[email protected]>
  6516. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  6517. Bitmaps were created and not disposed.
  6518. 2005-12-21 Peter Dennis Bartok <[email protected]>
  6519. * Control.cs (CreateControl): Don't do anything if the control is
  6520. already created, otherwise we'd fire the OnCreated event more than
  6521. once
  6522. 2005-12-21 Peter Dennis Bartok <[email protected]>
  6523. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  6524. will always match. Instead return -1. Fixes #76464.
  6525. 2005-12-21 Peter Dennis Bartok <[email protected]>
  6526. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  6527. neither the beginning nor the end of the line (Fixes bug #76479)
  6528. 2005-12-21 Peter Dennis Bartok <[email protected]>
  6529. * Control.cs:
  6530. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  6531. where handle is invalid
  6532. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  6533. instead of slower linear search
  6534. * NativeWindow.cs: Don't remove the window from the hashtable until
  6535. after the driver has destroyed it (since the driver might use
  6536. Control.FromHandle to lookup the control object
  6537. * Hwnd.cs: Added DestroyPending property to track if a window is
  6538. already destroyed as far as the driver is concerned and only hasn't
  6539. yet notified the control
  6540. * XplatUIX11.cs:
  6541. - Activate(): Check if the window is still valid before using the
  6542. handle
  6543. - Implemented DestroyChildWindow() method to mark child windows as
  6544. destroyed when a window is destroyed. This prevents situations
  6545. where we might call an X method based on queued events for a
  6546. window that already has been destroyed but we haven't yet pulled
  6547. the destroy method from the queue.
  6548. - Added a call to the new DestroyChildWindow() method to the drivers
  6549. DestroyWindow code. Also now marking the destroyed window itself
  6550. as pending
  6551. 2005-12-20 Jackson Harper <[email protected]>
  6552. * StatusBar.cs:
  6553. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  6554. anymore. Just do them when needed, also track the rects of panels
  6555. so that we can optimize refreshing more in the future.
  6556. 2005-12-20 Alexander Olk <[email protected]>
  6557. * ColorDialog.cs: Fixed focus drawing in small color controls
  6558. 2005-12-19 Jackson Harper <[email protected]>
  6559. * InternalWindowManager.cs:
  6560. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  6561. moving windows works properly.
  6562. 2005-12-19 Peter Dennis Bartok <[email protected]>
  6563. * Control.cs:
  6564. - Removed call to InitLayout() from SetBoundsCore(); doc says
  6565. it's only called when a control is added to a container
  6566. - Split InitLayout logic, moved to separate UpdateDistances() method
  6567. since we need to perform those calculations more often than just
  6568. when adding the control to a container. (Needed to fix #77022)
  6569. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  6570. - Reduced the OnBindingContextChanged events count, don't send them
  6571. unless the control is created, we still aren't totally matching
  6572. MS, but I can't quite figure out some of their rules
  6573. 2005-12-18 Alexander Olk <[email protected]>
  6574. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  6575. stripes
  6576. 2005-12-18 Alexander Olk <[email protected]>
  6577. * ThemeClearlooks.cs:
  6578. - Updated ProgressBar drawing
  6579. - Corrected drawing of ScrollBars and scroll buttons
  6580. - Some temporary fixes for minor pixel artefacts
  6581. 2005-12-18 Peter Dennis Bartok <[email protected]>
  6582. * Control.cs:
  6583. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  6584. cause events to be sent in the same order as MS does.
  6585. - Added ChangeParent() method to trigger various OnXXXChanged events
  6586. that need to be fired when a parent changes (This is a reworking
  6587. of the patch from r54254, with the X11 errors fixed)
  6588. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  6589. since on MS we get OnLayoutChanged events when calling Clear()
  6590. - Changed Enabled property to consider parent state as well, if a
  6591. parent is not enabled, the control will not be either
  6592. - Changed Parent property to simply call Controls.Add() since that
  6593. now does all the work required, this way we avoid code duplication
  6594. - Threw in a few OnBindingsContextChanged calls to try and match
  6595. when MS sends them. We seem to send a few too many, though.
  6596. - Added call to CreateControl when adding the control to a parent.
  6597. We were never calling CreateControl. Still needs some work, in
  6598. some places we treat HandleCreated and ControlCreated as equal,
  6599. which is wrong
  6600. - Removed obsolete commented out code from UpdateZOrder()
  6601. 2005-12-18 Alexander Olk <[email protected]>
  6602. * ThemeClearlooks.cs: Updated TrackBar drawing.
  6603. 2005-12-17 Alexander Olk <[email protected]>
  6604. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  6605. 2005-12-17 Alexander Olk <[email protected]>
  6606. * FileDialog.cs: Add the Help button and the open readonly
  6607. checkbox only if needed
  6608. 2005-12-16 Jackson Harper <[email protected]>
  6609. * Control.cs: Make sure we have an active menu before trying to
  6610. process commands on it. Prevents menu-less forms from crashing
  6611. when Alt is pressed.
  6612. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  6613. Dieter Bremes.
  6614. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  6615. 2.0 build.
  6616. 2005-12-16 Jackson Harper <[email protected]>
  6617. * InternalWindowManager.cs: Don't translate tool windows screen
  6618. coordinates. This fixes windows 'bouncing' around when being moved.
  6619. 2005-12-15 Peter Dennis Bartok <[email protected]>
  6620. * TextBoxBase.cs:
  6621. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  6622. not quite MS compatible, MS uses that number only for single line
  6623. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  6624. the limit at 2GB)
  6625. - Now enforcing the MaxLength limit when entering characters
  6626. - Added argument to internal Paste() method to track if it's called
  6627. from programatically or via keyboard, since keyboard driven pastes
  6628. need to enforce max-length
  6629. - Added logic to Paste to only paste as many chars as MaxLength
  6630. allows
  6631. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  6632. * TextControl.cs:
  6633. - Added Length property to return number of characters in document
  6634. - Added private CharCount property which only tracks actual chars
  6635. in the document (no linefeeds) and fires event when CharCount
  6636. changes
  6637. - Added tracking of character count to all methods that alter it
  6638. - Added LengthChanged event to allow applications to subscribe
  6639. to any changes to the document
  6640. 2005-12-15 Peter Dennis Bartok <[email protected]>
  6641. * TextBox.cs:
  6642. - Removed local password_char field (moved to TextBoxBase)
  6643. - Now setting the document's password var when password is
  6644. set
  6645. * TextBoxBase.cs:
  6646. - Added password_char field (needed here so MultiLine can
  6647. access it)
  6648. - Added logic to MultiLine property setter to set the document's
  6649. variable when password display is allowed
  6650. - Removed debug code and made some debug code conditional
  6651. * TextControl.cs:
  6652. - Added RecalculatePasswordLine() method to handle special password
  6653. char only lines
  6654. - Added PasswordChar property, also added related tracking vars
  6655. - Draw() method now uses local text var for grabbing text to draw,
  6656. this var is set to line.text unless we're doing password display,
  6657. then it is set to the pre-generated all-password-chars line
  6658. - Added calling RecalculatePasswordLine() method for password lines
  6659. 2005-12-14 Peter Dennis Bartok <[email protected]>
  6660. * Hwnd.cs:
  6661. - Added Reparented property to allow tracking of Window Manager
  6662. reparenting actions (which affect X/Y calculations of toplevel
  6663. windows)
  6664. - Made ToString() print window handles in hex
  6665. * XplatUIX11.cs:
  6666. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  6667. determine if X/Y needs offsetting
  6668. - AddConfigureNotify(): Fixed offset calculations
  6669. - Now adds ReparentNotify messages into the queue
  6670. - Now processes ReparentNotify messages and causes a
  6671. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  6672. is reparented (as most likely it's X/Y coordinates are changed
  6673. due to that)
  6674. 2005-12-14 Jackson Harper <[email protected]>
  6675. * XplatUIX11.cs: Tool windows still need to respek focus.
  6676. 2005-12-14 Peter Dennis Bartok <[email protected]>
  6677. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  6678. have a working release
  6679. 2005-12-13 Jackson Harper <[email protected]>
  6680. * Form.cs: Update styles after setting the border style regardless
  6681. of whether or not the window is using a window manager.
  6682. 2005-12-13 Jackson Harper <[email protected]>
  6683. * Form.cs: We now hook into an internal window manager instead of just an
  6684. MDI subsystem, this is so we can have properly behaving tool windows.
  6685. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  6686. * InternalWindowManager.cs: New internal class that acts as a
  6687. window manager for tool windows and as a base for mdi windows.
  6688. * MdiWindowManager.cs: New class that acts as a window manager for
  6689. mdi windows.
  6690. 2005-12-12 Jackson Harper <[email protected]>
  6691. * Control.cs: Updates so we match behavoir for for implicit
  6692. controls. Fixes explosions in MDI.
  6693. 2005-12-12 Jackson Harper <[email protected]>
  6694. * Control.cs: Implement Invalidate (Region).
  6695. 2005-12-12 Peter Dennis Bartok <[email protected]>
  6696. * Control.cs:
  6697. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  6698. the same events as MS does. MS fires events for each property
  6699. except, for unknown reasons, Cursor, when the control is reparented.
  6700. I can't seem to totally match add/remove since MS also fires some
  6701. VisibleChanged events, which makes no sense. Consolidated the
  6702. parenting code into a separate method so it can be called from
  6703. both Add and Remove. set_Parent no longer needs any special logic
  6704. as it calls the parent's add method which implicitly fires
  6705. all events
  6706. - Removed some obsolete code and debug output
  6707. - Enabled state is inherited from parents, if this is enabled
  6708. 2005-12-08 Peter Dennis Bartok <[email protected]>
  6709. * Form.cs: Removed commented out code
  6710. 2005-12-08 Peter Dennis Bartok <[email protected]>
  6711. * Control.cs:
  6712. - Added internal version of Invoke, with additional argument
  6713. indicating if we're calling it from a Dispose() handler. That
  6714. way we can avoid BeginInvoke throwing an exception if we're
  6715. calling for an already destroyed window.
  6716. - Added a dispose argument to BeginInvokeInternal, and made the
  6717. check if a valid window handle chain exists conditional on
  6718. it not being a dispose call
  6719. - Removed code in DestroyHandle to destroy our children. Since we
  6720. now handle the WM_DESTROY message we will catch all our children
  6721. being destroyed.
  6722. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  6723. * Form.cs:
  6724. - Added a field to track the application context of the form.
  6725. - No need to set closing variable as response to WM_CLOSE, instead
  6726. we destroy the window. We also call PostQuitMessage if the form
  6727. has an application context (which makes it the main app form,
  6728. which, when closed terminates the app)
  6729. * XplatUI.cs:
  6730. - Dropped Exit() method, it's naming was confusing
  6731. - Added PostQuitMessage() which causes GetMessage to return false
  6732. once the message queue is empty
  6733. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  6734. PostQuitMessage()
  6735. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  6736. no longer a valid XplatUI method, but left it in since it's used
  6737. internally. Added empty PostQuitMessage() method.
  6738. * MenuAPI.cs: Replaced call to Exit() with call to
  6739. PostQuitMessage, even though this is probably no longer needed.
  6740. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  6741. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  6742. * Application.cs:
  6743. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  6744. - Removed old debug code that would call XplatUI for exception
  6745. display, enabled standard exception handling (Still not enabled
  6746. though, until NativeWindow's ExternalExceptionHandler define
  6747. is removed
  6748. * NativeWindow.cs:
  6749. - Added internal method to allow control to update NativeWindow
  6750. after a window has been destroyed
  6751. - Added handling of already destroyed windows when calling i
  6752. DestroyWindow
  6753. - Added removal of handle from list on ReleaseHandle
  6754. * XplatUIX11.cs:
  6755. - Dropped GetMessageResult var and related code
  6756. - Added PostQuitState to field to track if PostQuitMessage has been
  6757. called
  6758. - Dropped Exit() method
  6759. - Added PostQuitMessage() method
  6760. - GetMessage now will return false if PostQuitState is set and no
  6761. more messages are in the queue.
  6762. - Expose handler will no longer generate WM_PAINT messages if we are
  6763. in PostQuitState since it's very likely any windows have already
  6764. been destroyed, and since Hwnd won't get updated until we have
  6765. processed the DestroyNotify we'd be causing X errors.
  6766. 2005-12-07 Peter Dennis Bartok <[email protected]>
  6767. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  6768. Thanks to Mike for pointing out the err of my ways.
  6769. 2005-12-07 Peter Dennis Bartok <[email protected]>
  6770. * Control.cs(PreProcessMessage): Moved menu handling back, but
  6771. after all other key handling, to match MS (who handles Menu in
  6772. DefWndProc)
  6773. * Menu.cs (WndProc): Removed my brainfart
  6774. 2005-12-07 Peter Dennis Bartok <[email protected]>
  6775. * Control.cs(PreProcessMessage): Removed special menu handling
  6776. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  6777. 2005-12-07 Mike Kestner <[email protected]>
  6778. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  6779. state according in tracker.
  6780. * Menu.cs : promote tracker field to base class and provide a tracker
  6781. lookup capability. Add/Remove shortcuts dynamically if the top menu
  6782. has a tracker. Unparent items that are removed from the collection.
  6783. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  6784. * Theme*.cs: add always_show_hotkeys field to support configurability
  6785. of mnemonic display. win32 doesn't show mnemonics until Alt is
  6786. pressed.
  6787. 2005-12-07 Jackson Harper <[email protected]>
  6788. * MdiChildContext.cs: Use Control.ResetCursor.
  6789. * Control.cs: ResetCursor needs to set the property so that the
  6790. correct XplatUI call gets made.
  6791. 2005-12-07 Peter Dennis Bartok <[email protected]>
  6792. * Control.cs: More fixes to make our key events match MS. We
  6793. were not setting the modifier state on KeyData, and we were
  6794. not generating any events when Alt was pressed with a key
  6795. since handling of WM_SYSxxx was missing for the OnKey methods.
  6796. 2005-12-07 Jackson Harper <[email protected]>
  6797. * MdiChildContext.cs: reenable the sizing code.
  6798. - When the mouse leaves a window reset its cursor.
  6799. 2005-12-07 Alexander Olk <[email protected]>
  6800. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  6801. 2005-12-07 Peter Dennis Bartok <[email protected]>
  6802. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  6803. widths of Fixed3D borders
  6804. 2005-12-07 Jackson Harper <[email protected]>
  6805. * MdiClient.cs: Fix warnings. Earn Mike's love.
  6806. 2005-12-07 Alexander Olk <[email protected]>
  6807. * ThemeClearlooks.cs:
  6808. - Adjusted mouse over button color
  6809. - Added first parts of CheckBox drawing
  6810. - Added correct color for selected text background
  6811. - Fixed ComboBox drawing
  6812. - Added CPDrawBorder3D and CPDrawBorder
  6813. 2005-12-06 Peter Dennis Bartok <[email protected]>
  6814. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  6815. 2005-12-06 Peter Dennis Bartok <[email protected]>
  6816. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  6817. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  6818. alert users via sound. We could add an enum arg with different
  6819. types of alerts in the future
  6820. 2005-12-06 Peter Dennis Bartok <[email protected]>
  6821. * Control.cs: Fix behaviour problems pointed out by Mike
  6822. 2005-12-05 Mike Kestner <[email protected]>
  6823. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  6824. prop setters. Calls parent.Refresh for now, but could be maybe be
  6825. optimized with an internal method on StatusBar at some point.
  6826. [Fixes #76513]
  6827. 2005-12-05 Peter Dennis Bartok <[email protected]>
  6828. * RichTextBox.cs: Implemented get_SelectionColor
  6829. 2005-12-05 Alexander Olk <[email protected]>
  6830. * ThemeClearlooks.cs:
  6831. - Removed dead code
  6832. - Draw black button border only if button is Form.AcceptButton
  6833. - Draw correct button color for pressed RadioButton if the mouse
  6834. has entered the button
  6835. - Updated ProgressBar drawing!
  6836. - Updated CPDrawSizeGrip drawing
  6837. - Updated StatusBarPanel drawing
  6838. 2005-12-05 Mike Kestner <[email protected]>
  6839. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  6840. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  6841. 2005-12-04 Alexander Olk <[email protected]>
  6842. * ThemeClearlooks.cs: Initial check-in, activate with
  6843. export MONO_THEME=clearlooks
  6844. * ThemeEngine.cs: Added ThemeClearlooks
  6845. 2005-12-03 Mike Kestner <[email protected]>
  6846. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  6847. [Fixes #76897]
  6848. 2005-12-02 Jackson Harper <[email protected]>
  6849. * Form.cs: If the child form has no menu the default main menu is
  6850. used as the active menu.
  6851. 2005-12-02 Peter Dennis Bartok <[email protected]>
  6852. * ListBox.cs: Check if any items exist before trying to resolve
  6853. coordinates into items
  6854. 2005-12-02 Peter Dennis Bartok <[email protected]>
  6855. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  6856. as the second color for the background hatch
  6857. 2005-12-02 Peter Dennis Bartok <[email protected]>
  6858. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  6859. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  6860. sure that what we pass to FormatText is always 1-based. Fixes #76885
  6861. 2005-11-29 Miguel de Icaza <[email protected]>
  6862. * NumericUpDown.cs (EndInit): When we are done initializing,
  6863. reflect any updates on the UI.
  6864. 2005-12-02 Jackson Harper <[email protected]>
  6865. * ImplicitHScrollBar.cs:
  6866. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  6867. their container controls.
  6868. * TreeView.cs: Use the new implicit scrollbars.
  6869. 2005-12-02 Jackson Harper <[email protected]>
  6870. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  6871. can play with it.
  6872. * TreeNodeCollection.cs: If we remove the topnode we need to
  6873. update topnode to the next node in line.
  6874. - When clearing nodes go through the same process as removing
  6875. them, so they get depareneted and checked if they are top node.
  6876. 2005-12-01 Jackson Harper <[email protected]>
  6877. * TreeView.cs: When imagelists are used the image area is
  6878. selectable as well as the text.
  6879. - If there are no selected nodes select the first one.
  6880. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  6881. so don't do it more then we need to.
  6882. 2005-12-01 Jackson Harper <[email protected]>
  6883. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  6884. that arrows can be scaled.
  6885. 2005-12-01 Jackson Harper <[email protected]>
  6886. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  6887. fail. Patch by Dieter Bremes
  6888. 2005-11-30 Jackson Harper <[email protected]>
  6889. * Form.cs: Property is 2.0 only
  6890. * PrintDialog.cs: Signature fix.
  6891. 2005-11-30 Peter Dennis Bartok <[email protected]>
  6892. * TextControl.cs:
  6893. - No longer artificially moves text 2 pixels down (now that we have
  6894. borders this is no longer needed)
  6895. - Added calcs for left, hanging and right indent
  6896. 2005-11-23 Mike Kestner <[email protected]>
  6897. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  6898. 2005-11-30 Jackson Harper <[email protected]>
  6899. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  6900. get cloned as part of CloneMenu ().
  6901. * Menu.cs: Make sure the parent of the items get set correctly
  6902. when they are added. And the owners are notified of the changes.
  6903. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  6904. we can change the menu being displayed/handled by the form without
  6905. changing the menu assosciated with the form.
  6906. - Don't let Mdi children draw/handle menus.
  6907. 2005-11-30 Jackson Harper <[email protected]>
  6908. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  6909. a MenuChanged event. Just to make the API a little more
  6910. consistent.
  6911. * MainMenu.cs:
  6912. * MenuItem.cs: Use the new OnMenuChanged
  6913. * MdiChildContext.cs: Handle menu merging.
  6914. * Form.cs: Implement MergedMenu.
  6915. 2005-11-30 Jackson Harper <[email protected]>
  6916. * Menu.cs: We were misusing Add. Add goes behind the specified
  6917. index according to the docs, and does not replace the specified
  6918. index. So I added an Insert method.
  6919. 2005-11-30 Peter Dennis Bartok <[email protected]>
  6920. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  6921. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  6922. is for Jackson
  6923. * RichTextBox.cs: Added calls to base for DnD events
  6924. 2005-11-28 Peter Dennis Bartok <[email protected]>
  6925. * TextControl.cs:
  6926. - Fixed drag-selection related crash; style fixes
  6927. - Implemented undo class
  6928. o Implemented method to capture document state for specified
  6929. range in document tree
  6930. o Implemented method to restore captured document state
  6931. o Implemented cursor tracking
  6932. o Implemented basic undo stack
  6933. - Added undo cursor tracking to methods altering cursor location
  6934. - Added undo tracking to selection deletion (still missing
  6935. other text-altering hookups)
  6936. * RichTextBox.cs:
  6937. - Added SelectionLength property
  6938. - Implemented CanPaste()
  6939. - Implemented Paste()
  6940. - Added missing protected methods
  6941. - Fixed RTF->Document conversion; now uses font index 0 and color
  6942. index 0 as the default font for the parsed text
  6943. - Fixed RTF<->Document font size translation
  6944. - Fixed RTF generation, now properly handles cross-tag boundaries
  6945. for single line selection
  6946. - No longer always appends blank line to generated RTF
  6947. - Removed TODOs
  6948. - Added missing attributes
  6949. - Hooked up undo-related methods
  6950. * TextBoxBase.cs:
  6951. - Implemented Copy()
  6952. - Implemented Paste()
  6953. - Implemented Cut()
  6954. - Fixed caret mis-behaviour on backspace across line-boundaries
  6955. 2005-11-29 Jackson Harper <[email protected]>
  6956. * MdiClient.cs: Add a method for activating mdi children. Very
  6957. basic right now. I imagine someday it might need more girth.
  6958. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  6959. children windows names are added to the menu item.
  6960. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  6961. mdilist. This happens regardless of whether or not there are any
  6962. mdi windows to see in the list, and according to my tests happens
  6963. before the items are even added. Also happens if there isn't even
  6964. an mdi client to get windows from.
  6965. 2005-11-29 Alexander Olk <[email protected]>
  6966. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  6967. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  6968. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  6969. * DataGridTableStyle.cs:
  6970. - Create always the styles for the missing columns even if they are
  6971. provided by the user (not default table style)
  6972. * DataGrid.cs:
  6973. - Fixes bug 76770
  6974. - Fixes SetDataBinding (always re-attach source)
  6975. - Fixes SetNewDataSource (only clear styles if they are not for
  6976. this source)
  6977. - Expands OnTableStylesCollectionChanged to handle style refresh
  6978. and remove properly
  6979. 2005-11-29 Jackson Harper <[email protected]>
  6980. * FileDialog.cs: Implement missing bits, remove some dead
  6981. code.
  6982. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  6983. creation of the panel so that the options set on the dialog are
  6984. seen when the panel is created.
  6985. * TreeView.cs: raise a click when items are clicked.
  6986. 2005-11-29 Jackson Harper <[email protected]>
  6987. * MdiClient.cs: Pass some signature methods through to base.
  6988. 2005-11-28 Jackson Harper <[email protected]>
  6989. * ListView.cs: Raise the click event when items are clicked.
  6990. 2005-11-28 Jackson Harper <[email protected]>
  6991. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  6992. a nullref.
  6993. 2005-11-27 Alexander Olk <[email protected]>
  6994. * ThemeNice.cs: - Removed 1 pixel bitmaps
  6995. - Use SmoothingMode.AntiAlias where it makes sense
  6996. (ScrollButton arrow for example)
  6997. - Enhanced Button focus drawing
  6998. - Fixed ComboBox drawing (no artefacts anymore, focus
  6999. rectangle is back again, reduced size of ComboButton, etc.)
  7000. - Fixed RadioButton focus drawing for Appearence.Button
  7001. - Slight ScrollButton redesign
  7002. - Some LinearGradientBrush size fixes
  7003. - GroupBoxes have now rounded edges
  7004. - Fixed StatusBar drawing
  7005. 2005-11-25 Alexander Olk <[email protected]>
  7006. * ThemeNice.cs: - Remove dead code
  7007. - use correct background colors for menus, etc.
  7008. - Fake pixel drawing with 1 pixel bitmaps
  7009. 2005-11-24 Jackson Harper <[email protected]>
  7010. * MdiClient.cs: Size the scrollbars when resizing the window.
  7011. - Resize the maximized windows when the client is resized
  7012. * Form.cs: Make the child context available
  7013. 2005-11-23 Jackson Harper <[email protected]>
  7014. * MdiChildContext.cs: Don't size windows if they are maximized.
  7015. 2005-11-23 Mike Kestner <[email protected]>
  7016. * ContextMenu.cs: use MenuTracker.
  7017. * Control.cs: remove menu handle usage.
  7018. * Form.cs: remove menu handle usage.
  7019. * Hwnd.cs: remove menu handle usage.
  7020. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  7021. motion and clicks to the new Tracker handlers.
  7022. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  7023. and handle usage.
  7024. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  7025. Killed the MENU and MENUITEM data types and associated collections
  7026. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  7027. MenuTracker class that exposes the leftovers from the old MenuAPI
  7028. static methods. Restructured Capture handling so that only one grab is
  7029. done for the entire menu hierarchy instead of handing off grabs to
  7030. submenus. Tracker now has an invisible control to Capture when active.
  7031. * MenuItem.cs: add sizing accessors, kill Create
  7032. and handle usage.
  7033. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  7034. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  7035. MENU(ITEM). remove menu handle usage, use Menu directly.
  7036. * XplatUIDriver.cs: remove menu handle usage.
  7037. * XplatUIOSX.cs: remove menu handle usage.
  7038. * XplatUIWin32.cs: remove menu handle usage.
  7039. * XplatUIX11.cs: remove menu handle usage.
  7040. 2005-11-22 Jackson Harper <[email protected]>
  7041. * Hwnd.cs: Don't compute the menu size for
  7042. DefaultClientRectangle.
  7043. - Reenable menu sizes being computed for GetClienRectangle.
  7044. * Form.cs: Remove comment of trechery
  7045. 2005-11-22 Jackson Harper <[email protected]>
  7046. * Hwnd.cs: The adjustments for the menu bar are made when it is
  7047. attached to the form.
  7048. 2005-11-19 Jackson Harper <[email protected]>
  7049. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  7050. (just like on windows).
  7051. 2005-11-19 Jackson Harper <[email protected]>
  7052. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  7053. use real buttons anymore because they are in non client area. The
  7054. one TODO here is that I need to somehow invalidate a section of
  7055. the non client area.
  7056. 2005-11-18 Jackson Harper <[email protected]>
  7057. * Control.cs: Put the enum check back in now that MDI doesnt have
  7058. to use this to set border styles.
  7059. * Form.cs: Only set mdi child windows borders if the handle has
  7060. been created.
  7061. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  7062. this directly on to the driver.
  7063. - Get the move start position before adjusting for the titlebar
  7064. height, this fixes the windows "skipping" when they are first
  7065. moved.
  7066. 2005-11-18 Jackson Harper <[email protected]>
  7067. * XplatUIX11.cs: Just compute the mdi borders separately as they
  7068. don't totally match up with normal form borders.
  7069. 2005-11-18 Jackson Harper <[email protected]>
  7070. * Control.cs: Set WS_ styles for borders, so that the driver does
  7071. not have to retrieve the control instance to figure out what kind
  7072. of borders it should have.
  7073. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  7074. driver can know its an mdi child easily.
  7075. * XplatUIX11.cs: Get the border styles and whether the window is
  7076. MDI from the Styles and ExStyles params instead of having to get a
  7077. control. This prevents a chicken and egg problem.
  7078. 2005-11-18 Jackson Harper <[email protected]>
  7079. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  7080. 2005-11-18 Jackson Harper <[email protected]>
  7081. * MdiClient.cs: Calculate when to add and remove scrollbars
  7082. correctly.
  7083. * MdiChildContext.cs: Adjust the y position to take the titlebar
  7084. into account.
  7085. - No height for FormBorderStyle.None
  7086. 2005-11-18 Jackson Harper <[email protected]>
  7087. * Control.cs: Allow non enum values to be used for
  7088. InternalBorderStyle. MDI does this to set a special border style.
  7089. - New utility methods for converting points to/from client coords
  7090. - Add the newly created control to the Controls collection before
  7091. updating its style. This way UpdateStyle can walk the control
  7092. heirarchy to find the control if needed.
  7093. so I don't need to create a new Point object all the time.
  7094. * Form.cs: Let MDI windows handle their border styles.
  7095. - Set styles on MDI windows so the correct title style is derived.
  7096. * MdiChildContext.cs: Move all the painting and window handling
  7097. into the non client area.
  7098. - Use correct sizing and put correct buttons on frames based on
  7099. the FormBorderStyle.
  7100. - Notify the mdi client about scrolling
  7101. - Need to handle the buttons ourselves now, because they are all
  7102. in non client areas and we can't add controls there.
  7103. * MdiClient.cs: Halfway to scrolling, this implementation is
  7104. somewhat broken though, we need to check to make sure other
  7105. windows aren't causing scrolling before removing the bars. Also
  7106. the bars need to be drawn on top, maybe I can switch implicit
  7107. controls to be on top.
  7108. * Hwnd.cs: caption_height and tool_caption_height are now
  7109. properties of an hwnd, this way they can be set by the driver
  7110. based on the type of window they are. In X11 the window manager
  7111. handles the decorations so caption_height is zero unless its an
  7112. MDI window.
  7113. - Add 3 pixel borders for MDI windows (0xFFFF).
  7114. - Get rid of some code duplication, have DefaultClientRectanle
  7115. just call GetClientRectangle.
  7116. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  7117. Hwnd now.
  7118. - Set border styles differently for mdi windows.
  7119. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  7120. Hwnd now.
  7121. 2005-11-15 Mike Kestner <[email protected]>
  7122. * Menu.cs: when adding an item to the collection, if item is already
  7123. parented, remove it from the parent.
  7124. 2005-11-13 Alexander Olk <[email protected]>
  7125. * X11DesktopColors.cs: Added KDE support
  7126. 2005-11-11 Peter Dennis Bartok <[email protected]>
  7127. * XplatUIWin32.cs:
  7128. - Clipboard methods now can translate Rtf format
  7129. - No longer removes clipboard contents whenever a new format is added
  7130. to allow placing multiple formats on the clipboard
  7131. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  7132. will place all formats contained in it onto the clipboard. Also
  7133. now cleans the clipboard before placing a new object onto it
  7134. * RichTextBox.cs:
  7135. - Implemented set_Rtf
  7136. - Implemented set_SelectedRtf
  7137. - Created InsertRTFFromStream() method to allow single code base
  7138. for all properties and methods that insert RTF into document
  7139. - Removed debug output
  7140. * TextControl.cs:
  7141. - Fixed Delete(int) to fix up line numbers
  7142. - Fixed ReplaceSelection to combine start and end line
  7143. - Fixed serious DeleteChars bug that would leave the document tree
  7144. broken
  7145. - Improved DumpTree with several logic checks to detect broken
  7146. document trees
  7147. - Removed debug lines
  7148. - Fixed Caret.WordForward/WordBack moving code, now always also
  7149. updates caret.tag (fixes crash when word-selecting across tag
  7150. boundaries via keyboard)
  7151. - Added Insert() method for inserting multiline text into documents
  7152. - Fixed DeleteChars() calculation errors that would cause a broken
  7153. tag chain with multiple tag lines
  7154. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  7155. - Split() no longer moves caret if split is at caret location
  7156. - ReplaceSelection() now updates the cursor and re-displays it
  7157. - ReplaceSelection() now uses new Insert() method to avoid code
  7158. duplication
  7159. - FormatText() can now handle formatting partial lines
  7160. * TextBoxBase.cs:
  7161. - Append now uses new TextControl.Insert() method (this avoids
  7162. duplicate code)
  7163. - Implemented Ctrl-X (Cut) (
  7164. - Implemented Ctrl-C (Copy)
  7165. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  7166. regeneration when pasting text; roundtripping Copy&Paste within
  7167. edit control still fails due to some calculation bugs in GenerateRTF)
  7168. - The Delete key will now remove the current selection if it is visible
  7169. * TextBox.cs: Removed debug lines
  7170. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  7171. driver to be initialized and can't therefore be done via a static ctor)
  7172. 2005-11-10 Peter Dennis Bartok <[email protected]>
  7173. * TextControl.cs: Added backend code for finding char arrays and strings
  7174. * TextBoxBase.cs:
  7175. - Added mouse wheel scroll support
  7176. - Added support for VScroll and HScroll events
  7177. * RichTextBox.cs:
  7178. - Implemented all seven Find() variants
  7179. - Implemented GetCharFromPosition()
  7180. - Implemented GetCharIndexFromPosition()
  7181. - Implemented GetLineFromIndex()
  7182. - Implemented GetPositionFromCharIndex();
  7183. - Implemented SaveFile for PlainText and UnicodeText
  7184. - Fixed set_Font, now setting a new font applies that font to
  7185. the whole document
  7186. - Implemented generic Document to RTF converter
  7187. - Implemented SaveFile for RichText format (still missing unicode
  7188. conversion for non-ansi chars)
  7189. - Implemented get_Rtf
  7190. - Implemented get_SelectedRtf
  7191. 2005-11-09 Peter Dennis Bartok <[email protected]>
  7192. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  7193. to allow any captures to be released before triggering OnClick. This
  7194. way a click handler may capture the mouse without interference.
  7195. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  7196. This way we send them even though X may not allow a grab (if the window
  7197. isn't visible, for example)
  7198. 2005-11-08 Pedro Martinez Julia <[email protected]>
  7199. * DataGridViewRowEventArgs.cs: DataGridView implementation
  7200. * DataGridViewElement.cs: DataGridView implementation
  7201. * DataGridViewComboBoxCell.cs: DataGridView implementation
  7202. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  7203. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  7204. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  7205. * ImageLayout.cs: DataGridView implementation
  7206. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  7207. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  7208. * DataGridViewSelectionMode.cs: DataGridView implementation
  7209. * IDataGridViewEditingControl.cs: DataGridView implementation
  7210. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  7211. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  7212. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  7213. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  7214. * DataGridViewColumnSortMode.cs: DataGridView implementation
  7215. * DataGridView.cs: DataGridView implementation
  7216. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  7217. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  7218. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  7219. * Padding.cs: DataGridView implementation
  7220. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  7221. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  7222. * DataGridViewRowEventHandler.cs: DataGridView implementation
  7223. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  7224. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  7225. * DataGridViewButtonCell.cs: DataGridView implementation
  7226. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  7227. * DataGridViewEditMode.cs: DataGridView implementation
  7228. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  7229. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  7230. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  7231. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  7232. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  7233. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  7234. * DataGridViewCellEventHandler.cs: DataGridView implementation
  7235. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  7236. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  7237. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  7238. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  7239. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  7240. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  7241. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  7242. * QuestionEventArgs.cs: DataGridView implementation
  7243. * IDataGridViewEditingCell.cs: DataGridView implementation
  7244. * DataGridViewTriState.cs: DataGridView implementation
  7245. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  7246. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  7247. * DataGridViewColumnCollection.cs: DataGridView implementation
  7248. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  7249. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  7250. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  7251. * DataGridViewColumn.cs: DataGridView implementation
  7252. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  7253. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  7254. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  7255. * DataGridViewRow.cs: DataGridView implementation
  7256. * DataGridViewImageCellLayout.cs: DataGridView implementation
  7257. * DataGridViewImageCell.cs: DataGridView implementation
  7258. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  7259. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  7260. * DataGridViewHeaderCell.cs: DataGridView implementation
  7261. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  7262. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  7263. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  7264. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  7265. * QuestionEventHandler.cs: DataGridView implementation
  7266. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  7267. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  7268. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  7269. * DataGridViewCell.cs: DataGridView implementation
  7270. * DataGridViewCellEventArgs.cs: DataGridView implementation
  7271. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  7272. * DataGridViewCellStyle.cs: DataGridView implementation
  7273. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  7274. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  7275. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  7276. * TextFormatFlags.cs: DataGridView implementation
  7277. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  7278. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  7279. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  7280. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  7281. * DataGridViewButtonColumn.cs: DataGridView implementation
  7282. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  7283. * HandledMouseEventArgs.cs: DataGridView implementation
  7284. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  7285. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  7286. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  7287. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  7288. * DataGridViewRowCollection.cs: DataGridView implementation
  7289. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  7290. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  7291. * DataGridViewHitTestType.cs: DataGridView implementation
  7292. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  7293. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  7294. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  7295. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  7296. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  7297. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  7298. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  7299. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  7300. * DataGridViewContentAlignment.cs: DataGridView implementation
  7301. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  7302. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  7303. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  7304. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  7305. * DataGridViewPaintParts.cs: DataGridView implementation
  7306. * DataGridViewCellCollection.cs: DataGridView implementation
  7307. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  7308. * DataGridViewImageColumn.cs: DataGridView implementation
  7309. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  7310. * DataGridViewElementStates.cs: DataGridView implementation
  7311. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  7312. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  7313. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  7314. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  7315. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  7316. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  7317. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  7318. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  7319. * DataGridViewTextBoxCell.cs: DataGridView implementation
  7320. * DataGridViewBand.cs: DataGridView implementation
  7321. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  7322. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  7323. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  7324. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  7325. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  7326. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  7327. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  7328. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  7329. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  7330. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  7331. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  7332. 2005-11-08 Peter Dennis Bartok <[email protected]>
  7333. * ThemeWin32Classic.cs:
  7334. - Draw the outside focus rectangle around buttons
  7335. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  7336. doesn't use end caps for every dash of a line anymore. This
  7337. workaround ignores the forecolor.
  7338. 2005-11-08 Kornél Pál <[email protected]>
  7339. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  7340. endian safe.
  7341. 2005-11-07 Jackson Harper <[email protected]>
  7342. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  7343. 2005-11-07 Jackson Harper <[email protected]>
  7344. * ScrollableControl.cs: Calculate the maximum and change vars
  7345. (more) correctly so that scrollbars appear as a sensible size.
  7346. 2005-11-04 Jackson Harper <[email protected]>
  7347. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  7348. collection.
  7349. * TreeView.cs: When the tree is sorted null out the top_node so
  7350. that it is recalculated.
  7351. - Use dotted lines instead of dashed lines to match MS better.
  7352. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  7353. * ListView.cs:
  7354. - Implements key search for items. Useful when browsing files with FileDialog
  7355. - When changing view mode or when clear the items reset scrollbar positions
  7356. 2005-11-04 Jackson Harper <[email protected]>
  7357. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  7358. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  7359. as to what the method may do as there is no real way of creating a
  7360. derived CurrencyManager and calling the method.
  7361. 2005-11-03 Jackson Harper <[email protected]>
  7362. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  7363. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  7364. method which seems to just be used internally to refresh the tabs.
  7365. 2005-11-03 Jackson Harper <[email protected]>
  7366. * TabControl.cs: Implement the remove method. Fix some broken
  7367. comments.
  7368. 2005-11-03 Peter Dennis Bartok <[email protected]>
  7369. * DateTimePicker.cs:
  7370. - Added missing DateTimePickerAccessibleObject class
  7371. - Added missing events
  7372. - Added OnFontChanged method
  7373. * Form.cs: Added missing attributes
  7374. * TreeView.cs: Added missing attributes
  7375. 2005-11-03 Peter Dennis Bartok <[email protected]>
  7376. * GridItemCollection.cs: Fix signatures
  7377. 2005-11-03 Peter Dennis Bartok <[email protected]>
  7378. * XplatUI.cs: Updated build rev/date
  7379. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  7380. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  7381. * Application.cs: Trigger context-specific ExitThread events
  7382. 2005-11-03 Jackson Harper <[email protected]>
  7383. * Menu.cs:
  7384. * MainMenu.cs:
  7385. * GridTableStylesCollection.cs:
  7386. * Timer.cs:
  7387. * TabPage.cs:
  7388. * HelpProvider.cs:
  7389. * StatusBar.cs:
  7390. * MonthCalendar.cs: Signature fixes
  7391. 2005-11-03 Jackson Harper <[email protected]>
  7392. * TreeNodeCollection.cs: Remove should not be virtual.
  7393. * TreeView.cs: Implement the last of the missing methods.
  7394. 2005-11-03 Jackson Harper <[email protected]>
  7395. * TreeNodeConverter.cs: Implement to get off my class-status back.
  7396. 2005-11-03 Jackson Harper <[email protected]>
  7397. * TreeView.cs: Hookup the bits for drag and drop.
  7398. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  7399. that nodes can be moved from tree to tree easily this just causes
  7400. all sorts of problems.
  7401. * TreeNodeCollection: Don't need to give treenodes an index and
  7402. treeview anymore when they are added, these are computed on the
  7403. fly. Also make sure to remove a node before its added.
  7404. 2005-11-03 Peter Dennis Bartok <[email protected]>
  7405. * TextControl.cs:
  7406. - Added CaretSelection enum
  7407. - Added comparison methods to Marker struct, makes selection code
  7408. more readable
  7409. - Added SelectionStart and SelectionEnd as 'moveable' location for
  7410. the CaretDirection enum and handler
  7411. - Added selection_prev variable to track optimized invalidation for
  7412. word and line selection
  7413. - Added SelectionVisible property (returns true if there is a valid
  7414. selection)
  7415. - Switched CaretHasFocus to only display the caret if there is no
  7416. visible selection
  7417. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  7418. using the direct character index; should be much faster
  7419. - Added various conditional debug statements
  7420. - Fixed invalidation calculation for selection ranges
  7421. - Added ExpandSelection() method to support word and line selection
  7422. - Switched SetSelectionToCaret to use new Marker compare overloads
  7423. - Added central IsWordSeparator() method to determine word
  7424. separators/whitespace and FindWordSeparator() to streamline common
  7425. usage of IsWordSeparator()
  7426. * TextBoxBase.cs:
  7427. - Removed unneeded grabbed variable, it was just mirroring
  7428. Control.Capture
  7429. - No longer firing OnTextChanged event when Text setter is called,
  7430. since the base will fire the event for us
  7431. - Added handling of Ctrl-Up/Down selection
  7432. - Added handling of Shift-Cursorkey selection
  7433. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  7434. words
  7435. - Added handling of Shift and Ctrl-Shift-Home/End selection
  7436. - Removed some debug output
  7437. - Added handling for single/double/tripple-click to place caret/
  7438. select word/select line respectively (Fixes bug #76031)
  7439. - Added support for drag expansion of word/line selection
  7440. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  7441. current selection
  7442. 2005-11-02 Jackson Harper <[email protected]>
  7443. * X11Dnd.cs: If the drag is going to and from a MWF window just
  7444. copy the data instead of sending it out through the X Selection
  7445. mechanism.
  7446. 2005-11-02 Jackson Harper <[email protected]>
  7447. * X11Dnd.cs:
  7448. * XplatUIX11.cs: When in a drag we don't want motion notify
  7449. messages to get passed on to the other controls. This prevents
  7450. mouse move messages from showing up in the drag source.
  7451. 2005-11-02 Jackson Harper <[email protected]>
  7452. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  7453. the correct button is release to end a drag.
  7454. * XplatUIX11.cs: Make the button state internal so the drag system
  7455. can access it. Dragging needs to know about all button releases,
  7456. not just left button.
  7457. 2005-11-02 Miguel de Icaza <[email protected]>
  7458. * Form.cs (Icon): If the icon is null, reset the icon to the
  7459. default value.
  7460. * Cursor.cs: When writing the AND-mask bitmap do not include the
  7461. number of colors, but hardcode those to two (black and white),
  7462. fixes the loading of color cursors (Paint Dot Net).
  7463. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  7464. turn off autoscaling.
  7465. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  7466. 2005-11-02 Jackson Harper <[email protected]>
  7467. * X11Dnd.cs: Make sure to send a status message if the pointer
  7468. enters a control that can not accept a drop, otherwise the cursor
  7469. isn't updated correctly. Also tried to compress the lines of code
  7470. a bit.
  7471. 2005-11-02 Jackson Harper <[email protected]>
  7472. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  7473. set actions correctly. This isn't perfect as XDND and win32 have
  7474. some differences on how you allow actions. I'll clear this up by
  7475. adding a path for drag from MWF to MWF windows.
  7476. * XplatUIX11.cs: Hook into the dnd system.
  7477. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  7478. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  7479. previously shown but they are no longer need it. Very obvious when
  7480. browsing files with FileDialog.
  7481. 2005-11-01 Peter Dennis Bartok <[email protected]>
  7482. * Control.cs: We always need to call OnPaintBackground. We pretty much
  7483. ignore AllPaintingInWmPaint and always do the painting there, whether
  7484. it's set or not, since we always ignore the WM_ERASEBKGND message
  7485. (which we don't generate on X11). This fixes #76616.
  7486. * Panel.cs: Removed unneeded background painting. This happens properly
  7487. in Control.cs already
  7488. 2005-10-31 Mike Kestner <[email protected]>
  7489. * Menu.cs: Add items to collection before setting their index.
  7490. * MenuItem.cs : add range checking with ArgumentException like MS.
  7491. [Fixes #76510]
  7492. 2005-10-31 Jackson Harper <[email protected]>
  7493. * ListBox.cs: Invalidate if the area is visible at all not just
  7494. contained in the visible rect. Fixes unselection of semi visible
  7495. items.
  7496. 2005-10-31 Jackson Harper <[email protected]>
  7497. * Control.cs: Consistently name the dnd methods. Make them
  7498. internal so we can override them to match some MS behavoir
  7499. internally.
  7500. * Win32DnD.cs: Use the new consistent names.
  7501. 2005-10-31 Jackson Harper <[email protected]>
  7502. * TreeView.cs: Don't draw the selected node when we lose focus.
  7503. 2005-10-31 Jackson Harper <[email protected]>
  7504. * X11Dnd.cs: We still need to reset the state even though a full
  7505. reset isn't being done, otherwise status's still get sent all over
  7506. the place.
  7507. 2005-10-31 Jackson Harper <[email protected]>
  7508. * Control.cs: Make the dnd_aware flag internal so the dnd
  7509. subsystem can check it. Catch exceptions thrown in dnd handlers to
  7510. match MS behavoir.
  7511. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  7512. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  7513. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  7514. flags to reduce the number of dnd enters/status's sent.
  7515. 2005-10-31 Jackson Harper <[email protected]>
  7516. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  7517. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  7518. * PictureBox.cs: Fixes 76512
  7519. 2005-10-28 Jackson Harper <[email protected]>
  7520. * X11Dnd.cs: Early implementation to support winforms being a drag
  7521. source for data on X11. Also restructured the converters so they
  7522. can go both ways now.
  7523. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  7524. 2005-10-27 Peter Dennis Bartok <[email protected]>
  7525. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  7526. clipboard requests
  7527. 2005-10-27 Jackson Harper <[email protected]>
  7528. * TreeNode.cs: Implement serialization so my DnD examples will work.
  7529. 2005-10-24 Kornél Pál <[email protected]>
  7530. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  7531. TreeView.cs: Don't dispose objects that are not owned.
  7532. 2005-10-24 Peter Dennis Bartok <[email protected]>
  7533. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  7534. should retrieve the current cursor and report that, but XplatUI
  7535. doesn't (yet) have an interface for that (and I'm not sure I even
  7536. can, on X11)
  7537. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  7538. until any message loop processing is done (and the WM_SETCURSOR
  7539. replaces the cursor to the proper one)
  7540. * XplatUIX11.cs:
  7541. - Fixed override behaviour, we can't set the cursor globally on X11,
  7542. just for our windows.
  7543. - Invalidating the System.Drawing X11 display handle when we are
  7544. shutting down
  7545. * Control.cs: Fix to make csc happy
  7546. 2005-10-23 Peter Dennis Bartok <[email protected]>
  7547. * TextBoxBase.cs:
  7548. - get_Text: Add last line (without trailing newline) to returned
  7549. value (Fixes 76212)
  7550. - get_TextLength: Count last line in returned length
  7551. - ToString: Call Text property instead of duplicating code
  7552. 2005-10-23 Kornél Pál <[email protected]>
  7553. * ImageList.cs: Dispose ImageAttributes objects.
  7554. 2005-10-22 Kornél Pál <[email protected]>
  7555. * ImageList.cs: Use attribute constructors with less arguments where
  7556. possible.
  7557. 2005-10-22 Kornél Pál <[email protected]>
  7558. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  7559. Use typeof instead of strings when assembly is referenced. Added
  7560. some more comments.
  7561. 2005-10-21 Jackson Harper <[email protected]>
  7562. * ListView.cs: Raise a double click event. Also tried to somewhat
  7563. fix when the selectedindexchanged event is raised. Its still
  7564. broken though.
  7565. 2005-10-21 Jackson Harper <[email protected]>
  7566. * TreeView.cs: New method to invalidate the plus minus area of a
  7567. node without invalidating the whole node (maybe this can be used
  7568. in some more places).
  7569. * TreeNodeCollection.cs: When adding to an empty node we need to
  7570. invalidate its plus minus area so the little block shows up.
  7571. 2005-10-21 Jackson Harper <[email protected]>
  7572. * TreeView.cs: Make sure that when we invalidate a node the bounds
  7573. are big enough to cover the selected box and the focus
  7574. rectangle. Use a different colour for the lines connecting nodes
  7575. so they show up with all themes.
  7576. 2005-10-21 Peter Dennis Bartok <[email protected]>
  7577. * NativeWindow.cs: Don't call anything that could call into the driver,
  7578. we might be on a different thread.
  7579. 2005-10-21 Peter Dennis Bartok <[email protected]>
  7580. * Control.cs(Dispose): Since Dispose might run on a different thread,
  7581. make sure that we call methods that could call into the driver via
  7582. invoke, to avoid thread issues
  7583. 2005-10-21 Peter Dennis Bartok <[email protected]>
  7584. * XplatUI.cs: Removed finalizer
  7585. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  7586. not allowing to be called on the finalizer thread.
  7587. 2005-10-21 Kornél Pál <[email protected]>
  7588. * ImageList.cs:
  7589. - Reverted r51889 and r51891.
  7590. - Added ImageListItem class that stores unmodified image items and image
  7591. properties required to create list images until handle is created.
  7592. - Added AddItem and moved image creation logic to AddItemInternal.
  7593. - Added CreateHandle method that creates images based on unmodified items.
  7594. - Added DestroyHandle that changes state to store unmodified items.
  7595. - Add and AddStrip methods no more create handle.
  7596. - ReduceColorDepth has no return value.
  7597. - Dispose destroys handle.
  7598. - Modified other methods to reflect the above changes.
  7599. - Implemented key support.
  7600. - Added profile 2.0 members and attributes.
  7601. - Added private Reset and ShouldSerialize methods that provide the same
  7602. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  7603. them as they are private.
  7604. - Added some more comments about implementation details.
  7605. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  7606. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  7607. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  7608. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  7609. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  7610. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  7611. * DataGridColumnStyle.cs: Remove debug message
  7612. 2005-10-20 Jackson Harper <[email protected]>
  7613. * TreeView.cs: We can always get input keys regardless of whether
  7614. or not editing is enabled. They are used for navigation.
  7615. 2005-10-20 Jackson Harper <[email protected]>
  7616. * TreeNode.cs: Use the viewport rect for determining if a node
  7617. needs to be moved for visibility. Don't use Begin/End edit. This
  7618. calls a full refresh when its done.
  7619. * TreeView.cs: New SetBottom works correctly. Make the viewport
  7620. rect property internal so the treenodes can see it. When clicking
  7621. on a node we need to ensure that its visible because it might just
  7622. be partly visible when clicked.
  7623. 2005-10-20 Jackson Harper <[email protected]>
  7624. * TreeNodeCollection.cs: Remove debug code.
  7625. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  7626. * Datagrid.cs: Implements column sorting in Datagrid
  7627. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  7628. 2005-10-20 Jackson Harper <[email protected]>
  7629. * TreeNodeCollection.cs: Remove items properly. Update the correct
  7630. area after removing them.
  7631. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  7632. * Datagrid.cs: Should not call base.OnPaintBackground
  7633. 2005-10-20 Peter Dennis Bartok <[email protected]>
  7634. * XplatUIX11.cs (GetMessage):
  7635. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  7636. window instead of client window
  7637. - Now properly calculates NC_xBUTTONUP message coordinates
  7638. - ScreenToMenu now properly calculates it's coordinates of whole
  7639. window, since menus are in the whole window, not in the client
  7640. window
  7641. - Added WholeToScreen coordinate translation method
  7642. 2005-10-20 Peter Dennis Bartok <[email protected]>
  7643. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  7644. want to return a message, loop back to the beginning of the function
  7645. and grab the next real message to process instead.
  7646. 2005-10-20 Peter Dennis Bartok <[email protected]>
  7647. * Splitter.cs: Properly set limits if no filler control is used
  7648. 2005-10-19 Jackson Harper <[email protected]>
  7649. * ColorDialog.cs: Don't show the help button if it is not enabled
  7650. instead of disabling it (this is what MS does). Don't create the
  7651. panel until the dialog is run, otherwise the vars (such as
  7652. ShowHelp) are not set yet.
  7653. 2005-10-19 Jackson Harper <[email protected]>
  7654. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  7655. are reduced when adding nodes.
  7656. * TreeNode.cs:
  7657. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  7658. tree.
  7659. 2005-10-19 Jackson Harper <[email protected]>
  7660. * FolderBrowserDialog.cs: End editing our treeview so the window
  7661. actually gets refreshed.
  7662. 2005-10-18 Peter Dennis Bartok <[email protected]>
  7663. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  7664. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  7665. inside of WM_PAINT
  7666. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  7667. * MenuAPI.cs: Returns after Hidding window
  7668. * XplatUIX11.cs: Added TODO found while debugging menu issues
  7669. 2005-10-18 Peter Dennis Bartok <[email protected]>
  7670. * XplatUIX11.cs: Do not re-map the whole window when it's size
  7671. becomes non-zero unless it's supposed to be actually visible
  7672. 2005-10-18 Jackson Harper <[email protected]>
  7673. * TreeView.cs: We don't need to keep a count anymore.
  7674. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  7675. use the Grow method.
  7676. 2005-10-18 Jackson Harper <[email protected]>
  7677. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  7678. implement it manually here.
  7679. 2005-10-18 Jackson Harper <[email protected]>
  7680. * ImageList.cs: Dont kill the list when the colour depth is
  7681. changed, just change the colour depth of all the images.
  7682. - Same goes for setting the image size. Just resize them all
  7683. instead of killing the list softly.
  7684. 2005-10-18 Jackson Harper <[email protected]>
  7685. * Control.cs: Don't invalidate empty rectangles.
  7686. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  7687. * ListViewItem.cs:
  7688. - Adds checked item to the Checked/Item lists (where empty before)
  7689. - Do not add items to the Selected lists if they are already present
  7690. * ListView.cs:
  7691. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  7692. - When deleting items make sure that we delete them for the Selected
  7693. and Checked list also.
  7694. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  7695. * Label.cs: Dispose objects no longer used
  7696. * ThemeWin32Classic.cs: Dispose objects no longer used
  7697. 2005-10-18 Jackson Harper <[email protected]>
  7698. * TabControl.cs: Don't refresh the whole control when the tabs are
  7699. scrolled, we just need to refresh the tab area.
  7700. 2005-10-17 Jackson Harper <[email protected]>
  7701. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  7702. after handle when we need it.
  7703. 2005-10-17 Peter Dennis Bartok <[email protected]>
  7704. * Control.cs: When the parent size changes, recalculate anchor
  7705. positions. Partial fix for #76462
  7706. 2005-10-17 Peter Dennis Bartok <[email protected]>
  7707. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  7708. drawn. Fixes #76462
  7709. 2005-10-17 Jackson Harper <[email protected]>
  7710. * MonthCalendar.cs: Don't create the numeric up down until our
  7711. handle is created. Otherwise our handle is created in the
  7712. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  7713. yet.
  7714. 2005-10-17 Jackson Harper <[email protected]>
  7715. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  7716. correctly.
  7717. 2005-10-17 Rafael Teixeira <[email protected]>
  7718. * TreeNode.cs : small logical fix (was using local var instead of field)
  7719. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  7720. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  7721. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  7722. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  7723. 2005-10-16 Peter Dennis Bartok <[email protected]>
  7724. * Control.cs:
  7725. - Re-implemented anchoring code. My first version was really broken.
  7726. This fixes bug #76033. Unlike the previous implementation we will
  7727. no longer have round errors since all numbers are calculated from
  7728. scratch every time. Removed various anchor-related obsolete vars.
  7729. - InitLayout no longer causes layout event firing and layout to be
  7730. performed
  7731. 2005-10-16 Jackson Harper <[email protected]>
  7732. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  7733. which was broken).
  7734. 2005-10-16 Jackson Harper <[email protected]>
  7735. * TabControl.cs: Remove debug code.
  7736. 2005-10-16 Jackson Harper <[email protected]>
  7737. * XEventQueue.cs: Increase the default queue size (very simple
  7738. apps needed to grow the queue).
  7739. * Hwnd.cs: No finalizer so we don't need to suppress
  7740. finalization. Compute the invalid area manually so a new rectangle
  7741. does not newto be created.
  7742. * ScrollableControl.cs: Don't set any params (otherwise visibility
  7743. isn't set correctly).
  7744. * MdiChildContext.cs: New constructor takes the mdi parent so it
  7745. doesn't have to be computed and avoids a crash on windows. Draw
  7746. the window icon properly, and allow the text to be seen.
  7747. * Form.cs: Use new MdiChildContext constructor. Make sure the
  7748. child context isn't null in wndproc.
  7749. * TabControl.cs: Don't set focus, this is muddling keyboard
  7750. behavoir. Expand the tab rows when a window size increase will
  7751. allow extra tabs to be seen. Don't allow tabs smaller than the
  7752. width of a window to be scrolled out of view.
  7753. * TreeNode.cs:
  7754. * TreeView.cs: Use measure string to calculate a nodes width, the
  7755. width is cached and only updated when the text or the font is
  7756. changed. Don't check for expand/collapse clicks on the first level
  7757. nodes if root lines are disabled.
  7758. 2005-10-16 Ritvik Mayank <[email protected]>
  7759. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  7760. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  7761. * DataGridBoolColumn.cs: fixes warning
  7762. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  7763. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  7764. to match more to match more precisely the MS Net behavior
  7765. 2005-10-13 Peter Dennis Bartok <[email protected]>
  7766. * Hwnd.cs: Added field to track if window is mapped
  7767. * XplatUIX11.cs:
  7768. - Unmap windows if they become 0-size, re-map when
  7769. they are >0 again; fixes #76035
  7770. - Re-set our error handler after initializing X11Desktop
  7771. to override any error handlers Gtk or whatever was called
  7772. may have set.
  7773. 2005-10-13 Peter Dennis Bartok <[email protected]>
  7774. * CheckedListBox.cs: Removed unused vars
  7775. * ListView.cs: Fixed signatures
  7776. * RichTextBox.cs: Removed unused vars
  7777. * TextBoxBase.cs: Removed unused vars
  7778. * XplatUIWin32.cs: Removed unused vars
  7779. * XplatUIX11.cs: Removed unused vars
  7780. * XplatUI.cs: Updated version and date to latest published
  7781. 2005-10-13 Peter Dennis Bartok <[email protected]>
  7782. * Cursor.cs: Added private .ctor to work around a bug in
  7783. resourceset (Thanks to Geoff Norton for the help on this)
  7784. * SplitterEventArgs.cs: Made fields accessible so we don't
  7785. waste boatloads of objects and can reuse the same one
  7786. in Splitter
  7787. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  7788. any captions and borders when generating screen coordinates
  7789. * Splitter.cs: Reimplemented control, now fully complete, uses
  7790. rubberband drawing, supports and obeys all properties, has
  7791. proper cursors
  7792. 2005-10-13 Miguel de Icaza <[email protected]>
  7793. * Form.cs (Form): Setup default values for autoscale and
  7794. autoscale_base_size; Make these instance variables, not static
  7795. variables.
  7796. (OnLoad): on the first load, adjust the size of the form.
  7797. 2005-10-13 Peter Dennis Bartok <[email protected]>
  7798. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  7799. width argument to DrawReversibleRectangle()
  7800. * XplatUIWin32.cs, XplatUIX11.cs:
  7801. - Implemented width for DrawReversibleRectangle()
  7802. - Added logic to DrawReversibleRectangle that recognizes a zero
  7803. width or height and only draws a line in that situation
  7804. 2005-10-12 Peter Dennis Bartok <[email protected]>
  7805. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  7806. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  7807. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  7808. method (it uses our FosterParent window to get a graphics context)
  7809. 2005-10-12 Peter Dennis Bartok <[email protected]>
  7810. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  7811. and SetWindowBackground methods
  7812. * Control.cs:
  7813. - Setting proper ControlStyles
  7814. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  7815. EraseWindowBackground, instead we draw the window background
  7816. ourselves in PaintControlBackground. This behaviour is
  7817. required to match MS, where, when OnPaintBackground is not
  7818. called, the background is not drawn.
  7819. - Removed unneeded Refresh() in set_Text
  7820. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  7821. * XplatUIX11.cs:
  7822. - Created DeriveStyles method to translate from CreateParams to
  7823. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  7824. matches FormBorderStyle enum values)
  7825. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  7826. style calculations into single DeriveStyles method
  7827. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  7828. from redrawing the whole window on any resize or expose.
  7829. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  7830. all styles were applied to our whole/client window appropriately
  7831. - Removed EraseWindowBackground() and SetWindowBackground() methods
  7832. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  7833. no longer clear/redraw the background through X
  7834. - Removed handling of erase_pending bit, we have no use for it (or
  7835. so it seems)
  7836. * XplatUIOSX.cs:
  7837. - Removed generation and handling of WM_ERASEBKGND message
  7838. - Removed EraseWindowBackground() and SetWindowBackground() methods
  7839. - Removed handling of hwnd.ErasePending flag
  7840. * XplatUIWin32.cs:
  7841. - Removed EraseWindowBackground() and SetWindowBackground() methods
  7842. - We no longer call EraseWindowBackground on PaintEventStart, we
  7843. ignore the fErase flag, erasing is handled in Control in the
  7844. background handler
  7845. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  7846. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  7847. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  7848. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  7849. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  7850. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  7851. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  7852. 2005-10-12 Jonathan Chambers <[email protected]>
  7853. * PropertyGrids.cs: Get sub properties
  7854. * PropertyGridView.cs: Fix drawing code
  7855. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  7856. * ListBox.cs: Fixes 76383
  7857. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  7858. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  7859. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  7860. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  7861. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  7862. * ComboBox.cs: Fixes border drawing
  7863. 2005-10-10 Miguel de Icaza <[email protected]>
  7864. * MimeIcon.cs: Ignore errors if the file can not be read.
  7865. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  7866. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  7867. - Fixed border calculations
  7868. - Fixed horizontal scrolling in single column listboxes
  7869. - Fixed drawing issues
  7870. 2005-10-10 Peter Dennis Bartok <[email protected]>
  7871. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  7872. FormBorderStyle enum
  7873. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  7874. code to determine FormBorderStyles from CreateParams
  7875. * Form.cs:
  7876. - Fixed bug where we'd set the wrong window styles if we were
  7877. not creating an MDI window
  7878. - Added call to XplatUI.SetBorderStyle when form borders are set
  7879. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  7880. * Hwnd.cs:
  7881. - Removed obsolete edge style
  7882. - Switched from BorderStyle to FormBorderStyle
  7883. 2005-10-10 Jackson Harper <[email protected]>
  7884. * Form.cs: Use the property to get the window handle instead of
  7885. accessing it directly. Prevents a null reference exception.
  7886. 2005-10-10 Jackson Harper <[email protected]>
  7887. * TreeView.cs: Don't adjust the rect given to DrawString now that
  7888. our libgdiplus draws correctly.
  7889. 2005-10-08 Jackson Harper <[email protected]>
  7890. * TreeView.cs: Don't try to find the clicked on node if there are
  7891. no nodes in the tree.
  7892. 2005-10-08 Alexander Olk <[email protected]>
  7893. * RichTextBox.cs:
  7894. restore
  7895. 2005-10-08 Alexander Olk <[email protected]>
  7896. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  7897. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  7898. ErrorProvider.cs:
  7899. Use ResPool for brushes and dispose System.Drawing objects that
  7900. are not used anymore.
  7901. 2005-10-07 Jackson Harper <[email protected]>
  7902. * MdiChildContext.cs: Use the new borders instead of drawing them
  7903. ourselves.
  7904. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  7905. * Calling UpdateBounds after changing the window's BorderStyle
  7906. since the style can change the ClientSize
  7907. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7908. * Control.cs: Made PaintControlBackground virtual
  7909. * Panel.cs: Overriding PaintControlBackground instead of using paint
  7910. event; paint event method was interfering with 'real' users of the
  7911. event.
  7912. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  7913. * ThemeWin32Classic.cs: remove border drawing since it is handled
  7914. by the base control class now and was causing double border drawing.
  7915. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7916. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  7917. but it does seem to match MS behaviour. This fixes bug #75324
  7918. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7919. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  7920. somewhat hackish looking
  7921. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7922. * TextBoxBase.cs:
  7923. - We now accept Enter even if AcceptEnter is false, if the containing
  7924. form does not have an AcceptButton configured (fixes bug #76355)
  7925. - Calculations are now fixed to no longer use Width/Height, but
  7926. ClientSize.Width/Height, since we now support borders (this was
  7927. a result of fixing borders and therefore bug #76166)
  7928. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  7929. true (fixes bug #76354)
  7930. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7931. * Control.cs:
  7932. - Defaulting BorderStyle and setting it in XplatUI when our window
  7933. is created
  7934. - Added enum check to InternalBorderStyle setter
  7935. * XplatUIX11.cs:
  7936. - Added drawing of window borders
  7937. - Now properly calculates WM decorations offset for toplevel
  7938. windows (fixes bug #74763)
  7939. * XplatUIWin32.cs:
  7940. - Implemented BorderStyles for windows (we're letting win32 draw
  7941. the border for us)
  7942. - Fixed the signature for SetWindowLong
  7943. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  7944. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  7945. setting borders
  7946. * UpDownBase.cs: Remove drawing of borders, this is handled by
  7947. the driver, outside the client area
  7948. * ListView.cs: Removed bogus border calculations. The control should
  7949. be oblivious to borders, since those are not part of the client
  7950. area.
  7951. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  7952. * ThemeWin32Classic.cs: Removed border calculations from ListView
  7953. drawing code
  7954. 2005-10-06 Jackson Harper <[email protected]>
  7955. * MdiChildContext.cs: Clear out the old virtual position remove
  7956. all the unneeded calls to CreateGraphics.
  7957. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7958. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  7959. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7960. * Form.cs:
  7961. - Added loading and setting of our new default icon
  7962. - Only set icon if window is already created
  7963. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7964. * Label.cs:
  7965. - Do not explicitly set the foreground and background colors, to
  7966. allow inheriting from parents (fixes #76302)
  7967. - Use Control's InternalBorderStyle property to deal with borders
  7968. 2005-10-06 Jackson Harper <[email protected]>
  7969. * MdiChildContext.cs: Use the new xplatui function to draw a
  7970. reversible rect.
  7971. 2005-10-06 Jackson Harper <[email protected]>
  7972. * Form.cs: Add the parent before creating the child context cause
  7973. we need the parent when setting up the child.
  7974. 2005-10-06 Jackson Harper <[email protected]>
  7975. * FolderBrowserDialog.cs: redo the tree population code so a
  7976. second thread isn't used. Should be a lot faster and more stable
  7977. now.
  7978. 2005-10-05 Jackson Harper <[email protected]>
  7979. * TreeView.cs: There are no expand/collapse boxes if the node has
  7980. no children.
  7981. 2005-10-05 Jackson Harper <[email protected]>
  7982. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  7983. 2005-10-05 Alexander Olk <[email protected]>
  7984. * FileDialog.cs: Fix InitialDirectory
  7985. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  7986. * ComboBox.cs:
  7987. - Fixes changing between styles
  7988. - Fixes simple mode
  7989. - Fixes last item crashing when navigating with keyboard
  7990. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  7991. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  7992. 2005-10-05 Jackson Harper <[email protected]>
  7993. * TreeView.cs: If updating the root node do a full refresh.
  7994. * TreeNode.cs: The root node should be expanded by default. Also
  7995. added a utility prop to tell if we are the root node.
  7996. * TreeNodeCollection.cs: Only refresh if the node we are being
  7997. added to is expanded. Also added a comment on a potential
  7998. optimization.
  7999. 2005-10-04 Peter Dennis Bartok <[email protected]>
  8000. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  8001. in dispose method. Fixes #76330
  8002. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  8003. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  8004. - Implements vertical and horizontal scrolling using XplatUI
  8005. - Fixes keyboard navagation
  8006. - Fixes EnsureVisible
  8007. - Drawing fixes
  8008. - Handles and draws focus properly
  8009. 2005-10-04 Kornél Pál <[email protected]>
  8010. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  8011. Create handle. NET_2_0: Destroy handle when value is null.
  8012. 2005-10-03 Jackson Harper <[email protected]>
  8013. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  8014. revert and a new patch to prevent the thumb from refreshing so
  8015. much.
  8016. 2005-10-02 Jackson Harper <[email protected]>
  8017. * ScrollBar.cs: Don't update position if it hasn't actually
  8018. changed. This occurs when you hold down the increment/decrement
  8019. buttons and the thumb gets to the max/min.
  8020. 2005-10-01 Jackson Harper <[email protected]>
  8021. * Form.cs:
  8022. * MdiChildContext.cs:
  8023. * MdiClient.cs: Implement ActiveMdiChild in Form.
  8024. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  8025. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  8026. 2005-10-01 Peter Dennis Bartok <[email protected]>
  8027. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  8028. be found
  8029. 2005-09-30 Jackson Harper <[email protected]>
  8030. * ListBox.cs: Don't do a full refresh unless some data has
  8031. actually changed.
  8032. 2005-09-30 Jackson Harper <[email protected]>
  8033. * TreeView.cs: Make sure that the checkboxes size is factored in
  8034. even when not visible.
  8035. 2005-09-30 Peter Dennis Bartok <[email protected]>
  8036. * FileDialog.cs: Fix Jordi's build break
  8037. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  8038. * FileDialog.cs:
  8039. - Use standard the Windows colours for the combobox as espected
  8040. - Dispose objects that use resouces when no longer need them
  8041. 2005-09-30 Peter Dennis Bartok <[email protected]>
  8042. * X11DesktopColors.cs: Initial incomplete implementation
  8043. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  8044. 2005-09-30 Peter Dennis Bartok <[email protected]>
  8045. * Theme.cs:
  8046. - Switched Theme color names to match the names defined in
  8047. System.Drawing.KnownColors. Life's hard enough, no need to make
  8048. it harder.
  8049. - Added setters to all theme color properties so themes can set
  8050. their color schemes. The setters also propagate the color changes
  8051. to System.Drawing.KnownColors via reflection
  8052. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  8053. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  8054. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  8055. use the new, more logical theme color names
  8056. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  8057. post-NT colors
  8058. * ThemeWin32Classic.cs:
  8059. - Removed code to set the old classic Windows colors. Instead it
  8060. now relies on the colors returned by System.Drawing.KnownColors
  8061. which will be either modern static colors (Unix) or colors
  8062. read from the user's configuration (Win32)
  8063. - Updated to use the new, more logical theme color names
  8064. - Switched DataGrid drawing code to use only Theme colors instead of
  8065. a mix of System.Drawing.KnownColors and Theme colors
  8066. - DrawFrameControl(): Removed code that fills the button area, the
  8067. fill would overwrite any previous fill done by a control. This
  8068. fixes bug #75338
  8069. - Added DrawReversibleRectangle() stub
  8070. * ScrollableControl.cs: Set visible state to false when scrollbars
  8071. are removed (pdn fix)
  8072. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  8073. DrawReversibleRectangle() method to allow drawing primitive
  8074. 'rubber bands'
  8075. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  8076. 2005-09-30 Kornél Pál <[email protected]>
  8077. * ImageList.cs: Add(Icon): Create handle.
  8078. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  8079. * ListView.cs:
  8080. * ThemeWin32Classic.cs:
  8081. - Fixes detail mode
  8082. - Sets clippings
  8083. - Issues with drawing
  8084. 2005-09-30 Kornél Pál <[email protected]>
  8085. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  8086. source has to be the ImageList.
  8087. 2005-09-30 Kornél Pál <[email protected]>
  8088. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  8089. 2005-09-30 Kornél Pál <[email protected]>
  8090. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  8091. 2005-09-30 Kornél Pál <[email protected]>
  8092. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  8093. 2005-09-29 Jonathan Chambers <[email protected]>
  8094. * GridItem.cs: Fixed TODOs
  8095. * GridItemCollection.cs: Added ICollection interface
  8096. 2005-09-30 Kornél Pál <[email protected]>
  8097. * ImageList.cs: Resize icons when needed.
  8098. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  8099. * ListViewItem.cs
  8100. - Fixes GetBounds and returns on screen rects
  8101. * ListView.cs:
  8102. - Fixes vertical and horzintal scrolling of items
  8103. * ThemeWin32Classic.cs:
  8104. - Fixes drawing
  8105. 2005-09-29 Raja R Harinath <[email protected]>
  8106. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  8107. 2005-09-29 Kornél Pál <[email protected]>
  8108. * ImageList.cs: Added comments about handle creation. Moved Handle,
  8109. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  8110. Handle is created in Add methods.
  8111. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  8112. * DataGridDrawingLogic.cs:
  8113. - Takes rows into account on Colum calculations
  8114. - Returns the column when clickig
  8115. * DataGrid.cs:
  8116. - Fixes default HitTestInfo values
  8117. - Fixes HitTestInfo.ToString
  8118. - Fixes ResetBackColor
  8119. 2005-09-28 Jackson Harper <[email protected]>
  8120. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  8121. sizing or cursor changes). Also added some temp code to draw the
  8122. titlebars text (Makes dev a little easier).
  8123. 2005-09-28 Kornél Pál <[email protected]>
  8124. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  8125. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  8126. * ListBox.cs: Fixes bug 76253
  8127. 2005-09-28 Kornél Pál <[email protected]>
  8128. * ImageList.cs: Added comments about the current implementation. Added
  8129. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  8130. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  8131. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  8132. with Bitmap.LockBits for better performance. Revised the whole file to
  8133. match MS.NET behaviour and provide better performance. Non-public
  8134. interface members are calling public members even when they throw
  8135. NotSupportedException for better maintainability. Moved ColorDepth,
  8136. ImageSize, ImageStream and TransparentColor implementations to
  8137. ImageCollection for better performance as these properties are not used
  8138. by ImageList.
  8139. * ImageListStreamer.cs: Added a new internal constructor that takes an
  8140. ImageList.ImageCollection and serializes Images based on
  8141. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  8142. match ImageList property name.
  8143. 2005-09-28 Kazuki Oikawa <[email protected]>
  8144. * ListBox.cs: Fixes IndexFromPoint for last item
  8145. 2005-09-27 Jackson Harper <[email protected]>
  8146. * Form.cs: Set the position of new mdi children correctly.
  8147. 2005-09-27 Jackson Harper <[email protected]>
  8148. * MdiClient.cs: New mdi children need to be added to the back of
  8149. the controls collection so the zorder is set correctly. Also add a
  8150. count of all the child windows that have been created.
  8151. 2005-09-27 Jackson Harper <[email protected]>
  8152. * Form.cs (CreateParams): Setup MDI forms correctly.
  8153. 2005-09-27 Jackson Harper <[email protected]>
  8154. * MdiChildContext.cs:
  8155. * MonthCalendar.cs:
  8156. * UpDownBase.cs:
  8157. * ListBox.cs:
  8158. * ListView.cs:
  8159. * TextBoxBase.cs:
  8160. * TreeView.cs:
  8161. * ScrollableControl.cs:
  8162. * ComboBox.cs: Add implicit controls using the new implict control
  8163. functionality in ControlCollection. Also try to block multiple
  8164. control add in a suspend/resume layout to save some cycles.
  8165. 2005-09-27 Jackson Harper <[email protected]>
  8166. * Control.cs: Add functionality to the controls collection to add
  8167. 'implicit controls' these are controls that are created by the
  8168. containing control but should not be exposed to the user. Such as
  8169. scrollbars in the treeview.
  8170. * Form.cs: The list var of the ControlsCollection is no longer
  8171. available because of the potential of implicit controls getting
  8172. ignored by someone accessing the list directly.
  8173. 2005-09-26 Peter Dennis Bartok <[email protected]>
  8174. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  8175. loose it's parent. (Fixed bug introduced in r49103 when we added
  8176. setting the child parent to null on Remove)
  8177. 2005-09-26 Gert Driesen <[email protected]>
  8178. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  8179. * Splitter.cs: Added missing attributes for BorderStyle property.
  8180. * TextBoxBase.cs: Marked Calculate* methods internal.
  8181. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  8182. MS.NET.
  8183. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  8184. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  8185. 2005-09-25 Jackson Harper <[email protected]>
  8186. * TreeView.cs: Update the node bounds correctly regardless of
  8187. whether the node is visible.
  8188. 2005-09-25 Jackson Harper <[email protected]>
  8189. * ImageList.cs: Don't dispose the image after it is added to the
  8190. image list. Only reformat images that need to be resized.
  8191. 2005-09-25 Jackson Harper <[email protected]>
  8192. * ImageList.cs: Don't set the format when changing the image.
  8193. 2005-09-25 Jackson Harper <[email protected]>
  8194. * TreeView.cs: We can't just assume the node has a font. Use the
  8195. treeviews font if no node font is available.
  8196. 2005-09-25 Jackson Harper <[email protected]>
  8197. * TreeView.cs: Allow the scrollbars to be reset with negative
  8198. values.
  8199. - Don't add scrollbars to negative sized windows.
  8200. 2005-09-23 Jackson Harper <[email protected]>
  8201. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  8202. old Mono.Posix. Also remove some stray code that shouldn't have
  8203. been committed.
  8204. 2005-09-23 Jackson Harper <[email protected]>
  8205. * TreeView.cs: Attempt at proper sizing of the horizontal
  8206. scrollbar. Also don't resize the scrollbars unless they are
  8207. visible.
  8208. 2005-09-23 Jackson Harper <[email protected]>
  8209. * TreeView.cs: We don't need to expand the invalid area when the
  8210. selection changes, as this is all drawn in the node's bounding
  8211. box. The area needs to be expanded (previous typo was contracting
  8212. it) when the focus rect moves.
  8213. 2005-09-23 Jackson Harper <[email protected]>
  8214. * TreeView.cs: Display the selection box under the correct
  8215. circumstances. We were rendering white text with no selection box
  8216. before.
  8217. 2005-09-23 Peter Dennis Bartok <[email protected]>
  8218. * TextControl.cs(Split): Now updates selection start/end if it points
  8219. into a line that's being split. Fixes a FIXME and bug #75258
  8220. 2005-09-23 Jackson Harper <[email protected]>
  8221. * Binding.cs:
  8222. * ListControl.cs: Don't use the path when retrieving binding
  8223. managers from the binding context. My bat sense tells me that the
  8224. path is only used on insertion.
  8225. 2005-09-22 Jackson Harper <[email protected]>
  8226. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  8227. 2005-09-22 Jackson Harper <[email protected]>
  8228. * Splitter.cs: There are special cursors used for splitting.
  8229. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  8230. 2005-09-22 Jackson Harper <[email protected]>
  8231. * Splitter.cs: Change the cursor appropriately when the splitter
  8232. is moused over, so the user actually knows there is a splitter
  8233. there.
  8234. 2005-09-22 Hisham Mardam Bey <[email protected]>
  8235. * Label.cs : Fix ToString method to give same output as MS.NET
  8236. 2005-09-22 Jackson Harper <[email protected]>
  8237. * TreeView.cs: Create the scrollbars when the handle is created
  8238. and add them right away, just make them invisble. Also account for
  8239. the window being shrunk vertically to the point that the vert
  8240. scrollbar needs to be added.
  8241. - Remove some 0.5 adjustments to get around anti aliasing issues.
  8242. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  8243. * MainMenu.cs: Fixes default value
  8244. * MenuItem.cs: Fixes default value
  8245. 2005-09-22 Kazuki Oikawa <[email protected]>
  8246. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  8247. 2005-09-21 Jackson Harper <[email protected]>
  8248. * Control.cs: Don't try to set the border style on the window if
  8249. it hasn't been created. When the window is created the border
  8250. style will be used.
  8251. 2005-09-21 Peter Dennis Bartok <[email protected]>
  8252. * Control.cs (Update): Don't call XplatUI if we don't have a
  8253. window handle yet
  8254. 2005-09-21 Peter Dennis Bartok <[email protected]>
  8255. * ContainerControl.cs: Instead of throwing an exception, print
  8256. a one-time warning about Validate not being implemented
  8257. * XplatUIWin32.cs: Removed debug output
  8258. 2005-09-21 Peter Dennis Bartok <[email protected]>
  8259. * Control.cs: Only set XplatUI background if we expect the windowing
  8260. system to handle the background. This stops controls that draw their
  8261. own background from flickering
  8262. * XplatUIX11.cs: Support custom visuals and colormaps for window
  8263. creation. This allows, amongst other things, using MWF X11 windows
  8264. with OpenGL.
  8265. 2005-09-21 Peter Dennis Bartok <[email protected]>
  8266. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  8267. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  8268. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  8269. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  8270. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  8271. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  8272. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  8273. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  8274. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  8275. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  8276. GridColumnStylesCollection.cs,
  8277. IDataGridColumnStyleEditingNotificationService.cs,
  8278. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  8279. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  8280. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  8281. TreeNodeCollection.cs, AmbientProperties.cs,
  8282. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  8283. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  8284. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  8285. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  8286. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  8287. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  8288. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  8289. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  8290. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  8291. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  8292. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  8293. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  8294. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  8295. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  8296. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  8297. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  8298. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  8299. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  8300. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  8301. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  8302. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  8303. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  8304. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  8305. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  8306. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  8307. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  8308. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  8309. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  8310. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  8311. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  8312. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  8313. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  8314. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  8315. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  8316. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  8317. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  8318. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  8319. 2005-09-21 Jackson Harper <[email protected]>
  8320. * TreeNode.cs: Call Before/After Expand not Collapse when
  8321. expanding.
  8322. 2005-09-20 Jackson Harper <[email protected]>
  8323. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  8324. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  8325. * ListViewItem.cs:
  8326. - Fixes bug 76120
  8327. - Fixes proper storing of subitems
  8328. - Fixes not updated items
  8329. 2005-09-20 Peter Dennis Bartok <[email protected]>
  8330. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  8331. things if our window handle isn't created yet. Also disabled
  8332. debug for TextBoxBase
  8333. 2005-09-20 Peter Dennis Bartok <[email protected]>
  8334. * MenuAPI.cs: Remove filtering of events to allow menu usage
  8335. 2005-09-20 Miguel de Icaza <[email protected]>
  8336. * Cursor.cs: Allow null to be passed to Cursor.Current.
  8337. 2005-09-20 Alexander Olk <[email protected]>
  8338. * ThemeWin32Classic.cs:
  8339. - Change some private methods/fields to protected virtual so that
  8340. they can be accessed and overriden in derived classes
  8341. - First refactoring of some methods. Derived themes now don't
  8342. need to duplicate the complete code from ThemeWin32Classic
  8343. * ThemeNice.cs:
  8344. - Added nice StatusBar
  8345. - Derive from ThemeWin32Classic and not Theme
  8346. - Removed duplicate ThemeWin32Classic code
  8347. 2005-09-20 Miguel de Icaza <[email protected]>
  8348. * Control.cs (ControlCollection.Add): If the value null is passed
  8349. the control is ignored.
  8350. Optimize this loop.
  8351. 2005-09-19 Peter Dennis Bartok <[email protected]>
  8352. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  8353. PostQuitMessage state.
  8354. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  8355. 2005-09-19 Peter Dennis Bartok <[email protected]>
  8356. * Application.cs: Our constructor will never get called, move
  8357. initialization to fields; fixes bug #75933
  8358. 2005-09-19 Hisham Mardam Bey <[email protected]>
  8359. * FileDialog.cs :
  8360. - Allow files to be selected properly using file name
  8361. combo box.
  8362. - Add ability to change diretory (absolute / relative)
  8363. using file name combo box.
  8364. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  8365. * ListBox.cs:
  8366. - Fixes Multicolumn listboxes item wrong calculations
  8367. - Allows to click when only one item is in the listbox
  8368. - Fixes crash when no items using keyboard navigation
  8369. 2005-09-16 Alexander Olk <[email protected]>
  8370. * ComboBox.cs: Reverted almost everything from the latest patch which
  8371. broke ComboBox
  8372. 2005-09-16 Kazuki Oikawa <[email protected]>
  8373. * ToolTip.cs:
  8374. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  8375. * ComboBox.cs:
  8376. - When DropDownStyle is Simple, it does not show scrollbar
  8377. to the last item of the list.
  8378. - When DropDownStyle is Simple, it crashed when the list was
  8379. scrolled down with the down cursor key.
  8380. - Fixed a bug that when DropDownStyle is DropDownList, the
  8381. selected item was not shown.
  8382. - The position of the selected item was not preserved when
  8383. the next dropdown happened.
  8384. * ThemeWin32Classic.cs:
  8385. - Items were wrapped at the right end.
  8386. * CheckedListBox.cs:
  8387. - Fixed Add method
  8388. * ListBox.cs:
  8389. - Items should be fully shown.
  8390. - When resizing and vertical scrollbar disappeared, the item
  8391. of index 0 should be on the top of the list.
  8392. - GetItemRectangle should consider the size of ver. scrollbar
  8393. * StatusBar.cs:
  8394. - SizingGrip area should not be allocated when it is not
  8395. displayed.
  8396. - Now it reflects MinWidth of the containing panel and
  8397. fixed a crash that happens when its width becomes so small.
  8398. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  8399. * CheckedListBox.cs: Fixes bug 76028
  8400. * ListBox.cs: Fixes bug 76028
  8401. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  8402. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  8403. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  8404. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  8405. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  8406. 2005-09-09 Jonathan Chambers <[email protected]>
  8407. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  8408. 2005-09-09 Jonathan Chambers <[email protected]>
  8409. * IRootGridEntry.cs: Added
  8410. * PropertyGridCommands.cs: Added
  8411. * PropertiesTab.cs: Added missing methods and property
  8412. * PropertyGridView.cs: Made class internal
  8413. * PropertyGridTextBox.cs: Made class internal
  8414. 2005-09-09 Alexander Olk <[email protected]>
  8415. * MimeIcon.cs: Try to check some other environment variables
  8416. if "DESKTOP_SESSION" returns "default"
  8417. 2005-09-09 Alexander Olk <[email protected]>
  8418. * ThemeNice.cs: Corrected background colors (e.g. menus)
  8419. * ColorDialog.cs: Use correct background colors for controls
  8420. 2005-09-09 Alexander Olk <[email protected]>
  8421. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  8422. 2005-09-08 Peter Dennis Bartok <[email protected]>
  8423. * RichTextBox.cs: Added initial implementation
  8424. * lang.cs: Removed. Was accidentally checked in long time ago
  8425. * TODO: Removed. Contents were obsolete
  8426. 2005-09-06 Jonathan Chambers <[email protected]>
  8427. * PropertiesTab.cs : Added
  8428. 2005-09-06 Jonathan Chambers <[email protected]>
  8429. * PropertyGrid.cs : Update
  8430. * PropertyGridView.cs : Update
  8431. * System.Windows.Forms.resx : Added images and strings
  8432. 2005-09-06 Peter Dennis Bartok <[email protected]>
  8433. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  8434. 2005-09-06 Peter Dennis Bartok <[email protected]>
  8435. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  8436. a busy loop right after the Ungrab the X11 display is otherwise
  8437. blocked
  8438. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  8439. * ThemeWin32Classic.cs: Optimise the use of clipping
  8440. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  8441. * DataGrid.cs: fixes recursion bug
  8442. 2005-09-03 Alexander Olk <[email protected]>
  8443. * ThemeNice.cs:
  8444. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  8445. - Cleanup
  8446. 2005-09-02 Alexander Olk <[email protected]>
  8447. * ThemeNice.cs: Draw nice ProgressBars
  8448. 2005-09-01 Miguel de Icaza <[email protected]>
  8449. * VScrollBar.cs: Another buglet found by Aaron's tool.
  8450. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  8451. bug finder.
  8452. 2005-08-30 Alexander Olk <[email protected]>
  8453. * ThemeNice.cs:
  8454. - Added nicer menu drawing
  8455. - Updated DrawTab
  8456. - some refactoring
  8457. 2005-08-30 Peter Dennis Bartok <[email protected]>
  8458. * CreateParams.cs (ToString): Made output match MS
  8459. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  8460. handle is already created (to avoid forcing window creation)
  8461. * XplatUIX11.cs: Set window text to caption after creating window,
  8462. in case Text was set before window was created
  8463. * Form.cs: Use this.Text instead of a static string as caption
  8464. 2005-08-30 Peter Dennis Bartok <[email protected]>
  8465. * NotifyIcon.cs: Don't set the window to visible; this screws
  8466. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  8467. OnPaint without a bitmap)
  8468. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  8469. happen very often anyway; we could add the check to the WM_PAINT
  8470. event generation code
  8471. 2005-08-30 Peter Dennis Bartok <[email protected]>
  8472. * NotifyIcon.cs: Fill the icon area with a background color, to
  8473. avoid 'residue' when transparent icons are drawn
  8474. * XplatUIX11.cs:
  8475. - Handle whole_window == client_window when destroying windows
  8476. - SystrayAdd(): Set client_window to whole_window value to
  8477. get mouse and other events passed to NotifyIcon
  8478. 2005-08-30 Peter Dennis Bartok <[email protected]>
  8479. * Form.cs: Set proper default for Opacity property
  8480. * NotifyIcon.cs:
  8481. - ShowSystray(): Don't bother creating telling the OS
  8482. about the systray item if no icon is provided
  8483. - Now handles WM_NCPAINT message to deal with whole/client window
  8484. split
  8485. - Create window as visible to not get caught by Expose optimization
  8486. * Hwnd.cs: Removed debug message
  8487. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  8488. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  8489. PaintEventStart/End to use new client argument
  8490. * TextBoxBase.cs:
  8491. - Commented out debug messages
  8492. - Switched PaintEventStart/End to use new client argument
  8493. * XplatUI.cs: Added client window bool to PaintEventStart()/
  8494. PaintEventEnd() calls, to support drawing in non-client areas
  8495. * XplatUIDriver.cs:
  8496. - Added client window bool to PaintEventStart()/PaintEventEnd()
  8497. calls, to support drawing in non-client areas
  8498. - Added conditional compile to allow using MWF BeginInvoke
  8499. on MS runtime
  8500. * XplatUIX11.cs:
  8501. - Added some conditional debug output
  8502. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  8503. whole/client window split
  8504. - Implemented handling of client argument to PaintEventStart()/End()
  8505. * Control.cs:
  8506. - Throw exception if BeginInvoke() is called and the window handle
  8507. or one of the window's parent handles is not created
  8508. - Added conditional compile to allow using MWF BeginInvoke on
  8509. MS runtime
  8510. - get_Parent(): Only sets parent if handle is created. This avoids
  8511. forcing window handle creation when parent is set.
  8512. - Now fires Layout and Parent changed events in proper order
  8513. - Switched to use Handle instead of window.Handle for Z-Order setting,
  8514. the get_Parent() patch above causes us to possibly get null for 'window'
  8515. - Implemented handling of client argument to PaintEventStart()/End()
  8516. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  8517. default handling)
  8518. - Now sends a Refresh() to all child windows when Refresh() is called
  8519. 2005-08-29 Peter Dennis Bartok <[email protected]>
  8520. * Form.cs: Added (non-functional) Opacity property
  8521. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  8522. 2005-08-29 Alexander Olk <[email protected]>
  8523. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  8524. use export MONO_THEME=nice to activate it.
  8525. Currently supported controls:
  8526. - Button
  8527. - ComboBox
  8528. - ScrollBar
  8529. - TabControl (TabAlignment.Top only, other will follow)
  8530. * ThemeEngine.cs: Add theme nice
  8531. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  8532. if enabled
  8533. 2005-08-25 Jonathan Chambers <[email protected]>
  8534. * Splitter.cs: Resize docked control and its neighbor.
  8535. 2005-08-24 Rafael Teixeira <[email protected]>
  8536. -- Making Windows with Menus layout correctly --
  8537. * Form.cs : The first leg of the fix
  8538. Menu setter - adjust Client Size as needed to make space for the menu
  8539. SetClientSizeCore - doesn't call base version to be able to pass the
  8540. menu handle to XplatUI.CalculateWindowRect
  8541. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  8542. * XplatUIX11.cs: The critical second leg of the fix
  8543. GetWindowPos needs to use a recalculated client_rect
  8544. so that resizing the window doesn't break layout of child controls.
  8545. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  8546. Lots of \t\n killed
  8547. 2005-08-23 Peter Dennis Bartok <[email protected]>
  8548. * Label.cs: Now properly recalculates width and height on Font and Text
  8549. changes if AutoSize is set
  8550. 2005-08-19 Rafael Teixeira <[email protected]>
  8551. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  8552. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  8553. * ImageList.cs: Makes ToString method compatible with MS
  8554. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  8555. * MenuAPI.cs: fixes bug 75716
  8556. 2005-08-11 Umadevi S <[email protected]>
  8557. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  8558. 2005-08-11 Umadevi S <[email protected]>
  8559. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  8560. 2005-08-10 Umadevi S <[email protected]>
  8561. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  8562. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  8563. * Menu.cs: fixes bug 75700
  8564. * MenuAPI.cs: fixes navigation issues
  8565. 2005-08-09 Umadevi S <[email protected]>
  8566. * CheckedListBox.cs - simple fix for GetItemChecked.
  8567. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  8568. * ComboBox.cs: Serveral fixes
  8569. * ListBox.cs: Serveral fixes
  8570. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  8571. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  8572. * ListBox.cs: Fixes FindString methods
  8573. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  8574. * DataGrid.cs: fixes bugs exposed by new tests
  8575. 2005-08-04 Peter Dennis Bartok <[email protected]>
  8576. * Mime.cs: Compile Mono assembly references only if compiling
  8577. with Mono (Allows to build with VS.Net again)
  8578. 2005-07-28 Marek Safar <[email protected]>
  8579. * Control.cs (PaintControlBackground): Draw background image
  8580. corrrectly.
  8581. (CheckForIllegalCrossThreadCalls): Stubbed.
  8582. * Form.cs (OnCreateControl): Center when should be centered.
  8583. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  8584. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  8585. * Binding.cs: Binding to properties should be case unsensitive
  8586. 2005-07-18 [email protected]
  8587. * DataGrid.cs: fixes setmember order
  8588. 2005-07-07 Alexander Olk <[email protected]>
  8589. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  8590. * FileDialog.cs: FileDialog is now resizable and uses the new
  8591. MimeIconEngine
  8592. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  8593. * DataGridTextBoxColumn.cs: default value
  8594. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  8595. * GridTableStylesCollection.cs: fixes checking MappingName
  8596. * DataGridDrawingLogic.cs: fixes drawing logic issues
  8597. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  8598. * DataGrid.cs: fixes
  8599. 2005-07-06 Alexander Olk <[email protected]>
  8600. * MimeGenerated.cs: Use case sensitive comparer for
  8601. NameValueCollections
  8602. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  8603. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  8604. * ThemeWin32Classic.cs: bug fixes, code refactoring
  8605. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  8606. * DataGrid.cs: bug fixes, code refactoring
  8607. * DataGridTextBox.cs: bug fixes, code refactoring
  8608. * DataGridColumnStyle.cs: bug fixes, code refactoring
  8609. * Theme.cs: bug fixes, code refactoring
  8610. 2005-07-01 Peter Bartok <[email protected]>
  8611. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  8612. and other text box usage
  8613. 2005-07-01 Jackson Harper <[email protected]>
  8614. * TabControl.cs: Make sure the bottom of the tab covers the pages
  8615. border.
  8616. 2005-06-30 Peter Bartok <[email protected]>
  8617. * Form.cs (ShowDialog): Assign owner of the dialog
  8618. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  8619. might have been moved to a tag with different height
  8620. 2005-06-30 Jackson Harper <[email protected]>
  8621. * Form.cs: Don't create an infinite loop when setting focus
  8622. * MenuItem.cs: Don't dirty the parents if we don't have any
  8623. 2005-06-29 Ben Maurer <[email protected]>
  8624. * LibSupport.cs: Rename
  8625. 2005-06-29 Peter Bartok <[email protected]>
  8626. * TextBoxBase.cs: Re-align caret after deleting a character
  8627. * TextControl.cs:
  8628. - DeleteChars(): Ensure that tag covers the provided position
  8629. - StreamLine(): Drop reference for dropped tag
  8630. 2005-06-29 Peter Bartok <[email protected]>
  8631. * TextControl.cs:
  8632. - Selections now work properly, anchoring at the initial location
  8633. and properly extending in either direction (SetSelectionToCaret(),
  8634. SetSelectionStart() and SetSelectionEnd())
  8635. - No longer redraws the whole control on selection change, now
  8636. calculates delta between previous and new selection and only
  8637. invalidates/redraws that area
  8638. - Fixed FindPos() math off-by-one errors
  8639. - Changed DeleteChars() to verify the provided tag covers the
  8640. provided position, selections may have a tag that doesn't cover
  8641. the position if the selection is at a tag border
  8642. - Fixed off-by-one errors in DeleteChars()
  8643. - Added missing streamlining check in DeleteChars() to remove
  8644. zero-length tags
  8645. - Implemented Invalidate() method, now properly calculates exposures
  8646. between two given lines/positions
  8647. - Implemented SetSelection()
  8648. - Obsoleted and removed FixupSelection()
  8649. - Improved RecalculateDocument() logic, removing code duplication
  8650. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  8651. * LibSupport.cs: changes to match different input/output arguments.
  8652. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  8653. * LibSupport.cs: added libsupport.so init routine.
  8654. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  8655. * ControlBindingsCollection.cs
  8656. - Throws an exception on null datasource when adding
  8657. - Checks for duplicated bindings when adding
  8658. 2005-06-28 Jackson Harper <[email protected]>
  8659. * TreeView.cs (OnKeyDown): Support left and right properly
  8660. (navigates as well as expanding and collapsing.
  8661. - Add support for Multiply, this expands all the selected nodes
  8662. children.
  8663. - Fix some tabbing.
  8664. 2005-06-28 Jackson Harper <[email protected]>
  8665. * TreeView.cs: Implement keyboard navigation, currently supports,
  8666. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  8667. support for toggling checkboxes with the space bar.
  8668. 2005-06-28 Jackson Harper <[email protected]>
  8669. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  8670. tree.
  8671. 2005-06-28 Jackson Harper <[email protected]>
  8672. * TreeView.cs: Add missing event.
  8673. 2005-06-27 Peter Bartok <[email protected]>
  8674. * TextControl.cs:
  8675. - Made line ending size configurable (now allows for counting
  8676. lineendings as \n or \r\n)
  8677. - Added margin to viewport to keep caret visible on right side
  8678. - Fixed translation routines for line/pos to documentpos to consider
  8679. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  8680. - Fixed some line-endings to be unix style
  8681. - Fixed Document.FormatText to perform it's calculations 1-based
  8682. - Added descriptions for a few methods that might otherwise get
  8683. used wrong
  8684. - Added NOTE section with some basic conventions to remember at
  8685. the top of the file
  8686. - Major fixup for RichTextBox selection drawing:
  8687. * Fixed crashes when multiple tags on a single line were selected
  8688. * fixed selection box drawing not overlaying text
  8689. * fixed bogus offset calculation for tags not starting at index 1
  8690. * Switched behaviour from using multiple Substrings of a
  8691. StringBuilder.ToString() to using multiple
  8692. StringBuilder.ToString(start, length) statements, hoping this is
  8693. faster (kept original version commented out in the code, in case
  8694. original version was faster)
  8695. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  8696. alignment != Left
  8697. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  8698. call it as well
  8699. 2005-06-27 Jackson Harper <[email protected]>
  8700. * TabControl.cs: Move to the left and right with the arrow
  8701. keys. These keys don't cycle beyond first and last like
  8702. tab. Refresh all the tabs when scrolling them to the left or
  8703. right.
  8704. 2005-06-27 Jackson Harper <[email protected]>
  8705. * TabControl.cs:
  8706. - ToString: Added method
  8707. - CreateParams: Remove TODO and comment
  8708. - OnKeyDown: Cycle through bounds properly.
  8709. - SelectedIndex: Scroll to the right or left if we need to
  8710. display the newly selected tab.
  8711. 2005-06-23 Jackson Harper <[email protected]>
  8712. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  8713. set.
  8714. 2005-06-23 Jackson Harper <[email protected]>
  8715. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  8716. CTRL-SHIFT-TAB, and HOME, END are there any others?
  8717. 2005-06-23 Jackson Harper <[email protected]>
  8718. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  8719. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  8720. * DataGridTextBoxColumn.cs: fixes and enhancements
  8721. * ThemeWin32Classic.cs: fixes and enhancements
  8722. * DataGridBoolColumn.cs: fixes and enhancements
  8723. * DataGridDrawingLogic.cs: fixes and enhancements
  8724. * CurrencyManager.cs: fixes and enhancements
  8725. * DataGrid.cs: fixes and enhancements
  8726. * DataGridColumnStyle.cs: fixes and enhancements
  8727. 2005-06-22 Jackson Harper <[email protected]>
  8728. * TabControl.cs: Add some missing methods that just call into the
  8729. base. Make the TabPageCollection's IList interface behave in the
  8730. same manner as the MS implementation.
  8731. 2005-06-22 Peter Bartok <[email protected]>
  8732. * TextControl.cs: Added sanity check
  8733. * TextBoxBase.cs:
  8734. - Fixed wrapping behaviour, don't set wrap on single line controls
  8735. (this fixes the breakage of colordialog introduced in an earlier
  8736. checkin)
  8737. - Added rudimentary support for autoscrolling right-aligned controls
  8738. (still needs fixing, also, center alignment scroll is missing)
  8739. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  8740. * ScrollBar.cs: Fixes thumbpos on Maximum values
  8741. 2005-06-21 Jonathan Chambers <[email protected]>
  8742. * PropertyGridView.cs: Pass context information to UITypeEditors
  8743. 2005-06-21 Peter Bartok <[email protected]>
  8744. * TextBoxBase.cs:
  8745. - Now calling PositionCaret with absolute space coordinates
  8746. - Enabled vertical scrolling
  8747. - Better tracking of scrollbar changes, tied into WidthChange
  8748. event
  8749. - Improved cursor tracking
  8750. - Removed debug output
  8751. * TextControl.cs:
  8752. - PositionCaret coordinates are now works in absolute space, not
  8753. the canvas
  8754. - Improved tracking of document size
  8755. - Added events for width and height changes
  8756. 2005-06-21 Peter Bartok <[email protected]>
  8757. * Form.cs: Set focus to active control when form is activated
  8758. * TextControl.cs:
  8759. - Added word-wrap functionality to RecalculateLine()
  8760. - Added some short function descriptions for VS.Net to aid in
  8761. writing dependent controls
  8762. - Added Caret property, returning the current coords of the caret
  8763. - Added ViewPortWidth and ViewPortHeight properties
  8764. - Added Wrap property
  8765. - Added CaretMoved event
  8766. - Removed some old debug code
  8767. - Split() can now create soft splits
  8768. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  8769. - Added method to format existing text
  8770. - Fixed size/alignment calculations to use viewport
  8771. - RecalculateDocument now can handle changing line-numbers while
  8772. calculating lines
  8773. * TextBox.cs:
  8774. - Added some wrap logic, we don't wrap if alignment is not left
  8775. - Added casts for scrollbar var, base class switched types to
  8776. also support RichTextBoxA
  8777. - Implemented handling of scrollbar visibility flags
  8778. * TextBoxBase.cs:
  8779. - Switched scrollbars type to RichTextBoxScrollBars to support
  8780. RichTextBox
  8781. - Added tracking of canvas width/height
  8782. - Switched scrollbars to be not selectable (to keep focus on text)
  8783. - Added central CalculateDocument() method to handle all redraw
  8784. requirements
  8785. - Added ReadOnly support
  8786. - Added WordWrap support
  8787. - Fixed handling of Enter key (we now treat it as a DialogKey)
  8788. - Fixed caret positioning when h or v scroll is not zero
  8789. - Fixed placing/generation of vertical scrollbar
  8790. - Added CalculateScrollBars() method to allow updating scrollbar
  8791. limits and visibility
  8792. - Fixed handling of horizontal scroll
  8793. - Added handling of vertical scroll
  8794. - Implemented auto-'jump' when caret moves to close to a left or
  8795. right border and there is text to be scrolled into view (currently
  8796. there's the potential for a stack overflow, until a bug in
  8797. scrollbar is fixed)
  8798. 2005-06-21 Geoff Norton <[email protected]>
  8799. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  8800. 2005-06-19 Alexander Olk <[email protected]>
  8801. * Mime.cs:
  8802. - added inodes.
  8803. - return application/x-zerosize for files with size zero
  8804. (if no extension pattern matches).
  8805. - check matches collection for strings too.
  8806. - return only the first mime type if the name value
  8807. collection has more than one mime type.
  8808. 2005-06-18 Jonathan Chambers <[email protected]>
  8809. * PropertyGrid.cs: Cleaned up some TODOs
  8810. * PropertyGridView.cs: Added support for UITypeEditors
  8811. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  8812. * DataGrid.cs: clears cached value
  8813. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  8814. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  8815. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  8816. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  8817. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  8818. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  8819. * ThemeWin32Classic.cs: fixes colour
  8820. 2005-06-15 Peter Bartok <[email protected]>
  8821. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  8822. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  8823. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  8824. * Control.cs: Added some MWFCategory and MWFDescription attributes
  8825. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  8826. 2005-06-15 Alexander Olk <[email protected]>
  8827. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  8828. usage
  8829. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  8830. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  8831. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  8832. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  8833. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  8834. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  8835. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  8836. 2005-06-13 Jackson Harper <[email protected]>
  8837. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  8838. isn't printed when the user enables dropping. (X11 does accept
  8839. drops).
  8840. 2005-06-13 Jackson Harper <[email protected]>
  8841. * TreeView.cs: Remove some TODOS.
  8842. 2005-06-13 Jackson Harper <[email protected]>
  8843. * Form.cs: Hook into the mdi framework.
  8844. * MdiClient.cs: Use the base control collections add method so
  8845. parents get setup correctly. Set the default back colour and dock
  8846. style.
  8847. * MdiChildContext.cs: New class, this bad actor handles an
  8848. instance of an MDI window. Right now there is only basic
  8849. support. You can drag, close, and resize windows. Minimize and
  8850. Maximize are partially implemented.
  8851. 2005-06-13 Jackson Harper <[email protected]>
  8852. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  8853. freaky when both vals are negative. NOTE: There are probably other
  8854. places in XplatUIX11 that this needs to be done.
  8855. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  8856. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  8857. * DataGridColumnStyle.cs: fixes signature
  8858. 2005-06-12 Jackson Harper <[email protected]>
  8859. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  8860. windows.
  8861. 2005-06-11 Jackson Harper <[email protected]>
  8862. * StatusBarPanel.cs: Signature cleanups. Implement
  8863. BeginInit/EndInit.
  8864. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  8865. * DataGridTextBoxColumn.cs: Honors aligment
  8866. * GridColumnStylesCollection.cs: Contains is case unsensitive
  8867. * GridTableStylesCollection.cs: several fixes
  8868. * DataGridTableStyle.cs: default column creation
  8869. * DataGridDrawingLogic.cs: fixes
  8870. * CurrencyManager.cs: ListName property
  8871. * DataGrid.cs: multiple styles support
  8872. * DataGridColumnStyle.cs: fixes
  8873. 2005-06-10 Peter Bartok <[email protected]>
  8874. * Control.cs(Select): Moved SetFocus call to avoid potential
  8875. loops if controls change the active control when getting focus
  8876. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  8877. the up/down buttons
  8878. 2005-06-10 Matthias Felgner <[email protected]>
  8879. * ImageListConverter.cs: Implemented
  8880. 2005-06-10 John BouAntoun <[email protected]>
  8881. * MonthCalendar.cs: Wired in NumericUpDown control for year
  8882. 2005-06-10 John BouAntoun <[email protected]>
  8883. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  8884. DoubleClick events, since they are not meant to be fired.
  8885. 2005-06-09 Peter Bartok <[email protected]>
  8886. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  8887. Jonathan's standalone controls into MWF, implemented missing
  8888. events, attributes and methods; added xxxAccessible classes
  8889. * AccessibleObject.cs: Made fields internal so other classes
  8890. can change them if needed
  8891. 2005-06-09 Jonathan Gilbert <[email protected]>
  8892. * UpDownBase.cs: Complete implementation
  8893. * NumericUpDown.cs: Complete implementation
  8894. * DomainUpDown.cs: Complete implementation
  8895. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  8896. * DataGridTextBoxColumn.cs: drawing fixes
  8897. * DataGridCell.cs: fixes ToString method to match MSNet
  8898. * DataGridTableStyle.cs: fixes
  8899. * DataGridBoolColumn.cs: fixes, drawing
  8900. * DataGridDrawingLogic.cs: fixes, new methods
  8901. * DataGridTextBox.cs: Keyboard and fixes
  8902. * DataGrid.cs:
  8903. - Keyboard navigation
  8904. - Scrolling fixes
  8905. - Row selection (single, multiple, deletion, etc)
  8906. - Lots of fixes
  8907. 2005-06-07 Jackson Harper <[email protected]>
  8908. * ThemeWin32Classic.cs: Clear the background area when drawing
  8909. buttons.
  8910. 2005-06-06 Peter Bartok <[email protected]>
  8911. * ImageListStreamer.cs: Fixed signature for GetData
  8912. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  8913. * ComboBox.cs:
  8914. - Added missing ChildAccessibleObject class
  8915. - Added missing OnXXXFocus overrides, switched to using those
  8916. instead of the event handler
  8917. * Control.cs:
  8918. - Added Parent property for ControlAccessibleObject
  8919. - Fixed signatures
  8920. - Fixed attributes
  8921. - Added ResetBindings()
  8922. * ListBindingConverter.cs: Implemented some methods
  8923. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  8924. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  8925. * ContainerControl.cs: Fixed signature, now subscribing to the
  8926. ControlRemoved event instead of overriding the handler, LAMESPEC
  8927. * CurrencyManager.cs: Added missing attribute
  8928. * MonthCalendar.cs: Added missing properties
  8929. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  8930. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  8931. 2005-06-06 Gaurav Vaish and Ankit Jain
  8932. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  8933. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  8934. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  8935. * Control.cs: fixes CreateParams Width / Height.
  8936. 2005-06-05 Peter Bartok <[email protected]>
  8937. * Win32DnD.cs: Removed compilation warnings
  8938. 2005-06-05 Peter Bartok <[email protected]>
  8939. * Control.cs (CreateParams): Since we don't know if one of the
  8940. properties we use is overridden, lets make sure if we fail accessing
  8941. we continue with a backup plan
  8942. 2005-06-05 Peter Bartok <[email protected]>
  8943. * Win32DnD.cs:
  8944. - Removed debug output
  8945. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  8946. struct
  8947. - Plugged resource leak
  8948. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  8949. MS size
  8950. 2005-06-05 Peter Bartok <[email protected]>
  8951. * XplatUIWin32.cs: Removed DnD code
  8952. * Win32DnD.cs: Implemented drop source and drop target functionality
  8953. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  8954. * UpDownBase.cs: remove duplicate addition of event, enable some code
  8955. that was commented out.
  8956. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  8957. Validate input when a key is pressed. It works fine now for every
  8958. combination of Hexadecimal. Only missing some drawing love when sharing
  8959. space with other controls.
  8960. 2005-06-04 Peter Bartok <[email protected]>
  8961. * Control.cs:
  8962. - We need to pass a window for DragDrop, so enable callback events
  8963. - Added DnD callback events when being a DragSource
  8964. * XplatUI.cs (StartDrag): Added window handle argument
  8965. * XplatUIDriver.cs (StartDrag): Added window handle argument
  8966. * QueryContinueDragEventArgs: Made fields internally accessible so
  8967. drivers can set them
  8968. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  8969. can set them
  8970. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  8971. * DataGridTextBoxColumn.cs: column text editing
  8972. * DataGridTableStyle.cs: Respect columns styles created by the user
  8973. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  8974. * DataGridBoolColumn.cs: bool column editing
  8975. * DataGrid.cs: fixes to scrolling, properties, etc
  8976. * DataGridTextBox.cs: handle keyboard
  8977. * DataGridColumnStyle.cs: fixes
  8978. 2005-06-02 Jackson Harper <[email protected]>
  8979. * ImageListStreamer.cs: Somewhat broken implementation of
  8980. GetObjectData. The RLE needs some work to match MS properly.
  8981. 2005-06-02 Jackson Harper <[email protected]>
  8982. * X11Dnd.cs: Attempting to keep at least one file in MWF
  8983. monostyled.
  8984. 2005-06-02 Peter Bartok <[email protected]>
  8985. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  8986. that way
  8987. 2005-06-02 Peter Bartok <[email protected]>
  8988. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  8989. * XplatUI.cs: Added DoDragDrop() method
  8990. * XplatUIDriver.cs: Added DoDragDrop() method
  8991. 2005-06-02 Jackson Harper <[email protected]>
  8992. * Splitter.cs: Implement BorderStyle.
  8993. 2005-06-02 Jackson Harper <[email protected]>
  8994. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  8995. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  8996. X11 using XDND.
  8997. 2005-06-02 Peter Bartok <[email protected]>
  8998. * DataObject.cs:
  8999. - Added Data setter
  9000. - Fixed broken insertion code for SetData, now also
  9001. overwrites any existing entry of the same format name
  9002. * Hwnd.cs: Added list of pointers that automatically gets
  9003. freed when the window is disposed
  9004. * XplatUI.cs: Call driver initialization method when loading
  9005. a driver
  9006. * Control.cs:
  9007. - OnDragLeave takes EventArgs, not DragEventArgs
  9008. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  9009. supported
  9010. - Forces style update when drop state changes
  9011. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  9012. not perfect since we cannot (yet) call the IDataObject.GetData()
  9013. method, we keep getting 0x80004005 error, dunno why)
  9014. 2005-06-02 Peter Bartok <[email protected]>
  9015. * DragEventArgs.cs: Make fields internal so we can cache the
  9016. object and re-set the fields from XplatUI
  9017. 2005-06-02 Jackson Harper <[email protected]>
  9018. * Control.cs: Add some internal methods so the DnD subsystem can
  9019. raise DnD events. Also call into the driver when AllowDrop is set.
  9020. * XplatUI.cs:
  9021. * XplatUIDriver.cs: New method for setting whether or not a window
  9022. is allowed to accept drag and drop messages.
  9023. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  9024. * ScrollBar.cs: Make sure that values sent in Scroll events
  9025. are always between Maximum and Minimum.
  9026. 2005-06-01 Marek Safar <[email protected]>
  9027. * Menu.cs: Call MenuChanged when menuitem visibility has been
  9028. changed.
  9029. * MenuItem.cs: Rebuild menu when item is (not) visible.
  9030. * MainMenu.cs: MainMenu has special MenuChanged.
  9031. * Theme.cs: Caption and FrameBorderSize are not fixed.
  9032. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  9033. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  9034. * XplatUIX11.cs,
  9035. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  9036. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  9037. 2005-05-30 Jackson Harper <[email protected]>
  9038. * DataFormat.cs: We can't statically initialize this stuff because
  9039. it calls into the xplatui and could create a loop. So we lazy init
  9040. it.
  9041. 2005-05-28 Jackson Harper <[email protected]>
  9042. * Control.cs: Proper implementation of Product(Name/Version).
  9043. 2005-05-27 Jackson Harper <[email protected]>
  9044. * DataObject.cs: Dont crash if no data is found.
  9045. 2005-05-26 Rafael Teixeira <[email protected]>
  9046. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  9047. as per status page, guessing it should be set to true
  9048. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  9049. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  9050. * DataGridTableStyle.cs: set proper formatting text, def header text
  9051. * ThemeWin32Classic.cs: new themable paramaters
  9052. * DataGridBoolColumn.cs: paint check box, get data, fixes
  9053. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  9054. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  9055. * DataGridColumnStyle.cs: fixes
  9056. * Theme.cs: new themable paramaters
  9057. 2005-05-26 Peter Bartok <[email protected]>
  9058. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  9059. 2005-05-24 Jonathan S. Chambers <[email protected]>
  9060. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  9061. 2005-05-24 Peter Bartok <[email protected]>
  9062. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  9063. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  9064. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  9065. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  9066. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  9067. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  9068. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  9069. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  9070. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  9071. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  9072. missing attributes, etc
  9073. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  9074. 2005-05-24 Peter Bartok <[email protected]>
  9075. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  9076. when user tries to get help
  9077. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  9078. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  9079. to suppress warnings
  9080. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  9081. avoid unreachable code warning
  9082. 2005-05-20 Peter Bartok <[email protected]>
  9083. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  9084. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  9085. * DataGridTextBoxColumn.cs: Basic painting methods
  9086. * DataGridTableStyle.cs: Set table style in the column
  9087. * ThemeWin32Classic.cs: Use Theme for colors
  9088. * DataGridDrawingLogic.cs: Implement more drawing
  9089. * DataGrid.cs: drawing, theming, enhacements, fixes
  9090. * DataGridColumnStyle.cs: fixes, drawing
  9091. * Theme.cs: theming for Datagrid
  9092. 2005-05-20 Peter Bartok <[email protected]>
  9093. * Cursor.cs: Implemented GetObjectData() method
  9094. 2005-05-20 Peter Bartok <[email protected]>
  9095. * Cursors.cs: Added setting of cursor name
  9096. * Cursor.cs:
  9097. - Implemented constructors
  9098. - Implemented Draw and DrawStretched
  9099. - Implemented Current property
  9100. - Implemented == and != operators
  9101. - Implemented Dispose()
  9102. - Implemented ToString
  9103. - Added missing attributes
  9104. * XplatUIX11.cs:
  9105. - Added missing reset for OverrideCursor when DoEvents is called
  9106. - Fixed creation of cursor, logic was wrong
  9107. * XplatUIWin32.cs:
  9108. - Added missing reset for OverrideCursor when DoEvents is called
  9109. - Fixed creation of cursor, bit arrays were swapped
  9110. * Clipboard.cs: Removed obsolete MonoTODO attribute
  9111. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  9112. * ComboBox.cs: fixes OnSelectedItemChanged
  9113. * ControlBindingsCollection.cs: fixes item range check
  9114. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  9115. * UpDownBase.cs:
  9116. - Calc preferred height properly
  9117. - Implement missing properties
  9118. * NumericUpDown.cs: Implement missing events
  9119. 2005-05-19 Jackson Harper <[email protected]>
  9120. * TabControl.cs: New method that resizes the tab pages before
  9121. redrawing them. This as needed as the control is double buffered
  9122. and sizing will not be recalculated unless ResizeTabPages is
  9123. called.
  9124. * TabPage.cs: Set base.Text instead of Text in the constructor so
  9125. that UpdateOwner does not get called. Use the new Redraw method of
  9126. TabControl instead of Refresh so the sizing is recalculated.
  9127. * ThemeWin32Classic.cs: Draw the text for button tabs.
  9128. 2005-05-19 Jackson Harper <[email protected]>
  9129. * Control.cs: Paint control background images. Fix typo where
  9130. PaintControlBackground was not getting called correctly.
  9131. 2005-05-19 Peter Bartok <[email protected]>
  9132. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  9133. I can investigate, apparently I broke FileDialog
  9134. 2005-05-19 Marek Safar <[email protected]>
  9135. * AxHost.cs: Some simple properties.
  9136. * Control.cs: window must be accessible after ctor.
  9137. * Form.cs: Added TransparencyKey property.
  9138. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  9139. * XplatUIWin32.cs: SetBorderStyle implemented.
  9140. 2005-05-18 Peter Bartok <[email protected]>
  9141. * DataObject.cs: Entries are not global but particular to the
  9142. DataObject, now it behaves that way
  9143. * XplatUIWin32.cs: Implemented Clipboard methods
  9144. * Clipboard.cs: Implemented
  9145. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  9146. * XplatUIOSX.cs: Updated to final clipboard prototypes
  9147. * XplatUIX11.cs: Implemented Clipboard methods
  9148. * XplatUIDriver.cs: Updated to final clipboard prototypes
  9149. * XplatUIStructs.cs:
  9150. - Added BITMAPINFOHEADER struct
  9151. - Added ClipboardFormats enum
  9152. * X11Structs.cs:
  9153. - Added ClipboardStruct
  9154. - Added Atom enum items for clipboard types
  9155. - Fixed atom types for Selection event structures
  9156. * DataFormats.cs:
  9157. - Added internal properties and methods for drivers to enumerate
  9158. all known formats
  9159. - Switched initialization method to allow drivers to assign their
  9160. own IDs even for the MS predefined clipboard IDs
  9161. * XplatUI.cs: Updated to final clipboard interface
  9162. 2005-05-18 Jonathan S. Chambers <[email protected]>
  9163. * PropertyGridView.cs: Fixed compiler warnings.
  9164. 2005-05-18 Jonathan S. Chambers <[email protected]>
  9165. * PropertyGrid.cs: Added some event calls
  9166. * PropertyGridView.cs: Change drawing code to use double buffering
  9167. * PropertyGridTextBox.cs: Changed Text property name
  9168. * GridItem.cs: Added Bounds property.
  9169. * GridEntry.cs: Added Bounds property.
  9170. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  9171. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  9172. since GetType() may not return the correct type if the object is
  9173. a remoting proxy.
  9174. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  9175. * TreeNodeCollection.cs: fixes get/set item ranges
  9176. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  9177. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  9178. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  9179. * ComboBox.cs: Fix item range comparation
  9180. * ListView.cs: Fix item range comparation
  9181. 2005-05-03 Alexander Olk <[email protected]>
  9182. * FontDialog.cs:
  9183. - Clear example panel when OnPaint is called
  9184. - Better solution for displaying the example panel text
  9185. - Select default indexes in the ListBoxes
  9186. 2005-05-11 Geoff Norton <[email protected]>
  9187. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  9188. 2005-05-11 Peter Bartok <[email protected]>
  9189. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  9190. * SelectionRangeConverter.cs: Implemented
  9191. * PropertyGrid.cs: Fixed attribute value
  9192. * Control.cs:
  9193. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  9194. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  9195. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  9196. that's common to all drivers. First methods to go there are
  9197. Sebastien Pouliot's CAS Stack Propagation helper methods
  9198. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  9199. Sebastien Pouliot for CAS Stack Propagation
  9200. 2005-05-11 Geoff Norton <[email protected]>
  9201. * OSXStructs.cs:
  9202. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  9203. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  9204. * DataGridTextBoxColumn.cs: fixed some members
  9205. * GridColumnStylesCollection.cs: indexed column is case insensitive
  9206. * DataGridTableStyle.cs: fixes
  9207. * ThemeWin32Classic.cs: add new theme parameter
  9208. * Theme.cs: add new theme parameter
  9209. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  9210. * DataGrid.cs: fixes, new internal properties, etc.
  9211. * DataGridColumnStyle.cs: allows to set grid value
  9212. *
  9213. 2005-05-10 Peter Bartok <[email protected]>
  9214. * AccessibleObject.cs:
  9215. - Removed MonoTODO attribute on help, method is correct
  9216. - Fixed Bounds property
  9217. * AxHost.cs: Moved MonoTODO
  9218. * ButtonBase.cs: Now setting AccessibleObject properties
  9219. * RadioButton.cs: Setting proper AccessibleObject role
  9220. * CheckBox.cs: Setting proper AccessibleObject role
  9221. * ControlBindingsCollection.cs: Added properties, methods and attributes
  9222. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  9223. userdefined DataFormats.Format items as well
  9224. * ListControl.cs: Removed data_member from the public eye
  9225. * OpenFileDialog.cs:
  9226. - Made class sealed
  9227. - Added missing attributes
  9228. * SaveFileDialog.cs: Added missing attributes
  9229. * ImageListStreamer.cs: Fixed code that caused warnings
  9230. * LinkLabel.cs: Removed unreachable code
  9231. * TreeView.cs: Fixed code that caused warnings
  9232. * PropertyGridView.cs: Fixed code that caused warnings
  9233. * GridColumnStylesCollection.cs: Added missing attributes
  9234. * GridTableStylesCollection: Added missing attribute
  9235. * PropertyManager: Added .ctor
  9236. * SecurityIDType: Added
  9237. * DataObject.cs: Implemented class
  9238. * LinkArea.cs: Added missing attribute
  9239. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  9240. * RadioButton.cs: call base method to allow to fire OnClick event
  9241. * UpDownBase.cs: OnMouseUp call base method
  9242. * CheckedListBox.cs: call base method before returning
  9243. * TrackBar.cs: call base method before returning
  9244. 2005-05-10 Peter Bartok <[email protected]>
  9245. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  9246. for messages
  9247. 2005-05-10 Peter Bartok <[email protected]>
  9248. * DataFormats.cs: Implemented
  9249. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  9250. XplatUIX11.cs: Added Clipboard APIs
  9251. * XplatUIWin32.cs: Implemented Clipboard APIs
  9252. * FolderBrowserDialog.cs: Added missing event, attributes
  9253. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  9254. * CheckBox.cs: call base method to allow to fire OnClick event
  9255. 2005-05-09 Sebastien Pouliot <[email protected]>
  9256. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  9257. 2005-05-06 Peter Bartok <[email protected]>
  9258. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  9259. * Screen.cs: Implemented
  9260. * HelpNavigator.cs: Added
  9261. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  9262. property
  9263. * HelpProvider.cs: Implemented all we can do until we have a CHM
  9264. help library (which means that "What's This" does work now)
  9265. 2005-05-06 Jackson Harper <[email protected]>
  9266. * XplatUIX11.cs: Fix waking up the main loop.
  9267. 2005-05-05 Peter Bartok <[email protected]>
  9268. * XplatUI.cs: Updated revision
  9269. * Form.cs: Removed enless loop
  9270. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  9271. * Label.cs (OnPaint): Added call to base.OnPaint()
  9272. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  9273. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  9274. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  9275. * AxHost.cs: Added
  9276. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  9277. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  9278. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  9279. reuse of ToolTipWindow by other controls
  9280. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  9281. * XplatUIX11.cs: Now clipping drawing area (experimental)
  9282. * PictureBox.cs: Moved base.OnPaint() call to end of method
  9283. * Theme.cs: Fixed ToolTip abstracts to match new format
  9284. * ErrorProvider.cs: Implemented
  9285. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  9286. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  9287. * LinkLabel.cs:
  9288. - Adds cursors
  9289. - Handles focus
  9290. - Implements LinkBehavior
  9291. - Fixes many issues
  9292. 2005-05-03 Jackson Harper <[email protected]>
  9293. * ListView.cs: Calculate the scrollbar positioning on resize and
  9294. paint, so they get put in the correct place.
  9295. 2005-05-03 Alexander Olk <[email protected]>
  9296. * ColorDialogs.cs: The small color panels are now handled by
  9297. SmallColorControl. This fixes drawing of the focus rectangle
  9298. and adds a 3D border.
  9299. 2005-05-03 Peter Bartok <[email protected]>
  9300. * Control.cs: Modified version of Jonathan Chamber's fix for
  9301. double-buffering
  9302. 2005-05-03 Jackson Harper <[email protected]>
  9303. * ListView.cs: Remove redraw variable. Control now handles whether
  9304. or not a redraw needs to be done, and will only raise the paint
  9305. event if redrawing is needed.
  9306. 2005-05-03 Jackson Harper <[email protected]>
  9307. * Splitter.cs: No decorations for the splitter form. Cache the
  9308. hatch brush.
  9309. 2005-05-03 Jackson Harper <[email protected]>
  9310. * TreeView.cs: Use dashed lines to connect nodes. Use the
  9311. ControlPaint method for drawing the focus rect instead of doing
  9312. that in treeview.
  9313. 2005-05-02 Peter Bartok <[email protected]>
  9314. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  9315. 2005-04-29 Jackson Harper <[email protected]>
  9316. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  9317. entire image buffer. Just clear the clipping rectangle.
  9318. 2005-04-29 Jackson Harper <[email protected]>
  9319. * ThemeWin32Classic.cs: Don't draw list view items that are
  9320. outside the clipping rectangle.
  9321. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  9322. * ListBox.cs: added horizontal item scroll
  9323. 2005-04-29 Jackson Harper <[email protected]>
  9324. * ThemeWin32Classic.cs: Remove some old debug code that was
  9325. causing flicker with the new double buffering code.
  9326. 2005-04-29 John BouAntoun <[email protected]>
  9327. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  9328. behave like combobox and comboboxlist (still not sure if this is
  9329. correct though).
  9330. 2005-04-28 Jackson Harper <[email protected]>
  9331. * ThemeWin32Classic.cs: Don't fill the middle of progress
  9332. bars. This fills areas outside of the clip bounds that don't need
  9333. to be filled.
  9334. 2005-04-28 Jackson Harper <[email protected]>
  9335. * Control.cs: Don't expose functionality to touch the image buffers.
  9336. * ProgressBar.cs:
  9337. * ListView.cs: We do not need to (and no longer can) manipulate
  9338. the image buffers directly. All of this is handled by Control.
  9339. 2005-04-28 Peter Bartok <[email protected]>
  9340. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  9341. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  9342. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  9343. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  9344. * Combobox:
  9345. - Adjust control's height for non-simple comboboxes (bug fix)
  9346. - Remove dead code
  9347. * MenuAPI.cs: remove unused var
  9348. * ScrollBar.cs: remove unsed var
  9349. * ListBox.cs: unselect items when clearing
  9350. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  9351. * ListControl.cs: honors OnPositionChanged and default Selected Item
  9352. * ListBox.cs: unselect items when clearing
  9353. 2005-04-27 Jackson Harper <[email protected]>
  9354. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  9355. if a "correct" keyboard is not found. This will make us not crash,
  9356. but might give some users bad keyboard layouts...seems to be the
  9357. same thing rewind does.
  9358. 2005-04-27 Jackson Harper <[email protected]>
  9359. * BindingManagerBase.cs: Attach the current/position changed
  9360. handlers to their respective events.
  9361. 2005-04-27 Jackson Harper <[email protected]>
  9362. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  9363. not just a blit.
  9364. * ThemeWin32Classic.cs: Don't fill the background for picture
  9365. boxes. This could overright user drawing.
  9366. * ComboBox.cs: Just fill the clipping rect not the entire client
  9367. rect when drawing the background. This prevents pieces of the
  9368. image buffer from getting overwritten and is theoretically faster.
  9369. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  9370. * ComboBox.cs: Databinding support fixes, fire missing events
  9371. * ListControl.cs: implement missing methods and properties, fixes
  9372. * ThemeWin32Classic.cs: Databiding support on Drawing
  9373. * CheckedListBox.cs: Databinding support fixes, fire missing events
  9374. * ListBox.cs: Databinding support fixes, fire missing events
  9375. 2005-04-25 Peter Bartok <[email protected]>
  9376. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  9377. 2005-04-25 Jackson Harper <[email protected]>
  9378. * TreeView.cs: Use the horizontal scrollbars height not width when
  9379. determining how much of the client area is available.
  9380. 2005-04-25 Jackson Harper <[email protected]>
  9381. * Control.cs: Double buffering is handled differently now. As per
  9382. the spec, the extra buffer is created in the WM_PAINT message and
  9383. passed down to the control's drawing code.
  9384. * GroupBox.cs:
  9385. * Label.cs:
  9386. * CheckBox.cs:
  9387. * ProgressBar.cs:
  9388. * RadioButton.cs:
  9389. * ColorDialog.cs:
  9390. * ComboBox.cs:
  9391. * PropertyGridView.cs:
  9392. * UpDownBase.cs:
  9393. * MessageBox.cs:
  9394. * MenuAPI.cs:
  9395. * ListView.cs:
  9396. * ButtonBase.cs:
  9397. * SizeGrip.cs:
  9398. * ScrollBar.cs:
  9399. * ListBox.cs:
  9400. * TrackBar.cs:
  9401. * ToolBar.cs:
  9402. * PictureBox.cs:
  9403. * DateTimePicker.cs:
  9404. * StatusBar.cs:
  9405. * TreeView.cs: Update to new double buffering system.
  9406. * MonthCalendar.cs: Uncomment block, as Capture is now
  9407. working. Update to new double buffering
  9408. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  9409. * PaintEventArgs.cs: New internal method allows us to set the
  9410. graphics object. This is used for double buffering.
  9411. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  9412. rectangle. The internal paint_area var has been removed from
  9413. StatusBar. The clipping rect should be used instead.
  9414. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  9415. * TabPage.cs: The RefreshTabs method was removed, so just call the
  9416. tab controls Refresh method now.
  9417. * TabControl.cs: Update to new double buffering. Make sure the
  9418. handle is created before sizing the tab pages, otherwise we will
  9419. get stuck in a loop.
  9420. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  9421. * LinkLabel.cs: Fix typo, bug #74719; patch
  9422. from Borja Sanchez Zamorano
  9423. 2005-04-22 Jackson Harper <[email protected]>
  9424. * TreeNode.cs: Implement Handle stuff.
  9425. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  9426. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  9427. * DataGridTextBoxColumn.cs: call base constructors, fixes
  9428. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  9429. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  9430. * DataGridTableStyle.cs: implements create default column styles
  9431. * DataGridBoolColumn.cs: which types can handle
  9432. * DataGrid.cs: missing methods, fixes, new functionality
  9433. * DataGridColumnStyle.cs: fixes
  9434. 2005-04-20 Alexander Olk <[email protected]>
  9435. * FolderBrowserDialog.cs:
  9436. - Use a thread to fill the TreeView
  9437. - Adjusted some sizes
  9438. 2005-04-19 Peter Bartok <[email protected]>
  9439. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  9440. property. Fixes #74360.
  9441. 2005-04-19 Jackson Harper <[email protected]>
  9442. * XEventQueue.cs: Lock when getting the lockqueue size.
  9443. * PictureBox.cs: Call base OnPaint
  9444. 2005-04-19 Peter Bartok <[email protected]>
  9445. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  9446. messages were no longer being processed (this broke BeginInvoke)
  9447. 2005-04-18 Jackson Harper <[email protected]>
  9448. * TreeView.cs: buglet that caused node images to get drawn
  9449. regardless of whether or not they were in the clipping rectangle.
  9450. 2005-04-18 Jackson Harper <[email protected]>
  9451. * CurrencyManager.cs: There are four rules for GetItemProperties:
  9452. - If the type is an array use the element type of the array
  9453. - If the type is a typed list, use the type
  9454. - If the list contains an Item property that is not an object, use
  9455. that property
  9456. - use the first element of the list if there are any elements in
  9457. the list.
  9458. 2005-04-17 Jackson Harper <[email protected]>
  9459. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  9460. click. This handles offsets for scrolling properly and reduces
  9461. memory. Also fixed GetNode to not offset now that TopNode works
  9462. properly.
  9463. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  9464. 2005-04-17 Jackson Harper <[email protected]>
  9465. * CursorConverter.cs: Initial implementation.
  9466. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  9467. * ListControl.cs: work towards complex data binding support on ListControl
  9468. * CurrencyManager.cs: work towards complex data binding support on ListControl
  9469. * ListBox.cs: work towards complex data binding support on ListControl
  9470. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  9471. * GridTableStylesCollection.cs: fixes name and constructor
  9472. * DataGridTableStyle.cs: fixes
  9473. * DataGridBoolColumn.cs: fixes names and constructors
  9474. * DataGrid.cs: define methods and properties. Some init implementations
  9475. * DataGridCell.cs: define methods and properties. Some init implementations
  9476. * GridTablesFactory.cs: Define methods and properties
  9477. 2005-04-15 Geoff Norton <[email protected]>
  9478. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  9479. graphics port changes. We still want the coordinates in global screen
  9480. coordinates.
  9481. 2005-04-14 Jackson Harper <[email protected]>
  9482. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  9483. check plus minus or checkbox clicks unless those features are enabled.
  9484. 2005-04-14 Jackson Harper <[email protected]>
  9485. * TreeView.cs: Add methods for setting the top and bottom visible
  9486. nodes. TreeNode::EnsureVisible uses these methods.
  9487. * TreeNode.cs: Implement EnsureVisible
  9488. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  9489. * Form.cs: Pospone menu assignation if the window has not been created yet
  9490. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  9491. size and position
  9492. 2005-04-12 Jackson Harper <[email protected]>
  9493. * TreeView.cs: Set the TopNode properly when scrolling
  9494. occurs. This has the added benifit of reducing the amount of
  9495. walking that needs to be done when drawing. Also removed an old
  9496. misleading TODO.
  9497. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  9498. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  9499. * Timer.cs: fixes interval setting when the timer is already enabled
  9500. 2005-04-10 Alexander Olk <[email protected]>
  9501. * FolderBrowserDialog.cs: First approach
  9502. 2005-04-09 Peter Bartok <[email protected]>
  9503. * FolderBrowserDialog: Added
  9504. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  9505. * LinkLabel.cs: move drawing code into the theme
  9506. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  9507. * Theme.cs: define DrawLinkLabel method
  9508. 2005-04-05 Jackson Harper <[email protected]>
  9509. * BindingContext.cs: Use weak references so these bad actors don't
  9510. stay alive longer then they need to.
  9511. 2005-04-05 Jackson Harper <[email protected]>
  9512. * ListControl.cs: Basic implementation of complex databinding.
  9513. * ComboBox.cs:
  9514. * ListBox.cs: Add calls to ListControl databinding methods.
  9515. 2005-04-05 Alexander Olk <[email protected]>
  9516. * FileDialog.cs:
  9517. - Don't change PopupButtonState to Normal when the
  9518. PopupButton gets pressed several times.
  9519. - Renamed ButtonPanel to PopupButtonPanel
  9520. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  9521. * ColorDialog.cs: Use cached objects instead of creating them
  9522. * LinkLabel.cs: Use cached objects instead of creating them
  9523. * Splitter.cs: Use cached objects instead of creating them
  9524. * FontDialog.cs: Use cached objects instead of creating them
  9525. * PropertyGridView.cs: Use cached objects instead of creating them
  9526. * MessageBox.cs: Use cached objects instead of creating them
  9527. * FileDialog.cs: Use cached objects instead of creating them
  9528. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  9529. * TreeView.cs: Use cached objects instead of creating them
  9530. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  9531. * Control.cs: use Equals to compare the font since no == op
  9532. * ScrollBar.cs: use Equals to compare the font since no == op
  9533. 2005-04-04 Alexander Olk <[email protected]>
  9534. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  9535. 2005-04-01 Jackson Harper <[email protected]>
  9536. * Binding.cs: Implement IsBinding.
  9537. * BindingManagerBase.cs:
  9538. * PropertyManager.cs:
  9539. * CurrencyManager.cs: Add IsSuspended property.
  9540. 2005-04-01 Jackson Harper <[email protected]>
  9541. * Binding.cs: Had some IsAssignableFrom calls backwards.
  9542. 2005-04-01 Jackson Harper <[email protected]>
  9543. * Binding.cs: Handle null data members when pulling data.
  9544. * PropertyManager.cs: Handle the data member being a property that
  9545. does not exist.
  9546. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  9547. * DataGridTextBoxColumn.cs: fixes signature
  9548. * DataGrid.cs: calls right constructor
  9549. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  9550. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  9551. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  9552. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  9553. * DataGridTableStyle.cs: implements DataGridTableStyle
  9554. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  9555. * DataGridTextBox.cs: implements DataGridTextBox
  9556. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  9557. 2005-03-31 Alexander Olk <[email protected]>
  9558. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  9559. 2005-03-29 Peter Bartok <[email protected]>
  9560. * Application.cs:
  9561. - Properly implemented CompanyName property
  9562. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  9563. returns a path that includes CompanyName, ProductName and
  9564. Version (fixes bug #70330)
  9565. 2005-03-29 Stefan Buehler <[email protected]>
  9566. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  9567. fixes bug #72588.
  9568. 2005-03-28 Alexander Olk <[email protected]>
  9569. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  9570. - Added ReadOnly CheckBox
  9571. - Further refactoring: moved some code from Open-/SaveFileDialog
  9572. to FileDialog
  9573. 2005-03-28 Alexander Olk <[email protected]>
  9574. * OpenFileDialog.cs: Fixed CheckFileExists
  9575. * FileDialog.cs:
  9576. Moved FileView and DirComboBox outside FileDialog class.
  9577. They can now be used outside FileDialog
  9578. 2005-03-27 Alexander Olk <[email protected]>
  9579. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  9580. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  9581. 2005-03-27 Alexander Olk <[email protected]>
  9582. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  9583. - Added missing CreatePrompt property in SaveDialog
  9584. - Overall SaveDialog handling should be better now
  9585. - Added non standard ShowHiddenFiles property
  9586. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  9587. - Added InitialDirectory and RestoreDirectory support
  9588. 2005-03-26 Alexander Olk <[email protected]>
  9589. * FileDialog.cs: Made dirComboBox usable
  9590. 2005-03-24 Alexander Olk <[email protected]>
  9591. * FileDialog.cs: Added Filter support (case sensitiv)
  9592. 2005-03-24 Jackson Harper <[email protected]>
  9593. * TabControl.cs: Need a couple more pixels for the lines.
  9594. 2005-03-23 Jackson Harper <[email protected]>
  9595. * TabControl.cs: Give the tab page focus when it is selected.
  9596. 2005-03-23 Jackson Harper <[email protected]>
  9597. * TabControl.cs: Account for the drawing of tabs borders when
  9598. invalidating. If the slider was clicked dont do click detection on
  9599. the tabs.
  9600. 2005-03-23 Jackson Harper <[email protected]>
  9601. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  9602. 2005-03-22 Jonathan Chambers <[email protected]>
  9603. * CategoryGridEntry.cs: Added
  9604. * GridItem.cs: Added helper properties
  9605. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  9606. * GridEntry.cs: Updated code for collection
  9607. * PropertyGrid.cs: Cleaned up some formatting
  9608. * PropertyGridView.cs: Added drop down functionality for enums.
  9609. * GridItemCollection.cs: Added enumerator logic
  9610. * PropertyGridEntry.cs: Added
  9611. 2005-03-19 Alexander Olk <[email protected]>
  9612. * FileDialog.cs:
  9613. - Removed unnecessary commented code
  9614. - Fixed handling for entering the filename manually in the combobox
  9615. 2005-03-19 Alexander Olk <[email protected]>
  9616. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  9617. 2005-03-18 Peter Bartok <[email protected]>
  9618. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  9619. them being touching the border
  9620. 2005-03-18 Peter Bartok <[email protected]>
  9621. * TextControl.cs: Quick hack to center text better
  9622. 2005-03-18 Peter Bartok <[email protected]>
  9623. * ControlPaint.cs:
  9624. - Don't throw NotImplemented exceptions, just print a notice once
  9625. instead (requested by Miguel). This makes running existing SWF
  9626. apps a bit easier
  9627. * Control.cs:
  9628. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  9629. - Added context menu trigger on right click
  9630. * Panel.cs: Trigger invalidate on resize
  9631. * StatusBar.cs:
  9632. - Removed old double-buffer drawing
  9633. - Added ResizeRedraw style to force proper update of statusbar
  9634. * ListView.cs:
  9635. - Removed debug output
  9636. * ThemeWin32Classic.cs:
  9637. - Fixed drawing of status bar, now draws Text property if there
  9638. are no defined panels
  9639. 2005-03-18 Jackson Harper <[email protected]>
  9640. * ImageList.cs: When the image stream is set pull all the images
  9641. from it.
  9642. * ImageListStreamer.cs: Implement reading image list streams.
  9643. 2005-03-18 Peter Bartok <[email protected]>
  9644. * ThemeWin32Classic.cs (DrawPictureBox):
  9645. - Fixed calculations for centered drawing
  9646. - Fixed drawing for normal mode, not scaling the image on normal
  9647. 2005-03-18 Peter Bartok <[email protected]>
  9648. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  9649. textbox
  9650. * FileDialog.cs:
  9651. - Made Open/Save button the accept button for FileDialog
  9652. - Tied the cancel button to the IButtonControl cancel button
  9653. - Save/Open now properly builds the pathname
  9654. - Now handles user-entered text
  9655. - Preventing crash on right-click if no item is selected
  9656. - Fixed Text property, now uses contents of textbox
  9657. - Fixed SelectedText property, now just returns the text part that
  9658. is selected in the text box
  9659. 2005-03-18 Jackson Harper <[email protected]>
  9660. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  9661. rect, make sure to de-adjust the interior rect after drawing the
  9662. tab text.
  9663. 2005-03-18 Peter Bartok <[email protected]>
  9664. * MenuAPI.cs: Remove menu *before* executing selected action to
  9665. prevent the menu from 'hanging around'
  9666. 2005-03-17 Geoff Norton <[email protected]>
  9667. * XplatUIOSX.cs: Implemented WorkingArea property
  9668. 2005-03-17 Peter Bartok <[email protected]>
  9669. * XplatUIX11.cs: Fixed menu coord calculations
  9670. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  9671. for calculating offsets
  9672. 2005-03-17 Peter Bartok <[email protected]>
  9673. * Hwnd.cs: Do not consider menu presence for default client
  9674. rectangle location/size
  9675. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  9676. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  9677. translation functions
  9678. * FileDialog.cs: Fixed (what I presume is a) typo
  9679. 2005-03-17 Jonathan Gilbert <[email protected]>
  9680. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  9681. X access (avoids X-Async errors)
  9682. 2005-03-16 Jackson Harper <[email protected]>
  9683. * TabControl.cs: Raise the SelectedIndexChanged event.
  9684. 2005-03-16 Alexander Olk <[email protected]>
  9685. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  9686. - Removed vertical ToolBar and replaced it with a custom panel
  9687. (desktop and home button already work)
  9688. - Added Help button (some controls get resized or relocated then)
  9689. - Draw correct text depending on Open or Save.
  9690. - Fixed some typos...
  9691. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  9692. * ScrollBar.cs:
  9693. - Only change Maximum and Minimum when need it (bug fix)
  9694. 2005-03-15 Peter Bartok <[email protected]>
  9695. * Form.cs: Use Handle for icon, to trigger creation if
  9696. the window does not yet exist
  9697. * Control.cs:
  9698. - CanSelect: Slight performance improvement
  9699. - Focus(): Preventing possible recursion
  9700. - Invalidate(): Removed ControlStyle based clear flag setting
  9701. - WM_PAINT: fixed logic for calling OnPaintBackground
  9702. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  9703. EraseWindowBackground if the control doesn't paint background
  9704. * XplatUIWin32.cs:
  9705. - Moved EraseWindowBackground() method to internal methods
  9706. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  9707. is sent via SendMessage on BeginPaint call on Win32
  9708. * XplatUIX11.cs:
  9709. - Added EraseWindowBackground() method
  9710. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  9711. PaintEventStart, which more closely matches Win32 behaviour
  9712. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  9713. - Fixed SetFocus() to properly deal with client and whole windows
  9714. * Hwnd.cs: Added ErasePending property
  9715. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  9716. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  9717. 2005-03-12 Geoff Norton <[email protected]>
  9718. * XplatUIOSX.cs:
  9719. - Fix hard loop when timers exist.
  9720. - Fix bugs with middle and right click for 3 button mice.
  9721. 2005-03-11 Peter Bartok <[email protected]>
  9722. * XplatUIX11.cs:
  9723. - get_WorkingArea: Need to call X directly, GetWindowPos only
  9724. returns cached data now
  9725. - Added sanity check to GetWindowPos hwnd usage
  9726. 2005-03-11 Jackson Harper <[email protected]>
  9727. * BindingManagerBase.cs: This method isn't used anymore as
  9728. PullData now updates the data in the control.
  9729. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  9730. * Form.cs: fixes menu drawing on X11
  9731. * MenuAPI.cs: fixes menu drawing on X11
  9732. 2005-03-11 Peter Bartok <[email protected]>
  9733. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  9734. from Jonathan Gilbert; should fix bug #73606
  9735. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  9736. in Screen coordinates. Thanks, Jordi.
  9737. * Form.cs: Added missing attribute
  9738. 2005-03-11 Peter Bartok <[email protected]>
  9739. * Form.cs:
  9740. - Rudimentary Mdi support
  9741. - Removed outdated FormParent code
  9742. - Implemented lots of missing properties and methods, still missing
  9743. transparency support
  9744. - Added missing attributes
  9745. - Implemented support for MaximumBounds
  9746. - Added firing of various events
  9747. * XplatUI.cs: Added SetIcon() method
  9748. * XplatUIDriver.cs: Added SetIcon() abstract
  9749. * XplatUIOSX.cs: Stubbed out SetIcon() method
  9750. * XplatUIX11.cs:
  9751. - Implemented SetIcon() support
  9752. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  9753. - Switched to unix line endings
  9754. * XplatUIWin32.cs:
  9755. - Made POINT internal so for can access it as part of MINMAX
  9756. - Implemented SetIcon() support
  9757. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  9758. native Mdi support again, might have to go managed)
  9759. * Control.cs: Now fires the StyleChanged event
  9760. * MdiClient.cs: Added; still mostly empty
  9761. 2005-03-10 Peter Bartok <[email protected]>
  9762. * SaveFileDialog.cs: Added emtpy file
  9763. 2005-03-08 Peter Bartok <[email protected]>
  9764. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  9765. in turn triggers OnCreateContro) when creating a handle for the
  9766. first time.
  9767. * TextControl.cs: Fixed endless loop in certain cases when
  9768. replacing the current selection
  9769. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  9770. * ScrollBar.cs:
  9771. - Honors NewValue changes in Scroll events allowing apps to change it
  9772. - Adds First and Last Scroll events
  9773. - Fixes Thumb events
  9774. 2005-03-07 Peter Bartok <[email protected]>
  9775. * Hwnd.cs: Added DefaultClientRectangle property
  9776. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  9777. more detailed debug information
  9778. * XplatUIX11.cs:
  9779. - Fixed size-change feedback loop, where we would pull an old size
  9780. off the queue and mistakenly change our window's size to an
  9781. earlier value
  9782. - Now compressing ConfigureNotify events, to reduce looping and
  9783. redraw issues
  9784. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  9785. is called
  9786. 2005-03-07 Jackson Harper <[email protected]>
  9787. * Binding.cs: Push data pushes from data -> property. Check if the
  9788. property is readonly when attempting to set it.
  9789. 2005-03-07 Jackson Harper <[email protected]>
  9790. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  9791. instead of IsSubclassOf. Pulling data now sets the value on the
  9792. control.
  9793. * PropertyManager.cs:
  9794. * CurrencyManager.cs: Just need to pull data when updating now,
  9795. because PullData will set the value on the control.
  9796. 2005-03-04 Jackson Harper <[email protected]>
  9797. * Binding.cs: Implement data type parsing and converting on pulled
  9798. data. TODO: Are there more ways the data can be converted?
  9799. 2005-03-04 Jackson Harper <[email protected]>
  9800. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  9801. controls Validating method so we can repull the data when the
  9802. control loses focus.
  9803. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  9804. * ColumnHeader.cs:
  9805. - Fixes null string format
  9806. * ListView.cs:
  9807. - Adds enum type checks
  9808. - Fixes redrawing and recalc need after changing some properties
  9809. - Fixes on focus_item set after the event
  9810. - Fixes adding columns after the control has been created
  9811. * ThemeWin32Classic.cs:
  9812. - Fixes CheckBox focus rectangle
  9813. - Fixes ColumnHeader drawing
  9814. 2005-03-03 Jackson Harper <[email protected]>
  9815. * Binding.cs: Bind to <Property>Changed events so we can detect
  9816. when properties are changed and update the data.
  9817. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  9818. * ImageList.cs:
  9819. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  9820. - Fixes ImageList constructor with ImageList container
  9821. - Fixes image scaling (wrong parameters at DrawImage)
  9822. 2005-02-02 Jackson Harper <[email protected]>
  9823. * Binding.cs: Make property searches case-insensitive. Eliminate
  9824. some duplicated code.
  9825. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  9826. * ComboBox.cs:
  9827. - Handle focus event
  9828. - Fix scrollbar events
  9829. - Discard highlighted item if remove it
  9830. - Fixes SelectedItem with strings
  9831. 2005-03-01 Peter Bartok <[email protected]>
  9832. * Control.cs:
  9833. - Fixed Visible property, now follows (once again) parent chain
  9834. to return false if any control in the chain is visible=false
  9835. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  9836. - Fixed several places where is_visible instead of Visible was used
  9837. - Implemented FIXME related to focus selection when setting focused
  9838. control to be invisible
  9839. * XplatUIWin32.cs: Now using proper method to find out if window is
  9840. visible. Thanks to Jordi for pointing it out
  9841. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  9842. * ComboBox.cs: show/hide scrollbar instead of creating it
  9843. 2005-02-27 Jackson Harper <[email protected]>
  9844. * CurrencyManager.cs: Add PositionChanged stuff.
  9845. 2005-02-27 Peter Bartok <[email protected]>
  9846. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  9847. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  9848. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  9849. * XplatUIX11.cs:
  9850. - Implemented GetMenuDC()
  9851. - Implemented GetMenuOrigin()
  9852. - Implemented ReleaseMenuDC()
  9853. - Implemented generation of WM_NCPAINT message
  9854. - Implemented generation and handling of WM_NCCALCSIZE message
  9855. * Form.cs: Added debug helper message for Jordi's menu work
  9856. * Hwnd.cs:
  9857. - Modified ClientRect property; added setter, fixed getter to handle
  9858. setting of ClientRect
  9859. - Added MenuOrigin property
  9860. 2005-02-26 Peter Bartok <[email protected]>
  9861. * XplatUIX11.cs:
  9862. - Destroys the caret if a window that's being destroyed contains it
  9863. - Ignores expose events coming from the X11 queue for windows that
  9864. already are destroyed
  9865. - Now uses the proper variable for handling DestroyNotify, before we
  9866. marked the wrong window as destroyed
  9867. - Improved/added some debug output
  9868. 2005-02-26 Peter Bartok <[email protected]>
  9869. * X11Keyboard.cs: Fixes to work on 64bit systems
  9870. 2005-02-26 Peter Bartok <[email protected]>
  9871. * Control.cs:
  9872. - Now calling OnHandleDestroyed from DestroyHandle()
  9873. instead of Dispose()
  9874. - Removed bogus call to controls.Remove() from DestroyHandle()
  9875. 2005-02-26 Peter Bartok <[email protected]>
  9876. * Control.cs: Properly destroy child windows when our handle is
  9877. destroyed
  9878. 2005-02-25 Peter Bartok <[email protected]>
  9879. * XplatUI.cs:
  9880. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  9881. - Alphabetized Static Methods and Subclasses
  9882. * XplatUIX11.cs:
  9883. - Added XException class to allow custom handling of X11 exceptions
  9884. - Created custom X11 error handler, tied into XException class
  9885. - Added support for MONO_XEXCEPTIONS env var to allow the user
  9886. to either throw an exception on X errors or continue running
  9887. after displaying the error
  9888. - Added handling of DestroyNotify message
  9889. - Added handler for CreateNotify message (still disabled)
  9890. - Improved (tried to at least) Where method to provide file and lineno
  9891. * X11Structs.cs:
  9892. - Added XErrorHandler delegate
  9893. - Added XRequest enumeration (to suppor translation of errors)
  9894. 2005-02-25 Jackson Harper <[email protected]>
  9895. * PropertyManager.cs: Implement editing features
  9896. * CurrencyManager.cs:
  9897. * Binding.cs: First attempt at UpdateIsBinding
  9898. * BindingManagerBase.cs: Call UpdateIsBinding before
  9899. pushing/pulling data.
  9900. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  9901. * MenuAPI.cs: Respect disabled items
  9902. * ThemeWin32Classic.cs
  9903. - Caches ImageAttributes creation for DrawImageDisabled
  9904. - Fixes vertical menu line drawing
  9905. - Draws disabled arrows in disable menu items
  9906. 2005-02-24 Peter Bartok <[email protected]>
  9907. * Hwnd.cs:
  9908. - Added UserData property to allow associating arbitrary objects
  9909. with the handle
  9910. - Fixed leak; now removing Hwnd references from static windows array
  9911. * XplatUIWin32.cs:
  9912. - Fixed Graphics leak in PaintEventEnd
  9913. - Removed usage of HandleData, switched over to Hwnd class
  9914. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  9915. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  9916. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  9917. * ScrollBar.cs: Fixes bug
  9918. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  9919. keyboard navigation enhancements
  9920. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  9921. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  9922. * GroupBox.cs: Add control styles
  9923. * Label.cs: Add control styles
  9924. * UpDownBase.cs: Add control styles
  9925. * ListBox.cs: Add control styles
  9926. * XplatUIWin32.cs: Fixes wrong parameter order
  9927. 2005-02-23 Chris Bacon <[email protected]>
  9928. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  9929. 2005-02-23 Jackson Harper <[email protected]>
  9930. * PropertyManager.cs: Implement property binding. This doesn't
  9931. seem to work yet though as (I think) there are some bugs in
  9932. System.ComponentModel.PropertyDescriptor.
  9933. * BindingContext.cs: Use new PropertyManager constructor.
  9934. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  9935. * ProgressBar.cs: use clip region in ProgressBar
  9936. * ThemeWin32Classic.cs: use clip region in ProgressBar
  9937. 2004-02-22 Jackson Harper <[email protected]>
  9938. * BindingsCollection.cs: Remove some debug code.
  9939. 2005-02-22 Jackson Harper <[email protected]>
  9940. * BindingContext.cs:
  9941. * ControlBindingsCollection.cs:
  9942. * CurrencyManager.cs:
  9943. * Binding.cs:
  9944. * BindingManagerBase.cs: Initial implementation
  9945. * BindingsCollection.cs: Add an internal contains method that the
  9946. BindingManagerBase uses to ensure bindings aren't added twice to
  9947. the collection.
  9948. * PropertyManager.cs: Stubbed out.
  9949. * Control.cs:
  9950. * ContainerControl.cs: Hook up databinding
  9951. 2005-02-22 Geoff Norton <[email protected]>
  9952. * XplatUIOSX.cs:
  9953. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  9954. Fixed Invalidate/Update chain.
  9955. Fixed tons of other minor bugs (this is almost a complete rewrite).
  9956. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  9957. * ComboBox.cs: do subcontrol creation when the control is created
  9958. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  9959. * Label.cs: fixes image drawing (image and imagelist)
  9960. * ThemeWin32Classic.cs: cache brushes
  9961. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  9962. * Form.cs: Move menu drawing code to Theme class
  9963. * ComboBox.cs: Move ComboBox drawing code to Theme class
  9964. * MenuItem.cs: Move menu drawing code to Theme class
  9965. * MenuAPI.cs: Move menu drawing code to Theme class
  9966. * ThemeWin32Classic.cs: New methods
  9967. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  9968. * ListBox.cs: Move Listbox drawing code to Theme class
  9969. * Theme.cs: New methods
  9970. 2005-02-20 Peter Bartok <[email protected]>
  9971. * Control.cs:
  9972. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  9973. only process mnemonics on those)
  9974. - Fixed event sequence for key handling; first calling
  9975. ProcessKeyEventArgs now
  9976. * TextBoxBase.cs:
  9977. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  9978. for processing non-character keys
  9979. - Fixed WM_CHAR to generate proper event sequence before processing
  9980. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  9981. generation
  9982. 2005-02-19 Peter Bartok <[email protected]>
  9983. * UserControl.cs: Added TextChanged event; added attributes
  9984. * SizeGrip.cs: Implemented resizing and optional display of grip
  9985. * Form.cs: Fixed attribute
  9986. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  9987. Changed meaning of ScrollWindow bool argument; instead of the
  9988. clear attribute (which will be true usually anyway), it gives the
  9989. option of moving child controls as well.
  9990. * XplatUIX11.cs:
  9991. - Changed to match new ScrollWindow argument
  9992. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  9993. now handles the implicit parent window a WM puts around us
  9994. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  9995. to work)
  9996. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  9997. * TreeView.cs: Adjusted to new ScrollWindow arguments
  9998. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  9999. * Form.cs: Menu integration with non-client area
  10000. * MenuItem.cs: Menu integration with non-client area
  10001. * MenuAPI.cs: Menu integration with non-client area
  10002. 2005-02-18 Peter Bartok <[email protected]>
  10003. * MethodInvoker.cs: Added
  10004. * MdiLayout.cs: Added
  10005. * SendKeys.cs: Started implementation
  10006. * ErrorIconAlignment.cs: Added
  10007. 2005-02-18 Peter Bartok <[email protected]>
  10008. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  10009. * Form.cs: Added handling for Menu-related Non-client messages
  10010. 2005-02-17 Peter Bartok <[email protected]>
  10011. * UpDownBase.cs: Fixed typo, compilation errors
  10012. * DomainUpDown.cs: Fixed attribute value
  10013. 2005-02-16 Miguel de Icaza <[email protected]>
  10014. * UpDownBase.cs: Attach entry events.
  10015. Propagate events.
  10016. Add ForeColor property, Focused, InterceptArrowKeys (interception
  10017. does not work yet).
  10018. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  10019. * Form.cs:
  10020. - Redraw non client are on Setmenu
  10021. - Calc proper menu starting point
  10022. 2005-02-17 Peter Bartok <[email protected]>
  10023. * Application.cs: Fixed message_filter check
  10024. 2005-02-17 Peter Bartok <[email protected]>
  10025. * Application.cs: Now calls registered message filters
  10026. * DockStyle.cs: Fixed attribute
  10027. * Form.cs: Fixed attribute
  10028. * Menu.cs: Fixed attribute
  10029. * ToolTip.cs: Fixed attribute
  10030. * TreeNode.cs: Added missing attributes and arranged in regions
  10031. * PropertyGrid.cs: Fixed signatures
  10032. * TreeNodeCollection.cs: Added attributes
  10033. * Splitter.cs: Added missing attributes; arranged into regions
  10034. * TabPage.cs: Added missing attributes; arranged into regions
  10035. * TextBoxBase.cs: Added missing attributes
  10036. * TextBox.cs: Added missing attributes
  10037. * ArrangeDirection.cs: Added missing attributes
  10038. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  10039. * ToolBarButton.cs: Fixed attributes
  10040. * AnchorStyles.cs: Fixed attribute
  10041. * TrackBar.cs: Fixed attributes
  10042. * TabControl.cs: Added missing attributes and arranged into regions
  10043. * ToolBar.cs: Fixed attribute
  10044. * StatusBar.cs: Fixed signature, organized into regions and added
  10045. attributes
  10046. * StatusBarPanel.cs: Fixed attributes
  10047. * ContentsResizedEventArgs.cs: Implemented
  10048. * ContentsResizedEventHandler.cs: Implemented
  10049. * DateBoldEventArgs.cs: Implemented
  10050. * DateBoldEventHandler.cs: Implemented
  10051. * UpDownEventArgs.cs: Implemented
  10052. * UpDownEventHandler.cs: Implemented
  10053. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  10054. * Form.cs: first Menu NC refactoring
  10055. * MenuAPI.cs: first Menu NC refactoring
  10056. 2005-02-16 Peter Bartok <[email protected]>
  10057. * ImeMode.cs: Added missing attributes
  10058. * Menu.cs: Fixed attribute
  10059. * GroupBox.cs: Fixed attribute
  10060. * Label.cs: Fixed attribute
  10061. * ColorDialog.cs (RunDialog): Removed TODO attribute
  10062. * ComboBox.cs: Fixed attributes
  10063. * ListControl.cs: Added missing attributes
  10064. * PropertyGrid.cs: Fixed attributes
  10065. * Control.cs: Fixed attributes
  10066. * ListViewItem.cs: Added TypeConverter attribute
  10067. * NotifyIcon.cs: Fixed attributes
  10068. * ListView.cs: Fixed attributes
  10069. * ButtonBase.cs: Fixed attribute
  10070. * ImageList.cs: Added missing attributes
  10071. * ContainerControl.cs: Fixed signature
  10072. * CheckedListBox.cs: Fixed attribute; added missing attributes
  10073. * Panel.cs: Fixed attributes
  10074. * PropertyTabChangedEventArgs.cs: Added missing attribute
  10075. * PropertyValueChangedEventArgs.cs: Added missing attribute
  10076. * Binding.cs: Fixed attribute
  10077. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  10078. * ListBox.cs: Fixed attribute; added missing attributes;
  10079. * ScrollableControl.cs: Added missing attributes
  10080. * PictureBox.cs: Added missing attributes; implemented missing property
  10081. * DateTimePicker.cs: Added missing attributes
  10082. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  10083. * MonthCalendar.cs: Fixed attributes
  10084. * StatusBarPanel.cs: Added missing attributes
  10085. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  10086. 2005-02-16 Peter Bartok <[email protected]>
  10087. * TextBoxBase.cs: The previous method to enforce height yet remember
  10088. the requested high was less than ideal, this is an attempt to do
  10089. it better.
  10090. * Control.cs: Added comment about possible problem
  10091. * Copyright: Updated format
  10092. * GridItemType.cs: Fixed swapped values
  10093. 2005-02-15 Jackson Harper <[email protected]>
  10094. * BaseCollection.cs: Use property so we never access an
  10095. uninitialized list. Also initialize the list in the property.
  10096. 2005-02-15 Peter Bartok <[email protected]>
  10097. * GroupBox.cs (ProcessMnemonic): Implemented
  10098. * Label.cs (ProcessMnemonic): Implemented
  10099. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  10100. hotkeys
  10101. 2005-02-15 Peter Bartok <[email protected]>
  10102. * RadioButton.cs (ProcessMnemonic): Implemented
  10103. * CheckBox.cs (ProcessMnemonic): Implemented
  10104. * Control.cs:
  10105. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  10106. handling
  10107. - Added internal method to allow calling ProcessMnemonic from other
  10108. controls
  10109. * ContainerControl.cs:
  10110. - Started support for handling validation chain handling
  10111. - Implemented ProcessMnemonic support
  10112. - Added Select() call to Active, to make sure the active control
  10113. receives focus
  10114. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  10115. FormParent rewrite)
  10116. * ThemeWin32Classic.cs:
  10117. - DrawCheckBox(): Fixed stringformat to show hotkeys
  10118. - DrawRadioButton(): Fixed stringformat to show hotkeys
  10119. * CommonDialog.cs: Removed WndProc override, not needed
  10120. 2005-02-14 Peter Bartok <[email protected]>
  10121. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  10122. missed those in the rewrite
  10123. 2005-02-14 Miguel de Icaza <[email protected]>
  10124. * NumericUpDown.cs (Increment, ToString): Add.
  10125. (DecimalPlaces): implement.
  10126. Add attributes.
  10127. * UpDownBase.cs: Add the designer attributes.
  10128. 2005-02-13 Peter Bartok <[email protected]>
  10129. * Panel.cs: Removed border_style, now in Control
  10130. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  10131. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  10132. 2005-02-13 Peter Bartok <[email protected]>
  10133. * MouseButtons.cs: Added missing attributes
  10134. * XplatUIStructs.cs: Added enumeration for title styles
  10135. * LeftRightAlignment.cs: Added missing attributes
  10136. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  10137. it compatible with Graphics.FromHwnd()
  10138. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  10139. * Keys.cs: Added missing attributes
  10140. * SelectionRange.cs: Added missing attributes
  10141. * SelectionRangeConverter.cs: Added
  10142. * XplatUI.cs:
  10143. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  10144. ReleaseMenuDC methods
  10145. - Renamed ReleaseWindow to UngrabWindow
  10146. - Added proper startup notice to allow version identification
  10147. * Form.cs:
  10148. - Added missing attributes
  10149. - Removed FormParent concept
  10150. * Label.cs: Removed border_style field, now in Control
  10151. * RadioButton.cs: Now properly selects RadioButton when focus is
  10152. received
  10153. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  10154. * Control.cs:
  10155. - Added missing attributes
  10156. - Added borderstyle handling
  10157. - Removed FormParent concept support
  10158. - Fixed calls to XplatUI to match changed APIs
  10159. - Fixed bug that would case us to use disposed Graphics objects
  10160. - Removed unneeded internal methods
  10161. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  10162. - SelectNextControl(): Fixed to properly check common parents
  10163. * TextBoxBase.cs: Removed border_style field (now in Control)
  10164. * MessageBox.cs:
  10165. - Patch by Robert Thompson ([email protected]): Added icon support,
  10166. fixed calculations for form size
  10167. - Added support for localized strings and icons
  10168. - Improved form size calculations, added border
  10169. * ListView.cs: Removed border_style field (now in Control)
  10170. * X11Structs.cs: Moved several structs from X11 driver here
  10171. * X11Keyboard.cs: Changed debug message
  10172. * Application.cs: Removed FormParent concept support
  10173. * CommonDialog.cs:
  10174. - Resetting end_modal flag
  10175. - Removed FormParent concept support
  10176. * NativeWindow.cs: Removed FormParent concept support
  10177. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  10178. Client area and Non-Client whole window to allow support for WM_NC
  10179. messages
  10180. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  10181. prevent using it until it supports Hwnd as per Geoff Norton's request
  10182. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  10183. * PictureBox.cs: Removed border_style field, now in Control
  10184. * XplatUIWin32.cs: Added new driver methods
  10185. 2005-02-12 Peter Bartok <[email protected]>
  10186. * OpacityConverter.cs: Implemented
  10187. * Hwnd.cs: Internal class to support drivers that need to emulate
  10188. client area/non-client area window behaviour
  10189. 2005-02-11 Peter Bartok <[email protected]>
  10190. * KeysConverter.cs: Implemented
  10191. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  10192. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  10193. * LinkLabel: Added missing attributes
  10194. * MainMenu.cs: fixes ToString
  10195. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  10196. * ListBox.cs: fixes event position
  10197. * TrackBar.cs: adds missing attributes and events
  10198. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  10199. * MenuItem.cs: Use SystemInformation and bug fixes
  10200. * MenuAPI.cs: Use SystemInformation and bug fixes
  10201. 2005-02-09 Jackson Harper <[email protected]>
  10202. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  10203. their keystate otherwise things like VK_MENU get stuck "on".
  10204. 2005-02-09 Kazuki Oikawa <[email protected]>
  10205. * ListBox.cs: Fixes AddRange bug
  10206. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  10207. * ProgressBar.cs
  10208. - Add missing attributes
  10209. - Add missing method
  10210. * CheckedListBox.cs: Added missing attributes
  10211. - Add missing attributes
  10212. - Remove extra method
  10213. * ComboBox.cs: Added missing attributes
  10214. * VScrollBar.cs: Added missing attributes
  10215. * ScrollBar.cs: Added missing attributes
  10216. * ListBox.cs: Fixes signature, add missing consts
  10217. * LinkArea.cs: Added missing attributes
  10218. 2005-02-08 Peter Bartok <[email protected]>
  10219. * Menu.cs: Added missing attributes
  10220. * MainMenu.cs: Added missing attributes
  10221. * GroupBox.cs: Added missing attributes
  10222. * Label.cs: Added missing attributes
  10223. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  10224. * ColorDialog.cs:
  10225. - Added Instance and Options properties
  10226. - Added missing attributes
  10227. * Cursor.cs: Made Serializable
  10228. * NotifyIcon: Added missing attributes
  10229. * MenuItem.cs: Added missing attributes
  10230. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  10231. * Panel.cs: Added Missing attributes
  10232. * MonthCalendar.cs: Fixed CreateParams
  10233. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  10234. * LinkLabel.cs:
  10235. - Fixes signature
  10236. - Fixes issues with links
  10237. - Adds the class attributes
  10238. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  10239. * ComboBox.cs:
  10240. - Fixes button when no items available in dropdown
  10241. - Fixes repainting problems
  10242. - Adds the class attributes
  10243. 2005-02-07 Geoff Norton <[email protected]>
  10244. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  10245. the current theme. Cache these on startup.
  10246. 2005-02-07 Jackson Harper <[email protected]>
  10247. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  10248. the scrollbar buttons when they are depressed.
  10249. 2005-02-07 Geoff Norton <[email protected]>
  10250. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  10251. Get the display size from the main displayid. We currently dont
  10252. support multiple display configurations.
  10253. 2005-02-07 Geoff Norton <[email protected]>
  10254. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  10255. 2005-02-07 Miguel de Icaza <[email protected]>
  10256. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  10257. 2005-02-05 Jonathan Chambers <[email protected]>
  10258. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  10259. 2005-02-04 Jackson Harper <[email protected]>
  10260. * ThemeWin32Classic.cs: Respect the clipping rect when
  10261. drawing. Only fill the intersection of clips and rects so there
  10262. isn't a lot of large fills.
  10263. * ScrollBar.cs: Pass the correct clipping rect to the theme
  10264. engine. Remove some debug code.
  10265. 2005-02-05 John BouAntoun <[email protected]>
  10266. * DateTimePicker.cs:
  10267. - Fixed crash on DateTime.Parse, use Constructor instead
  10268. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  10269. * MenuItem.cs:
  10270. * MenuAPI.cs:
  10271. - Owner draw support (MeasureItem and DrawItem)
  10272. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  10273. * Menu.cs:
  10274. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  10275. - Fixes MenuItems.Add range
  10276. * MenuItem.cs:
  10277. - MergeMenu and Clone and CloneMenu functions
  10278. 2005-02-03 Jackson Harper <[email protected]>
  10279. * ScrollBar.cs: Make abstract
  10280. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  10281. is abstract.
  10282. 2005-02-03 Jackson Harper <[email protected]>
  10283. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  10284. all the unneeded refreshes and uses invalidates with properly
  10285. computed rects.
  10286. 2005-02-03 Peter Bartok <[email protected]>
  10287. * ComponentModel.cs: Added
  10288. * IDataGridEditingService.cs: Added
  10289. * Timer.cs: Added missing attributes
  10290. * ToolTip.cs: Added missing attributes
  10291. 2005-02-03 Jonathan Chambers <[email protected]>
  10292. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  10293. 2005-02-03 Peter Bartok <[email protected]>
  10294. * ListBox.cs: Added missing attributes
  10295. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  10296. * ListBox.cs:
  10297. - Fixes font height after font change
  10298. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  10299. 2005-02-02 Peter Bartok <[email protected]>
  10300. * HandleData.cs: Introduced static methods to allow class
  10301. to be more self-contained and track it's own HandleData objects
  10302. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  10303. HandleData to use new static methods
  10304. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  10305. * Combobox.cs:
  10306. - Fixes default size and PreferredHeight
  10307. - Missing events
  10308. - ObjectCollection.Insert implementation
  10309. * ListControl.cs
  10310. - Fixes signature
  10311. * ListBox.cs:
  10312. - Several fixes
  10313. - ObjectCollection.Insert implementation
  10314. - No selection after clean
  10315. - Small fixes
  10316. 2005-01-31 John BouAntoun <[email protected]>
  10317. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  10318. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  10319. * Combobox.cs:
  10320. - Caches ItemHeight calculation for OwnerDrawVariable
  10321. - Handles dropdown properly
  10322. - Fixes several minor bugs
  10323. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  10324. * ListBox.cs:
  10325. - Fixes 71946 and 71950
  10326. - Fixes changing Multicolumn on the fly
  10327. - Fixes keyboard navigation on Multicolumn listboxes
  10328. 2005-01-31 Geoff Norton <[email protected]>
  10329. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  10330. crash reporter log.
  10331. 2005-01-31 Geoff Norton <[email protected]>
  10332. * XplatUIOSX.cs: Allow applications to actually exit.
  10333. 2005-01-31 Geoff Norton <[email protected]>
  10334. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  10335. their parent at creation time rather than lazily later. Fixes a major
  10336. regression we were experiencing.
  10337. 2005-01-31 John BouAntoun <[email protected]>
  10338. * ThemeWin32Classic.cs: more date time picker painting fixes
  10339. * DateTimePicker.cs: more monthcalendar drop down fixes
  10340. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  10341. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  10342. * ScrollBar.cs:
  10343. - When moving the thumb going outside the control should stop the moving
  10344. - Adds the firing of missing events
  10345. - Fixes no button show if Size is not specified
  10346. - End / Home keys for keyboard navigation
  10347. 2005-01-30 Peter Bartok <[email protected]>
  10348. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  10349. sanity check to prevent theoretical loop
  10350. * XplatUIWin32.cs (SetVisible): Removed debug output
  10351. * XplatUIX11.cs (SystrayChange): Added sanity check
  10352. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  10353. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  10354. behaviour, valid until the X11 client window rewrite is done
  10355. * TextBox.cs (ctor): Setting proper default foreground and background
  10356. colors
  10357. 2005-01-30 John BouAntoun <[email protected]>
  10358. * Theme: Added DrawDateTimePicker to interface
  10359. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  10360. * DateTimePicker.cs: Created (still needs keys and painting code)
  10361. * DateTimePickerFormat.cs: added
  10362. * MonthCalendar.cs: fixed CreateParams for popup window mode
  10363. 2005-01-29 Peter Bartok <[email protected]>
  10364. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  10365. this should also the calculations for ligher/darker
  10366. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  10367. 2005-01-29 Peter Bartok <[email protected]>
  10368. * ArrangeDirection.cs: Added
  10369. * ArrangeStartingPositon.cs: Added
  10370. * SystemInformation.cs: Implemented
  10371. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  10372. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  10373. used by SystemInformation class
  10374. * X11Strucs.cs: Added XSizeHints structure
  10375. * MenuAPI.cs:
  10376. - Fixed CreateParams to make sure the menu window is always visible
  10377. - TrackPopupMenu: Added check to make sure we don't draw the
  10378. menu offscreen
  10379. 2005-01-29 Peter Bartok <[email protected]>
  10380. * HandleData.cs: Added method for altering invalid area
  10381. * TextBoxBase.cs: Implemented TextLength
  10382. 2005-01-28 Peter Bartok <[email protected]>
  10383. * XplatUIX11.cs: Improvement over last patch, not sending
  10384. the WM_PAINT directly anymore, instead we scroll any pending
  10385. exposed areas and let the system pick out the WM_PAINT later
  10386. 2005-01-28 Peter Bartok <[email protected]>
  10387. * SWF.csproj: Deleted, no longer used. Instead,
  10388. Managed.Windows.Forms/SWF.csproj should be used
  10389. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  10390. directly, to avoid a potential race condition with the next
  10391. scroll
  10392. 2005-01-28 Peter Bartok <[email protected]>
  10393. * XplatUI.cs: Made class internal
  10394. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  10395. * CheckedListBox.cs:
  10396. - Draw focus
  10397. - Fixed Drawing
  10398. - Missing methods and events
  10399. 2005-01-27 Peter Bartok <[email protected]>
  10400. * Application.cs (Run): Don't use form if we don't have one
  10401. 2005-01-27 Peter Bartok <[email protected]>
  10402. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  10403. 2005-01-27 Peter Bartok <[email protected]>
  10404. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  10405. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  10406. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  10407. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  10408. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  10409. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  10410. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  10411. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  10412. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  10413. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  10414. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  10415. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  10416. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  10417. * Combobox.cs:
  10418. - Draw focus on Simple Combobox
  10419. - Fixes drawing issues
  10420. - fixes 71834
  10421. 2005-01-27 Peter Bartok <[email protected]>
  10422. * Form.cs:
  10423. - Place window in default location, instead of hardcoded 0/0
  10424. - Send initial LocationChanged event
  10425. * Control.cs:
  10426. - UpdateBounds after creation to find out where the WM placed us
  10427. - Make sure that if the ParentForm changes location the Form
  10428. is notified
  10429. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  10430. to the root, but to whatever the WM placed around us.
  10431. Translate to root coordinates before returning toplevel
  10432. coordinates
  10433. * XplatUIWin32.cs: Removed debug output
  10434. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  10435. flag to GetWindowPos, to allow translation of coordinates on X11
  10436. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  10437. * ListBox.cs: connect LostFocus Event
  10438. 2005-01-27 Peter Bartok <[email protected]>
  10439. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  10440. XplatUIX11.cs: Extended the Systray API
  10441. * Form.cs: Removed debug output
  10442. * Application.cs: Fixed focus assignment, always need to call
  10443. XplatUI.Activate() since Form.Activate() has rules that may
  10444. prevent activation
  10445. * NotifyIcon.cs: Should be complete now
  10446. * ToolTip.cs: Worked around possible timer bug
  10447. 2005-01-27 Jackson Harper <[email protected]>
  10448. * TabControl.cs:
  10449. - Only invalidate the effected tabs when the
  10450. selected index changes. This reduces drawing and gets rid of some
  10451. flicker.
  10452. - Only refresh if the tabs need to be shifted, otherwise only
  10453. invalidate the slider button.
  10454. - On windows the tabs are not filled to right if the slider is
  10455. visible.
  10456. 2005-01-27 Jackson Harper <[email protected]>
  10457. * TabControl.cs: Only refresh on mouseup if we are showing the
  10458. slider. Also only invalidate the button whose state has changed.
  10459. 2005-01-26 Peter Bartok <[email protected]>
  10460. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  10461. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  10462. and SystrayRemove() methods
  10463. * XplatUIOSX.cs: Stubbed Systray methods
  10464. * XplatUIX11.cs:
  10465. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  10466. methods
  10467. - Fixed broken XChangeProperty calls (marshalling messed up things)
  10468. * X11Structs.cs: Added enums and structs required for Size hinting
  10469. * NotifyIcon.cs: Added & implemented
  10470. 2005-01-26 Jackson Harper <[email protected]>
  10471. * TabControl.cs: Space vertically layed out tabs properly.
  10472. 2005-01-26 Peter Bartok <[email protected]>
  10473. * Form.cs (CreateClientParams): Always set the location to 0,0
  10474. since we're a child window.
  10475. * Control.cs (SetVisibleCore): Always explicitly setting the location
  10476. of a toplevel window, apparently X11 doesn't like to move windows
  10477. while they're not mapped.
  10478. 2005-01-26 Jackson Harper <[email protected]>
  10479. * TabControl.cs: Implement FillToRight size mode with vertically
  10480. rendered tabs.
  10481. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  10482. * ControlPaint.cs, ThemeWin32Classic.cs
  10483. - Fixes DrawFocusRectangle
  10484. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  10485. * MenuAPI.cs:
  10486. - MenuBar tracking only starts when item is first clicked
  10487. - Fixes menu hidding for multiple subitems
  10488. - Unselect item in MenuBar when item Executed
  10489. - Fixes bug 71495
  10490. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  10491. * ListControl.cs:
  10492. - IsInputKey for ListBox
  10493. * ListBox.cs:
  10494. - Focus item
  10495. - Shift and Control item selection
  10496. - Implement SelectionMode.MultiExtended
  10497. - Fixes RightToLeft
  10498. * ComboBox.cs:
  10499. - IsInputKey implemented
  10500. - Do not generate OnTextChangedEdit on internal txt changes
  10501. 2005-01-23 Peter Bartok <[email protected]>
  10502. * AccessibleObject.cs: Partially implemented Select()
  10503. * MonthCalendar.cs: Added missing attributes and events
  10504. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  10505. form can properly override CreateParams.
  10506. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  10507. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  10508. Control performs Invalidate & Update
  10509. * NativeWindow (CreateHandle): Added special handling for Form
  10510. and Form.FormParent classes to allow overriding of From.CreateParams
  10511. * Control.cs:
  10512. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  10513. name 'owner'
  10514. - ControlNativeWindow: Added Owner property
  10515. - Removed usage of Refresh() on property changes, changed into
  10516. Invalidate(), we need to wait until the queue is processed for
  10517. updates, direct calls might cause problems if not all vars for
  10518. Paint are initialized
  10519. - Added call to UpdateStyles() when creating the window, to set any
  10520. styles that CreateWindow might have ignored.
  10521. - Added support for Form CreateParent overrides to UpdateStyles()
  10522. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  10523. CreateParams are now properly overridable
  10524. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  10525. CreateParams are now properly overridable
  10526. 2005-01-23 Miguel de Icaza <[email protected]>
  10527. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  10528. OnTextBoxChanged.
  10529. Capture LostFocus and OnTextBoxChanged. The later introduces a
  10530. recursive invocation that I have not figured out yet.
  10531. Reset the timer when not using (it was accumulating).
  10532. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  10533. user has made changes that require validation.
  10534. Reset changing to avoid loops.
  10535. 2005-01-22 Miguel de Icaza <[email protected]>
  10536. * NumericUpDown.cs: Display value at startup.
  10537. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  10538. ValidateEditText.
  10539. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  10540. filled in. Added some basic parsing of text.
  10541. Still missing the OnXXX method overrides, and figuring out the
  10542. events that must be emitted.
  10543. * UpDownBase.cs: Handle UserEdit on the Text property.
  10544. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  10545. * ComboBox.cs:
  10546. - Fixes IntegralHeight
  10547. - ToString method
  10548. 2005-01-21 Jackson Harper <[email protected]>
  10549. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  10550. is set so that the page visibility is updated and the tabs are
  10551. sized correctly.
  10552. 2005-01-21 Jackson Harper <[email protected]>
  10553. * TabControl.cs: Use cliping rectangle for blitting. Give the
  10554. theme the clipping rect so we can do clipping while
  10555. drawing. Remove some debug code.
  10556. 2005-01-21 Jackson Harper <[email protected]>
  10557. * TabPage.cs: Add a new method so tab pages can force the tab
  10558. control to recalculate the tab page sizes.
  10559. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  10560. sizes.
  10561. 2005-01-20 Jackson Harper <[email protected]>
  10562. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  10563. 2005-01-20 Jackson Harper <[email protected]>
  10564. * TreeView.cs: Set the bounds for nodes properly. They were
  10565. getting screwed up when checkboxes were not enabled, but images
  10566. were.
  10567. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  10568. * ListBox.cs:
  10569. - Owner draw support
  10570. - Fixes
  10571. 2005-01-20 Jackson Harper <[email protected]>
  10572. * XplatUIStructs.cs: More misc keys
  10573. * X11Keyboard.cs: Ignore some control keys.
  10574. 2005-01-20 Jackson Harper <[email protected]>
  10575. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  10576. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  10577. 2005-01-19 Peter Bartok <[email protected]>
  10578. * Control.cs: Un-selecting the control when it is loosing focus
  10579. 2005-01-19 Jackson Harper <[email protected]>
  10580. * TreeView.cs: Hook up to the text controls leave event so we can
  10581. end editing when the users clicks outside the text box.
  10582. 2005-01-19 Jackson Harper <[email protected]>
  10583. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  10584. get set in the conversion array.
  10585. 2005-01-19 Peter Bartok <[email protected]>
  10586. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  10587. focus is properly set
  10588. * Button.cs:
  10589. - Added missing attributes
  10590. - removed styles, those are already set in the base class
  10591. * ButtonBase.cs:
  10592. - Added missing attributes
  10593. - Added clip window styles
  10594. * CheckBox.cs: Added missing attributes
  10595. * CommonDialog.cs:
  10596. - FormParentWindow.CreateParams: Added required clip styles
  10597. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  10598. also filters modifier keys
  10599. * MessageBox.cs:
  10600. - Added assignment of Accept and Cancel button to enable Enter
  10601. and Esc keys in MessageBox dialogs
  10602. - FormParentWindow.CreateParams: Added required clip styles
  10603. * RadioButton.cs: Added missing attributes
  10604. * TextControl.cs: No longer draws selection if control does not
  10605. have focus
  10606. * TextBoxBase.cs:
  10607. - Now draws simple rectangle around test area to make it obvious
  10608. there's a control. This is a hack until we properly support borders
  10609. - A few simple fixes to support selections better, now erases selected
  10610. text when typing, and resets selection when using movement keys
  10611. 2005-01-19 Miguel de Icaza <[email protected]>
  10612. * UpDownBase.cs: Added some new properties.
  10613. * DomainUpDown.cs: Implement a lot to get my test working.
  10614. 2005-01-19 Geoff Norton <[email protected]>
  10615. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  10616. 2005-01-19 Geoff Norton <[email protected]>
  10617. * OSXStructs (WindowAttributes): Fixed csc complaints
  10618. 2005-01-19 Geoff Norton <[email protected]>
  10619. * XplayUIOSX.cs:
  10620. OSXStructs.cs: Initial refactor to move enums and consts into
  10621. OSXStructs and use them in the driver for greater readability.
  10622. 2005-01-19 Geoff Norton <[email protected]>
  10623. * XplatUIOSX.cs: Initial support for Standard Cursors.
  10624. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  10625. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  10626. * ComboBox.cs: ability to change style when the ctrl is already
  10627. created, missing methods and events, bug fixes, signature fixes
  10628. 2005-01-19 Peter Bartok <[email protected]>
  10629. * Cursors.cs (ctor): Added ctor to fix signature
  10630. 2005-01-18 Peter Bartok <[email protected]>
  10631. * Button.cs: Implemented DoubleClick event
  10632. * ButtonBase.cs:
  10633. - Fixed keyboard handling to behave like MS, where the press of
  10634. Spacebar is equivalent to a mousedown, and the key release is
  10635. equivalent to mouseup. Now a spacebar push will give the same
  10636. visual feedback like a mouse click.
  10637. - Added missing attributes
  10638. - Added ImeModeChanged event
  10639. - Added support for generating DoubleClick event for derived classes
  10640. * CheckBox.cs:
  10641. - Implemented DoubleClick event
  10642. - Added missing attributes
  10643. * CommonDialog.cs: Added missing attribute
  10644. * ContextMenu.cs: Added missing attributes
  10645. * RadioButton.cs:
  10646. - AutoChecked buttons do not allow to be unselected when clicked
  10647. (otherwise we might end up with no selected buttons in a group)
  10648. - Added missing attributes
  10649. - Implemented DoubleClickEvent
  10650. * ThreadExceptionDialog.cs: Enabled TextBox code
  10651. 2005-01-18 Peter Bartok <[email protected]>
  10652. * Form.cs: Removed debug output
  10653. * Button.cs: Added support for DoubleClick method
  10654. 2005-01-18 Peter Bartok <[email protected]>
  10655. * Form.cs:
  10656. - Added method to parent window that allows triggering size
  10657. calculations when a menu is added/removed
  10658. - set_Menu: Cleaned up mess from early days of Form and Control,
  10659. now properly triggers a recalc when a menu is added/removed
  10660. - Added case to select form itself as focused form if no child
  10661. controls exist
  10662. - Added PerformLayout call when showing dialog, to ensure properly
  10663. placed controls
  10664. * Control.cs:
  10665. - Select(): Made internal so Form can access it
  10666. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  10667. status
  10668. * Application.cs (Run): Removed hack and calls PerformLayout instead
  10669. to trigger calculation when Form becomes visible
  10670. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  10671. * ComboBox.cs: fixes for ownerdraw
  10672. 2005-01-18 Peter Bartok <[email protected]>
  10673. * TextControl.cs:
  10674. - Sentinel is no longer static, each Document gets it's own, this
  10675. avoids locking or alternatively overwrite problems when more
  10676. than one text control is used simultaneously.
  10677. - Switched to use Hilight and HilightText brushes for text selection
  10678. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  10679. 2005-01-18 Peter Bartok <[email protected]>
  10680. * Control.cs:
  10681. - Hooked up the following events:
  10682. o ControlAdded
  10683. o ControlRemoved
  10684. o HandleDestroyed
  10685. o ImeModeChanged
  10686. o ParentChanged
  10687. o TabStopChanged
  10688. o Invalidated
  10689. o SystemColorsChanged
  10690. o ParentFontChanged
  10691. o Move
  10692. - Removed debug output
  10693. - Added a call to the current theme's ResetDefaults when a color change
  10694. is detected
  10695. * Form.cs: Now setting the proper ImeMode
  10696. * Theme.cs: Defined a method to force recreation of cached resources
  10697. and rereading of system defaults (ResetDefaults())
  10698. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  10699. 2005-01-17 Peter Bartok <[email protected]>
  10700. * Control.cs: Added missing attributes
  10701. 2005-01-17 Jackson Harper <[email protected]>
  10702. * TreeNode.cs: Implement editing. Add missing properties selected
  10703. and visible.
  10704. * TreeView.cs: Implement node editing. Also some fixes to use
  10705. Invalidate (invalid area) instead of Refresh when selecting.
  10706. 2005-01-17 Peter Bartok <[email protected]>
  10707. * Control.cs:
  10708. - Implemented InvokeGotFocus() method
  10709. - Implemented InvokeLostFocus() method
  10710. - Implemented InvokePaint() method
  10711. - Implemented InvokePaintBackground() method
  10712. - Implemented InvokeClick() method
  10713. - Implemented FindForm() method
  10714. - Implemented RectangleToClient() method
  10715. - Implemented ClientToRectangle() method
  10716. - Implemented ResetBackColor() method
  10717. - Implemented ResetCursor() method
  10718. - Implemented ResetFont() method
  10719. - Implemented ResteForeColor() method
  10720. - Implemented ResetImeMode() method
  10721. - Implemented ResetLeftToRight() method
  10722. - Implemented ResetText() method
  10723. - Implemented Scale() methods
  10724. - Implemented ScaleCore() method
  10725. - Implemented Update() method
  10726. - Removed unused variables
  10727. - Stubbed AccessibilityNotifyClients and
  10728. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  10729. with those yet)
  10730. - Now setting proper default for RightToLeft property
  10731. - Fixed bug in SetClientSizeCore that would cause windows to get
  10732. really big
  10733. - Now sending Click/DoubleClick events
  10734. - Now selecting controls when left mouse button is clicked on
  10735. selectable control
  10736. * AccessibleEvents.cs: Added
  10737. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  10738. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  10739. * XplatUIWin32.cs: Implemented UpdateWindow() method
  10740. * XplatUIX11.cs: Implemented UpdateWindow() method
  10741. * Form.cs: Removed stray semicolon causing CS0162 warning
  10742. * ThemeWin32Classic.cs: Fixed unused variable warnings
  10743. * ScrollableControl.cs: Now calls base method for ScaleCore
  10744. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  10745. style to avoid interference with internal click handler (which is
  10746. different than standard Control click handling)
  10747. * RadioButton.cs:
  10748. - Now unchecks all sibling radio buttons when control is
  10749. selected (Fixes #68756)
  10750. - Removed internal tabstop variable, using the one inherited from
  10751. Control
  10752. 2005-01-17 Jackson Harper <[email protected]>
  10753. * NavigateEventArgs.cs: Fix base type.
  10754. * LinkLabel.cs: Sig fix
  10755. 2005-01-17 Jackson Harper <[email protected]>
  10756. * TreeView.cs: Only invalidate the effected nodes bounds when
  10757. selecting nodes.
  10758. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  10759. * XplatUIWin32.cs: fixes Win32 marshaling
  10760. * XplatUIX11.cs: fixes method signature
  10761. 2005-01-17 Peter Bartok <[email protected]>
  10762. * XplatUIX11.cs: Clean up resources when we no longer need them
  10763. 2005-01-17 Peter Bartok <[email protected]>
  10764. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  10765. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  10766. and DestroyCursor() methods.
  10767. * Cursor.cs: Partially implemented, now supports standard cursors;
  10768. still contains some debug code
  10769. * Cursors.cs: Implemented class
  10770. * Control.cs:
  10771. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  10772. appropriate cursor
  10773. - Implemented Cursor property
  10774. - Replaced break; with return; more straightforwar and possibly
  10775. faster
  10776. - Now properly setting the result for WM_HELP
  10777. * X11Structs.cs: Added CursorFontShape enum
  10778. * XplatUIStructs.cs:
  10779. - Added StdCursor enum (to support DefineStdCursor() method)
  10780. - Added HitTest enum (to support sending WM_SETCURSOR message)
  10781. * XplatUIX11.cs:
  10782. - Now sends the WM_SETCURSOR message
  10783. - Implemented new cursor methods
  10784. * XplatUIOSX.cs: Stubbed new cursor methods
  10785. * XplatUIWin32.cs:
  10786. - Implemented new cursor methods
  10787. - Added GetSystemMetrics function and associated enumeration
  10788. 2005-01-15 Peter Bartok <[email protected]>
  10789. * Control.cs:
  10790. - WndProc(): Now handles EnableNotifyMessage
  10791. - SelectNextControl(): Fixed bug where if no child or sibling
  10792. controls exist we looped endlessly
  10793. 2005-01-14 Jackson Harper <[email protected]>
  10794. * TreeView.cs: Recalculate the tab pages when a new one is added
  10795. so that the proper bounding rects are created.
  10796. 2005-01-14 Jackson Harper <[email protected]>
  10797. * TreeView.cs: Draw a gray box instead of a grip in the lower
  10798. right hand corner when there are both horizontal and vertical
  10799. scroll bars.
  10800. 2005-01-14 Jackson Harper <[email protected]>
  10801. * Control.cs: When erasing backgrounds use FromHwnd instead of
  10802. FromHdc when there is a NULL wparam. This occurs on the X driver.
  10803. * XplatUIX11.cs: Set the wparam to NULL.
  10804. 2005-01-13 Jackson Harper <[email protected]>
  10805. * PictureBox.cs: Implement missing methods (except ToString, need
  10806. to test that on windows) and events. When visibility is changed we
  10807. need to redraw the image because the buffers are killed. When size
  10808. is changed refresh if the sizemode needs it.
  10809. 2005-01-13 Peter Bartok <[email protected]>
  10810. * Control.cs (SelectNextControl): Was using wrong method to select
  10811. a control
  10812. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  10813. * ComboBox.cs: fixes dropstyle
  10814. 2005-01-13 Peter Bartok <[email protected]>
  10815. * Form.cs:
  10816. - Implemented Select() override
  10817. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  10818. - Now sets keyboard focus on startup
  10819. * Control.cs (SelectNextControl): Now properly handles directed=true
  10820. * TextBoxBase.cs:
  10821. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  10822. - Added (really bad) focus rectangle (mostly for testing)
  10823. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  10824. to enforce redraw on focus changes
  10825. * ContainerControl.cs:
  10826. - Fixed detection of Shift-Tab key presses
  10827. - Fixed traversal with arrow keys
  10828. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  10829. gonna keep this or if it's complete yet
  10830. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  10831. * ComboBox.cs: missing properties, fixes
  10832. 2005-01-13 Peter Bartok <[email protected]>
  10833. * Panel.cs (ctor): Setting Selectable window style to off
  10834. * Splitter.cs (ctor): Setting Selectable window style to off
  10835. * GroupBox.cs (ctor): Setting Selectable window style to off
  10836. * Label.cs (ctor): Setting Selectable window style to off
  10837. 2005-01-12 Miguel de Icaza <[email protected]>
  10838. * UpDownBase.cs (InitTimer): If the timer has been already
  10839. created, enable it.
  10840. Use a TextBox instead of a Label.
  10841. 2005-01-12 Jackson Harper <[email protected]>
  10842. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  10843. draw the connecting node lines (when ShowLines is true).
  10844. * TreeNode.cs: The nodes index can now be updated. This is used
  10845. when a node collection is sorted.
  10846. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  10847. insert or an existing unsorted node collection can be sorted.
  10848. 2005-01-12 Peter Bartok <[email protected]>
  10849. * ContainerControl.cs: Implemented ProcessDialogKeys()
  10850. 2005-01-12 Peter Bartok <[email protected]>
  10851. * Control.cs:
  10852. - Implemented SelectNextControl() method
  10853. - Several focus related bug fixes
  10854. - Fixed Docking calculations to match MS documentation and
  10855. behaviour
  10856. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  10857. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  10858. bug fixes
  10859. 2005-01-12 Peter Bartok <[email protected]>
  10860. * Control.cs:
  10861. - Fixed broken Contains() method
  10862. - Implemented GetNextControl() method. Finally. This is the pre-
  10863. requisite for focus handling.
  10864. 2005-01-12 Peter Bartok <[email protected]>
  10865. * OSXStrucs.cs: Added
  10866. 2005-01-12 Peter Bartok <[email protected]>
  10867. * XplatUIWin32.cs:
  10868. - Removed PeekMessageFlags
  10869. - Implemented SetWindowStyle() method
  10870. * XplatUIStructs.cs: Added PeekMessageFlags
  10871. * X11Structs: Added missing border_width field to XWindowChanges struct
  10872. * XplatUIX11.cs:
  10873. - PeekMessage: Now throws exception if flags which are not yet
  10874. supported are passed
  10875. - Implemented SetWindowStyle() method
  10876. - Fixed SetZOrder to handle AfterHwnd properly
  10877. * XplatUI.cs: Added SetWindowStyle() method
  10878. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  10879. * Control.cs:
  10880. - Implemented UpdateStyles() method
  10881. - Implemented UpdateZOrder() method
  10882. * XplatUIOSX.cs: Added SetWindowStyle() stub
  10883. 2005-01-12 Geoff Norton <[email protected]>
  10884. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  10885. button mouse).
  10886. 2005-01-11 Jackson Harper <[email protected]>
  10887. * TreeView.cs: Still need to draw lines to siblings even if out of
  10888. the current node is out of the clip.
  10889. 2005-01-11 Jackson Harper <[email protected]>
  10890. * TreeView.cs: When setting the hbar/vbar/grip position use
  10891. SetBounds so that perform layout is only called once. Also suspend
  10892. and resume layout so layout is only done once for all controls.
  10893. - Removed some debug fluff
  10894. * SizeGrip.cs: Call base implmentation in overriding methods.
  10895. - When visibility is changed the drawing buffers are killed so we
  10896. need to redraw.
  10897. 2005-01-11 Jackson Harper <[email protected]>
  10898. * TreeView.cs: Calculate the open node count while drawing. This
  10899. saves us an entire tree traversal for every paint operation. Use
  10900. a member var for the open node count so less vars are passed around.
  10901. 2005-01-11 John BouAntoun <[email protected]>
  10902. * MonthCalendar.cs:
  10903. - fixed selection to use mousemove, not mouse polling on timer
  10904. * ThemeWin32Classic.cs
  10905. - removed redundant unused variable "no_more_content"
  10906. 2005-01-11 Peter Bartok <[email protected]>
  10907. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  10908. are pending, so it now calls PeekMessage instead of GetMessage;
  10909. implemented a incomplete version of PeekMessage
  10910. 2005-01-11 Peter Bartok <[email protected]>
  10911. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  10912. I18n issues
  10913. * TextBoxBase.cs: Added sending of TextChanged event
  10914. 2005-01-10 Jackson Harper <[email protected]>
  10915. * TreeView.cs: Try not to draw outside the clipping rectangle on
  10916. each node element.
  10917. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  10918. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  10919. 2005-01-10 Jackson Harper <[email protected]>
  10920. * TreeView.cs:
  10921. - Implement fast scrolling. Now only the newly
  10922. exposed nodes are drawn and the old image is moved using the
  10923. XplatUI::ScrollWindow method.
  10924. - Factor in height of nodes when calculating whether or not the
  10925. node is in the clipping rect.
  10926. 2005-01-10 Jackson Harper <[email protected]>
  10927. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  10928. 2005-01-10 Peter Bartok <[email protected]>
  10929. * Application.cs: Added temporary hack to resolve all our resize
  10930. required issues on startup. This will get fixed properly at
  10931. some point in the future
  10932. 2005-01-10 Jackson Harper <[email protected]>
  10933. * SizeGrip.cs: New internal class that is used as a sizing
  10934. grip control...hence the name.
  10935. 2005-01-10 Peter Bartok <[email protected]>
  10936. * Control.cs: Implemented proper TabIndex handling, now assigning
  10937. a tabindex when a control is added to a container
  10938. * GroupBox.cs (ctor): Now sets the Container style bit, required
  10939. for Control.GetNextControl()
  10940. 2005-01-09 Jackson Harper <[email protected]>
  10941. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  10942. 2005-01-09 Peter Bartok <[email protected]>
  10943. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  10944. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  10945. an overload for ScrollWindow to allow only scrolling a rectangle
  10946. 2005-01-09 Peter Bartok <[email protected]>
  10947. * Form.cs:
  10948. - Implemented SetDesktopBounds method
  10949. - Implemented SetDesktopLocation method
  10950. 2005-01-08 Jackson Harper <[email protected]>
  10951. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  10952. the node count has changed, this removes to VScroll::Refresh calls
  10953. when drawing.
  10954. 2005-01-08 Geoff Norton <[email protected]>
  10955. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  10956. 2005-01-07 Jackson Harper <[email protected]>
  10957. * TreeNode.cs: Just update the single node when it is
  10958. checked. Don't refresh after toggling, the Expand/Collapse already
  10959. handles this.
  10960. * TreeView.cs: Respect clipping a little more when drawing. Try
  10961. not to redraw things that don't need to be redrawn. Just hide the
  10962. scrollbars when they are no longer needed instead of removing
  10963. them, so they don't have to be created again and again.
  10964. 2005-01-07 Geoff Norton <[email protected]>
  10965. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  10966. coordinates to window space to place the caret properly, FIXED.
  10967. Implement GetWindowState & SetWindowState
  10968. 2005-01-06 Peter Bartok <[email protected]>
  10969. * Form.cs:
  10970. - Implemented ClientSize property
  10971. - Implemented DesktopBounds property
  10972. - Implemented DesktopLocation property
  10973. - Implemented IsRestrictedWindow property
  10974. - Implemented Size property
  10975. - Implemented TopLevel property
  10976. - Implemented FormWindowState property
  10977. * Control.cs:
  10978. - Implemented GetTopLevel() method
  10979. - Implemented SetTopLevel() method
  10980. * X11Structs.cs (Atom):
  10981. - Added AnyPropertyType definition
  10982. - Added MapState definiton and updated XWindowAttribute struct
  10983. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  10984. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  10985. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  10986. * XplatUIWin32.cs:
  10987. - Implemented GetWindowState() and SetWindowState() methods
  10988. - Fixed Win32GetWindowLong return type
  10989. * XplatUIX11.cs:
  10990. - Introduced central function for sending NET_WM messages
  10991. - Implemented GetWindowState() and SetWindowState() methods
  10992. * TextBoxBase.cs (set_Lines):
  10993. - Now uses Foreground color for text added via Text property (Duh!)
  10994. - Added code to remember programmatically requested size (fixes
  10995. behaviour when Multiline is set after Size)
  10996. - Added AutoSize logic
  10997. 2005-01-06 Jackson Harper <[email protected]>
  10998. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  10999. 2005-01-06 Jackson Harper <[email protected]>
  11000. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  11001. set to less then 0.
  11002. 2005-01-06 Jackson Harper <[email protected]>
  11003. * ScrollableControl.cs: Lazy init the scrollbars.
  11004. 2005-01-06 Jackson Harper <[email protected]>
  11005. * Theme.cs: Speed up getting pens and solid brushes, by using
  11006. their ARGB as a hash instead of tostring and not calling Contains.
  11007. 2005-01-06 Peter Bartok <[email protected]>
  11008. * Form.cs:
  11009. - Implemented OnActivated and OnDeactivate event trigger
  11010. - Implemented Activate() method
  11011. - Fixed ShowDialog() to activate the form that was active before
  11012. the dialog was shown
  11013. * XplatUIX11.cs:
  11014. - Added global active_window var that tracks the currently active
  11015. X11 window
  11016. - Now always grabs Property changes from the root window to always
  11017. catch changes on the active window property
  11018. - Added code to PropertyNotify handler to send Active/Inactive
  11019. messages when state changes. This puts X11 and Win32 en par on
  11020. WM_ACTIVATE notifications (except for double notifications when
  11021. the user clicks away from our modal window to another one of our
  11022. windows)
  11023. 2005-01-05 Jackson Harper <[email protected]>
  11024. * ImageList.cs: Implment ctor
  11025. 2005-01-05 Geoff Norton <[email protected]>
  11026. * XplatUIOSX.cs: Implement Activate/SetTopmost
  11027. 2005-01-05 Geoff Norton <[email protected]>
  11028. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  11029. 2005-01-05 Geoff Norton <[email protected]>
  11030. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  11031. 2005-01-05 Peter Bartok <[email protected]>
  11032. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  11033. XplatUIOSX.cs: Added GetActive method to return the currently
  11034. active window for the application (or null, if none is active)
  11035. * Form.cs:
  11036. - Implemented ActiveForm
  11037. - Commented out owner assignment for modal dialogs (causes problems
  11038. on Win32, since the owner will be disabled)
  11039. - Reworked some Active/Focus handling (still incomplete)
  11040. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  11041. (causes problems on Win32, since the owner will be disabled)
  11042. * IWin32Window: Added ComVisible attribute
  11043. 2005-01-05 Peter Bartok <[email protected]>
  11044. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  11045. required XplatUI functions.
  11046. 2005-01-05 Peter Bartok <[email protected]>
  11047. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  11048. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  11049. to implement focus and activation handling; still incomplete and
  11050. with debug output
  11051. 2005-01-04 Peter Bartok <[email protected]>
  11052. * TextBoxBase.cs: Changed access level for Document property to
  11053. match switch to internal for TextControl
  11054. 2005-01-04 Peter Bartok <[email protected]>
  11055. * AccessibleObject: Added ComVisible attribute
  11056. 2005-01-04 Jackson Harper <[email protected]>
  11057. * X11Keyboard.cs: Remove unneeded var.
  11058. 2005-01-04 Jackson Harper <[email protected]>
  11059. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  11060. but PAINT.
  11061. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  11062. ClientMessage. This makes apps exit cleanly (more often).
  11063. 2005-01-04 Jackson Harper <[email protected]>
  11064. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  11065. handling focus, return correct colors and fonts,
  11066. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  11067. handle selection, horizontal scrolling, and mouse interaction.
  11068. 2005-01-04 Peter Bartok <[email protected]>
  11069. * ICommandExecutor.cs: Added
  11070. * IDataGridColumnStyleEditingNotificationService.cs: Added
  11071. * IFeatureSupport.cs: Added
  11072. * IFileReaderService.cs: Added
  11073. * IDataObject.cs: Added ComVisible attribute
  11074. * AmbientProperties.cs: Added
  11075. * BaseCollection.cs: Added missing attributes
  11076. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  11077. * BaseCollection.cs: Added missing attributes
  11078. * Binding.cs: Added TypeConverter attribute
  11079. * BindingContext.cs: Added DefaultEvent attribute
  11080. * BindingsCollection.cs: Added DefaultEvent attribute
  11081. * Button.cs: Added DefaultValue attribute
  11082. * DragEventArgs.cs: Added ComVisible attribute
  11083. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  11084. * KeyEventArgs.cs: Added ComVisible attribute
  11085. * KeyPressEventArgs.cs: Added ComVisible attribute
  11086. * MouseEventArgs.cs: Added ComVisible attribute
  11087. * NavigateEventArgs.cs: Added
  11088. * NavigateEventHandler.cs: Added
  11089. * FeatureSupport.cs: Added
  11090. * OSFeature.cs: Added
  11091. * Theme.cs: Added abstract Version property to support OSFeature
  11092. * ThemeWin32Classic.cs: Added Version property to
  11093. support OSFeature.Themes
  11094. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  11095. the proper styles to avoid background drawing are set, also doesn't
  11096. match MS signature
  11097. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  11098. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  11099. * ScrollEventArgs.cs: Added ComVisible attribute
  11100. * SplitterEventArgs.cs: Added ComVisible attribute
  11101. * AccessibleSelection.cs: Added Flags attribute
  11102. * Appearance.cs: Added ComVisible attribute
  11103. * Border3DSide.cs: Added ComVisible attribute
  11104. * Border3DStyle.cs: Added ComVisible attribute
  11105. * BorderStyle.cs: Added ComVisible attribute
  11106. * DragAction.cs: Added ComVisible attribute
  11107. * ErrorBlinkStyle.cs: Added
  11108. * ScrollEventType.cs: Added ComVisible attribute
  11109. * AnchorStyles.cs: Added Editor attribute
  11110. * DockStyle.cs: Added Editor attribute
  11111. * HorizontalAlignment.cs: Added ComVisible attribute
  11112. * HelpEventArgs.cs: Added ComVisible attribute
  11113. * PaintEventArgs.cs: Added IDisposable
  11114. 2005-01-04 Peter Bartok <[email protected]>
  11115. * TextControl.cs: Switched Line, LineTag and Document classes to
  11116. internal
  11117. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  11118. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  11119. Simple mode, fixes, IntegralHeight, etc.
  11120. 2005-01-04 Peter Bartok <[email protected]>
  11121. * TextBoxBase.cs: Using proper font variable now
  11122. 2005-01-04 Peter Bartok <[email protected]>
  11123. * Form.cs (ShowDialog): Set parent to owner, if provided
  11124. * GroupBox.cs: Removed unused vars
  11125. * TextControl.cs:
  11126. - Added GetHashCode() for Document and LineTag classes
  11127. - Removed unused variables
  11128. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  11129. to allow translation between continuous char position and line/pos
  11130. * CheckBox.cs: Removed vars that are provided by base class
  11131. * RadioButton.cs: Removed vars that are provided by base class, added
  11132. new keyword where required
  11133. * LinkLabel.cs: Added new keyword where required
  11134. * Control.cs (WndProc): Removed unused variable
  11135. * TextBoxBase.cs:
  11136. - Finished SelectionLength property
  11137. - Implemented SelectionStart property
  11138. - Implemented Text property
  11139. - Removed unused vars
  11140. * MessageBox.cs: Added new keyword where required
  11141. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  11142. WndProc signature
  11143. * MenuAPI.cs: Added new keyword where required
  11144. * ButtonBase.cs: Removed vars that are provided by base class, added
  11145. new keyword where required
  11146. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  11147. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  11148. into this)
  11149. * Application.cs (Run): Now triggers the ThreadExit event
  11150. * CommonDialog.cs: Added new keyword where required; now properly sets
  11151. parent (owner) for dialog
  11152. * XplatUIX11.cs: Commented out unused vars
  11153. * StatusBar.cs: Fixed signature for Text property
  11154. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  11155. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  11156. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  11157. TrackBar.cs, MonthCalendar.cs: remove unused vars
  11158. 2005-01-03 Jackson Harper <[email protected]>
  11159. * ThemeWin32Classic.cs:
  11160. * X11Keyboard.cs: Remove unused vars.
  11161. 2005-01-03 Peter Bartok <[email protected]>
  11162. * TextBox.cs:
  11163. - set_Text: Tied into TextControl
  11164. - set_TextAlignment: Tied into TextControl
  11165. * TextControl.cs:
  11166. - Added alignment properties and implemented alignment handling
  11167. and drawing (still has a bug, not generating proper expose events)
  11168. - Added new Line() constructor to allow passing the line alignment
  11169. - Fixed selection setting, properly handling end<start now
  11170. - Added aligment considerations to RecalculateDocument()
  11171. * TextBoxBase.cs:
  11172. - Now properly enforces control height for single line controls
  11173. - Added support for CharacterCasing
  11174. - Added IsInputKey override
  11175. - Fixed Keys.Enter logic
  11176. - Added SetBoundsCore override
  11177. - Fixed mouse selection handling
  11178. 2005-01-03 Jackson Harper <[email protected]>
  11179. * TreeView.cs:
  11180. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  11181. - Checkboxes are always aligned to the bottom of the node,
  11182. regardless of item height.
  11183. - Use the node bounds to draw the text so we can center it when
  11184. the item height is greater then the font height.
  11185. - Node::Bounds are only the text part of the node.
  11186. * TreeNode.cs: New method to combine collapsing and unchecking all
  11187. nodes recursively.
  11188. 2005-01-02 Jackson Harper <[email protected]>
  11189. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  11190. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  11191. tree when a check is changed. TODO: Only refresh the checked node.
  11192. 2004-12-30 Jackson Harper <[email protected]>
  11193. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  11194. * TreeNode.cs: When collapsing make sure to never collapse the
  11195. root node.
  11196. 2004-12-29 Jackson Harper <[email protected]>
  11197. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  11198. 2004-12-28 Zoltan Varga <[email protected]>
  11199. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  11200. 2004-12-28 Peter Bartok <[email protected]>
  11201. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  11202. not yet assigned
  11203. 2004-12-28 Peter Bartok <[email protected]>
  11204. * Control.cs (WndProc): Added WM_HELP handler, now generates
  11205. HelpRequested event
  11206. * Form.cs: Added HelpButton property and required support code
  11207. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  11208. 2004-12-28 Peter Bartok <[email protected]>
  11209. * CommonDialog.cs:
  11210. - Made DialogForm.owner variable internal
  11211. - Added check to ensure owner form is set before setting
  11212. owner properties in CreateParams
  11213. 2004-12-28 Geoff Norton <[email protected]>
  11214. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  11215. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  11216. GetCursorPos. Fix major visibility issues. Rework the windowing
  11217. system to support borderless/titleless windows (implements menus).
  11218. Fix GetWindowPos. Implement initial background color support for
  11219. views.
  11220. 2004-12-28 Peter Bartok <[email protected]>
  11221. * Form.cs (get_CreateParams): Make sure we have an owner before using
  11222. the owner variable. Implement proper default if no owner exists
  11223. 2004-12-28 Peter Bartok <[email protected]>
  11224. * In preparation for making Managed.Windows.Forms the default build target
  11225. for System.Windows.Forms, the following stubbed files were added.
  11226. Dialogs are currently being implemented by contributors and are only
  11227. short-term place holders.
  11228. * ColorDialog.cs: Initial check-in (minmal stub)
  11229. * DataGrid.cs: Initial check-in (minimal stub)
  11230. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  11231. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  11232. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  11233. * FontDialog.cs: Initial check-in (minimal stub)
  11234. * FileDialog.cs: Initial check-in (minimal stub)
  11235. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  11236. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  11237. * OpenFileDialog: Initial check-in (minimal stub)
  11238. * IComponentEditorPageSite.cs: Initial check-in
  11239. * Splitter.cs: Initial check-in (for Jackson)
  11240. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  11241. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  11242. * TextBox.cs: Initial check-in; still needs some wiring to
  11243. TextControl backend
  11244. * Form.cs: Implemented ControlBox property
  11245. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  11246. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  11247. * TextControl.cs: Added selection functionality; added todo header
  11248. * TextBoxBase.cs:
  11249. - Implemented Lines property
  11250. - Implemented TextHeight property
  11251. - Implemented SelectedText property
  11252. - Implemented SelectionLength property
  11253. - Implemented SelectAll method
  11254. - Implemented ToString method
  11255. - Removed and cleaned up some debug code
  11256. - Implemented (still buggy) mouse text selection
  11257. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  11258. * ComboBox.cs: Complete DropDownList implementation, fixes.
  11259. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  11260. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  11261. * ComboBoxStyle.cs: ComboBoxStyle enum
  11262. * ComboBox.cs: Initial work on ComboBox control
  11263. 2004-12-21 Peter Bartok <[email protected]>
  11264. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  11265. forward so that anything that creates a window gets the default,
  11266. also no longer uses Visible property in CreateParams to avoid
  11267. walking up the parent chain and possibly get the wrong visible
  11268. status. Fixed IsVisible to no longer walk up to the parent.
  11269. 2004-12-21 Peter Bartok <[email protected]>
  11270. * Form.cs (ShowDialog): Unset modality for the proper window
  11271. 2004-12-20 Peter Bartok <[email protected]>
  11272. * CommonDialog.cs: Initial check-in
  11273. 2004-12-20 Peter Bartok <[email protected]>
  11274. * Control.cs (Visible): Now uses the parent window instead of the
  11275. client area window for the property
  11276. * Form.cs
  11277. - ShowDialog(): Now uses the proper window for modality
  11278. - The default visibility state for the form parent is now false. This
  11279. will prevent the user from seeing all the changes to the form and
  11280. its controls before the application hits Application.Run()
  11281. - Removed some stale commented out code
  11282. * NativeWindow.cs:
  11283. - Added FindWindow() method to have a method to check for existence
  11284. of a window handle
  11285. - Added ability to override default exception handling (for example
  11286. when debugging with VS.Net; to do this the ExternalExceptionHandler
  11287. define must be set
  11288. - Removed some useless debug output
  11289. * XplatUIX11.cs:
  11290. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  11291. not working as expected
  11292. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  11293. property to allow switching back to the modal window if focus is
  11294. given to another one of our windows (Application Modal)
  11295. - Now only sets override_redirect if we create a window
  11296. without WS_CAPTION
  11297. - Moved EventMask selection before mapping of newly created window
  11298. so we can catch the map event as well
  11299. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  11300. - Added various Atom related DllImports
  11301. - Implemented Exit() method
  11302. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  11303. in the CreateParams
  11304. * MessageBox.cs: Now properly deals with the FormParent window by
  11305. providing an override the FormParent CreateParams property to
  11306. set as POPUP instead of OVERLAPPED window.
  11307. 2004-12-19 Geoff Norton <[email protected]>
  11308. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  11309. Minor code cleanup.
  11310. 2004-12-19 Geoff Norton <[email protected]>
  11311. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  11312. 2004-12-18 Peter Bartok <[email protected]>
  11313. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  11314. implementing SetModal() method
  11315. 2004-12-18 Peter Bartok <[email protected]>
  11316. * X11Structs.cs (XGCValues): Fixed type of function element
  11317. * XplatUI.cs: Added ScrollWindow() method
  11318. * XplatUIDriver.cs: Added ScrollWindow() abstract
  11319. * XplatUIWin32.cs: Implemented ScrollWindow() method
  11320. * XplatUIX11.cs: Implemented ScrollWindow() method
  11321. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  11322. 2004-12-17 Geoff Norton <[email protected]>
  11323. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  11324. Some more keyboard support (INCOMPLETE)
  11325. 2004-12-17 Peter Bartok <[email protected]>
  11326. * TextControl.cs:
  11327. - Added color attribute to line tags.
  11328. - Added color argument to all functions dealing with tags
  11329. - Added color argument support to various functions
  11330. - Fixed miss-calculation of baseline/shift in certain circumstances
  11331. * TextBoxBase.cs: Added new color option to test code
  11332. 2004-12-17 Jackson Harper <[email protected]>
  11333. * TreeNode.cs:
  11334. * MonthCalendar.cs: Signature fixes
  11335. 2004-12-17 Geoff Norton <[email protected]>
  11336. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  11337. keyboard event moved it. Create a new graphics context for each paint resolves this
  11338. 2004-12-17 Geoff Norton <[email protected]>
  11339. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  11340. Make caret exist and go blink blink. Initial keyboard support.
  11341. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  11342. works.
  11343. 2004-12-17 Jackson Harper <[email protected]>
  11344. * XplatUIStructs.cs: Updated set of virtual keycodes.
  11345. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  11346. 2004-12-17 Jackson Harper <[email protected]>
  11347. * XplatUIX11.cs: Prune old keyboard code.
  11348. 2004-12-17 Jackson Harper <[email protected]>
  11349. * XplatUIX11.cs: When generating mouse wparams get the modifier
  11350. keys from the ModifierKeys property.
  11351. 2004-12-17 Jackson Harper <[email protected]>
  11352. * X11Keyboard.cs: Send up/down input when generating
  11353. messages. Remove some unused vars.
  11354. 2004-12-17 Jackson Harper <[email protected]>
  11355. * TabControl.cs:
  11356. * TreeView.cs: get rid of warnings.
  11357. 2004-12-17 Jackson Harper <[email protected]>
  11358. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  11359. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  11360. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  11361. CheckedListBox.cs: Implementation
  11362. 2004-12-17 Peter Bartok <[email protected]>
  11363. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  11364. 2004-12-16 Peter Bartok <[email protected]>
  11365. * TextControl.cs:
  11366. - InsertCharAtCaret(): Fixed start pos fixup
  11367. - CaretLine_get: No longer derives the line from the tag, the tag
  11368. could be stale if lines in the document have been added or deleted
  11369. - RebalanceAfterDelete(): Fixed bug in balancing code
  11370. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  11371. - Line.Streamline(): Now can also elminate leading empty tags
  11372. - DumpTree(): Added a few more tests and prevented exception on
  11373. uninitialized data
  11374. - Added Debug section for Combining lines
  11375. - Delete(): Now copies all remaining properties of a line
  11376. * TextBoxBase.cs:
  11377. - Left mousebutton now sets the caret (and middle button still acts
  11378. as formatting tester, which must go away soon)
  11379. - Added Debug section for Deleting/Combining lines
  11380. - Fixed calculations for UpdateView after Combining lines
  11381. 2004-12-16 Peter Bartok <[email protected]>
  11382. * TextControl.cs: Now properly aligns text on a baseline, using the
  11383. new XplatUI.GetFontMetrics() method. Simplified several calculations
  11384. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  11385. defined
  11386. 2004-12-16 Peter Bartok <[email protected]>
  11387. * XplatUI.cs: Added GetFontMetrics() method
  11388. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  11389. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  11390. into libgdiplus, our private GetFontMetrics function
  11391. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  11392. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  11393. 2004-12-16 Jackson Harper <[email protected]>
  11394. * XplatUIStruct.cs: Add enum for dead keys
  11395. * X11Keyboard.cs: Map and unmap dead keys.
  11396. 2004-12-16 Jackson Harper <[email protected]>
  11397. * X11Keyboard.cs: Detect and use the num lock mask.
  11398. 2004-12-16 Peter Bartok <[email protected]>
  11399. * Control.cs (CreateGraphics): Added check to make sure the
  11400. handle of the window exists before calling Graphics.FromHwnd()
  11401. 2004-12-16 Peter Bartok <[email protected]>
  11402. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  11403. contains a lot of code that's not supposed to be there for the
  11404. real thing, but required for developing/testing the textbox
  11405. backend.
  11406. 2004-12-16 Peter Bartok <[email protected]>
  11407. * TextControl.cs:
  11408. - Fixed Streamline method
  11409. - Added FindTag method to Line
  11410. - Added DumpTree method for debugging
  11411. - Added DecrementLines() method for deleting lines
  11412. - Fixed UpdateView to update the cursor to end-of-line on single-line
  11413. updates
  11414. - Added PositionCaret() method
  11415. - Fixed MoveCaret(LineDown) to move into the last line, too
  11416. - Added InsertChar overload
  11417. - Fixed InsertChar tag offset calculations
  11418. - Added DeleteChar() method
  11419. - Added Combine() method for folding lines
  11420. - Fixed Delete() method, no longer allocates wasted Line object and
  11421. now copies all properties when swapping nodes
  11422. - Delete() method now updates document line counter
  11423. 2004-12-15 Jackson Harper <[email protected]>
  11424. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  11425. * X11Keyboard.cs: Expose the currently selected modifier keys
  11426. through a property.
  11427. 2004-12-15 Peter Bartok <[email protected]>
  11428. * TextControl.cs: Initial check-in. Still incomplete
  11429. 2004-12-15 Jackson Harper <[email protected]>
  11430. * TreeNode.cs:
  11431. * TreeView.cs: Fix build on csc (second time today ;-))
  11432. 2004-12-15 Jackson Harper <[email protected]>
  11433. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  11434. is calculated and use this for click testing.
  11435. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  11436. 2004-12-15 Jackson Harper <[email protected]>
  11437. * TreeView.cs: Pass the nodes image index to the image list when
  11438. drawing that image.
  11439. 2004-12-15 Jackson Harper <[email protected]>
  11440. * X11Keyboard.cs: Set messages hwnd.
  11441. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  11442. post_message calls.
  11443. 2004-12-15 Jackson Harper <[email protected]>
  11444. * X11Keyboard.cs: Fix to compile with csc.
  11445. 2004-12-15 Jackson Harper <[email protected]>
  11446. * X11Structs.cs: Add key mask values
  11447. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  11448. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  11449. down/up foo into WM_CHAR foo
  11450. * KeyboardLayouts.cs: Common keyboard layouts
  11451. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  11452. post messages into the main queue.
  11453. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  11454. * Button.cs: implement ProcessMnemonic
  11455. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  11456. brushes everytime
  11457. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  11458. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  11459. 2004-12-12 John BouAntoun <[email protected]>
  11460. * MonthCalendar.cs: Implemented click-hold for next/previous month
  11461. and date selection
  11462. 2004-12-11 Peter Bartok <[email protected]>
  11463. * X11Structs.cs:
  11464. - Added XKeyboardState (moved from XplatUIX11.cs)
  11465. - Added XCreateGC related enums and structures
  11466. - Added GXFunction for XSetFunction
  11467. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  11468. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  11469. CaretVisible() calls
  11470. * ToolTip.cs: Added code to prevent stealing focus from app windows
  11471. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  11472. DestroyCaret, SetCaretPos and CaretVisible)
  11473. * XplatUIX11.cs:
  11474. - Added implementation for caret functions
  11475. - Moved hover variables into a struct, to make it a bit easier
  11476. on the eyes and to debug
  11477. - Removed XKeyboardState (moved to XplatUIX11.cs)
  11478. - Moved Keyboard properties into the properties region
  11479. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  11480. call to get a graphics context for our control
  11481. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  11482. * TreeView.cs: Fixed bug. No matter what color was set it would always
  11483. return SystemColors.Window
  11484. * XplatUIWin32.cs: Implemented caret overrides
  11485. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  11486. * ListBox.cs: fire events, implement missing methods and properties,
  11487. sorting.
  11488. 2004-12-10 John BouAntoun <[email protected]>
  11489. * MonthCalendar.cs: invalidation bug fixing
  11490. * ThemeWin32Classic.cs: paint fixing
  11491. 2004-12-09 Geoff Norton <[email protected]>
  11492. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  11493. prepare the CGContextRef there now.
  11494. 2004-12-09 John BouAntoun <[email protected]>
  11495. * MonthCalendar.cs:
  11496. - optimisationL only invalidate areas that have changed
  11497. * ThemeWin32Classic.cs:
  11498. - only paint parts that intersect with clip_area
  11499. 2004-12-09 Peter Bartok <[email protected]>
  11500. * Application.cs: Undid changes from r37004 which cause problems
  11501. on X11
  11502. 2004-12-09 Ravindra <[email protected]>
  11503. * ToolBar.cs: Added support for displaying ContextMenu
  11504. attached to a button on ToolBar.
  11505. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  11506. property.
  11507. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  11508. * Label.cs: autosize works in text change and removes unnecessary
  11509. invalidate
  11510. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  11511. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  11512. remove warnings
  11513. 2004-12-08 Geoff Norton <[email protected]>
  11514. * XplatUIOSX.cs: Added mouse move/click/grab support
  11515. Remove some debugging WriteLines not needed anymore.
  11516. Add window resizing/positioning.
  11517. Fix visibility on reparenting.
  11518. 2004-12-08 Peter Bartok <[email protected]>
  11519. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  11520. 2004-12-07 Geoff Norton <[email protected]>
  11521. * XplatUIOSX.cs: Initial checkin
  11522. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  11523. 2004-12-03 Ravindra <[email protected]>
  11524. * ListView.cs: Added some keybindings and fixed scrolling.
  11525. ScrollBars listen to ValueChanged event instead of Scroll
  11526. Event. This would let us take care of all changes being
  11527. done in the scrollbars' values programmatically or manually.
  11528. * ListView.cs (CanMultiselect): Added a check for shift key.
  11529. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  11530. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  11531. of ListViewSubItemCollection as well.
  11532. 2004-12-06 Peter Bartok <[email protected]>
  11533. * Control.cs (Parent): Added check and exception to prevent
  11534. circular parenting
  11535. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  11536. * ListBox.cs: implemented clipping, selection single and multiple,
  11537. bug fixing
  11538. 2004-12-03 Ravindra <[email protected]>
  11539. * ListView.cs (ListView_KeyDown):
  11540. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  11541. when CTRL key is pressed.
  11542. * ListViewItem.cs (Selected): Fixed setting the property.
  11543. 2004-12-03 Marek Safar <[email protected]>
  11544. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  11545. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  11546. MinimizeBox, ShowInTaskbar, TopMost properties.
  11547. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  11548. will be implemented).
  11549. 2004-12-03 Marek Safar <[email protected]>
  11550. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  11551. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  11552. tests.
  11553. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  11554. * TreeView.cs: BackColor is Colors.Window.
  11555. 2004-12-01 Jackson Harper <[email protected]>
  11556. * TreeView.cs: When resizing the tree if the user is making it
  11557. smaller we don't get expose events, so we need to handle adding
  11558. the horizontal scrollbar in the size changed handler as well as
  11559. the expose handler.
  11560. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  11561. * DrawItemState.cs: fixes wrong enum values
  11562. 2004-12-01 Jackson Harper <[email protected]>
  11563. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  11564. 2004-12-01 Jackson Harper <[email protected]>
  11565. * NodeLabelEditEventArgs.cs:
  11566. * NodeLabelEditEventHandler.cs:
  11567. * OpenTreeNodeEnumerator.cs:
  11568. * TreeNode.cs:
  11569. * TreeNodeCollection.cs:
  11570. * TreeView.cs:
  11571. * TreeViewAction.cs:
  11572. * TreeViewCancelEventArgs.cs:
  11573. * TreeViewCancelEventHandler.cs:
  11574. * TreeViewEventArgs.cs:
  11575. * TreeViewEventHandler.cs: Initial implementation.
  11576. 2004-12-01 Ravindra <[email protected]>
  11577. * ListView.cs (CalculateListView): Fixed scrolling related
  11578. calculations. Also, removed some debug statements from other
  11579. places.
  11580. * ListViewItem.cs: Changed access to 'selected' instance variable
  11581. from private to internal.
  11582. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  11583. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  11584. * ThemeWin32Classic.cs: remove cache of brush and pens for
  11585. specific controls and use the global system, fixes scrollbutton
  11586. bugs (for small sizes, disabled, etc)
  11587. * ScrollBar.cs: does not show the thumb for very small controls
  11588. (as MS) and allow smaller buttons that the regular size
  11589. 2004-12-01 Miguel de Icaza <[email protected]>
  11590. * UpDownBase.cs: Add abstract methods for the interface.
  11591. Add new virtual methods (need to be hooked up to TextEntry when it
  11592. exists).
  11593. Add override methods for most features.
  11594. Computes the size, forces the height of the text entry.
  11595. * NumericUpDown.cs: Put here the current testing code.
  11596. * Set eol-style property on all files that do not have mixed line
  11597. endings, to minimize the future problems. There are still a few
  11598. files with mixed endings, and someone should choose whether they
  11599. want to move it or not.
  11600. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  11601. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  11602. System.Colors
  11603. 2004-11-30 Ravindra <[email protected]>
  11604. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  11605. drawing and replaced use of SystemColors by theme colors.
  11606. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  11607. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  11608. same ListViewItem is being added more than once.
  11609. 2004-11-30 John BouAntoun <[email protected]>
  11610. * MonthCalendar.cs:
  11611. - ControlStyles love to make the control not flicker
  11612. 2004-11-30 Peter Bartok <[email protected]>
  11613. * CharacterCasing.cs: Added
  11614. 2004-11-29 Peter Bartok <[email protected]>
  11615. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  11616. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  11617. I am removing these files as they conflict with already completed
  11618. work. While it is fantastic to get contributions to MWF, I
  11619. respectfully ask that everyone please coordinate their contributions
  11620. through mono-winforms-list or #mono-winforms at this time. We're
  11621. explicitly avoiding stubbing and don't want controls that don't have
  11622. their basic functionality implemented in svn. Please also see
  11623. http://www.mono-project.com/contributing/winforms.html
  11624. 2004-11-29 Marek Safar <[email protected]>
  11625. * Application.cs (ModalRun): Don't hang after exit.
  11626. * Theme.cs: New TreeViewDefaultSize property.
  11627. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  11628. with less hardcoded SystemColors constant.
  11629. Implemented TreeViewDefaultSize.
  11630. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  11631. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  11632. 2004-11-29 John BouAntoun <[email protected]>
  11633. * MonthCalendar.cs:
  11634. - Fix NextMonthDate and PrevMonthDate click moving calendar
  11635. 2004-11-26 John BouAntoun <[email protected]>
  11636. * MonthCalendar.cs:
  11637. - Fix usage of ScrollChange Property when scrolling months
  11638. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  11639. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  11640. - Fixes menu destroying
  11641. - Support adding and removing items on already created menus
  11642. 2004-11-26 John BouAntoun <[email protected]>
  11643. * MonthCalendar.cs:
  11644. - Re-worked all bolded dates handling to match win32
  11645. * ThemeWin32Classic.cs:
  11646. - Fixed rendering with bolded dates
  11647. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  11648. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  11649. - Horizontal scroolbar
  11650. - Multicolumn
  11651. - Fixes
  11652. 2004-11-25 John BouAntoun <[email protected]>
  11653. * MonthCalendar.cs:
  11654. - Fix Usage of MaxSelectionCount from SelectionRange
  11655. - Fixed Shift + Cursor Selection
  11656. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  11657. - Fixed normal cursor selection to be compat with win32
  11658. - Fixed Shift + Mouse Click selection
  11659. 2004-11-24 Peter Bartok <[email protected]>
  11660. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  11661. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  11662. * XplatUIX11.cs:
  11663. - CreatedKeyBoardMsg now updates keystate with Alt key
  11664. - Added workaround for timer crash to CheckTimers, Jackson will
  11665. develop a proper fix and check in later
  11666. - Implemented DispatchMessage
  11667. - Removed calling the native window proc from GetMessage (call
  11668. now moved to DispatchMessage)
  11669. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  11670. the keydata (Fixes bug #69831)
  11671. * XplatUIWin32.cs:
  11672. - (DispatchMessage): Switched to return IntPtr
  11673. - Added DllImport for SetFocus
  11674. 2004-11-24 Ravindra <[email protected]>
  11675. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  11676. background drawing.
  11677. * ListViewItem.cs: Fixed various properties, calculations
  11678. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  11679. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  11680. and some internal properties. Fixed MouseDown handler and Paint
  11681. method.
  11682. 2004-11-24 John BouAntoun <[email protected]>
  11683. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  11684. 2004-11-24 John BouAntoun <[email protected]>
  11685. * ContainerControl.cs: correct accidental check in of local changes
  11686. 2004-11-24 John BouAntoun <[email protected]>
  11687. * ThemeWin32Classic.cs:
  11688. - Fixed Drawing Last month in grid (sometimes not showing)
  11689. * MonthCalendar.cs:
  11690. - Fixed title width calculation bug (makeing title small)
  11691. 2004-11-23 Peter Bartok <[email protected]>
  11692. * XplatUIX11.cs:
  11693. - Added generation of WM_MOUSEHOVER event
  11694. - Added missing assignment of async_method atom
  11695. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  11696. 2004-11-23 John BouAntoun <[email protected]>
  11697. * ThemeWin32Classic.cs:
  11698. - Fixed Drawing of today circle when showtodaycircle not set
  11699. - fixed drawing of first and last month in the grid (gay dates)
  11700. * MonthCalendar.cs:
  11701. - Fixed Drawing of today circle
  11702. - Fixed drawing of grady dates
  11703. - Fixed HitTest for today link when ShowToday set to false
  11704. - Fixed DefaultSize to obey ShowToday
  11705. 2004-11-23 John BouAntoun <[email protected]>
  11706. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  11707. * System.Windows.Forms/Theme.cs
  11708. * MonthCalendar.cs: added for MonthCalendar
  11709. * SelectionRange.cs: added for MonthCalendar
  11710. * Day.cs: added for MonthCalendar: added for MonthCalendar
  11711. * DateRangeEventArgs.cs: added for MonthCalendar
  11712. * DateRangeEventHandler.cs: added for MonthCalendar
  11713. 2004-11-22 Ravindra <[email protected]>
  11714. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  11715. property.
  11716. 2004-11-22 Miguel de Icaza <[email protected]>
  11717. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  11718. event handler.
  11719. * NumericUpDown.cs: Added new implementation.
  11720. * UpDownBase.cs: Added new implementation.
  11721. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  11722. implementations.
  11723. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  11724. implementations.
  11725. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  11726. methods.
  11727. 2004-11-21 Miguel de Icaza <[email protected]>
  11728. * Timer.cs (Dispose): Should call the base dispose when
  11729. overriding.
  11730. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  11731. * ScrollBar.cs: updates thumb position when max, min or increment
  11732. is changed
  11733. 2004-11-21 Ravindra <[email protected]>
  11734. * ListView.cs: Implemented item selection, activation and
  11735. column header style. Fixed properties to do a redraw, if
  11736. required. Added support for MouseHover, DoubleClick, KeyDown
  11737. and KeyUp event handling and some minor fixes.
  11738. * ListViewItem.cs: Fixed constructor.
  11739. * ThemeWin32Classic.cs: Improved drawing for ListView.
  11740. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  11741. * ThemeWin32Classic.cs: initial listbox drawing code
  11742. * DrawMode.cs: new enumerator
  11743. * ListControl.cs: stubbed class
  11744. * ListBox.cs: initial implementation
  11745. * Theme.cs: new methods definitions
  11746. * SelectionMode.cs: new enumerator
  11747. 2004-11-17 Peter Bartok <[email protected]>
  11748. * XplatUIWin32.cs: Added double-click events to the class style
  11749. * Control.cs (WndProc):
  11750. - Added handling of click-count to MouseDown/ MouseUp events.
  11751. - Added handling of middle and right mouse buttons
  11752. - Removed old debug code
  11753. 2004-11-17 Jackson Harper <[email protected]>
  11754. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  11755. 2004-11-17 Ravindra <[email protected]>
  11756. * ListView.cs: Added event handling for MouseMove/Up/Down.
  11757. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  11758. * ThemeWin32Classic.cs: We need to clear the graphics context and
  11759. draw column header in a proper state.
  11760. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  11761. * Menu.cs: fixes signature
  11762. 2004-11-16 Peter Bartok <[email protected]>
  11763. * XplatUIX11.cs (GetMessage): Implemented generation of
  11764. double click mouse messages
  11765. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  11766. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  11767. not by menu
  11768. 2004-11-11 Peter Bartok <[email protected]>
  11769. * HandleData.cs: Added Visible property
  11770. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  11771. HandleData
  11772. * XplatUIX11.cs: Removed old debug leftovers
  11773. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  11774. * Control.cs (WndProc): Removed old debug leftovers,
  11775. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  11776. needed WM_SIZE handling
  11777. 2004-11-11 Jackson Harper <[email protected]>
  11778. * OwnerDrawPropertyBag.cs:
  11779. * TreeViewImageIndexConverter.cs: Initial implementation
  11780. 2004-11-10 Jackson Harper <[email protected]>
  11781. * ThemeWin32Classic.cs:
  11782. * TabControl.cs: instead of moving tabs by the slider pos just
  11783. start drawing at the tab that is offset by the slider. This way
  11784. scrolling always moves by exactly one tab.
  11785. 2004-11-10 Jackson Harper <[email protected]>
  11786. * TabControl.cs: You can only scroll left when the slider has
  11787. already ben moved right.
  11788. 2004-11-10 Jackson Harper <[email protected]>
  11789. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  11790. the clip area.
  11791. 2004-11-10 Jackson Harper <[email protected]>
  11792. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  11793. clip area.
  11794. 2004-11-09 Jackson Harper <[email protected]>
  11795. * TabControl.cs (CalcXPos): New helper method so we can determine
  11796. the proper place to start drawing vertical tabs.
  11797. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  11798. 2004-11-09 Jackson Harper <[email protected]>
  11799. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  11800. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  11801. and Bottom, left and right are illegal values for this and
  11802. multiline is enabled when the alignment is set to left or right.
  11803. (DrawTab): Each alignment block should draw the text itself now
  11804. because Left requires special love. Also add rendering for Left
  11805. aligned tabs.
  11806. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  11807. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  11808. does not destroy the windows, removes debugging messages
  11809. 2004-11-09 jba <[email protected]>
  11810. * ThemeWin32Classic.cs
  11811. (DrawButtonBase): Fix verticle text rect clipping in windows
  11812. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  11813. rendering and incorrect text rect clipping
  11814. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  11815. rendering and incorrect text rect clipping
  11816. 2004-11-08 Jackson Harper <[email protected]>
  11817. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  11818. bottom when they are bottom aligned so the bottoms of the tabs get
  11819. displayed.
  11820. * TabControl.cs (DropRow): Move rows up instead of down when the
  11821. tab control is bottom aligned.
  11822. 2004-11-08 13:59 pbartok
  11823. * XplatUIX11.cs:
  11824. - Added handling for various window styles
  11825. - Added handling for popup windows
  11826. - Added SetTopmost handling
  11827. 2004-11-08 13:55 pbartok
  11828. * XplatUIWin32.cs:
  11829. - Added argument to SetTopmost method
  11830. - Fixed broken ClientToScreen function
  11831. 2004-11-08 13:53 pbartok
  11832. * XplatUIStructs.cs:
  11833. - Added missing WS_EX styles
  11834. 2004-11-08 13:53 pbartok
  11835. * XplatUI.cs, XplatUIDriver.cs:
  11836. - Added argument to SetTopmost
  11837. 2004-11-08 13:52 pbartok
  11838. * X11Structs.cs:
  11839. - Added XSetWindowAttributes structure
  11840. - Improved XWindowAttributes structure
  11841. - Added SetWindowValuemask enum
  11842. - Added window creation arguments enum
  11843. - Added gravity enum
  11844. - Added Motif hints structure
  11845. - Added various Motif flags and enums
  11846. - Added PropertyMode enum for property functions
  11847. 2004-11-08 13:50 pbartok
  11848. * Form.cs:
  11849. - Fixed arguments for updated SetTopmost method
  11850. 2004-11-08 13:49 pbartok
  11851. * ToolTip.cs:
  11852. - Fixed arguments for updated SetTopmost function
  11853. - Fixed usage of PointToClient
  11854. 2004-11-08 13:44 pbartok
  11855. * MenuAPI.cs:
  11856. - Added Clipping of children and siblings
  11857. 2004-11-08 13:41 pbartok
  11858. * MainMenu.cs:
  11859. - Removed SetMenuBarWindow call. We do this in Form.cs
  11860. 2004-11-08 13:40 jackson
  11861. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  11862. scrolling jimmi in the correct location with bottom aligned tabs
  11863. 2004-11-08 13:36 pbartok
  11864. * ContainerControl.cs:
  11865. - Implemented BindingContext
  11866. - Implemented ParentForm
  11867. 2004-11-08 12:46 jackson
  11868. * TabControl.cs: Put bottom rendered tabs in the right location
  11869. 2004-11-08 07:15 jordi
  11870. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  11871. removes dead code
  11872. 2004-11-05 17:30 jackson
  11873. * TabControl.cs: When selected tabs are expanded make sure they
  11874. don't go beyond the edges of the tab control
  11875. 2004-11-05 14:57 jackson
  11876. * TabControl.cs: Reset show_slider so if the control is resized to
  11877. a size where it is no longer needed it's not displayed anymore
  11878. 2004-11-05 13:16 jackson
  11879. * TabControl.cs: Make tab pages non visible when added to the
  11880. control
  11881. 2004-11-05 12:42 jackson
  11882. * TabControl.cs: Implement SizeMode.FillToRight
  11883. 2004-11-05 12:16 jackson
  11884. * Control.cs: Do not call CreateHandle if the handle is already
  11885. created
  11886. 2004-11-05 11:46 jackson
  11887. * TabControl.cs: Remove superflous call to CalcTabRows
  11888. 2004-11-05 09:07 jackson
  11889. * XplatUIX11.cs: Update for Mono.Posix changes
  11890. 2004-11-05 07:00 ravindra
  11891. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  11892. scrolling.
  11893. 2004-11-04 22:47 jba
  11894. * ThemeWin32Classic.cs:
  11895. - Fix Button rendering for FlatStyle = Flat or Popup
  11896. - Fix RadioButton and CheckBox rendering when Appearance = Button
  11897. (normal and flatstyle).
  11898. - Correct outer rectangle color when drawing focus rectangle
  11899. - Adjust button bounds to be 1 px smaller when focused
  11900. - Make button not draw sunken 3d border when pushed (windows compat)
  11901. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  11902. - Offset the text in RadioButton and Checkbox when being rendered as
  11903. a button.
  11904. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  11905. radiobuttons
  11906. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  11907. - Fixed disabled text rendering for normally rendered radiobuttons
  11908. 2004-11-04 10:26 jackson
  11909. * TabControl.cs: Recalculate tab rows when resizing
  11910. 2004-11-04 07:47 jordi
  11911. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  11912. collection completion, drawing issues, missing features
  11913. 2004-11-04 05:03 ravindra
  11914. * ScrollBar.cs:
  11915. - We need to recalculate the Thumb area when
  11916. LargeChange/maximum/minimum values are changed.
  11917. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  11918. than minimum. This is required to handle the case if large_change is
  11919. more than max, and use LargeChange property instead of large_change
  11920. variable.
  11921. - We return max+1 when large_change is more than max, like MS does.
  11922. 2004-11-04 04:29 ravindra
  11923. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  11924. - Changed default value signatures (prefixed all with ListView).
  11925. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  11926. ListView.
  11927. - Fixed calculations for ListViewItem and implemented Clone()
  11928. method.
  11929. 2004-11-04 04:26 ravindra
  11930. * Theme.cs, ThemeWin32Classic.cs:
  11931. - Changed default ListView values signatures (prefixed all with
  11932. ListView).
  11933. - Fixed default size values for VScrollBar and HScrollBar.
  11934. - Fixed DrawListViewItem method.
  11935. 2004-11-04 04:05 ravindra
  11936. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  11937. 2004-11-04 04:04 ravindra
  11938. * ImageList.cs: Implemented the missing overload for Draw method.
  11939. 2004-11-03 19:29 jackson
  11940. * TabControl.cs: Handle dropping rows on selection properly
  11941. 2004-11-03 11:59 jackson
  11942. * TabControl.cs: remove debug code
  11943. 2004-11-03 11:52 jackson
  11944. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  11945. the scrolly widgerywoo
  11946. 2004-11-02 13:52 jackson
  11947. * TabControl.cs: Resize the tab pages and tabs when the tab control
  11948. is resized
  11949. 2004-11-02 13:40 jackson
  11950. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  11951. selected tab to the bottom
  11952. 2004-11-02 13:39 jackson
  11953. * TabPage.cs: Store the tab pages row
  11954. 2004-11-02 12:33 jordi
  11955. * MenuItem.cs: fixes handle creation
  11956. 2004-11-02 11:42 jackson
  11957. * TabControl.cs: signature fix
  11958. 2004-11-02 08:56 jackson
  11959. * TabControl.cs: Calculate whether the tab is on an edge properly.
  11960. Remove top secret debugging code
  11961. 2004-11-01 19:57 jackson
  11962. * TabControl.cs: Add click handling, and proper sizing
  11963. 2004-11-01 19:47 jackson
  11964. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  11965. tab controls
  11966. 2004-11-01 19:39 jackson
  11967. * TabPage.cs: add internal property to store the bounds of a tab
  11968. page
  11969. 2004-10-30 04:23 ravindra
  11970. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  11971. values.
  11972. 2004-10-30 04:21 ravindra
  11973. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  11974. fixed calculations.
  11975. 2004-10-30 03:06 pbartok
  11976. * XplatUIX11.cs:
  11977. - Removed extension of DllImported libs
  11978. 2004-10-29 09:55 jordi
  11979. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  11980. navigation, itemcollection completion, menu fixes
  11981. 2004-10-27 22:58 pbartok
  11982. * XplatUIX11.cs:
  11983. - Now throws a nice error message when no X display could be opened
  11984. 2004-10-26 13:51 jordi
  11985. * ListView.cs: removes warning
  11986. 2004-10-26 03:55 ravindra
  11987. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  11988. ThemeWin32Classic.cs: Some formatting for my last checkins.
  11989. 2004-10-26 03:36 ravindra
  11990. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  11991. control and default values.
  11992. 2004-10-26 03:35 ravindra
  11993. * Theme.cs: Added some default values for ListView control.
  11994. 2004-10-26 03:33 ravindra
  11995. * ToolBar.cs: ToolBar should use the user specified button size, if
  11996. there is any. Added a size_specified flag for the same.
  11997. 2004-10-26 03:33 ravindra
  11998. * ColumnHeader.cs: Added some internal members and calculations for
  11999. ColumnHeader.
  12000. 2004-10-26 03:32 ravindra
  12001. * ListViewItem.cs: Calculations for ListViewItem.
  12002. 2004-10-26 03:31 ravindra
  12003. * ListView.cs: Added some internal members and calculations for
  12004. ListView.
  12005. 2004-10-22 13:31 jordi
  12006. * MenuAPI.cs: speedup menus drawing
  12007. 2004-10-22 13:16 jackson
  12008. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  12009. expose event
  12010. 2004-10-22 11:49 jackson
  12011. * Control.cs: oops
  12012. 2004-10-22 11:41 jackson
  12013. * Control.cs: Check to see if the window should have its background
  12014. repainted by X when drawing.
  12015. 2004-10-22 11:31 jackson
  12016. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  12017. clear is true, this way we do not get flicker from X repainting the
  12018. background
  12019. 2004-10-22 11:28 jackson
  12020. * XEventQueue.cs: Queue properly
  12021. 2004-10-21 09:38 jackson
  12022. * XEventQueue.cs: Fix access modifier
  12023. 2004-10-21 09:36 jackson
  12024. * XEventQueue.cs: Don't loose messages
  12025. 2004-10-21 09:22 jackson
  12026. * XEventQueue.cs: Don't loose messages
  12027. 2004-10-20 04:15 jordi
  12028. * BootMode.cs: enum need it by SystemInfo
  12029. 2004-10-19 21:58 pbartok
  12030. * XplatUIWin32.cs:
  12031. - Small sanity check
  12032. 2004-10-19 21:56 pbartok
  12033. * Form.cs:
  12034. - Added private FormParentWindow class which acts as the container
  12035. for our form and as the non-client area where menus are drawn
  12036. - Added/Moved required tie-ins to Jordi's menus
  12037. - Fixed/Implemented the FormStartPosition functionality
  12038. 2004-10-19 21:52 pbartok
  12039. * Control.cs:
  12040. - Removed unneeded locals
  12041. - Added code to all size and location properties to understand and
  12042. deal with the parent container of Form
  12043. 2004-10-19 21:33 pbartok
  12044. * Application.cs:
  12045. - Fixed to deal with new Form subclasses for menus
  12046. 2004-10-19 17:48 jackson
  12047. * XEventQueue.cs: commit correct version of file
  12048. 2004-10-19 16:50 jackson
  12049. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  12050. 2004-10-19 16:15 jordi
  12051. * MenuAPI.cs: MenuBarCalcSize returns the height
  12052. 2004-10-19 08:31 pbartok
  12053. * Control.cs:
  12054. - Added missing call to PreProcessMessage before calling OnXXXKey
  12055. methods
  12056. 2004-10-19 00:04 ravindra
  12057. * ToolTip.cs: Fixed constructor.
  12058. 2004-10-18 09:31 jordi
  12059. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  12060. 2004-10-18 09:26 jordi
  12061. * MenuItem.cs: fixes MenuItem class signature
  12062. 2004-10-18 08:56 jordi
  12063. * MenuAPI.cs: prevents windows from showing in the taskbar
  12064. 2004-10-18 00:28 ravindra
  12065. * ToolTip.cs: Suppressed a warning message.
  12066. 2004-10-18 00:27 ravindra
  12067. * Control.cs: Default value of visible property must be true.
  12068. 2004-10-17 23:19 pbartok
  12069. * ToolTip.cs:
  12070. - Complete implementation
  12071. 2004-10-17 23:19 pbartok
  12072. * XplatUIX11.cs:
  12073. - Added EnableWindow method
  12074. - Added SetModal stub
  12075. - Added generation of WM_ACTIVATE message (still needs testing)
  12076. - Added SetTopMost stub
  12077. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  12078. 2004-10-17 23:17 pbartok
  12079. * XplatUIWin32.cs:
  12080. - Removed VirtualKeys to XplatUIStructs
  12081. - Implemented SetTopMost method
  12082. - Implemented EnableWindow method
  12083. - Bugfix in ScreenToClient()
  12084. - Bugfixes in ClientToScreen()
  12085. 2004-10-17 22:51 pbartok
  12086. * XplatUIStructs.cs:
  12087. - Added WS_EX styles to WindowStyles enumeration
  12088. 2004-10-17 22:50 pbartok
  12089. * XplatUI.cs, XplatUIDriver.cs:
  12090. - Added method for enabling/disabling windows
  12091. - Added method for setting window modality
  12092. - Added method for setting topmost window
  12093. 2004-10-17 22:49 pbartok
  12094. * ThemeWin32Classic.cs:
  12095. - Added ToolTip drawing code
  12096. 2004-10-17 22:49 pbartok
  12097. * Theme.cs:
  12098. - Added ToolTip abstracts
  12099. 2004-10-17 22:47 pbartok
  12100. * Form.cs:
  12101. - Fixed Form.ControlCollection to handle owner relations
  12102. - Added Owner/OwnedForms handling
  12103. - Implemented Z-Ordering for owned forms
  12104. - Removed unneeded private overload of ShowDialog
  12105. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  12106. so I hope)
  12107. - Fixed Close(), had wrong default
  12108. - Added firing of OnLoad event
  12109. - Added some commented out debug code for Ownership handling
  12110. 2004-10-17 22:16 pbartok
  12111. * Control.cs:
  12112. - Fixed/implemented flat list of controls
  12113. 2004-10-17 22:14 pbartok
  12114. * Application.cs:
  12115. - Added code to simulate modal dialogs on Win32
  12116. 2004-10-17 16:11 jordi
  12117. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  12118. mouse event
  12119. 2004-10-17 13:39 jordi
  12120. * MenuAPI.cs: menu drawing fixes
  12121. 2004-10-15 09:10 ravindra
  12122. * StructFormat.cs: General Enum.
  12123. 2004-10-15 09:09 ravindra
  12124. * SizeGripStyle.cs: Enum for Form.
  12125. 2004-10-15 09:08 ravindra
  12126. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  12127. in Theme for ListView.
  12128. 2004-10-15 09:06 ravindra
  12129. * ColumnHeader.cs: Flushing some formatting changes.
  12130. 2004-10-15 09:05 ravindra
  12131. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  12132. style.
  12133. 2004-10-15 09:03 ravindra
  12134. * ListView.cs: Implemented Paint method and fixed coding style.
  12135. 2004-10-15 07:34 jordi
  12136. * MenuAPI.cs: fix for X11
  12137. 2004-10-15 07:32 ravindra
  12138. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  12139. - Renamed Paint() method to Draw() for clarity. Also, moved
  12140. DrawImage() to OnPaint().
  12141. 2004-10-15 07:25 ravindra
  12142. * CheckBox.cs, RadioButton.cs:
  12143. - Removed Redraw (), we get it from ButtonBase.
  12144. - Implemented Paint (), to do class specific painting.
  12145. 2004-10-15 07:16 ravindra
  12146. * ButtonBase.cs:
  12147. - Redraw () is not virtual now.
  12148. - Added an internal virtual method Paint (), so that
  12149. derived classes can do their painting on their own.
  12150. - Modified OnPaint () to call Paint ().
  12151. 2004-10-15 06:43 jordi
  12152. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  12153. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  12154. 2004-10-15 00:30 ravindra
  12155. * MessageBox.cs:
  12156. - MessageBox on windows does not have min/max buttons.
  12157. This change in CreateParams fixes this on Windows. We
  12158. still need to implement this windowstyle behavior in
  12159. our X11 driver.
  12160. 2004-10-14 05:14 ravindra
  12161. * ToolBar.cs:
  12162. - Changed Redraw () to do a Refresh () always.
  12163. - Fixed the MouseMove event handling when mouse is pressed,
  12164. ie drag event handling.
  12165. - Replaced the usage of ToolBarButton.Pressed property to
  12166. ToolBarButton.pressed internal variable.
  12167. 2004-10-14 05:10 ravindra
  12168. * ToolBarButton.cs:
  12169. - Added an internal member 'inside' to handle mouse move
  12170. with mouse pressed ie mouse drag event.
  12171. - Changed 'Pressed' property to return true only when
  12172. 'inside' and 'pressed' are both true.
  12173. - Some coding style love.
  12174. 2004-10-14 00:17 ravindra
  12175. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  12176. public method.
  12177. 2004-10-14 00:15 ravindra
  12178. * ButtonBase.cs: Redraw () related improvements.
  12179. 2004-10-14 00:14 ravindra
  12180. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  12181. removed unnecessary calls to Button.Show () method.
  12182. 2004-10-13 17:50 pbartok
  12183. * XplatUIX11.cs:
  12184. - Formatting fix
  12185. - Removed destroying of window until we solve the problem of X
  12186. destroying the window before us on shutdown
  12187. 2004-10-13 16:32 pbartok
  12188. * ButtonBase.cs:
  12189. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  12190. 2004-10-13 14:18 pbartok
  12191. * XplatUIX11.cs:
  12192. - Added code to destroy the X window
  12193. 2004-10-13 14:18 pbartok
  12194. * XplatUIWin32.cs:
  12195. - Added code to destroy a window
  12196. 2004-10-13 14:12 pbartok
  12197. * ButtonBase.cs:
  12198. - Added the Redraw on Resize that got dropped in the last rev
  12199. 2004-10-13 09:06 pbartok
  12200. * ThemeWin32Classic.cs:
  12201. - Path from John BouAntoun:
  12202. * Fix check rendering (centre correctly for normal style, offset
  12203. correctly for FlatStyle).
  12204. * Fix border color usage (use backcolor) for FlatStyle.Popup
  12205. * Use checkbox.Capture instead of checkbox.is_pressed when
  12206. rendering flatstyle states.
  12207. 2004-10-12 21:48 pbartok
  12208. * ThemeWin32Classic.cs:
  12209. - Removed all occurences of SystemColors and replaced them with the
  12210. matching theme color
  12211. 2004-10-12 21:41 pbartok
  12212. * ThemeWin32Classic.cs:
  12213. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  12214. him using the function for flatstyle drawing
  12215. - Changed functions to use the new version of CPDrawBorder3D
  12216. 2004-10-12 21:15 pbartok
  12217. * ControlPaint.cs:
  12218. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  12219. match MS documentation. They need to return defined colors if the
  12220. passed color matches the configured control color. Thanks to John
  12221. BouAntoun for pointing this out.
  12222. 2004-10-12 20:57 pbartok
  12223. * Control.cs:
  12224. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  12225. color is changed
  12226. 2004-10-12 20:46 pbartok
  12227. * CheckBox.cs:
  12228. - Fix from John BouAntoun: Now properly sets the Appearance property
  12229. 2004-10-12 20:45 pbartok
  12230. * ThemeWin32Classic.cs:
  12231. - Fixes from John BouAntoun: now handles forecolors and backcolors
  12232. for flatstyle rendered controls much better; It also fixes normal
  12233. checkbox rendering when pushed or disabled.
  12234. 2004-10-08 02:50 jordi
  12235. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  12236. work
  12237. 2004-10-07 08:56 jordi
  12238. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  12239. 2004-10-06 03:59 jordi
  12240. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  12241. XplatUIWin32.cs: removes warnings from compilation
  12242. 2004-10-05 12:23 jackson
  12243. * RadioButton.cs: Fix ctor
  12244. 2004-10-05 11:10 pbartok
  12245. * MessageBox.cs:
  12246. - Partial implementation by Benjamin Dasnois
  12247. 2004-10-05 10:15 jackson
  12248. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  12249. by John BouAntoun
  12250. 2004-10-05 03:07 ravindra
  12251. * ToolBar.cs:
  12252. - Removed a private method, Draw ().
  12253. - Fixed the ButtonDropDown event handling.
  12254. - Fixed MouseMove event handling.
  12255. 2004-10-05 03:04 ravindra
  12256. * ThemeWin32Classic.cs:
  12257. - Added DrawListView method and ListViewDefaultSize property.
  12258. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  12259. - Changed DOS style CRLF to Unix format (dos2unix).
  12260. 2004-10-05 03:03 ravindra
  12261. * Theme.cs:
  12262. - Added DrawListView method and ListViewDefaultSize property.
  12263. 2004-10-05 02:42 ravindra
  12264. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  12265. clicks on DropDown arrow.
  12266. 2004-10-04 22:56 jackson
  12267. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  12268. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  12269. Control handle the buffers, derived classes should not have to
  12270. CreateBuffers themselves.
  12271. 2004-10-04 21:20 jackson
  12272. * StatusBar.cs: The control handles resizing the buffers now.
  12273. 2004-10-04 21:18 jackson
  12274. * Control.cs: When resizing the buffers should be invalidated. This
  12275. should be handled in Control not in derived classes.
  12276. 2004-10-04 14:45 jackson
  12277. * TabPage.cs: oops
  12278. 2004-10-04 02:14 pbartok
  12279. * LeftRightAlignment.cs:
  12280. - Initial check-in
  12281. 2004-10-04 01:09 jordi
  12282. * ThemeWin32Classic.cs: fixes right button position causing right
  12283. button not showing on horizontal scrollbars
  12284. 2004-10-02 13:12 pbartok
  12285. * XplatUIX11.cs:
  12286. - Simplified the Invalidate method by using an X call instead of
  12287. generating the expose ourselves
  12288. - Added an expose when the window background is changed
  12289. - Implemented ClientToScreen method
  12290. 2004-10-02 13:08 pbartok
  12291. * XplatUIWin32.cs:
  12292. - Added Win32EnableWindow method (test for implementing modal
  12293. dialogs)
  12294. - Added ClientToScreen method and imports
  12295. 2004-10-02 13:07 pbartok
  12296. * XplatUI.cs, XplatUIDriver.cs:
  12297. - Added ClientToScreen coordinate translation method
  12298. 2004-10-02 13:06 pbartok
  12299. * KeyPressEventArgs.cs:
  12300. - Fixed access level for constructor
  12301. 2004-10-02 13:06 pbartok
  12302. * NativeWindow.cs:
  12303. - Changed access level for the window_collection hash table
  12304. 2004-10-02 13:05 pbartok
  12305. * Form.cs:
  12306. - Added KeyPreview property
  12307. - Added Menu property (still incomplete, pending Jordi's menu work)
  12308. - Implemented ProcessCmdKey
  12309. - Implemented ProcessDialogKey
  12310. - Implemented ProcessKeyPreview
  12311. 2004-10-02 13:02 pbartok
  12312. * Control.cs:
  12313. - Added private method to get the Control object from the window
  12314. handle
  12315. - Implemented ContextMenu property
  12316. - Implemented PointToScreen
  12317. - Implemented PreProcessMessage
  12318. - Implemented IsInputChar
  12319. - Implemented IsInputKey
  12320. - Implemented ProcessCmdKey
  12321. - Completed ProcessKeyEventArgs
  12322. - Fixed message loop to call the proper chain of functions on key
  12323. events
  12324. - Implemented ProcessDialogChar
  12325. - Implemented ProcessDialogKey
  12326. - Implemented ProcessKeyMessage
  12327. - Implemented ProcessKeyPreview
  12328. - Added RaiseDragEvent stub (MS internal method)
  12329. - Added RaiseKeyEvent stub (MS internal method)
  12330. - Added RaiseMouseEvent stub (MS Internal method)
  12331. - Added RaisePaintEvent stub (MS Internal method)
  12332. - Added ResetMouseEventArgs stub (MS Internal method)
  12333. - Implemented RtlTranslateAlignment
  12334. - Implemented RtlTranslateContent
  12335. - Implemented RtlTranslateHorizontal
  12336. - Implemented RtlTranslateLeftRight
  12337. - Added generation of KeyPress event
  12338. 2004-10-02 05:57 ravindra
  12339. * ListViewItem.cs: Added attributes.
  12340. 2004-10-02 05:32 ravindra
  12341. * ListView.cs: Added attributes.
  12342. 2004-10-01 11:53 jackson
  12343. * Form.cs: Implement the Close method so work on MessageBox can
  12344. continue.
  12345. 2004-09-30 14:06 pbartok
  12346. * XplatUIX11.cs:
  12347. - Bug fixes
  12348. 2004-09-30 11:34 jackson
  12349. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  12350. 2004-09-30 07:26 ravindra
  12351. * ListViewItemConverter.cs: Converter for ListViewItem.
  12352. 2004-09-30 07:26 ravindra
  12353. * SortOrder.cs: Enum for ListView control.
  12354. 2004-09-30 07:25 ravindra
  12355. * ColumnHeader.cs: Supporting class for ListView control.
  12356. 2004-09-30 07:24 ravindra
  12357. * ListView.cs, ListViewItem.cs: Initial implementation.
  12358. 2004-09-30 07:20 ravindra
  12359. * ItemActivation.cs: Enum for ListView Control.
  12360. 2004-09-29 20:29 pbartok
  12361. * XplatUIX11.cs:
  12362. - Added lookup of pixel value for background color; tries to get a
  12363. color 'close' to the requested color, it avoids having to create a
  12364. colormap. Depending on the display this could mean the used color
  12365. is slightly off the desired color. Might have to change it to a more
  12366. resource intensive colormap approach, but it will work as a
  12367. workaround to avoid red screens.
  12368. 2004-09-29 14:27 jackson
  12369. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  12370. 2004-09-28 12:44 pbartok
  12371. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  12372. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  12373. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  12374. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  12375. TrackBar.cs, VScrollBar.cs:
  12376. - Streamlined Theme interfaces:
  12377. * Each DrawXXX method for a control now is passed the object for
  12378. the control to be drawn in order to allow accessing any state the
  12379. theme might require
  12380. * ControlPaint methods for the theme now have a CP prefix to avoid
  12381. name clashes with the Draw methods for controls
  12382. * Every control now retrieves it's DefaultSize from the current
  12383. theme
  12384. 2004-09-28 12:17 jackson
  12385. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  12386. drawing
  12387. 2004-09-24 14:57 jackson
  12388. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  12389. Gives us a nice little performance boost.
  12390. 2004-09-24 12:02 jackson
  12391. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  12392. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  12393. Control and supporting classes. Initial checkin
  12394. 2004-09-23 13:08 jackson
  12395. * Form.cs: Temp build fixage
  12396. 2004-09-23 01:39 ravindra
  12397. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  12398. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  12399. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  12400. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  12401. EventHandlers needed by ListView Control.
  12402. 2004-09-22 14:12 pbartok
  12403. * ScrollableControl.cs:
  12404. - Implemented DockPadding property
  12405. - Implemented AutoScroll property
  12406. - Implemented AutoScrollMargin property
  12407. - Implemented AutoScrollMinSize property
  12408. - Implemented AutoScrollPosition property
  12409. - Implemented DisplayRectangle property (still incomplete)
  12410. - Implemented CreateParams property
  12411. - Implemented HScroll property
  12412. - Implemented VScroll property
  12413. - Implemented OnVisibleChanged property
  12414. 2004-09-22 14:09 pbartok
  12415. * Form.cs:
  12416. - Added Form.ControllCollection class
  12417. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  12418. RemoveOwnedForm (still incomplete, missing on-top and common
  12419. minimize/maximize behaviour)
  12420. - Added StartPosition property (still incomplete, does not use when
  12421. creating the form)
  12422. - Added ShowDialog() methods (still incomplete, missing forcing the
  12423. dialog modal)
  12424. 2004-09-22 14:05 pbartok
  12425. * Application.cs:
  12426. - Added message loop for modal dialogs
  12427. 2004-09-22 14:02 pbartok
  12428. * GroupBox.cs:
  12429. - Fixed wrong types for events
  12430. 2004-09-22 14:00 pbartok
  12431. * Shortcut.cs, FormWindowState.cs:
  12432. - Fixed wrong values
  12433. 2004-09-22 12:01 jackson
  12434. * Control.cs: Text is never null
  12435. 2004-09-20 22:14 pbartok
  12436. * XplatUIWin32.cs:
  12437. - Fixed accessibility level for Idle handler
  12438. 2004-09-20 18:54 jackson
  12439. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  12440. XplatUIX11.cs: New message loop that uses poll so we don't get a
  12441. busy loop
  12442. 2004-09-17 10:43 pbartok
  12443. * ScrollBar.cs:
  12444. - Fixed behaviour of arrow buttons. Now properly behaves like
  12445. Buttons (and like Microsoft's scrollbar arrow buttons)
  12446. 2004-09-17 10:14 pbartok
  12447. * ScrollBar.cs:
  12448. - Added missing release of keyboard/mouse capture
  12449. 2004-09-17 06:18 jordi
  12450. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  12451. Theme.cs: Very early menu support
  12452. 2004-09-16 17:45 pbartok
  12453. * XplatUIWin32.cs:
  12454. - Fixed sending a window to the front
  12455. - Added overload for SetWindowPos to avoid casting
  12456. 2004-09-16 17:44 pbartok
  12457. * Control.cs:
  12458. - Added SendToBack and BringToFront methods
  12459. 2004-09-16 07:00 ravindra
  12460. * Copyright: Added Novell URL.
  12461. 2004-09-16 07:00 ravindra
  12462. * ToolBar.cs: Invalidate should be done before redrawing.
  12463. 2004-09-15 21:19 ravindra
  12464. * ColumnHeaderStyle.cs: Enum for ListView Control.
  12465. 2004-09-15 21:18 ravindra
  12466. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  12467. ListView Control.
  12468. 2004-09-13 18:26 jackson
  12469. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  12470. properly
  12471. 2004-09-13 18:13 jackson
  12472. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  12473. a second thread and post messages into the main threads message
  12474. queue. This makes timing much more consistent. Both win2K and XP
  12475. have a minimum timer value of 15 milliseconds, so we now do this
  12476. too.
  12477. 2004-09-13 15:18 pbartok
  12478. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  12479. XplatUIX11.cs:
  12480. - Added Z-Ordering methods
  12481. 2004-09-13 10:56 pbartok
  12482. * Form.cs:
  12483. - Fixed #region names
  12484. - Moved properties and methods into their proper #regions
  12485. 2004-09-13 10:51 pbartok
  12486. * Form.cs:
  12487. - Added Accept and CancelButton properties
  12488. - Added ProcessDialogKey() method
  12489. 2004-09-13 08:18 pbartok
  12490. * IWindowTarget.cs:
  12491. - Initial check-in
  12492. 2004-09-10 21:50 pbartok
  12493. * Control.cs:
  12494. - Added DoDragDrop() [incomplete]
  12495. - Properly implemented 'Visible' handling
  12496. - Added SetVisibleCore()
  12497. - Implemented FindChildAtPoint()
  12498. - Implemented GetContainerControl()
  12499. - Implemented Hide()
  12500. 2004-09-10 19:28 pbartok
  12501. * Control.cs:
  12502. - Moved methods into their appropriate #regions
  12503. - Reordered methods within regions alphabetically
  12504. 2004-09-10 18:57 pbartok
  12505. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  12506. - Added method to retrieve text from window
  12507. 2004-09-10 18:56 pbartok
  12508. * Control.cs:
  12509. - Moved some internal functions into the internal region
  12510. - Implemented FontHeight
  12511. - Implemented RenderRightToLeft
  12512. - Implemented ResizeRedraw
  12513. - Implemented ShowFocusCues
  12514. - Implemented ShowKeyboardCues
  12515. - Implemented FromChildHandle
  12516. - Implemented FromHandle
  12517. - Implemented IsMnemonic
  12518. - Implemented ReflectMessage
  12519. - All public and protected Static Methods are now complete
  12520. 2004-09-10 16:54 pbartok
  12521. * Control.cs:
  12522. - Implemented remaining missing public instance properties
  12523. - Alphabetized some out of order properties
  12524. 2004-09-10 05:51 ravindra
  12525. * PictureBox.cs: Added a check for null image.
  12526. 2004-09-10 00:59 jordi
  12527. * GroupBox.cs: remove cvs tag
  12528. 2004-09-09 05:25 ravindra
  12529. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  12530. 2004-09-09 05:23 ravindra
  12531. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  12532. parent redraw.
  12533. 2004-09-09 02:28 pbartok
  12534. * ThemeWin32Classic.cs:
  12535. - Improve disabled string look
  12536. 2004-09-09 01:15 jordi
  12537. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  12538. args and handler
  12539. 2004-09-08 23:56 ravindra
  12540. * ItemBoundsPortion.cs: It's enum, not a class!
  12541. 2004-09-08 23:47 ravindra
  12542. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  12543. Enums for Form.
  12544. 2004-09-08 21:13 ravindra
  12545. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  12546. ListView control.
  12547. 2004-09-08 21:03 ravindra
  12548. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  12549. avoid crash.
  12550. 2004-09-08 21:01 ravindra
  12551. * ScrollableControl.cs: Removed unreachable code.
  12552. 2004-09-08 06:45 jordi
  12553. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  12554. 2004-09-08 01:00 jackson
  12555. * XplatUIX11.cs: Only run the timers when updating the message
  12556. queue. This effectively gives X messages a higher priority then
  12557. timer messages. Timers still need love though
  12558. 2004-09-07 14:01 jackson
  12559. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  12560. this for us and the handle is no longer valid.
  12561. 2004-09-07 13:59 jackson
  12562. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  12563. loop that manages to not crash. TODO: Add poll and cleanup timers
  12564. 2004-09-07 11:12 jordi
  12565. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  12566. 2004-09-07 03:40 jordi
  12567. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  12568. fixes, methods, multiple links
  12569. 2004-09-06 06:55 jordi
  12570. * Control.cs: Caches ClientRectangle rectangle value
  12571. 2004-09-05 02:03 jordi
  12572. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  12573. certain situations
  12574. 2004-09-04 11:10 jordi
  12575. * Label.cs: Refresh when font changed
  12576. 2004-09-02 16:24 pbartok
  12577. * Control.cs:
  12578. - Added sanity check to creation of double buffer bitmap
  12579. 2004-09-02 16:24 pbartok
  12580. * ButtonBase.cs:
  12581. - Fixed selection of text color
  12582. - Fixed handling of resize event; now properly recreates double
  12583. buffering bitmap
  12584. - Added missing assignment of TextAlignment
  12585. - Added proper default for TextAlignment
  12586. 2004-09-02 14:26 pbartok
  12587. * RadioButton.cs:
  12588. - Added missing RadioButton.RadioButtonAccessibleObject class
  12589. 2004-09-02 14:26 pbartok
  12590. * Control.cs:
  12591. - Added missing Control.ControlAccessibleObject class
  12592. - Started to implement Select()ion mechanisms, still very incomplete
  12593. 2004-09-02 14:25 pbartok
  12594. * AccessibleObject.cs:
  12595. - Added missing methods
  12596. 2004-09-02 14:23 pbartok
  12597. * AccessibleNavigation.cs, AccessibleSelection.cs:
  12598. - Initial check-in
  12599. 2004-09-02 10:32 jordi
  12600. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  12601. pool for pens, brushes, and hatchbruses
  12602. 2004-09-01 15:30 jackson
  12603. * StatusBar.cs: Fix typo
  12604. 2004-09-01 14:44 pbartok
  12605. * RadioButton.cs:
  12606. - Fixed state
  12607. 2004-09-01 14:39 pbartok
  12608. * Button.cs, RadioButton.cs:
  12609. - Functional initial check-in
  12610. 2004-09-01 14:01 pbartok
  12611. * CheckBox.cs:
  12612. - Added missing default
  12613. - Added missing region mark
  12614. 2004-09-01 09:10 jordi
  12615. * Label.cs: fixes method signatures, new methods, events, fixes
  12616. autosize
  12617. 2004-09-01 07:19 jordi
  12618. * Control.cs: Init string variables with an empty object
  12619. 2004-09-01 04:20 jordi
  12620. * Control.cs: fires OnFontChanged event
  12621. 2004-08-31 20:07 pbartok
  12622. * ButtonBase.cs:
  12623. - Enabled display of strings
  12624. 2004-08-31 20:05 pbartok
  12625. * Form.cs:
  12626. - Added (partial) implementation of DialogResult; rest needs to be
  12627. implemented when the modal loop code is done
  12628. 2004-08-31 19:55 pbartok
  12629. * CheckBox.cs:
  12630. - Fixed to match the removal of the needs_redraw concept
  12631. 2004-08-31 19:55 pbartok
  12632. * ButtonBase.cs:
  12633. - Removed the rather odd split between 'needs redraw' and redrawing
  12634. - Now handles the events that require regeneration (ambient
  12635. properties and size)
  12636. 2004-08-31 19:41 pbartok
  12637. * Control.cs:
  12638. - Added firing of BackColorChanged event
  12639. - Added TopLevelControl property
  12640. - Fixed handling of WM_ERASEBKGRND message
  12641. 2004-08-31 12:49 pbartok
  12642. * ButtonBase.cs:
  12643. - Removed debug
  12644. - Minor fixes
  12645. 2004-08-31 12:48 pbartok
  12646. * CheckBox.cs:
  12647. - Finished (famous last words)
  12648. 2004-08-31 04:35 jordi
  12649. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  12650. scrolling bugs, adds new methods
  12651. 2004-08-30 14:42 pbartok
  12652. * CheckBox.cs:
  12653. - Implemented CheckBox drawing code
  12654. 2004-08-30 14:42 pbartok
  12655. * ButtonBase.cs:
  12656. - Made Redraw() and CheckRedraw() virtual
  12657. - Improved mouse up/down/move logic to properly track buttons
  12658. 2004-08-30 09:44 pbartok
  12659. * CheckBox.cs:
  12660. - Updated to fix broken build. Not complete yet.
  12661. 2004-08-30 09:28 pbartok
  12662. * CheckState.cs:
  12663. - Initial checkin
  12664. 2004-08-30 09:17 pbartok
  12665. * Appearance.cs:
  12666. - Initial check-in
  12667. 2004-08-27 16:12 ravindra
  12668. * ToolBarButton.cs: Added TypeConverter attribute.
  12669. 2004-08-27 16:07 ravindra
  12670. * ImageIndexConverter.cs: Implemented.
  12671. 2004-08-27 14:17 pbartok
  12672. * Control.cs:
  12673. - Removed unneeded stack vars
  12674. - First attempt to fix sizing issues when layout is suspended
  12675. 2004-08-25 15:35 jordi
  12676. * ScrollBar.cs: more fixes to scrollbar
  12677. 2004-08-25 14:04 ravindra
  12678. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  12679. Added the missing divider code and grip for ToolBar Control.
  12680. 2004-08-25 13:20 pbartok
  12681. * Control.cs:
  12682. - Control now properly passes the ambient background color to child
  12683. controls
  12684. 2004-08-25 13:20 jordi
  12685. * ScrollBar.cs: small bug fix regarding bar position
  12686. 2004-08-25 12:33 pbartok
  12687. * Timer.cs:
  12688. - Now only calls SetTimer or KillTimer if the enabled state has
  12689. changed
  12690. 2004-08-25 12:33 pbartok
  12691. * XplatUIWin32.cs:
  12692. - Fixed timer handling, now seems to work
  12693. - Improved error message for window creation
  12694. 2004-08-25 12:32 pbartok
  12695. * Control.cs:
  12696. - Fixed generation of MouseUp message
  12697. 2004-08-25 12:29 jordi
  12698. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  12699. and fixes for progressbar
  12700. 2004-08-24 18:43 ravindra
  12701. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  12702. in ToolBar control.
  12703. 2004-08-24 17:15 pbartok
  12704. * Panel.cs:
  12705. - Added #region
  12706. - Added missing events
  12707. - Alphabetized
  12708. 2004-08-24 17:14 pbartok
  12709. * StatusBar.cs, PictureBox.cs:
  12710. - Now uses Control's CreateParams
  12711. 2004-08-24 16:36 pbartok
  12712. * XplatUIX11.cs:
  12713. - Fixed background color handling
  12714. - Fixed sending of enter/leave events on a grab
  12715. 2004-08-24 16:35 pbartok
  12716. * X11Structs.cs:
  12717. - Refined definitions for CrossingEvent
  12718. 2004-08-24 12:37 jordi
  12719. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  12720. formmating, methods signature, and adds missing events
  12721. 2004-08-24 12:24 jordi
  12722. * Control.cs: fire OnEnabledChanged event
  12723. 2004-08-24 11:17 pbartok
  12724. * XplatUIWin32.cs:
  12725. - Implemented SetTimer() and KillTimer()
  12726. 2004-08-24 11:16 pbartok
  12727. * XplatUIX11.cs:
  12728. - Now uses Remove instead of Add to kill the timer
  12729. 2004-08-24 10:16 jackson
  12730. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  12731. picture boxes in the theme now. Draw picture box borders and obey
  12732. sizing modes
  12733. 2004-08-24 05:49 jackson
  12734. * Timer.cs: Remove top secret debugging code
  12735. 2004-08-24 05:34 jackson
  12736. * PictureBox.cs: Temp hack to make picture boxes draw their full
  12737. image
  12738. 2004-08-24 05:29 jackson
  12739. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  12740. XplatUIX11.cs: Move timers to the driver level. On X they are
  12741. queued by the driver and checked on idle.
  12742. 2004-08-24 01:07 jackson
  12743. * XplatUIX11.cs: Use a queue for async messages instead of passing
  12744. them as ClientMessages since that was totally broken. Also simply
  12745. check for events and return an idle message if none are found. This
  12746. gives us an idle handler, and prevents deadlocking when no messages
  12747. are in the queue.
  12748. 2004-08-23 18:19 ravindra
  12749. * XplatUIWin32.cs: Removed the unwanted destructor.
  12750. 2004-08-23 17:27 pbartok
  12751. * ButtonBase.cs:
  12752. - Finishing touches. Works now, just needs some optimizations.
  12753. 2004-08-23 16:53 jordi
  12754. * ScrollBar.cs: small fix
  12755. 2004-08-23 16:45 pbartok
  12756. * Application.cs:
  12757. - Removed debug output
  12758. - Simplifications
  12759. 2004-08-23 16:43 jordi
  12760. * ScrollBar.cs: [no log message]
  12761. 2004-08-23 16:10 pbartok
  12762. * Form.cs:
  12763. - Fixed handling of WM_CLOSE message
  12764. - Removed debug output
  12765. 2004-08-23 16:09 pbartok
  12766. * Application.cs:
  12767. - Added handling of Idle event
  12768. - Added handling of form closing
  12769. - Fixed reporting of MessageLoop property
  12770. - Removed some unneeded code, should provide a bit of a speedup
  12771. 2004-08-23 15:22 pbartok
  12772. * Control.cs:
  12773. - Added InitLayout() method
  12774. - Added code to properly perform layout when Anchor or Dock property
  12775. is changed
  12776. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  12777. LAMESPEC, tried to do it in a way that makes sense
  12778. 2004-08-23 14:10 jordi
  12779. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  12780. properties and methods
  12781. 2004-08-23 13:55 pbartok
  12782. * Control.cs:
  12783. - Properly fixed Jordi's last fix
  12784. - Now uses Cursor's Position property instead of calling XplatUI
  12785. directly
  12786. 2004-08-23 13:44 jordi
  12787. * PaintEventHandler.cs: Adding missing attribute
  12788. 2004-08-23 13:39 pbartok
  12789. * Cursor.cs:
  12790. - Implemented Position property
  12791. 2004-08-23 13:39 pbartok
  12792. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  12793. - Added method to move mouse cursor
  12794. 2004-08-23 13:39 pbartok
  12795. * XplatUIX11.cs:
  12796. - Fixed setting of background color
  12797. - Added method to move mouse cursor
  12798. 2004-08-23 13:16 jordi
  12799. * Control.cs: avoids null exception
  12800. 2004-08-22 17:46 jackson
  12801. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  12802. PictureBox
  12803. 2004-08-22 17:40 jackson
  12804. * XplatUIX11.cs: Add some missing locks
  12805. 2004-08-22 15:10 pbartok
  12806. * Control.cs, Form.cs:
  12807. - Removed OverlappedWindow style from Control, instead it's default
  12808. now is child
  12809. - Made form windows OverlappedWindow by default
  12810. 2004-08-22 13:34 jackson
  12811. * ScrollBar.cs: Update the position through the Value property so
  12812. the OnValueChanged event is raised.
  12813. 2004-08-22 12:04 pbartok
  12814. * SWF.csproj:
  12815. - Added Cursor.cs and UserControl.cs
  12816. 2004-08-22 12:03 pbartok
  12817. * Cursor.cs:
  12818. - Started implementation, not usable yet
  12819. 2004-08-22 12:00 pbartok
  12820. * UserControl.cs:
  12821. - Implemented UserControl (complete)
  12822. 2004-08-21 19:20 ravindra
  12823. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  12824. 2004-08-21 18:49 ravindra
  12825. * ToolBar.cs: Probably this completes the missing attributes in
  12826. toolbar control.
  12827. 2004-08-21 18:03 ravindra
  12828. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  12829. Fixed toolbar control signatures.
  12830. 2004-08-21 16:32 pbartok
  12831. * LinkLabel.cs:
  12832. - Signature Fixes
  12833. 2004-08-21 16:30 pbartok
  12834. * Label.cs:
  12835. - Signature fixes
  12836. 2004-08-21 16:19 pbartok
  12837. * Control.cs, Label.cs:
  12838. - Signature fixes
  12839. 2004-08-21 15:57 pbartok
  12840. * ButtonBase.cs:
  12841. - Added loads of debug output for development
  12842. - Fixed typo in method name
  12843. 2004-08-21 15:52 pbartok
  12844. * ToolBarButtonClickEventArgs.cs:
  12845. - Added missing base class
  12846. 2004-08-21 14:53 pbartok
  12847. * Control.cs:
  12848. - Updated to match new GrabWindow signature
  12849. 2004-08-21 14:51 pbartok
  12850. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  12851. - Added method to get default display size
  12852. 2004-08-21 14:23 pbartok
  12853. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  12854. - Added method to query current grab state
  12855. - Added argument to allow confining a grab to a window
  12856. 2004-08-21 14:22 pbartok
  12857. * Keys.cs:
  12858. - Added [Flags] attribute so that modifiers can be used in bitwise
  12859. ops
  12860. 2004-08-21 14:21 pbartok
  12861. * TrackBar.cs, ScrollBar.cs:
  12862. - Replaced direct XplatUI calls with their Control counterpart
  12863. 2004-08-21 13:32 pbartok
  12864. * Control.cs:
  12865. - Implemented Created property
  12866. 2004-08-21 13:28 pbartok
  12867. * Control.cs:
  12868. - Implemented ContainsFocus
  12869. 2004-08-21 13:26 pbartok
  12870. * Control.cs:
  12871. - Implemented CausesValidation
  12872. 2004-08-21 13:21 pbartok
  12873. * Control.cs:
  12874. - Implemented CanFocus
  12875. - Implemented CanSelect
  12876. - Implemented Capture
  12877. 2004-08-21 12:35 pbartok
  12878. * XplatUIWin32.cs:
  12879. - Fixed bug with Async message handling
  12880. - Implemented getting the ModifierKeys
  12881. 2004-08-21 12:32 jackson
  12882. * AsyncMethodResult.cs: Make sure we have the mutex before we
  12883. release it. Fixes BeginInvoke on windows
  12884. 2004-08-21 11:31 pbartok
  12885. * XplatUIWin32.cs, XplatUIX11.cs:
  12886. - Drivers now return proper mouse state
  12887. 2004-08-21 10:54 jackson
  12888. * Control.cs: Implement EndInvoke
  12889. 2004-08-21 10:48 jackson
  12890. * Timer.cs: Remove unneeded finalizer
  12891. 2004-08-20 19:52 ravindra
  12892. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  12893. in mouse event handling in the ToolBar control.
  12894. 2004-08-20 19:50 ravindra
  12895. * ImageList.cs: Changed draw method to use the arguments passed in
  12896. to draw the image.
  12897. 2004-08-20 18:58 pbartok
  12898. * XplatUIStructs.cs:
  12899. - Added private message for async communication
  12900. 2004-08-20 17:38 ravindra
  12901. * Control.cs: Made RightToLeft property virtual and removed a
  12902. Console.WriteLine.
  12903. 2004-08-20 14:39 jordi
  12904. * ThemeGtk.cs: use style_attach
  12905. 2004-08-20 14:39 pbartok
  12906. * XplatUIWin32.cs:
  12907. - Added jackson's Async code from X11 to Win32
  12908. 2004-08-20 14:09 pbartok
  12909. * SWF.csproj:
  12910. - Added all new files
  12911. 2004-08-20 14:09 pbartok
  12912. * Control.cs:
  12913. - Added call to set window background color
  12914. 2004-08-20 14:03 pbartok
  12915. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  12916. - Added method for setting the window background
  12917. 2004-08-20 14:02 pbartok
  12918. * XplatUIWin32.cs:
  12919. - Added method for setting the background color
  12920. - Added handling for erasing the window background
  12921. 2004-08-20 13:45 jordi
  12922. * TrackBar.cs: fixes timer, new properties and methods
  12923. 2004-08-20 13:34 jackson
  12924. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  12925. correct thread
  12926. 2004-08-20 13:22 jackson
  12927. * Timer.cs: Timer Tick events are now handed through Controls Async
  12928. mechanism so the callbacks are executed in the same thread as X
  12929. 2004-08-20 13:19 jackson
  12930. * XplatUIDriver.cs: Expose functionality to send async messages
  12931. through the driver
  12932. 2004-08-20 13:18 jackson
  12933. * Control.cs: Implement Begininvoke
  12934. 2004-08-20 13:14 jackson
  12935. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  12936. messages through the driver
  12937. 2004-08-20 13:12 jackson
  12938. * XplatUIX11.cs: Lock before all X operations. Also added Async
  12939. method functionality through XSendEvent
  12940. 2004-08-20 13:11 jackson
  12941. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  12942. This will screw up on 64 bit systems)
  12943. 2004-08-20 13:10 jackson
  12944. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  12945. Async messages through X/Win32
  12946. 2004-08-19 19:39 pbartok
  12947. * XplatUIX11.cs:
  12948. - Updated code to match new HandleData.DeviceContext type
  12949. 2004-08-19 19:38 pbartok
  12950. * HandleData.cs:
  12951. - Made DeviceContext a generic object to allow usage from various
  12952. drivers
  12953. - Added support for queueing Windows messages
  12954. 2004-08-19 19:37 pbartok
  12955. * XplatUIWin32.cs:
  12956. - Added generation of MouseEnter, MouseLeave and MouseHover events
  12957. - Added cleanup on EndPaint
  12958. 2004-08-19 19:17 pbartok
  12959. * Control.cs:
  12960. - Added handling of WM_MOUSEHOVER
  12961. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  12962. code
  12963. 2004-08-19 18:55 jordi
  12964. * ThemeGtk.cs: fixes button order
  12965. 2004-08-19 18:12 jordi
  12966. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  12967. 2004-08-19 17:09 pbartok
  12968. * Control.cs:
  12969. - Added Right property
  12970. - Added RightToLeft property
  12971. 2004-08-19 16:27 jordi
  12972. * ThemeGtk.cs: experimental GTK theme support
  12973. 2004-08-19 16:26 jordi
  12974. * ITheme.cs, Theme.cs: move themes from an interface to a class
  12975. 2004-08-19 16:25 jordi
  12976. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  12977. theme enhancaments
  12978. 2004-08-19 16:04 pbartok
  12979. * XplatUIX11.cs:
  12980. - Added colormap basics
  12981. - Added a way to re-initialize with a different display handle
  12982. - Fixed setting of the window background color
  12983. - Added various X11 imports related to colors and colormaps
  12984. 2004-08-19 15:51 pbartok
  12985. * X11Structs.cs:
  12986. - Removed packing hints (Paolo suggested this a while back)
  12987. - fixed colormap type
  12988. - Added default Atom types
  12989. - Added Screen and color structs and enums
  12990. 2004-08-19 15:39 pbartok
  12991. * ImageList.cs:
  12992. - Added missing Draw() method
  12993. - Added missing RecreateHandle event
  12994. 2004-08-19 15:30 pbartok
  12995. * Form.cs:
  12996. - Added handling of WM_CLOSE
  12997. 2004-08-18 13:16 jordi
  12998. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  12999. a table
  13000. 2004-08-18 09:56 jordi
  13001. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  13002. 2004-08-17 15:31 ravindra
  13003. * SWF.csproj: Updated project.
  13004. 2004-08-17 15:25 pbartok
  13005. * Control.cs:
  13006. - Drawing improvement; don't call UpdateBounds if we are not visible
  13007. (or have been minimized)
  13008. 2004-08-17 15:24 pbartok
  13009. * XplatUIWin32.cs:
  13010. - Finished IsVisible
  13011. - Added Win32GetWindowPlacement
  13012. 2004-08-17 15:08 jackson
  13013. * Panel.cs: Initial checkin of the Panel
  13014. 2004-08-17 14:25 pbartok
  13015. * Control.cs:
  13016. - Fixed broken handling of default window sizes
  13017. 2004-08-17 13:29 jackson
  13018. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  13019. has a large startup time.
  13020. 2004-08-17 10:25 jackson
  13021. * HandleData.cs: union areas properly
  13022. 2004-08-17 10:12 jackson
  13023. * HandleData.cs: union areas properly
  13024. 2004-08-16 20:00 ravindra
  13025. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  13026. 2004-08-16 18:48 ravindra
  13027. * ToolBar.cs: Added attributes.
  13028. 2004-08-16 17:17 ravindra
  13029. * SWF.csproj: Updated project.
  13030. 2004-08-16 17:16 jackson
  13031. * XplatUIX11.cs: Check for more expose events before sending a
  13032. WM_PAINT so they can all be grouped together. This makes dragging a
  13033. window across another window redraw in a sane way.
  13034. 2004-08-16 15:47 pbartok
  13035. * Control.cs:
  13036. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  13037. support OnMouseEnter/Leave()
  13038. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  13039. exposure handling
  13040. 2004-08-16 15:46 pbartok
  13041. * XplatUIStructs.cs, XplatUIX11.cs:
  13042. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  13043. OnMouseEnter/Leave()
  13044. 2004-08-16 15:34 jackson
  13045. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  13046. sure messages get the message field set to WM_NULL if they are not
  13047. handled.
  13048. 2004-08-16 15:24 jackson
  13049. * HandleData.cs: HandleData is used for storing message information
  13050. for window handles
  13051. 2004-08-15 17:23 ravindra
  13052. * ColorDepth.cs: Added attribute.
  13053. 2004-08-15 17:23 ravindra
  13054. * SWF.csproj: Updated project for ToolBar Control.
  13055. 2004-08-15 17:20 ravindra
  13056. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  13057. control and also dos2unix format.
  13058. 2004-08-15 17:13 ravindra
  13059. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  13060. ToolBarButtonClickEventArgs.cs,
  13061. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  13062. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  13063. 2004-08-15 15:31 pbartok
  13064. * ButtonBase.cs:
  13065. - First (mostly) working version
  13066. 2004-08-13 16:15 pbartok
  13067. * Control.cs:
  13068. - Fixed Anchor default
  13069. 2004-08-13 15:43 pbartok
  13070. * Control.cs:
  13071. - Changed GetCursorPos signature
  13072. 2004-08-13 15:42 pbartok
  13073. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  13074. - Changed signature for GetCursorPos
  13075. 2004-08-13 15:25 pbartok
  13076. * XplatUIX11.cs:
  13077. - Cleanup
  13078. - Fixed resizing/exposure handling
  13079. 2004-08-13 15:22 jordi
  13080. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  13081. with tickposition
  13082. 2004-08-13 14:55 jordi
  13083. * TrackBar.cs: change from wndproc to events
  13084. 2004-08-13 13:00 jordi
  13085. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  13086. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  13087. 2004-08-13 12:53 pbartok
  13088. * XplatUIWin32.cs:
  13089. - Changed GetWindowPos to also provide client area size
  13090. - Fixed broken prototypes for several win32 functions
  13091. 2004-08-13 12:53 pbartok
  13092. * XplatUI.cs, XplatUIDriver.cs:
  13093. - Changed GetWindowPos to also provide client area size
  13094. 2004-08-13 12:52 pbartok
  13095. * XplatUIX11.cs:
  13096. - Added generation of WM_POSCHANGED
  13097. - Changed GetWindowPos to also provide client area size
  13098. 2004-08-13 12:52 pbartok
  13099. * Control.cs:
  13100. - Added Dispose() and destructor
  13101. - Fixed resizing and bounds calculation
  13102. - Fixed Layout
  13103. - Added memory savings for invisible windows
  13104. 2004-08-13 12:46 jordi
  13105. * TrackBar.cs: adds timer and grap window
  13106. 2004-08-13 10:25 jackson
  13107. * Timer.cs: SWF Timer
  13108. 2004-08-12 16:59 pbartok
  13109. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  13110. - Implemented method to get current mouse position
  13111. 2004-08-12 14:29 jordi
  13112. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  13113. enhancement, fix mouse problems, highli thumb, etc
  13114. 2004-08-12 13:31 pbartok
  13115. * Control.cs:
  13116. - Fixed Anchoring bugs
  13117. 2004-08-12 13:01 jackson
  13118. * StatusBar.cs: Don't forget things
  13119. 2004-08-12 12:54 jackson
  13120. * ThemeWin32Classic.cs: Handle owner draw status bars
  13121. 2004-08-12 12:54 jackson
  13122. * StatusBar.cs: Implement missing properties, events, and methods.
  13123. Handle mouse clicking
  13124. 2004-08-12 10:19 jackson
  13125. * StatusBarPanelClickEventArgs.cs,
  13126. StatusBarPanelClickEventHandler.cs: Classes for handling status
  13127. bar panel click events
  13128. 2004-08-12 10:10 jackson
  13129. * Control.cs: Add missing properties
  13130. 2004-08-12 09:46 pbartok
  13131. * BindingsManagerBase.cs:
  13132. - Name changed to BindingManagerBase.cs
  13133. 2004-08-12 09:25 jordi
  13134. * ScrollableControl.cs: calls ctrlbase instead of exeception
  13135. 2004-08-11 16:28 pbartok
  13136. * InputLanguageChangingEventArgs.cs:
  13137. - Never check in before compiling. Fixes the last check-in
  13138. 2004-08-11 16:26 pbartok
  13139. * InputLanguageChangingEventArgs.cs:
  13140. - More signature fixes
  13141. 2004-08-11 16:20 pbartok
  13142. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  13143. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  13144. ImageListStreamer.cs, InputLanguage.cs,
  13145. InputLanguageChangedEventArgs.cs,
  13146. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  13147. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  13148. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  13149. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  13150. - Signature fixes
  13151. 2004-08-11 16:16 pbartok
  13152. * Application.cs:
  13153. - Fixed Signature
  13154. - Added .Net 1.1 method
  13155. 2004-08-11 15:25 pbartok
  13156. * SWF.csproj:
  13157. - Fixed BindingManagerBase.cs filename
  13158. 2004-08-11 15:22 pbartok
  13159. * BindingManagerBase.cs:
  13160. - Was checked in with wrong filename
  13161. 2004-08-11 14:50 pbartok
  13162. * SWF.csproj:
  13163. - Updated
  13164. 2004-08-11 13:41 jordi
  13165. * XplatUIWin32.cs: Fixes ClientRect
  13166. 2004-08-11 13:19 pbartok
  13167. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  13168. XplatUIX11.cs:
  13169. - We had SetWindowPos and MoveWindow to set window positions and
  13170. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  13171. keep SetWindowPos as matching counterpart
  13172. - Added some X11 sanity checking
  13173. 2004-08-11 12:59 pbartok
  13174. * Control.cs:
  13175. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  13176. (It seems that SetBounds is just a front for SetBoundsCore and
  13177. SetBoundsCore updates the underlying window system and
  13178. UpdateBounds is responsible for updating the variables associated
  13179. with the Control and sending the events)
  13180. - Major cleanup of Size handling; we now have two sizes, client_size
  13181. and bounds. Bounds defines the window with decorations, client_size
  13182. without them.
  13183. 2004-08-11 12:55 pbartok
  13184. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  13185. - Added method to calculate difference between decorated window and
  13186. raw client area
  13187. 2004-08-11 12:54 pbartok
  13188. * Label.cs:
  13189. - Forcing redraw on resize
  13190. 2004-08-11 11:43 pbartok
  13191. * ImageList.cs:
  13192. - Removed disposing of the actual images when the list is disposed
  13193. 2004-08-11 09:13 pbartok
  13194. * Control.cs:
  13195. - Now properly reparents windows
  13196. 2004-08-11 08:37 pbartok
  13197. * Control.cs:
  13198. - Duh!
  13199. 2004-08-11 07:47 pbartok
  13200. * Control.cs:
  13201. - Rewrote the collection stuff. Might not be as fast now, not
  13202. keeping the number of children around and accessible directly, but
  13203. it's more straightforward
  13204. 2004-08-11 07:44 pbartok
  13205. * AccessibleObject.cs:
  13206. - Fixed to match ControlCollection rewrite
  13207. 2004-08-11 07:43 pbartok
  13208. * ImageList.cs:
  13209. - Added missing creation of the collection list
  13210. 2004-08-10 20:08 jackson
  13211. * StatusBar.cs: Get the paint message from WndProc
  13212. 2004-08-10 19:31 jackson
  13213. * ThemeWin32Classic.cs: Create Brushes as little as possible
  13214. 2004-08-10 19:20 jackson
  13215. * UICues.cs: Add Flags attribute
  13216. 2004-08-10 19:19 jackson
  13217. * StatusBarPanel.cs: Signature cleanup
  13218. 2004-08-10 19:10 jackson
  13219. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  13220. Initial implementation of status bar item drawing
  13221. 2004-08-10 17:27 jordi
  13222. * TrackBar.cs: add missing methods, properties, and restructure to
  13223. hide extra ones
  13224. 2004-08-10 16:24 jackson
  13225. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  13226. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  13227. attribute
  13228. 2004-08-10 13:21 jordi
  13229. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  13230. enhancements and standarize on win colors defaults
  13231. 2004-08-10 12:52 jackson
  13232. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  13233. ThemeWin32Classic.cs: Implement DrawItem functionality
  13234. 2004-08-10 12:47 jordi
  13235. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  13236. 2004-08-10 12:32 jordi
  13237. * Control.cs: throw ontextchange event
  13238. 2004-08-10 11:43 pbartok
  13239. * Control.cs:
  13240. - Added more to the still unfinished Dock/Anchor layout code
  13241. 2004-08-10 11:39 pbartok
  13242. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  13243. - Added GetWindowPos method
  13244. 2004-08-10 11:36 pbartok
  13245. * XplatUIWin32.cs:
  13246. - Implemented several methods
  13247. 2004-08-10 09:47 jackson
  13248. * TrackBar.cs: Allow control to handle buffering
  13249. 2004-08-10 09:41 jackson
  13250. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  13251. 2004-08-10 09:24 jackson
  13252. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  13253. 2004-08-10 09:09 jackson
  13254. * StatusBar.cs: Let Control handle all the buffering.
  13255. 2004-08-10 09:08 jackson
  13256. * Control.cs: Control will now handle the buffering code, so each
  13257. control does not have to implement this.
  13258. 2004-08-10 08:34 jackson
  13259. * XplatUIDriver.cs: Use default colors from the theme
  13260. 2004-08-09 17:12 pbartok
  13261. * ImageList.cs:
  13262. - Fixed several bugs Ravindra pointed out
  13263. 2004-08-09 16:11 pbartok
  13264. * Control.cs:
  13265. - Added incomplete dock layout code
  13266. - Added support for mouse wheel
  13267. 2004-08-09 16:09 pbartok
  13268. * XplatUIX11.cs:
  13269. - Added handling for middle and right mousebutton
  13270. - Added handling for mouse wheel
  13271. - Added handling for key state and mouse state and position
  13272. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  13273. messages
  13274. 2004-08-09 15:40 jackson
  13275. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  13276. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  13277. checkin
  13278. 2004-08-09 15:37 jackson
  13279. * StatusBar.cs: Initial implementation of StatusBar
  13280. 2004-08-09 15:36 jackson
  13281. * ITheme.cs: Add support for drawing status bar and getting status
  13282. bar item sizes
  13283. 2004-08-09 15:35 pbartok
  13284. * MouseButtons.cs:
  13285. - Fixed values
  13286. 2004-08-09 15:34 jackson
  13287. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  13288. status bar item sizes
  13289. 2004-08-09 15:21 jackson
  13290. * ThemeWin32Classic.cs: Use known colors for default control
  13291. colours
  13292. 2004-08-09 15:12 jackson
  13293. * ThemeWin32Classic.cs: Make the default font static, it is static
  13294. in control so this doesn't change functionality and creating fonts
  13295. is sloooooow.
  13296. 2004-08-09 14:56 pbartok
  13297. * X11Structs.cs:
  13298. - Added GrabMode enum
  13299. 2004-08-09 14:55 pbartok
  13300. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  13301. - Removed Run method, was only required for initial development
  13302. 2004-08-09 14:51 pbartok
  13303. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  13304. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  13305. capture
  13306. 2004-08-09 13:48 pbartok
  13307. * XplatUIX11.cs:
  13308. - Fixed default sizing for child windows
  13309. 2004-08-09 12:56 pbartok
  13310. * XplatUIX11.cs:
  13311. - Added generation of WM_DESTROY message
  13312. - Added handling of window manager induced shutdown
  13313. 2004-08-09 11:31 jackson
  13314. * ThemeWin32Classic.cs: New names for control properties
  13315. 2004-08-09 11:25 jackson
  13316. * Control.cs: Use new color names
  13317. 2004-08-09 11:02 jackson
  13318. * XplatUI.cs: Get default window properties from the theme
  13319. 2004-08-09 11:01 jackson
  13320. * ITheme.cs: The theme engine now controls default window
  13321. properties
  13322. 2004-08-09 11:00 jackson
  13323. * ThemeWin32Classic.cs: Add default window color properties
  13324. 2004-08-09 10:17 jackson
  13325. * ThemeWin32Classic.cs: Use correct default back color
  13326. 2004-08-09 10:05 jackson
  13327. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  13328. the theme now.
  13329. 2004-08-09 09:56 jackson
  13330. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  13331. 2004-08-09 09:54 jackson
  13332. * Control.cs: Get default properties from the theme.
  13333. 2004-08-09 09:53 jackson
  13334. * ITheme.cs: Themes now handle default control properties
  13335. 2004-08-09 09:53 jackson
  13336. * ThemeWin32Classic.cs: Themes now handle default control
  13337. properties so coloring will be consistent
  13338. 2004-08-08 16:54 jordi
  13339. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  13340. 2004-08-08 15:08 jordi
  13341. * XplatUIX11.cs: fixes keyboard crash
  13342. 2004-08-08 13:47 jordi
  13343. * Label.cs: add cvs header info
  13344. 2004-08-08 12:09 jackson
  13345. * ThemeWin32Classic.cs: Add pen_buttonface
  13346. 2004-08-08 11:52 jordi
  13347. * Label.cs, LinkLabel.cs: [no log message]
  13348. 2004-08-08 11:34 jordi
  13349. * ThemeWin32Classic.cs: Use Windows Standard Colours
  13350. 2004-08-07 17:32 jordi
  13351. * TrackBar.cs: throw exceptions of invalid enums values
  13352. 2004-08-07 17:31 jordi
  13353. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  13354. draw method name
  13355. 2004-08-07 16:56 jackson
  13356. * HorizontalAlignment.cs: Initial checkin
  13357. 2004-08-07 13:16 jordi
  13358. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  13359. methods
  13360. 2004-08-07 13:05 jordi
  13361. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  13362. GetSysColor defines
  13363. 2004-08-06 18:01 pbartok
  13364. * ThemeWin32Classic.cs:
  13365. - Fixed some rounding issues with float/int
  13366. 2004-08-06 18:00 jackson
  13367. * DockStyle.cs, AnchorStyles.cs:
  13368. Add flags and serializable attributes.
  13369. 2004-08-06 17:46 pbartok
  13370. * XplatUIX11.cs:
  13371. - Implemented GetParent
  13372. 2004-08-06 17:18 pbartok
  13373. * TrackBar.cs:
  13374. - Fixed some rounding issues with float/int
  13375. 2004-08-06 17:17 pbartok
  13376. * X11Structs.cs, XplatUIX11.cs:
  13377. - Fixed Refresh and Invalidate
  13378. 2004-08-06 15:30 pbartok
  13379. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  13380. - Fixed recursive loop when resizing
  13381. - Improved/fixed redrawing on expose messages
  13382. 2004-08-06 09:53 jordi
  13383. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  13384. keyboard navigation
  13385. 2004-08-06 08:02 pbartok
  13386. * X11Structs.cs, XplatUIX11.cs:
  13387. - Fixed reparenting
  13388. - Fixed window border creation
  13389. 2004-08-05 15:38 pbartok
  13390. * XplatUIX11.cs:
  13391. - Attempted fix for reparenting problems
  13392. 2004-08-04 15:14 pbartok
  13393. * Control.cs:
  13394. - Fixed Invalidation bug (calculated wrong client area)
  13395. - Added ClientSize setter
  13396. 2004-08-04 15:13 pbartok
  13397. * Form.cs:
  13398. - Added AutoScale properties
  13399. 2004-08-04 15:13 pbartok
  13400. * SWF.csproj:
  13401. - Added latest files
  13402. 2004-08-04 14:11 pbartok
  13403. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  13404. XplatUIX11.cs:
  13405. - Added Invalidate handling
  13406. 2004-08-03 17:09 jordi
  13407. * XplatUIDriver.cs: fixes spelling mistake
  13408. 2004-07-27 09:53 jordi
  13409. * TrackBar.cs: fixes trackbar events, def classname, methods
  13410. signature
  13411. 2004-07-27 09:29 jordi
  13412. * ScrollBar.cs: fixes scrollbar events
  13413. 2004-07-27 04:38 jordi
  13414. * Control.cs: changes to be able to run winforms samples
  13415. 2004-07-26 11:42 jordi
  13416. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  13417. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  13418. 2004-07-26 05:41 jordi
  13419. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  13420. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  13421. implementation
  13422. 2004-07-22 09:22 jordi
  13423. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  13424. check link overlapping, implement events, and fixes
  13425. 2004-07-21 10:28 jordi
  13426. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  13427. 2004-07-21 10:19 jordi
  13428. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  13429. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  13430. LinkLabelLinkClickedEventArgs.cs,
  13431. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  13432. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  13433. implementation
  13434. 2004-07-19 13:09 jordi
  13435. * Control.cs, Label.cs: label control re-written: added missing
  13436. functionlity, events, and properties
  13437. 2004-07-19 10:49 jordi
  13438. * Control.cs: fixes SetBounds logic
  13439. 2004-07-19 01:29 jordi
  13440. * Control.cs: Call RefreshWindow only if the window has created
  13441. 2004-07-15 14:05 pbartok
  13442. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  13443. - Implemented ImageList and ImageList.ImageCollection classes
  13444. - Added ColorDepth enumeration
  13445. - Updated SWF VS.Net project
  13446. 2004-07-15 11:06 jordi
  13447. * XplatUIStructs.cs: added MsgButons enum
  13448. 2004-07-15 11:03 jordi
  13449. * Control.cs: added basic mouse handeling events
  13450. 2004-07-15 03:38 jordi
  13451. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  13452. Vertical TrackBar control implementation
  13453. 2004-07-13 09:33 jordi
  13454. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  13455. 2004-07-13 09:31 jordi
  13456. * Control.cs, Form.cs: commit: new properties and fixes form size
  13457. problems
  13458. 2004-07-09 14:13 miguel
  13459. * ProgressBar.cs: Spelling
  13460. 2004-07-09 11:25 pbartok
  13461. * ProgressBar.cs:
  13462. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  13463. faster
  13464. 2004-07-09 11:17 miguel
  13465. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  13466. * ProgressBar.cs: Fixed spelling for `block'
  13467. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  13468. style guidelines.
  13469. Avoid using the += on rect.X, that exposed a bug in the compiler.
  13470. 2004-07-08 23:21 pbartok
  13471. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  13472. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  13473. BaseCollection.cs, Binding.cs, BindingContext.cs,
  13474. BindingMemberInfo.cs, BindingsCollection.cs,
  13475. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  13476. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  13477. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  13478. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  13479. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  13480. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  13481. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  13482. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  13483. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  13484. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  13485. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  13486. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  13487. InputLanguageChangedEventArgs.cs,
  13488. InputLanguageChangedEventHandler.cs,
  13489. InputLanguageChangingEventArgs.cs,
  13490. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  13491. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  13492. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  13493. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  13494. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  13495. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  13496. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  13497. QueryAccessibilityHelpEventArgs.cs,
  13498. QueryAccessibilityHelpEventHandler.cs,
  13499. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  13500. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  13501. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  13502. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  13503. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  13504. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  13505. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  13506. XplatUIX11.cs, lang.cs:
  13507. - Initial check-in