ChangeLog 543 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575
  1. 2006-08-02 Peter Dennis Bartok <[email protected]>
  2. * TextControl.cs:
  3. - UpdateCaret: Added sanity check in case caret isn't defined yet
  4. - Line.Delete: Now updating selection and caret markers if we're
  5. transfering a node (Properly fixes #78323)
  6. - SetSelectionEnd: Added sanity check
  7. * TextBoxBase.cs: Removed broken attempt to fix #78323
  8. 2006-08-01 Chris Toshok <[email protected]>
  9. * PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
  10. Close() call is handled in Form, not here.
  11. 2006-08-01 Chris Toshok <[email protected]>
  12. * Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
  13. layout/rendering.
  14. * PrintPreviewDialog.cs: add scrollbars, and add an image cache
  15. for sizes < 100% zoom. The code now aggressively attempts to keep
  16. from calling document.Print (), and tries not to use the scaling
  17. g.DrawImage whenever possible (it still does if you scale to >
  18. 100%, since usually that involves huge images).
  19. * PrintPreviewControl.cs: hook up the close button.
  20. 2006-08-01 Jonathan Pobst <[email protected]>
  21. * ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
  22. ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
  23. ItemDragEventHandler.cs, LabelEditEventHandler.cs,
  24. LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
  25. MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
  26. PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
  27. SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
  28. Removed [Serializable] for 2.0 Event Handlers.
  29. 2006-07-31 Jackson Harper <[email protected]>
  30. * TextBoxBase.cs: Make ShowSelection invalidate when changed.
  31. * TextControl.cs: Uncomment out the body of this method.
  32. 2006-07-31 Alexander Olk <[email protected]>
  33. * XplatUIX11.cs: Use the correct cursor shapes for arrow and default
  34. standard cursors.
  35. 2006-07-31 Peter Dennis Bartok <[email protected]>
  36. * TextBoxBase.cs: Added internal property ShowSelection to allow controls
  37. that embed TextBox and need selections visible even if textbox is not
  38. focused to enforce that behaviour.
  39. * TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
  40. selection drawing
  41. 2006-07-31 Peter Dennis Bartok <[email protected]>
  42. * TextControl.cs:
  43. - Added new SetSelectionStart/SetSelectionEnd overloads
  44. - Fixed viewport width assignment to be accurate
  45. - Adjusted alignment line shift calculations to allow cursor on right
  46. aligned lines to be always visible at the right border (like MS)
  47. * TextBoxBase.cs:
  48. - SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
  49. - TextBoxBase_SizeChanged: recalculating canvas on size changes
  50. - CalculateScrollBars: Use ViewPort size instead of window size, to
  51. properly consider space occupied by the border and scrollbars
  52. (Fixes #78661)
  53. - hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
  54. calculations; no longer leaves artifacts
  55. - CaretMoved: Adjusted window scrolling to match MS and fixed several
  56. calculation bugs (Still missing right/center align calculations)
  57. 2006-07-31 Peter Dennis Bartok <[email protected]>
  58. * XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
  59. use of both scroll rect and clip rect, as they do the same.
  60. 2006-07-31 Peter Dennis Bartok <[email protected]>
  61. * Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
  62. in the event handler (fixes #78912)
  63. 2006-07-31 Chris Toshok <[email protected]>
  64. * ThemeWin32Classic.cs: use grid.RowsCount here instead of
  65. grid.ListManager.Count, since grid.ListManager might be null.
  66. This of course begs the question "why are we drawing rows for a
  67. grid with no list manager (and therefor no rows)?" Fixes the
  68. crash in bug #78929.
  69. 2006-07-31 Chris Toshok <[email protected]>
  70. * RelatedPropertyManager.cs: Don't always chain up to the parent
  71. ctor. instead, call SetDataSource if the parent's position is !=
  72. -1. Fixes the crash in #78822.
  73. 2006-07-31 Chris Toshok <[email protected]>
  74. * DataGrid.cs (get_ListManager): use field instead of property
  75. accessors for datasource and datamember.
  76. (RowsCount): make internal again.
  77. (OnMouseDown): end edits before resizing columns/rows.
  78. (OnMouseUp): restart edits after resizing columns/rows.
  79. 2006-07-30 Peter Dennis Bartok <[email protected]>
  80. * XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
  81. This fixes the situation where the last set cursor is displayed
  82. whenever the mouse is over scrollbars.
  83. 2006-07-30 Carlos Alberto Cortez <[email protected]>
  84. * PrintDialog.cs: Fix the behaviour of PrinterSettings and
  85. Document properties, as well as initial values.
  86. 2006-07-29 Peter Dennis Bartok <[email protected]>
  87. * XplatUIWin32.cs (SetBorderStyle): Setting both border
  88. and ClientEdge results in a 3-pixel border, which is
  89. wrong.
  90. 2006-07-28 Jackson Harper <[email protected]>
  91. * TreeNodeCollection.cs: Fix the clear method.
  92. - Fix the Shrink also
  93. 2006-07-27 Jackson Harper <[email protected]>
  94. * TreeView.cs: Make sure the visible order is computed when we
  95. attempt to size the scrollbars (for trees that mess with the
  96. scrolling when they shouldn't.
  97. - Make sure to give the scrollbars valid values.
  98. 2006-07-26 Peter Dennis Bartok <[email protected]>
  99. * XplatUIX11.cs: Move motion compression code to where it
  100. has less performance impact
  101. 2006-07-26 Jackson Harper <[email protected]>
  102. * UpDownBase.cs: When the control is selected make the child
  103. controls non selectable, so that a click on them won't do a
  104. focus/unfocus cycle.
  105. - Don't give focus to the text box when the spinner is selected.
  106. * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
  107. 2006-07-26 Chris Toshok <[email protected]>
  108. * ThemeWin32Classic.cs: add print preview rendering. I'm not
  109. satisfied with this solution. If the bitmaps are small, we should
  110. just cache them in the PrintPreviewDialog and draw them here.
  111. Also, the layout is broken for the 2-up and 3-up cases.
  112. * Theme.cs: add PrintPReviewControlPaint.
  113. * PrintPreviewDialog.cs: first pass implementation.
  114. * PrintPreviewControl.cs: first pass implementation. No
  115. scrollbars yet.
  116. * PrintDialog.cs: only validate fields if that particular portion
  117. of the UI is enabled. Also, set the document's controller to a
  118. PrintControllerWithStatusDialog wrapping the document's print
  119. controller.
  120. * PrintControllerWithStatusDialog.cs: if we're printing to a file,
  121. bring up a SaveFileDialog (i hope we don't want to match the
  122. behavior of the crappy windows file entry) and set the
  123. PrinterSettings.PrintFileName accordingly.
  124. 2006-07-26 Jackson Harper <[email protected]>
  125. * ContainerControl.cs: Add a field that disables auto selecting
  126. the next control in a container when the container is activated.
  127. * UpDownBase.cs: Don't select the text box when the up down is
  128. selected.
  129. 2006-07-26 Peter Dennis Bartok <[email protected]>
  130. * XEventQueue.cs: Added methods for peeking (used for compression
  131. of successive events)
  132. * XplatUIX11.cs (GetMessage): We're now compressing consecutive
  133. mouse move events (fixes #78732)
  134. 2006-07-25 Jackson Harper <[email protected]>
  135. * UpDownBase.cs: Use an internal class for the textbox so that we
  136. can control focus. the updown control should always have focus,
  137. if either the text area or the buttons are clicked.
  138. - Send the key messages to the textbox, since it never actually
  139. has focus
  140. - Activate and decativate the textbox caret.
  141. 2006-07-24 Jackson Harper <[email protected]>
  142. * Control.cs: Use the directed select when selecting a control,
  143. this way the container controls override will get called and the
  144. whole ActiveControl chain will get triggered. TODO: probably need
  145. to make sure this gets done everywhere instead of the old
  146. Select(Control).
  147. * ContainerControl.cs: Implement the directed Select method to
  148. find and activate the correct child control.
  149. 2006-07-22 Mike Kestner <[email protected]>
  150. * Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
  151. menu handling code so that clicks without a grab work too.
  152. [Fixes #78914]
  153. 2006-07-22 Alexander Olk <[email protected]>
  154. * FileDialog.cs: Enable the BackButton when dirstack has one element.
  155. Added some small optimizations.
  156. 2006-07-21 Matt Hargett <[email protected]>
  157. * Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties
  158. 2006-07-21 Peter Dennis Bartok <[email protected]>
  159. * Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  160. tests pass and match MS in some strange border cases.
  161. 2006-07-21 Chris Toshok <[email protected]>
  162. * ThemeWin32Classic.cs: handle drawing of the relation links and
  163. parent row buttons.
  164. * Theme.cs: change args to DataGridPaintParentRow.
  165. * DataGrid.cs: Don't use controls for the relation links and
  166. parent buttons, so we have to handle all their interactions in
  167. MouseMove, MouseDown, MouseUp, etc. Also, store a lot more stuff
  168. when we're navigating through child tables, so we can reinstate
  169. selection, expanded state, current cell, etc.
  170. 2006-07-20 Chris Toshok <[email protected]>
  171. * ToolBar.cs: When we redraw a button, for whatever reason,
  172. there's no reason to redraw the entire toolbar. Also, don't call
  173. Control.Refresh from within Redraw, as it's much heavier than
  174. Invalidate (which is really what we want).
  175. 2006-07-20 Chris Toshok <[email protected]>
  176. * DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
  177. DataGridTextBoxColumn.cs, DataGridTextBox.cs,
  178. ThemeWin32Classic.cs, ListControl.cs: After staring at stack
  179. traces from within a debug IBindingList datasource
  180. (in mono/winforms/datagrid) for *days*, I've finally gotten things
  181. to work in a similar fashion.
  182. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  183. * ListBox.cs: Don't call Sort () when setting
  184. the Sorted property to false (avoid an unnecessary sort).
  185. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  186. * ListControl.cs: DataSource should throw an ArgumentException
  187. instead of a normal exception when the argument is not of the
  188. correct type.
  189. 2006-07-20 Mike Kestner <[email protected]>
  190. * Control.cs: add InternalPreProcessMessage to allow us to steal
  191. key events before MWF gets its paws on them. Adapted from a
  192. suggestion by eno.
  193. * ToolBar.cs: add GotLostFocus handing for flat toolbars, with
  194. up/down/left/right navigation. Override the new internal control
  195. method to steal the events since they never make it to WndProc.
  196. * ToolBarButton.cs: don't worry about pushed when setting hilight
  197. since the drawing code prefers pushed to hilight. Invalidate on
  198. Hilight changes. Fixes #78547 and #78525.
  199. 2006-07-20 Peter Dennis Bartok <[email protected]>
  200. * ScrollableControl.cs: Consider AutoScrollMinSize when calculating
  201. the canvas size. Fixes #78868
  202. 2006-07-20 Peter Dennis Bartok <[email protected]>
  203. * Splitter.cs: Track requested split position until first layout
  204. is performed. Fixes #78871
  205. 2006-07-20 Peter Dennis Bartok <[email protected]>
  206. * Application.cs: Removed code that forces 1.x for the version
  207. number if the version started with 0. Not sure why that code was
  208. there and I couldn't find any bugs that indicated we needed it.
  209. Fixes #78869
  210. 2006-07-20 Alexander Olk <[email protected]>
  211. * ThemeWin32Classic.cs: Don't throw a NotImplementedException in
  212. ResetDefaults(), just write some output to the console until it's
  213. implemented. Fixes bug #78907 for now. Eliminated two warnings.
  214. 2006-07-19 Jonathan Chambers <[email protected]>
  215. * PropertyGridView.cs: set StartPosition of drop down forms
  216. so they appear in correct initial spot. Fixes #78190.
  217. 2006-07-19 Mike Kestner <[email protected]>
  218. * ThemeWin32Classic.cs: use parent background color when drawing
  219. flat toolbars. Restructure the conditionals to make sure non-flat
  220. non-Divider toolbars are filled too. Fixes #78837.
  221. 2006-07-19 Mike Kestner <[email protected]>
  222. * ListBox.cs: Sort on collection changes even if the handle
  223. isn't created yet. Fixes #78813.
  224. 2006-07-18 Carlos Alberto Cortez <[email protected]>
  225. * ListControl.cs: DisplayMember should never be null,
  226. and now we assign String.Empty when null is passed to it (this
  227. is the .Net way).
  228. 2006-07-17 Mike Kestner <[email protected]>
  229. * ListViewItem.cs: restructure Font and subitem Font handling
  230. to hold a specific font and refer back to owner on null.
  231. Fixes #78761.
  232. 2006-07-17 Mike Kestner <[email protected]>
  233. * ToolBar.cs: bandaid for side-effect of previous patch which was
  234. discarding explicit heights for non-AutoSize toolbars. Need to
  235. extend my format tester to deal with AutoSize=false. Fixes #78864.
  236. 2006-07-15 Jackson Harper <[email protected]>
  237. * LabelEditTextBox.cs:
  238. * TreeView.cs: Use a new LabelEdit class for node editing, this
  239. class automatically 'closes' itself when it gets the enter key or
  240. loses focus.
  241. - Use the client rectangle when setting the trees scrollbars, so
  242. border style is taken into account.
  243. 2006-07-14 Jackson Harper <[email protected]>
  244. * TreeNode.cs:
  245. * TreeView.cs: Make the editing work similar to MSs, firing the
  246. events correctly and ending edits correctly.
  247. 2006-07-14 Mike Kestner <[email protected]>
  248. * ToolBarButton.cs:
  249. * ToolBar.cs: layout restructuring and redraw enhancements to support
  250. formatting changes gracefully, like setting TextAlign, ImageList,
  251. ButtonSize, and Appearance. Handles explicit button sizing quirks
  252. of the MS controls. Things like flat toolbars ignoring button size
  253. but becoming constant sized at the largest button's size. Normal
  254. toolbars with an image set cannot be shrunk smaller than the image,
  255. but text can be clipped/ignored.
  256. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  257. is zero. Seems like DrawString should be smart enough to not put
  258. anything on screen though. Also trim labels and ellipsize at the char
  259. boundary, not word.
  260. Fixes #78711 and #78483.
  261. 2006-07-14 Alexander Olk <[email protected]>
  262. * FolderBrowserDialog.cs: Disable "New Folder" button and
  263. "New Folder" contextmenu menuitem if a folder like "My Computer"
  264. is selected.
  265. 2006-07-14 Alexander Olk <[email protected]>
  266. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  267. * FolderBrowserDialog.cs:
  268. - Use MWFConfig to store and read size and position settings
  269. - Added code to create a new folder (button or context menu).
  270. Use TreeView labeledit to change the name of the new folder.
  271. 2006-07-14 Jackson Harper <[email protected]>
  272. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  273. when the tree is scrolled we end editing.
  274. 2006-07-14 Alexander Olk <[email protected]>
  275. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  276. Down arrows
  277. 2006-07-14 Jonathan Pobst <[email protected]>
  278. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  279. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  280. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  281. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  282. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  283. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  284. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  285. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  286. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  287. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  288. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  289. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  290. ListViewItemSelectionChangedEventHandler.cs,
  291. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  292. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  293. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  294. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  295. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  296. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  297. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  298. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  299. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  300. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  301. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  302. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  303. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  304. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  305. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  306. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  307. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  308. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  309. WebBrowserNavigatingEventHandler.cs,
  310. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  311. 2006-07-14 Jonathan Pobst <[email protected]>
  312. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  313. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  314. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  315. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  316. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  317. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  318. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  319. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  320. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  321. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  322. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  323. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  324. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  325. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  326. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  327. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  328. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  329. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  330. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  331. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  332. ListViewItemStates.cs, MaskFormat.cs: Added
  333. 2006-07-13 Jonathan Chambers <[email protected]>
  334. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  335. Patch from eno for bug 78558.
  336. 2006-07-13 Jackson Harper <[email protected]>
  337. * TreeView.cs: When an edit is finished make sure that the
  338. selected node is visible.
  339. - When setting the top/bottom use the scrollbars is_visible, so
  340. everything will be set correctly even if the tree isn't visible
  341. yet.
  342. 2006-07-13 Jackson Harper <[email protected]>
  343. * ComboBox.cs: Revert the item->index part of my previous patch.
  344. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  345. the edit box has lost focus (duh).
  346. - Just make the edit box not visible when we get return, that will
  347. take the focus, which will call EndEdit
  348. * TreeNode.cs When we start editing, notify the treeview.
  349. 2006-07-12 Jackson Harper <[email protected]>
  350. * ComboBox.cs: Clear out old items before setting the item list.
  351. This prevents databound controls from having their items added
  352. twice.
  353. - Switch the combobox to use indices whereever possible instead of
  354. using Item's. This allows usto navigate through lists that have
  355. more then one item with the same string value (ie a, b, b, a).
  356. - Scroll the listboxes scrollbar when a non visible item is
  357. highlighted
  358. - Allow keypress to cycle through all the possible values. For
  359. example if you have b1, b2, b3 and hold down the B key all the
  360. values will be cycled through.
  361. 2006-07-12 Jackson Harper <[email protected]>
  362. * TextBoxBase.cs:
  363. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  364. this using the internal methods.
  365. * Control.cs: Add OnGotFocusInternal. A new method that allows
  366. controls to "override" OnGotFocus and change focus behavior if
  367. needed.
  368. - Same thing for LostFocus
  369. * ComboBox.cs: Pass off focus to the text control properly.
  370. 2006-07-12 Alexander Olk <[email protected]>
  371. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  372. * FolderBrowserDialog.cs: Almost a complete rewrite.
  373. - Better support for Environment.Specialfolders
  374. - Added support for MWFVFS
  375. - Made setting SelectedPath work
  376. 2006-07-12 Jackson Harper <[email protected]>
  377. * Control.cs: Optimze getting all the controls.
  378. 2006-07-11 Jackson Harper <[email protected]>
  379. * ContainerControl.cs: Override SETFOCUS in the container control,
  380. so that it is not selected on mouse click.
  381. 2006-07-11 Peter Dennis Bartok <[email protected]>
  382. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  383. Hopefully we will have a better way once all of focus is complete.
  384. 2006-07-11 Peter Dennis Bartok <[email protected]>
  385. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  386. a compile error with csc.
  387. 2006-07-11 Jackson Harper <[email protected]>
  388. * Control.cs: When hiding a control only select the next control
  389. if the current control was focused.
  390. - Don't handle enter/leave when setting/killing focus, this is
  391. done by the container control.
  392. - Remove is_selected, it's not needed anymore.
  393. - Add utility methods for selecting a child control, and for
  394. firing the Enter/Leave events.
  395. * ContainerControl.cs: When a control is activated fire the
  396. enter/leave events.
  397. - Don't wrap when processing the tab key, so that focus can be
  398. moved outside of the container.
  399. - Use the correct active control
  400. 2006-07-11 Jackson Harper <[email protected]>
  401. * ComboBox.cs: Remove some debug code that was blinding me.
  402. * UpDownBase.cs: These controls actually aren't implicit, they are
  403. visible to the user.
  404. 2006-07-10 Chris Toshok <[email protected]>
  405. * DataGrid.cs: move back to the is_adding boolean field. god i
  406. hate this is_editing/is_adding/is_changing stuff.
  407. 2006-07-10 Chris Toshok <[email protected]>
  408. * DataGridTableStyle.cs: just check if the property type is bool.
  409. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  410. Don't use CanRenderType.
  411. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  412. if our text == NullText. Remove CanRenderType.
  413. * DataGridBoolColumn.cs: nuke CanRenderType.
  414. * DataGrid.cs: reenable some code to end the current edit inside
  415. of set_CurrentCell. This fixes the other 1.1.16 regression.
  416. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  417. Also, remove the visible_row_count arg from CalcRowHeaders, since
  418. we don't need to worry about the actual height of the area.
  419. 2006-07-10 Chris Toshok <[email protected]>
  420. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  421. mode, just return.
  422. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  423. the real sense of the IsInEditOrNavigateMode property (true =
  424. navigate, false = edit). Also, update OnKeyPress to reflect this.
  425. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  426. column style exists, we still need to set its property descriptor
  427. to match up with our list manager.
  428. 2006-07-10 Chris Toshok <[email protected]>
  429. * ThemeWin32Classic.cs: implement the new row/header painting
  430. approach. The parent row painting will likely go away and
  431. replaced with label controls, but the rest seems to work ok (and
  432. efficiently).
  433. * Theme.cs: change the way we draw datagrid rows. we don't draw
  434. the row headers as a block now. Instead we draw them in the
  435. normal draw-row loop. Add some calls for drawing parent rows and
  436. relation rows.
  437. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  438. a default table style. Set the defaults from ThemeEngine.Current,
  439. not SystemColors. Fix lots of misc issues with property setters.
  440. * DataGrid.cs: move loads of style information out of this class
  441. as it's being duplicated with DataGridTableStyle. keep track of a
  442. special DataGridTableStyle for the properties we used to mirror
  443. here. Switch all the style properties to access this table style
  444. instead of instance fields of this class. Also add a internal
  445. class to represent parent rows (more needs to be stored here, like
  446. the selection state from the parent table, as well as the
  447. expansion state.) Also, for datasources with relations, do the
  448. right thing for collapse/expand, and add support for the
  449. navigation/parent row buttons.
  450. Lastly, fix the crash in the 1.1.16 build.
  451. * GridTableStylesCollection.cs: make the explicit interface
  452. implementations call the class's methods as opposed to duplicating
  453. them.
  454. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  455. 0 so the text doesn't jump around when we move the cursor.
  456. 2006-07-10 Jackson Harper <[email protected]>
  457. * TextBoxBase.cs:
  458. * ListBox.cs: Match MS's ToString (this makes debugging focus
  459. stuff infinitely easier).
  460. 2006-07-10 Jackson Harper <[email protected]>
  461. * Control.cs (SelectNextControl): When checking the control's
  462. parent use this instead of ctrl.parent so that null can be passed
  463. to SelectNextControl. (I have unit tests for this).
  464. - Remove unused var.
  465. 2006-07-10 Chris Toshok <[email protected]>
  466. * CurrencyManager.cs: correct one regression, the removal of the
  467. finalType field. Also, add a MonoTODO on CanAddRows, implement
  468. Refresh() correctly, and fix some event emission in
  469. ListChangedHandler.
  470. 2006-07-07 Alexander Olk <[email protected]>
  471. * FileDialog.cs: Don't use brackets for new folders if they exist
  472. under *nix. Instead use -(number of existing folders +1).
  473. 2006-07-07 Alexander Olk <[email protected]>
  474. * FileDialog.cs:
  475. - Fixed really nasty bug #78771
  476. - Don't block the whole GUI when reading directories with a lot of
  477. entries. Use an other thread instead and call BeginInvoke to
  478. update the ListView in MWFFileView
  479. 2006-07-07 Chris Toshok <[email protected]>
  480. * Control.cs (Dispose): release any Capture when disposing.
  481. 2006-07-07 Chris Toshok <[email protected]>
  482. * LinkLabel.cs (Select): if we chain up to the parent, set
  483. focused_index to -1 so we'll search for the first available link
  484. the next time the user tabs into us. Also, if the direction is
  485. backward and focused_index == -1, start the search from the last
  486. element.
  487. 2006-07-07 Chris Toshok <[email protected]>
  488. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  489. is beyond the end of the text, don't do anything.
  490. (CreateLinkPieces): set our ControlStyles.Selectable based on
  491. whether or not we have any links.
  492. (Link.Invalidate): use a loop instead of foreach.
  493. (Link.set_Start): null out owner.sorted_links so it'll be
  494. recreated by CreateLinkPieces.
  495. 2006-07-06 Chris Toshok <[email protected]>
  496. * LinkLabel.cs: revert the SetStyle change.
  497. 2006-07-06 Chris Toshok <[email protected]>
  498. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  499. (OnEnableChanged): s/Refresh/Invalidate
  500. (OnGotFocus): if we have a focused index already, refocus it (so
  501. if we mouse out/in to the window it'll focus the right link).
  502. (OnKeyDown): move the tab handling out of here.
  503. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  504. when we lose focus.
  505. (OnMouseDown): don't Capture here - Control handles it. Also,
  506. focus the active link.
  507. (OnMouseUp): don't deal with Capture.
  508. (OnPaintBackgroundInternal): remove.
  509. (OnTextAlignChanged): CreateLinkPieces before calling the
  510. superclass's method.
  511. (OnTextChanged): call CreateLinkPieces before calling superclass's
  512. method.
  513. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  514. move around.
  515. (Select): implement this, moving the selection between different
  516. links, and call parent.SelectNextControl if we don't have another
  517. link to focus in the given direction.
  518. (CreateLinkPieces): call Invalidate instead of Refresh.
  519. 2006-07-06 Chris Toshok <[email protected]>
  520. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  521. new LinkLabel internals.
  522. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  523. over pieces looking for active/focused/etc links. also, deal with
  524. runs of text (and links) with embedded \n's in them, and use
  525. MeasureCharacterRanges instead of MeasureString to figure out the
  526. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  527. two-step.
  528. 2006-07-04 Jackson Harper <[email protected]>
  529. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  530. XKB or key auto repeat, do it manually. Without key auto repeat,
  531. when a key is held down we get key press, key release, key press,
  532. key release, ... with auto repeat we get key press, key press, key
  533. press ..., and then a release when the key is actually released.
  534. 2006-07-03 Jackson Harper <[email protected]>
  535. * TabControl.cs:
  536. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  537. rules, they are always control color regardless of the background
  538. color.
  539. 2006-07-02 Alexander Olk <[email protected]>
  540. * FileDialog.cs: Added internal class MWFConfig.
  541. Removed Registry support and replaced it with support for the new
  542. MWFConfig class. See MWFConfig comments for more information.
  543. 2006-06-30 Alexander Olk <[email protected]>
  544. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  545. rectangle. Added some patches from eno from bug #78490 and fixed
  546. the arrow position for small up and down CPDrawScrollButtons.
  547. 2006-06-30 Jackson Harper <[email protected]>
  548. * InternalWindowManager.cs: Remove some debug code.
  549. * Form.cs: When an MdiParent is set to null, the window is
  550. "detatched" and becomes a normal window.
  551. * MdiClient.cs: Don't bring the new child form to the front until
  552. it is activated (setting it as active does this), this makes the
  553. previously active forms titlebar get redrawn as inactive.
  554. 2006-06-29 Peter Dennis Bartok <[email protected]>
  555. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  556. with later controls
  557. 2006-06-29 Mike Kestner <[email protected]>
  558. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  559. arrow in keynav state. Fixes #78682.
  560. 2006-06-28 Atsushi Enomoto <[email protected]>
  561. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  562. order (fixes #78393)
  563. 2006-06-28 Jonathan Pobst <[email protected]>
  564. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  565. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  566. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  567. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  568. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  569. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  570. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  571. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  572. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  573. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  574. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  575. values)
  576. 2006-06-28 Mike Kestner <[email protected]>
  577. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  578. 2006-06-28 Atsushi Enomoto <[email protected]>
  579. * PropertyGrid.cs,
  580. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  581. item lines from other area (It also makes BackColor consistent and
  582. compatible with .NET). Fixed bug #78564.
  583. 2006-06-28 Jonathan Chambers <[email protected]>
  584. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  585. Patch from Eno for #78555.
  586. 2006-06-27 Chris Toshok <[email protected]>
  587. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  588. * DataGridColumnStyle.cs: same.
  589. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  590. * DataGridDrawingLogic.cs: nuke.
  591. 2006-06-27 Chris Toshok <[email protected]>
  592. * DataGridTableStyle.cs: clean up the constructors, and build the
  593. list of child relations for this table. I have no idea if this is
  594. where we should be doing it (it probably isn't), but since we're
  595. already iterating over the properties..
  596. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  597. struct and array for keeping track of row information, similar to
  598. what's shown in a hack on
  599. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  600. * Theme.cs: be consistent about the naming of DataGrid methods,
  601. prefering ColumnWidths and RowHeights over columnsWidths and
  602. RowsHeights.
  603. * ThemeWin32Classic.cs: same, and also add support for variable
  604. sized rows (and the +/- expansion icons for related rows).
  605. 2006-06-27 Peter Dennis Bartok <[email protected]>
  606. * TextBoxBase.cs: Applied Eno's patch from #78660
  607. 2006-06-27 Peter Dennis Bartok <[email protected]>
  608. * Form.cs (ScaleCore): We don't want to scale our form if it's
  609. state is minimized or maximized, but we still need to scale our
  610. child windows. Also, added try/finally block to ensure layout
  611. gets reset (Fixes #78697)
  612. 2006-06-27 Peter Dennis Bartok <[email protected]>
  613. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  614. 2006-06-27 Peter Dennis Bartok <[email protected]>
  615. * Form.cs: Fixed c+p error and added check to resize form if minimum
  616. size is bigger than current size (Fixes #78709)
  617. 2006-06-26 Peter Dennis Bartok <[email protected]>
  618. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  619. 2006-06-26 Mike Kestner <[email protected]>
  620. * ComboBox.cs: only do Keypress handling in the combo when there
  621. are items in the collection. Fixes #78710.
  622. 2006-06-26 Chris Toshok <[email protected]>
  623. * Binding.cs: make this work bi-directionally. also, clear up
  624. other mixups between Push/Pull Data (e.g. we're supposed to pull
  625. data when validating).
  626. * BindingManagerBase.cs: trim some fully qualified collection
  627. types.
  628. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  629. 2006-06-23 Chris Toshok <[email protected]>
  630. * PropertyManager.cs: It appears (according to the unit tests)
  631. that PropertyManager doesn't use
  632. PropertyDescriptor.AddValueChanged to track propery value changes
  633. in its datasource, but uses the same scheme as Binding, where it
  634. looks for a <Property>Changed event and binds to it.
  635. Also, according to the docs, IsSuspended always returns false for
  636. a property manager with a non-null datasource.
  637. 2006-06-22 Peter Dennis Bartok <[email protected]>
  638. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  639. need to update the actual DialogResult. (Fixes #78613)
  640. 2006-06-22 Peter Dennis Bartok <[email protected]>
  641. * Form.cs (ShowDialog): Release any captures before running the
  642. new message pump (fixes #78680)
  643. 2006-06-22 Mike Kestner <[email protected]>
  644. * ListView.cs: Layout column widths properly in details mode even
  645. if HeaderStyle.None is set. Fixes #78691.
  646. 2006-06-21 Peter Dennis Bartok <[email protected]>
  647. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  648. 2006-06-21 Peter Dennis Bartok <[email protected]>
  649. * Control.cs (ContainsFocus): Using new driver method to get focused
  650. window, instead of trying to use internal tracking var, which can
  651. recursion issues (Fixes #78685)
  652. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  653. XplatUIWin32.cs: Added GetFocus method to return focused window
  654. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  655. * ColorDialog.cs: when the mouse button is pressed inside the color
  656. matrix, don't let the cursor move out of it until the button is
  657. released, which is the behavior on windows. Changed 'colours' by
  658. 'colors' to use the same word consistently.
  659. 2006-06-21 Chris Toshok <[email protected]>
  660. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  661. child relation and back, using a stack). Also, remove
  662. GetDataSource and the code that calls it - it's not needed. Also,
  663. track CurrencyManager.ListName's removal.
  664. 2006-06-21 Chris Toshok <[email protected]>
  665. * CurrencyManager.cs: push some of the original type checking from
  666. BindingContext.CreateBindingManager to here, and remove some of
  667. the finalType stuff. Need more tests to make sure I've got the
  668. ListName part right, and we might need more in SetDataSource.
  669. * PropertyManager.cs: add a ctor that takes just the datasource,
  670. and no property name. Make SetDataSource work with a null
  671. property_name, and make Current return the data_source if the
  672. property descriptor is null. this makes 'string foo = "hi";
  673. BindingContext[foo].Current' return "hi" as it should.
  674. * RelatedCurrencyManager.cs: make this code more generic - there's
  675. no reason the parent manager has to be CurrencyManager, and
  676. there's no reason to pass the DataRelation. It suffices to use a
  677. BindingManagerBase and PropetyDescriptor.
  678. * RelatedPropertyManager.cs: make a similar change here.
  679. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  680. flower I knew it could be.
  681. 2006-06-20 Chris Toshok <[email protected]>
  682. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  683. data in the source has changed and we need to update the control,
  684. so s/PullData/PushData.
  685. * CurrencyManager.cs: Refresh is meant to update the control from
  686. data in the datasource. So, s/PullData/PushData.
  687. * BindingContext.cs: add more ugliness (we weren't handling the
  688. case where data_source = DataTable and data_member = column_name).
  689. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  690. from the perspective of the datasource. PullData pulls from the
  691. control, PushData pushes to the control.
  692. 2006-06-20 Chris Toshok <[email protected]>
  693. * BindingContext.cs: rewrite the CreateBindingManager code to
  694. handle navigation paths more or less properly. This could
  695. definitely stand some more work, in particular to push the
  696. recursion up to the toplevel. But that relies on fixes in other
  697. places (System.Data comes to mind).
  698. Also, move to a flat hashtable (and encode the twolevel nature of
  699. the dictionary into the hash key). This lets us implement the
  700. IEnumerable.GetEnumerator method.
  701. * RelatedCurrencyManager.cs: new class. Update our view based on
  702. our relation and our parent CurrencyManager's position.
  703. * CurrencyManager.cs: split out some logic from the ctor into
  704. SetView, so it can be called from the new RelatedCurrencyManager
  705. subclass.
  706. * RelatedPropertyManager.cs: new class. Update our datasource
  707. based on the position of our parent CurrencyManager.
  708. * PropertyManager.cs: split out some logic from the ctor into
  709. SetDataSource, so it can be called from the new RelatedDataSource
  710. subclass. Also, make the Current getter return the value
  711. of the PropertyDescriptor, not the data_source.
  712. * Binding.cs: no need to duplicate the string splitting code here.
  713. 2006-06-19 Peter Dennis Bartok <[email protected]>
  714. * Control.cs:
  715. - set_Enabled: OnEnabledChanged is not called if the inherited state
  716. of the control is not altered, even though we might be changing the
  717. internal state of the control (#78458)
  718. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  719. OnEnabledChanged, to allow easy altering of any child window state
  720. - OnEnabledChanged: Added code to enable/disable driver window state
  721. - OnParentEnabledChanged: Instead of firing the event, call
  722. OnEnabledChanged, which will fire the event and also a) set driver
  723. window state and pass the enabled state to any grandchildren (#78458)
  724. 2006-06-19 Jackson Harper <[email protected]>
  725. * InternalWindowManager.cs: We don't set the cursor explicitly
  726. thats done via the response to NCHITTESTs.
  727. - Don't need to adjust for titlebar heights anymore, the
  728. coordinates are coming in the correct coordinates now (see peters
  729. last patch).
  730. 2006-06-19 Peter Dennis Bartok <[email protected]>
  731. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  732. being translated relative to whole window, instead of client window.
  733. That caused broken offsets on mouseclick (and caused gas for our
  734. InternalWindowManager)
  735. 2006-06-15 Peter Dennis Bartok <[email protected]>
  736. * TextControl.cs:
  737. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  738. - Undo(): Added replay of cursor move on DeleteChars action; added
  739. calling Undo() again if a recorded cursor move is invalid (to
  740. ensure that some action is performed on Undo)
  741. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  742. 2006-06-16 Jackson Harper <[email protected]>
  743. * MdiClient.cs: Instead of just sizing maximized windows when
  744. there is a resize we also have to adjust the Y of minimized
  745. windows, so they stay pinned to the bottom of the mdi container.
  746. - Eliminate separate tracking of the active control, we can just
  747. get this from the controls collection.
  748. - Paint the decorations for the newly activated titlebar so we get
  749. a pretty blue bar.
  750. * InternalWindowManager.cs:
  751. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  752. even if they are a tool window.
  753. 2006-06-15 Peter Dennis Bartok <[email protected]>
  754. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  755. undo buffer, these can happen when text was deleted and the cursor
  756. was recorded first. Since we will also have a recorded cursor
  757. after the delete this is not an issue. (Fixes #78651)
  758. 2006-06-14 Peter Dennis Bartok <[email protected]>
  759. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  760. instead properly track control states internally (allows us to
  761. remove is_selected from Control)
  762. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  763. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  764. whose width is not a multiple of 8.
  765. 2006-06-13 Jackson Harper <[email protected]>
  766. * MdiClient.cs: Only maximize the next child if the current one
  767. is maximized.
  768. 2006-06-13 Chris Toshok <[email protected]>
  769. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  770. modified. Also, guard against grid or grid_drawing being null in
  771. Invalidate.
  772. * DataGrid.cs: Reformat tons of getters/setters. In the
  773. DataMember setter, just call SetNewDataSource instead of
  774. duplicating some of its functionality. In SetNewDataSource, don't
  775. check ListManager for null, since the property getter creates the
  776. object if needed.
  777. * DataGridTableStyle.cs: don't set TableStyle or call
  778. SetDataGridInternal on the column here, it's done in
  779. GridColumnStylesCollection.Add.
  780. * GridColumnStylesCollection.cs: fix all the explicit interface
  781. implementations to just call our methods. Nuke AddInternal() and
  782. move the body of it to Add(). Also, add a call to
  783. column.SetDataGridInternal to Add().
  784. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  785. base()+duplicate code. Also, use the Format property instead of
  786. format to generate an Invalidate ala MS. Lastly, create the
  787. textbox here, unconditionally.
  788. (set_Format): call Invalidate.
  789. (get_TextBox): no need to call EnsureTextBox.
  790. (Commit): remove the message box.
  791. (Edit) remove the call to EnsureTextBox.
  792. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  793. (EnterNullValue): no need to check textbox for null.
  794. (HideEditBox): no need to check textbox for null.
  795. (SetDataGridInColumn): add the textbox to the grid's controls.
  796. (EnsureTextBox): nuke.
  797. 2006-06-13 Jackson Harper <[email protected]>
  798. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  799. and redraw the buttons when needed. Unhook when the window is
  800. unmaximized.
  801. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  802. needs this so that it can redraw its buttons when the menu is
  803. repainted.
  804. * InternalWindowManager.cs:
  805. * Form.cs: The method order has changed for DrawMaximizedButtons,
  806. so that it can be a PaintEventHandler.
  807. 2006-06-13 Jackson Harper <[email protected]>
  808. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  809. window is activated and maximized, even if it wasn't before.
  810. - When a new window is activated repaint the decorations of the
  811. old one, so that it no longer has the Active "look" (the blue
  812. titlebar).
  813. * InternalWindowManager.cs: Open up CreateButtons to base classes
  814. so they can recreate the buttons on state changes.
  815. - If a window is maximized give it all three buttons
  816. * MdiWindowManager.cs: Create the titlebar buttons when the state
  817. is changed, this is needed because a toolwindow will not have all
  818. three buttons until it is maximized.
  819. 2006-06-13 Atsushi Enomoto <[email protected]>
  820. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  821. Fixed bug #78609.
  822. 2006-06-12 Jackson Harper <[email protected]>
  823. * KeysConverter.cs: Make sure we handle the Ctrl special case
  824. if its the only key.
  825. 2006-06-12 Jackson Harper <[email protected]>
  826. * Theme.cs: Add a method to get the size of a managed window
  827. toolbar button.
  828. * InternalWindowManager.cs: Remove the ButtonSize property, this
  829. should be retrieved from the theme.
  830. * MdiWindowManager.cs: Get the button size from the theme
  831. * ThemeWin32Classic.cs: Make the method to get the managed window
  832. titlebar button size public.
  833. - Handle the different button sizes of maximized toolwindows
  834. (should match any maximized window).
  835. - Get the titlebar height from the theme, not the WM (which gets
  836. it from the theme).
  837. 2006-06-12 Jackson Harper <[email protected]>
  838. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  839. event down to the mdi window manager.
  840. - Expose some extra stuff to base classes
  841. - Make sure to end the Capture on an NC Mouse up, so that we can
  842. get double clicks properly, and the sizing doens't stick.
  843. - When doing PointToClient contain it in the workable desktop
  844. area, this prevents windows from changing size when the cursor is
  845. pulled outside of the working area while sizing.
  846. * MdiWindowManager.cs: When we get a double click maximize the
  847. window.
  848. - Reset the cursor after handling mode changes.
  849. 2006-06-12 Peter Dennis Bartok <[email protected]>
  850. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  851. current desktop, instead of just assuming a 0, 0 origin. This
  852. is needed for our internal window manager, to know the top
  853. margin of the desktop
  854. 2006-06-12 Chris Toshok <[email protected]>
  855. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  856. we need this to get rid of the selected background in the bool
  857. column.
  858. (CancelEditing): move the ConcedeFocus call to above the Abort
  859. call. Also, set is_changing to false and invalidate the row
  860. header if we were changing before.
  861. (ProcessKeyPreviewInternal): remove, since noone outside this
  862. class calls it anymore. Roll the code into ProcessKeyPreview.
  863. (EndEdit): remove the internal version.
  864. (InvalidateCurrentRowHeader): make private.
  865. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  866. Keys.Escape handling (and with it the last call to
  867. DataGrid.EndEdit from outside the class.)
  868. 2006-06-12 Chris Toshok <[email protected]>
  869. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  870. (OnKeyPress): set isedit to true.
  871. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  872. already handled by the grid.
  873. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  874. right. ugh.
  875. (set_DataSource): SetDataSource always returns true, so stop
  876. putting it in an if statement.
  877. (EndEdit): get rid of some {}'s
  878. (ProcessGridKey): return true in case Keys.Escape.
  879. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  880. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  881. PositionChanged, stopped connecting to CurrentChanged.
  882. (GetDataSource): simplify this a bunch.
  883. (SetDataSource): change return type from bool to void.
  884. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  885. to this, and make sure we don't set ListManager.Position inside
  886. set_CurrentCell.
  887. (OnListManagerItemChanged): if we're passed an actual index,
  888. redraw that row.
  889. * CurrencyManager.cs (set_Position): don't call PullData here.
  890. 2006-06-09 Jackson Harper <[email protected]>
  891. * TreeNode.cs: Recalculate the visible order before doing the
  892. Expand/Collapse Below calls, because those calls generate an
  893. expose.
  894. - Reduce calls to the TreeView property, which is mildly expensive
  895. by using a local var.
  896. * Form.cs: Layout the MDI child windows when creating the parent
  897. form.
  898. - Don't use the internal constructor anymore
  899. * MdiClient.cs: use the parent form width/height (if available)
  900. when laying out the child windows, we do this because the
  901. mdiclient isn't docked yet when the initial layout is done.
  902. - Don't need an internal constructor anymore.
  903. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  904. * FileDialog.cs: handle access errors when trying to create a folder
  905. or changing to a directory. No need to initialize out parameters.
  906. 2006-06-08 Alexander Olk <[email protected]>
  907. * FileDialog.cs: Append a number when creating a new folder if the
  908. folder already exists (use parenthesis instead of square brackets)
  909. 2006-06-08 Alexander Olk <[email protected]>
  910. * FileDialog.cs:
  911. - Disabled registry support for windows and added better registry
  912. error checking for other systems (need to investigate why it
  913. works perfectly on my system)
  914. - If a folder already exist show an error MessageBox instead of
  915. trying to create an indexed name.
  916. - Fixed a non intentional typo.
  917. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  918. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  919. 2006-06-08 Alexander Olk <[email protected]>
  920. * FileDialog.cs: When creating a new folder don't crash if the
  921. folder already exists.
  922. 2006-06-08 Alexander Olk <[email protected]>
  923. * FileDialog.cs: Allmost a complete rewrite.
  924. - added a "virtual" file system that handles the differences
  925. between unix and windows file systems (especially the directory
  926. structure). Moved most of the directory and file handling code
  927. into the vfs.
  928. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  929. UnixFileSystem and FSEntry.
  930. - Recently used folder/directory, size, location and used file names
  931. (file name ComboBox) are now stored in the registry and get read
  932. before the dialog shows up (fixes part 6 of bug #78446).
  933. - Creation of new folders/directories is now possible (context menu
  934. or ToolBar). Added TextEntryDialog for this that fills in the gap
  935. until ListView.LabelEdit works.
  936. - Fixed cursor handling (bug #78527) and focus handling for
  937. PopupButtonPanel
  938. - Various "Search in" ComboBox enhancements. The content of the
  939. dropdown listbox now almost matches ms.
  940. - Changed the behaviour when the user switches to SpecialFolder
  941. Recent to show the ListView in View.Details.
  942. - Beside using the ToolBar to change the View property of the
  943. file ListView it is now possible to use the context menu too.
  944. 2006-06-08 Alexander Olk <[email protected]>
  945. * ComboBox.cs: Don't create a new ObjectCollection when an item
  946. gets inserted. Just insert the item in the existing object_items
  947. ArrayList.
  948. 2006-06-08 Jackson Harper <[email protected]>
  949. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  950. that the treeview and root node checks are done also, this fixes a
  951. regression i caused in the unit tests.
  952. 2006-06-07 Wade Berrier <[email protected]>
  953. * RichTextBox.cs: More ISO8859-1 -> unicode
  954. 2006-06-07 Mike Kestner <[email protected]>
  955. * ComboBox.cs : use items to hold highlight/selection so that
  956. collection insertions don't require synchronization.
  957. 2006-06-07 Jackson Harper <[email protected]>
  958. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  959. routine. We now always keep the sized edge at the cursor instead
  960. of computing movement and adjusting rects. There is one buglet
  961. with this method though when the cursor is moved over area that
  962. the window can not expand too (such as the toolbars on the desktop).
  963. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  964. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  965. here. Fixes crash on startup in AlbumSurfer.
  966. 2006-06-07 Peter Dennis Bartok <[email protected]>
  967. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  968. values
  969. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  970. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  971. statement to avoid calling XNextEvent which will block if another thread
  972. took the event that we were expecting. Fixes bug #78605.
  973. 2006-06-07 Mike Kestner <[email protected]>
  974. * ListView.cs : isolated checkbox clicking from the selection logic.
  975. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  976. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  977. * Form.cs: Check that the value passed to Form.DialogResult
  978. is a valid enum value.
  979. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  980. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  981. Computer'. Clicking it in the network view goes to 'My Computer'.
  982. Added CIFS filesystem type. Display the mount point of filesystems.
  983. Avoid duplicate mount points (happens for me with CIFS);
  984. 2006-06-06 Jackson Harper <[email protected]>
  985. * InternalWindowManager.cs: Draw the maximized windows buttons
  986. when resizing.
  987. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  988. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  989. all other dialogs. Fixes bug #78585.
  990. 2006-06-06 Mike Kestner <[email protected]>
  991. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  992. Only invalidate checkbox on checkstate changes to avoid flicker.
  993. * ListBox.cs : avoid unselect/select when clicking selected item.
  994. avoid reselection flicker for already multiselected items.
  995. Fixes #78382.
  996. 2006-06-06 Jackson Harper <[email protected]>
  997. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  998. the parent form so that the menu is removed if needed.
  999. 2006-06-06 Mike Kestner <[email protected]>
  1000. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  1001. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  1002. 2006-06-06 Mike Kestner <[email protected]>
  1003. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  1004. 2006-06-06 Jackson Harper <[email protected]>
  1005. * Control.cs: Use the property (instead of the field) to get the
  1006. default cursor so it is instantiated correctly.
  1007. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  1008. resizes so we need to manually repaint the window decorations here.
  1009. - Set the titlebar button locations as soon as they are created,
  1010. otherwise they are not set correctly on win32.
  1011. 2006-06-06 Chris Toshok <[email protected]>
  1012. * CurrencyManager.cs (set_Position): call PullData before
  1013. OnCurrentChanged.
  1014. (AddNew): after calling IBindingList.AddNew, update our
  1015. listposition, and call OnCurrentChanged/OnPositionChanged (without
  1016. calling PullData).
  1017. (OnCurrentChanged): remove the call to PullData from here.
  1018. (OnItemChanged): remove the call to PushData from here.
  1019. (OnPositionChanged): change the test from == null to != null to
  1020. match the other methods.
  1021. (ListChangedHandler): the grossest part of the patch. Implement
  1022. this such that it passes the unit tests in CurrencyManagerTest and
  1023. the output more or less matches that of MS's implementation.
  1024. 2006-06-06 Mike Kestner <[email protected]>
  1025. * ListView.cs : only update check state on single click.
  1026. * ThemeWin32Classic.cs : fix focus drawing for details view without
  1027. fullrowselect. Fixes #78454.
  1028. * XplatUIX11.cs : fix for double click emission.
  1029. 2006-06-05 Jonathan Chambers <[email protected]>
  1030. * PropertyGridView.cs : Applied Atsushi's patch to fix
  1031. font dialog bug (#78197).
  1032. 2006-06-05 Jackson Harper <[email protected]>
  1033. * TreeNode.cs: Compute the next node for expanding/collapsing
  1034. correctly. We now factor in nodes without a NextNode
  1035. correctly. (Fixes somes cases in nunit-gui).
  1036. * InternalWindowManager.cs: Set the bounds when updating the
  1037. virtual position of a tool window.
  1038. 2006-06-05 Chris Toshok <[email protected]>
  1039. * DataGrid.cs: rename cached_currencymgr to list_manager.
  1040. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  1041. some.
  1042. (CurrentRow, CurrentColumn): single accessors so we can make the
  1043. cursor movement code a lot easier to understand.
  1044. (CurrentRowIndex): implement this in terms of CurrentRow.
  1045. (BeginEdit): clean this up a bit.
  1046. (CancelEditing): sort out the is_editing/is_changing/is_adding
  1047. stuff a little.
  1048. (EndEdit): minor changes.
  1049. (OnKeyDown): add a comment about a (most likely) unnecessary
  1050. check.
  1051. (OnMouseDown): cancel editing when we click on a row header. And
  1052. use the CurrentRow setter, not CurrentCell.
  1053. (ProcessDialogKey): directly call ProcessGridKey.
  1054. (UpdateSelectionAfterCursorMove): factor out this common block of
  1055. code (it's used everywhere that we move the cursor by updating row
  1056. or column).
  1057. (ProcessGridKey): pretty substantial overhaul. Use the
  1058. CurrentRow/CurrentColumn properties to make the code a lot more
  1059. readable. Only use the CurrentCell property when we have to
  1060. modify both row and column at once. Tab behavior is still broken,
  1061. and Delete is untested.
  1062. (Select): if we have no selected rows, set selection_start to
  1063. @row.
  1064. (EditCurrentCell): rename EditCell this. It was only ever invoked
  1065. with CurrentCell as the arg, so drop the arg and rename it.
  1066. * DataGridColumnStyle.cs: clean up the constructors a little, and
  1067. drop CommonConstructor().
  1068. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  1069. actually get notified when the user hits it.
  1070. (ProcessKeyMessage): *substantially* simplify this method.
  1071. There's no reason (that I can see) for the textbox to be making
  1072. calls into the datagrid at all. Remove all of them but the ones
  1073. for Enter handling. those will take some more work.
  1074. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  1075. calling HideEditBox.
  1076. (HideEditBox): if we have an active textbox, render it invisible
  1077. without causing a re-layout of the datagrid.
  1078. 2006-06-05 Mike Kestner <[email protected]>
  1079. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  1080. collection changes by resetting it to Items[0]. Fixes #78587.
  1081. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  1082. * MessageBox.cs: if the height of the text is larger than the icon_size,
  1083. use that. Fixes bug #78575.
  1084. 2006-06-05 Jackson Harper <[email protected]>
  1085. * TreeView.cs: Fix line drawing when scrolling. To do this each
  1086. node is basically responsible for drawing its entire horizontal
  1087. area. When drawing a node it draws its parent node lines if
  1088. needed.
  1089. - Adjust the clip area to the viewport rectangle
  1090. - Fix Left/Right key handling to match MS. (It expand/collapses
  1091. and moves to parents/first child but does not move selection to
  1092. sibling nodes).
  1093. - Fix SetTop to work with new bound calculation code
  1094. - When scrollbars are no longer needed we need to reset scrolling
  1095. vars and recalculate the visible order so the redraw is correct
  1096. * TreeNode.cs: We can't expand/collapse nodes with no children.
  1097. 2006-06-03 John Luke <[email protected]>
  1098. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  1099. so the colors work without dev packages
  1100. 2006-06-02 Peter Dennis Bartok <[email protected]>
  1101. * Control.cs
  1102. - Select: Implemented to just use activate. Seems to match MS
  1103. behaviour closest. Documented to only do actual control walking
  1104. based on it's parameters if in a container control so I moved
  1105. the code there.
  1106. - Removed selection check logic from our internal Select() method
  1107. * ContainerControl.cs:
  1108. - Select: Moved selection logic from Control here, since MS documents
  1109. that containers obey the bool arguments. No longer calling base
  1110. 2006-06-02 Jackson Harper <[email protected]>
  1111. * TreeView.cs: If the selected node isn't changed when we get
  1112. focus update the previously selected node so that we see the
  1113. selection box.
  1114. 2006-06-02 Mike Kestner <[email protected]>
  1115. * ComboBox.cs: restructure grab and general mouse event handling.
  1116. Make the composite control raise mouse events like it was a single
  1117. control for leaves/enters/motion/up/down events. fix dropdown list
  1118. coordinate mangling and refactor it into the scrollbar subclass to
  1119. reduce code duplication. Fixes #78282 #78361 and #78457.
  1120. 2006-06-02 Mike Kestner <[email protected]>
  1121. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  1122. automatically in the Control.WndProc.
  1123. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  1124. * FileDialog.cs: fix crash when running SharpChess, which sets the
  1125. FilterIndex to 2 with only one Filter.
  1126. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  1127. * ToolBar.cs: add SizeSpecified property.
  1128. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  1129. try to figure out our real size, otherwise fallback to what the
  1130. container says.
  1131. 2006-06-01 Peter Dennis Bartok <[email protected]>
  1132. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  1133. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  1134. up the event
  1135. 2006-06-01 Mike Kestner <[email protected]>
  1136. * ListView.cs: revamp the focus management in ListView. It still
  1137. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  1138. better than not handling focus at all. Will revisit when pdb feels
  1139. the general focus handling is solid. Fixes #78526.
  1140. 2006-06-01 Jackson Harper <[email protected]>
  1141. * TreeView.cs: Set the default border style in the constructor.
  1142. - Move painting to use OnPaintInternal instead of capturing
  1143. WM_PAINT, this is the correct way of doing things
  1144. - UpdateBelow shouldn't invalidate the scrollbar area
  1145. - Cap the top on update below in case the node was above the top
  1146. of the viewport rectangle.
  1147. - ExpandBelow and Collapse below need to obey Begin/End Update.
  1148. * TreeNode.cs: Make is_expanded internal so the treenode
  1149. collection can change it without firing the whole event chain.
  1150. * TreeNodeCollection.cs: When clearing all the child nodes make
  1151. sure to recalc the visible order.
  1152. - Improve algo for remove the top node
  1153. 2006-06-01 Peter Dennis Bartok <[email protected]>
  1154. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  1155. SendMessage directly calling window procedures, which in turn might
  1156. call SetFocus()
  1157. 2006-06-01 Peter Dennis Bartok <[email protected]>
  1158. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  1159. has focus (works around X11 sending a FocusIn after our SetFocus)
  1160. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  1161. 2006-06-01 Alexander Olk <[email protected]>
  1162. * Mime.cs: Fix for the NET_2_0 build.
  1163. NameValueCollection needs StringComparer now.
  1164. 2006-05-31 Chris Toshok <[email protected]>
  1165. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  1166. return (via an out parameter) the starting X of the column.
  1167. (UpdateVisibleColumn): track change to FromPixelToColumn.
  1168. (HitTest): add a ColumnResize case here.
  1169. (DrawResizeLine): new function, probably poorly named.
  1170. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  1171. only need to keep one reference.
  1172. (set_ListManager): same.
  1173. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  1174. Also, add support for HitTestType.ColumnResize.
  1175. (OnMouseMove): add column resize behavior here, and change the
  1176. cursor to the correct one as we move around the datagrid.
  1177. (OnMouseUp): terminate the column resize if we're resizing.
  1178. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  1179. for the current cell.
  1180. (ConnectListManagerEvents): use cached_currencymgr.
  1181. (DisconnectListManagerEvents): fill this in, using
  1182. cached_currencymgr.
  1183. (SetCurrentCell): remove cached_currencymgr_events handling.
  1184. (SetDataMember): only call DisconnectListManagerEvents if
  1185. cached_currencymgr is != null.
  1186. (SetDataSource): same.
  1187. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  1188. cached_currencymgr.
  1189. 2006-05-31 Jackson Harper <[email protected]>
  1190. * BindingManagerBase.cs: Remove somedebug code that creeped into
  1191. SVN.
  1192. * TreeNode.cs: We get the indent level dynamically right now, so
  1193. don't track it as a member.
  1194. * TreeNodeCollection.cs: Make sure all nodes added to the list
  1195. have parents, treeviews/topnodes setup properly.
  1196. - Don't attempt to track indent level.
  1197. 2006-05-30 Jackson Harper <[email protected]>
  1198. * BindingContext.cs: Create the currency manager tables here.
  1199. This allows us to more easily create null tables (when bad data
  1200. members are used), and more easily create related currency
  1201. managers.
  1202. * CurrencyManager.cs: All the table creation stuff is done by the
  1203. binding context now.
  1204. - Current should throw an exception if listposition is -1.
  1205. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  1206. been bound yet.
  1207. 2006-05-30 Mike Kestner <[email protected]>
  1208. * ListView.cs: allow reexpansion of zero-width column headers.
  1209. Fixes #78528.
  1210. 2006-05-28 Chris Toshok <[email protected]>
  1211. * CurrencyManager.cs (get_Current): after the late binding
  1212. listposition = -1 fix, we need to guard against it here and return
  1213. null, otherwise we raise an exception (which is swallowed
  1214. elsewhere, and breaks datagrid databinding.)
  1215. 2006-05-26 Peter Dennis Bartok <[email protected]>
  1216. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  1217. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  1218. 2006-05-26 Jackson Harper <[email protected]>
  1219. * ControlPaint.cs:
  1220. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  1221. values, it's faster and it's all we care about (we don't care if
  1222. the names aren't equal).
  1223. * KeyboardLayouts.cs: Eliminate some dead code.
  1224. - Lazy init things
  1225. * X11Keyboard.cs: Lazy init keyboard detection.
  1226. - Cleanup access modifiers a little.
  1227. 2006-05-26 Peter Dennis Bartok <[email protected]>
  1228. * XplatUIX11.cs: Once again, attempting to get layout just right.
  1229. 2006-05-26 Peter Dennis Bartok <[email protected]>
  1230. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  1231. the sizes of each link section, that will result in sizes that
  1232. match DrawString's layout (Fixes #78391)
  1233. 2006-05-27 Alexander Olk <[email protected]>
  1234. * FileDialog.cs: If AddExtension property is true autocomplete the
  1235. extensions in SaveFileDialog correctly. Fixes bug #78453.
  1236. Set MyNetwork and MyComputer to "C:\" for windows. This should
  1237. fix part 8 of bug #78446 for now.
  1238. 2006-05-26 Chris Toshok <[email protected]>
  1239. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  1240. invalidate the current row header if we need to, but presumably
  1241. we'll invalidate the row corrsponding to the bounds or
  1242. editingControl.
  1243. (GridHScrolled): switch back to this method, as it's part of the
  1244. public api. *sigh*.
  1245. (GridVScrolled): same.
  1246. (OnMouseWheel): hack up something that more or less works. Call
  1247. GridHScrolled/GridVScrolled directly, instead of duplicating much
  1248. of their code here.
  1249. (EnsureCellVisibility): reinstate a bunch of this code, since we
  1250. can't just set the scrollbar Value and expect to do all the work
  1251. in the ValueChanged handler. Also, Call Update() after scrolling
  1252. in one direction so the other XplatX11.ScrollWindow call has the
  1253. proper stuff in the proper places.
  1254. (EditCell): set is_editing to true before calling .Edit.
  1255. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  1256. don't bother comparing first.
  1257. (OnKeyPress): call grid.ColumnStartedEditing before calling
  1258. base.OnKeyPress. this will set is_changing and invalidate the row
  1259. header if necessary.
  1260. (ProcessKeyMessage): for WM_CHAR messages, call
  1261. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  1262. and WM_KEYDOWN.
  1263. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  1264. it's done in the DataGrid.
  1265. (NextState): call grid.ColumnStartedEditing, which takes care of
  1266. invalidating the row header (and setting is_changing).
  1267. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  1268. here. it's done in the DataGrid.
  1269. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  1270. * Control.cs: allow changing the cursor when the mouse position is
  1271. out of bounds but Capture is set.
  1272. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  1273. linklabel but released somewhere else.
  1274. 2006-05-25 Jackson Harper <[email protected]>
  1275. * TreeView.cs: When we get focus if there is no selected node make
  1276. it the top node
  1277. - Remove some uneeded setup code from Draw.
  1278. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  1279. a new node is inserted make the new node the top.
  1280. * XplatUIX11.cs:
  1281. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  1282. be used (should be faster).
  1283. 2006-05-25 Chris Toshok <[email protected]>
  1284. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  1285. problem with the last commit.
  1286. 2006-05-25 Chris Toshok <[email protected]>
  1287. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  1288. need the invalidate call here, while scrolling right-to-left via
  1289. the left arrow key (i.e. moving the editing cell while scrolling).
  1290. * DataGrid.cs (.ctor): remove the initialization of
  1291. ctrl_pressed/shift_pressed. We no longer track them using key
  1292. up/down handlers, but by using Control.ModifierKeys. Also, switch
  1293. to using ValueChanged handlers on the scrollbars instead of
  1294. Scrolled event handlers. This simplifies a bunch of the scrolling
  1295. code.
  1296. (GridHValueChanged): rename from GridHScrolled, and change it to
  1297. work with the new event args.
  1298. (GridVValueChanged): same.
  1299. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  1300. (OnMouseWheel): actually scroll the datagrid. Don't change the
  1301. selected cell.
  1302. (ProcessGridKey): correct all the keyboard navigation stuff I
  1303. could find. Ctrl up/down/left/right/home/end work now.
  1304. (EnsureCellVisibility): correct method name spelling. Also,
  1305. simplify this a touch by not explicitly calling the
  1306. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  1307. scrollbar value.
  1308. (OnKeyUpDG): no need for this method now.
  1309. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  1310. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  1311. Fixes bug #78392.
  1312. 2006-05-25 Chris Toshok <[email protected]>
  1313. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  1314. r61019.
  1315. 2006-05-25 Peter Dennis Bartok <[email protected]>
  1316. * Application.cs: Moved setting of is_modal and closing to before
  1317. we create the control, to allow the event handlers called as a
  1318. result of creation affect closing. Also removed Gonzalo's previous
  1319. change to setting DialogResult, the behaviour has been moved to
  1320. Form.ShowDialog()
  1321. * Form.cs:
  1322. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  1323. handle it instead
  1324. - ShowDialog(): If no dialog result is set, we need to return Cancel
  1325. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  1326. the close is cancelled
  1327. 2006-05-25 Jackson Harper <[email protected]>
  1328. * StatusBar.cs: We only need to update the sizes of the other
  1329. panels when we have auto size contents. Also we are only updating
  1330. the contents of the panel, not the borders, so compensate for the
  1331. border width (TODO: get this width from the theme somehow).
  1332. * TreeView.cs: Scrollable is true by default
  1333. - Use invalidate instead of refresh where needed
  1334. - Factor the scrollable value into scrollbar updating
  1335. - Update the scrollbars if the Scrollable property is altered
  1336. - Update the selected node if its ImageIndex is changed
  1337. - Handle null nodes in UpdateNode (mainly so we don't have to
  1338. check if selected is null when updating it
  1339. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  1340. are factored into the visible count
  1341. - Use VisibleCount for clarity in the code
  1342. - When the font is changed we need to recurse through all the
  1343. nodes and invalidate their sizes
  1344. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  1345. * Application.cs: set the DialogResult to fixed when the main form is
  1346. hidden or destroyed while being modal.
  1347. 2006-05-25 Miguel de Icaza <[email protected]>
  1348. * Theme.cs: Use Tangoified messagebox icons.
  1349. (GetSizedResourceImage): Also cope with width = 0 and do not
  1350. trigger a warning in that case (0 means "give me your icon from
  1351. the resouce, no special size needed).
  1352. 2006-05-25 Peter Dennis Bartok <[email protected]>
  1353. * Application.cs: Leave runloop if the the main modal form is
  1354. hidden (fixes #78484)
  1355. 2006-05-25 Atsushi Enomoto <[email protected]>
  1356. * BindingContext.cs : reject null datasource in Contains() and
  1357. Item[].
  1358. * CurrencyManager.cs : check data_member validity when data_source
  1359. is dataset. When it is late binding, the initial position is -1.
  1360. 2006-05-24 Jackson Harper <[email protected]>
  1361. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  1362. inserted nodes that aren't visible. This changes the
  1363. max_visible_order which confuses scrollbar settings.
  1364. - Use the enumerator to get the prev node instead of duplicating
  1365. code.
  1366. * TreeView.cs: Use new method for setting scrollbar values
  1367. - Don't set the bounds every time the scrollbar is updated
  1368. - When updating below the root node use an invalidate instead of a
  1369. refresh to prevent the child controls (scrollbars) from being
  1370. refreshed. (UpdateBelow still needs to be reworked anyways).
  1371. - Reenable SetBottom now that visible orders are set correctly,
  1372. added some debug code incase we ever get bad values there again.
  1373. - Set the scrollbar max to 2 less then the max value, this
  1374. compensates for the max value being one above the node count, and
  1375. for scrollbars adding one extra "notch".
  1376. - When drawing image nodes if there is an imagelist we draw the
  1377. first image in the list if the supplied image index is out of the
  1378. image list's bounds.
  1379. 2006-05-24 Peter Dennis Bartok <[email protected]>
  1380. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  1381. we receive a size change from the WM (Fixes #78503)
  1382. 2006-05-24 Peter Dennis Bartok <[email protected]>
  1383. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  1384. rectangle (Fixes #78501)
  1385. 2006-05-24 Peter Dennis Bartok <[email protected]>
  1386. * ButtonBase.cs:
  1387. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  1388. as a bitfield.
  1389. - Fixed MouseMove to no longer switch pressed state unless the left
  1390. mouse button is pressed. Atsushi provided the original patch (#78485)
  1391. 2006-05-24 Jackson Harper <[email protected]>
  1392. * ScrollBar.cs: New internal methods that allow us to change a
  1393. couple values on the scrollbar (the most common case is maximum
  1394. and large change) without getting multiple invalidates.
  1395. 2006-05-24 Chris Toshok <[email protected]>
  1396. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  1397. (Edit): save off the original state in oldState, and set
  1398. grid.is_editing to true.
  1399. (OnKeyDown): abort editing if escape is pressed. also, call
  1400. NextState if space is pressed.
  1401. (OnMouseDown): call NextState.
  1402. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  1403. here. Also, only invalidate the row header once (on the initial
  1404. is_changing switch) to save on redraws.
  1405. 2006-05-24 Chris Toshok <[email protected]>
  1406. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  1407. if the value in the cell is different than it was before. This
  1408. keeps us from triggering a layout when we move around a datarid
  1409. with a highlighted cell.
  1410. (Edit): suspend layout when creating/positining the text box, and
  1411. resume passing false so we don't ever actually re-layout.
  1412. (ReleaseHostedControl): same.
  1413. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  1414. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  1415. control-key sequences should go to the datagrid - remove that
  1416. lock. Also, modify the conditions under which we move between
  1417. cells when moving the cursor within a cell, and remove the "this"
  1418. and "base" from field accesses. We weren't even consistent, given
  1419. they all were in the base class.
  1420. 2006-05-24 Atsushi Enomoto <[email protected]>
  1421. * Binding.cs : (.ctor)
  1422. An obvious NRE fix for BindingTest.CtorNullTest().
  1423. 2006-05-23 Chris Toshok <[email protected]>
  1424. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  1425. them between lines. This fixes some quirks editing cells in the
  1426. datagrid.
  1427. 2006-05-23 Jackson Harper <[email protected]>
  1428. * TreeView.cs: Use begin/end update when doing expand/collapse all
  1429. so that we don't get flicker on the scrollbar.
  1430. 2006-05-23 Jackson Harper <[email protected]>
  1431. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  1432. treenode calculations to be independant of the painting code. To
  1433. do this nodes track a visible order which is calculated by the
  1434. treeview.
  1435. - Call new methods for expanding/collapsing nodes. These methods
  1436. use scrollwindow so we don't have to update everything below the
  1437. node.
  1438. * TreeView.cs: Refactored drawing and scrolling code. We don't
  1439. need to update nodes when drawing anymore or calculate scrollbar
  1440. stuff.
  1441. - Added new methods for expanding/collapsing nodes. These methods
  1442. use ScrollWindow so as to not have to redraw all the nodes below.
  1443. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  1444. we add/remove nodes or sort.
  1445. - Handle removing the selected and the top node properly.
  1446. 2006-05-23 Chris Toshok <[email protected]>
  1447. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  1448. maybe this should actually happen in the datagrid code?
  1449. (EndEdit): no need to invalidate anything, given that
  1450. ReleaseHostedControl causes the datagrid to relayout, which
  1451. invalidates everything anyway.
  1452. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  1453. in SetCurrentCell).
  1454. (set_SelectionBackColor): call InvalidateSelection instead of
  1455. Refresh.
  1456. (set_SelectionForeColor): same.
  1457. (BeginEdit): Flesh this out a bit.
  1458. (CancelEditing): only do any of this if we're editing/adding.
  1459. (EndEdit): same.
  1460. (OnMouseDown): there's no need to cancel editing here, it's done
  1461. in SetCurrentCell.
  1462. (SetCurrentCell): only invalidate the current row header if it's a
  1463. different row than the new one.
  1464. (ShiftSelection): fix this to work like MS does.
  1465. (ResetSelection): factor out the invalidation of selected_rows to
  1466. InvalidateSelection.
  1467. (SetDataSource): cancel any editing that's going on.
  1468. * DataGridColumnStyle.cs
  1469. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  1470. call the non-interface version.
  1471. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  1472. header rectangle with the clip rectangle so we don't redraw the
  1473. entire header for just a small area. Gets rid of the last flicker
  1474. when horizontally scrolling.
  1475. (DataGridPaintRow): same.
  1476. 2006-05-23 Mike Kestner <[email protected]>
  1477. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  1478. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  1479. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  1480. Critical bug report.
  1481. 2006-05-23 Peter Dennis Bartok <[email protected]>
  1482. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  1483. and this fixes #78493
  1484. 2006-05-23 Miguel de Icaza <[email protected]>
  1485. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  1486. size is not found.
  1487. * FileDialog.cs: Do not change the background for the side bar as
  1488. it wont work nicely with the theme, and also reduces the artifacts
  1489. in rendering the icons (which I want to fix too).
  1490. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  1491. resources, not resgen resources.
  1492. (PlatformDefaultHandler): Pull images using the new API.
  1493. 2006-05-23 Peter Dennis Bartok <[email protected]>
  1494. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  1495. a reference to the hwnd and will not remove it unless there are
  1496. no pending exposures (fixes #78341)
  1497. * XplatUI.cs: Improved debug
  1498. 2006-05-23 Atsushi Enomoto <[email protected]>
  1499. * MenuAPI.cs : don't handle OnClick event when it was not the left
  1500. button. Fixed bug #78487.
  1501. 2006-05-23 Mike Kestner <[email protected]>
  1502. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  1503. prefer submenus to the top menu for item lookup, to avoid popping down
  1504. top-row items.
  1505. 2006-05-23 Alexander Olk <[email protected]>
  1506. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  1507. Graphics.FillRectangle as the visual results are really bad (even
  1508. on win). We now draw perfect arrows (and perfect shadows when the
  1509. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  1510. Pen.DashPattern to draw the dots of each line.
  1511. 2006-05-22 Alexander Olk <[email protected]>
  1512. * FileDialog.cs: Update the filename combobox when navigating through
  1513. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  1514. 2006-05-22 Mike Kestner <[email protected]>
  1515. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  1516. Fixes #78463.
  1517. 2006-05-22 Mike Kestner <[email protected]>
  1518. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  1519. requests. Fix a misspelled parameter and a copy paste exception error
  1520. in Select.
  1521. 2006-05-22 Peter Dennis Bartok <[email protected]>
  1522. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  1523. to get the same width/height (5/13) on X11 as the default font has on
  1524. win32. This means that our DefaultFont emSize is smaller than the
  1525. the MS SWF equivalent (even thought the width/height stays the same)
  1526. 2006-05-20 Jackson Harper <[email protected]>
  1527. * MdiClient.cs:
  1528. * MdiWindowManager.cs:
  1529. * InternalWindowManager.cs: Make sure to use the border width from
  1530. the theme.
  1531. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  1532. * PrintDialog.cs: Implements printer details
  1533. 2006-05-19 Alexander Olk <[email protected]>
  1534. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  1535. Fixes part 1 and 2 of bug #78446
  1536. 2006-05-19 Peter Dennis Bartok <[email protected]>
  1537. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  1538. instead of sticking to the first ever calculated value
  1539. 2006-05-19 Mike Kestner <[email protected]>
  1540. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  1541. PointToClient, since Capture is set. Fixes #78344.
  1542. 2006-05-19 Mike Kestner <[email protected]>
  1543. * ListView.cs: match MS behavior in Details view where items are not
  1544. drawn if Columns.Count == 0.
  1545. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  1546. Use a separate pen to draw the check, since changing the width affects
  1547. the box as well. Fixes #78454.
  1548. 2006-05-18 Miguel de Icaza <[email protected]>
  1549. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  1550. exception should throw the name of the invalid argument.
  1551. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  1552. there are no files listed.
  1553. 2006-05-18 Jackson Harper <[email protected]>
  1554. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  1555. up.
  1556. 2006-05-18 Peter Dennis Bartok <[email protected]>
  1557. * Control.cs: Brought back our old UpdateZOrder method as a private
  1558. function and switched our calls from UpdateZOrder to the new one.
  1559. This fixes the Paint.Net canvas disappearing bug.
  1560. 2006-05-18 Jackson Harper <[email protected]>
  1561. * Theme.cs:
  1562. * ThemeWin32Classic.cs:
  1563. * InternalWindowManager.cs: Move the drawing into the theme,
  1564. expose everything the theme should need from the window manager.
  1565. 2006-05-18 Peter Dennis Bartok <[email protected]>
  1566. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  1567. from the call to NativeWindow to avoid walking up the parent chain
  1568. further than needed (speeds up setting cursors and avoids setting
  1569. the wrong cursor if a parent has another cursor defined)
  1570. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  1571. the icon as hotspot, not what's contained as hotspot in the icon
  1572. file. This fixes the perceived drawing offset seen with Paint.Net
  1573. 2006-05-18 Peter Dennis Bartok <[email protected]>
  1574. * XplatUIX11.cs:
  1575. - Store the calculated rectangle in Hwnd object and use it when
  1576. setting the client size
  1577. - Force Toolwindows to always be type Dock, to ensure they're on top
  1578. 2006-05-18 Mike Kestner <[email protected]>
  1579. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  1580. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  1581. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  1582. Substantial refactoring to remove confusing nested classes. Coding
  1583. standard and Get+Set->property refactorings. Shift to index based
  1584. highlighting in ComboListBox instead of constantly using IndexOf and
  1585. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  1586. in FileDialog growth. Draw borders manually since Simple mode needs
  1587. to look like two independent controls. Make listbox border
  1588. conditional to DropDownStyle. Improved OwnerDraw support.
  1589. 2006-05-18 Sebastien Pouliot <[email protected]>
  1590. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  1591. Don't set the disposed graphics to null, so we can throw the "right"
  1592. exception if the graphics is reused later (added a flag to avoid
  1593. double disposing). Some behaviours are different under 2.0 and are
  1594. filled under bug #78448.
  1595. 2006-05-18 Peter Dennis Bartok <[email protected]>
  1596. * Control.cs: When double-buffering is enabled, we need to reset
  1597. our graphics context between paint calls. Otherwise, any
  1598. transformations and other alterations on the context will
  1599. become cumulative (#77734)
  1600. 2006-05-18 Mike Kestner <[email protected]>
  1601. * ListView.cs: do focused item selection like MS on clicks.
  1602. Rework focus handling for ItemControl so LostFocus invalidates as
  1603. well.
  1604. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  1605. the ListView ItemControl has focus.
  1606. 2006-05-17 Peter Dennis Bartok <[email protected]>
  1607. * XplatUIX11.cs: If client_window ends up being width or height zero
  1608. due to border settings, move it off window inside whole_window (#78433)
  1609. 2006-05-17 Alexander Olk <[email protected]>
  1610. * Mime.cs: Shrink the mime file cache correctly.
  1611. 2006-05-17 Alexander Olk <[email protected]>
  1612. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  1613. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1614. * XplatUIX11.cs (AddExpose): More sanity checks
  1615. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1616. * XplatUIX11.cs:
  1617. - AddExpose: Don't add expose ranges outside the size of our
  1618. window
  1619. - Cast opacity values to Int32 to avoid crashes with certain
  1620. values
  1621. - Added disabled code paths that protect against illegal cross-
  1622. thread painting (Developers.exe)
  1623. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1624. * ProgressBar.cs: Invalidate the control when it's resized
  1625. since block size is based on control size. (#78388)
  1626. 2006-05-16 Miguel de Icaza <[email protected]>
  1627. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  1628. of setting the incoming argument to the "reset" value, we set the
  1629. this.datamember to string.empty (before we were invalidating the
  1630. incoming data).
  1631. Fixes 78420
  1632. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1633. * Form.cs: Only apply transparency settings after the form
  1634. is created. (Fixes #77800)
  1635. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1636. * ApplicationContext.cs: Grab the HandleDestroyed event so
  1637. we know when to fire OnMainFormClosed
  1638. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1639. * Application.cs: Introduced sub-class to allow tracking of
  1640. threads and centralized triggering of the event mess for
  1641. ThreadExit, AppExit, etc.. (#76156)
  1642. 2006-05-16 Alexander Olk <[email protected]>
  1643. * MimeIcon.cs:
  1644. - Do not return a null icon index value for a mime subclass.
  1645. Instead try the main mime type class too.
  1646. - Seems that some newer distributions don't have a link to some
  1647. gnome default icons anymore. So check the default gnome dir too.
  1648. 2006-05-16 Jackson Harper <[email protected]>
  1649. * MdiClient.cs: Don't paint the parent background image if we have
  1650. our own background image.
  1651. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1652. * Control.cs:
  1653. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  1654. controls, all filled controls are supposed to overlap (#78080)
  1655. - UpdateZOrder is supposed to update the control's z-order in the
  1656. parent's z-order chain. Fixed to behave like that
  1657. - BringToFront: Removed obsolete code
  1658. - SendToBack: Simplyfied
  1659. - SetChildIndex: Trigger layout calculations when Z-order changes
  1660. since layout is done by z-order
  1661. 2006-05-16 Chris Toshok <[email protected]>
  1662. [ fixes bug #78410 ]
  1663. * DataGrid.cs (set_AlternatingBackColor): use
  1664. grid_drawing.InvalidateCells instead of Refresh().
  1665. (set_BackColor): call grid_drawing.InvalidateCells.
  1666. (set_BackgroundColor): use Invalidate instead of Refresh.
  1667. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  1668. invalidate the cell area.
  1669. 2006-05-15 Chris Toshok <[email protected]>
  1670. [ fixes bug #78011 ]
  1671. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  1672. on to DataGridPaintRow.
  1673. (DataGridPaintRow): take a clip argument, and only draw the cells
  1674. which intersect it. same with the not_usedarea.
  1675. * Theme.cs (DataGridPaintRow) add @clip parameter.
  1676. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  1677. XplatUI.ScrollWindow.
  1678. (ScrollToRow): same.
  1679. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  1680. with last column which was causing a gray swath to appear with the
  1681. XplatUI.ScrollWindow code.
  1682. 2006-05-15 Chris Toshok <[email protected]>
  1683. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  1684. use XplatUI.ScrollWindow.
  1685. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  1686. 2006-05-15 Peter Dennis Bartok <[email protected]>
  1687. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  1688. 2006-05-15 Peter Dennis Bartok <[email protected]>
  1689. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  1690. file since there are no equivalent X11 cursors
  1691. 2006-05-15 Atsushi Enomoto <[email protected]>
  1692. * MonthCalendar.cs : DateTimePicker should reflect selected date
  1693. on mouse*up*, not mouse*down*. Fixed originally reported part of
  1694. bug #76474.
  1695. 2006-05-15 Atsushi Enomoto <[email protected]>
  1696. * TabControl.cs : When argument index is equal or more than tab
  1697. count, just ignore. Fixed bug #78395.
  1698. 2006-05-15 Peter Dennis Bartok <[email protected]>
  1699. * Control.cs: Dispose all child controls when control is diposed (#78394)
  1700. 2006-05-14 Alexander Olk <[email protected]>
  1701. * ColorDialog.cs: Finally it is possible to select the color with
  1702. the text boxes
  1703. 2006-05-14 Alexander Olk <[email protected]>
  1704. * PrintDialog.cs: Fix typo
  1705. 2006-05-14 Alexander Olk <[email protected]>
  1706. * PrintDialog.cs: PrintDialog is not resizable
  1707. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  1708. color. Made some ToolBar drawing methods protected virtual.
  1709. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  1710. * PrintDialog.cs: Implementation of the PrintDialog
  1711. 2006-05-12 Chris Toshok <[email protected]>
  1712. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  1713. thumb, instead use MoveThumb. This has the side effect of making
  1714. most of the other thumb moving machinery use MoveThumb as well.
  1715. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  1716. need to actually invalidate the rectangle where the new thumb will
  1717. go.
  1718. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  1719. We force an Update() after, so it's not as fast as it could be,
  1720. but at least there's zero flicker and no droppings.
  1721. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  1722. (UpdateThumbPos): add another argument (dirty), which says whether
  1723. or not to calculate/add dirty regions which we later invalidate.
  1724. For cases where we know we're going to use MoveThumb, we pass
  1725. false for this. Otherwise, pass true.
  1726. 2006-05-12 Jackson Harper <[email protected]>
  1727. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  1728. the status bar.
  1729. 2006-05-12 Peter Dennis Bartok <[email protected]>
  1730. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  1731. and GetClipRegion methods and UserClipWontExposeParent property.
  1732. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  1733. overriding UserClipWontExposeParent property, setting to false, since
  1734. Win32 handles the required expose messages to draw our clipped parent
  1735. areas internally
  1736. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  1737. PaintEventStart to set the user clip region if set.
  1738. * Control.cs:
  1739. - Now internally tracking the Region for the control since we need to
  1740. store it if the handle is not yet created and only set it when it
  1741. becomes created. Before setting the region forced handle creation
  1742. - Added code to draw the parents underneath a user-clipped region
  1743. * Hwnd.cs: Added UserClip property
  1744. 2006-05-12 Chris Toshok <[email protected]>
  1745. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  1746. (set_Maximum): same.
  1747. (set_Minimum): same.
  1748. (set_SmallChange): same.
  1749. (OnMouseUpSB): remove the call to refresh when releasing the
  1750. thumb. We shouldn't need it.
  1751. 2006-05-12 Miguel de Icaza <[email protected]>
  1752. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  1753. AutoSize set to None, we do not need to relayout everything, we
  1754. just need to invalidate the current region.
  1755. (Draw): Do not draw the entire ClientArea, just redraw the
  1756. clip area being passed.
  1757. * MdiClient.cs: Make MdiClient constructor with the Form argument
  1758. internal.
  1759. 2006-05-12 Jackson Harper <[email protected]>
  1760. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  1761. parents background image, but strangely not their own.
  1762. - (DrawStatusBarPanel): Take into account horizontal alignment
  1763. when drawing the strings and icons.
  1764. 2006-05-12 Mike Kestner <[email protected]>
  1765. * ListBox.cs: avoid invalidations for focus when the collection is
  1766. empty.
  1767. 2006-05-12 Chris Toshok <[email protected]>
  1768. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  1769. invalidate the entire thumb area. Call InvalidateDirty which
  1770. limits the redraw to the thumb itself and surrounding pixels.
  1771. * XplatUIX11.cs (ScrollWindow): optimize copying.
  1772. 2006-05-12 Chris Toshok <[email protected]>
  1773. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  1774. Figure out the positioning/layout in a single pass instead of
  1775. multiple recursive invocations. Speeds up the initial display of
  1776. the data grid. Also, make many things private that were
  1777. originally public but unused outside this class.
  1778. 2006-05-11 Jackson Harper <[email protected]>
  1779. * MdiClient.cs: Improved layout code.
  1780. 2006-05-11 Jonathan Chambers <[email protected]>
  1781. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  1782. not SelectedObject.
  1783. 2006-05-11 Chris Toshok <[email protected]>
  1784. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  1785. union of that will always be {0,0,width,height}.
  1786. 2006-05-11 Jackson Harper <[email protected]>
  1787. * Form.cs: Match MS's DefaultSize for forms (they must have
  1788. changed the size in sp2).
  1789. 2006-05-11 Atsushi Enomoto <[email protected]>
  1790. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  1791. 2006-05-11 Atsushi Enomoto <[email protected]>
  1792. * TextControl.cs : Fixed bug #78109. This incorrect position
  1793. comparison caused crash on automatic line split.
  1794. * TextBoxBase.cs : reduce duplicate code.
  1795. 2006-05-10 Jackson Harper <[email protected]>
  1796. * MdiClient.cs: Active form is only sent to the back when using
  1797. the Next form functionality, when a form is clicked the current
  1798. active shouldn't be sent to the back.
  1799. - Layout the mdi windows when the container is first made visible.
  1800. * Form.cs: Give the MdiClient a ref to the containing form when we
  1801. create it.
  1802. 2006-05-10 Atsushi Enomoto <[email protected]>
  1803. * LinkLabel.cs : link_font could be uninitialized, so populate one
  1804. before actual use. Fixed bug #78340.
  1805. 2006-05-10 Atsushi Enomoto <[email protected]>
  1806. * XplatUIX11.cs : clipboard format native value is IntPtr.
  1807. Fixed bug #78283.
  1808. 2006-05-10 Peter Dennis Bartok <[email protected]>
  1809. * Control.cs:
  1810. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  1811. which is passed up the parent chain by DefWndProc
  1812. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  1813. to DefWndProc (#77956)
  1814. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  1815. 2006-05-10 Jackson Harper <[email protected]>
  1816. * MdiClient.cs: We need to remove the controls from the mdi
  1817. collection, when we close the window.
  1818. * MdiWindowManager.cs: Special handling of closing mdi windows.
  1819. * InternalWindowManager.cs: Make the close method virtual so the
  1820. mdi window manager can handle it specially.
  1821. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  1822. * DataGrid.cs:
  1823. - Recalculate grid when the data source has changed
  1824. - Matches styles provided by user from all data sources types
  1825. * DataGridTableStyle.cs: For columns that provided by the user set the
  1826. with the preferred value is there was unassigned.
  1827. * CurrencyManager.cs: throw OnItemChanged event
  1828. 2006-05-10 Peter Dennis Bartok <[email protected]>
  1829. * PictureBox.cs: Don't animate until handle is created. Start animation
  1830. when handle is created.
  1831. 2006-05-10 Peter Dennis Bartok <[email protected]>
  1832. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  1833. current codebase.
  1834. * XEventQueue.cs: We don't need to provide the extra info
  1835. 2006-05-10 Jackson Harper <[email protected]>
  1836. * MdiClient.cs: If the mdi clients parent form has a background
  1837. image set, we draw that background image for the mdi area's
  1838. background.
  1839. 2006-05-10 Peter Dennis Bartok <[email protected]>
  1840. * TextBoxBase.cs: Set IBeam cursor (#78347)
  1841. 2006-05-10 Mike Kestner <[email protected]>
  1842. * ToolBar.cs: fix some text padding issues with ButtonSize
  1843. calculation. Update the default size to match MS documentation.
  1844. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  1845. button size. Fixes #78296.
  1846. 2006-05-10 Mike Kestner <[email protected]>
  1847. * ListBox.cs: use is_visible for scrollbar positioning in case the
  1848. control isn't on screen yet. Fix off by one with Right vs Width
  1849. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  1850. 2006-05-10 Jackson Harper <[email protected]>
  1851. * X11Dnd.cs: Drop to a control with another control on top of it.
  1852. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  1853. be modified in click handlers. TODO: Look for similar problems in
  1854. other controls.
  1855. 2006-05-09 Jackson Harper <[email protected]>
  1856. * Form.cs: Window managers need the old window state when setting
  1857. window state now.
  1858. * InternalWindowManager.cs: Allow the base mdi window manager to
  1859. handle more of the MDI only stuff (like maximize buttons).
  1860. * MdiWindowManager.cs: Fix some snafus in changing the window
  1861. state. Add all the menu functionality, for both popup and
  1862. maximized menus.
  1863. * MdiClient.cs: When a new form is selected the currently
  1864. activated form is sent to the back, this matches MS.
  1865. - Implement a new method to activate the next mdi child window.
  1866. 2006-05-08 Peter Dennis Bartok <[email protected]>
  1867. * Control.cs:
  1868. - Added new InternalCapture method to allow controls to prevent
  1869. the capture behaviour on the click handlers
  1870. - Switched to use InternalCapture
  1871. * ComboBox.cs:
  1872. - Using InternalCapture to prevent mouse captures from being released
  1873. on mouse button release (Fixes #78100)
  1874. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  1875. returns Form borders if a caption is present. (Fixes #78310)
  1876. 2006-05-08 Peter Dennis Bartok <[email protected]>
  1877. * TreeNode.cs: Changed serialization .ctor to not require every field
  1878. to be present. (#78265)
  1879. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  1880. 2006-05-05 Alexander Olk <[email protected]>
  1881. * MimeIcon.cs: for is faster than foreach for strings.
  1882. 2006-05-05 Mike Kestner <[email protected]>
  1883. * CheckedListBox.cs: update check handling code to not use selected.
  1884. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  1885. behavior for visual feedback, motion response, shift/ctrl handling,
  1886. and properly deal with all 4 selection modes. Updates to bounds
  1887. handling logic. Add scroll wheel support. [Fixes #77842]
  1888. 2006-05-05 Peter Dennis Bartok <[email protected]>
  1889. * ListView.cs:
  1890. - Moved adding of Implicit controls into .ctor. That way, subsequent
  1891. creation of the controls will not cause them to think they are
  1892. toplevel windows (fixes #78200 header problem)
  1893. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  1894. - Switched visibility setting of header control to use internal field
  1895. to avoid triggering handle creation
  1896. - Now checking if handle is created before causing a refresh when items
  1897. are added (This makes us now match handle creation time with MS)
  1898. * Splitter.cs: Removed loading of private splitter cursor, switched to
  1899. Cursors version now that that is loading the right ones
  1900. * Cursors.cs: Load proper splitter cursors from resources
  1901. * Cursor.cs: Added second method of loading resource cursors for the
  1902. VS.Net users amongst us
  1903. 2006-05-05 Mike Kestner <[email protected]>
  1904. * ListView.cs: give header_control a minimum size based on the
  1905. ListView size.
  1906. 2006-05-05 Peter Dennis Bartok <[email protected]>
  1907. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  1908. window seems to do that with metacity, so set that type. (#78120)
  1909. 2006-05-05 Mike Kestner <[email protected]>
  1910. * ListViewItem.cs: fix Details mode checkbox layout bug.
  1911. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  1912. at the end of the header, if it exists. [Fixes for #78200]
  1913. 2006-05-04 Jackson Harper <[email protected]>
  1914. * MdiClient.cs: Add a helper property to get the container form.
  1915. * MdiWindowManager.cs: We have to make sure to use the menu origin
  1916. when drawing the icons and buttons, this fixes maximized window
  1917. icons/buttons on win32.
  1918. * InternalWindowManager.cs: Reset the restore captions when a
  1919. window goes from Maximized to Minimized and vice versa. Move the
  1920. DrawMaximizedButtons into the MdiWindowManager source, tool
  1921. windows can't be maximized. NOTE: This could use a little
  1922. refactoring if time ever permits.
  1923. 2006-05-03 Jonathan Chambers <[email protected]>
  1924. * TextBox.cs: Add MWFCategoryAttributes
  1925. * TextBoxBase.cs: Add MWFCategoryAttributes
  1926. * Form.cs: Add MWFCategoryAttributes
  1927. 2006-05-03 Jonathan Chambers <[email protected]>
  1928. * Control.cs: Add MWFCategoryAttributes
  1929. * ScrollableControl.cs: Add MWFCategoryAttributes
  1930. 2006-05-03 Alexander Olk <[email protected]>
  1931. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  1932. Divider is true. Fix a little glitch in PropertyToolBar
  1933. drawing code
  1934. 2006-05-02 Peter Dennis Bartok <[email protected]>
  1935. * Control.cs:
  1936. - Dispose: Call base.Dispose, this causes the disposed event
  1937. to be fired (and probably other, more important stuff)
  1938. - SetVisibleCore: Set is_visible to true after creating the
  1939. window so that the window still gets created invisible (if
  1940. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  1941. to generate a WM_ACTIVE message
  1942. * Form.cs: Call Dispose when we want to destroy the window, instead of
  1943. just destroying the handle (Dispose will do that for us)
  1944. * XplatUIX11.cs:
  1945. - RootWindow also needs a queue, so we can properly process the
  1946. property change events from RootWindow (like Activate)
  1947. - Generatic synthetic WM_ACTIVE message when the active window is
  1948. being destroyed
  1949. 2006-05-01 Peter Dennis Bartok <[email protected]>
  1950. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  1951. bounds are changed
  1952. 2006-05-01 Peter Dennis Bartok <[email protected]>
  1953. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  1954. for determining width and height (image might not be assigned if
  1955. we're drawing an imagelist)
  1956. 2006-05-01 Peter Dennis Bartok <[email protected]>
  1957. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  1958. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  1959. height from system
  1960. * Theme.cs: No longer returns hardcoded menu height, instead calls
  1961. new driver method
  1962. * Form.cs (OnLoad): Scaling happens before triggering Load events
  1963. on MS (# 78257)
  1964. 2006-05-01 Mike Kestner <[email protected]>
  1965. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  1966. 2006-04-30 Peter Dennis Bartok <[email protected]>
  1967. * TextBoxBase.cs: Removed Fixme
  1968. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  1969. 2006-04-30 Peter Dennis Bartok <[email protected]>
  1970. * XplatUIX11.cs:
  1971. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  1972. the rectangle relative to the parent, considering borders. We
  1973. don't really want that.
  1974. - ScrollWindow: Fixed warning to be more understandable
  1975. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  1976. scrollbars and scroll only the visible area
  1977. * RichTextBox.cs: Removed debug output
  1978. 2006-04-29 Peter Dennis Bartok <[email protected]>
  1979. * NumericUpDown.cs (Text): Just use base
  1980. * UpDownBase.cs: Ensure txtView is created before using it
  1981. 2006-04-29 Peter Dennis Bartok <[email protected]>
  1982. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  1983. casting to IntPtr to avoid 64bit overflow errors
  1984. 2006-04-29 Peter Dennis Bartok <[email protected]>
  1985. * Control.cs:
  1986. - AllowDrop: Don't force handle creation.
  1987. - CreateHandle: Added call to tell driver if we're allowed to drop
  1988. 2006-04-27 Alexander Olk <[email protected]>
  1989. * FileDialog.cs: Remember the last directory not only for the
  1990. current instance but also for new FileDialog instances.
  1991. 2006-04-29 Peter Dennis Bartok <[email protected]>
  1992. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  1993. broke sending async messages
  1994. 2006-04-29 Peter Dennis Bartok <[email protected]>
  1995. * XplatUIX11.cs:
  1996. - ScrollWindow: Fixed method. We finally generate expose events again
  1997. for scrolled areas. This was causing 'garbage' when scrolling
  1998. textbox and other controls that used ScrollWindow
  1999. - Switched from using the regular queue for paint events to the MS
  2000. model of 'generating' paint events when the queue is empty.
  2001. We use the new XQueueEvent.Paint subclass to store which windows
  2002. need painting.
  2003. - AddExpose now takes the x/y/width/height of the exposed area
  2004. and inserts the window into the paint queue if not already there
  2005. - InvalidateWholeWindow: Switched to use new AddExpose method
  2006. - UpdateMessageQueue: Added which queue to monitor for paint events
  2007. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  2008. the unlikely case nothing above handles it. We reset the expose
  2009. pending states to get them off the queue.
  2010. - GetMessage: Now pulls a paint event if no other events are in the
  2011. queue
  2012. - Invalidate: Switched to new AddExpose method
  2013. - PeekMessage: Updated to understand pending paint events
  2014. - UpdateWindow: Fixed logic bug. We were only updating if the window
  2015. didn't need updating. Also switched to sending WM_PAINT directly,
  2016. like MS does.
  2017. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  2018. and random access Remove(). The random access is needed to handle
  2019. UpdateWindow() where a WM_PAINT is sent directly without accessing
  2020. the queue.
  2021. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  2022. allow for better feedback when scrolling. Scrollbars are small and
  2023. the immediate update should make it 'feel' more responsive without
  2024. slowing things down. ScrollBar still needs it's invaliate logic
  2025. updated to not always invalidate the whole bar on certain changes.
  2026. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  2027. * Control.cs:
  2028. (BackColor): if the control does not support a transparent background,
  2029. return the default backcolor when the parent backcolor is transparent.
  2030. 2006-04-28 Peter Dennis Bartok <[email protected]>
  2031. * Application.cs: Updated to new StartLoop/GetMessage API
  2032. * RichTextBox.cs: Provide some output on RTF parsing errors
  2033. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  2034. new queue_id argument to GetMessage and PeekMessage to allow faster
  2035. handling of per-thread queues in drivers.
  2036. * Hwnd.cs: Added Queue tracking and property
  2037. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  2038. * XEventQueue.cs: Added thread trackingA
  2039. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  2040. * XplatUIX11.cs:
  2041. - Implemented new per-thread queue
  2042. - GetMessage: Fixed return/break behaviour on several cases. We were
  2043. returning stale messages in some cases, instead of just processing
  2044. the next message
  2045. 2006-04-27 Jonathan Chambers <[email protected]>
  2046. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  2047. 2006-04-27 Peter Dennis Bartok <[email protected]>
  2048. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  2049. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  2050. 2006-04-27 Jonathan Chambers <[email protected]>
  2051. * PropertyGridView.cs: Fix drop down width.
  2052. 2006-04-27 Alexander Olk <[email protected]>
  2053. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  2054. a mess in DrawToolBar, so I removed one of them.
  2055. 2006-04-27 Alexander Olk <[email protected]>
  2056. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  2057. needed (clip). Otherwise we get artifacts.
  2058. 2006-04-26 Peter Dennis Bartok <[email protected]>
  2059. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  2060. dimension is fixed
  2061. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  2062. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  2063. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  2064. if it matches the scale base font (avoids unneeded scaling)
  2065. 2006-04-26 Alexander Olk <[email protected]>
  2066. * X11DesktopColors.cs: One gtk_init_check should be enough
  2067. 2006-04-26 Peter Dennis Bartok <[email protected]>
  2068. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  2069. match MS behaviour
  2070. 2006-04-26 Peter Dennis Bartok <[email protected]>
  2071. * TextBoxBase.cs:
  2072. - Generate OnTextChanged for Backspace even if we're only deleting
  2073. the current selection
  2074. - When setting the Text property, only select all text if the
  2075. control does not have focus when it is being set. Otherwise
  2076. just place the cursor at the beginning of the control
  2077. 2006-04-26 Alexander Olk <[email protected]>
  2078. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  2079. Added a little helper to draw PropertyGrid ToolBar with a different
  2080. border and a different BackColor.
  2081. * PropertyGrid.cs: Some background parts didn't get painted with the
  2082. correct background color. Added a class that helps us to draw the
  2083. correct border for PropertyGridView and a class that helps us to
  2084. draw ToolBars with a different backcolor
  2085. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  2086. 2006-04-25 Jonathan Chambers <[email protected]>
  2087. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  2088. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  2089. 2006-04-25 Peter Dennis Bartok <[email protected]>
  2090. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  2091. into the palette entries. Also, since we're working on a copy
  2092. we needed to copy the palette back onto the bitmap.
  2093. * Cursor.cs: Same fix as XplatUIWin32.cs.
  2094. 2006-04-25 Peter Dennis Bartok <[email protected]>
  2095. * ImageListStreamer.cs: Need to read the var (or we're off)
  2096. 2006-04-25 Peter Dennis Bartok <[email protected]>
  2097. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  2098. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  2099. TextBoxBase.cs: Unused var fixes
  2100. * AxHost.cs: Small 2.0 fix
  2101. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  2102. as it seems that is what at least Metacity expects. This will make
  2103. icons show up on 64bit platforms. We still have some 64bit size
  2104. issues, though, since the startup app window size still won't match.
  2105. 2006-04-25 Mike Kestner <[email protected]>
  2106. * *.cs: cleanup newly reported exception var unused warnings.
  2107. 2006-04-25 Alexander Olk <[email protected]>
  2108. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  2109. ms
  2110. 2006-04-25 Alexander Olk <[email protected]>
  2111. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  2112. image. The image position is always the same, no matter if the
  2113. button is pressed or not.
  2114. 2006-04-25 Alexander Olk <[email protected]>
  2115. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  2116. selection and set the correct filename for SaveFileDialog.
  2117. Patch by Emery Conrad.
  2118. 2006-04-24 Mike Kestner <[email protected]>
  2119. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  2120. check for item.X outside the ClientRect instead of item.Y. Fixes
  2121. #78151.
  2122. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  2123. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  2124. trust that value blindly and do some sanity check. Fixes bug #77814.
  2125. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  2126. * ImageListStreamer.cs: save the mask as a 1bpp image.
  2127. 2006-04-21 Mike Kestner <[email protected]>
  2128. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  2129. pass Checked and Indeterminate to the Theme Engine. Improve
  2130. encapsulation with ListBox.
  2131. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  2132. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  2133. nested types. Move all CheckState functionality to CheckedListBox.
  2134. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  2135. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  2136. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  2137. single base list. Fix scrollbar sizing and placement to mirror MS.
  2138. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  2139. used.
  2140. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  2141. for CheckedListBox by using new DrawItemState info. Center the
  2142. checkboxes on the items. Use new StringFormat property.
  2143. 2006-04-18 Jackson Harper <[email protected]>
  2144. * Form.cs: MdiChildren don't do default locations the same way as
  2145. regular forms. This prevents a crash when trying to position the
  2146. mdi windows.
  2147. 2006-04-17 Jonathan Chambers <[email protected]>
  2148. * PropertyGridTextBox.cs: Formatting, copyright
  2149. * PropertiesTab.cs: Formatting
  2150. * PropertyGrid.cs: Formatting
  2151. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  2152. click toggling of values
  2153. 2006-04-17 Peter Dennis Bartok <[email protected]>
  2154. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  2155. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  2156. every time a control is created
  2157. * Application.cs: Removed obsolete EnableRTLMirroring method
  2158. 2006-04-18 Gert Driesen <[email protected]>
  2159. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  2160. SelectedIndex to -1. Fixes bug #78121.
  2161. 2006-04-17 Jackson Harper <[email protected]>
  2162. * Binding.cs: Handle null values for Current and BindingContext.
  2163. This occurs when binding is a little delayed.
  2164. * CurrencyManager.cs: return null for Current when there are no
  2165. items in the list.
  2166. - Hookup to the listchanged event on the DataView and update
  2167. bindings when the list is changed. This fixes late binding of
  2168. controls.
  2169. 2006-04-17 Jackson Harper <[email protected]>
  2170. * X11Dnd.cs:
  2171. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  2172. Ringenbach.
  2173. 2006-04-15 Alexander Olk <[email protected]>
  2174. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  2175. place
  2176. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  2177. with the correct ButtonState
  2178. 2006-04-14 Peter Dennis Bartok <[email protected]>
  2179. * XplatUIX11.cs: Improved distinguishing between window types to
  2180. tell the WM a type closer to what the app wants (Fixes #78107)
  2181. 2006-04-14 Alexander Olk <[email protected]>
  2182. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  2183. GrabHandle
  2184. 2006-04-14 Alexander Olk <[email protected]>
  2185. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  2186. drawing code to reflect the size grip changes
  2187. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  2188. * ImageListStreamer.cs: fix handling of the mask that follows the main
  2189. bitmap when deserializing and serialize it properly. The generated mask
  2190. should better be a 1bpp image, but I'll do that later.
  2191. 2006-04-13 Alexander Olk <[email protected]>
  2192. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  2193. path doesn't fit into some of our Current.Places
  2194. 2006-04-13 Jackson Harper <[email protected]>
  2195. * ComboBox.cs: Use borders instead of drawing our own decorations,
  2196. try to obey correct rules for heights.
  2197. * Theme.cs:
  2198. * ThemeNice.cs:
  2199. * ThemeClearLooks.cs:
  2200. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  2201. this is now handled by borders.
  2202. - Remove unused DrawListBoxDecorationSize method.
  2203. 2006-04-13 Mike Kestner <[email protected]>
  2204. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  2205. reported by Alex.
  2206. 2006-04-13 Alexander Olk <[email protected]>
  2207. * ThemeWin32Classic.cs:
  2208. - Fixed CPDrawStringDisabled
  2209. - Corrected drawing of disabled menu items
  2210. - Fixed drawing of disabled radio buttons (bug #78095)
  2211. - Draw check in a disabled CheckBox with color ControlDark
  2212. 2006-04-12 Peter Dennis Bartok <[email protected]>
  2213. * Form.cs: Use the provided width when calculating the menu size;
  2214. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  2215. and ClientSize.Width won't be updated yet
  2216. * Application.cs: Use Visible instead of Show() to make form visible,
  2217. this way we create the handle later and menusize is considered
  2218. 2006-04-12 Mike Kestner <[email protected]>
  2219. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  2220. reporting.
  2221. 2006-04-12 Peter Dennis Bartok <[email protected]>
  2222. * TextBox.cs: Implemented context menu
  2223. 2006-04-12 Mike Kestner <[email protected]>
  2224. * ListView.cs: implement box selection. fixes #77838.
  2225. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  2226. 2006-04-12 Peter Dennis Bartok <[email protected]>
  2227. * XplatUIX11.cs: Added setting of window type when transient window
  2228. is created (metacity would move it otherwise)
  2229. * X11Structs.cs: Added WINDOW_TYPE atoms
  2230. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  2231. background (the control is Opaque but still wants transparent
  2232. backgrounds)
  2233. 2006-04-12 Peter Dennis Bartok <[email protected]>
  2234. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  2235. that set Opaque but don't mean it (like all ButtonBase-derived
  2236. controls) to still draw their background
  2237. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  2238. the background
  2239. 2006-04-12 Peter Dennis Bartok <[email protected]>
  2240. * Control.cs (PaintControlBackground): Set the graphics object
  2241. on our PaintEvent to null to prevent it from being disposed
  2242. when the PaintEvent gets disposed
  2243. 2006-04-12 Alexander Olk <[email protected]>
  2244. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  2245. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  2246. 2006-04-12 Peter Dennis Bartok <[email protected]>
  2247. * Control.cs:
  2248. - Added transparency check to BackColor property. Transparent
  2249. backgrounds are only allowed if the control styles permit it
  2250. - Added recursive painting of parent control background and
  2251. foreground if a control with a transparent backcolor is drawn
  2252. (Thanks to Tim Ringenback for providing his 'hack' as a base
  2253. for this patch) Fixes #77985 and #78026.
  2254. - Added Opaque style check before calling OnPaintBackground, no
  2255. need to draw the background if the control is opaque
  2256. - Removed ControlAccessibleObject owner variable (inherited from
  2257. base, no need to define again)
  2258. - Added some documentation links explaining the drawing events
  2259. and styles
  2260. 2006-04-11 Peter Dennis Bartok <[email protected]>
  2261. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  2262. that the affected control is the located at the left border of our
  2263. parent (Fixes #77936)
  2264. 2006-04-11 Peter Dennis Bartok <[email protected]>
  2265. * TextBoxBase.cs: When rendering disabled or readonly controls,
  2266. draw the background with 'Control' instead of 'Window' color as
  2267. long as the user hasn't specifically set a color
  2268. 2006-04-11 Peter Dennis Bartok <[email protected]>
  2269. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  2270. since that won't be updated if the user types text (only if it's
  2271. programatically set)
  2272. 2006-04-11 Peter Dennis Bartok <[email protected]>
  2273. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  2274. layout changes do to app-triggered resizes will have the proper
  2275. display rectangle for layout
  2276. 2006-04-11 Alexander Olk <[email protected]>
  2277. * ThemeWin32Classic.cs:
  2278. - Make use of the SystemBrushes and SystemPens wherever possible
  2279. - Corrected some highlight colors
  2280. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  2281. drawing
  2282. * Theme.cs: Added Empty field to CPColor struct
  2283. 2006-04-11 Peter Dennis Bartok <[email protected]>
  2284. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  2285. is displayed when calculating the display rectangle. Thanks to Mike
  2286. for teaching me the err of my ways.
  2287. 2006-04-10 Peter Dennis Bartok <[email protected]>
  2288. * ScrollableControl.cs:
  2289. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  2290. (instead of 0,0) and we now return the real width/height instead of
  2291. just the clientrectangle, adjusted for padding. The rectangle is
  2292. now cached and created by the new CalculateDisplayRectangle method.
  2293. - Created new CalculateDisplayRectange method, which basically does
  2294. what get_DisplayRectangle() did originally, but now using the
  2295. right edge instead of DisplayRectangle to determine the size of
  2296. our scrollbars
  2297. - get_Canvas(): Fixed it to properly calculate canvas for
  2298. right/bottom controls which seem to be placed to the right/bottom
  2299. of any controls that have a fixed location
  2300. - Removed TODO that's taken care of
  2301. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  2302. and SetDisplayRectLocation according to new MSDN2 docs
  2303. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  2304. event when that is called, this is added for compatibility
  2305. - ScrollControlIntoView(): Implemented.
  2306. - Switched scrollbars to be implicit, they shouldn't be selectable
  2307. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  2308. call it when the active control is set/changed
  2309. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  2310. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  2311. implicit_control variable (used for native Win32 message generation)
  2312. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  2313. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  2314. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  2315. * XplatUIStructs.cs: Added ScrollBarCommands enum
  2316. 2006-04-10 Jackson Harper <[email protected]>
  2317. * ButtonBase.cs:
  2318. * CheckedListBox.cs:
  2319. * ComboBox.cs:
  2320. * DataGrid.cs:
  2321. * DataGridView.cs:
  2322. * Form.cs:
  2323. * GroupBox.cs:
  2324. * ListBox.cs:
  2325. * PrintPreviewControl.cs:
  2326. * ProgressBar.cs:
  2327. * PropertyGrid.cs:
  2328. * Splitter.cs:
  2329. * StatusBar.cs:
  2330. * TrackBar.cs:
  2331. * UpDownBase.cs: Fixup base event overrides.
  2332. 2006-04-06 Mike Kestner <[email protected]>
  2333. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  2334. all user-initiated value changes to min <= value <= max-thumbsz+1.
  2335. (set_Value): check for vert/horiz when calculating new thumb position.
  2336. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  2337. like MS does.
  2338. (OnMouseMoveSB): refactor the thumb dragging code and refine
  2339. invalidation logic to reduce flicker.
  2340. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  2341. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  2342. (UpdateThumbPosition): small code readability cleanup
  2343. 2006-04-10 Alexander Olk <[email protected]>
  2344. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  2345. different
  2346. 2006-04-08 Alexander Olk <[email protected]>
  2347. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  2348. 2006-04-08 Alexander Olk <[email protected]>
  2349. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  2350. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  2351. This dramatically reduces the number of Pen.Dispose calls.
  2352. Where possible call ResPool methods only once instead of calling it
  2353. over and over again (for example for the same color).
  2354. 2006-04-06 Mike Kestner <[email protected]>
  2355. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  2356. Also remove an unused private field on the collection. Fixes #77972.
  2357. 2006-04-06 Alexander Olk <[email protected]>
  2358. * ThemeNice.cs: Added ToolBar drawing code
  2359. 2006-04-06 Mike Kestner <[email protected]>
  2360. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  2361. I'm assuming that means we need to look up the toplevel for the
  2362. provided control. Fixes the crash trace in #77911 but exposes another
  2363. crash in some strange reflection usage in NDocGui.
  2364. 2006-04-06 Alexander Olk <[email protected]>
  2365. * ThemeNice.cs: Gave it a little silver touch and added Images
  2366. method
  2367. * FontDialog.cs: FontDialog is not resizable
  2368. * FileDialg.cs: Added SizeGripStyle.Show
  2369. 2006-04-05 Jackson Harper <[email protected]>
  2370. * KeyboardLayouts.cs: Remove warning.
  2371. 2006-04-05 Jackson Harper <[email protected]>
  2372. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  2373. all of our controls instead of Paint +=.
  2374. * ListBox.cs:
  2375. * ListView.cs:
  2376. * MenuAPI.cs:
  2377. * MessageBox.cs:
  2378. * NotifyIcon.cs:
  2379. * ProgressBar.cs:
  2380. * ScrollBar.cs:
  2381. * Splitter.cs:
  2382. * StatusBar.cs:
  2383. * TabControl.cs:
  2384. * TextBoxBase.cs:
  2385. * ToolBar.cs:
  2386. * TrackBar.cs:
  2387. * UpDownBase.cs:
  2388. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  2389. use OnPaintInternal. Remove Width/Height and Visible checks in
  2390. paint handler, this is done at a higher level now.
  2391. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  2392. * PaintEventArgs.cs: Add a handled flag so controls that don't
  2393. want anymore painting after OnPaintInternal can make sure OnPaint
  2394. isn't called.
  2395. 2006-04-05 Mike Kestner <[email protected]>
  2396. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  2397. state of the form, so that we don't process events when Modal dialogs
  2398. are up. Fixes #77922.
  2399. 2006-04-05 Alexander Olk <[email protected]>
  2400. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  2401. checking is done.
  2402. 2006-04-05 Mike Kestner <[email protected]>
  2403. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  2404. 2006-04-05 Mike Kestner <[email protected]>
  2405. * ListView.cs (HeaderMouseMove): null guarding for the over column
  2406. when setting up the drag_to_index. Fixes #78015.
  2407. 2006-04-04 Peter Dennis Bartok <[email protected]>
  2408. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  2409. in the taskbar. Transient windows seem to accomplish that.
  2410. 2006-04-04 Peter Dennis Bartok <[email protected]>
  2411. * Form.cs:
  2412. - Re-enabled CreateParams.X/Y code for FormStartPosition
  2413. - Added code for manual placement when creating the Control
  2414. - Incomplete patch to treat MDI forms differently when
  2415. setting the ClientSizeCore. (Still need to figure out handling
  2416. x/y coords there)
  2417. * XplatUIX11.cs:
  2418. - When we're explicitly setting the X/Y position of a non-Child
  2419. window, let the WM know. Metacity really wants this.
  2420. 2006-04-04 Alexander Olk <[email protected]>
  2421. * ThemeNice.cs: Added CPDrawButton
  2422. 2006-04-04 Alexander Olk <[email protected]>
  2423. * ThemeNice.cs: Changed the color for focused buttons and activated
  2424. the arrows for small scroll buttons.
  2425. 2006-04-04 Alexander Olk <[email protected]>
  2426. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  2427. anymore. Changed some method modifiers to protected (virtual)
  2428. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  2429. changes
  2430. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  2431. Updated drawing of menus, buttons and progressbars; added
  2432. CPDrawBorder3D
  2433. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  2434. * ImageListStreamer.cs: implemented serialization/deserialization
  2435. of the images.
  2436. 2006-04-03 Alexander Olk <[email protected]>
  2437. * ThemeWin32Classic.cs:
  2438. - Removed all the DrawFrameControl stuff; CPDrawButton,
  2439. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  2440. inside the methods
  2441. - Updated and corrected the drawing code of CPDrawButton,
  2442. CPDrawCheckBox and CPDrawRadioButton to better match ms
  2443. - Updated theme checkbox and radiobutton code to use the CP*
  2444. methods
  2445. 2006-03-31 Peter Dennis Bartok <[email protected]>
  2446. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  2447. bug is fixed
  2448. 2006-03-31 Jackson Harper <[email protected]>
  2449. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  2450. sometimes.
  2451. * UpDownBase.cs: Don't CreateGraphics manually, use a
  2452. Refresh. Ideally we would invalidate the correct areas here.
  2453. 2006-03-31 Peter Dennis Bartok <[email protected]>
  2454. * XplatUIX11.cs:
  2455. - We now track the mapping state of windows. If a window (or
  2456. one of it's parents) is not mapped we no longer permit
  2457. WM_PAINT messages to be generated since we'd otherwise get
  2458. lots of BadMatch X errors. Jackson did all the work figuring
  2459. out the problem.
  2460. - Destroying the caret if the window it's contained in is
  2461. destroyed. Can't use regular DestroyCaret method since it
  2462. might fall into a drawing function (trying to remove the
  2463. caret) and with that generate new BadMatch errors. Again,
  2464. Jackson tracked this down.
  2465. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  2466. make sure we send the messages to all windows. (The old code
  2467. would send the WM_DESTROY to the window, and then all child
  2468. windows would be 'gone' because the WM_DESTROY handle lookup
  2469. would no longer find the destroyed window)
  2470. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  2471. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  2472. 2006-03-31 Jackson Harper <[email protected]>
  2473. * ScrollableControl.cs: Dont recalc if we are not visible.
  2474. 2006-03-31 Mike Kestner <[email protected]>
  2475. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  2476. the visibility branch.
  2477. 2006-03-31 Jackson Harper <[email protected]>
  2478. * ScrollBar.cs: Cap values when incrementing/decrementing.
  2479. 2006-03-31 Mike Kestner <[email protected]>
  2480. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  2481. * ToolTip.cs: guard against timer expirations with no active control.
  2482. Not sure why it happened.
  2483. 2006-03-31 Mike Kestner <[email protected]>
  2484. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  2485. text.
  2486. * ToolTip.cs: Position the tooltip based on where the cursor is at
  2487. popup time, not at MouseEnter time. Add a Down state so that we don't
  2488. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  2489. positioning offset. Lookup DisplaySize at positioning time, since it
  2490. can theoretically change during invocation.
  2491. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  2492. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  2493. 2006-03-31 Alexander Olk <[email protected]>
  2494. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  2495. Fixes behaviour when the Text property of the box is String.Empty
  2496. 2006-03-31 Peter Dennis Bartok <[email protected]>
  2497. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  2498. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  2499. a window)
  2500. 2006-03-31 Alexander Olk <[email protected]>
  2501. * FileDialog.cs: Visual enhancement for the popup buttons in
  2502. PopupButtonPanel
  2503. 2006-03-31 Alexander Olk <[email protected]>
  2504. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  2505. code
  2506. 2006-03-30 Alexander Olk <[email protected]>
  2507. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  2508. highlighted menu items to match ms
  2509. 2006-03-30 Peter Dennis Bartok <[email protected]>
  2510. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  2511. 2006-03-30 Mike Kestner <[email protected]>
  2512. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  2513. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  2514. go active to account for HotLight to Selected transition.
  2515. * MenuItem.cs: add internal Selected prop. Fill out the Status
  2516. property by calculating it from item info. Add HotLight,
  2517. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  2518. 2006-03-30 Mike Kestner <[email protected]>
  2519. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  2520. 2006-03-29 Jackson Harper <[email protected]>
  2521. * Form.cs: Implement TODO.
  2522. 2006-03-29 Peter Dennis Bartok <[email protected]>
  2523. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  2524. missing proper dialog setup in the constructor
  2525. 2006-03-29 Peter Dennis Bartok <[email protected]>
  2526. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  2527. * Control.cs:
  2528. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  2529. - Fixed ResetBindings and removed TODO
  2530. - Added check for cross-thread calls to get_Handle()
  2531. - Added Marshaller attribute for set_Font to satisfy class status
  2532. * FontDialog.cs: Removed TODOs that seemed implemented
  2533. * UpDownBase.cs: Removed unneeded TODO and Fixme
  2534. * MessageBox.cs: Implemented support for Default button and removed TODO
  2535. * FileDialog.cs: Removed obsolete TODO
  2536. * DomainUpDown.cs: Removed obsolete TODO
  2537. * ButtonBase.cs: Removed obsolete TODO
  2538. * XplatUIWin32.cs: Removed obsolete TODO
  2539. * Form.cs:
  2540. - Removed obsolete TODO
  2541. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  2542. internal status updates
  2543. - Making sure the active control is selected when the control is created
  2544. * CurrencyManager.cs: Removed obsolete TODO
  2545. 2006-03-29 Mike Kestner <[email protected]>
  2546. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  2547. of PrintPreviewDialog and RichTextBox.
  2548. 2006-03-29 Alexander Olk <[email protected]>
  2549. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  2550. DarkDark, Light and LightLight colors for a specific color
  2551. * ThemeWin32Classic.cs:
  2552. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  2553. Appearance = Button
  2554. - Make use of the new ResPool helper CPColor
  2555. - Draw ProgressBar and StatusBar with correct 3D borders
  2556. 2006-03-29 Alexander Olk <[email protected]>
  2557. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  2558. 2006-03-28 Mike Kestner <[email protected]>
  2559. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  2560. calculating col/row counts.
  2561. 2006-03-28 Mike Kestner <[email protected]>
  2562. * ColumnHeader.cs:
  2563. * ListView.cs:
  2564. * ListViewItem.cs:
  2565. * Menu.cs:
  2566. switch to explicit interface method implementation for some methods
  2567. corcompare identifies as inconsistent with MS.
  2568. 2006-03-28 Mike Kestner <[email protected]>
  2569. * MainMenu.cs:
  2570. * Menu.cs:
  2571. add a few missing methods from the class status output.
  2572. 2006-03-28 Alexander Olk <[email protected]>
  2573. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  2574. correct.
  2575. 2006-03-28 Mike Kestner <[email protected]>
  2576. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  2577. 2006-03-27 Mike Kestner <[email protected]>
  2578. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  2579. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  2580. 2006-03-27 Alexander Olk <[email protected]>
  2581. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  2582. 2006-03-25 Alexander Olk <[email protected]>
  2583. * ThemeWin32Classic.cs:
  2584. - GroupBox: Inserted a little gap between the text and the lines
  2585. on the right side
  2586. - Made the code in CPDrawBorder3D more readable
  2587. - Corrected the drawing location of the up and down arrows in
  2588. CPDrawScrollButton
  2589. 2006-03-25 Alexander Olk <[email protected]>
  2590. * ControlPaint.cs: Corrected line widths in DrawBorder for
  2591. ButtonBorderStyle Inset and Outset
  2592. 2006-03-25 Alexander Olk <[email protected]>
  2593. * ThemeWin32Classic.cs:
  2594. - Rewrote the totally broken CPDrawBorder3D method. That was
  2595. one of the main problems for the terrific ThemeWin32Classic
  2596. look
  2597. - Updated and corrected Button drawing
  2598. - Correct the dimensions of the SizeGrip to match ms ones
  2599. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  2600. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  2601. Border3DStyle.Sunken to match ms.
  2602. 2006-03-25 Alexander Olk <[email protected]>
  2603. * ThemeWin32Classic.cs: First small part of the "de-uglify
  2604. ThemeWin32Classic" effort, SizeGrip
  2605. 2006-03-24 Jackson Harper <[email protected]>
  2606. * XplatUIX11.cs: Give a max idle time of one second, this matches
  2607. MS and forces an Idle event every second when there are no other
  2608. events in the queue.
  2609. 2006-03-24 Mike Kestner <[email protected]>
  2610. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  2611. * ListView.Item.cs: fix layout issues with null image lists and images
  2612. smaller than checkbox size.
  2613. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  2614. mode like MS does. It's weird, but consistent. ;-)
  2615. Fixes #77890.
  2616. 2006-03-24 Mike Kestner <[email protected]>
  2617. * ListView.cs: Scroll wheel support for the item control. Fixes
  2618. #77839.
  2619. 2006-03-23 Jackson Harper <[email protected]>
  2620. * ScrollableControl.cs: Special case negative sized areas, not
  2621. zero.
  2622. * MonthCalendar.cs: Save the rect of the clicked date so we can
  2623. use it for invalidation.
  2624. - Try to cut down on the number of invalidates
  2625. - Invalidate the rect the mouse is over and was over when moving
  2626. the mouse, so we get the focus box following the cursor.
  2627. 2006-03-23 Mike Kestner <[email protected]>
  2628. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  2629. focus rectangle drawing. Fixes #77835.
  2630. 2006-03-23 Mike Kestner <[email protected]>
  2631. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  2632. the if and else if and reverting back to the original == check on the
  2633. None conditional.
  2634. 2006-03-23 Alexander Olk <[email protected]>
  2635. * FontDialog.cs: Update the example panel if the selected index of
  2636. the fontListBox changes.
  2637. 2006-03-23 Alexander Olk <[email protected]>
  2638. * FileDialog.cs: Make FileDialog remember which directory it was in
  2639. last in the same execution.
  2640. 2006-03-22 Mike Kestner <[email protected]>
  2641. * FileDialog.cs: make the DropDownMenu on the toolbar display
  2642. RadioChecks since they are mutually exclusive and that's what MS does.
  2643. 2006-03-22 Mike Kestner <[email protected]>
  2644. * Theme.cs: add Color param to CPDrawMenuGlyph.
  2645. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  2646. checks and radio marks and arrows are visible on highlighted items.
  2647. * ControlPaint.cs: update to use new Theme signature.
  2648. 2006-03-22 Mike Kestner <[email protected]>
  2649. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  2650. is active. Fixes #77870.
  2651. 2006-03-22 Alexander Olk <[email protected]>
  2652. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  2653. to be focused/selected after startup
  2654. 2006-03-22 Alexander Olk <[email protected]>
  2655. * ColorDialog.cs:
  2656. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  2657. CustomColors and ShowHelp properties
  2658. - Some internal rewrites to get better results when using the
  2659. ColorMatrix
  2660. 2006-03-22 Mike Kestner <[email protected]>
  2661. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  2662. HoverSelection. Fixes #77836.
  2663. 2006-03-22 Mike Kestner <[email protected]>
  2664. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  2665. ToggleButtons. (De)Sensitize the Back button around a stack count of
  2666. 1, not 0. Update ButtonSize based on a pixel count of the win32
  2667. control. Adjust the toolbar size/location for new button size.
  2668. 2006-03-22 Jackson Harper <[email protected]>
  2669. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  2670. true.
  2671. * ScrollBar.cs: When doing increments and decrements we need to
  2672. set the Value property so that ValueChanged gets raised. A
  2673. possible optimization here would be to make an internal SetValue
  2674. that doesn't invalidate immediately.
  2675. * ToolTip.cs: Tooltips get added to their container (when
  2676. supplied) so they get disposed when the container is disposed.
  2677. - Don't create tooltips for String.Empty. This prevents all these
  2678. little 2-3 pixel windows from showing up when running nunit-gui
  2679. and driving me mad.
  2680. * Form.cs: Don't set topmost when setting the owner if the handles
  2681. haven't been created yet. The topmost set will happen when the
  2682. handles are created.
  2683. 2006-03-22 Peter Dennis Bartok <[email protected]>
  2684. * XplatUIX11.cs:
  2685. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  2686. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  2687. visible (to allow them to recalculate their sizes)
  2688. 2006-03-21 Mike Kestner <[email protected]>
  2689. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  2690. methods. Removed a ton of redundant code. Still not really happy with
  2691. the border rendering, but I think that's mainly because of the
  2692. ControlDarkDark being black instead of a dark grey. Depending on how
  2693. close we want to be, we might want to revisit those color choices.
  2694. Among the new features added during the refactor were DropDownArrow
  2695. pressed rendering, Disabled image rendering. Proper flat appearance
  2696. boundary rendering. Removed the Divider and Wrapping dividers since I
  2697. can't figure out any combination of themes and conditions to make the
  2698. MS control draw a horizontal line on a toolbar despite what the
  2699. Divider property docs indicate.
  2700. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  2701. conditions and incorrect layout. Updated to coding standard.
  2702. * ToolBarButton.cs: refactored layout and positioning code from
  2703. ToolBar to here. Invalidate wherever possible instead of forcing
  2704. redraws of the whole toolbar.
  2705. (Known remaining issues: explicit ButtonSize smaller than provided
  2706. images.)
  2707. 2006-03-21 Mike Kestner <[email protected]>
  2708. * ContextMenu.cs (Show): use the position parameter instead of just
  2709. showing at the MousePosition.
  2710. 2006-03-21 Jackson Harper <[email protected]>
  2711. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  2712. control handle this.
  2713. * TreeNodeCollection.cs: If we are clearing the root node we need
  2714. to reset top_node so calcs can still happen.
  2715. * ThemeWin32Classic.cs: This is a Flags so we need to check
  2716. properly.
  2717. 2006-03-21 Jackson Harper <[email protected]>
  2718. * DataGrid.cs: Create columns when the binding context has been
  2719. changed.
  2720. * X11Structs.cs: Keysyms are uints.
  2721. - Add size to fix build.
  2722. 2006-03-21 Peter Dennis Bartok <[email protected]>
  2723. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  2724. XplatUIOSX.cs:
  2725. - Added ResetMouseHover method to allow controls to retrigger
  2726. hovering if they need it more than once
  2727. - Implemented MouseHoverTime and MouseHoverSize properties
  2728. * Timer.cs: Start() must reset the interval
  2729. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  2730. properties
  2731. 2006-03-21 Jackson Harper <[email protected]>
  2732. * X11Keyboard.cs: improved layout detection. Move the nonchar
  2733. tables into this file.
  2734. * KeyboardLayouts.cs: Move the tables into resource files.
  2735. 2006-03-21 Mike Kestner <[email protected]>
  2736. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  2737. 2006-03-21 Alexander Olk <[email protected]>
  2738. * Mime.cs: Various speed optimizations. Looking up mime types
  2739. is now 2 times faster than before
  2740. 2006-03-17 Peter Dennis Bartok <[email protected]>
  2741. * CreateParams.cs: Added internal menu field
  2742. * Control.cs:
  2743. - Switched call order for UpdateBounds; now we always call
  2744. the one that also takes ClientSize, and we're calculating the
  2745. client size via driver method in the others. The previous
  2746. method of tracking client size by difference wasn't working
  2747. for forms where even the starting client size wouldn't match
  2748. the overall form size (due to borders) (Part of fix for #77729)
  2749. - CreateParams(): Do not use parent.Handle unless the handle is
  2750. already created. Causes havoc with Nexxia and throws off our
  2751. creation of controls
  2752. * XplatUIX11.cs:
  2753. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  2754. - Switched handling of ConfigureNotify over to new PerformNCCalc
  2755. method (consolidates code)
  2756. - Changed RequestNCRecalc to use new PerformNCCalc method
  2757. - Added calls to RequestNCRecalc when menus and borders are changed
  2758. to allow app to set NC size. (Part of fix for #77729) This matches
  2759. when MS send a WM_NCRECALC on Win32 windows.
  2760. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  2761. (Part of fix for #77729). This matches what MS does, they also
  2762. send that message when the form is made visible.
  2763. - XException.GetMessage: Improved usability of X errors by including
  2764. a translation of the window into Hwnd and Control class
  2765. - Improved debug info for window creation, reparenting and destruction
  2766. - Created helper method WindowIsMapped() [Currently not used]
  2767. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  2768. * Form.cs:
  2769. - CreateParams: Now setting our menu on the new internal menu field
  2770. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  2771. avoid calculating the same property twice
  2772. * Hwnd.cs:
  2773. - Improved usability of ToString() for debugging purposes
  2774. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  2775. determine the height of the menu, instead of just the font. This
  2776. required to also create a graphics context and to keep a bmp
  2777. around (for performance reasons)
  2778. 2006-03-17 Peter Dennis Bartok <[email protected]>
  2779. * MenuAPI.cs: Added OnMouseUp method
  2780. * Form.cs:
  2781. - Now remembering the requested client size, avoids size errors
  2782. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  2783. instead of base if the menu is active. This is required due to
  2784. control now capturing and releasing on down/up and it would
  2785. prematurely release our menu capture
  2786. 2006-03-17 Jackson Harper <[email protected]>
  2787. * KeyboardLayouts.cs: Add the czech layouts.
  2788. 2006-03-16 Jackson Harper <[email protected]>
  2789. * Control.cs: Use the viewport space when sizing not the controls
  2790. client size, so things like ScrollableControl that effect the
  2791. viewport size (when scrollbars are added) are computed correctly.
  2792. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  2793. of ManagerEntrys.
  2794. - Handle creating BindingManagers for null data sources.
  2795. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  2796. source, otherwise when rows are added they are added to the 'fake'
  2797. datasource and we will crash when trying to set the position in
  2798. those rows.
  2799. - Use Implicit scrollbars on the datagrid so they arent
  2800. selectable.
  2801. 2006-03-16 Jackson Harper <[email protected]>
  2802. * Binding.cs:
  2803. * InternalWindowManager.cs:
  2804. * MdiWindowManager.cs:
  2805. * X11Keyboard.cs: I really want Mike to love me again (fix
  2806. compiler warnings).
  2807. 2006-03-16 Peter Dennis Bartok <[email protected]>
  2808. * DataGrid.cs:
  2809. - OnMouseDown: Switch to editing mode when clicking on the cell
  2810. even if we're clicking on the cell that's currently
  2811. selected
  2812. - ProcessGridKey: Left/Right now wrap like MS.Net does
  2813. - ProcessGridKey: Tab now knows to add a new row when tab is
  2814. pressed in the cell of the last column of the
  2815. last row
  2816. - ProcessGridKey: Enter now adds another row if pressed in the last
  2817. row and selectes the new row, same column cell
  2818. - ProcessGridKey: Home/End navigate columns, not rows, like
  2819. originally implemented
  2820. - Broke ProcessKeyPreview code out into an extra Internal method
  2821. so it can be called from the edit code
  2822. * DataGridTextBox.cs (ProcessKeyMessage):
  2823. - Switched to accept Tab keypresses
  2824. - Added F2 handling to allow jumping to the end of the edited cell
  2825. - Added logic to allow moving caret left/right inside edited cell
  2826. and making the edited cell jump when the caret hits cell borders
  2827. - Tab and Enter are now passed to the datagrid after being handled
  2828. * TextBoxBase.cs:
  2829. - Removed capture code now that Control handles it
  2830. - set_SelectionStart now ensures caret is visible
  2831. 2006-03-16 Jackson Harper <[email protected]>
  2832. * TrackBar.cs: Debackwards the increment/decrement for handling
  2833. mouse clicks on the bar with vertical trackbars.
  2834. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  2835. bottom to match MS.
  2836. 2006-03-16 Mike Kestner <[email protected]>
  2837. * ListView.cs: make shift/ctrl keyboard and mouse selection
  2838. consistent with the MS control. Fix a bug in
  2839. SelectedListViewItemCollection.Clear that was pissing me off for the
  2840. better part of a day because the collection was being altered
  2841. underneath us as we walked the list.
  2842. 2006-03-16 Peter Dennis Bartok <[email protected]>
  2843. * Control.cs: Not sure how we could miss this so long, but it seems
  2844. that MS.Net has Capture set all the way from before calling
  2845. OnMouseDown through sending the mouse events until after
  2846. OnMouseUp. This will fix DataGrid's selection being set to end
  2847. at the location of the MouseUp.
  2848. 2006-03-15 Jackson Harper <[email protected]>
  2849. * BindingContext.cs: Check the binding after its added so that it
  2850. can initialize the binding managers and hookup to events.
  2851. * Binding.cs: Data members seem to sometimes include rows/cols in
  2852. the format Row.Column we now take this into account.
  2853. - Hookup to the position changed event so we can update the
  2854. control when the position has changed in the data set.
  2855. * CurrencyManager.cs: Take into account the row/col naming
  2856. convention when creating dataset tables.
  2857. * BindingContext.cs: Using a newer better way of storing
  2858. datasource/datamember pairs. Hopefully this better matches MS for
  2859. looking up binding managers.
  2860. 2006-03-15 Jackson Harper <[email protected]>
  2861. * BindingContext.cs: The currency manager needs the data member
  2862. name, if the member is a data set we use the name to find the
  2863. correct table.
  2864. * CurrencyManager.cs: When creating the list prefer an IList over
  2865. an IListSource.
  2866. - Attempt to create a DataTable from a DataSet (TODO: might need
  2867. some better error checking here, although MS doesn't seem to have much)
  2868. - If we have a DataTable create a view and use it as our list.
  2869. 2006-03-15 Mike Kestner <[email protected]>
  2870. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  2871. keyboard navigation. Support Up/Down/Left/Right selection correctly
  2872. for all 4 View modes.
  2873. * ListViewItem.cs: add internal row/col fields for icon layouts.
  2874. 2006-03-15 Jackson Harper <[email protected]>
  2875. * TabControl.cs: Redraw the tabs when we resize so their newly
  2876. calculated sizes are drawn on screen.
  2877. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  2878. composite characters.
  2879. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  2880. - filter events so that composite characters can be created
  2881. patches by peter
  2882. * X11Structs.cs: Add XIMProperties enum.
  2883. 2006-03-14 Peter Dennis Bartok <[email protected]>
  2884. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  2885. unless it's created
  2886. 2006-03-14 Peter Dennis Bartok <[email protected]>
  2887. * Control.cs (PerformLayout): We don't need to consider visiblity
  2888. for anchoring, only for docking. This fixes 'whacky' alignment
  2889. in listbox and other controls that use implicit scrollbars after
  2890. the previous PerformLayout patch
  2891. * ListBox.cs: Switched to use implicit scrollbars
  2892. 2006-03-14 Mike Kestner <[email protected]>
  2893. * ToolBar.cs:
  2894. * VScrollBar.cs:
  2895. - chain up the "new event" overrides to base and use
  2896. OnEvent to raise them. Part of fix for bug #76509.
  2897. 2006-03-14 Alexander Olk <[email protected]>
  2898. * FileDialog.cs: Do not select an item in the parent directory
  2899. on backspace
  2900. 2006-03-14 Peter Dennis Bartok <[email protected]>
  2901. * Control.cs (PerformLayout): It would seem that we considered
  2902. invisible windows for our layout. Not quite the right thing
  2903. to do. Now we don't any longer, thereby fixing bug #76889.
  2904. 2006-03-14 Peter Dennis Bartok <[email protected]>
  2905. * Control.cs (CanFocus): I goofed. A control can have focus
  2906. even though it's not selectable. Made it match MS docs.
  2907. 2006-03-13 Peter Dennis Bartok <[email protected]>
  2908. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  2909. center by default (fixes #76895)
  2910. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  2911. all uses of Border3DSides.All with the explicit ORd together
  2912. Left|Right|Top|Bottom because I assume that nobody was aware
  2913. that All also implies a center fill. Most places I checked had
  2914. a fill right above.
  2915. * ProgressBarStyle.cs: Added
  2916. 2006-03-13 Mike Kestner <[email protected]>
  2917. * ListView.cs: fix breakage in drag shadow header positioning
  2918. from Peter's csc compilation fix.
  2919. 2006-03-13 Mike Kestner <[email protected]>
  2920. * ListView.cs: fix NRE produced by backspacing twice in a focused
  2921. FileDialog.
  2922. 2006-03-13 Mike Kestner <[email protected]>
  2923. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  2924. 2006-03-13 Peter Dennis Bartok <[email protected]>
  2925. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  2926. be changed
  2927. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  2928. the allowed size before making programmatic size changes
  2929. 2006-03-13 Peter Dennis Bartok <[email protected]>
  2930. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  2931. set, metacity is broken and will still use the emty sizes in
  2932. the struct. (Fix for #77089)
  2933. 2006-03-13 Peter Dennis Bartok <[email protected]>
  2934. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  2935. WindowExStyles and marked both enums as Flags
  2936. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  2937. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  2938. to match WindowStyles split
  2939. * XplatUIX11.cs:
  2940. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  2941. - Updated to match WindowStyles split
  2942. * XplatUIWin32.cs:
  2943. - Fixed FosterParent creation, was using ExStyle on the Style field
  2944. (This should help with Popup focus issues)
  2945. - Updated to match WindowStyles split
  2946. 2006-03-13 Jackson Harper <[email protected]>
  2947. * MdiWindowManager.cs: Use the system menu height. Fixes some
  2948. strange sizing issues.
  2949. 2006-03-12 Peter Dennis Bartok <[email protected]>
  2950. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  2951. * TextBoxBase.cs:
  2952. - Scroll to caret after inserting text (#77672)
  2953. - Make scroll range one pixel higher, fixes off-by-one error (and
  2954. makes underlines visible on the last line)
  2955. 2006-03-12 Peter Dennis Bartok <[email protected]>
  2956. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  2957. the keyboard state from being stuck with keys in 'pressed' state when
  2958. focus is switched away via keyboard
  2959. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  2960. reset the keyboard if no X11 KeyUp events are expected to come
  2961. * X11Structs.cs: Switched type of Visible to bool to match driver
  2962. 2006-03-12 Peter Dennis Bartok <[email protected]>
  2963. * TextControl.cs:
  2964. - Switched caret to be just 1 pixel wide, matches MS and looks less
  2965. clunky
  2966. - Moved caret display 1 pixel down from the top of the control
  2967. to improve view
  2968. - InsertCharAtCharet: Update the selection start if moving the caret
  2969. (fixes bug #77696; based on patch suggested by [email protected])
  2970. - No longer always creating the caret when the caret methods are
  2971. called. Only the actual ShowCaret/HideCaret will do that now
  2972. - Only setting caret visible if the owner control has focus
  2973. - UpdateView: Added invalidation-shortcut logic for center and right
  2974. aligned text. Previously we'd update all according to the left
  2975. logic which caused drawing errors. Also fixed height of invalidated
  2976. areas, now properly invalidating the whole area (was off-by-one)
  2977. - owner_HandleCreated: Always generate the document when the
  2978. handle is created; this ensures that
  2979. * TextBoxBase.cs:
  2980. - Fixed situation where caret would disappear under the right
  2981. window border, also improved scrolling behaviour on left-
  2982. aligned textboxes
  2983. - Fixed right-aligned textboxes to have a border to the
  2984. right instead of the caret being under the right border
  2985. * XplatUIX11.cs:
  2986. - Switched from 'nested' to simple visible/not visible tracking
  2987. for caret (part of fix for #77671)
  2988. - No longer passing through translated FocusIn/FocusOut messages
  2989. since we were notifying too often and the wrong windows. Instead
  2990. we just notify our focussed window of receiving or loosing focus
  2991. * XplatUIWin32.cs: Switched from 'nested' show/hide
  2992. counting for caret to simple visible yes/no behaviour (part of
  2993. fix for #77671)
  2994. 2006-03-11 Alexander Olk <[email protected]>
  2995. * Mime.cs: Remove debug code...
  2996. 2006-03-11 Alexander Olk <[email protected]>
  2997. * MimeGenerated.cs: Removed
  2998. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  2999. and subclasses) from /usr/(local/)share/mime and
  3000. $HOME/.local/share/mime.
  3001. 2006-03-10 Jackson Harper <[email protected]>
  3002. * MdiWindowManager.cs: Recalc the NC area when a window is
  3003. maximized/restored so that the menu area is drawn on forms that
  3004. don't have a menu.
  3005. 2006-03-10 Peter Dennis Bartok <[email protected]>
  3006. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  3007. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  3008. us to force a WM_NCCALCRESIZE message being sent. This is needed
  3009. for MDI maximizing.
  3010. 2006-03-10 Jackson Harper <[email protected]>
  3011. * Form.cs: We need to use the ActiveMenu when calculating menu
  3012. height.
  3013. - Fix nullref when the window manager hasn't been created yet.
  3014. * Control.cs: Fix nullref when we try to bring a control to the
  3015. front that has no parent.
  3016. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  3017. height.
  3018. - Add a dummy item to the maximized menu so it always has the
  3019. correct height. Otherwise when there are no menus we don't get our
  3020. icon and buttons.
  3021. 2006-03-10 Jackson Harper <[email protected]>
  3022. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  3023. stuff.
  3024. * Form.cs: Make the window_state internal so the window managers
  3025. can track it.
  3026. - When an MDI child is maximized let its window manager create the
  3027. main menu (so it can add its icon).
  3028. - Notify the window managers of state changes
  3029. - Let the window manager paint its buttons and handle button
  3030. clicks on the menu when it is maximized.
  3031. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  3032. window manager, since tool windows don't use it, only mdi windows.
  3033. - Tell the main form that we don't want it to handle NCPAINT
  3034. itself to avoid extra painting.
  3035. - Handle clicks on a maximized windows menu.
  3036. - Handle window state changes
  3037. - Handle minimize/maximize clicks correctly by setting the window state.
  3038. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  3039. when clicking on the forms icon).
  3040. - New method to create a forms maximized menu. This is its normal
  3041. menu + an icon.
  3042. - Handle window state changes.
  3043. - Handle sizing of maximized windows. Maximized windows are just
  3044. drawn bigger then the parent visible area. All controls are still
  3045. there, they are just outside the visible area (this matches windows).
  3046. * MdiClient.cs: No scrollbars when a child window is maximized.
  3047. - Let the children windows figure out how big they should be when
  3048. sizing maximized windows.
  3049. - Implement a version of ArrangeIconicWindows somewhat similar to
  3050. Windows version. There are some little differences, but I don't
  3051. think any app will rely on the layout of minimized mdi windows.
  3052. 2006-03-10 Peter Dennis Bartok <[email protected]>
  3053. * Padding.cs: Several fixes to allow compiling with csc 2.0
  3054. 2006-03-09 Jackson Harper <[email protected]>
  3055. * Menu.cs:
  3056. * MenuItem.cs: Cheap hack so we can add items to the list without
  3057. the events being raised. This allows adding mdi items during
  3058. drawing. TODO: Should probably find a better time to add the items.
  3059. 2006-03-10 Peter Dennis Bartok <[email protected]>
  3060. * ThemeWin32Classic.cs:
  3061. - CheckBox_DrawText: Added logic to not wrap if not enough space
  3062. is available (Fix for bug #77727)
  3063. - RadioButton_DrawText: Added logic not to wrap if not enough
  3064. space is available (Fix for bug #77727). Also removed some
  3065. duplicate code, DrawString always drawing the regular text
  3066. before hitting the if statement.
  3067. 2006-03-10 Peter Dennis Bartok <[email protected]>
  3068. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  3069. 2006-03-10 Peter Dennis Bartok <[email protected]>
  3070. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  3071. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  3072. methods. Moved the new 2.0 properties into alphabetical order with
  3073. other properties and added MonoTODO tags
  3074. 2006-03-09 Peter Dennis Bartok <[email protected]>
  3075. * AutoScaleMode.cs: Added. Fix build.
  3076. 2006-03-09 Peter Dennis Bartok <[email protected]>
  3077. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  3078. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  3079. and was requiring premature handle creation for calls from above
  3080. * Form.cs, Control.cs: Removed handle arguments from calls to
  3081. CalculateClientRect()
  3082. 2006-03-09 Peter Dennis Bartok <[email protected]>
  3083. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  3084. drag_column.column_rect is MarshalByRef and can't be used that way
  3085. 2006-03-09 Peter Dennis Bartok <[email protected]>
  3086. * AxHost.cs: Added deserialization constructor for
  3087. AxHost+State (fixes 77743)
  3088. 2006-03-09 Mike Kestner <[email protected]>
  3089. * ListView.cs:
  3090. - Added column drag reordering for details view.
  3091. - fixed behavior when mouse is dragged off column and
  3092. AllowColumnReorder is false.
  3093. * ColumnHeader.cs: clone the format too in Clone.
  3094. * Theme.cs: add DrawListViewHeaderDragDetails method.
  3095. * ThemeWin32Classic.cs:
  3096. - impl new method for drawing drag column shadows and targets.
  3097. - support column offset for details mode in DrawListViewItem.
  3098. 2006-03-09 Peter Dennis Bartok <[email protected]>
  3099. * TextControl.cs: Reset the char_count when the document is cleared
  3100. (Fixes bug reported on mono-winforms mailing list)
  3101. 2006-03-09 Peter Dennis Bartok <[email protected]>
  3102. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  3103. of calling base we simply process the key ourselves, since both
  3104. DefWindowProc and the handled method would set m.Result.
  3105. (Fixes #77732)
  3106. 2006-03-09 Peter Dennis Bartok <[email protected]>
  3107. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  3108. method also moves the window; instead implemented a copy of
  3109. Control.ScaleCore (Part of fix for #77456)
  3110. * TextBoxBase.cs:
  3111. - Created new CreateGraphicsInternal method to allow providing
  3112. a graphics context when no handle is created without triggering
  3113. handle creation. (Part of fix for #77456)
  3114. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  3115. * TextControl.cs:
  3116. - Switched Constructor to require TextBoxBase instead of Control (to
  3117. allow uncast access to CreateGraphicsInternal)
  3118. - Safeguarded use of owner.Handle property. No longer accessing it
  3119. unless the handle is already created.
  3120. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  3121. - Now triggering a recalc when owning control becomes visible
  3122. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  3123. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  3124. premature handle creation (Part of fix for #77456)
  3125. * Control.cs:
  3126. - We now only destroy our double-buffering buffers when the
  3127. control is resized or disposed, but not when visibility
  3128. changes. (The code even re-created them twice every time)
  3129. - Now requiring a redraw of the buffer on visibility changes
  3130. (fixes bug 77654 part 2)
  3131. - Not passing OnParentVisibleChanged up unless the control
  3132. is visible
  3133. - CanFocus: Fixed to match MS documentation
  3134. - Focus: Fixed to return actual focus state and to check if
  3135. setting focus is legal before setting it
  3136. 2006-03-08 Peter Dennis Bartok <[email protected]>
  3137. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  3138. when to draw focus rectangle by looking at parent focus and
  3139. selected state instead. This fixes TabPages on Linux sometimes
  3140. having none or multiple focus rectangles.
  3141. * XplatUIX11.cs (SetFocus):
  3142. - Don't set the focus if the same window already has focus
  3143. - Use SendMessage instead of PostMessage (like it's Win32
  3144. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  3145. to match MS behaviour
  3146. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  3147. are not selectable.
  3148. 2006-03-07 Jackson Harper <[email protected]>
  3149. * PictureBox.cs: Revert line I accidently committed last week.
  3150. 2006-03-07 Peter Dennis Bartok <[email protected]>
  3151. * Control.cs:
  3152. - Added new IsRecreating and ParentIsRecreating properties to
  3153. allow testing if RecreateHandle has been called on ourselves
  3154. or one of our parents
  3155. - WndProc(WM_DESTROY): If our control handle is being recreated
  3156. we immediately need to create the handle when receiving the
  3157. destroy, that way our child windows find a valid parent handle
  3158. when they themselves are being recreated upon WM_DESTROY receipt
  3159. (fix for bug #77654 part 1)
  3160. * XplatUIX11.cs:
  3161. - DestroyWindow: WM_DESTROY must be sent to our own window before
  3162. notifying any child windows. MS documents that child windows
  3163. are still valid when WM_DESTROY is received. (Control now relies on
  3164. this behaviour)
  3165. - Added some fine-grain debug options
  3166. 2006-03-06 Jackson Harper <[email protected]>
  3167. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  3168. box and base calculations off this.
  3169. * MdiChildContext.cs:
  3170. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  3171. anymore.
  3172. 2006-03-06 Peter Dennis Bartok <[email protected]>
  3173. * Splitter.cs: In situations where the affected control is added
  3174. to the parent's control list after the splitter, we would not
  3175. populate affected. Now we try populating it on mousedown, if
  3176. it's not already set, and force it to be re-set whenever our
  3177. parent changes.
  3178. 2006-03-03 Matt Hargett <[email protected]>
  3179. * Control.cs: implement Control.Padding
  3180. * Padding.cs: -Padding.All returns -1 when constructing with the
  3181. implicit default ctor
  3182. -Padding.ToString() matches MS.NET
  3183. * ContainerControl.cs: implement
  3184. ContainerControl.AutoScaleDimensions
  3185. * ListControl.cs: implement ListControl.FormattingEnabled
  3186. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  3187. * ButtonBase.cs:
  3188. * TabPage.cs: Implement UseVisualStyleBackColor.
  3189. * PictureBox.cs: Implement PictureBox.InitialImage.
  3190. 2006-03-03 Mike Kestner <[email protected]>
  3191. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  3192. event declarations to proxy to base event.
  3193. * ListViewItem.cs: update to use ItemControl.
  3194. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  3195. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  3196. column header label rendering for 0 width columns.
  3197. 2006-03-03 Peter Dennis Bartok <[email protected]>
  3198. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  3199. that causes the control to be created. Fixes #77476.
  3200. 2006-03-02 Jackson Harper <[email protected]>
  3201. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  3202. expose_pending.
  3203. 2006-03-02 Peter Dennis Bartok <[email protected]>
  3204. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  3205. passed in for the EventArgs (fixes #77690)
  3206. 2006-03-01 Jackson Harper <[email protected]>
  3207. * ScrollBar.cs: Refresh afterbeing resized.
  3208. 2006-02-28 Mike Kestner <[email protected]>
  3209. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  3210. Clean up a tracker compile warning.
  3211. * MenuItem.cs: add internal PerformPopup method.
  3212. [Fixes #77457]
  3213. 2006-02-28 Peter Dennis Bartok <[email protected]>
  3214. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  3215. implicit expose) when the text is set to null
  3216. 2006-02-28 Peter Dennis Bartok <[email protected]>
  3217. * RichTextBox.cs (FlushText): When newline is true, we always
  3218. need to split the line, even if no text is on it and we may
  3219. never eat newlines. (Fixes #77669)
  3220. 2006-02-28 Mike Kestner <[email protected]>
  3221. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  3222. and set Selected instead.
  3223. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  3224. collections.
  3225. 2006-02-28 Peter Dennis Bartok <[email protected]>
  3226. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  3227. 2006-02-28 Alexander Olk <[email protected]>
  3228. * FontDialog.cs:
  3229. - Got rid of the panel. All controls are now directly added to
  3230. the dialog form
  3231. - It is now possible to set a font with the Font property
  3232. - MinSize and MaxSize property do now what they should
  3233. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  3234. - Searching and selecting a font with the font textbox works now,
  3235. the same applies to the style and size textbox
  3236. - Draw the correct 3D border in the example panel
  3237. - Fixed a little mem leak (unused fonts didn't get disposed)
  3238. - Many other internal updates/rewrites...
  3239. - Fix typo
  3240. 2006-02-27 Peter Dennis Bartok <[email protected]>
  3241. * TextControl.cs:
  3242. - InsertRTFFromStream: Added 'number of characters inserted' argument
  3243. - set_SelectedRTF: Now using the number of characters to calculate
  3244. the new location for the selection and cursor (x/y cannot be used
  3245. due to potentially already wrapped text)
  3246. 2006-02-27 Peter Dennis Bartok <[email protected]>
  3247. * TextControl.cs: Added property and implemented means to allow
  3248. disabling recalculation of a document (can be used to speed up
  3249. multiple inserts and is needed to make RTF inserts predictable, see
  3250. bug #77659)
  3251. * RichTextBox.cs: Using the new NoRecalc property of Document to
  3252. keep x/y insert locations predictable. Also makes it faster inserting
  3253. large chunks of RTF
  3254. 2006-02-27 Peter Dennis Bartok <[email protected]>
  3255. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  3256. it's easier for a child control to handle the other messages without
  3257. having to duplicate the special functionality
  3258. * TextBoxBase.cs
  3259. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  3260. code to handle processing the key ourselves, in order to get
  3261. access to the result of KeyEventArgs.Handled. We now only call
  3262. ProcessKey if they key hasn't been handled already. Fixes #77526.
  3263. - set_Text: If null or empty string is given, just clear the
  3264. document. Fixes part of #77526
  3265. 2006-02-27 Jackson Harper <[email protected]>
  3266. * SizeGrip.cs: Paint the background color before painting the grip
  3267. so things look right.
  3268. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  3269. 2006-02-27 Mike Kestner <[email protected]>
  3270. * ListView.cs:
  3271. - Restructure layout and invalidation model to remove a ton of
  3272. flicker from the control and speed up performance in general.
  3273. - Add manual column resize, flickers like crazy, but I already have
  3274. some ideas on how I'll fix that. (#76822)
  3275. - Merge the three Icon-based views into a single layout method.
  3276. - Move item selection interaction logic from the item since
  3277. interaction with the collections is more appropriate to the view.
  3278. - Deselection on non-item clicks.
  3279. * ListViewItem.cs:
  3280. - Encapsulate most of the layout. Add some internal props to trigger
  3281. layout. Move to a model where Items invalidate themselves instead
  3282. of just invalidating the whole control every time something changes.
  3283. - Invalidate on Text/Caption changes.
  3284. - switch to an offset based layout model to avoid having to absolute
  3285. position every element on item moves.
  3286. - correct checkbox layout to conform to MS layout.
  3287. * ThemeWin32Classic.cs:
  3288. - refactor some column header drawing code.
  3289. - fix string justification for column headers (#76821)
  3290. - make SmallIcon labels top justified for compat with MS impl.
  3291. * ThemeClearlooks.cs:
  3292. - adjust to new ListViewItem internal checkbox bounds api.
  3293. 2006-02-27 Jackson Harper <[email protected]>
  3294. * Control.cs: Change where implicit controls fall in the zorder.
  3295. They are now on top of all children.
  3296. - Synced AddImplicit code with Add
  3297. - Removed unused enumerator.
  3298. * SizeGrip.cs: Remove the TODO as its been TODONE.
  3299. 2006-02-26 Peter Dennis Bartok <[email protected]>
  3300. * TextControl.cs(Insert): Combine the last lines unless the insertion
  3301. string ends with \n\n, otherwise we leave one line too many (Fixes
  3302. something I noticed with the testapp for #77526; the bug itself was
  3303. already fixed in the previous checkin)
  3304. 2006-02-26 Peter Dennis Bartok <[email protected]>
  3305. * RichTextBox.cs:
  3306. - SelectionColor and SelectionFont methods no longer set absolute
  3307. styles. Instead, the keep font or color respectively (This
  3308. resolves a long-standing FIXME in the code)
  3309. - When flushing RTF text, the insert code now considers text trailing
  3310. behind the insertion point (Fixes the bug where when replacing
  3311. the selected text via SelectedRTF the remainder of the line behind
  3312. the selection would stay on the first insertion line)
  3313. * TextBoxBase.cs:
  3314. - AppendText now updates the selection points after inserting text
  3315. - AppendText now ensures that the last tag (sometimes 0-length) of
  3316. the document is used for the style information (Fixes part of
  3317. bug #77220)
  3318. * TextControl.cs:
  3319. - Created new FontDefiniton class to allow describing partial style
  3320. changes
  3321. - StreamLine() now takes a lines argument, to allow it to decide
  3322. whether an encountered zero-length tag is the last in the document
  3323. (which must be kept to not loose the font/color contained in it,
  3324. for later appends)
  3325. - Created Combine() and Split() methods for Marker structs, to
  3326. support marker updates due to reformatted documents (soft line
  3327. wraps)
  3328. - Implemented Document.CaretTag setter
  3329. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  3330. of the last line (Not the cause, but also exposed by bug #77220)
  3331. - Added LineTag argument to InsertString method, to allow callers
  3332. to force a certain tag to be used (required to force use of the
  3333. trailing zero-length tag of a document)
  3334. - Now updating markers in Combine(), to avoid stale tag markers
  3335. - Added some method descriptions to aid maintenance
  3336. - Implemented new FormatText concept, allowing additive/subtractive
  3337. formatting by only specifying the components that are to be
  3338. changed. This was needed for resolving the RTB.SelectedColor/
  3339. RTB.SelectedFont fixmes
  3340. - Added Break() support method to allow breaking up linetags (used
  3341. for partial formatting)
  3342. - Added GenerateTextFormat() method. It is used for partial
  3343. formatting and allows to generate a full font/color from given
  3344. attributes and an existing tag.
  3345. 2006-02-26 Jackson Harper <[email protected]>
  3346. * XplatUIX11.cs: Use the correct caption height.
  3347. - Translate hittest coordinates to screen coords to match MS.
  3348. * XplatUIWin32.cs: When we create MDI windows we need to reset
  3349. some of the style flags, so we get a nice blank window, and can
  3350. draw all the decorations ourselves.
  3351. - Set a clipping rectangle on the non client paint event, the
  3352. window manager drawing code needs one.
  3353. * Form.cs: The window manager needs to know when the window state
  3354. has been updated.
  3355. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  3356. don't need to factor in border and title sizes in these
  3357. methods. TODO: Remove the args and fix the call points.
  3358. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  3359. properly.
  3360. - Let the driver set the cursors.
  3361. - Improve active window handling
  3362. - Correct sizes for title bars and buttons.
  3363. - Match MS drawing better
  3364. * MdiWindowManager.cs: We don't need to handle border style
  3365. updates specially anymore.
  3366. - Check for scrollbars when windows are done moving
  3367. - Handle Active properly.
  3368. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  3369. correctly. I am spewing the exception though, so we don't hide the
  3370. bugs.
  3371. 2006-02-26 Pedro Martinez Julia <[email protected]>
  3372. * DataGridViewRowPostPaintEventArgs.cs,
  3373. DataGridViewCellPaintingEventArgs.cs,
  3374. DataGridViewRowCollection.cs,
  3375. DataGridViewRowPrePaintEventArgs.cs,
  3376. DataGridViewCell.cs: Clear a few warnings and implement a few
  3377. exceptions that should be thrown.
  3378. 2006-02-22 Peter Dennis Bartok <[email protected]>
  3379. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  3380. 'inheriting' our parent's (non-default) cursor. (Part of
  3381. the fix for #77479)
  3382. 2006-02-22 Peter Dennis Bartok <[email protected]>
  3383. * XplatUIX11.cs: Fixed cast to make csc happy
  3384. 2006-02-22 Peter Dennis Bartok <[email protected]>
  3385. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  3386. it's for the client area (part of fix for #77479 and needed
  3387. for MDI window cursor handling)
  3388. * XplatUIX11.cs
  3389. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  3390. the appropriate default cursors and also passing the message
  3391. up the parent chain
  3392. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  3393. for non-client areas
  3394. 2006-02-15 Jackson Harper <[email protected]>
  3395. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  3396. is a real MDI window
  3397. 2006-02-14 Alexander Olk <[email protected]>
  3398. * X11DesktopColors.cs: Instead of checking the desktop session
  3399. string for "KDE" check if it starts with "KDE"
  3400. 2006-02-10 Jackson Harper <[email protected]>
  3401. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  3402. systems).
  3403. 2006-02-10 Alexander Olk <[email protected]>
  3404. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  3405. errors
  3406. * ColorDialog.cs:
  3407. - Got rid of the panel. All controls are now directly added to
  3408. the dialog form
  3409. - Changed to mono coding style
  3410. 2006-02-10 Jackson Harper <[email protected]>
  3411. * InternalWindowManager.cs: We don't need the set visibility to
  3412. false hack anymore now that peter has written beautiful shutdown
  3413. code.
  3414. 2006-02-10 Peter Dennis Bartok <[email protected]>
  3415. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  3416. where already explicitly destroyed
  3417. 2006-02-10 Jackson Harper <[email protected]>
  3418. * MdiClient.cs: Handle the case where windows are too high or to
  3419. the left and we need scrollbars.
  3420. 2006-02-10 Alexander Olk <[email protected]>
  3421. * MimeIcon.cs: Added some icons
  3422. * FileDialog.cs:
  3423. - Fixed bug #77477
  3424. - Got rid of the panel. All controls are now directly added to
  3425. the dialog form
  3426. - Changed to mono coding style
  3427. - On Linux "My Computer" and "My Network" will now show some
  3428. more usefull information. A new class, MasterMount, gathers
  3429. this information from /proc/mount. Updated MWFFileView to make
  3430. use of this information
  3431. - Fixed a bug that caused FileDialog to crash when
  3432. ".recently_used" file had a zero size
  3433. - FilterIndex does now what it should
  3434. - Some Refactoring
  3435. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  3436. FileDialog changes
  3437. 2006-02-09 Jackson Harper <[email protected]>
  3438. * ComboBox.cs: Don't touch if null.
  3439. 2006-02-09 Peter Dennis Bartok <[email protected]>
  3440. * Cursor.cs: 64bit safeness fix
  3441. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  3442. 2006-02-09 Jackson Harper <[email protected]>
  3443. * Form.cs: If a form is made into an MDI form update the styles so
  3444. all the props can get set correctly.
  3445. - Kill the mdi_container when we dont need it anymore.
  3446. * InternalWindowManager.cs: Add missing NOT
  3447. 2006-02-08 Jackson Harper <[email protected]>
  3448. * InternalWindowManager.cs: Respek clipping when drawing MDi
  3449. decorations.
  3450. 2006-02-08 Jackson Harper <[email protected]>
  3451. * Hwnd.cs: Add bits to track non client expose events.
  3452. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  3453. gives us a proper invalid rect and will allow for some nice
  3454. optimizations with NC client drawing
  3455. - MDI windows are children windows, so move their style handling
  3456. into the child window block.
  3457. * InternalWindowManager.cs: Remove a state reset that was
  3458. getting invoked at the wrong time. Fixes managed windows getting
  3459. into a 'stuck' captured state.
  3460. 2006-02-07 Peter Dennis Bartok <[email protected]>
  3461. * TextControl.cs (Document.ctor): Now initializing
  3462. selection_anchor. Fixes #77493
  3463. 2006-02-07 Jackson Harper <[email protected]>
  3464. * TrackBar.cs: The increment/decrements were backwards.
  3465. 2006-02-07 Mike Kestner <[email protected]>
  3466. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  3467. to the instance itself.
  3468. 2006-02-07 Peter Dennis Bartok <[email protected]>
  3469. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  3470. on ulongs and pointers, the size differs between 32bit and 64bit
  3471. systems.
  3472. 2006-02-07 Mike Kestner <[email protected]>
  3473. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  3474. for 64 bit platforms to work around a metacity bug.
  3475. 2006-02-07 Jackson Harper <[email protected]>
  3476. * TrackBar.cs: Process the input keys we need, and hookup to
  3477. KeyDown instead of using WndProc, so we get key messages.
  3478. 2006-02-06 Peter Dennis Bartok <[email protected]>
  3479. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  3480. machine we're on.
  3481. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  3482. we need to translate the XdndVersion atoms array before sending it
  3483. 2006-02-06 Peter Dennis Bartok <[email protected]>
  3484. * XplatUIX11.cs:
  3485. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  3486. number of bits for the property, not the number of bytes. The
  3487. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  3488. but would not crash since it specified 8 bits instead of 4 bits)
  3489. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  3490. defined as XID -> long in the C headers)
  3491. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  3492. references since those are now IntPtr to begin with
  3493. - Switched all Atom.XXX 'int' casts to IntPtr casts
  3494. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  3495. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  3496. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  3497. * X11Structs.cs:
  3498. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  3499. - Changed atom in HoverStruct to be IntPtr
  3500. * X11DnD.cs:
  3501. - Removed local DllImports, switched code to use those from XplatUIX11
  3502. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  3503. 2006-02-06 Mike Kestner <[email protected]>
  3504. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  3505. method signatures in the import region. There may still be some
  3506. lingering struct marshaling issues, as I didn't drill down into those.
  3507. Yet.
  3508. 2006-02-06 Jackson Harper <[email protected]>
  3509. * ComboBox.cs: Dont manually set the top_item, this is computed
  3510. when the scrollbar position is set.
  3511. 2006-02-06 Mike Kestner <[email protected]>
  3512. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  3513. startup crashes on amd64. There's other fixes needed. All pinvoke
  3514. usage of Atom needs to be mapped to IntPtr for example. And there are
  3515. likely other int/long issues to be addressed.
  3516. 2006-02-04 Alexander Olk <[email protected]>
  3517. * FileDialog.cs: One more...
  3518. 2006-02-03 Alexander Olk <[email protected]>
  3519. * FileDialog.cs: Next try
  3520. 2006-02-03 Alexander Olk <[email protected]>
  3521. * FileDialog.cs: First part of fix for #77464
  3522. 2006-02-03 Alexander Olk <[email protected]>
  3523. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  3524. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  3525. AcceptButton border drawing.
  3526. 2006-02-03 Peter Dennis Bartok <[email protected]>
  3527. * Form.cs: Moved positioning of form after auto scaling is applied,
  3528. otherwise it would possibly use wrong form size.
  3529. 2006-02-03 Peter Dennis Bartok <[email protected]>
  3530. * Control.cs (RecreateHandle): No need to re-create any child
  3531. controls, the child windows will get destroyed automatically by
  3532. the windowing system or driver, and re-created when the handle
  3533. is being accessed the first time. Fixes #77456
  3534. * Form.cs: No longer setting the form to closing if the handle is
  3535. being recreated. This seems like the right thing to do, don't
  3536. have a bug or testcase for this, though.
  3537. 2006-02-02 Peter Dennis Bartok <[email protected]>
  3538. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  3539. controls to avoid unwanted side effects
  3540. 2006-02-02 Peter Dennis Bartok <[email protected]>
  3541. * Control.cs:
  3542. - ScaleCore needs to scale the bounds, not the ClientSize of the
  3543. control. Fixes #77416.
  3544. - DefaultSize is 0,0 for control
  3545. * TextBoxBase.cs:
  3546. - DefaultSize is 100, 20
  3547. - SetBoundsCore: Now enforcing the height, no matter if the provided
  3548. height is more or less than the preferred one, as long as AutoSize
  3549. is on
  3550. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  3551. 2006-02-02 Peter Dennis Bartok <[email protected]>
  3552. * Control.cs:
  3553. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  3554. call unless both performLayout is true *and* we have a pending
  3555. layout change
  3556. - ResumeLayout: MS does not completely nest Suspend and Resume,
  3557. they bottom out at 0, fixed our code to match that.
  3558. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  3559. SetBoundsCore, we were updating even when we shouldn't. This fixes
  3560. swf-anchors mis-anchoring when resizing the app fast and lots.
  3561. - UpdateDistances: Now only setting the left and top distance if
  3562. we have a parent and are not suspended, this is based on
  3563. a suggestion by Don Edvaldson in bug #77355.
  3564. - OnVisibleChanged: Fixed logic when to create the control. We may
  3565. not create the control if we have no parent or if it's not visible;
  3566. switched to using Visible property instead of is_visible field
  3567. since the property also considers parent states. This fixes a bug
  3568. when starting Paint.Net
  3569. 2006-02-02 Jackson Harper <[email protected]>
  3570. * Form.cs: If the forms handle hasn't been created yet don't call
  3571. into xplatui to make it top most, just set the topmost flag on the
  3572. form in CreateParams
  3573. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  3574. 2006-02-01 Jackson Harper <[email protected]>
  3575. * ScrollableControl.cs: Refactored the Recalculate method a
  3576. little, this wasn't handling all the variants of bottom and right
  3577. bars needed to be added and added/removed based on their
  3578. counterparts being added/removed (which changes the drawable
  3579. size). Also we special case client widths and heights of 0 and
  3580. don't add the scrollbar for those.
  3581. 2006-02-01 Peter Dennis Bartok <[email protected]>
  3582. * XplatUIX11.cs:
  3583. - Added method to get AbsoluteGeometry(); currently unused, but might
  3584. be used in the future, if we try again to figure out toplevel
  3585. coordinates with some more crappy window managers
  3586. - Added FrameExtents() method to retrieve the WM set decoration size
  3587. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  3588. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  3589. * Hwnd.cs:
  3590. - Added whacky_wm tracking var for metacity
  3591. - Added logic to have default menu height if the actual menu height
  3592. has not yet been calculated (part of fix for #77426)
  3593. * Form.cs: Keep track whether client size has been set and re-set
  3594. it if a menu is added/removed afterwards (Fixes #77426)
  3595. 2006-01-31 Jackson Harper <[email protected]>
  3596. * Control.cs: When a new Site is set on the component attempt to
  3597. pull the AmbientProperties from it.
  3598. 2006-01-31 Peter Dennis Bartok <[email protected]>
  3599. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  3600. in the background of the owning form. Fixes #77332
  3601. 2006-01-31 Alexander Olk <[email protected]>
  3602. * MimeIcon.cs: Fix for #77409
  3603. 2006-01-31 Alexander Olk <[email protected]>
  3604. * XplatUIX11GTK.cs: Initial import
  3605. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  3606. * FixedSizeTextBox: fixes class signature
  3607. 2006-01-30 Jackson Harper <[email protected]>
  3608. * FixedSizeTextBox.cs: New internal class that represents a
  3609. textBox that will not be scaled.
  3610. * TreeView.cs:
  3611. * ComboBox.cs:
  3612. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  3613. standard TextBox.
  3614. 2006-01-30 Peter Dennis Bartok <[email protected]>
  3615. * XplatUIX11.cs: Retrieve default screen number instead of
  3616. assuming 0. Attempted fix for #77318
  3617. 2006-01-30 Peter Dennis Bartok <[email protected]>
  3618. * XplatUIWin32.cs:
  3619. - GetWindowPos: When a window is parented by FosterParent, use
  3620. the desktop instead of FosterParent as the base to get coordinates
  3621. - CreateWindow: Don't make FosterParent the parent window for Popups
  3622. if we don't want a taskbar entry, Popups automatically don't get one
  3623. * Hwnd.cs: Need to call remove to actually remove the key from the
  3624. hash table
  3625. 2006-01-30 Mike Kestner <[email protected]>
  3626. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  3627. 2006-01-30 Jackson Harper <[email protected]>
  3628. * TreeView.cs:
  3629. * TreeNode.cs: Raise events no matter how the treenode is
  3630. checked. Patch by Don Edvalson.
  3631. 2006-01-30 Jackson Harper <[email protected]>
  3632. * TreeNode.cs: Signature fix.
  3633. 2006-01-29 Alexander Olk <[email protected]>
  3634. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  3635. 2006-01-20 Mike Kestner <[email protected]>
  3636. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  3637. event forwarding when menus are active.
  3638. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  3639. Most of the patch is pdb's with a little rework.
  3640. 2006-01-26 Peter Dennis Bartok <[email protected]>
  3641. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  3642. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  3643. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  3644. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  3645. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  3646. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  3647. the PaintWindowDecorations method
  3648. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  3649. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  3650. * MenuAPI.cs: Made tracker window invisible
  3651. * XplatUIWin32.cs:
  3652. - Removed GetMenuDC and ReleaseMenuDC methods
  3653. - Implemented the client=false path for PaintEventStart and
  3654. PaintEventEnd
  3655. 2006-01-26 Peter Dennis Bartok <[email protected]>
  3656. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  3657. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  3658. styles
  3659. * Form.cs:
  3660. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  3661. the style
  3662. - CreateParams: Reworked the styles to match MS look'n'feel,
  3663. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  3664. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  3665. 2006-01-26 Peter Dennis Bartok <[email protected]>
  3666. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  3667. window is not mapped, since otherwise every form that's being
  3668. created is considered minimized, which is wrong.
  3669. * Form.cs: Catching the exception and returning our internal value
  3670. instead
  3671. 2006-01-26 Peter Dennis Bartok <[email protected]>
  3672. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  3673. SetWindowMinMax() to have means to tell the driver about the minimum,
  3674. maximum and maximized state window sizes. (Part of the fix for #76485)
  3675. * Form.cs:
  3676. - Implemented tracking of minimum and maximum window size, now calling
  3677. new SetWindowMinMax() driver method to tell the driver (Part of the
  3678. fix for #76485)
  3679. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  3680. (Completes fix for #76485)
  3681. - Calling new SetWindowMinMax driver method when the handle for a
  3682. form is created, to make sure the driver knows about it even if
  3683. the values have been set before the window was created
  3684. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  3685. to avoid messing up our anchoring calculations (partial fix
  3686. for #77355)
  3687. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  3688. * XplatUIX11.cs:
  3689. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  3690. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  3691. (and presumably other freedesktop.org compliant WMs). Left the
  3692. assumption unmapped=minimized, needed for SetVisible to work.
  3693. - Now setting the window state when creating windows
  3694. - Fixed SetVisible to consider/set the window state when mapping
  3695. a Form. We cannot set the state before it's mapped, and we cannot
  3696. use Form.WindowState once it's mapped (since it would ask the
  3697. driver and get 'normal'. Therefore, we grab the state before
  3698. mapping, map, and then set state.
  3699. - Implmemented SetWindowMinMax method; Metacity does not seem to
  3700. honor the ZoomHints, though.
  3701. * XplatUIWin32.cs:
  3702. - Removed MINMAXINFO (moved to XplatUIStructs)
  3703. - Added SetWindowMinMax stub (on Win32 the only way to set that
  3704. information is in response to the WM_GETMINMAXINFO message, which
  3705. is handled in Form.cs)
  3706. - Added logic to SetVisible to set the proper window state when a
  3707. form is made visible (fixes #75720)
  3708. 2006-01-26 Jackson Harper <[email protected]>
  3709. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  3710. same way we handle them with Invoke.
  3711. 2006-01-25 Peter Dennis Bartok <[email protected]>
  3712. * Form.cs:
  3713. - Added tracking of window state so CreateParams can return
  3714. the appropriate style
  3715. - Moved setting of WS_CAPTION style in CreateParams to allow
  3716. styles without caption
  3717. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  3718. control if the TextBox property is accessed. Fixes #77345
  3719. * Control.cs:
  3720. - get_Created: now uses is_disposed and is_created to determine
  3721. return value (suggested by Jackson)
  3722. - CreateHandle: No longer exits if the handle is being recreated
  3723. - RecreateHandle: If the handle is not yet created call the
  3724. appropriate method to create either control or handle. If the
  3725. control is already created CreateHandle will simply exit instead
  3726. of just creating the handle
  3727. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  3728. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  3729. is called.
  3730. * XplatUIX11.cs:
  3731. - When DestroyWindow is called, instead of waiting for the
  3732. DestroyNotification from X11, we directly post it to the WndProc
  3733. and immediately dispose the hwnd object.
  3734. Same applies to DestroyChildWindows, and this obsoletes the
  3735. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  3736. child windows before our own, to avoid X11 errors.
  3737. - Removed the direct sending of WM_PAINT on UpdateWindow
  3738. * XplatUIWin32.cs:
  3739. - Reworked DoEvents and GetMessage to allow access to internal queue
  3740. even when trying non-blocking access to the queue. Fixes #77335.
  3741. Based on a patch suggestion by Don Edvalson. The new private
  3742. GetMessage can now also be used as a backend for a PeekMessage
  3743. frontend version.
  3744. * XplatUI.cs: Improved debug output for CreateWindow
  3745. 2006-01-25 Jackson Harper <[email protected]>
  3746. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  3747. 2006-01-24 Jackson Harper <[email protected]>
  3748. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  3749. when we have a MaxDropItems lower then the selected index.
  3750. 2006-01-24 Jackson Harper <[email protected]>
  3751. * Control.cs: Don't allow selection of non visible controls, allow
  3752. selection of controls without parents.
  3753. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  3754. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  3755. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  3756. 2006-01-23 Jackson Harper <[email protected]>
  3757. * UpDownBase.cs: Make the textbox handle all the selection and
  3758. tabbing. This fixes tabing to updown controls.
  3759. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  3760. * TextBoxBase.cs: fixes exception thown the object was null
  3761. 2006-01-23 Jackson Harper <[email protected]>
  3762. * ButtonBase.cs: Just use the base CreateParams. They set
  3763. visibility and enabled correctly.
  3764. * ComboBox.cs:
  3765. * TrackBar.cs:
  3766. * MonthCalendar.cs: Lets let the base set as much of the
  3767. createparams as possible so we don't have duplicate code all over
  3768. the place.
  3769. 2006-01-22 Alexander Olk <[email protected]>
  3770. * ThemeGtk.cs: Added TrackBar and some experimental code to
  3771. get double buffering back
  3772. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  3773. * DataGrid.cs: Allows row number set internally higher than the last
  3774. when creating a new row. Restores the editing functionality.
  3775. 2006-01-20 Mike Kestner <[email protected]>
  3776. * MimeIcon.cs: delay Image creation until the icons are accessed
  3777. instead of creating 190 scaled images on GnomeHandler startup.
  3778. 2006-01-19 Peter Dennis Bartok <[email protected]>
  3779. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  3780. first call base before processing the event. Fixes #77279
  3781. 2006-01-19 Peter Dennis Bartok <[email protected]>
  3782. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  3783. that the stride for the GDI bitmap would match the stride of
  3784. a DIB or a Cursor.
  3785. 2006-01-19 Alexander Olk <[email protected]>
  3786. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  3787. 2006-01-19 Jackson Harper <[email protected]>
  3788. * ComboBox.cs: Hookup the text controls keydown event so we get
  3789. those when the text control has the focus.
  3790. 2006-01-18 Peter Dennis Bartok <[email protected]>
  3791. * Label.cs: Now using the base events instead of defining new ones;
  3792. this allows us to just call the base properties without having to
  3793. duplicate all base property logic
  3794. 2006-01-18 Peter Dennis Bartok <[email protected]>
  3795. * Label.cs: A label by default is not a tabstop (Fixes one of our
  3796. failing nunit tests)
  3797. 2006-01-18 Peter Dennis Bartok <[email protected]>
  3798. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  3799. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  3800. 2006-01-18 Peter Dennis Bartok <[email protected]>
  3801. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  3802. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  3803. This fixes #77218
  3804. * XplatUIWin32.cs:
  3805. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  3806. constructor creates images that can't be saved. Part of the fix
  3807. for #76103
  3808. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  3809. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  3810. bug fix for handling window state in forms properly)
  3811. 2006-01-18 Alexander Olk <[email protected]>
  3812. * ThemeGtk.cs: Simplify ScrollBar drawing
  3813. 2006-01-18 Jackson Harper <[email protected]>
  3814. * Splitter.cs: Set the default dock style for the splitter control
  3815. in the constructor.
  3816. 2006-01-18 Alexander Olk <[email protected]>
  3817. * ThemeGtk.cs: Corrected StateType and ShadowType for
  3818. gtk_paint_box
  3819. 2006-01-18 Alexander Olk <[email protected]>
  3820. * Control.cs: Make use of Theme.DoubleBufferingSupported
  3821. * ThemeGtk.cs:
  3822. - Added drawing for flat style buttons
  3823. - Added ScrollBar drawing
  3824. 2006-01-18 Alexander Olk <[email protected]>
  3825. * ThemeClearlooks.cs: Removed some unneeded code.
  3826. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  3827. 2006-01-17 Peter Dennis Bartok <[email protected]>
  3828. * LinkLabel.cs: We need to update the hover drawing when
  3829. leaving the control as well.
  3830. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  3831. * DataGrid.cs: Clicking on non empty areas in the columns
  3832. area was giving an exception
  3833. 2006-01-17 Jackson Harper <[email protected]>
  3834. * ThemeWin32Classic.cs:
  3835. * ListView.cs: Do not draw/clip the headers when the header style
  3836. is None.
  3837. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  3838. * DataGrid.cs: Fixes 77260
  3839. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  3840. * DataGrid.cs: Clicking on a column on a empty grid was giving
  3841. an exception
  3842. 2006-01-17 Peter Dennis Bartok <[email protected]>
  3843. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  3844. or any keypress will crash the grid.
  3845. 2006-01-17 Mike Kestner <[email protected]>
  3846. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  3847. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  3848. invisible/previously-visible items.
  3849. [Fixes #76909]
  3850. 2006-01-17 Alexander Olk <[email protected]>
  3851. * ThemeClearlooks.cs:
  3852. - Added CL_Draw_Button method; now other theme controls that are
  3853. not derived from button or do not have a button can draw buttons
  3854. too
  3855. - Updated ComboBox drawing
  3856. - Beautified RadioButton drawing
  3857. - Corrected drawing of bottom and left tabs
  3858. - Beautified DateTimePicker and MonthCalendar
  3859. - Added CPDrawButton and CPDrawRadioButton
  3860. 2006-01-16 Jackson Harper <[email protected]>
  3861. * ComboBox.cs: Set the initial value of the scrollbar to the
  3862. current index. Reduce the numbers of refreshs and IndexOfs called.
  3863. 2006-01-14 Alexander Olk <[email protected]>
  3864. * FileDialog.cs: When the file listview is focused hitting the
  3865. backspace key moves the fileview to the parent directory
  3866. 2006-01-13 Peter Dennis Bartok <[email protected]>
  3867. * Form.cs:
  3868. - Added RecreateHandle call when changing taskbar visibility to
  3869. trigger reparenting in Win32 driver (Fixes #75719)
  3870. - If a window has minimize or maximize buttons, it cannot have
  3871. a help button
  3872. * XplatUIWin32.cs:
  3873. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  3874. the toplevel form with FosterParent (A toolwindow not on the
  3875. taskbar) (Fixes #75719)
  3876. - Made FosterParent a toolwindow
  3877. 2006-01-13 Alexander Olk <[email protected]>
  3878. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  3879. 2006-01-13 Alexander Olk <[email protected]>
  3880. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  3881. is currently over that control, make sure that tooltip_window.Text
  3882. gets updated
  3883. 2006-01-13 Mike Kestner <[email protected]>
  3884. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  3885. 2006-01-13 Jackson Harper <[email protected]>
  3886. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  3887. value passed. Also redraw the selected node when we recieve
  3888. focus, so tabbing between trees works correctly.
  3889. 2006-01-13 Alexander Olk <[email protected]>
  3890. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  3891. ~/.gconf/%gconf-tree.xml, so use
  3892. .gconf/desktop/gnome/interface/%gconf.xml
  3893. 2006-01-13 Peter Dennis Bartok <[email protected]>
  3894. * TextControl.cs: Draw text in gray if control is disabled
  3895. 2006-01-13 Peter Dennis Bartok <[email protected]>
  3896. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  3897. make sure it's always visible. Fixes #76680.
  3898. 2006-01-13 Peter Dennis Bartok <[email protected]>
  3899. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  3900. 2006-01-13 Jonathan Chambers <[email protected]>
  3901. * PageSetupDialog.cs: Added.
  3902. * PrintDialog.cs: Attributes.
  3903. * PrintPreviewControl.cs: Updates.
  3904. * PrintPreviewDialog.cs: Updates.
  3905. 2006-01-12 Peter Dennis Bartok <[email protected]>
  3906. * Control.cs: Undid my selection check fix, since it's not needed
  3907. * TextBoxBase.cs:
  3908. - Now considering the presence of hscroll/vscroll when sizing
  3909. vscroll/hscroll respectively. Fixed bug #77077
  3910. - Added Left/Up/Down/Right to IsInputKey list to prevent
  3911. ContainerControl from stealing them. This fixes what I broke
  3912. with my last checkin.
  3913. 2006-01-12 Peter Dennis Bartok <[email protected]>
  3914. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  3915. I finally understand how the property can be set without a setter :-)
  3916. 2006-01-12 Peter Dennis Bartok <[email protected]>
  3917. * Application.cs:
  3918. - Switched RunLoop to use static Message.Create to create a
  3919. Message object
  3920. - Added PreProcessMessage call in runloop for keyboard events; this
  3921. is part of the fix for #77219, I overlooked this originally in the
  3922. MSDN doc for PreProcessMessage
  3923. * Control.cs:
  3924. - Removed call to PreProcessMessage from handling of keyboard
  3925. messages; it's supposed to be done in the message pump
  3926. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  3927. per MSDN documentation.
  3928. - IsInputChar: All chars are input chars by default; removed the
  3929. parent calling chain, MS does not document that
  3930. - PreProcessMessage: If IsInputChar is true, we want to return false
  3931. to allow dispatching of the message
  3932. - When selecting the next control, now also check that we're not
  3933. selecting ourselves again and therefore return a false positive.
  3934. * TextBoxBase.cs:
  3935. - Tried to match return values for IsInputKey and ProcessDialogKey
  3936. to what MS returns; moved processing of our special keys outside
  3937. ProcessDialogKey since MS does not seem to return true on those.
  3938. - Moved code that previously was in ProcessDialogKey into new private
  3939. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  3940. - Reworked handling of WM_CHAR to not have to duplicate code from
  3941. Control.cs anymore, instead we simply call down to base.
  3942. 2006-01-12 Jackson Harper <[email protected]>
  3943. * ComboBox.cs: We always need to refresh the text area when
  3944. EndUpdate is called. Fixes the combobox in the file dialog.
  3945. * Control.cs: Don't create the creator_thread until the controls
  3946. handle is created. Also in InvokeRequired we check if the
  3947. creator_thread is null. This gives the effect of InvokeRequired
  3948. returning true if the controls handle is not created yet, and
  3949. matches MS.
  3950. 2006-01-12 Peter Dennis Bartok <[email protected]>
  3951. * XplatUI.cs:
  3952. - Added StartLoop() driver method. This is used to allow drivers to
  3953. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  3954. loop for a particular thread
  3955. - Added EndLoop() driver method. This is called once the message
  3956. pump for the thread is shut down
  3957. - Added SupportsTransparency method to allow the driver to indicate
  3958. opacity support for windows
  3959. * Form.cs:
  3960. - Removed TODO attribute, completed AllowTransparency property
  3961. - Added documented logic to Opacity
  3962. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  3963. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  3964. versions of CompatibleTextRendering
  3965. * X11Structs.cs: Added opacity atom to our atom enumeration
  3966. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  3967. of a form might be set before it's reparented by the WM, and we need
  3968. the opacity value without calling up to Form)
  3969. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  3970. SupportsTransparency() driver methods
  3971. * Application.cs: Now calling StartLoop and EndLoop driver methods
  3972. * XplatUIX11.cs:
  3973. - Added opacity atom registration
  3974. - Added StartLoop()/EndLoop() methods. They're empty right now but
  3975. will need to get implemented when we switch to a per-thread queue
  3976. - Implemented SupportsTransparency() method
  3977. - Implemented SetWindowTransparency() method
  3978. - Added support for setting the opacity value when a window is
  3979. reparented (since the opacity needs to be set on the WM frame)
  3980. * XplatUIOSX.cs, XplatUIWin32.cs:
  3981. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  3982. 2006-01-12 Alexander Olk <[email protected]>
  3983. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  3984. 2006-01-12 Alexander Olk <[email protected]>
  3985. * FileDialog.cs: Added ToolTip for MWFFileView
  3986. * MimeIcon.cs: Rewrote GnomeHandler.
  3987. - Get currently used gnome icon theme from
  3988. ($HOME)/.gconf/%gconf-tree.xml
  3989. - Make use of inherited icon themes
  3990. - Support SVG icon themes like Tango via librsvg
  3991. 2006-01-12 Miguel de Icaza <[email protected]>
  3992. Revert's Jackson's revert which broke 2.0 builds. Fix both
  3993. builds.
  3994. * Application.cs: Move the use_compatible_text_rendering outside
  3995. the NET_2_0 define. If we ever need to use the
  3996. use_compatible_text_rendering on the individual controls they will
  3997. access the variable from the common shared code paths.
  3998. 2006-01-12 Peter Dennis Bartok <[email protected]>
  3999. * XplatUI.cs:
  4000. - Added more granular debug options
  4001. - Added method to print both window text and id
  4002. - Switched debug output to use new Window() debug method
  4003. - Added IsEnabled() driver method
  4004. - Added EnableWindow() driver method
  4005. * Form.cs:
  4006. - Removed end_modal; no longer needed, new loop handles termination
  4007. via 'closing' variable
  4008. - If form is modal, setting DialogResult will now initiate loop
  4009. termination via 'closing' variable
  4010. - Added support for is_enabled/WS_DISABLED to CreateParams
  4011. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  4012. does all the work
  4013. - Removed code that's now in RunLoop from ShowDialog()
  4014. - Added various documented sanity checks to ShowDialog()
  4015. - Added handling of WM_DESTROY message; we set 'closing' on getting
  4016. the message to indicate the message pump to terminate
  4017. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  4018. send by the Application.ExitThread method. (We send the message
  4019. to destroy the window after all other events have been
  4020. processed through the queue, instead of destroying the handle
  4021. directly)
  4022. - Moved code from Close() method to WM_CLOSE handler; added logic
  4023. to only send close-related events if the form is not displayed
  4024. modal
  4025. * Splitter.cs (..ctor): Fixed typo in resource name
  4026. * Control.cs:
  4027. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  4028. brush now
  4029. - set_Cursor: Now only setting calling into XplatUI if the handle for
  4030. the control is already created; this avoids implict handle creation
  4031. or crashes if it's not created
  4032. - set_Enabled: Now setting the enabled state via the new driver method
  4033. instead of just tracking it
  4034. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  4035. - CreateControl: Reordered event firing and method calls to more
  4036. closely fire events in the order MS does. Now setting the
  4037. enabled state in the driver when creating the control.
  4038. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  4039. match MS order
  4040. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  4041. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  4042. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  4043. * Hwnd.cs:
  4044. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  4045. - Added EnabledHwnd property to easily allow a driver to find the
  4046. handle of the first enabled window in the parent chain (this is
  4047. used by drivers to pass up input events of disabled windows)
  4048. * XplatUIDriver.cs: Added IsEnabled() method
  4049. * Application.cs:
  4050. - Removed crude and obsolete exiting tracking variable
  4051. - Removed internal ModalRun(); replaced by RunLoop()
  4052. - Implemented private CloseForms() method to allow closing all
  4053. windows owned by a particular (or all) threads
  4054. - Exit() now properly closes all windows without forcing the message
  4055. pump to quit
  4056. - Removed obsolete InternalExit() method
  4057. - Changed Run() methods to use new RunLoop() message pump
  4058. - Implemented new RunLoop() method for both modal and non-modal forms
  4059. * CommonDialog.cs:
  4060. - get_CreateParams: Added setting of WS_DISABLED
  4061. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  4062. invoked via Form.ShowDialog()
  4063. * NativeWindow.cs: We don't remove the window from the collection when
  4064. the handle is destroyed; there might still be messages for it in the
  4065. queue (mainly the resulting WM_DESTROY); instead it will be removed
  4066. when Control calls InvalidateHandle in the WM_DESTROY handler
  4067. * XplatUIX11.cs:
  4068. - CreateWindow: Added logic to handle the WS_DISABLED window style
  4069. - EnableWindow: Implemented based on Hwnd.Enabled
  4070. - GetMessage: Reset PostQuitState so the method can be called again
  4071. - Implemented support for disabled windows (passing messages to the
  4072. first enabled parent) in handling all input messages
  4073. - Added optimizations for handling Expose events
  4074. - Implemeted new driver method IsEnabled()
  4075. - Now always resetting paint pending tracking vars when we start paint
  4076. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  4077. * XplatUIOSX.cs: Added IsEnabled method stub
  4078. * XplatUIWin32.cs: Implemented new IsEnabled() method
  4079. 2006-01-11 Jackson Harper <[email protected]>
  4080. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  4081. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  4082. variables a little.
  4083. * ColorDialog.cs: Clear out the old form before adding the new
  4084. panel.
  4085. 2006-01-11 Jackson Harper <[email protected]>
  4086. * X11Dnd.cs: Make sure to add all the text formats when adding
  4087. strings to the data object.
  4088. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  4089. do some redrawing too. Also change the UpdateNode to an
  4090. UpdateBelow so the newly added node gets painted.
  4091. 2006-01-11 Miguel de Icaza <[email protected]>
  4092. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  4093. LinkLabel.cs, PropertyGrid.cs: Implement the
  4094. UseCompatibleTextRendering property for 2.x
  4095. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  4096. 2006-01-11 Jackson Harper <[email protected]>
  4097. * TreeView.cs: Use the property for setting the selected node so
  4098. the correct events get raised.
  4099. * TreeNode.cs: Update the tree when the fore/back colours of a
  4100. node are set.
  4101. 2006-01-10 Jackson Harper <[email protected]>
  4102. * TreeView.cs: Allow setting SelectedNode to null.
  4103. 2006-01-9 Jonathan Chambers <[email protected]>
  4104. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  4105. 2006-01-9 Jonathan Chambers <[email protected]>
  4106. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  4107. 2006-01-9 Jonathan Chambers <[email protected]>
  4108. * PrintDialog.cs: Added attributes and set default property values.
  4109. 2006-01-9 Jonathan Chambers <[email protected]>
  4110. * PrintControllerWithStatusDialog.cs:
  4111. Added PrintControllerWithStatusDialog.
  4112. 2006-01-9 Jonathan Chambers <[email protected]>
  4113. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  4114. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  4115. 2006-01-9 Jonathan Chambers <[email protected]>
  4116. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  4117. 2006-01-09 Jonathan Chambers <[email protected]>
  4118. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  4119. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  4120. 2006-01-08 Alexander Olk <[email protected]>
  4121. * MimeIcon.cs: Added internal class SVGUtil.
  4122. 2006-01-08 Alexander Olk <[email protected]>
  4123. * FileDialog.cs: Don't crash if there are two files with the
  4124. same name but different locations.
  4125. 2006-01-08 John BouAntoun <[email protected]>
  4126. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  4127. dates across multiple month grids. Used to not highlight entire
  4128. month, but does now.
  4129. 2006-01-06 Jackson Harper <[email protected]>
  4130. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  4131. message loop. Change timer intervals to numbers that seem more
  4132. natural.
  4133. 2006-01-06 John BouAntoun <[email protected]>
  4134. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  4135. object for location info since screen object is now implemented.
  4136. 2006-01-05 Jackson Harper <[email protected]>
  4137. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  4138. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  4139. AsyncMethodResult, this is because we ALWAYS want the
  4140. ManualResetEvent to get set.
  4141. * Control.cs: When disposing use an async invoke to call shutdown
  4142. code, so that thigns don't block on the finalizer thread. Also
  4143. check if we even have a message loop before trying to send
  4144. messages, if we don't then don't bother sending messages.
  4145. - No more weak references for async methods
  4146. * XplatUIDriver.cs: No more weak references for async methods.
  4147. 2006-01-04 Alexander Olk <[email protected]>
  4148. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  4149. returns two FontFamily with the same name
  4150. 2006-01-04 Peter Dennis Bartok <[email protected]>
  4151. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  4152. drawing disabled text. Instead using the ColorGrayText color
  4153. 2006-01-04 Jackson Harper <[email protected]>
  4154. * TreeNode.cs: redraw the node when its image index is changed.
  4155. 2006-01-04 Peter Dennis Bartok <[email protected]>
  4156. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  4157. time I checked there are no others like it.
  4158. 2006-01-04 Jackson Harper <[email protected]>
  4159. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  4160. this gives the behavoir I was looking for.
  4161. * Control.cs: Special case Invoking EventHandlers, this matches MS
  4162. and fixes part of bug #76326.
  4163. 2006-01-04 Alexander Olk <[email protected]>
  4164. * ThemeClearlooks.cs, FileDialog.cs:
  4165. - Reflect the latest Theme class changes
  4166. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  4167. with DateTime
  4168. 2006-01-04 Alexander Olk <[email protected]>
  4169. * Theme.cs: Cache UI resource images and resize them if needed
  4170. 2006-01-03 Peter Dennis Bartok <[email protected]>
  4171. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  4172. is called. This fixes the crash in Nexxia when setting the font
  4173. attributes in the chat. [However, RTF needs a look-over to make sure
  4174. that all SelectionXXX methods handle the special case that selection
  4175. is empty and therefore the change must be applied to all text starting
  4176. at the cursor/selection start]
  4177. 2006-01-03 Peter Dennis Bartok <[email protected]>
  4178. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  4179. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  4180. * X11Keyboard.cs: Switched to new way of calling PostMessage
  4181. 2006-01-03 Peter Dennis Bartok <[email protected]>
  4182. * Theme.cs: Added theme interface for images to allow the theme to
  4183. control what images are used for things like FileDialog, MessageBox
  4184. icons, etc.
  4185. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  4186. 2006-01-03 Alexander Olk <[email protected]>
  4187. * FileDialog.cs:
  4188. - Removed some dead code
  4189. - Opening a recently used file does work now
  4190. - Small UI enhancements
  4191. - Refactoring
  4192. 2006-01-02 Alexander Olk <[email protected]>
  4193. * FileDialog.cs: Forgot too add __MonoCS__
  4194. 2006-01-02 Alexander Olk <[email protected]>
  4195. * FileDialog.cs: We are able to read recently used files now let's
  4196. go on and write them.
  4197. 2006-01-01 Alexander Olk <[email protected]>
  4198. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  4199. button
  4200. * MimeIcon.cs: Do a check for the top level media type also
  4201. 2005-12-31 Alexander Olk <[email protected]>
  4202. * ThemeClearlooks.cs:
  4203. - Added CPDrawStringDisabled
  4204. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  4205. some chars if the text doesn't fit into text_rect
  4206. - DrawListViewItem: If View = View.LargeIcon center the image;
  4207. rewrote the drawing of ListViewItem.Text if View =
  4208. View.LargeIcon
  4209. 2005-12-31 Alexander Olk <[email protected]>
  4210. * MimeIcon.cs: Use default KDE icon theme if there is no
  4211. "48x48" directory for the current icon theme, fixes #77114
  4212. * Mime.cs: Disable not working and actually not used code.
  4213. * ThemeWin32Classic.cs:
  4214. - Replace "new SolidBrush" in GetControlBackBrush and
  4215. GetControlForeBrush with ResPool.GetSolidBrush
  4216. - Changed DrawListViewItem from private to protected virtual
  4217. * FileDialog.cs:
  4218. - Added form.MaximizeBox = true
  4219. - Don't throw an exception if there is a broken symbolic link
  4220. 2005-12-23 Jackson Harper <[email protected]>
  4221. * TabControl.cs: Give the panels focus, keyboard navigation is
  4222. fixed so this works correctly now.
  4223. - We need these key events also.
  4224. * ToolBar.cs: Remove some of the poor mans double buffering.
  4225. 2005-12-24 Alexander Olk <[email protected]>
  4226. * ComboBox.cs: The internal TextBox now returns the focus.
  4227. 2005-12-23 Jackson Harper <[email protected]>
  4228. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  4229. 2005-12-23 Peter Dennis Bartok <[email protected]>
  4230. * Control.cs: Removed debug code
  4231. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  4232. implicit children
  4233. 2005-12-23 Peter Dennis Bartok <[email protected]>
  4234. * Control.cs: When creating the control, update the Z-order after
  4235. all it's children are created, too. (Fixes nexxia not showing
  4236. picturebox bug)
  4237. 2005-12-23 Peter Dennis Bartok <[email protected]>
  4238. * Control.cs: Do not update the anchoring distances if layout is
  4239. suspended, instead do it once layout is resumed
  4240. 2005-12-22 Peter Dennis Bartok <[email protected]>
  4241. * Control.cs:
  4242. - After many hours of debugging, for both Jackson and
  4243. myself, it turns out that it helps to set the parent of a control
  4244. if you want to actually see it onscreen. In the spirit of that
  4245. discovery, we're now setting the parent of the control and
  4246. it's children when the control's handle is created. This fix
  4247. will make Lutz Roeder's Reflector run happily.
  4248. - now just creating the handle instead of the whole control when
  4249. getting a graphics context for the control.
  4250. 2005-12-22 Peter Dennis Bartok <[email protected]>
  4251. * ScrollableControl.cs: When calculating the canvas, don't consider
  4252. the scrollbar widths. Instead, predict if horizontal scrollbar
  4253. will affect canvas when deciding on vertical display and vice versa.
  4254. 2005-12-22 Peter Dennis Bartok <[email protected]>
  4255. * RichTextBox.cs: Set default RTF font for documents that don't
  4256. have a font table (Fixes #77076)
  4257. 2005-12-22 Jackson Harper <[email protected]>
  4258. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  4259. clipboard. This prevents a NullRef in that case.
  4260. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  4261. clipboard. PRIMARY is for the currently selected text only. (We
  4262. should implement PRIMARY at some point.
  4263. 2005-12-21 Peter Dennis Bartok <[email protected]>
  4264. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  4265. a Unicode function with a structure that was defined in Ansi way.
  4266. This fixes #76942.
  4267. 2005-12-21 Jackson Harper <[email protected]>
  4268. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  4269. on. Because thats how it rolls. (and this avoids it using ambient
  4270. colours).
  4271. * ThemeWin32Classic.cs: Use the proper back color for filling.
  4272. * Menu.cs: Use the system menu bar color for drawing menu
  4273. bars. Using the window back color will bring ambient colours into
  4274. the picture.
  4275. 2005-12-21 Alexander Olk <[email protected]>
  4276. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  4277. Bitmaps were created and not disposed.
  4278. 2005-12-21 Peter Dennis Bartok <[email protected]>
  4279. * Control.cs (CreateControl): Don't do anything if the control is
  4280. already created, otherwise we'd fire the OnCreated event more than
  4281. once
  4282. 2005-12-21 Peter Dennis Bartok <[email protected]>
  4283. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  4284. will always match. Instead return -1. Fixes #76464.
  4285. 2005-12-21 Peter Dennis Bartok <[email protected]>
  4286. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  4287. neither the beginning nor the end of the line (Fixes bug #76479)
  4288. 2005-12-21 Peter Dennis Bartok <[email protected]>
  4289. * Control.cs:
  4290. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  4291. where handle is invalid
  4292. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  4293. instead of slower linear search
  4294. * NativeWindow.cs: Don't remove the window from the hashtable until
  4295. after the driver has destroyed it (since the driver might use
  4296. Control.FromHandle to lookup the control object
  4297. * Hwnd.cs: Added DestroyPending property to track if a window is
  4298. already destroyed as far as the driver is concerned and only hasn't
  4299. yet notified the control
  4300. * XplatUIX11.cs:
  4301. - Activate(): Check if the window is still valid before using the
  4302. handle
  4303. - Implemented DestroyChildWindow() method to mark child windows as
  4304. destroyed when a window is destroyed. This prevents situations
  4305. where we might call an X method based on queued events for a
  4306. window that already has been destroyed but we haven't yet pulled
  4307. the destroy method from the queue.
  4308. - Added a call to the new DestroyChildWindow() method to the drivers
  4309. DestroyWindow code. Also now marking the destroyed window itself
  4310. as pending
  4311. 2005-12-20 Jackson Harper <[email protected]>
  4312. * StatusBar.cs:
  4313. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  4314. anymore. Just do them when needed, also track the rects of panels
  4315. so that we can optimize refreshing more in the future.
  4316. 2005-12-20 Alexander Olk <[email protected]>
  4317. * ColorDialog.cs: Fixed focus drawing in small color controls
  4318. 2005-12-19 Jackson Harper <[email protected]>
  4319. * InternalWindowManager.cs:
  4320. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  4321. moving windows works properly.
  4322. 2005-12-19 Peter Dennis Bartok <[email protected]>
  4323. * Control.cs:
  4324. - Removed call to InitLayout() from SetBoundsCore(); doc says
  4325. it's only called when a control is added to a container
  4326. - Split InitLayout logic, moved to separate UpdateDistances() method
  4327. since we need to perform those calculations more often than just
  4328. when adding the control to a container. (Needed to fix #77022)
  4329. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  4330. - Reduced the OnBindingContextChanged events count, don't send them
  4331. unless the control is created, we still aren't totally matching
  4332. MS, but I can't quite figure out some of their rules
  4333. 2005-12-18 Alexander Olk <[email protected]>
  4334. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  4335. stripes
  4336. 2005-12-18 Alexander Olk <[email protected]>
  4337. * ThemeClearlooks.cs:
  4338. - Updated ProgressBar drawing
  4339. - Corrected drawing of ScrollBars and scroll buttons
  4340. - Some temporary fixes for minor pixel artefacts
  4341. 2005-12-18 Peter Dennis Bartok <[email protected]>
  4342. * Control.cs:
  4343. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  4344. cause events to be sent in the same order as MS does.
  4345. - Added ChangeParent() method to trigger various OnXXXChanged events
  4346. that need to be fired when a parent changes (This is a reworking
  4347. of the patch from r54254, with the X11 errors fixed)
  4348. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  4349. since on MS we get OnLayoutChanged events when calling Clear()
  4350. - Changed Enabled property to consider parent state as well, if a
  4351. parent is not enabled, the control will not be either
  4352. - Changed Parent property to simply call Controls.Add() since that
  4353. now does all the work required, this way we avoid code duplication
  4354. - Threw in a few OnBindingsContextChanged calls to try and match
  4355. when MS sends them. We seem to send a few too many, though.
  4356. - Added call to CreateControl when adding the control to a parent.
  4357. We were never calling CreateControl. Still needs some work, in
  4358. some places we treat HandleCreated and ControlCreated as equal,
  4359. which is wrong
  4360. - Removed obsolete commented out code from UpdateZOrder()
  4361. 2005-12-18 Alexander Olk <[email protected]>
  4362. * ThemeClearlooks.cs: Updated TrackBar drawing.
  4363. 2005-12-17 Alexander Olk <[email protected]>
  4364. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  4365. 2005-12-17 Alexander Olk <[email protected]>
  4366. * FileDialog.cs: Add the Help button and the open readonly
  4367. checkbox only if needed
  4368. 2005-12-16 Jackson Harper <[email protected]>
  4369. * Control.cs: Make sure we have an active menu before trying to
  4370. process commands on it. Prevents menu-less forms from crashing
  4371. when Alt is pressed.
  4372. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  4373. Dieter Bremes.
  4374. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  4375. 2.0 build.
  4376. 2005-12-16 Jackson Harper <[email protected]>
  4377. * InternalWindowManager.cs: Don't translate tool windows screen
  4378. coordinates. This fixes windows 'bouncing' around when being moved.
  4379. 2005-12-15 Peter Dennis Bartok <[email protected]>
  4380. * TextBoxBase.cs:
  4381. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  4382. not quite MS compatible, MS uses that number only for single line
  4383. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  4384. the limit at 2GB)
  4385. - Now enforcing the MaxLength limit when entering characters
  4386. - Added argument to internal Paste() method to track if it's called
  4387. from programatically or via keyboard, since keyboard driven pastes
  4388. need to enforce max-length
  4389. - Added logic to Paste to only paste as many chars as MaxLength
  4390. allows
  4391. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  4392. * TextControl.cs:
  4393. - Added Length property to return number of characters in document
  4394. - Added private CharCount property which only tracks actual chars
  4395. in the document (no linefeeds) and fires event when CharCount
  4396. changes
  4397. - Added tracking of character count to all methods that alter it
  4398. - Added LengthChanged event to allow applications to subscribe
  4399. to any changes to the document
  4400. 2005-12-15 Peter Dennis Bartok <[email protected]>
  4401. * TextBox.cs:
  4402. - Removed local password_char field (moved to TextBoxBase)
  4403. - Now setting the document's password var when password is
  4404. set
  4405. * TextBoxBase.cs:
  4406. - Added password_char field (needed here so MultiLine can
  4407. access it)
  4408. - Added logic to MultiLine property setter to set the document's
  4409. variable when password display is allowed
  4410. - Removed debug code and made some debug code conditional
  4411. * TextControl.cs:
  4412. - Added RecalculatePasswordLine() method to handle special password
  4413. char only lines
  4414. - Added PasswordChar property, also added related tracking vars
  4415. - Draw() method now uses local text var for grabbing text to draw,
  4416. this var is set to line.text unless we're doing password display,
  4417. then it is set to the pre-generated all-password-chars line
  4418. - Added calling RecalculatePasswordLine() method for password lines
  4419. 2005-12-14 Peter Dennis Bartok <[email protected]>
  4420. * Hwnd.cs:
  4421. - Added Reparented property to allow tracking of Window Manager
  4422. reparenting actions (which affect X/Y calculations of toplevel
  4423. windows)
  4424. - Made ToString() print window handles in hex
  4425. * XplatUIX11.cs:
  4426. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  4427. determine if X/Y needs offsetting
  4428. - AddConfigureNotify(): Fixed offset calculations
  4429. - Now adds ReparentNotify messages into the queue
  4430. - Now processes ReparentNotify messages and causes a
  4431. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  4432. is reparented (as most likely it's X/Y coordinates are changed
  4433. due to that)
  4434. 2005-12-14 Jackson Harper <[email protected]>
  4435. * XplatUIX11.cs: Tool windows still need to respek focus.
  4436. 2005-12-14 Peter Dennis Bartok <[email protected]>
  4437. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  4438. have a working release
  4439. 2005-12-13 Jackson Harper <[email protected]>
  4440. * Form.cs: Update styles after setting the border style regardless
  4441. of whether or not the window is using a window manager.
  4442. 2005-12-13 Jackson Harper <[email protected]>
  4443. * Form.cs: We now hook into an internal window manager instead of just an
  4444. MDI subsystem, this is so we can have properly behaving tool windows.
  4445. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  4446. * InternalWindowManager.cs: New internal class that acts as a
  4447. window manager for tool windows and as a base for mdi windows.
  4448. * MdiWindowManager.cs: New class that acts as a window manager for
  4449. mdi windows.
  4450. 2005-12-12 Jackson Harper <[email protected]>
  4451. * Control.cs: Updates so we match behavoir for for implicit
  4452. controls. Fixes explosions in MDI.
  4453. 2005-12-12 Jackson Harper <[email protected]>
  4454. * Control.cs: Implement Invalidate (Region).
  4455. 2005-12-12 Peter Dennis Bartok <[email protected]>
  4456. * Control.cs:
  4457. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  4458. the same events as MS does. MS fires events for each property
  4459. except, for unknown reasons, Cursor, when the control is reparented.
  4460. I can't seem to totally match add/remove since MS also fires some
  4461. VisibleChanged events, which makes no sense. Consolidated the
  4462. parenting code into a separate method so it can be called from
  4463. both Add and Remove. set_Parent no longer needs any special logic
  4464. as it calls the parent's add method which implicitly fires
  4465. all events
  4466. - Removed some obsolete code and debug output
  4467. - Enabled state is inherited from parents, if this is enabled
  4468. 2005-12-08 Peter Dennis Bartok <[email protected]>
  4469. * Form.cs: Removed commented out code
  4470. 2005-12-08 Peter Dennis Bartok <[email protected]>
  4471. * Control.cs:
  4472. - Added internal version of Invoke, with additional argument
  4473. indicating if we're calling it from a Dispose() handler. That
  4474. way we can avoid BeginInvoke throwing an exception if we're
  4475. calling for an already destroyed window.
  4476. - Added a dispose argument to BeginInvokeInternal, and made the
  4477. check if a valid window handle chain exists conditional on
  4478. it not being a dispose call
  4479. - Removed code in DestroyHandle to destroy our children. Since we
  4480. now handle the WM_DESTROY message we will catch all our children
  4481. being destroyed.
  4482. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  4483. * Form.cs:
  4484. - Added a field to track the application context of the form.
  4485. - No need to set closing variable as response to WM_CLOSE, instead
  4486. we destroy the window. We also call PostQuitMessage if the form
  4487. has an application context (which makes it the main app form,
  4488. which, when closed terminates the app)
  4489. * XplatUI.cs:
  4490. - Dropped Exit() method, it's naming was confusing
  4491. - Added PostQuitMessage() which causes GetMessage to return false
  4492. once the message queue is empty
  4493. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  4494. PostQuitMessage()
  4495. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  4496. no longer a valid XplatUI method, but left it in since it's used
  4497. internally. Added empty PostQuitMessage() method.
  4498. * MenuAPI.cs: Replaced call to Exit() with call to
  4499. PostQuitMessage, even though this is probably no longer needed.
  4500. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  4501. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  4502. * Application.cs:
  4503. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  4504. - Removed old debug code that would call XplatUI for exception
  4505. display, enabled standard exception handling (Still not enabled
  4506. though, until NativeWindow's ExternalExceptionHandler define
  4507. is removed
  4508. * NativeWindow.cs:
  4509. - Added internal method to allow control to update NativeWindow
  4510. after a window has been destroyed
  4511. - Added handling of already destroyed windows when calling i
  4512. DestroyWindow
  4513. - Added removal of handle from list on ReleaseHandle
  4514. * XplatUIX11.cs:
  4515. - Dropped GetMessageResult var and related code
  4516. - Added PostQuitState to field to track if PostQuitMessage has been
  4517. called
  4518. - Dropped Exit() method
  4519. - Added PostQuitMessage() method
  4520. - GetMessage now will return false if PostQuitState is set and no
  4521. more messages are in the queue.
  4522. - Expose handler will no longer generate WM_PAINT messages if we are
  4523. in PostQuitState since it's very likely any windows have already
  4524. been destroyed, and since Hwnd won't get updated until we have
  4525. processed the DestroyNotify we'd be causing X errors.
  4526. 2005-12-07 Peter Dennis Bartok <[email protected]>
  4527. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  4528. Thanks to Mike for pointing out the err of my ways.
  4529. 2005-12-07 Peter Dennis Bartok <[email protected]>
  4530. * Control.cs(PreProcessMessage): Moved menu handling back, but
  4531. after all other key handling, to match MS (who handles Menu in
  4532. DefWndProc)
  4533. * Menu.cs (WndProc): Removed my brainfart
  4534. 2005-12-07 Peter Dennis Bartok <[email protected]>
  4535. * Control.cs(PreProcessMessage): Removed special menu handling
  4536. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  4537. 2005-12-07 Mike Kestner <[email protected]>
  4538. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  4539. state according in tracker.
  4540. * Menu.cs : promote tracker field to base class and provide a tracker
  4541. lookup capability. Add/Remove shortcuts dynamically if the top menu
  4542. has a tracker. Unparent items that are removed from the collection.
  4543. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  4544. * Theme*.cs: add always_show_hotkeys field to support configurability
  4545. of mnemonic display. win32 doesn't show mnemonics until Alt is
  4546. pressed.
  4547. 2005-12-07 Jackson Harper <[email protected]>
  4548. * MdiChildContext.cs: Use Control.ResetCursor.
  4549. * Control.cs: ResetCursor needs to set the property so that the
  4550. correct XplatUI call gets made.
  4551. 2005-12-07 Peter Dennis Bartok <[email protected]>
  4552. * Control.cs: More fixes to make our key events match MS. We
  4553. were not setting the modifier state on KeyData, and we were
  4554. not generating any events when Alt was pressed with a key
  4555. since handling of WM_SYSxxx was missing for the OnKey methods.
  4556. 2005-12-07 Jackson Harper <[email protected]>
  4557. * MdiChildContext.cs: reenable the sizing code.
  4558. - When the mouse leaves a window reset its cursor.
  4559. 2005-12-07 Alexander Olk <[email protected]>
  4560. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  4561. 2005-12-07 Peter Dennis Bartok <[email protected]>
  4562. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  4563. widths of Fixed3D borders
  4564. 2005-12-07 Jackson Harper <[email protected]>
  4565. * MdiClient.cs: Fix warnings. Earn Mike's love.
  4566. 2005-12-07 Alexander Olk <[email protected]>
  4567. * ThemeClearlooks.cs:
  4568. - Adjusted mouse over button color
  4569. - Added first parts of CheckBox drawing
  4570. - Added correct color for selected text background
  4571. - Fixed ComboBox drawing
  4572. - Added CPDrawBorder3D and CPDrawBorder
  4573. 2005-12-06 Peter Dennis Bartok <[email protected]>
  4574. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  4575. 2005-12-06 Peter Dennis Bartok <[email protected]>
  4576. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  4577. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  4578. alert users via sound. We could add an enum arg with different
  4579. types of alerts in the future
  4580. 2005-12-06 Peter Dennis Bartok <[email protected]>
  4581. * Control.cs: Fix behaviour problems pointed out by Mike
  4582. 2005-12-05 Mike Kestner <[email protected]>
  4583. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  4584. prop setters. Calls parent.Refresh for now, but could be maybe be
  4585. optimized with an internal method on StatusBar at some point.
  4586. [Fixes #76513]
  4587. 2005-12-05 Peter Dennis Bartok <[email protected]>
  4588. * RichTextBox.cs: Implemented get_SelectionColor
  4589. 2005-12-05 Alexander Olk <[email protected]>
  4590. * ThemeClearlooks.cs:
  4591. - Removed dead code
  4592. - Draw black button border only if button is Form.AcceptButton
  4593. - Draw correct button color for pressed RadioButton if the mouse
  4594. has entered the button
  4595. - Updated ProgressBar drawing!
  4596. - Updated CPDrawSizeGrip drawing
  4597. - Updated StatusBarPanel drawing
  4598. 2005-12-05 Mike Kestner <[email protected]>
  4599. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  4600. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  4601. 2005-12-04 Alexander Olk <[email protected]>
  4602. * ThemeClearlooks.cs: Initial check-in, activate with
  4603. export MONO_THEME=clearlooks
  4604. * ThemeEngine.cs: Added ThemeClearlooks
  4605. 2005-12-03 Mike Kestner <[email protected]>
  4606. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  4607. [Fixes #76897]
  4608. 2005-12-02 Jackson Harper <[email protected]>
  4609. * Form.cs: If the child form has no menu the default main menu is
  4610. used as the active menu.
  4611. 2005-12-02 Peter Dennis Bartok <[email protected]>
  4612. * ListBox.cs: Check if any items exist before trying to resolve
  4613. coordinates into items
  4614. 2005-12-02 Peter Dennis Bartok <[email protected]>
  4615. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  4616. as the second color for the background hatch
  4617. 2005-12-02 Peter Dennis Bartok <[email protected]>
  4618. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  4619. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  4620. sure that what we pass to FormatText is always 1-based. Fixes #76885
  4621. 2005-11-29 Miguel de Icaza <[email protected]>
  4622. * NumericUpDown.cs (EndInit): When we are done initializing,
  4623. reflect any updates on the UI.
  4624. 2005-12-02 Jackson Harper <[email protected]>
  4625. * ImplicitHScrollBar.cs:
  4626. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  4627. their container controls.
  4628. * TreeView.cs: Use the new implicit scrollbars.
  4629. 2005-12-02 Jackson Harper <[email protected]>
  4630. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  4631. can play with it.
  4632. * TreeNodeCollection.cs: If we remove the topnode we need to
  4633. update topnode to the next node in line.
  4634. - When clearing nodes go through the same process as removing
  4635. them, so they get depareneted and checked if they are top node.
  4636. 2005-12-01 Jackson Harper <[email protected]>
  4637. * TreeView.cs: When imagelists are used the image area is
  4638. selectable as well as the text.
  4639. - If there are no selected nodes select the first one.
  4640. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  4641. so don't do it more then we need to.
  4642. 2005-12-01 Jackson Harper <[email protected]>
  4643. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  4644. that arrows can be scaled.
  4645. 2005-12-01 Jackson Harper <[email protected]>
  4646. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  4647. fail. Patch by Dieter Bremes
  4648. 2005-11-30 Jackson Harper <[email protected]>
  4649. * Form.cs: Property is 2.0 only
  4650. * PrintDialog.cs: Signature fix.
  4651. 2005-11-30 Peter Dennis Bartok <[email protected]>
  4652. * TextControl.cs:
  4653. - No longer artificially moves text 2 pixels down (now that we have
  4654. borders this is no longer needed)
  4655. - Added calcs for left, hanging and right indent
  4656. 2005-11-23 Mike Kestner <[email protected]>
  4657. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  4658. 2005-11-30 Jackson Harper <[email protected]>
  4659. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  4660. get cloned as part of CloneMenu ().
  4661. * Menu.cs: Make sure the parent of the items get set correctly
  4662. when they are added. And the owners are notified of the changes.
  4663. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  4664. we can change the menu being displayed/handled by the form without
  4665. changing the menu assosciated with the form.
  4666. - Don't let Mdi children draw/handle menus.
  4667. 2005-11-30 Jackson Harper <[email protected]>
  4668. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  4669. a MenuChanged event. Just to make the API a little more
  4670. consistent.
  4671. * MainMenu.cs:
  4672. * MenuItem.cs: Use the new OnMenuChanged
  4673. * MdiChildContext.cs: Handle menu merging.
  4674. * Form.cs: Implement MergedMenu.
  4675. 2005-11-30 Jackson Harper <[email protected]>
  4676. * Menu.cs: We were misusing Add. Add goes behind the specified
  4677. index according to the docs, and does not replace the specified
  4678. index. So I added an Insert method.
  4679. 2005-11-30 Peter Dennis Bartok <[email protected]>
  4680. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  4681. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  4682. is for Jackson
  4683. * RichTextBox.cs: Added calls to base for DnD events
  4684. 2005-11-28 Peter Dennis Bartok <[email protected]>
  4685. * TextControl.cs:
  4686. - Fixed drag-selection related crash; style fixes
  4687. - Implemented undo class
  4688. o Implemented method to capture document state for specified
  4689. range in document tree
  4690. o Implemented method to restore captured document state
  4691. o Implemented cursor tracking
  4692. o Implemented basic undo stack
  4693. - Added undo cursor tracking to methods altering cursor location
  4694. - Added undo tracking to selection deletion (still missing
  4695. other text-altering hookups)
  4696. * RichTextBox.cs:
  4697. - Added SelectionLength property
  4698. - Implemented CanPaste()
  4699. - Implemented Paste()
  4700. - Added missing protected methods
  4701. - Fixed RTF->Document conversion; now uses font index 0 and color
  4702. index 0 as the default font for the parsed text
  4703. - Fixed RTF<->Document font size translation
  4704. - Fixed RTF generation, now properly handles cross-tag boundaries
  4705. for single line selection
  4706. - No longer always appends blank line to generated RTF
  4707. - Removed TODOs
  4708. - Added missing attributes
  4709. - Hooked up undo-related methods
  4710. * TextBoxBase.cs:
  4711. - Implemented Copy()
  4712. - Implemented Paste()
  4713. - Implemented Cut()
  4714. - Fixed caret mis-behaviour on backspace across line-boundaries
  4715. 2005-11-29 Jackson Harper <[email protected]>
  4716. * MdiClient.cs: Add a method for activating mdi children. Very
  4717. basic right now. I imagine someday it might need more girth.
  4718. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  4719. children windows names are added to the menu item.
  4720. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  4721. mdilist. This happens regardless of whether or not there are any
  4722. mdi windows to see in the list, and according to my tests happens
  4723. before the items are even added. Also happens if there isn't even
  4724. an mdi client to get windows from.
  4725. 2005-11-29 Alexander Olk <[email protected]>
  4726. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  4727. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  4728. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  4729. * DataGridTableStyle.cs:
  4730. - Create always the styles for the missing columns even if they are
  4731. provided by the user (not default table style)
  4732. * DataGrid.cs:
  4733. - Fixes bug 76770
  4734. - Fixes SetDataBinding (always re-attach source)
  4735. - Fixes SetNewDataSource (only clear styles if they are not for
  4736. this source)
  4737. - Expands OnTableStylesCollectionChanged to handle style refresh
  4738. and remove properly
  4739. 2005-11-29 Jackson Harper <[email protected]>
  4740. * FileDialog.cs: Implement missing bits, remove some dead
  4741. code.
  4742. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  4743. creation of the panel so that the options set on the dialog are
  4744. seen when the panel is created.
  4745. * TreeView.cs: raise a click when items are clicked.
  4746. 2005-11-29 Jackson Harper <[email protected]>
  4747. * MdiClient.cs: Pass some signature methods through to base.
  4748. 2005-11-28 Jackson Harper <[email protected]>
  4749. * ListView.cs: Raise the click event when items are clicked.
  4750. 2005-11-28 Jackson Harper <[email protected]>
  4751. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  4752. a nullref.
  4753. 2005-11-27 Alexander Olk <[email protected]>
  4754. * ThemeNice.cs: - Removed 1 pixel bitmaps
  4755. - Use SmoothingMode.AntiAlias where it makes sense
  4756. (ScrollButton arrow for example)
  4757. - Enhanced Button focus drawing
  4758. - Fixed ComboBox drawing (no artefacts anymore, focus
  4759. rectangle is back again, reduced size of ComboButton, etc.)
  4760. - Fixed RadioButton focus drawing for Appearence.Button
  4761. - Slight ScrollButton redesign
  4762. - Some LinearGradientBrush size fixes
  4763. - GroupBoxes have now rounded edges
  4764. - Fixed StatusBar drawing
  4765. 2005-11-25 Alexander Olk <[email protected]>
  4766. * ThemeNice.cs: - Remove dead code
  4767. - use correct background colors for menus, etc.
  4768. - Fake pixel drawing with 1 pixel bitmaps
  4769. 2005-11-24 Jackson Harper <[email protected]>
  4770. * MdiClient.cs: Size the scrollbars when resizing the window.
  4771. - Resize the maximized windows when the client is resized
  4772. * Form.cs: Make the child context available
  4773. 2005-11-23 Jackson Harper <[email protected]>
  4774. * MdiChildContext.cs: Don't size windows if they are maximized.
  4775. 2005-11-23 Mike Kestner <[email protected]>
  4776. * ContextMenu.cs: use MenuTracker.
  4777. * Control.cs: remove menu handle usage.
  4778. * Form.cs: remove menu handle usage.
  4779. * Hwnd.cs: remove menu handle usage.
  4780. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  4781. motion and clicks to the new Tracker handlers.
  4782. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  4783. and handle usage.
  4784. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  4785. Killed the MENU and MENUITEM data types and associated collections
  4786. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  4787. MenuTracker class that exposes the leftovers from the old MenuAPI
  4788. static methods. Restructured Capture handling so that only one grab is
  4789. done for the entire menu hierarchy instead of handing off grabs to
  4790. submenus. Tracker now has an invisible control to Capture when active.
  4791. * MenuItem.cs: add sizing accessors, kill Create
  4792. and handle usage.
  4793. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  4794. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  4795. MENU(ITEM). remove menu handle usage, use Menu directly.
  4796. * XplatUIDriver.cs: remove menu handle usage.
  4797. * XplatUIOSX.cs: remove menu handle usage.
  4798. * XplatUIWin32.cs: remove menu handle usage.
  4799. * XplatUIX11.cs: remove menu handle usage.
  4800. 2005-11-22 Jackson Harper <[email protected]>
  4801. * Hwnd.cs: Don't compute the menu size for
  4802. DefaultClientRectangle.
  4803. - Reenable menu sizes being computed for GetClienRectangle.
  4804. * Form.cs: Remove comment of trechery
  4805. 2005-11-22 Jackson Harper <[email protected]>
  4806. * Hwnd.cs: The adjustments for the menu bar are made when it is
  4807. attached to the form.
  4808. 2005-11-19 Jackson Harper <[email protected]>
  4809. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  4810. (just like on windows).
  4811. 2005-11-19 Jackson Harper <[email protected]>
  4812. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  4813. use real buttons anymore because they are in non client area. The
  4814. one TODO here is that I need to somehow invalidate a section of
  4815. the non client area.
  4816. 2005-11-18 Jackson Harper <[email protected]>
  4817. * Control.cs: Put the enum check back in now that MDI doesnt have
  4818. to use this to set border styles.
  4819. * Form.cs: Only set mdi child windows borders if the handle has
  4820. been created.
  4821. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  4822. this directly on to the driver.
  4823. - Get the move start position before adjusting for the titlebar
  4824. height, this fixes the windows "skipping" when they are first
  4825. moved.
  4826. 2005-11-18 Jackson Harper <[email protected]>
  4827. * XplatUIX11.cs: Just compute the mdi borders separately as they
  4828. don't totally match up with normal form borders.
  4829. 2005-11-18 Jackson Harper <[email protected]>
  4830. * Control.cs: Set WS_ styles for borders, so that the driver does
  4831. not have to retrieve the control instance to figure out what kind
  4832. of borders it should have.
  4833. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  4834. driver can know its an mdi child easily.
  4835. * XplatUIX11.cs: Get the border styles and whether the window is
  4836. MDI from the Styles and ExStyles params instead of having to get a
  4837. control. This prevents a chicken and egg problem.
  4838. 2005-11-18 Jackson Harper <[email protected]>
  4839. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  4840. 2005-11-18 Jackson Harper <[email protected]>
  4841. * MdiClient.cs: Calculate when to add and remove scrollbars
  4842. correctly.
  4843. * MdiChildContext.cs: Adjust the y position to take the titlebar
  4844. into account.
  4845. - No height for FormBorderStyle.None
  4846. 2005-11-18 Jackson Harper <[email protected]>
  4847. * Control.cs: Allow non enum values to be used for
  4848. InternalBorderStyle. MDI does this to set a special border style.
  4849. - New utility methods for converting points to/from client coords
  4850. - Add the newly created control to the Controls collection before
  4851. updating its style. This way UpdateStyle can walk the control
  4852. heirarchy to find the control if needed.
  4853. so I don't need to create a new Point object all the time.
  4854. * Form.cs: Let MDI windows handle their border styles.
  4855. - Set styles on MDI windows so the correct title style is derived.
  4856. * MdiChildContext.cs: Move all the painting and window handling
  4857. into the non client area.
  4858. - Use correct sizing and put correct buttons on frames based on
  4859. the FormBorderStyle.
  4860. - Notify the mdi client about scrolling
  4861. - Need to handle the buttons ourselves now, because they are all
  4862. in non client areas and we can't add controls there.
  4863. * MdiClient.cs: Halfway to scrolling, this implementation is
  4864. somewhat broken though, we need to check to make sure other
  4865. windows aren't causing scrolling before removing the bars. Also
  4866. the bars need to be drawn on top, maybe I can switch implicit
  4867. controls to be on top.
  4868. * Hwnd.cs: caption_height and tool_caption_height are now
  4869. properties of an hwnd, this way they can be set by the driver
  4870. based on the type of window they are. In X11 the window manager
  4871. handles the decorations so caption_height is zero unless its an
  4872. MDI window.
  4873. - Add 3 pixel borders for MDI windows (0xFFFF).
  4874. - Get rid of some code duplication, have DefaultClientRectanle
  4875. just call GetClientRectangle.
  4876. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  4877. Hwnd now.
  4878. - Set border styles differently for mdi windows.
  4879. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  4880. Hwnd now.
  4881. 2005-11-15 Mike Kestner <[email protected]>
  4882. * Menu.cs: when adding an item to the collection, if item is already
  4883. parented, remove it from the parent.
  4884. 2005-11-13 Alexander Olk <[email protected]>
  4885. * X11DesktopColors.cs: Added KDE support
  4886. 2005-11-11 Peter Dennis Bartok <[email protected]>
  4887. * XplatUIWin32.cs:
  4888. - Clipboard methods now can translate Rtf format
  4889. - No longer removes clipboard contents whenever a new format is added
  4890. to allow placing multiple formats on the clipboard
  4891. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  4892. will place all formats contained in it onto the clipboard. Also
  4893. now cleans the clipboard before placing a new object onto it
  4894. * RichTextBox.cs:
  4895. - Implemented set_Rtf
  4896. - Implemented set_SelectedRtf
  4897. - Created InsertRTFFromStream() method to allow single code base
  4898. for all properties and methods that insert RTF into document
  4899. - Removed debug output
  4900. * TextControl.cs:
  4901. - Fixed Delete(int) to fix up line numbers
  4902. - Fixed ReplaceSelection to combine start and end line
  4903. - Fixed serious DeleteChars bug that would leave the document tree
  4904. broken
  4905. - Improved DumpTree with several logic checks to detect broken
  4906. document trees
  4907. - Removed debug lines
  4908. - Fixed Caret.WordForward/WordBack moving code, now always also
  4909. updates caret.tag (fixes crash when word-selecting across tag
  4910. boundaries via keyboard)
  4911. - Added Insert() method for inserting multiline text into documents
  4912. - Fixed DeleteChars() calculation errors that would cause a broken
  4913. tag chain with multiple tag lines
  4914. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  4915. - Split() no longer moves caret if split is at caret location
  4916. - ReplaceSelection() now updates the cursor and re-displays it
  4917. - ReplaceSelection() now uses new Insert() method to avoid code
  4918. duplication
  4919. - FormatText() can now handle formatting partial lines
  4920. * TextBoxBase.cs:
  4921. - Append now uses new TextControl.Insert() method (this avoids
  4922. duplicate code)
  4923. - Implemented Ctrl-X (Cut) (
  4924. - Implemented Ctrl-C (Copy)
  4925. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  4926. regeneration when pasting text; roundtripping Copy&Paste within
  4927. edit control still fails due to some calculation bugs in GenerateRTF)
  4928. - The Delete key will now remove the current selection if it is visible
  4929. * TextBox.cs: Removed debug lines
  4930. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  4931. driver to be initialized and can't therefore be done via a static ctor)
  4932. 2005-11-10 Peter Dennis Bartok <[email protected]>
  4933. * TextControl.cs: Added backend code for finding char arrays and strings
  4934. * TextBoxBase.cs:
  4935. - Added mouse wheel scroll support
  4936. - Added support for VScroll and HScroll events
  4937. * RichTextBox.cs:
  4938. - Implemented all seven Find() variants
  4939. - Implemented GetCharFromPosition()
  4940. - Implemented GetCharIndexFromPosition()
  4941. - Implemented GetLineFromIndex()
  4942. - Implemented GetPositionFromCharIndex();
  4943. - Implemented SaveFile for PlainText and UnicodeText
  4944. - Fixed set_Font, now setting a new font applies that font to
  4945. the whole document
  4946. - Implemented generic Document to RTF converter
  4947. - Implemented SaveFile for RichText format (still missing unicode
  4948. conversion for non-ansi chars)
  4949. - Implemented get_Rtf
  4950. - Implemented get_SelectedRtf
  4951. 2005-11-09 Peter Dennis Bartok <[email protected]>
  4952. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  4953. to allow any captures to be released before triggering OnClick. This
  4954. way a click handler may capture the mouse without interference.
  4955. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  4956. This way we send them even though X may not allow a grab (if the window
  4957. isn't visible, for example)
  4958. 2005-11-08 Pedro Martinez Julia <[email protected]>
  4959. * DataGridViewRowEventArgs.cs: DataGridView implementation
  4960. * DataGridViewElement.cs: DataGridView implementation
  4961. * DataGridViewComboBoxCell.cs: DataGridView implementation
  4962. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  4963. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  4964. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  4965. * ImageLayout.cs: DataGridView implementation
  4966. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  4967. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  4968. * DataGridViewSelectionMode.cs: DataGridView implementation
  4969. * IDataGridViewEditingControl.cs: DataGridView implementation
  4970. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  4971. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  4972. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  4973. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  4974. * DataGridViewColumnSortMode.cs: DataGridView implementation
  4975. * DataGridView.cs: DataGridView implementation
  4976. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  4977. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  4978. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  4979. * Padding.cs: DataGridView implementation
  4980. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  4981. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  4982. * DataGridViewRowEventHandler.cs: DataGridView implementation
  4983. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  4984. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  4985. * DataGridViewButtonCell.cs: DataGridView implementation
  4986. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  4987. * DataGridViewEditMode.cs: DataGridView implementation
  4988. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  4989. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  4990. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  4991. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  4992. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  4993. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  4994. * DataGridViewCellEventHandler.cs: DataGridView implementation
  4995. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  4996. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  4997. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  4998. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  4999. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  5000. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  5001. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  5002. * QuestionEventArgs.cs: DataGridView implementation
  5003. * IDataGridViewEditingCell.cs: DataGridView implementation
  5004. * DataGridViewTriState.cs: DataGridView implementation
  5005. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  5006. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  5007. * DataGridViewColumnCollection.cs: DataGridView implementation
  5008. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  5009. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  5010. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  5011. * DataGridViewColumn.cs: DataGridView implementation
  5012. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  5013. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  5014. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  5015. * DataGridViewRow.cs: DataGridView implementation
  5016. * DataGridViewImageCellLayout.cs: DataGridView implementation
  5017. * DataGridViewImageCell.cs: DataGridView implementation
  5018. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  5019. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  5020. * DataGridViewHeaderCell.cs: DataGridView implementation
  5021. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  5022. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  5023. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  5024. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  5025. * QuestionEventHandler.cs: DataGridView implementation
  5026. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  5027. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  5028. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  5029. * DataGridViewCell.cs: DataGridView implementation
  5030. * DataGridViewCellEventArgs.cs: DataGridView implementation
  5031. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  5032. * DataGridViewCellStyle.cs: DataGridView implementation
  5033. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  5034. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  5035. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  5036. * TextFormatFlags.cs: DataGridView implementation
  5037. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  5038. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  5039. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  5040. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  5041. * DataGridViewButtonColumn.cs: DataGridView implementation
  5042. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  5043. * HandledMouseEventArgs.cs: DataGridView implementation
  5044. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  5045. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  5046. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  5047. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  5048. * DataGridViewRowCollection.cs: DataGridView implementation
  5049. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  5050. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  5051. * DataGridViewHitTestType.cs: DataGridView implementation
  5052. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  5053. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  5054. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  5055. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  5056. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  5057. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  5058. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  5059. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  5060. * DataGridViewContentAlignment.cs: DataGridView implementation
  5061. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  5062. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  5063. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  5064. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  5065. * DataGridViewPaintParts.cs: DataGridView implementation
  5066. * DataGridViewCellCollection.cs: DataGridView implementation
  5067. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  5068. * DataGridViewImageColumn.cs: DataGridView implementation
  5069. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  5070. * DataGridViewElementStates.cs: DataGridView implementation
  5071. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  5072. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  5073. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  5074. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  5075. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  5076. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  5077. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  5078. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  5079. * DataGridViewTextBoxCell.cs: DataGridView implementation
  5080. * DataGridViewBand.cs: DataGridView implementation
  5081. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  5082. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  5083. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  5084. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  5085. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  5086. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  5087. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  5088. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  5089. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  5090. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  5091. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  5092. 2005-11-08 Peter Dennis Bartok <[email protected]>
  5093. * ThemeWin32Classic.cs:
  5094. - Draw the outside focus rectangle around buttons
  5095. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  5096. doesn't use end caps for every dash of a line anymore. This
  5097. workaround ignores the forecolor.
  5098. 2005-11-08 Kornél Pál <[email protected]>
  5099. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  5100. endian safe.
  5101. 2005-11-07 Jackson Harper <[email protected]>
  5102. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  5103. 2005-11-07 Jackson Harper <[email protected]>
  5104. * ScrollableControl.cs: Calculate the maximum and change vars
  5105. (more) correctly so that scrollbars appear as a sensible size.
  5106. 2005-11-04 Jackson Harper <[email protected]>
  5107. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  5108. collection.
  5109. * TreeView.cs: When the tree is sorted null out the top_node so
  5110. that it is recalculated.
  5111. - Use dotted lines instead of dashed lines to match MS better.
  5112. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  5113. * ListView.cs:
  5114. - Implements key search for items. Useful when browsing files with FileDialog
  5115. - When changing view mode or when clear the items reset scrollbar positions
  5116. 2005-11-04 Jackson Harper <[email protected]>
  5117. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  5118. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  5119. as to what the method may do as there is no real way of creating a
  5120. derived CurrencyManager and calling the method.
  5121. 2005-11-03 Jackson Harper <[email protected]>
  5122. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  5123. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  5124. method which seems to just be used internally to refresh the tabs.
  5125. 2005-11-03 Jackson Harper <[email protected]>
  5126. * TabControl.cs: Implement the remove method. Fix some broken
  5127. comments.
  5128. 2005-11-03 Peter Dennis Bartok <[email protected]>
  5129. * DateTimePicker.cs:
  5130. - Added missing DateTimePickerAccessibleObject class
  5131. - Added missing events
  5132. - Added OnFontChanged method
  5133. * Form.cs: Added missing attributes
  5134. * TreeView.cs: Added missing attributes
  5135. 2005-11-03 Peter Dennis Bartok <[email protected]>
  5136. * GridItemCollection.cs: Fix signatures
  5137. 2005-11-03 Peter Dennis Bartok <[email protected]>
  5138. * XplatUI.cs: Updated build rev/date
  5139. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  5140. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  5141. * Application.cs: Trigger context-specific ExitThread events
  5142. 2005-11-03 Jackson Harper <[email protected]>
  5143. * Menu.cs:
  5144. * MainMenu.cs:
  5145. * GridTableStylesCollection.cs:
  5146. * Timer.cs:
  5147. * TabPage.cs:
  5148. * HelpProvider.cs:
  5149. * StatusBar.cs:
  5150. * MonthCalendar.cs: Signature fixes
  5151. 2005-11-03 Jackson Harper <[email protected]>
  5152. * TreeNodeCollection.cs: Remove should not be virtual.
  5153. * TreeView.cs: Implement the last of the missing methods.
  5154. 2005-11-03 Jackson Harper <[email protected]>
  5155. * TreeNodeConverter.cs: Implement to get off my class-status back.
  5156. 2005-11-03 Jackson Harper <[email protected]>
  5157. * TreeView.cs: Hookup the bits for drag and drop.
  5158. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  5159. that nodes can be moved from tree to tree easily this just causes
  5160. all sorts of problems.
  5161. * TreeNodeCollection: Don't need to give treenodes an index and
  5162. treeview anymore when they are added, these are computed on the
  5163. fly. Also make sure to remove a node before its added.
  5164. 2005-11-03 Peter Dennis Bartok <[email protected]>
  5165. * TextControl.cs:
  5166. - Added CaretSelection enum
  5167. - Added comparison methods to Marker struct, makes selection code
  5168. more readable
  5169. - Added SelectionStart and SelectionEnd as 'moveable' location for
  5170. the CaretDirection enum and handler
  5171. - Added selection_prev variable to track optimized invalidation for
  5172. word and line selection
  5173. - Added SelectionVisible property (returns true if there is a valid
  5174. selection)
  5175. - Switched CaretHasFocus to only display the caret if there is no
  5176. visible selection
  5177. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  5178. using the direct character index; should be much faster
  5179. - Added various conditional debug statements
  5180. - Fixed invalidation calculation for selection ranges
  5181. - Added ExpandSelection() method to support word and line selection
  5182. - Switched SetSelectionToCaret to use new Marker compare overloads
  5183. - Added central IsWordSeparator() method to determine word
  5184. separators/whitespace and FindWordSeparator() to streamline common
  5185. usage of IsWordSeparator()
  5186. * TextBoxBase.cs:
  5187. - Removed unneeded grabbed variable, it was just mirroring
  5188. Control.Capture
  5189. - No longer firing OnTextChanged event when Text setter is called,
  5190. since the base will fire the event for us
  5191. - Added handling of Ctrl-Up/Down selection
  5192. - Added handling of Shift-Cursorkey selection
  5193. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  5194. words
  5195. - Added handling of Shift and Ctrl-Shift-Home/End selection
  5196. - Removed some debug output
  5197. - Added handling for single/double/tripple-click to place caret/
  5198. select word/select line respectively (Fixes bug #76031)
  5199. - Added support for drag expansion of word/line selection
  5200. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  5201. current selection
  5202. 2005-11-02 Jackson Harper <[email protected]>
  5203. * X11Dnd.cs: If the drag is going to and from a MWF window just
  5204. copy the data instead of sending it out through the X Selection
  5205. mechanism.
  5206. 2005-11-02 Jackson Harper <[email protected]>
  5207. * X11Dnd.cs:
  5208. * XplatUIX11.cs: When in a drag we don't want motion notify
  5209. messages to get passed on to the other controls. This prevents
  5210. mouse move messages from showing up in the drag source.
  5211. 2005-11-02 Jackson Harper <[email protected]>
  5212. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  5213. the correct button is release to end a drag.
  5214. * XplatUIX11.cs: Make the button state internal so the drag system
  5215. can access it. Dragging needs to know about all button releases,
  5216. not just left button.
  5217. 2005-11-02 Miguel de Icaza <[email protected]>
  5218. * Form.cs (Icon): If the icon is null, reset the icon to the
  5219. default value.
  5220. * Cursor.cs: When writing the AND-mask bitmap do not include the
  5221. number of colors, but hardcode those to two (black and white),
  5222. fixes the loading of color cursors (Paint Dot Net).
  5223. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  5224. turn off autoscaling.
  5225. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  5226. 2005-11-02 Jackson Harper <[email protected]>
  5227. * X11Dnd.cs: Make sure to send a status message if the pointer
  5228. enters a control that can not accept a drop, otherwise the cursor
  5229. isn't updated correctly. Also tried to compress the lines of code
  5230. a bit.
  5231. 2005-11-02 Jackson Harper <[email protected]>
  5232. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  5233. set actions correctly. This isn't perfect as XDND and win32 have
  5234. some differences on how you allow actions. I'll clear this up by
  5235. adding a path for drag from MWF to MWF windows.
  5236. * XplatUIX11.cs: Hook into the dnd system.
  5237. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  5238. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  5239. previously shown but they are no longer need it. Very obvious when
  5240. browsing files with FileDialog.
  5241. 2005-11-01 Peter Dennis Bartok <[email protected]>
  5242. * Control.cs: We always need to call OnPaintBackground. We pretty much
  5243. ignore AllPaintingInWmPaint and always do the painting there, whether
  5244. it's set or not, since we always ignore the WM_ERASEBKGND message
  5245. (which we don't generate on X11). This fixes #76616.
  5246. * Panel.cs: Removed unneeded background painting. This happens properly
  5247. in Control.cs already
  5248. 2005-10-31 Mike Kestner <[email protected]>
  5249. * Menu.cs: Add items to collection before setting their index.
  5250. * MenuItem.cs : add range checking with ArgumentException like MS.
  5251. [Fixes #76510]
  5252. 2005-10-31 Jackson Harper <[email protected]>
  5253. * ListBox.cs: Invalidate if the area is visible at all not just
  5254. contained in the visible rect. Fixes unselection of semi visible
  5255. items.
  5256. 2005-10-31 Jackson Harper <[email protected]>
  5257. * Control.cs: Consistently name the dnd methods. Make them
  5258. internal so we can override them to match some MS behavoir
  5259. internally.
  5260. * Win32DnD.cs: Use the new consistent names.
  5261. 2005-10-31 Jackson Harper <[email protected]>
  5262. * TreeView.cs: Don't draw the selected node when we lose focus.
  5263. 2005-10-31 Jackson Harper <[email protected]>
  5264. * X11Dnd.cs: We still need to reset the state even though a full
  5265. reset isn't being done, otherwise status's still get sent all over
  5266. the place.
  5267. 2005-10-31 Jackson Harper <[email protected]>
  5268. * Control.cs: Make the dnd_aware flag internal so the dnd
  5269. subsystem can check it. Catch exceptions thrown in dnd handlers to
  5270. match MS behavoir.
  5271. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  5272. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  5273. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  5274. flags to reduce the number of dnd enters/status's sent.
  5275. 2005-10-31 Jackson Harper <[email protected]>
  5276. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  5277. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  5278. * PictureBox.cs: Fixes 76512
  5279. 2005-10-28 Jackson Harper <[email protected]>
  5280. * X11Dnd.cs: Early implementation to support winforms being a drag
  5281. source for data on X11. Also restructured the converters so they
  5282. can go both ways now.
  5283. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  5284. 2005-10-27 Peter Dennis Bartok <[email protected]>
  5285. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  5286. clipboard requests
  5287. 2005-10-27 Jackson Harper <[email protected]>
  5288. * TreeNode.cs: Implement serialization so my DnD examples will work.
  5289. 2005-10-24 Kornél Pál <[email protected]>
  5290. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  5291. TreeView.cs: Don't dispose objects that are not owned.
  5292. 2005-10-24 Peter Dennis Bartok <[email protected]>
  5293. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  5294. should retrieve the current cursor and report that, but XplatUI
  5295. doesn't (yet) have an interface for that (and I'm not sure I even
  5296. can, on X11)
  5297. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  5298. until any message loop processing is done (and the WM_SETCURSOR
  5299. replaces the cursor to the proper one)
  5300. * XplatUIX11.cs:
  5301. - Fixed override behaviour, we can't set the cursor globally on X11,
  5302. just for our windows.
  5303. - Invalidating the System.Drawing X11 display handle when we are
  5304. shutting down
  5305. * Control.cs: Fix to make csc happy
  5306. 2005-10-23 Peter Dennis Bartok <[email protected]>
  5307. * TextBoxBase.cs:
  5308. - get_Text: Add last line (without trailing newline) to returned
  5309. value (Fixes 76212)
  5310. - get_TextLength: Count last line in returned length
  5311. - ToString: Call Text property instead of duplicating code
  5312. 2005-10-23 Kornél Pál <[email protected]>
  5313. * ImageList.cs: Dispose ImageAttributes objects.
  5314. 2005-10-22 Kornél Pál <[email protected]>
  5315. * ImageList.cs: Use attribute constructors with less arguments where
  5316. possible.
  5317. 2005-10-22 Kornél Pál <[email protected]>
  5318. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  5319. Use typeof instead of strings when assembly is referenced. Added
  5320. some more comments.
  5321. 2005-10-21 Jackson Harper <[email protected]>
  5322. * ListView.cs: Raise a double click event. Also tried to somewhat
  5323. fix when the selectedindexchanged event is raised. Its still
  5324. broken though.
  5325. 2005-10-21 Jackson Harper <[email protected]>
  5326. * TreeView.cs: New method to invalidate the plus minus area of a
  5327. node without invalidating the whole node (maybe this can be used
  5328. in some more places).
  5329. * TreeNodeCollection.cs: When adding to an empty node we need to
  5330. invalidate its plus minus area so the little block shows up.
  5331. 2005-10-21 Jackson Harper <[email protected]>
  5332. * TreeView.cs: Make sure that when we invalidate a node the bounds
  5333. are big enough to cover the selected box and the focus
  5334. rectangle. Use a different colour for the lines connecting nodes
  5335. so they show up with all themes.
  5336. 2005-10-21 Peter Dennis Bartok <[email protected]>
  5337. * NativeWindow.cs: Don't call anything that could call into the driver,
  5338. we might be on a different thread.
  5339. 2005-10-21 Peter Dennis Bartok <[email protected]>
  5340. * Control.cs(Dispose): Since Dispose might run on a different thread,
  5341. make sure that we call methods that could call into the driver via
  5342. invoke, to avoid thread issues
  5343. 2005-10-21 Peter Dennis Bartok <[email protected]>
  5344. * XplatUI.cs: Removed finalizer
  5345. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  5346. not allowing to be called on the finalizer thread.
  5347. 2005-10-21 Kornél Pál <[email protected]>
  5348. * ImageList.cs:
  5349. - Reverted r51889 and r51891.
  5350. - Added ImageListItem class that stores unmodified image items and image
  5351. properties required to create list images until handle is created.
  5352. - Added AddItem and moved image creation logic to AddItemInternal.
  5353. - Added CreateHandle method that creates images based on unmodified items.
  5354. - Added DestroyHandle that changes state to store unmodified items.
  5355. - Add and AddStrip methods no more create handle.
  5356. - ReduceColorDepth has no return value.
  5357. - Dispose destroys handle.
  5358. - Modified other methods to reflect the above changes.
  5359. - Implemented key support.
  5360. - Added profile 2.0 members and attributes.
  5361. - Added private Reset and ShouldSerialize methods that provide the same
  5362. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  5363. them as they are private.
  5364. - Added some more comments about implementation details.
  5365. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  5366. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  5367. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  5368. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  5369. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  5370. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  5371. * DataGridColumnStyle.cs: Remove debug message
  5372. 2005-10-20 Jackson Harper <[email protected]>
  5373. * TreeView.cs: We can always get input keys regardless of whether
  5374. or not editing is enabled. They are used for navigation.
  5375. 2005-10-20 Jackson Harper <[email protected]>
  5376. * TreeNode.cs: Use the viewport rect for determining if a node
  5377. needs to be moved for visibility. Don't use Begin/End edit. This
  5378. calls a full refresh when its done.
  5379. * TreeView.cs: New SetBottom works correctly. Make the viewport
  5380. rect property internal so the treenodes can see it. When clicking
  5381. on a node we need to ensure that its visible because it might just
  5382. be partly visible when clicked.
  5383. 2005-10-20 Jackson Harper <[email protected]>
  5384. * TreeNodeCollection.cs: Remove debug code.
  5385. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  5386. * Datagrid.cs: Implements column sorting in Datagrid
  5387. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  5388. 2005-10-20 Jackson Harper <[email protected]>
  5389. * TreeNodeCollection.cs: Remove items properly. Update the correct
  5390. area after removing them.
  5391. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  5392. * Datagrid.cs: Should not call base.OnPaintBackground
  5393. 2005-10-20 Peter Dennis Bartok <[email protected]>
  5394. * XplatUIX11.cs (GetMessage):
  5395. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  5396. window instead of client window
  5397. - Now properly calculates NC_xBUTTONUP message coordinates
  5398. - ScreenToMenu now properly calculates it's coordinates of whole
  5399. window, since menus are in the whole window, not in the client
  5400. window
  5401. - Added WholeToScreen coordinate translation method
  5402. 2005-10-20 Peter Dennis Bartok <[email protected]>
  5403. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  5404. want to return a message, loop back to the beginning of the function
  5405. and grab the next real message to process instead.
  5406. 2005-10-20 Peter Dennis Bartok <[email protected]>
  5407. * Splitter.cs: Properly set limits if no filler control is used
  5408. 2005-10-19 Jackson Harper <[email protected]>
  5409. * ColorDialog.cs: Don't show the help button if it is not enabled
  5410. instead of disabling it (this is what MS does). Don't create the
  5411. panel until the dialog is run, otherwise the vars (such as
  5412. ShowHelp) are not set yet.
  5413. 2005-10-19 Jackson Harper <[email protected]>
  5414. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  5415. are reduced when adding nodes.
  5416. * TreeNode.cs:
  5417. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  5418. tree.
  5419. 2005-10-19 Jackson Harper <[email protected]>
  5420. * FolderBrowserDialog.cs: End editing our treeview so the window
  5421. actually gets refreshed.
  5422. 2005-10-18 Peter Dennis Bartok <[email protected]>
  5423. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  5424. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  5425. inside of WM_PAINT
  5426. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  5427. * MenuAPI.cs: Returns after Hidding window
  5428. * XplatUIX11.cs: Added TODO found while debugging menu issues
  5429. 2005-10-18 Peter Dennis Bartok <[email protected]>
  5430. * XplatUIX11.cs: Do not re-map the whole window when it's size
  5431. becomes non-zero unless it's supposed to be actually visible
  5432. 2005-10-18 Jackson Harper <[email protected]>
  5433. * TreeView.cs: We don't need to keep a count anymore.
  5434. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  5435. use the Grow method.
  5436. 2005-10-18 Jackson Harper <[email protected]>
  5437. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  5438. implement it manually here.
  5439. 2005-10-18 Jackson Harper <[email protected]>
  5440. * ImageList.cs: Dont kill the list when the colour depth is
  5441. changed, just change the colour depth of all the images.
  5442. - Same goes for setting the image size. Just resize them all
  5443. instead of killing the list softly.
  5444. 2005-10-18 Jackson Harper <[email protected]>
  5445. * Control.cs: Don't invalidate empty rectangles.
  5446. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  5447. * ListViewItem.cs:
  5448. - Adds checked item to the Checked/Item lists (where empty before)
  5449. - Do not add items to the Selected lists if they are already present
  5450. * ListView.cs:
  5451. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  5452. - When deleting items make sure that we delete them for the Selected
  5453. and Checked list also.
  5454. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  5455. * Label.cs: Dispose objects no longer used
  5456. * ThemeWin32Classic.cs: Dispose objects no longer used
  5457. 2005-10-18 Jackson Harper <[email protected]>
  5458. * TabControl.cs: Don't refresh the whole control when the tabs are
  5459. scrolled, we just need to refresh the tab area.
  5460. 2005-10-17 Jackson Harper <[email protected]>
  5461. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  5462. after handle when we need it.
  5463. 2005-10-17 Peter Dennis Bartok <[email protected]>
  5464. * Control.cs: When the parent size changes, recalculate anchor
  5465. positions. Partial fix for #76462
  5466. 2005-10-17 Peter Dennis Bartok <[email protected]>
  5467. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  5468. drawn. Fixes #76462
  5469. 2005-10-17 Jackson Harper <[email protected]>
  5470. * MonthCalendar.cs: Don't create the numeric up down until our
  5471. handle is created. Otherwise our handle is created in the
  5472. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  5473. yet.
  5474. 2005-10-17 Jackson Harper <[email protected]>
  5475. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  5476. correctly.
  5477. 2005-10-17 Rafael Teixeira <[email protected]>
  5478. * TreeNode.cs : small logical fix (was using local var instead of field)
  5479. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  5480. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  5481. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  5482. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  5483. 2005-10-16 Peter Dennis Bartok <[email protected]>
  5484. * Control.cs:
  5485. - Re-implemented anchoring code. My first version was really broken.
  5486. This fixes bug #76033. Unlike the previous implementation we will
  5487. no longer have round errors since all numbers are calculated from
  5488. scratch every time. Removed various anchor-related obsolete vars.
  5489. - InitLayout no longer causes layout event firing and layout to be
  5490. performed
  5491. 2005-10-16 Jackson Harper <[email protected]>
  5492. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  5493. which was broken).
  5494. 2005-10-16 Jackson Harper <[email protected]>
  5495. * TabControl.cs: Remove debug code.
  5496. 2005-10-16 Jackson Harper <[email protected]>
  5497. * XEventQueue.cs: Increase the default queue size (very simple
  5498. apps needed to grow the queue).
  5499. * Hwnd.cs: No finalizer so we don't need to suppress
  5500. finalization. Compute the invalid area manually so a new rectangle
  5501. does not newto be created.
  5502. * ScrollableControl.cs: Don't set any params (otherwise visibility
  5503. isn't set correctly).
  5504. * MdiChildContext.cs: New constructor takes the mdi parent so it
  5505. doesn't have to be computed and avoids a crash on windows. Draw
  5506. the window icon properly, and allow the text to be seen.
  5507. * Form.cs: Use new MdiChildContext constructor. Make sure the
  5508. child context isn't null in wndproc.
  5509. * TabControl.cs: Don't set focus, this is muddling keyboard
  5510. behavoir. Expand the tab rows when a window size increase will
  5511. allow extra tabs to be seen. Don't allow tabs smaller than the
  5512. width of a window to be scrolled out of view.
  5513. * TreeNode.cs:
  5514. * TreeView.cs: Use measure string to calculate a nodes width, the
  5515. width is cached and only updated when the text or the font is
  5516. changed. Don't check for expand/collapse clicks on the first level
  5517. nodes if root lines are disabled.
  5518. 2005-10-16 Ritvik Mayank <[email protected]>
  5519. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  5520. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  5521. * DataGridBoolColumn.cs: fixes warning
  5522. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  5523. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  5524. to match more to match more precisely the MS Net behavior
  5525. 2005-10-13 Peter Dennis Bartok <[email protected]>
  5526. * Hwnd.cs: Added field to track if window is mapped
  5527. * XplatUIX11.cs:
  5528. - Unmap windows if they become 0-size, re-map when
  5529. they are >0 again; fixes #76035
  5530. - Re-set our error handler after initializing X11Desktop
  5531. to override any error handlers Gtk or whatever was called
  5532. may have set.
  5533. 2005-10-13 Peter Dennis Bartok <[email protected]>
  5534. * CheckedListBox.cs: Removed unused vars
  5535. * ListView.cs: Fixed signatures
  5536. * RichTextBox.cs: Removed unused vars
  5537. * TextBoxBase.cs: Removed unused vars
  5538. * XplatUIWin32.cs: Removed unused vars
  5539. * XplatUIX11.cs: Removed unused vars
  5540. * XplatUI.cs: Updated version and date to latest published
  5541. 2005-10-13 Peter Dennis Bartok <[email protected]>
  5542. * Cursor.cs: Added private .ctor to work around a bug in
  5543. resourceset (Thanks to Geoff Norton for the help on this)
  5544. * SplitterEventArgs.cs: Made fields accessible so we don't
  5545. waste boatloads of objects and can reuse the same one
  5546. in Splitter
  5547. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  5548. any captions and borders when generating screen coordinates
  5549. * Splitter.cs: Reimplemented control, now fully complete, uses
  5550. rubberband drawing, supports and obeys all properties, has
  5551. proper cursors
  5552. 2005-10-13 Miguel de Icaza <[email protected]>
  5553. * Form.cs (Form): Setup default values for autoscale and
  5554. autoscale_base_size; Make these instance variables, not static
  5555. variables.
  5556. (OnLoad): on the first load, adjust the size of the form.
  5557. 2005-10-13 Peter Dennis Bartok <[email protected]>
  5558. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  5559. width argument to DrawReversibleRectangle()
  5560. * XplatUIWin32.cs, XplatUIX11.cs:
  5561. - Implemented width for DrawReversibleRectangle()
  5562. - Added logic to DrawReversibleRectangle that recognizes a zero
  5563. width or height and only draws a line in that situation
  5564. 2005-10-12 Peter Dennis Bartok <[email protected]>
  5565. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  5566. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  5567. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  5568. method (it uses our FosterParent window to get a graphics context)
  5569. 2005-10-12 Peter Dennis Bartok <[email protected]>
  5570. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  5571. and SetWindowBackground methods
  5572. * Control.cs:
  5573. - Setting proper ControlStyles
  5574. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  5575. EraseWindowBackground, instead we draw the window background
  5576. ourselves in PaintControlBackground. This behaviour is
  5577. required to match MS, where, when OnPaintBackground is not
  5578. called, the background is not drawn.
  5579. - Removed unneeded Refresh() in set_Text
  5580. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  5581. * XplatUIX11.cs:
  5582. - Created DeriveStyles method to translate from CreateParams to
  5583. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  5584. matches FormBorderStyle enum values)
  5585. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  5586. style calculations into single DeriveStyles method
  5587. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  5588. from redrawing the whole window on any resize or expose.
  5589. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  5590. all styles were applied to our whole/client window appropriately
  5591. - Removed EraseWindowBackground() and SetWindowBackground() methods
  5592. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  5593. no longer clear/redraw the background through X
  5594. - Removed handling of erase_pending bit, we have no use for it (or
  5595. so it seems)
  5596. * XplatUIOSX.cs:
  5597. - Removed generation and handling of WM_ERASEBKGND message
  5598. - Removed EraseWindowBackground() and SetWindowBackground() methods
  5599. - Removed handling of hwnd.ErasePending flag
  5600. * XplatUIWin32.cs:
  5601. - Removed EraseWindowBackground() and SetWindowBackground() methods
  5602. - We no longer call EraseWindowBackground on PaintEventStart, we
  5603. ignore the fErase flag, erasing is handled in Control in the
  5604. background handler
  5605. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  5606. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  5607. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  5608. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  5609. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  5610. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  5611. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  5612. 2005-10-12 Jonathan Chambers <[email protected]>
  5613. * PropertyGrids.cs: Get sub properties
  5614. * PropertyGridView.cs: Fix drawing code
  5615. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  5616. * ListBox.cs: Fixes 76383
  5617. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  5618. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  5619. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  5620. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  5621. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  5622. * ComboBox.cs: Fixes border drawing
  5623. 2005-10-10 Miguel de Icaza <[email protected]>
  5624. * MimeIcon.cs: Ignore errors if the file can not be read.
  5625. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  5626. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  5627. - Fixed border calculations
  5628. - Fixed horizontal scrolling in single column listboxes
  5629. - Fixed drawing issues
  5630. 2005-10-10 Peter Dennis Bartok <[email protected]>
  5631. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  5632. FormBorderStyle enum
  5633. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  5634. code to determine FormBorderStyles from CreateParams
  5635. * Form.cs:
  5636. - Fixed bug where we'd set the wrong window styles if we were
  5637. not creating an MDI window
  5638. - Added call to XplatUI.SetBorderStyle when form borders are set
  5639. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  5640. * Hwnd.cs:
  5641. - Removed obsolete edge style
  5642. - Switched from BorderStyle to FormBorderStyle
  5643. 2005-10-10 Jackson Harper <[email protected]>
  5644. * Form.cs: Use the property to get the window handle instead of
  5645. accessing it directly. Prevents a null reference exception.
  5646. 2005-10-10 Jackson Harper <[email protected]>
  5647. * TreeView.cs: Don't adjust the rect given to DrawString now that
  5648. our libgdiplus draws correctly.
  5649. 2005-10-08 Jackson Harper <[email protected]>
  5650. * TreeView.cs: Don't try to find the clicked on node if there are
  5651. no nodes in the tree.
  5652. 2005-10-08 Alexander Olk <[email protected]>
  5653. * RichTextBox.cs:
  5654. restore
  5655. 2005-10-08 Alexander Olk <[email protected]>
  5656. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  5657. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  5658. ErrorProvider.cs:
  5659. Use ResPool for brushes and dispose System.Drawing objects that
  5660. are not used anymore.
  5661. 2005-10-07 Jackson Harper <[email protected]>
  5662. * MdiChildContext.cs: Use the new borders instead of drawing them
  5663. ourselves.
  5664. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  5665. * Calling UpdateBounds after changing the window's BorderStyle
  5666. since the style can change the ClientSize
  5667. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5668. * Control.cs: Made PaintControlBackground virtual
  5669. * Panel.cs: Overriding PaintControlBackground instead of using paint
  5670. event; paint event method was interfering with 'real' users of the
  5671. event.
  5672. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  5673. * ThemeWin32Classic.cs: remove border drawing since it is handled
  5674. by the base control class now and was causing double border drawing.
  5675. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5676. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  5677. but it does seem to match MS behaviour. This fixes bug #75324
  5678. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5679. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  5680. somewhat hackish looking
  5681. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5682. * TextBoxBase.cs:
  5683. - We now accept Enter even if AcceptEnter is false, if the containing
  5684. form does not have an AcceptButton configured (fixes bug #76355)
  5685. - Calculations are now fixed to no longer use Width/Height, but
  5686. ClientSize.Width/Height, since we now support borders (this was
  5687. a result of fixing borders and therefore bug #76166)
  5688. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  5689. true (fixes bug #76354)
  5690. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5691. * Control.cs:
  5692. - Defaulting BorderStyle and setting it in XplatUI when our window
  5693. is created
  5694. - Added enum check to InternalBorderStyle setter
  5695. * XplatUIX11.cs:
  5696. - Added drawing of window borders
  5697. - Now properly calculates WM decorations offset for toplevel
  5698. windows (fixes bug #74763)
  5699. * XplatUIWin32.cs:
  5700. - Implemented BorderStyles for windows (we're letting win32 draw
  5701. the border for us)
  5702. - Fixed the signature for SetWindowLong
  5703. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  5704. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  5705. setting borders
  5706. * UpDownBase.cs: Remove drawing of borders, this is handled by
  5707. the driver, outside the client area
  5708. * ListView.cs: Removed bogus border calculations. The control should
  5709. be oblivious to borders, since those are not part of the client
  5710. area.
  5711. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  5712. * ThemeWin32Classic.cs: Removed border calculations from ListView
  5713. drawing code
  5714. 2005-10-06 Jackson Harper <[email protected]>
  5715. * MdiChildContext.cs: Clear out the old virtual position remove
  5716. all the unneeded calls to CreateGraphics.
  5717. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5718. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  5719. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5720. * Form.cs:
  5721. - Added loading and setting of our new default icon
  5722. - Only set icon if window is already created
  5723. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5724. * Label.cs:
  5725. - Do not explicitly set the foreground and background colors, to
  5726. allow inheriting from parents (fixes #76302)
  5727. - Use Control's InternalBorderStyle property to deal with borders
  5728. 2005-10-06 Jackson Harper <[email protected]>
  5729. * MdiChildContext.cs: Use the new xplatui function to draw a
  5730. reversible rect.
  5731. 2005-10-06 Jackson Harper <[email protected]>
  5732. * Form.cs: Add the parent before creating the child context cause
  5733. we need the parent when setting up the child.
  5734. 2005-10-06 Jackson Harper <[email protected]>
  5735. * FolderBrowserDialog.cs: redo the tree population code so a
  5736. second thread isn't used. Should be a lot faster and more stable
  5737. now.
  5738. 2005-10-05 Jackson Harper <[email protected]>
  5739. * TreeView.cs: There are no expand/collapse boxes if the node has
  5740. no children.
  5741. 2005-10-05 Jackson Harper <[email protected]>
  5742. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  5743. 2005-10-05 Alexander Olk <[email protected]>
  5744. * FileDialog.cs: Fix InitialDirectory
  5745. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  5746. * ComboBox.cs:
  5747. - Fixes changing between styles
  5748. - Fixes simple mode
  5749. - Fixes last item crashing when navigating with keyboard
  5750. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  5751. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  5752. 2005-10-05 Jackson Harper <[email protected]>
  5753. * TreeView.cs: If updating the root node do a full refresh.
  5754. * TreeNode.cs: The root node should be expanded by default. Also
  5755. added a utility prop to tell if we are the root node.
  5756. * TreeNodeCollection.cs: Only refresh if the node we are being
  5757. added to is expanded. Also added a comment on a potential
  5758. optimization.
  5759. 2005-10-04 Peter Dennis Bartok <[email protected]>
  5760. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  5761. in dispose method. Fixes #76330
  5762. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  5763. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  5764. - Implements vertical and horizontal scrolling using XplatUI
  5765. - Fixes keyboard navagation
  5766. - Fixes EnsureVisible
  5767. - Drawing fixes
  5768. - Handles and draws focus properly
  5769. 2005-10-04 Kornél Pál <[email protected]>
  5770. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  5771. Create handle. NET_2_0: Destroy handle when value is null.
  5772. 2005-10-03 Jackson Harper <[email protected]>
  5773. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  5774. revert and a new patch to prevent the thumb from refreshing so
  5775. much.
  5776. 2005-10-02 Jackson Harper <[email protected]>
  5777. * ScrollBar.cs: Don't update position if it hasn't actually
  5778. changed. This occurs when you hold down the increment/decrement
  5779. buttons and the thumb gets to the max/min.
  5780. 2005-10-01 Jackson Harper <[email protected]>
  5781. * Form.cs:
  5782. * MdiChildContext.cs:
  5783. * MdiClient.cs: Implement ActiveMdiChild in Form.
  5784. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  5785. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  5786. 2005-10-01 Peter Dennis Bartok <[email protected]>
  5787. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  5788. be found
  5789. 2005-09-30 Jackson Harper <[email protected]>
  5790. * ListBox.cs: Don't do a full refresh unless some data has
  5791. actually changed.
  5792. 2005-09-30 Jackson Harper <[email protected]>
  5793. * TreeView.cs: Make sure that the checkboxes size is factored in
  5794. even when not visible.
  5795. 2005-09-30 Peter Dennis Bartok <[email protected]>
  5796. * FileDialog.cs: Fix Jordi's build break
  5797. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  5798. * FileDialog.cs:
  5799. - Use standard the Windows colours for the combobox as espected
  5800. - Dispose objects that use resouces when no longer need them
  5801. 2005-09-30 Peter Dennis Bartok <[email protected]>
  5802. * X11DesktopColors.cs: Initial incomplete implementation
  5803. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  5804. 2005-09-30 Peter Dennis Bartok <[email protected]>
  5805. * Theme.cs:
  5806. - Switched Theme color names to match the names defined in
  5807. System.Drawing.KnownColors. Life's hard enough, no need to make
  5808. it harder.
  5809. - Added setters to all theme color properties so themes can set
  5810. their color schemes. The setters also propagate the color changes
  5811. to System.Drawing.KnownColors via reflection
  5812. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  5813. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  5814. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  5815. use the new, more logical theme color names
  5816. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  5817. post-NT colors
  5818. * ThemeWin32Classic.cs:
  5819. - Removed code to set the old classic Windows colors. Instead it
  5820. now relies on the colors returned by System.Drawing.KnownColors
  5821. which will be either modern static colors (Unix) or colors
  5822. read from the user's configuration (Win32)
  5823. - Updated to use the new, more logical theme color names
  5824. - Switched DataGrid drawing code to use only Theme colors instead of
  5825. a mix of System.Drawing.KnownColors and Theme colors
  5826. - DrawFrameControl(): Removed code that fills the button area, the
  5827. fill would overwrite any previous fill done by a control. This
  5828. fixes bug #75338
  5829. - Added DrawReversibleRectangle() stub
  5830. * ScrollableControl.cs: Set visible state to false when scrollbars
  5831. are removed (pdn fix)
  5832. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  5833. DrawReversibleRectangle() method to allow drawing primitive
  5834. 'rubber bands'
  5835. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  5836. 2005-09-30 Kornél Pál <[email protected]>
  5837. * ImageList.cs: Add(Icon): Create handle.
  5838. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  5839. * ListView.cs:
  5840. * ThemeWin32Classic.cs:
  5841. - Fixes detail mode
  5842. - Sets clippings
  5843. - Issues with drawing
  5844. 2005-09-30 Kornél Pál <[email protected]>
  5845. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  5846. source has to be the ImageList.
  5847. 2005-09-30 Kornél Pál <[email protected]>
  5848. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  5849. 2005-09-30 Kornél Pál <[email protected]>
  5850. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  5851. 2005-09-30 Kornél Pál <[email protected]>
  5852. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  5853. 2005-09-29 Jonathan Chambers <[email protected]>
  5854. * GridItem.cs: Fixed TODOs
  5855. * GridItemCollection.cs: Added ICollection interface
  5856. 2005-09-30 Kornél Pál <[email protected]>
  5857. * ImageList.cs: Resize icons when needed.
  5858. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  5859. * ListViewItem.cs
  5860. - Fixes GetBounds and returns on screen rects
  5861. * ListView.cs:
  5862. - Fixes vertical and horzintal scrolling of items
  5863. * ThemeWin32Classic.cs:
  5864. - Fixes drawing
  5865. 2005-09-29 Raja R Harinath <[email protected]>
  5866. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  5867. 2005-09-29 Kornél Pál <[email protected]>
  5868. * ImageList.cs: Added comments about handle creation. Moved Handle,
  5869. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  5870. Handle is created in Add methods.
  5871. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  5872. * DataGridDrawingLogic.cs:
  5873. - Takes rows into account on Colum calculations
  5874. - Returns the column when clickig
  5875. * DataGrid.cs:
  5876. - Fixes default HitTestInfo values
  5877. - Fixes HitTestInfo.ToString
  5878. - Fixes ResetBackColor
  5879. 2005-09-28 Jackson Harper <[email protected]>
  5880. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  5881. sizing or cursor changes). Also added some temp code to draw the
  5882. titlebars text (Makes dev a little easier).
  5883. 2005-09-28 Kornél Pál <[email protected]>
  5884. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  5885. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  5886. * ListBox.cs: Fixes bug 76253
  5887. 2005-09-28 Kornél Pál <[email protected]>
  5888. * ImageList.cs: Added comments about the current implementation. Added
  5889. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  5890. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  5891. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  5892. with Bitmap.LockBits for better performance. Revised the whole file to
  5893. match MS.NET behaviour and provide better performance. Non-public
  5894. interface members are calling public members even when they throw
  5895. NotSupportedException for better maintainability. Moved ColorDepth,
  5896. ImageSize, ImageStream and TransparentColor implementations to
  5897. ImageCollection for better performance as these properties are not used
  5898. by ImageList.
  5899. * ImageListStreamer.cs: Added a new internal constructor that takes an
  5900. ImageList.ImageCollection and serializes Images based on
  5901. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  5902. match ImageList property name.
  5903. 2005-09-28 Kazuki Oikawa <[email protected]>
  5904. * ListBox.cs: Fixes IndexFromPoint for last item
  5905. 2005-09-27 Jackson Harper <[email protected]>
  5906. * Form.cs: Set the position of new mdi children correctly.
  5907. 2005-09-27 Jackson Harper <[email protected]>
  5908. * MdiClient.cs: New mdi children need to be added to the back of
  5909. the controls collection so the zorder is set correctly. Also add a
  5910. count of all the child windows that have been created.
  5911. 2005-09-27 Jackson Harper <[email protected]>
  5912. * Form.cs (CreateParams): Setup MDI forms correctly.
  5913. 2005-09-27 Jackson Harper <[email protected]>
  5914. * MdiChildContext.cs:
  5915. * MonthCalendar.cs:
  5916. * UpDownBase.cs:
  5917. * ListBox.cs:
  5918. * ListView.cs:
  5919. * TextBoxBase.cs:
  5920. * TreeView.cs:
  5921. * ScrollableControl.cs:
  5922. * ComboBox.cs: Add implicit controls using the new implict control
  5923. functionality in ControlCollection. Also try to block multiple
  5924. control add in a suspend/resume layout to save some cycles.
  5925. 2005-09-27 Jackson Harper <[email protected]>
  5926. * Control.cs: Add functionality to the controls collection to add
  5927. 'implicit controls' these are controls that are created by the
  5928. containing control but should not be exposed to the user. Such as
  5929. scrollbars in the treeview.
  5930. * Form.cs: The list var of the ControlsCollection is no longer
  5931. available because of the potential of implicit controls getting
  5932. ignored by someone accessing the list directly.
  5933. 2005-09-26 Peter Dennis Bartok <[email protected]>
  5934. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  5935. loose it's parent. (Fixed bug introduced in r49103 when we added
  5936. setting the child parent to null on Remove)
  5937. 2005-09-26 Gert Driesen <[email protected]>
  5938. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  5939. * Splitter.cs: Added missing attributes for BorderStyle property.
  5940. * TextBoxBase.cs: Marked Calculate* methods internal.
  5941. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  5942. MS.NET.
  5943. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  5944. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  5945. 2005-09-25 Jackson Harper <[email protected]>
  5946. * TreeView.cs: Update the node bounds correctly regardless of
  5947. whether the node is visible.
  5948. 2005-09-25 Jackson Harper <[email protected]>
  5949. * ImageList.cs: Don't dispose the image after it is added to the
  5950. image list. Only reformat images that need to be resized.
  5951. 2005-09-25 Jackson Harper <[email protected]>
  5952. * ImageList.cs: Don't set the format when changing the image.
  5953. 2005-09-25 Jackson Harper <[email protected]>
  5954. * TreeView.cs: We can't just assume the node has a font. Use the
  5955. treeviews font if no node font is available.
  5956. 2005-09-25 Jackson Harper <[email protected]>
  5957. * TreeView.cs: Allow the scrollbars to be reset with negative
  5958. values.
  5959. - Don't add scrollbars to negative sized windows.
  5960. 2005-09-23 Jackson Harper <[email protected]>
  5961. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  5962. old Mono.Posix. Also remove some stray code that shouldn't have
  5963. been committed.
  5964. 2005-09-23 Jackson Harper <[email protected]>
  5965. * TreeView.cs: Attempt at proper sizing of the horizontal
  5966. scrollbar. Also don't resize the scrollbars unless they are
  5967. visible.
  5968. 2005-09-23 Jackson Harper <[email protected]>
  5969. * TreeView.cs: We don't need to expand the invalid area when the
  5970. selection changes, as this is all drawn in the node's bounding
  5971. box. The area needs to be expanded (previous typo was contracting
  5972. it) when the focus rect moves.
  5973. 2005-09-23 Jackson Harper <[email protected]>
  5974. * TreeView.cs: Display the selection box under the correct
  5975. circumstances. We were rendering white text with no selection box
  5976. before.
  5977. 2005-09-23 Peter Dennis Bartok <[email protected]>
  5978. * TextControl.cs(Split): Now updates selection start/end if it points
  5979. into a line that's being split. Fixes a FIXME and bug #75258
  5980. 2005-09-23 Jackson Harper <[email protected]>
  5981. * Binding.cs:
  5982. * ListControl.cs: Don't use the path when retrieving binding
  5983. managers from the binding context. My bat sense tells me that the
  5984. path is only used on insertion.
  5985. 2005-09-22 Jackson Harper <[email protected]>
  5986. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  5987. 2005-09-22 Jackson Harper <[email protected]>
  5988. * Splitter.cs: There are special cursors used for splitting.
  5989. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  5990. 2005-09-22 Jackson Harper <[email protected]>
  5991. * Splitter.cs: Change the cursor appropriately when the splitter
  5992. is moused over, so the user actually knows there is a splitter
  5993. there.
  5994. 2005-09-22 Hisham Mardam Bey <[email protected]>
  5995. * Label.cs : Fix ToString method to give same output as MS.NET
  5996. 2005-09-22 Jackson Harper <[email protected]>
  5997. * TreeView.cs: Create the scrollbars when the handle is created
  5998. and add them right away, just make them invisble. Also account for
  5999. the window being shrunk vertically to the point that the vert
  6000. scrollbar needs to be added.
  6001. - Remove some 0.5 adjustments to get around anti aliasing issues.
  6002. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  6003. * MainMenu.cs: Fixes default value
  6004. * MenuItem.cs: Fixes default value
  6005. 2005-09-22 Kazuki Oikawa <[email protected]>
  6006. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  6007. 2005-09-21 Jackson Harper <[email protected]>
  6008. * Control.cs: Don't try to set the border style on the window if
  6009. it hasn't been created. When the window is created the border
  6010. style will be used.
  6011. 2005-09-21 Peter Dennis Bartok <[email protected]>
  6012. * Control.cs (Update): Don't call XplatUI if we don't have a
  6013. window handle yet
  6014. 2005-09-21 Peter Dennis Bartok <[email protected]>
  6015. * ContainerControl.cs: Instead of throwing an exception, print
  6016. a one-time warning about Validate not being implemented
  6017. * XplatUIWin32.cs: Removed debug output
  6018. 2005-09-21 Peter Dennis Bartok <[email protected]>
  6019. * Control.cs: Only set XplatUI background if we expect the windowing
  6020. system to handle the background. This stops controls that draw their
  6021. own background from flickering
  6022. * XplatUIX11.cs: Support custom visuals and colormaps for window
  6023. creation. This allows, amongst other things, using MWF X11 windows
  6024. with OpenGL.
  6025. 2005-09-21 Peter Dennis Bartok <[email protected]>
  6026. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  6027. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  6028. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  6029. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  6030. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  6031. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  6032. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  6033. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  6034. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  6035. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  6036. GridColumnStylesCollection.cs,
  6037. IDataGridColumnStyleEditingNotificationService.cs,
  6038. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  6039. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  6040. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  6041. TreeNodeCollection.cs, AmbientProperties.cs,
  6042. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  6043. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  6044. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  6045. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  6046. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  6047. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  6048. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  6049. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  6050. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  6051. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  6052. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  6053. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  6054. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  6055. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  6056. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  6057. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  6058. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  6059. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  6060. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  6061. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  6062. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  6063. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  6064. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  6065. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  6066. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  6067. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  6068. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  6069. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  6070. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  6071. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  6072. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  6073. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  6074. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  6075. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  6076. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  6077. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  6078. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  6079. 2005-09-21 Jackson Harper <[email protected]>
  6080. * TreeNode.cs: Call Before/After Expand not Collapse when
  6081. expanding.
  6082. 2005-09-20 Jackson Harper <[email protected]>
  6083. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  6084. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  6085. * ListViewItem.cs:
  6086. - Fixes bug 76120
  6087. - Fixes proper storing of subitems
  6088. - Fixes not updated items
  6089. 2005-09-20 Peter Dennis Bartok <[email protected]>
  6090. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  6091. things if our window handle isn't created yet. Also disabled
  6092. debug for TextBoxBase
  6093. 2005-09-20 Peter Dennis Bartok <[email protected]>
  6094. * MenuAPI.cs: Remove filtering of events to allow menu usage
  6095. 2005-09-20 Miguel de Icaza <[email protected]>
  6096. * Cursor.cs: Allow null to be passed to Cursor.Current.
  6097. 2005-09-20 Alexander Olk <[email protected]>
  6098. * ThemeWin32Classic.cs:
  6099. - Change some private methods/fields to protected virtual so that
  6100. they can be accessed and overriden in derived classes
  6101. - First refactoring of some methods. Derived themes now don't
  6102. need to duplicate the complete code from ThemeWin32Classic
  6103. * ThemeNice.cs:
  6104. - Added nice StatusBar
  6105. - Derive from ThemeWin32Classic and not Theme
  6106. - Removed duplicate ThemeWin32Classic code
  6107. 2005-09-20 Miguel de Icaza <[email protected]>
  6108. * Control.cs (ControlCollection.Add): If the value null is passed
  6109. the control is ignored.
  6110. Optimize this loop.
  6111. 2005-09-19 Peter Dennis Bartok <[email protected]>
  6112. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  6113. PostQuitMessage state.
  6114. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  6115. 2005-09-19 Peter Dennis Bartok <[email protected]>
  6116. * Application.cs: Our constructor will never get called, move
  6117. initialization to fields; fixes bug #75933
  6118. 2005-09-19 Hisham Mardam Bey <[email protected]>
  6119. * FileDialog.cs :
  6120. - Allow files to be selected properly using file name
  6121. combo box.
  6122. - Add ability to change diretory (absolute / relative)
  6123. using file name combo box.
  6124. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  6125. * ListBox.cs:
  6126. - Fixes Multicolumn listboxes item wrong calculations
  6127. - Allows to click when only one item is in the listbox
  6128. - Fixes crash when no items using keyboard navigation
  6129. 2005-09-16 Alexander Olk <[email protected]>
  6130. * ComboBox.cs: Reverted almost everything from the latest patch which
  6131. broke ComboBox
  6132. 2005-09-16 Kazuki Oikawa <[email protected]>
  6133. * ToolTip.cs:
  6134. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  6135. * ComboBox.cs:
  6136. - When DropDownStyle is Simple, it does not show scrollbar
  6137. to the last item of the list.
  6138. - When DropDownStyle is Simple, it crashed when the list was
  6139. scrolled down with the down cursor key.
  6140. - Fixed a bug that when DropDownStyle is DropDownList, the
  6141. selected item was not shown.
  6142. - The position of the selected item was not preserved when
  6143. the next dropdown happened.
  6144. * ThemeWin32Classic.cs:
  6145. - Items were wrapped at the right end.
  6146. * CheckedListBox.cs:
  6147. - Fixed Add method
  6148. * ListBox.cs:
  6149. - Items should be fully shown.
  6150. - When resizing and vertical scrollbar disappeared, the item
  6151. of index 0 should be on the top of the list.
  6152. - GetItemRectangle should consider the size of ver. scrollbar
  6153. * StatusBar.cs:
  6154. - SizingGrip area should not be allocated when it is not
  6155. displayed.
  6156. - Now it reflects MinWidth of the containing panel and
  6157. fixed a crash that happens when its width becomes so small.
  6158. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  6159. * CheckedListBox.cs: Fixes bug 76028
  6160. * ListBox.cs: Fixes bug 76028
  6161. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  6162. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  6163. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  6164. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  6165. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  6166. 2005-09-09 Jonathan Chambers <[email protected]>
  6167. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  6168. 2005-09-09 Jonathan Chambers <[email protected]>
  6169. * IRootGridEntry.cs: Added
  6170. * PropertyGridCommands.cs: Added
  6171. * PropertiesTab.cs: Added missing methods and property
  6172. * PropertyGridView.cs: Made class internal
  6173. * PropertyGridTextBox.cs: Made class internal
  6174. 2005-09-09 Alexander Olk <[email protected]>
  6175. * MimeIcon.cs: Try to check some other environment variables
  6176. if "DESKTOP_SESSION" returns "default"
  6177. 2005-09-09 Alexander Olk <[email protected]>
  6178. * ThemeNice.cs: Corrected background colors (e.g. menus)
  6179. * ColorDialog.cs: Use correct background colors for controls
  6180. 2005-09-09 Alexander Olk <[email protected]>
  6181. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  6182. 2005-09-08 Peter Dennis Bartok <[email protected]>
  6183. * RichTextBox.cs: Added initial implementation
  6184. * lang.cs: Removed. Was accidentally checked in long time ago
  6185. * TODO: Removed. Contents were obsolete
  6186. 2005-09-06 Jonathan Chambers <[email protected]>
  6187. * PropertiesTab.cs : Added
  6188. 2005-09-06 Jonathan Chambers <[email protected]>
  6189. * PropertyGrid.cs : Update
  6190. * PropertyGridView.cs : Update
  6191. * System.Windows.Forms.resx : Added images and strings
  6192. 2005-09-06 Peter Dennis Bartok <[email protected]>
  6193. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  6194. 2005-09-06 Peter Dennis Bartok <[email protected]>
  6195. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  6196. a busy loop right after the Ungrab the X11 display is otherwise
  6197. blocked
  6198. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  6199. * ThemeWin32Classic.cs: Optimise the use of clipping
  6200. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  6201. * DataGrid.cs: fixes recursion bug
  6202. 2005-09-03 Alexander Olk <[email protected]>
  6203. * ThemeNice.cs:
  6204. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  6205. - Cleanup
  6206. 2005-09-02 Alexander Olk <[email protected]>
  6207. * ThemeNice.cs: Draw nice ProgressBars
  6208. 2005-09-01 Miguel de Icaza <[email protected]>
  6209. * VScrollBar.cs: Another buglet found by Aaron's tool.
  6210. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  6211. bug finder.
  6212. 2005-08-30 Alexander Olk <[email protected]>
  6213. * ThemeNice.cs:
  6214. - Added nicer menu drawing
  6215. - Updated DrawTab
  6216. - some refactoring
  6217. 2005-08-30 Peter Dennis Bartok <[email protected]>
  6218. * CreateParams.cs (ToString): Made output match MS
  6219. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  6220. handle is already created (to avoid forcing window creation)
  6221. * XplatUIX11.cs: Set window text to caption after creating window,
  6222. in case Text was set before window was created
  6223. * Form.cs: Use this.Text instead of a static string as caption
  6224. 2005-08-30 Peter Dennis Bartok <[email protected]>
  6225. * NotifyIcon.cs: Don't set the window to visible; this screws
  6226. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  6227. OnPaint without a bitmap)
  6228. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  6229. happen very often anyway; we could add the check to the WM_PAINT
  6230. event generation code
  6231. 2005-08-30 Peter Dennis Bartok <[email protected]>
  6232. * NotifyIcon.cs: Fill the icon area with a background color, to
  6233. avoid 'residue' when transparent icons are drawn
  6234. * XplatUIX11.cs:
  6235. - Handle whole_window == client_window when destroying windows
  6236. - SystrayAdd(): Set client_window to whole_window value to
  6237. get mouse and other events passed to NotifyIcon
  6238. 2005-08-30 Peter Dennis Bartok <[email protected]>
  6239. * Form.cs: Set proper default for Opacity property
  6240. * NotifyIcon.cs:
  6241. - ShowSystray(): Don't bother creating telling the OS
  6242. about the systray item if no icon is provided
  6243. - Now handles WM_NCPAINT message to deal with whole/client window
  6244. split
  6245. - Create window as visible to not get caught by Expose optimization
  6246. * Hwnd.cs: Removed debug message
  6247. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  6248. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  6249. PaintEventStart/End to use new client argument
  6250. * TextBoxBase.cs:
  6251. - Commented out debug messages
  6252. - Switched PaintEventStart/End to use new client argument
  6253. * XplatUI.cs: Added client window bool to PaintEventStart()/
  6254. PaintEventEnd() calls, to support drawing in non-client areas
  6255. * XplatUIDriver.cs:
  6256. - Added client window bool to PaintEventStart()/PaintEventEnd()
  6257. calls, to support drawing in non-client areas
  6258. - Added conditional compile to allow using MWF BeginInvoke
  6259. on MS runtime
  6260. * XplatUIX11.cs:
  6261. - Added some conditional debug output
  6262. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  6263. whole/client window split
  6264. - Implemented handling of client argument to PaintEventStart()/End()
  6265. * Control.cs:
  6266. - Throw exception if BeginInvoke() is called and the window handle
  6267. or one of the window's parent handles is not created
  6268. - Added conditional compile to allow using MWF BeginInvoke on
  6269. MS runtime
  6270. - get_Parent(): Only sets parent if handle is created. This avoids
  6271. forcing window handle creation when parent is set.
  6272. - Now fires Layout and Parent changed events in proper order
  6273. - Switched to use Handle instead of window.Handle for Z-Order setting,
  6274. the get_Parent() patch above causes us to possibly get null for 'window'
  6275. - Implemented handling of client argument to PaintEventStart()/End()
  6276. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  6277. default handling)
  6278. - Now sends a Refresh() to all child windows when Refresh() is called
  6279. 2005-08-29 Peter Dennis Bartok <[email protected]>
  6280. * Form.cs: Added (non-functional) Opacity property
  6281. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  6282. 2005-08-29 Alexander Olk <[email protected]>
  6283. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  6284. use export MONO_THEME=nice to activate it.
  6285. Currently supported controls:
  6286. - Button
  6287. - ComboBox
  6288. - ScrollBar
  6289. - TabControl (TabAlignment.Top only, other will follow)
  6290. * ThemeEngine.cs: Add theme nice
  6291. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  6292. if enabled
  6293. 2005-08-25 Jonathan Chambers <[email protected]>
  6294. * Splitter.cs: Resize docked control and its neighbor.
  6295. 2005-08-24 Rafael Teixeira <[email protected]>
  6296. -- Making Windows with Menus layout correctly --
  6297. * Form.cs : The first leg of the fix
  6298. Menu setter - adjust Client Size as needed to make space for the menu
  6299. SetClientSizeCore - doesn't call base version to be able to pass the
  6300. menu handle to XplatUI.CalculateWindowRect
  6301. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  6302. * XplatUIX11.cs: The critical second leg of the fix
  6303. GetWindowPos needs to use a recalculated client_rect
  6304. so that resizing the window doesn't break layout of child controls.
  6305. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  6306. Lots of \t\n killed
  6307. 2005-08-23 Peter Dennis Bartok <[email protected]>
  6308. * Label.cs: Now properly recalculates width and height on Font and Text
  6309. changes if AutoSize is set
  6310. 2005-08-19 Rafael Teixeira <[email protected]>
  6311. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  6312. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  6313. * ImageList.cs: Makes ToString method compatible with MS
  6314. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  6315. * MenuAPI.cs: fixes bug 75716
  6316. 2005-08-11 Umadevi S <[email protected]>
  6317. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  6318. 2005-08-11 Umadevi S <[email protected]>
  6319. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  6320. 2005-08-10 Umadevi S <[email protected]>
  6321. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  6322. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  6323. * Menu.cs: fixes bug 75700
  6324. * MenuAPI.cs: fixes navigation issues
  6325. 2005-08-09 Umadevi S <[email protected]>
  6326. * CheckedListBox.cs - simple fix for GetItemChecked.
  6327. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  6328. * ComboBox.cs: Serveral fixes
  6329. * ListBox.cs: Serveral fixes
  6330. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  6331. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  6332. * ListBox.cs: Fixes FindString methods
  6333. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  6334. * DataGrid.cs: fixes bugs exposed by new tests
  6335. 2005-08-04 Peter Dennis Bartok <[email protected]>
  6336. * Mime.cs: Compile Mono assembly references only if compiling
  6337. with Mono (Allows to build with VS.Net again)
  6338. 2005-07-28 Marek Safar <[email protected]>
  6339. * Control.cs (PaintControlBackground): Draw background image
  6340. corrrectly.
  6341. (CheckForIllegalCrossThreadCalls): Stubbed.
  6342. * Form.cs (OnCreateControl): Center when should be centered.
  6343. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  6344. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  6345. * Binding.cs: Binding to properties should be case unsensitive
  6346. 2005-07-18 [email protected]
  6347. * DataGrid.cs: fixes setmember order
  6348. 2005-07-07 Alexander Olk <[email protected]>
  6349. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  6350. * FileDialog.cs: FileDialog is now resizable and uses the new
  6351. MimeIconEngine
  6352. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  6353. * DataGridTextBoxColumn.cs: default value
  6354. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  6355. * GridTableStylesCollection.cs: fixes checking MappingName
  6356. * DataGridDrawingLogic.cs: fixes drawing logic issues
  6357. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  6358. * DataGrid.cs: fixes
  6359. 2005-07-06 Alexander Olk <[email protected]>
  6360. * MimeGenerated.cs: Use case sensitive comparer for
  6361. NameValueCollections
  6362. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  6363. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  6364. * ThemeWin32Classic.cs: bug fixes, code refactoring
  6365. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  6366. * DataGrid.cs: bug fixes, code refactoring
  6367. * DataGridTextBox.cs: bug fixes, code refactoring
  6368. * DataGridColumnStyle.cs: bug fixes, code refactoring
  6369. * Theme.cs: bug fixes, code refactoring
  6370. 2005-07-01 Peter Bartok <[email protected]>
  6371. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  6372. and other text box usage
  6373. 2005-07-01 Jackson Harper <[email protected]>
  6374. * TabControl.cs: Make sure the bottom of the tab covers the pages
  6375. border.
  6376. 2005-06-30 Peter Bartok <[email protected]>
  6377. * Form.cs (ShowDialog): Assign owner of the dialog
  6378. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  6379. might have been moved to a tag with different height
  6380. 2005-06-30 Jackson Harper <[email protected]>
  6381. * Form.cs: Don't create an infinite loop when setting focus
  6382. * MenuItem.cs: Don't dirty the parents if we don't have any
  6383. 2005-06-29 Ben Maurer <[email protected]>
  6384. * LibSupport.cs: Rename
  6385. 2005-06-29 Peter Bartok <[email protected]>
  6386. * TextBoxBase.cs: Re-align caret after deleting a character
  6387. * TextControl.cs:
  6388. - DeleteChars(): Ensure that tag covers the provided position
  6389. - StreamLine(): Drop reference for dropped tag
  6390. 2005-06-29 Peter Bartok <[email protected]>
  6391. * TextControl.cs:
  6392. - Selections now work properly, anchoring at the initial location
  6393. and properly extending in either direction (SetSelectionToCaret(),
  6394. SetSelectionStart() and SetSelectionEnd())
  6395. - No longer redraws the whole control on selection change, now
  6396. calculates delta between previous and new selection and only
  6397. invalidates/redraws that area
  6398. - Fixed FindPos() math off-by-one errors
  6399. - Changed DeleteChars() to verify the provided tag covers the
  6400. provided position, selections may have a tag that doesn't cover
  6401. the position if the selection is at a tag border
  6402. - Fixed off-by-one errors in DeleteChars()
  6403. - Added missing streamlining check in DeleteChars() to remove
  6404. zero-length tags
  6405. - Implemented Invalidate() method, now properly calculates exposures
  6406. between two given lines/positions
  6407. - Implemented SetSelection()
  6408. - Obsoleted and removed FixupSelection()
  6409. - Improved RecalculateDocument() logic, removing code duplication
  6410. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  6411. * LibSupport.cs: changes to match different input/output arguments.
  6412. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  6413. * LibSupport.cs: added libsupport.so init routine.
  6414. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  6415. * ControlBindingsCollection.cs
  6416. - Throws an exception on null datasource when adding
  6417. - Checks for duplicated bindings when adding
  6418. 2005-06-28 Jackson Harper <[email protected]>
  6419. * TreeView.cs (OnKeyDown): Support left and right properly
  6420. (navigates as well as expanding and collapsing.
  6421. - Add support for Multiply, this expands all the selected nodes
  6422. children.
  6423. - Fix some tabbing.
  6424. 2005-06-28 Jackson Harper <[email protected]>
  6425. * TreeView.cs: Implement keyboard navigation, currently supports,
  6426. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  6427. support for toggling checkboxes with the space bar.
  6428. 2005-06-28 Jackson Harper <[email protected]>
  6429. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  6430. tree.
  6431. 2005-06-28 Jackson Harper <[email protected]>
  6432. * TreeView.cs: Add missing event.
  6433. 2005-06-27 Peter Bartok <[email protected]>
  6434. * TextControl.cs:
  6435. - Made line ending size configurable (now allows for counting
  6436. lineendings as \n or \r\n)
  6437. - Added margin to viewport to keep caret visible on right side
  6438. - Fixed translation routines for line/pos to documentpos to consider
  6439. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  6440. - Fixed some line-endings to be unix style
  6441. - Fixed Document.FormatText to perform it's calculations 1-based
  6442. - Added descriptions for a few methods that might otherwise get
  6443. used wrong
  6444. - Added NOTE section with some basic conventions to remember at
  6445. the top of the file
  6446. - Major fixup for RichTextBox selection drawing:
  6447. * Fixed crashes when multiple tags on a single line were selected
  6448. * fixed selection box drawing not overlaying text
  6449. * fixed bogus offset calculation for tags not starting at index 1
  6450. * Switched behaviour from using multiple Substrings of a
  6451. StringBuilder.ToString() to using multiple
  6452. StringBuilder.ToString(start, length) statements, hoping this is
  6453. faster (kept original version commented out in the code, in case
  6454. original version was faster)
  6455. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  6456. alignment != Left
  6457. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  6458. call it as well
  6459. 2005-06-27 Jackson Harper <[email protected]>
  6460. * TabControl.cs: Move to the left and right with the arrow
  6461. keys. These keys don't cycle beyond first and last like
  6462. tab. Refresh all the tabs when scrolling them to the left or
  6463. right.
  6464. 2005-06-27 Jackson Harper <[email protected]>
  6465. * TabControl.cs:
  6466. - ToString: Added method
  6467. - CreateParams: Remove TODO and comment
  6468. - OnKeyDown: Cycle through bounds properly.
  6469. - SelectedIndex: Scroll to the right or left if we need to
  6470. display the newly selected tab.
  6471. 2005-06-23 Jackson Harper <[email protected]>
  6472. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  6473. set.
  6474. 2005-06-23 Jackson Harper <[email protected]>
  6475. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  6476. CTRL-SHIFT-TAB, and HOME, END are there any others?
  6477. 2005-06-23 Jackson Harper <[email protected]>
  6478. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  6479. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  6480. * DataGridTextBoxColumn.cs: fixes and enhancements
  6481. * ThemeWin32Classic.cs: fixes and enhancements
  6482. * DataGridBoolColumn.cs: fixes and enhancements
  6483. * DataGridDrawingLogic.cs: fixes and enhancements
  6484. * CurrencyManager.cs: fixes and enhancements
  6485. * DataGrid.cs: fixes and enhancements
  6486. * DataGridColumnStyle.cs: fixes and enhancements
  6487. 2005-06-22 Jackson Harper <[email protected]>
  6488. * TabControl.cs: Add some missing methods that just call into the
  6489. base. Make the TabPageCollection's IList interface behave in the
  6490. same manner as the MS implementation.
  6491. 2005-06-22 Peter Bartok <[email protected]>
  6492. * TextControl.cs: Added sanity check
  6493. * TextBoxBase.cs:
  6494. - Fixed wrapping behaviour, don't set wrap on single line controls
  6495. (this fixes the breakage of colordialog introduced in an earlier
  6496. checkin)
  6497. - Added rudimentary support for autoscrolling right-aligned controls
  6498. (still needs fixing, also, center alignment scroll is missing)
  6499. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  6500. * ScrollBar.cs: Fixes thumbpos on Maximum values
  6501. 2005-06-21 Jonathan Chambers <[email protected]>
  6502. * PropertyGridView.cs: Pass context information to UITypeEditors
  6503. 2005-06-21 Peter Bartok <[email protected]>
  6504. * TextBoxBase.cs:
  6505. - Now calling PositionCaret with absolute space coordinates
  6506. - Enabled vertical scrolling
  6507. - Better tracking of scrollbar changes, tied into WidthChange
  6508. event
  6509. - Improved cursor tracking
  6510. - Removed debug output
  6511. * TextControl.cs:
  6512. - PositionCaret coordinates are now works in absolute space, not
  6513. the canvas
  6514. - Improved tracking of document size
  6515. - Added events for width and height changes
  6516. 2005-06-21 Peter Bartok <[email protected]>
  6517. * Form.cs: Set focus to active control when form is activated
  6518. * TextControl.cs:
  6519. - Added word-wrap functionality to RecalculateLine()
  6520. - Added some short function descriptions for VS.Net to aid in
  6521. writing dependent controls
  6522. - Added Caret property, returning the current coords of the caret
  6523. - Added ViewPortWidth and ViewPortHeight properties
  6524. - Added Wrap property
  6525. - Added CaretMoved event
  6526. - Removed some old debug code
  6527. - Split() can now create soft splits
  6528. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  6529. - Added method to format existing text
  6530. - Fixed size/alignment calculations to use viewport
  6531. - RecalculateDocument now can handle changing line-numbers while
  6532. calculating lines
  6533. * TextBox.cs:
  6534. - Added some wrap logic, we don't wrap if alignment is not left
  6535. - Added casts for scrollbar var, base class switched types to
  6536. also support RichTextBoxA
  6537. - Implemented handling of scrollbar visibility flags
  6538. * TextBoxBase.cs:
  6539. - Switched scrollbars type to RichTextBoxScrollBars to support
  6540. RichTextBox
  6541. - Added tracking of canvas width/height
  6542. - Switched scrollbars to be not selectable (to keep focus on text)
  6543. - Added central CalculateDocument() method to handle all redraw
  6544. requirements
  6545. - Added ReadOnly support
  6546. - Added WordWrap support
  6547. - Fixed handling of Enter key (we now treat it as a DialogKey)
  6548. - Fixed caret positioning when h or v scroll is not zero
  6549. - Fixed placing/generation of vertical scrollbar
  6550. - Added CalculateScrollBars() method to allow updating scrollbar
  6551. limits and visibility
  6552. - Fixed handling of horizontal scroll
  6553. - Added handling of vertical scroll
  6554. - Implemented auto-'jump' when caret moves to close to a left or
  6555. right border and there is text to be scrolled into view (currently
  6556. there's the potential for a stack overflow, until a bug in
  6557. scrollbar is fixed)
  6558. 2005-06-21 Geoff Norton <[email protected]>
  6559. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  6560. 2005-06-19 Alexander Olk <[email protected]>
  6561. * Mime.cs:
  6562. - added inodes.
  6563. - return application/x-zerosize for files with size zero
  6564. (if no extension pattern matches).
  6565. - check matches collection for strings too.
  6566. - return only the first mime type if the name value
  6567. collection has more than one mime type.
  6568. 2005-06-18 Jonathan Chambers <[email protected]>
  6569. * PropertyGrid.cs: Cleaned up some TODOs
  6570. * PropertyGridView.cs: Added support for UITypeEditors
  6571. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  6572. * DataGrid.cs: clears cached value
  6573. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  6574. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  6575. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  6576. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  6577. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  6578. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  6579. * ThemeWin32Classic.cs: fixes colour
  6580. 2005-06-15 Peter Bartok <[email protected]>
  6581. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  6582. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  6583. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  6584. * Control.cs: Added some MWFCategory and MWFDescription attributes
  6585. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  6586. 2005-06-15 Alexander Olk <[email protected]>
  6587. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  6588. usage
  6589. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  6590. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  6591. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  6592. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  6593. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  6594. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  6595. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  6596. 2005-06-13 Jackson Harper <[email protected]>
  6597. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  6598. isn't printed when the user enables dropping. (X11 does accept
  6599. drops).
  6600. 2005-06-13 Jackson Harper <[email protected]>
  6601. * TreeView.cs: Remove some TODOS.
  6602. 2005-06-13 Jackson Harper <[email protected]>
  6603. * Form.cs: Hook into the mdi framework.
  6604. * MdiClient.cs: Use the base control collections add method so
  6605. parents get setup correctly. Set the default back colour and dock
  6606. style.
  6607. * MdiChildContext.cs: New class, this bad actor handles an
  6608. instance of an MDI window. Right now there is only basic
  6609. support. You can drag, close, and resize windows. Minimize and
  6610. Maximize are partially implemented.
  6611. 2005-06-13 Jackson Harper <[email protected]>
  6612. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  6613. freaky when both vals are negative. NOTE: There are probably other
  6614. places in XplatUIX11 that this needs to be done.
  6615. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  6616. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  6617. * DataGridColumnStyle.cs: fixes signature
  6618. 2005-06-12 Jackson Harper <[email protected]>
  6619. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  6620. windows.
  6621. 2005-06-11 Jackson Harper <[email protected]>
  6622. * StatusBarPanel.cs: Signature cleanups. Implement
  6623. BeginInit/EndInit.
  6624. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  6625. * DataGridTextBoxColumn.cs: Honors aligment
  6626. * GridColumnStylesCollection.cs: Contains is case unsensitive
  6627. * GridTableStylesCollection.cs: several fixes
  6628. * DataGridTableStyle.cs: default column creation
  6629. * DataGridDrawingLogic.cs: fixes
  6630. * CurrencyManager.cs: ListName property
  6631. * DataGrid.cs: multiple styles support
  6632. * DataGridColumnStyle.cs: fixes
  6633. 2005-06-10 Peter Bartok <[email protected]>
  6634. * Control.cs(Select): Moved SetFocus call to avoid potential
  6635. loops if controls change the active control when getting focus
  6636. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  6637. the up/down buttons
  6638. 2005-06-10 Matthias Felgner <[email protected]>
  6639. * ImageListConverter.cs: Implemented
  6640. 2005-06-10 John BouAntoun <[email protected]>
  6641. * MonthCalendar.cs: Wired in NumericUpDown control for year
  6642. 2005-06-10 John BouAntoun <[email protected]>
  6643. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  6644. DoubleClick events, since they are not meant to be fired.
  6645. 2005-06-09 Peter Bartok <[email protected]>
  6646. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  6647. Jonathan's standalone controls into MWF, implemented missing
  6648. events, attributes and methods; added xxxAccessible classes
  6649. * AccessibleObject.cs: Made fields internal so other classes
  6650. can change them if needed
  6651. 2005-06-09 Jonathan Gilbert <[email protected]>
  6652. * UpDownBase.cs: Complete implementation
  6653. * NumericUpDown.cs: Complete implementation
  6654. * DomainUpDown.cs: Complete implementation
  6655. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  6656. * DataGridTextBoxColumn.cs: drawing fixes
  6657. * DataGridCell.cs: fixes ToString method to match MSNet
  6658. * DataGridTableStyle.cs: fixes
  6659. * DataGridBoolColumn.cs: fixes, drawing
  6660. * DataGridDrawingLogic.cs: fixes, new methods
  6661. * DataGridTextBox.cs: Keyboard and fixes
  6662. * DataGrid.cs:
  6663. - Keyboard navigation
  6664. - Scrolling fixes
  6665. - Row selection (single, multiple, deletion, etc)
  6666. - Lots of fixes
  6667. 2005-06-07 Jackson Harper <[email protected]>
  6668. * ThemeWin32Classic.cs: Clear the background area when drawing
  6669. buttons.
  6670. 2005-06-06 Peter Bartok <[email protected]>
  6671. * ImageListStreamer.cs: Fixed signature for GetData
  6672. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  6673. * ComboBox.cs:
  6674. - Added missing ChildAccessibleObject class
  6675. - Added missing OnXXXFocus overrides, switched to using those
  6676. instead of the event handler
  6677. * Control.cs:
  6678. - Added Parent property for ControlAccessibleObject
  6679. - Fixed signatures
  6680. - Fixed attributes
  6681. - Added ResetBindings()
  6682. * ListBindingConverter.cs: Implemented some methods
  6683. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  6684. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  6685. * ContainerControl.cs: Fixed signature, now subscribing to the
  6686. ControlRemoved event instead of overriding the handler, LAMESPEC
  6687. * CurrencyManager.cs: Added missing attribute
  6688. * MonthCalendar.cs: Added missing properties
  6689. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  6690. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  6691. 2005-06-06 Gaurav Vaish and Ankit Jain
  6692. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  6693. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  6694. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  6695. * Control.cs: fixes CreateParams Width / Height.
  6696. 2005-06-05 Peter Bartok <[email protected]>
  6697. * Win32DnD.cs: Removed compilation warnings
  6698. 2005-06-05 Peter Bartok <[email protected]>
  6699. * Control.cs (CreateParams): Since we don't know if one of the
  6700. properties we use is overridden, lets make sure if we fail accessing
  6701. we continue with a backup plan
  6702. 2005-06-05 Peter Bartok <[email protected]>
  6703. * Win32DnD.cs:
  6704. - Removed debug output
  6705. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  6706. struct
  6707. - Plugged resource leak
  6708. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  6709. MS size
  6710. 2005-06-05 Peter Bartok <[email protected]>
  6711. * XplatUIWin32.cs: Removed DnD code
  6712. * Win32DnD.cs: Implemented drop source and drop target functionality
  6713. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  6714. * UpDownBase.cs: remove duplicate addition of event, enable some code
  6715. that was commented out.
  6716. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  6717. Validate input when a key is pressed. It works fine now for every
  6718. combination of Hexadecimal. Only missing some drawing love when sharing
  6719. space with other controls.
  6720. 2005-06-04 Peter Bartok <[email protected]>
  6721. * Control.cs:
  6722. - We need to pass a window for DragDrop, so enable callback events
  6723. - Added DnD callback events when being a DragSource
  6724. * XplatUI.cs (StartDrag): Added window handle argument
  6725. * XplatUIDriver.cs (StartDrag): Added window handle argument
  6726. * QueryContinueDragEventArgs: Made fields internally accessible so
  6727. drivers can set them
  6728. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  6729. can set them
  6730. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  6731. * DataGridTextBoxColumn.cs: column text editing
  6732. * DataGridTableStyle.cs: Respect columns styles created by the user
  6733. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  6734. * DataGridBoolColumn.cs: bool column editing
  6735. * DataGrid.cs: fixes to scrolling, properties, etc
  6736. * DataGridTextBox.cs: handle keyboard
  6737. * DataGridColumnStyle.cs: fixes
  6738. 2005-06-02 Jackson Harper <[email protected]>
  6739. * ImageListStreamer.cs: Somewhat broken implementation of
  6740. GetObjectData. The RLE needs some work to match MS properly.
  6741. 2005-06-02 Jackson Harper <[email protected]>
  6742. * X11Dnd.cs: Attempting to keep at least one file in MWF
  6743. monostyled.
  6744. 2005-06-02 Peter Bartok <[email protected]>
  6745. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  6746. that way
  6747. 2005-06-02 Peter Bartok <[email protected]>
  6748. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  6749. * XplatUI.cs: Added DoDragDrop() method
  6750. * XplatUIDriver.cs: Added DoDragDrop() method
  6751. 2005-06-02 Jackson Harper <[email protected]>
  6752. * Splitter.cs: Implement BorderStyle.
  6753. 2005-06-02 Jackson Harper <[email protected]>
  6754. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  6755. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  6756. X11 using XDND.
  6757. 2005-06-02 Peter Bartok <[email protected]>
  6758. * DataObject.cs:
  6759. - Added Data setter
  6760. - Fixed broken insertion code for SetData, now also
  6761. overwrites any existing entry of the same format name
  6762. * Hwnd.cs: Added list of pointers that automatically gets
  6763. freed when the window is disposed
  6764. * XplatUI.cs: Call driver initialization method when loading
  6765. a driver
  6766. * Control.cs:
  6767. - OnDragLeave takes EventArgs, not DragEventArgs
  6768. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  6769. supported
  6770. - Forces style update when drop state changes
  6771. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  6772. not perfect since we cannot (yet) call the IDataObject.GetData()
  6773. method, we keep getting 0x80004005 error, dunno why)
  6774. 2005-06-02 Peter Bartok <[email protected]>
  6775. * DragEventArgs.cs: Make fields internal so we can cache the
  6776. object and re-set the fields from XplatUI
  6777. 2005-06-02 Jackson Harper <[email protected]>
  6778. * Control.cs: Add some internal methods so the DnD subsystem can
  6779. raise DnD events. Also call into the driver when AllowDrop is set.
  6780. * XplatUI.cs:
  6781. * XplatUIDriver.cs: New method for setting whether or not a window
  6782. is allowed to accept drag and drop messages.
  6783. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  6784. * ScrollBar.cs: Make sure that values sent in Scroll events
  6785. are always between Maximum and Minimum.
  6786. 2005-06-01 Marek Safar <[email protected]>
  6787. * Menu.cs: Call MenuChanged when menuitem visibility has been
  6788. changed.
  6789. * MenuItem.cs: Rebuild menu when item is (not) visible.
  6790. * MainMenu.cs: MainMenu has special MenuChanged.
  6791. * Theme.cs: Caption and FrameBorderSize are not fixed.
  6792. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  6793. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  6794. * XplatUIX11.cs,
  6795. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  6796. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  6797. 2005-05-30 Jackson Harper <[email protected]>
  6798. * DataFormat.cs: We can't statically initialize this stuff because
  6799. it calls into the xplatui and could create a loop. So we lazy init
  6800. it.
  6801. 2005-05-28 Jackson Harper <[email protected]>
  6802. * Control.cs: Proper implementation of Product(Name/Version).
  6803. 2005-05-27 Jackson Harper <[email protected]>
  6804. * DataObject.cs: Dont crash if no data is found.
  6805. 2005-05-26 Rafael Teixeira <[email protected]>
  6806. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  6807. as per status page, guessing it should be set to true
  6808. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  6809. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  6810. * DataGridTableStyle.cs: set proper formatting text, def header text
  6811. * ThemeWin32Classic.cs: new themable paramaters
  6812. * DataGridBoolColumn.cs: paint check box, get data, fixes
  6813. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  6814. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  6815. * DataGridColumnStyle.cs: fixes
  6816. * Theme.cs: new themable paramaters
  6817. 2005-05-26 Peter Bartok <[email protected]>
  6818. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  6819. 2005-05-24 Jonathan S. Chambers <[email protected]>
  6820. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  6821. 2005-05-24 Peter Bartok <[email protected]>
  6822. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  6823. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  6824. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  6825. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  6826. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  6827. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  6828. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  6829. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  6830. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  6831. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  6832. missing attributes, etc
  6833. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  6834. 2005-05-24 Peter Bartok <[email protected]>
  6835. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  6836. when user tries to get help
  6837. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  6838. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  6839. to suppress warnings
  6840. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  6841. avoid unreachable code warning
  6842. 2005-05-20 Peter Bartok <[email protected]>
  6843. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  6844. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  6845. * DataGridTextBoxColumn.cs: Basic painting methods
  6846. * DataGridTableStyle.cs: Set table style in the column
  6847. * ThemeWin32Classic.cs: Use Theme for colors
  6848. * DataGridDrawingLogic.cs: Implement more drawing
  6849. * DataGrid.cs: drawing, theming, enhacements, fixes
  6850. * DataGridColumnStyle.cs: fixes, drawing
  6851. * Theme.cs: theming for Datagrid
  6852. 2005-05-20 Peter Bartok <[email protected]>
  6853. * Cursor.cs: Implemented GetObjectData() method
  6854. 2005-05-20 Peter Bartok <[email protected]>
  6855. * Cursors.cs: Added setting of cursor name
  6856. * Cursor.cs:
  6857. - Implemented constructors
  6858. - Implemented Draw and DrawStretched
  6859. - Implemented Current property
  6860. - Implemented == and != operators
  6861. - Implemented Dispose()
  6862. - Implemented ToString
  6863. - Added missing attributes
  6864. * XplatUIX11.cs:
  6865. - Added missing reset for OverrideCursor when DoEvents is called
  6866. - Fixed creation of cursor, logic was wrong
  6867. * XplatUIWin32.cs:
  6868. - Added missing reset for OverrideCursor when DoEvents is called
  6869. - Fixed creation of cursor, bit arrays were swapped
  6870. * Clipboard.cs: Removed obsolete MonoTODO attribute
  6871. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  6872. * ComboBox.cs: fixes OnSelectedItemChanged
  6873. * ControlBindingsCollection.cs: fixes item range check
  6874. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  6875. * UpDownBase.cs:
  6876. - Calc preferred height properly
  6877. - Implement missing properties
  6878. * NumericUpDown.cs: Implement missing events
  6879. 2005-05-19 Jackson Harper <[email protected]>
  6880. * TabControl.cs: New method that resizes the tab pages before
  6881. redrawing them. This as needed as the control is double buffered
  6882. and sizing will not be recalculated unless ResizeTabPages is
  6883. called.
  6884. * TabPage.cs: Set base.Text instead of Text in the constructor so
  6885. that UpdateOwner does not get called. Use the new Redraw method of
  6886. TabControl instead of Refresh so the sizing is recalculated.
  6887. * ThemeWin32Classic.cs: Draw the text for button tabs.
  6888. 2005-05-19 Jackson Harper <[email protected]>
  6889. * Control.cs: Paint control background images. Fix typo where
  6890. PaintControlBackground was not getting called correctly.
  6891. 2005-05-19 Peter Bartok <[email protected]>
  6892. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  6893. I can investigate, apparently I broke FileDialog
  6894. 2005-05-19 Marek Safar <[email protected]>
  6895. * AxHost.cs: Some simple properties.
  6896. * Control.cs: window must be accessible after ctor.
  6897. * Form.cs: Added TransparencyKey property.
  6898. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  6899. * XplatUIWin32.cs: SetBorderStyle implemented.
  6900. 2005-05-18 Peter Bartok <[email protected]>
  6901. * DataObject.cs: Entries are not global but particular to the
  6902. DataObject, now it behaves that way
  6903. * XplatUIWin32.cs: Implemented Clipboard methods
  6904. * Clipboard.cs: Implemented
  6905. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  6906. * XplatUIOSX.cs: Updated to final clipboard prototypes
  6907. * XplatUIX11.cs: Implemented Clipboard methods
  6908. * XplatUIDriver.cs: Updated to final clipboard prototypes
  6909. * XplatUIStructs.cs:
  6910. - Added BITMAPINFOHEADER struct
  6911. - Added ClipboardFormats enum
  6912. * X11Structs.cs:
  6913. - Added ClipboardStruct
  6914. - Added Atom enum items for clipboard types
  6915. - Fixed atom types for Selection event structures
  6916. * DataFormats.cs:
  6917. - Added internal properties and methods for drivers to enumerate
  6918. all known formats
  6919. - Switched initialization method to allow drivers to assign their
  6920. own IDs even for the MS predefined clipboard IDs
  6921. * XplatUI.cs: Updated to final clipboard interface
  6922. 2005-05-18 Jonathan S. Chambers <[email protected]>
  6923. * PropertyGridView.cs: Fixed compiler warnings.
  6924. 2005-05-18 Jonathan S. Chambers <[email protected]>
  6925. * PropertyGrid.cs: Added some event calls
  6926. * PropertyGridView.cs: Change drawing code to use double buffering
  6927. * PropertyGridTextBox.cs: Changed Text property name
  6928. * GridItem.cs: Added Bounds property.
  6929. * GridEntry.cs: Added Bounds property.
  6930. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  6931. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  6932. since GetType() may not return the correct type if the object is
  6933. a remoting proxy.
  6934. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  6935. * TreeNodeCollection.cs: fixes get/set item ranges
  6936. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  6937. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  6938. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  6939. * ComboBox.cs: Fix item range comparation
  6940. * ListView.cs: Fix item range comparation
  6941. 2005-05-03 Alexander Olk <[email protected]>
  6942. * FontDialog.cs:
  6943. - Clear example panel when OnPaint is called
  6944. - Better solution for displaying the example panel text
  6945. - Select default indexes in the ListBoxes
  6946. 2005-05-11 Geoff Norton <[email protected]>
  6947. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  6948. 2005-05-11 Peter Bartok <[email protected]>
  6949. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  6950. * SelectionRangeConverter.cs: Implemented
  6951. * PropertyGrid.cs: Fixed attribute value
  6952. * Control.cs:
  6953. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  6954. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  6955. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  6956. that's common to all drivers. First methods to go there are
  6957. Sebastien Pouliot's CAS Stack Propagation helper methods
  6958. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  6959. Sebastien Pouliot for CAS Stack Propagation
  6960. 2005-05-11 Geoff Norton <[email protected]>
  6961. * OSXStructs.cs:
  6962. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  6963. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  6964. * DataGridTextBoxColumn.cs: fixed some members
  6965. * GridColumnStylesCollection.cs: indexed column is case insensitive
  6966. * DataGridTableStyle.cs: fixes
  6967. * ThemeWin32Classic.cs: add new theme parameter
  6968. * Theme.cs: add new theme parameter
  6969. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  6970. * DataGrid.cs: fixes, new internal properties, etc.
  6971. * DataGridColumnStyle.cs: allows to set grid value
  6972. *
  6973. 2005-05-10 Peter Bartok <[email protected]>
  6974. * AccessibleObject.cs:
  6975. - Removed MonoTODO attribute on help, method is correct
  6976. - Fixed Bounds property
  6977. * AxHost.cs: Moved MonoTODO
  6978. * ButtonBase.cs: Now setting AccessibleObject properties
  6979. * RadioButton.cs: Setting proper AccessibleObject role
  6980. * CheckBox.cs: Setting proper AccessibleObject role
  6981. * ControlBindingsCollection.cs: Added properties, methods and attributes
  6982. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  6983. userdefined DataFormats.Format items as well
  6984. * ListControl.cs: Removed data_member from the public eye
  6985. * OpenFileDialog.cs:
  6986. - Made class sealed
  6987. - Added missing attributes
  6988. * SaveFileDialog.cs: Added missing attributes
  6989. * ImageListStreamer.cs: Fixed code that caused warnings
  6990. * LinkLabel.cs: Removed unreachable code
  6991. * TreeView.cs: Fixed code that caused warnings
  6992. * PropertyGridView.cs: Fixed code that caused warnings
  6993. * GridColumnStylesCollection.cs: Added missing attributes
  6994. * GridTableStylesCollection: Added missing attribute
  6995. * PropertyManager: Added .ctor
  6996. * SecurityIDType: Added
  6997. * DataObject.cs: Implemented class
  6998. * LinkArea.cs: Added missing attribute
  6999. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  7000. * RadioButton.cs: call base method to allow to fire OnClick event
  7001. * UpDownBase.cs: OnMouseUp call base method
  7002. * CheckedListBox.cs: call base method before returning
  7003. * TrackBar.cs: call base method before returning
  7004. 2005-05-10 Peter Bartok <[email protected]>
  7005. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  7006. for messages
  7007. 2005-05-10 Peter Bartok <[email protected]>
  7008. * DataFormats.cs: Implemented
  7009. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  7010. XplatUIX11.cs: Added Clipboard APIs
  7011. * XplatUIWin32.cs: Implemented Clipboard APIs
  7012. * FolderBrowserDialog.cs: Added missing event, attributes
  7013. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  7014. * CheckBox.cs: call base method to allow to fire OnClick event
  7015. 2005-05-09 Sebastien Pouliot <[email protected]>
  7016. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  7017. 2005-05-06 Peter Bartok <[email protected]>
  7018. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  7019. * Screen.cs: Implemented
  7020. * HelpNavigator.cs: Added
  7021. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  7022. property
  7023. * HelpProvider.cs: Implemented all we can do until we have a CHM
  7024. help library (which means that "What's This" does work now)
  7025. 2005-05-06 Jackson Harper <[email protected]>
  7026. * XplatUIX11.cs: Fix waking up the main loop.
  7027. 2005-05-05 Peter Bartok <[email protected]>
  7028. * XplatUI.cs: Updated revision
  7029. * Form.cs: Removed enless loop
  7030. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  7031. * Label.cs (OnPaint): Added call to base.OnPaint()
  7032. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  7033. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  7034. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  7035. * AxHost.cs: Added
  7036. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  7037. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  7038. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  7039. reuse of ToolTipWindow by other controls
  7040. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  7041. * XplatUIX11.cs: Now clipping drawing area (experimental)
  7042. * PictureBox.cs: Moved base.OnPaint() call to end of method
  7043. * Theme.cs: Fixed ToolTip abstracts to match new format
  7044. * ErrorProvider.cs: Implemented
  7045. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  7046. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  7047. * LinkLabel.cs:
  7048. - Adds cursors
  7049. - Handles focus
  7050. - Implements LinkBehavior
  7051. - Fixes many issues
  7052. 2005-05-03 Jackson Harper <[email protected]>
  7053. * ListView.cs: Calculate the scrollbar positioning on resize and
  7054. paint, so they get put in the correct place.
  7055. 2005-05-03 Alexander Olk <[email protected]>
  7056. * ColorDialogs.cs: The small color panels are now handled by
  7057. SmallColorControl. This fixes drawing of the focus rectangle
  7058. and adds a 3D border.
  7059. 2005-05-03 Peter Bartok <[email protected]>
  7060. * Control.cs: Modified version of Jonathan Chamber's fix for
  7061. double-buffering
  7062. 2005-05-03 Jackson Harper <[email protected]>
  7063. * ListView.cs: Remove redraw variable. Control now handles whether
  7064. or not a redraw needs to be done, and will only raise the paint
  7065. event if redrawing is needed.
  7066. 2005-05-03 Jackson Harper <[email protected]>
  7067. * Splitter.cs: No decorations for the splitter form. Cache the
  7068. hatch brush.
  7069. 2005-05-03 Jackson Harper <[email protected]>
  7070. * TreeView.cs: Use dashed lines to connect nodes. Use the
  7071. ControlPaint method for drawing the focus rect instead of doing
  7072. that in treeview.
  7073. 2005-05-02 Peter Bartok <[email protected]>
  7074. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  7075. 2005-04-29 Jackson Harper <[email protected]>
  7076. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  7077. entire image buffer. Just clear the clipping rectangle.
  7078. 2005-04-29 Jackson Harper <[email protected]>
  7079. * ThemeWin32Classic.cs: Don't draw list view items that are
  7080. outside the clipping rectangle.
  7081. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  7082. * ListBox.cs: added horizontal item scroll
  7083. 2005-04-29 Jackson Harper <[email protected]>
  7084. * ThemeWin32Classic.cs: Remove some old debug code that was
  7085. causing flicker with the new double buffering code.
  7086. 2005-04-29 John BouAntoun <[email protected]>
  7087. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  7088. behave like combobox and comboboxlist (still not sure if this is
  7089. correct though).
  7090. 2005-04-28 Jackson Harper <[email protected]>
  7091. * ThemeWin32Classic.cs: Don't fill the middle of progress
  7092. bars. This fills areas outside of the clip bounds that don't need
  7093. to be filled.
  7094. 2005-04-28 Jackson Harper <[email protected]>
  7095. * Control.cs: Don't expose functionality to touch the image buffers.
  7096. * ProgressBar.cs:
  7097. * ListView.cs: We do not need to (and no longer can) manipulate
  7098. the image buffers directly. All of this is handled by Control.
  7099. 2005-04-28 Peter Bartok <[email protected]>
  7100. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  7101. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  7102. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  7103. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  7104. * Combobox:
  7105. - Adjust control's height for non-simple comboboxes (bug fix)
  7106. - Remove dead code
  7107. * MenuAPI.cs: remove unused var
  7108. * ScrollBar.cs: remove unsed var
  7109. * ListBox.cs: unselect items when clearing
  7110. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  7111. * ListControl.cs: honors OnPositionChanged and default Selected Item
  7112. * ListBox.cs: unselect items when clearing
  7113. 2005-04-27 Jackson Harper <[email protected]>
  7114. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  7115. if a "correct" keyboard is not found. This will make us not crash,
  7116. but might give some users bad keyboard layouts...seems to be the
  7117. same thing rewind does.
  7118. 2005-04-27 Jackson Harper <[email protected]>
  7119. * BindingManagerBase.cs: Attach the current/position changed
  7120. handlers to their respective events.
  7121. 2005-04-27 Jackson Harper <[email protected]>
  7122. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  7123. not just a blit.
  7124. * ThemeWin32Classic.cs: Don't fill the background for picture
  7125. boxes. This could overright user drawing.
  7126. * ComboBox.cs: Just fill the clipping rect not the entire client
  7127. rect when drawing the background. This prevents pieces of the
  7128. image buffer from getting overwritten and is theoretically faster.
  7129. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  7130. * ComboBox.cs: Databinding support fixes, fire missing events
  7131. * ListControl.cs: implement missing methods and properties, fixes
  7132. * ThemeWin32Classic.cs: Databiding support on Drawing
  7133. * CheckedListBox.cs: Databinding support fixes, fire missing events
  7134. * ListBox.cs: Databinding support fixes, fire missing events
  7135. 2005-04-25 Peter Bartok <[email protected]>
  7136. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  7137. 2005-04-25 Jackson Harper <[email protected]>
  7138. * TreeView.cs: Use the horizontal scrollbars height not width when
  7139. determining how much of the client area is available.
  7140. 2005-04-25 Jackson Harper <[email protected]>
  7141. * Control.cs: Double buffering is handled differently now. As per
  7142. the spec, the extra buffer is created in the WM_PAINT message and
  7143. passed down to the control's drawing code.
  7144. * GroupBox.cs:
  7145. * Label.cs:
  7146. * CheckBox.cs:
  7147. * ProgressBar.cs:
  7148. * RadioButton.cs:
  7149. * ColorDialog.cs:
  7150. * ComboBox.cs:
  7151. * PropertyGridView.cs:
  7152. * UpDownBase.cs:
  7153. * MessageBox.cs:
  7154. * MenuAPI.cs:
  7155. * ListView.cs:
  7156. * ButtonBase.cs:
  7157. * SizeGrip.cs:
  7158. * ScrollBar.cs:
  7159. * ListBox.cs:
  7160. * TrackBar.cs:
  7161. * ToolBar.cs:
  7162. * PictureBox.cs:
  7163. * DateTimePicker.cs:
  7164. * StatusBar.cs:
  7165. * TreeView.cs: Update to new double buffering system.
  7166. * MonthCalendar.cs: Uncomment block, as Capture is now
  7167. working. Update to new double buffering
  7168. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  7169. * PaintEventArgs.cs: New internal method allows us to set the
  7170. graphics object. This is used for double buffering.
  7171. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  7172. rectangle. The internal paint_area var has been removed from
  7173. StatusBar. The clipping rect should be used instead.
  7174. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  7175. * TabPage.cs: The RefreshTabs method was removed, so just call the
  7176. tab controls Refresh method now.
  7177. * TabControl.cs: Update to new double buffering. Make sure the
  7178. handle is created before sizing the tab pages, otherwise we will
  7179. get stuck in a loop.
  7180. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  7181. * LinkLabel.cs: Fix typo, bug #74719; patch
  7182. from Borja Sanchez Zamorano
  7183. 2005-04-22 Jackson Harper <[email protected]>
  7184. * TreeNode.cs: Implement Handle stuff.
  7185. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  7186. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  7187. * DataGridTextBoxColumn.cs: call base constructors, fixes
  7188. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  7189. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  7190. * DataGridTableStyle.cs: implements create default column styles
  7191. * DataGridBoolColumn.cs: which types can handle
  7192. * DataGrid.cs: missing methods, fixes, new functionality
  7193. * DataGridColumnStyle.cs: fixes
  7194. 2005-04-20 Alexander Olk <[email protected]>
  7195. * FolderBrowserDialog.cs:
  7196. - Use a thread to fill the TreeView
  7197. - Adjusted some sizes
  7198. 2005-04-19 Peter Bartok <[email protected]>
  7199. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  7200. property. Fixes #74360.
  7201. 2005-04-19 Jackson Harper <[email protected]>
  7202. * XEventQueue.cs: Lock when getting the lockqueue size.
  7203. * PictureBox.cs: Call base OnPaint
  7204. 2005-04-19 Peter Bartok <[email protected]>
  7205. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  7206. messages were no longer being processed (this broke BeginInvoke)
  7207. 2005-04-18 Jackson Harper <[email protected]>
  7208. * TreeView.cs: buglet that caused node images to get drawn
  7209. regardless of whether or not they were in the clipping rectangle.
  7210. 2005-04-18 Jackson Harper <[email protected]>
  7211. * CurrencyManager.cs: There are four rules for GetItemProperties:
  7212. - If the type is an array use the element type of the array
  7213. - If the type is a typed list, use the type
  7214. - If the list contains an Item property that is not an object, use
  7215. that property
  7216. - use the first element of the list if there are any elements in
  7217. the list.
  7218. 2005-04-17 Jackson Harper <[email protected]>
  7219. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  7220. click. This handles offsets for scrolling properly and reduces
  7221. memory. Also fixed GetNode to not offset now that TopNode works
  7222. properly.
  7223. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  7224. 2005-04-17 Jackson Harper <[email protected]>
  7225. * CursorConverter.cs: Initial implementation.
  7226. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  7227. * ListControl.cs: work towards complex data binding support on ListControl
  7228. * CurrencyManager.cs: work towards complex data binding support on ListControl
  7229. * ListBox.cs: work towards complex data binding support on ListControl
  7230. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  7231. * GridTableStylesCollection.cs: fixes name and constructor
  7232. * DataGridTableStyle.cs: fixes
  7233. * DataGridBoolColumn.cs: fixes names and constructors
  7234. * DataGrid.cs: define methods and properties. Some init implementations
  7235. * DataGridCell.cs: define methods and properties. Some init implementations
  7236. * GridTablesFactory.cs: Define methods and properties
  7237. 2005-04-15 Geoff Norton <[email protected]>
  7238. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  7239. graphics port changes. We still want the coordinates in global screen
  7240. coordinates.
  7241. 2005-04-14 Jackson Harper <[email protected]>
  7242. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  7243. check plus minus or checkbox clicks unless those features are enabled.
  7244. 2005-04-14 Jackson Harper <[email protected]>
  7245. * TreeView.cs: Add methods for setting the top and bottom visible
  7246. nodes. TreeNode::EnsureVisible uses these methods.
  7247. * TreeNode.cs: Implement EnsureVisible
  7248. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  7249. * Form.cs: Pospone menu assignation if the window has not been created yet
  7250. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  7251. size and position
  7252. 2005-04-12 Jackson Harper <[email protected]>
  7253. * TreeView.cs: Set the TopNode properly when scrolling
  7254. occurs. This has the added benifit of reducing the amount of
  7255. walking that needs to be done when drawing. Also removed an old
  7256. misleading TODO.
  7257. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  7258. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  7259. * Timer.cs: fixes interval setting when the timer is already enabled
  7260. 2005-04-10 Alexander Olk <[email protected]>
  7261. * FolderBrowserDialog.cs: First approach
  7262. 2005-04-09 Peter Bartok <[email protected]>
  7263. * FolderBrowserDialog: Added
  7264. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  7265. * LinkLabel.cs: move drawing code into the theme
  7266. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  7267. * Theme.cs: define DrawLinkLabel method
  7268. 2005-04-05 Jackson Harper <[email protected]>
  7269. * BindingContext.cs: Use weak references so these bad actors don't
  7270. stay alive longer then they need to.
  7271. 2005-04-05 Jackson Harper <[email protected]>
  7272. * ListControl.cs: Basic implementation of complex databinding.
  7273. * ComboBox.cs:
  7274. * ListBox.cs: Add calls to ListControl databinding methods.
  7275. 2005-04-05 Alexander Olk <[email protected]>
  7276. * FileDialog.cs:
  7277. - Don't change PopupButtonState to Normal when the
  7278. PopupButton gets pressed several times.
  7279. - Renamed ButtonPanel to PopupButtonPanel
  7280. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  7281. * ColorDialog.cs: Use cached objects instead of creating them
  7282. * LinkLabel.cs: Use cached objects instead of creating them
  7283. * Splitter.cs: Use cached objects instead of creating them
  7284. * FontDialog.cs: Use cached objects instead of creating them
  7285. * PropertyGridView.cs: Use cached objects instead of creating them
  7286. * MessageBox.cs: Use cached objects instead of creating them
  7287. * FileDialog.cs: Use cached objects instead of creating them
  7288. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  7289. * TreeView.cs: Use cached objects instead of creating them
  7290. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  7291. * Control.cs: use Equals to compare the font since no == op
  7292. * ScrollBar.cs: use Equals to compare the font since no == op
  7293. 2005-04-04 Alexander Olk <[email protected]>
  7294. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  7295. 2005-04-01 Jackson Harper <[email protected]>
  7296. * Binding.cs: Implement IsBinding.
  7297. * BindingManagerBase.cs:
  7298. * PropertyManager.cs:
  7299. * CurrencyManager.cs: Add IsSuspended property.
  7300. 2005-04-01 Jackson Harper <[email protected]>
  7301. * Binding.cs: Had some IsAssignableFrom calls backwards.
  7302. 2005-04-01 Jackson Harper <[email protected]>
  7303. * Binding.cs: Handle null data members when pulling data.
  7304. * PropertyManager.cs: Handle the data member being a property that
  7305. does not exist.
  7306. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  7307. * DataGridTextBoxColumn.cs: fixes signature
  7308. * DataGrid.cs: calls right constructor
  7309. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  7310. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  7311. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  7312. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  7313. * DataGridTableStyle.cs: implements DataGridTableStyle
  7314. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  7315. * DataGridTextBox.cs: implements DataGridTextBox
  7316. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  7317. 2005-03-31 Alexander Olk <[email protected]>
  7318. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  7319. 2005-03-29 Peter Bartok <[email protected]>
  7320. * Application.cs:
  7321. - Properly implemented CompanyName property
  7322. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  7323. returns a path that includes CompanyName, ProductName and
  7324. Version (fixes bug #70330)
  7325. 2005-03-29 Stefan Buehler <[email protected]>
  7326. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  7327. fixes bug #72588.
  7328. 2005-03-28 Alexander Olk <[email protected]>
  7329. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  7330. - Added ReadOnly CheckBox
  7331. - Further refactoring: moved some code from Open-/SaveFileDialog
  7332. to FileDialog
  7333. 2005-03-28 Alexander Olk <[email protected]>
  7334. * OpenFileDialog.cs: Fixed CheckFileExists
  7335. * FileDialog.cs:
  7336. Moved FileView and DirComboBox outside FileDialog class.
  7337. They can now be used outside FileDialog
  7338. 2005-03-27 Alexander Olk <[email protected]>
  7339. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  7340. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  7341. 2005-03-27 Alexander Olk <[email protected]>
  7342. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  7343. - Added missing CreatePrompt property in SaveDialog
  7344. - Overall SaveDialog handling should be better now
  7345. - Added non standard ShowHiddenFiles property
  7346. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  7347. - Added InitialDirectory and RestoreDirectory support
  7348. 2005-03-26 Alexander Olk <[email protected]>
  7349. * FileDialog.cs: Made dirComboBox usable
  7350. 2005-03-24 Alexander Olk <[email protected]>
  7351. * FileDialog.cs: Added Filter support (case sensitiv)
  7352. 2005-03-24 Jackson Harper <[email protected]>
  7353. * TabControl.cs: Need a couple more pixels for the lines.
  7354. 2005-03-23 Jackson Harper <[email protected]>
  7355. * TabControl.cs: Give the tab page focus when it is selected.
  7356. 2005-03-23 Jackson Harper <[email protected]>
  7357. * TabControl.cs: Account for the drawing of tabs borders when
  7358. invalidating. If the slider was clicked dont do click detection on
  7359. the tabs.
  7360. 2005-03-23 Jackson Harper <[email protected]>
  7361. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  7362. 2005-03-22 Jonathan Chambers <[email protected]>
  7363. * CategoryGridEntry.cs: Added
  7364. * GridItem.cs: Added helper properties
  7365. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  7366. * GridEntry.cs: Updated code for collection
  7367. * PropertyGrid.cs: Cleaned up some formatting
  7368. * PropertyGridView.cs: Added drop down functionality for enums.
  7369. * GridItemCollection.cs: Added enumerator logic
  7370. * PropertyGridEntry.cs: Added
  7371. 2005-03-19 Alexander Olk <[email protected]>
  7372. * FileDialog.cs:
  7373. - Removed unnecessary commented code
  7374. - Fixed handling for entering the filename manually in the combobox
  7375. 2005-03-19 Alexander Olk <[email protected]>
  7376. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  7377. 2005-03-18 Peter Bartok <[email protected]>
  7378. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  7379. them being touching the border
  7380. 2005-03-18 Peter Bartok <[email protected]>
  7381. * TextControl.cs: Quick hack to center text better
  7382. 2005-03-18 Peter Bartok <[email protected]>
  7383. * ControlPaint.cs:
  7384. - Don't throw NotImplemented exceptions, just print a notice once
  7385. instead (requested by Miguel). This makes running existing SWF
  7386. apps a bit easier
  7387. * Control.cs:
  7388. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  7389. - Added context menu trigger on right click
  7390. * Panel.cs: Trigger invalidate on resize
  7391. * StatusBar.cs:
  7392. - Removed old double-buffer drawing
  7393. - Added ResizeRedraw style to force proper update of statusbar
  7394. * ListView.cs:
  7395. - Removed debug output
  7396. * ThemeWin32Classic.cs:
  7397. - Fixed drawing of status bar, now draws Text property if there
  7398. are no defined panels
  7399. 2005-03-18 Jackson Harper <[email protected]>
  7400. * ImageList.cs: When the image stream is set pull all the images
  7401. from it.
  7402. * ImageListStreamer.cs: Implement reading image list streams.
  7403. 2005-03-18 Peter Bartok <[email protected]>
  7404. * ThemeWin32Classic.cs (DrawPictureBox):
  7405. - Fixed calculations for centered drawing
  7406. - Fixed drawing for normal mode, not scaling the image on normal
  7407. 2005-03-18 Peter Bartok <[email protected]>
  7408. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  7409. textbox
  7410. * FileDialog.cs:
  7411. - Made Open/Save button the accept button for FileDialog
  7412. - Tied the cancel button to the IButtonControl cancel button
  7413. - Save/Open now properly builds the pathname
  7414. - Now handles user-entered text
  7415. - Preventing crash on right-click if no item is selected
  7416. - Fixed Text property, now uses contents of textbox
  7417. - Fixed SelectedText property, now just returns the text part that
  7418. is selected in the text box
  7419. 2005-03-18 Jackson Harper <[email protected]>
  7420. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  7421. rect, make sure to de-adjust the interior rect after drawing the
  7422. tab text.
  7423. 2005-03-18 Peter Bartok <[email protected]>
  7424. * MenuAPI.cs: Remove menu *before* executing selected action to
  7425. prevent the menu from 'hanging around'
  7426. 2005-03-17 Geoff Norton <[email protected]>
  7427. * XplatUIOSX.cs: Implemented WorkingArea property
  7428. 2005-03-17 Peter Bartok <[email protected]>
  7429. * XplatUIX11.cs: Fixed menu coord calculations
  7430. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  7431. for calculating offsets
  7432. 2005-03-17 Peter Bartok <[email protected]>
  7433. * Hwnd.cs: Do not consider menu presence for default client
  7434. rectangle location/size
  7435. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  7436. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  7437. translation functions
  7438. * FileDialog.cs: Fixed (what I presume is a) typo
  7439. 2005-03-17 Jonathan Gilbert <[email protected]>
  7440. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  7441. X access (avoids X-Async errors)
  7442. 2005-03-16 Jackson Harper <[email protected]>
  7443. * TabControl.cs: Raise the SelectedIndexChanged event.
  7444. 2005-03-16 Alexander Olk <[email protected]>
  7445. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  7446. - Removed vertical ToolBar and replaced it with a custom panel
  7447. (desktop and home button already work)
  7448. - Added Help button (some controls get resized or relocated then)
  7449. - Draw correct text depending on Open or Save.
  7450. - Fixed some typos...
  7451. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  7452. * ScrollBar.cs:
  7453. - Only change Maximum and Minimum when need it (bug fix)
  7454. 2005-03-15 Peter Bartok <[email protected]>
  7455. * Form.cs: Use Handle for icon, to trigger creation if
  7456. the window does not yet exist
  7457. * Control.cs:
  7458. - CanSelect: Slight performance improvement
  7459. - Focus(): Preventing possible recursion
  7460. - Invalidate(): Removed ControlStyle based clear flag setting
  7461. - WM_PAINT: fixed logic for calling OnPaintBackground
  7462. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  7463. EraseWindowBackground if the control doesn't paint background
  7464. * XplatUIWin32.cs:
  7465. - Moved EraseWindowBackground() method to internal methods
  7466. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  7467. is sent via SendMessage on BeginPaint call on Win32
  7468. * XplatUIX11.cs:
  7469. - Added EraseWindowBackground() method
  7470. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  7471. PaintEventStart, which more closely matches Win32 behaviour
  7472. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  7473. - Fixed SetFocus() to properly deal with client and whole windows
  7474. * Hwnd.cs: Added ErasePending property
  7475. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  7476. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  7477. 2005-03-12 Geoff Norton <[email protected]>
  7478. * XplatUIOSX.cs:
  7479. - Fix hard loop when timers exist.
  7480. - Fix bugs with middle and right click for 3 button mice.
  7481. 2005-03-11 Peter Bartok <[email protected]>
  7482. * XplatUIX11.cs:
  7483. - get_WorkingArea: Need to call X directly, GetWindowPos only
  7484. returns cached data now
  7485. - Added sanity check to GetWindowPos hwnd usage
  7486. 2005-03-11 Jackson Harper <[email protected]>
  7487. * BindingManagerBase.cs: This method isn't used anymore as
  7488. PullData now updates the data in the control.
  7489. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  7490. * Form.cs: fixes menu drawing on X11
  7491. * MenuAPI.cs: fixes menu drawing on X11
  7492. 2005-03-11 Peter Bartok <[email protected]>
  7493. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  7494. from Jonathan Gilbert; should fix bug #73606
  7495. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  7496. in Screen coordinates. Thanks, Jordi.
  7497. * Form.cs: Added missing attribute
  7498. 2005-03-11 Peter Bartok <[email protected]>
  7499. * Form.cs:
  7500. - Rudimentary Mdi support
  7501. - Removed outdated FormParent code
  7502. - Implemented lots of missing properties and methods, still missing
  7503. transparency support
  7504. - Added missing attributes
  7505. - Implemented support for MaximumBounds
  7506. - Added firing of various events
  7507. * XplatUI.cs: Added SetIcon() method
  7508. * XplatUIDriver.cs: Added SetIcon() abstract
  7509. * XplatUIOSX.cs: Stubbed out SetIcon() method
  7510. * XplatUIX11.cs:
  7511. - Implemented SetIcon() support
  7512. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  7513. - Switched to unix line endings
  7514. * XplatUIWin32.cs:
  7515. - Made POINT internal so for can access it as part of MINMAX
  7516. - Implemented SetIcon() support
  7517. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  7518. native Mdi support again, might have to go managed)
  7519. * Control.cs: Now fires the StyleChanged event
  7520. * MdiClient.cs: Added; still mostly empty
  7521. 2005-03-10 Peter Bartok <[email protected]>
  7522. * SaveFileDialog.cs: Added emtpy file
  7523. 2005-03-08 Peter Bartok <[email protected]>
  7524. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  7525. in turn triggers OnCreateContro) when creating a handle for the
  7526. first time.
  7527. * TextControl.cs: Fixed endless loop in certain cases when
  7528. replacing the current selection
  7529. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  7530. * ScrollBar.cs:
  7531. - Honors NewValue changes in Scroll events allowing apps to change it
  7532. - Adds First and Last Scroll events
  7533. - Fixes Thumb events
  7534. 2005-03-07 Peter Bartok <[email protected]>
  7535. * Hwnd.cs: Added DefaultClientRectangle property
  7536. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  7537. more detailed debug information
  7538. * XplatUIX11.cs:
  7539. - Fixed size-change feedback loop, where we would pull an old size
  7540. off the queue and mistakenly change our window's size to an
  7541. earlier value
  7542. - Now compressing ConfigureNotify events, to reduce looping and
  7543. redraw issues
  7544. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  7545. is called
  7546. 2005-03-07 Jackson Harper <[email protected]>
  7547. * Binding.cs: Push data pushes from data -> property. Check if the
  7548. property is readonly when attempting to set it.
  7549. 2005-03-07 Jackson Harper <[email protected]>
  7550. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  7551. instead of IsSubclassOf. Pulling data now sets the value on the
  7552. control.
  7553. * PropertyManager.cs:
  7554. * CurrencyManager.cs: Just need to pull data when updating now,
  7555. because PullData will set the value on the control.
  7556. 2005-03-04 Jackson Harper <[email protected]>
  7557. * Binding.cs: Implement data type parsing and converting on pulled
  7558. data. TODO: Are there more ways the data can be converted?
  7559. 2005-03-04 Jackson Harper <[email protected]>
  7560. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  7561. controls Validating method so we can repull the data when the
  7562. control loses focus.
  7563. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  7564. * ColumnHeader.cs:
  7565. - Fixes null string format
  7566. * ListView.cs:
  7567. - Adds enum type checks
  7568. - Fixes redrawing and recalc need after changing some properties
  7569. - Fixes on focus_item set after the event
  7570. - Fixes adding columns after the control has been created
  7571. * ThemeWin32Classic.cs:
  7572. - Fixes CheckBox focus rectangle
  7573. - Fixes ColumnHeader drawing
  7574. 2005-03-03 Jackson Harper <[email protected]>
  7575. * Binding.cs: Bind to <Property>Changed events so we can detect
  7576. when properties are changed and update the data.
  7577. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  7578. * ImageList.cs:
  7579. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  7580. - Fixes ImageList constructor with ImageList container
  7581. - Fixes image scaling (wrong parameters at DrawImage)
  7582. 2005-02-02 Jackson Harper <[email protected]>
  7583. * Binding.cs: Make property searches case-insensitive. Eliminate
  7584. some duplicated code.
  7585. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  7586. * ComboBox.cs:
  7587. - Handle focus event
  7588. - Fix scrollbar events
  7589. - Discard highlighted item if remove it
  7590. - Fixes SelectedItem with strings
  7591. 2005-03-01 Peter Bartok <[email protected]>
  7592. * Control.cs:
  7593. - Fixed Visible property, now follows (once again) parent chain
  7594. to return false if any control in the chain is visible=false
  7595. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  7596. - Fixed several places where is_visible instead of Visible was used
  7597. - Implemented FIXME related to focus selection when setting focused
  7598. control to be invisible
  7599. * XplatUIWin32.cs: Now using proper method to find out if window is
  7600. visible. Thanks to Jordi for pointing it out
  7601. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  7602. * ComboBox.cs: show/hide scrollbar instead of creating it
  7603. 2005-02-27 Jackson Harper <[email protected]>
  7604. * CurrencyManager.cs: Add PositionChanged stuff.
  7605. 2005-02-27 Peter Bartok <[email protected]>
  7606. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  7607. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  7608. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  7609. * XplatUIX11.cs:
  7610. - Implemented GetMenuDC()
  7611. - Implemented GetMenuOrigin()
  7612. - Implemented ReleaseMenuDC()
  7613. - Implemented generation of WM_NCPAINT message
  7614. - Implemented generation and handling of WM_NCCALCSIZE message
  7615. * Form.cs: Added debug helper message for Jordi's menu work
  7616. * Hwnd.cs:
  7617. - Modified ClientRect property; added setter, fixed getter to handle
  7618. setting of ClientRect
  7619. - Added MenuOrigin property
  7620. 2005-02-26 Peter Bartok <[email protected]>
  7621. * XplatUIX11.cs:
  7622. - Destroys the caret if a window that's being destroyed contains it
  7623. - Ignores expose events coming from the X11 queue for windows that
  7624. already are destroyed
  7625. - Now uses the proper variable for handling DestroyNotify, before we
  7626. marked the wrong window as destroyed
  7627. - Improved/added some debug output
  7628. 2005-02-26 Peter Bartok <[email protected]>
  7629. * X11Keyboard.cs: Fixes to work on 64bit systems
  7630. 2005-02-26 Peter Bartok <[email protected]>
  7631. * Control.cs:
  7632. - Now calling OnHandleDestroyed from DestroyHandle()
  7633. instead of Dispose()
  7634. - Removed bogus call to controls.Remove() from DestroyHandle()
  7635. 2005-02-26 Peter Bartok <[email protected]>
  7636. * Control.cs: Properly destroy child windows when our handle is
  7637. destroyed
  7638. 2005-02-25 Peter Bartok <[email protected]>
  7639. * XplatUI.cs:
  7640. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  7641. - Alphabetized Static Methods and Subclasses
  7642. * XplatUIX11.cs:
  7643. - Added XException class to allow custom handling of X11 exceptions
  7644. - Created custom X11 error handler, tied into XException class
  7645. - Added support for MONO_XEXCEPTIONS env var to allow the user
  7646. to either throw an exception on X errors or continue running
  7647. after displaying the error
  7648. - Added handling of DestroyNotify message
  7649. - Added handler for CreateNotify message (still disabled)
  7650. - Improved (tried to at least) Where method to provide file and lineno
  7651. * X11Structs.cs:
  7652. - Added XErrorHandler delegate
  7653. - Added XRequest enumeration (to suppor translation of errors)
  7654. 2005-02-25 Jackson Harper <[email protected]>
  7655. * PropertyManager.cs: Implement editing features
  7656. * CurrencyManager.cs:
  7657. * Binding.cs: First attempt at UpdateIsBinding
  7658. * BindingManagerBase.cs: Call UpdateIsBinding before
  7659. pushing/pulling data.
  7660. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  7661. * MenuAPI.cs: Respect disabled items
  7662. * ThemeWin32Classic.cs
  7663. - Caches ImageAttributes creation for DrawImageDisabled
  7664. - Fixes vertical menu line drawing
  7665. - Draws disabled arrows in disable menu items
  7666. 2005-02-24 Peter Bartok <[email protected]>
  7667. * Hwnd.cs:
  7668. - Added UserData property to allow associating arbitrary objects
  7669. with the handle
  7670. - Fixed leak; now removing Hwnd references from static windows array
  7671. * XplatUIWin32.cs:
  7672. - Fixed Graphics leak in PaintEventEnd
  7673. - Removed usage of HandleData, switched over to Hwnd class
  7674. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  7675. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  7676. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  7677. * ScrollBar.cs: Fixes bug
  7678. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  7679. keyboard navigation enhancements
  7680. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  7681. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  7682. * GroupBox.cs: Add control styles
  7683. * Label.cs: Add control styles
  7684. * UpDownBase.cs: Add control styles
  7685. * ListBox.cs: Add control styles
  7686. * XplatUIWin32.cs: Fixes wrong parameter order
  7687. 2005-02-23 Chris Bacon <[email protected]>
  7688. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  7689. 2005-02-23 Jackson Harper <[email protected]>
  7690. * PropertyManager.cs: Implement property binding. This doesn't
  7691. seem to work yet though as (I think) there are some bugs in
  7692. System.ComponentModel.PropertyDescriptor.
  7693. * BindingContext.cs: Use new PropertyManager constructor.
  7694. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  7695. * ProgressBar.cs: use clip region in ProgressBar
  7696. * ThemeWin32Classic.cs: use clip region in ProgressBar
  7697. 2004-02-22 Jackson Harper <[email protected]>
  7698. * BindingsCollection.cs: Remove some debug code.
  7699. 2005-02-22 Jackson Harper <[email protected]>
  7700. * BindingContext.cs:
  7701. * ControlBindingsCollection.cs:
  7702. * CurrencyManager.cs:
  7703. * Binding.cs:
  7704. * BindingManagerBase.cs: Initial implementation
  7705. * BindingsCollection.cs: Add an internal contains method that the
  7706. BindingManagerBase uses to ensure bindings aren't added twice to
  7707. the collection.
  7708. * PropertyManager.cs: Stubbed out.
  7709. * Control.cs:
  7710. * ContainerControl.cs: Hook up databinding
  7711. 2005-02-22 Geoff Norton <[email protected]>
  7712. * XplatUIOSX.cs:
  7713. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  7714. Fixed Invalidate/Update chain.
  7715. Fixed tons of other minor bugs (this is almost a complete rewrite).
  7716. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  7717. * ComboBox.cs: do subcontrol creation when the control is created
  7718. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  7719. * Label.cs: fixes image drawing (image and imagelist)
  7720. * ThemeWin32Classic.cs: cache brushes
  7721. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  7722. * Form.cs: Move menu drawing code to Theme class
  7723. * ComboBox.cs: Move ComboBox drawing code to Theme class
  7724. * MenuItem.cs: Move menu drawing code to Theme class
  7725. * MenuAPI.cs: Move menu drawing code to Theme class
  7726. * ThemeWin32Classic.cs: New methods
  7727. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  7728. * ListBox.cs: Move Listbox drawing code to Theme class
  7729. * Theme.cs: New methods
  7730. 2005-02-20 Peter Bartok <[email protected]>
  7731. * Control.cs:
  7732. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  7733. only process mnemonics on those)
  7734. - Fixed event sequence for key handling; first calling
  7735. ProcessKeyEventArgs now
  7736. * TextBoxBase.cs:
  7737. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  7738. for processing non-character keys
  7739. - Fixed WM_CHAR to generate proper event sequence before processing
  7740. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  7741. generation
  7742. 2005-02-19 Peter Bartok <[email protected]>
  7743. * UserControl.cs: Added TextChanged event; added attributes
  7744. * SizeGrip.cs: Implemented resizing and optional display of grip
  7745. * Form.cs: Fixed attribute
  7746. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  7747. Changed meaning of ScrollWindow bool argument; instead of the
  7748. clear attribute (which will be true usually anyway), it gives the
  7749. option of moving child controls as well.
  7750. * XplatUIX11.cs:
  7751. - Changed to match new ScrollWindow argument
  7752. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  7753. now handles the implicit parent window a WM puts around us
  7754. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  7755. to work)
  7756. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  7757. * TreeView.cs: Adjusted to new ScrollWindow arguments
  7758. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  7759. * Form.cs: Menu integration with non-client area
  7760. * MenuItem.cs: Menu integration with non-client area
  7761. * MenuAPI.cs: Menu integration with non-client area
  7762. 2005-02-18 Peter Bartok <[email protected]>
  7763. * MethodInvoker.cs: Added
  7764. * MdiLayout.cs: Added
  7765. * SendKeys.cs: Started implementation
  7766. * ErrorIconAlignment.cs: Added
  7767. 2005-02-18 Peter Bartok <[email protected]>
  7768. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  7769. * Form.cs: Added handling for Menu-related Non-client messages
  7770. 2005-02-17 Peter Bartok <[email protected]>
  7771. * UpDownBase.cs: Fixed typo, compilation errors
  7772. * DomainUpDown.cs: Fixed attribute value
  7773. 2005-02-16 Miguel de Icaza <[email protected]>
  7774. * UpDownBase.cs: Attach entry events.
  7775. Propagate events.
  7776. Add ForeColor property, Focused, InterceptArrowKeys (interception
  7777. does not work yet).
  7778. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  7779. * Form.cs:
  7780. - Redraw non client are on Setmenu
  7781. - Calc proper menu starting point
  7782. 2005-02-17 Peter Bartok <[email protected]>
  7783. * Application.cs: Fixed message_filter check
  7784. 2005-02-17 Peter Bartok <[email protected]>
  7785. * Application.cs: Now calls registered message filters
  7786. * DockStyle.cs: Fixed attribute
  7787. * Form.cs: Fixed attribute
  7788. * Menu.cs: Fixed attribute
  7789. * ToolTip.cs: Fixed attribute
  7790. * TreeNode.cs: Added missing attributes and arranged in regions
  7791. * PropertyGrid.cs: Fixed signatures
  7792. * TreeNodeCollection.cs: Added attributes
  7793. * Splitter.cs: Added missing attributes; arranged into regions
  7794. * TabPage.cs: Added missing attributes; arranged into regions
  7795. * TextBoxBase.cs: Added missing attributes
  7796. * TextBox.cs: Added missing attributes
  7797. * ArrangeDirection.cs: Added missing attributes
  7798. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  7799. * ToolBarButton.cs: Fixed attributes
  7800. * AnchorStyles.cs: Fixed attribute
  7801. * TrackBar.cs: Fixed attributes
  7802. * TabControl.cs: Added missing attributes and arranged into regions
  7803. * ToolBar.cs: Fixed attribute
  7804. * StatusBar.cs: Fixed signature, organized into regions and added
  7805. attributes
  7806. * StatusBarPanel.cs: Fixed attributes
  7807. * ContentsResizedEventArgs.cs: Implemented
  7808. * ContentsResizedEventHandler.cs: Implemented
  7809. * DateBoldEventArgs.cs: Implemented
  7810. * DateBoldEventHandler.cs: Implemented
  7811. * UpDownEventArgs.cs: Implemented
  7812. * UpDownEventHandler.cs: Implemented
  7813. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  7814. * Form.cs: first Menu NC refactoring
  7815. * MenuAPI.cs: first Menu NC refactoring
  7816. 2005-02-16 Peter Bartok <[email protected]>
  7817. * ImeMode.cs: Added missing attributes
  7818. * Menu.cs: Fixed attribute
  7819. * GroupBox.cs: Fixed attribute
  7820. * Label.cs: Fixed attribute
  7821. * ColorDialog.cs (RunDialog): Removed TODO attribute
  7822. * ComboBox.cs: Fixed attributes
  7823. * ListControl.cs: Added missing attributes
  7824. * PropertyGrid.cs: Fixed attributes
  7825. * Control.cs: Fixed attributes
  7826. * ListViewItem.cs: Added TypeConverter attribute
  7827. * NotifyIcon.cs: Fixed attributes
  7828. * ListView.cs: Fixed attributes
  7829. * ButtonBase.cs: Fixed attribute
  7830. * ImageList.cs: Added missing attributes
  7831. * ContainerControl.cs: Fixed signature
  7832. * CheckedListBox.cs: Fixed attribute; added missing attributes
  7833. * Panel.cs: Fixed attributes
  7834. * PropertyTabChangedEventArgs.cs: Added missing attribute
  7835. * PropertyValueChangedEventArgs.cs: Added missing attribute
  7836. * Binding.cs: Fixed attribute
  7837. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  7838. * ListBox.cs: Fixed attribute; added missing attributes;
  7839. * ScrollableControl.cs: Added missing attributes
  7840. * PictureBox.cs: Added missing attributes; implemented missing property
  7841. * DateTimePicker.cs: Added missing attributes
  7842. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  7843. * MonthCalendar.cs: Fixed attributes
  7844. * StatusBarPanel.cs: Added missing attributes
  7845. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  7846. 2005-02-16 Peter Bartok <[email protected]>
  7847. * TextBoxBase.cs: The previous method to enforce height yet remember
  7848. the requested high was less than ideal, this is an attempt to do
  7849. it better.
  7850. * Control.cs: Added comment about possible problem
  7851. * Copyright: Updated format
  7852. * GridItemType.cs: Fixed swapped values
  7853. 2005-02-15 Jackson Harper <[email protected]>
  7854. * BaseCollection.cs: Use property so we never access an
  7855. uninitialized list. Also initialize the list in the property.
  7856. 2005-02-15 Peter Bartok <[email protected]>
  7857. * GroupBox.cs (ProcessMnemonic): Implemented
  7858. * Label.cs (ProcessMnemonic): Implemented
  7859. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  7860. hotkeys
  7861. 2005-02-15 Peter Bartok <[email protected]>
  7862. * RadioButton.cs (ProcessMnemonic): Implemented
  7863. * CheckBox.cs (ProcessMnemonic): Implemented
  7864. * Control.cs:
  7865. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  7866. handling
  7867. - Added internal method to allow calling ProcessMnemonic from other
  7868. controls
  7869. * ContainerControl.cs:
  7870. - Started support for handling validation chain handling
  7871. - Implemented ProcessMnemonic support
  7872. - Added Select() call to Active, to make sure the active control
  7873. receives focus
  7874. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  7875. FormParent rewrite)
  7876. * ThemeWin32Classic.cs:
  7877. - DrawCheckBox(): Fixed stringformat to show hotkeys
  7878. - DrawRadioButton(): Fixed stringformat to show hotkeys
  7879. * CommonDialog.cs: Removed WndProc override, not needed
  7880. 2005-02-14 Peter Bartok <[email protected]>
  7881. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  7882. missed those in the rewrite
  7883. 2005-02-14 Miguel de Icaza <[email protected]>
  7884. * NumericUpDown.cs (Increment, ToString): Add.
  7885. (DecimalPlaces): implement.
  7886. Add attributes.
  7887. * UpDownBase.cs: Add the designer attributes.
  7888. 2005-02-13 Peter Bartok <[email protected]>
  7889. * Panel.cs: Removed border_style, now in Control
  7890. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  7891. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  7892. 2005-02-13 Peter Bartok <[email protected]>
  7893. * MouseButtons.cs: Added missing attributes
  7894. * XplatUIStructs.cs: Added enumeration for title styles
  7895. * LeftRightAlignment.cs: Added missing attributes
  7896. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  7897. it compatible with Graphics.FromHwnd()
  7898. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  7899. * Keys.cs: Added missing attributes
  7900. * SelectionRange.cs: Added missing attributes
  7901. * SelectionRangeConverter.cs: Added
  7902. * XplatUI.cs:
  7903. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  7904. ReleaseMenuDC methods
  7905. - Renamed ReleaseWindow to UngrabWindow
  7906. - Added proper startup notice to allow version identification
  7907. * Form.cs:
  7908. - Added missing attributes
  7909. - Removed FormParent concept
  7910. * Label.cs: Removed border_style field, now in Control
  7911. * RadioButton.cs: Now properly selects RadioButton when focus is
  7912. received
  7913. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  7914. * Control.cs:
  7915. - Added missing attributes
  7916. - Added borderstyle handling
  7917. - Removed FormParent concept support
  7918. - Fixed calls to XplatUI to match changed APIs
  7919. - Fixed bug that would case us to use disposed Graphics objects
  7920. - Removed unneeded internal methods
  7921. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  7922. - SelectNextControl(): Fixed to properly check common parents
  7923. * TextBoxBase.cs: Removed border_style field (now in Control)
  7924. * MessageBox.cs:
  7925. - Patch by Robert Thompson ([email protected]): Added icon support,
  7926. fixed calculations for form size
  7927. - Added support for localized strings and icons
  7928. - Improved form size calculations, added border
  7929. * ListView.cs: Removed border_style field (now in Control)
  7930. * X11Structs.cs: Moved several structs from X11 driver here
  7931. * X11Keyboard.cs: Changed debug message
  7932. * Application.cs: Removed FormParent concept support
  7933. * CommonDialog.cs:
  7934. - Resetting end_modal flag
  7935. - Removed FormParent concept support
  7936. * NativeWindow.cs: Removed FormParent concept support
  7937. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  7938. Client area and Non-Client whole window to allow support for WM_NC
  7939. messages
  7940. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  7941. prevent using it until it supports Hwnd as per Geoff Norton's request
  7942. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  7943. * PictureBox.cs: Removed border_style field, now in Control
  7944. * XplatUIWin32.cs: Added new driver methods
  7945. 2005-02-12 Peter Bartok <[email protected]>
  7946. * OpacityConverter.cs: Implemented
  7947. * Hwnd.cs: Internal class to support drivers that need to emulate
  7948. client area/non-client area window behaviour
  7949. 2005-02-11 Peter Bartok <[email protected]>
  7950. * KeysConverter.cs: Implemented
  7951. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  7952. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  7953. * LinkLabel: Added missing attributes
  7954. * MainMenu.cs: fixes ToString
  7955. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  7956. * ListBox.cs: fixes event position
  7957. * TrackBar.cs: adds missing attributes and events
  7958. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  7959. * MenuItem.cs: Use SystemInformation and bug fixes
  7960. * MenuAPI.cs: Use SystemInformation and bug fixes
  7961. 2005-02-09 Jackson Harper <[email protected]>
  7962. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  7963. their keystate otherwise things like VK_MENU get stuck "on".
  7964. 2005-02-09 Kazuki Oikawa <[email protected]>
  7965. * ListBox.cs: Fixes AddRange bug
  7966. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  7967. * ProgressBar.cs
  7968. - Add missing attributes
  7969. - Add missing method
  7970. * CheckedListBox.cs: Added missing attributes
  7971. - Add missing attributes
  7972. - Remove extra method
  7973. * ComboBox.cs: Added missing attributes
  7974. * VScrollBar.cs: Added missing attributes
  7975. * ScrollBar.cs: Added missing attributes
  7976. * ListBox.cs: Fixes signature, add missing consts
  7977. * LinkArea.cs: Added missing attributes
  7978. 2005-02-08 Peter Bartok <[email protected]>
  7979. * Menu.cs: Added missing attributes
  7980. * MainMenu.cs: Added missing attributes
  7981. * GroupBox.cs: Added missing attributes
  7982. * Label.cs: Added missing attributes
  7983. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  7984. * ColorDialog.cs:
  7985. - Added Instance and Options properties
  7986. - Added missing attributes
  7987. * Cursor.cs: Made Serializable
  7988. * NotifyIcon: Added missing attributes
  7989. * MenuItem.cs: Added missing attributes
  7990. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  7991. * Panel.cs: Added Missing attributes
  7992. * MonthCalendar.cs: Fixed CreateParams
  7993. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  7994. * LinkLabel.cs:
  7995. - Fixes signature
  7996. - Fixes issues with links
  7997. - Adds the class attributes
  7998. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  7999. * ComboBox.cs:
  8000. - Fixes button when no items available in dropdown
  8001. - Fixes repainting problems
  8002. - Adds the class attributes
  8003. 2005-02-07 Geoff Norton <[email protected]>
  8004. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  8005. the current theme. Cache these on startup.
  8006. 2005-02-07 Jackson Harper <[email protected]>
  8007. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  8008. the scrollbar buttons when they are depressed.
  8009. 2005-02-07 Geoff Norton <[email protected]>
  8010. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  8011. Get the display size from the main displayid. We currently dont
  8012. support multiple display configurations.
  8013. 2005-02-07 Geoff Norton <[email protected]>
  8014. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  8015. 2005-02-07 Miguel de Icaza <[email protected]>
  8016. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  8017. 2005-02-05 Jonathan Chambers <[email protected]>
  8018. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  8019. 2005-02-04 Jackson Harper <[email protected]>
  8020. * ThemeWin32Classic.cs: Respect the clipping rect when
  8021. drawing. Only fill the intersection of clips and rects so there
  8022. isn't a lot of large fills.
  8023. * ScrollBar.cs: Pass the correct clipping rect to the theme
  8024. engine. Remove some debug code.
  8025. 2005-02-05 John BouAntoun <[email protected]>
  8026. * DateTimePicker.cs:
  8027. - Fixed crash on DateTime.Parse, use Constructor instead
  8028. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  8029. * MenuItem.cs:
  8030. * MenuAPI.cs:
  8031. - Owner draw support (MeasureItem and DrawItem)
  8032. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  8033. * Menu.cs:
  8034. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  8035. - Fixes MenuItems.Add range
  8036. * MenuItem.cs:
  8037. - MergeMenu and Clone and CloneMenu functions
  8038. 2005-02-03 Jackson Harper <[email protected]>
  8039. * ScrollBar.cs: Make abstract
  8040. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  8041. is abstract.
  8042. 2005-02-03 Jackson Harper <[email protected]>
  8043. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  8044. all the unneeded refreshes and uses invalidates with properly
  8045. computed rects.
  8046. 2005-02-03 Peter Bartok <[email protected]>
  8047. * ComponentModel.cs: Added
  8048. * IDataGridEditingService.cs: Added
  8049. * Timer.cs: Added missing attributes
  8050. * ToolTip.cs: Added missing attributes
  8051. 2005-02-03 Jonathan Chambers <[email protected]>
  8052. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  8053. 2005-02-03 Peter Bartok <[email protected]>
  8054. * ListBox.cs: Added missing attributes
  8055. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  8056. * ListBox.cs:
  8057. - Fixes font height after font change
  8058. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  8059. 2005-02-02 Peter Bartok <[email protected]>
  8060. * HandleData.cs: Introduced static methods to allow class
  8061. to be more self-contained and track it's own HandleData objects
  8062. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  8063. HandleData to use new static methods
  8064. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  8065. * Combobox.cs:
  8066. - Fixes default size and PreferredHeight
  8067. - Missing events
  8068. - ObjectCollection.Insert implementation
  8069. * ListControl.cs
  8070. - Fixes signature
  8071. * ListBox.cs:
  8072. - Several fixes
  8073. - ObjectCollection.Insert implementation
  8074. - No selection after clean
  8075. - Small fixes
  8076. 2005-01-31 John BouAntoun <[email protected]>
  8077. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  8078. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  8079. * Combobox.cs:
  8080. - Caches ItemHeight calculation for OwnerDrawVariable
  8081. - Handles dropdown properly
  8082. - Fixes several minor bugs
  8083. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  8084. * ListBox.cs:
  8085. - Fixes 71946 and 71950
  8086. - Fixes changing Multicolumn on the fly
  8087. - Fixes keyboard navigation on Multicolumn listboxes
  8088. 2005-01-31 Geoff Norton <[email protected]>
  8089. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  8090. crash reporter log.
  8091. 2005-01-31 Geoff Norton <[email protected]>
  8092. * XplatUIOSX.cs: Allow applications to actually exit.
  8093. 2005-01-31 Geoff Norton <[email protected]>
  8094. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  8095. their parent at creation time rather than lazily later. Fixes a major
  8096. regression we were experiencing.
  8097. 2005-01-31 John BouAntoun <[email protected]>
  8098. * ThemeWin32Classic.cs: more date time picker painting fixes
  8099. * DateTimePicker.cs: more monthcalendar drop down fixes
  8100. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  8101. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  8102. * ScrollBar.cs:
  8103. - When moving the thumb going outside the control should stop the moving
  8104. - Adds the firing of missing events
  8105. - Fixes no button show if Size is not specified
  8106. - End / Home keys for keyboard navigation
  8107. 2005-01-30 Peter Bartok <[email protected]>
  8108. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  8109. sanity check to prevent theoretical loop
  8110. * XplatUIWin32.cs (SetVisible): Removed debug output
  8111. * XplatUIX11.cs (SystrayChange): Added sanity check
  8112. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  8113. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  8114. behaviour, valid until the X11 client window rewrite is done
  8115. * TextBox.cs (ctor): Setting proper default foreground and background
  8116. colors
  8117. 2005-01-30 John BouAntoun <[email protected]>
  8118. * Theme: Added DrawDateTimePicker to interface
  8119. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  8120. * DateTimePicker.cs: Created (still needs keys and painting code)
  8121. * DateTimePickerFormat.cs: added
  8122. * MonthCalendar.cs: fixed CreateParams for popup window mode
  8123. 2005-01-29 Peter Bartok <[email protected]>
  8124. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  8125. this should also the calculations for ligher/darker
  8126. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  8127. 2005-01-29 Peter Bartok <[email protected]>
  8128. * ArrangeDirection.cs: Added
  8129. * ArrangeStartingPositon.cs: Added
  8130. * SystemInformation.cs: Implemented
  8131. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  8132. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  8133. used by SystemInformation class
  8134. * X11Strucs.cs: Added XSizeHints structure
  8135. * MenuAPI.cs:
  8136. - Fixed CreateParams to make sure the menu window is always visible
  8137. - TrackPopupMenu: Added check to make sure we don't draw the
  8138. menu offscreen
  8139. 2005-01-29 Peter Bartok <[email protected]>
  8140. * HandleData.cs: Added method for altering invalid area
  8141. * TextBoxBase.cs: Implemented TextLength
  8142. 2005-01-28 Peter Bartok <[email protected]>
  8143. * XplatUIX11.cs: Improvement over last patch, not sending
  8144. the WM_PAINT directly anymore, instead we scroll any pending
  8145. exposed areas and let the system pick out the WM_PAINT later
  8146. 2005-01-28 Peter Bartok <[email protected]>
  8147. * SWF.csproj: Deleted, no longer used. Instead,
  8148. Managed.Windows.Forms/SWF.csproj should be used
  8149. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  8150. directly, to avoid a potential race condition with the next
  8151. scroll
  8152. 2005-01-28 Peter Bartok <[email protected]>
  8153. * XplatUI.cs: Made class internal
  8154. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  8155. * CheckedListBox.cs:
  8156. - Draw focus
  8157. - Fixed Drawing
  8158. - Missing methods and events
  8159. 2005-01-27 Peter Bartok <[email protected]>
  8160. * Application.cs (Run): Don't use form if we don't have one
  8161. 2005-01-27 Peter Bartok <[email protected]>
  8162. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  8163. 2005-01-27 Peter Bartok <[email protected]>
  8164. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  8165. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  8166. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  8167. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  8168. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  8169. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  8170. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  8171. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  8172. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  8173. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  8174. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  8175. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  8176. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  8177. * Combobox.cs:
  8178. - Draw focus on Simple Combobox
  8179. - Fixes drawing issues
  8180. - fixes 71834
  8181. 2005-01-27 Peter Bartok <[email protected]>
  8182. * Form.cs:
  8183. - Place window in default location, instead of hardcoded 0/0
  8184. - Send initial LocationChanged event
  8185. * Control.cs:
  8186. - UpdateBounds after creation to find out where the WM placed us
  8187. - Make sure that if the ParentForm changes location the Form
  8188. is notified
  8189. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  8190. to the root, but to whatever the WM placed around us.
  8191. Translate to root coordinates before returning toplevel
  8192. coordinates
  8193. * XplatUIWin32.cs: Removed debug output
  8194. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  8195. flag to GetWindowPos, to allow translation of coordinates on X11
  8196. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  8197. * ListBox.cs: connect LostFocus Event
  8198. 2005-01-27 Peter Bartok <[email protected]>
  8199. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  8200. XplatUIX11.cs: Extended the Systray API
  8201. * Form.cs: Removed debug output
  8202. * Application.cs: Fixed focus assignment, always need to call
  8203. XplatUI.Activate() since Form.Activate() has rules that may
  8204. prevent activation
  8205. * NotifyIcon.cs: Should be complete now
  8206. * ToolTip.cs: Worked around possible timer bug
  8207. 2005-01-27 Jackson Harper <[email protected]>
  8208. * TabControl.cs:
  8209. - Only invalidate the effected tabs when the
  8210. selected index changes. This reduces drawing and gets rid of some
  8211. flicker.
  8212. - Only refresh if the tabs need to be shifted, otherwise only
  8213. invalidate the slider button.
  8214. - On windows the tabs are not filled to right if the slider is
  8215. visible.
  8216. 2005-01-27 Jackson Harper <[email protected]>
  8217. * TabControl.cs: Only refresh on mouseup if we are showing the
  8218. slider. Also only invalidate the button whose state has changed.
  8219. 2005-01-26 Peter Bartok <[email protected]>
  8220. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  8221. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  8222. and SystrayRemove() methods
  8223. * XplatUIOSX.cs: Stubbed Systray methods
  8224. * XplatUIX11.cs:
  8225. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  8226. methods
  8227. - Fixed broken XChangeProperty calls (marshalling messed up things)
  8228. * X11Structs.cs: Added enums and structs required for Size hinting
  8229. * NotifyIcon.cs: Added & implemented
  8230. 2005-01-26 Jackson Harper <[email protected]>
  8231. * TabControl.cs: Space vertically layed out tabs properly.
  8232. 2005-01-26 Peter Bartok <[email protected]>
  8233. * Form.cs (CreateClientParams): Always set the location to 0,0
  8234. since we're a child window.
  8235. * Control.cs (SetVisibleCore): Always explicitly setting the location
  8236. of a toplevel window, apparently X11 doesn't like to move windows
  8237. while they're not mapped.
  8238. 2005-01-26 Jackson Harper <[email protected]>
  8239. * TabControl.cs: Implement FillToRight size mode with vertically
  8240. rendered tabs.
  8241. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  8242. * ControlPaint.cs, ThemeWin32Classic.cs
  8243. - Fixes DrawFocusRectangle
  8244. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  8245. * MenuAPI.cs:
  8246. - MenuBar tracking only starts when item is first clicked
  8247. - Fixes menu hidding for multiple subitems
  8248. - Unselect item in MenuBar when item Executed
  8249. - Fixes bug 71495
  8250. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  8251. * ListControl.cs:
  8252. - IsInputKey for ListBox
  8253. * ListBox.cs:
  8254. - Focus item
  8255. - Shift and Control item selection
  8256. - Implement SelectionMode.MultiExtended
  8257. - Fixes RightToLeft
  8258. * ComboBox.cs:
  8259. - IsInputKey implemented
  8260. - Do not generate OnTextChangedEdit on internal txt changes
  8261. 2005-01-23 Peter Bartok <[email protected]>
  8262. * AccessibleObject.cs: Partially implemented Select()
  8263. * MonthCalendar.cs: Added missing attributes and events
  8264. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  8265. form can properly override CreateParams.
  8266. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  8267. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  8268. Control performs Invalidate & Update
  8269. * NativeWindow (CreateHandle): Added special handling for Form
  8270. and Form.FormParent classes to allow overriding of From.CreateParams
  8271. * Control.cs:
  8272. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  8273. name 'owner'
  8274. - ControlNativeWindow: Added Owner property
  8275. - Removed usage of Refresh() on property changes, changed into
  8276. Invalidate(), we need to wait until the queue is processed for
  8277. updates, direct calls might cause problems if not all vars for
  8278. Paint are initialized
  8279. - Added call to UpdateStyles() when creating the window, to set any
  8280. styles that CreateWindow might have ignored.
  8281. - Added support for Form CreateParent overrides to UpdateStyles()
  8282. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  8283. CreateParams are now properly overridable
  8284. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  8285. CreateParams are now properly overridable
  8286. 2005-01-23 Miguel de Icaza <[email protected]>
  8287. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  8288. OnTextBoxChanged.
  8289. Capture LostFocus and OnTextBoxChanged. The later introduces a
  8290. recursive invocation that I have not figured out yet.
  8291. Reset the timer when not using (it was accumulating).
  8292. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  8293. user has made changes that require validation.
  8294. Reset changing to avoid loops.
  8295. 2005-01-22 Miguel de Icaza <[email protected]>
  8296. * NumericUpDown.cs: Display value at startup.
  8297. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  8298. ValidateEditText.
  8299. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  8300. filled in. Added some basic parsing of text.
  8301. Still missing the OnXXX method overrides, and figuring out the
  8302. events that must be emitted.
  8303. * UpDownBase.cs: Handle UserEdit on the Text property.
  8304. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  8305. * ComboBox.cs:
  8306. - Fixes IntegralHeight
  8307. - ToString method
  8308. 2005-01-21 Jackson Harper <[email protected]>
  8309. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  8310. is set so that the page visibility is updated and the tabs are
  8311. sized correctly.
  8312. 2005-01-21 Jackson Harper <[email protected]>
  8313. * TabControl.cs: Use cliping rectangle for blitting. Give the
  8314. theme the clipping rect so we can do clipping while
  8315. drawing. Remove some debug code.
  8316. 2005-01-21 Jackson Harper <[email protected]>
  8317. * TabPage.cs: Add a new method so tab pages can force the tab
  8318. control to recalculate the tab page sizes.
  8319. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  8320. sizes.
  8321. 2005-01-20 Jackson Harper <[email protected]>
  8322. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  8323. 2005-01-20 Jackson Harper <[email protected]>
  8324. * TreeView.cs: Set the bounds for nodes properly. They were
  8325. getting screwed up when checkboxes were not enabled, but images
  8326. were.
  8327. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  8328. * ListBox.cs:
  8329. - Owner draw support
  8330. - Fixes
  8331. 2005-01-20 Jackson Harper <[email protected]>
  8332. * XplatUIStructs.cs: More misc keys
  8333. * X11Keyboard.cs: Ignore some control keys.
  8334. 2005-01-20 Jackson Harper <[email protected]>
  8335. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  8336. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  8337. 2005-01-19 Peter Bartok <[email protected]>
  8338. * Control.cs: Un-selecting the control when it is loosing focus
  8339. 2005-01-19 Jackson Harper <[email protected]>
  8340. * TreeView.cs: Hook up to the text controls leave event so we can
  8341. end editing when the users clicks outside the text box.
  8342. 2005-01-19 Jackson Harper <[email protected]>
  8343. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  8344. get set in the conversion array.
  8345. 2005-01-19 Peter Bartok <[email protected]>
  8346. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  8347. focus is properly set
  8348. * Button.cs:
  8349. - Added missing attributes
  8350. - removed styles, those are already set in the base class
  8351. * ButtonBase.cs:
  8352. - Added missing attributes
  8353. - Added clip window styles
  8354. * CheckBox.cs: Added missing attributes
  8355. * CommonDialog.cs:
  8356. - FormParentWindow.CreateParams: Added required clip styles
  8357. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  8358. also filters modifier keys
  8359. * MessageBox.cs:
  8360. - Added assignment of Accept and Cancel button to enable Enter
  8361. and Esc keys in MessageBox dialogs
  8362. - FormParentWindow.CreateParams: Added required clip styles
  8363. * RadioButton.cs: Added missing attributes
  8364. * TextControl.cs: No longer draws selection if control does not
  8365. have focus
  8366. * TextBoxBase.cs:
  8367. - Now draws simple rectangle around test area to make it obvious
  8368. there's a control. This is a hack until we properly support borders
  8369. - A few simple fixes to support selections better, now erases selected
  8370. text when typing, and resets selection when using movement keys
  8371. 2005-01-19 Miguel de Icaza <[email protected]>
  8372. * UpDownBase.cs: Added some new properties.
  8373. * DomainUpDown.cs: Implement a lot to get my test working.
  8374. 2005-01-19 Geoff Norton <[email protected]>
  8375. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  8376. 2005-01-19 Geoff Norton <[email protected]>
  8377. * OSXStructs (WindowAttributes): Fixed csc complaints
  8378. 2005-01-19 Geoff Norton <[email protected]>
  8379. * XplayUIOSX.cs:
  8380. OSXStructs.cs: Initial refactor to move enums and consts into
  8381. OSXStructs and use them in the driver for greater readability.
  8382. 2005-01-19 Geoff Norton <[email protected]>
  8383. * XplatUIOSX.cs: Initial support for Standard Cursors.
  8384. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  8385. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  8386. * ComboBox.cs: ability to change style when the ctrl is already
  8387. created, missing methods and events, bug fixes, signature fixes
  8388. 2005-01-19 Peter Bartok <[email protected]>
  8389. * Cursors.cs (ctor): Added ctor to fix signature
  8390. 2005-01-18 Peter Bartok <[email protected]>
  8391. * Button.cs: Implemented DoubleClick event
  8392. * ButtonBase.cs:
  8393. - Fixed keyboard handling to behave like MS, where the press of
  8394. Spacebar is equivalent to a mousedown, and the key release is
  8395. equivalent to mouseup. Now a spacebar push will give the same
  8396. visual feedback like a mouse click.
  8397. - Added missing attributes
  8398. - Added ImeModeChanged event
  8399. - Added support for generating DoubleClick event for derived classes
  8400. * CheckBox.cs:
  8401. - Implemented DoubleClick event
  8402. - Added missing attributes
  8403. * CommonDialog.cs: Added missing attribute
  8404. * ContextMenu.cs: Added missing attributes
  8405. * RadioButton.cs:
  8406. - AutoChecked buttons do not allow to be unselected when clicked
  8407. (otherwise we might end up with no selected buttons in a group)
  8408. - Added missing attributes
  8409. - Implemented DoubleClickEvent
  8410. * ThreadExceptionDialog.cs: Enabled TextBox code
  8411. 2005-01-18 Peter Bartok <[email protected]>
  8412. * Form.cs: Removed debug output
  8413. * Button.cs: Added support for DoubleClick method
  8414. 2005-01-18 Peter Bartok <[email protected]>
  8415. * Form.cs:
  8416. - Added method to parent window that allows triggering size
  8417. calculations when a menu is added/removed
  8418. - set_Menu: Cleaned up mess from early days of Form and Control,
  8419. now properly triggers a recalc when a menu is added/removed
  8420. - Added case to select form itself as focused form if no child
  8421. controls exist
  8422. - Added PerformLayout call when showing dialog, to ensure properly
  8423. placed controls
  8424. * Control.cs:
  8425. - Select(): Made internal so Form can access it
  8426. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  8427. status
  8428. * Application.cs (Run): Removed hack and calls PerformLayout instead
  8429. to trigger calculation when Form becomes visible
  8430. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  8431. * ComboBox.cs: fixes for ownerdraw
  8432. 2005-01-18 Peter Bartok <[email protected]>
  8433. * TextControl.cs:
  8434. - Sentinel is no longer static, each Document gets it's own, this
  8435. avoids locking or alternatively overwrite problems when more
  8436. than one text control is used simultaneously.
  8437. - Switched to use Hilight and HilightText brushes for text selection
  8438. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  8439. 2005-01-18 Peter Bartok <[email protected]>
  8440. * Control.cs:
  8441. - Hooked up the following events:
  8442. o ControlAdded
  8443. o ControlRemoved
  8444. o HandleDestroyed
  8445. o ImeModeChanged
  8446. o ParentChanged
  8447. o TabStopChanged
  8448. o Invalidated
  8449. o SystemColorsChanged
  8450. o ParentFontChanged
  8451. o Move
  8452. - Removed debug output
  8453. - Added a call to the current theme's ResetDefaults when a color change
  8454. is detected
  8455. * Form.cs: Now setting the proper ImeMode
  8456. * Theme.cs: Defined a method to force recreation of cached resources
  8457. and rereading of system defaults (ResetDefaults())
  8458. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  8459. 2005-01-17 Peter Bartok <[email protected]>
  8460. * Control.cs: Added missing attributes
  8461. 2005-01-17 Jackson Harper <[email protected]>
  8462. * TreeNode.cs: Implement editing. Add missing properties selected
  8463. and visible.
  8464. * TreeView.cs: Implement node editing. Also some fixes to use
  8465. Invalidate (invalid area) instead of Refresh when selecting.
  8466. 2005-01-17 Peter Bartok <[email protected]>
  8467. * Control.cs:
  8468. - Implemented InvokeGotFocus() method
  8469. - Implemented InvokeLostFocus() method
  8470. - Implemented InvokePaint() method
  8471. - Implemented InvokePaintBackground() method
  8472. - Implemented InvokeClick() method
  8473. - Implemented FindForm() method
  8474. - Implemented RectangleToClient() method
  8475. - Implemented ClientToRectangle() method
  8476. - Implemented ResetBackColor() method
  8477. - Implemented ResetCursor() method
  8478. - Implemented ResetFont() method
  8479. - Implemented ResteForeColor() method
  8480. - Implemented ResetImeMode() method
  8481. - Implemented ResetLeftToRight() method
  8482. - Implemented ResetText() method
  8483. - Implemented Scale() methods
  8484. - Implemented ScaleCore() method
  8485. - Implemented Update() method
  8486. - Removed unused variables
  8487. - Stubbed AccessibilityNotifyClients and
  8488. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  8489. with those yet)
  8490. - Now setting proper default for RightToLeft property
  8491. - Fixed bug in SetClientSizeCore that would cause windows to get
  8492. really big
  8493. - Now sending Click/DoubleClick events
  8494. - Now selecting controls when left mouse button is clicked on
  8495. selectable control
  8496. * AccessibleEvents.cs: Added
  8497. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  8498. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  8499. * XplatUIWin32.cs: Implemented UpdateWindow() method
  8500. * XplatUIX11.cs: Implemented UpdateWindow() method
  8501. * Form.cs: Removed stray semicolon causing CS0162 warning
  8502. * ThemeWin32Classic.cs: Fixed unused variable warnings
  8503. * ScrollableControl.cs: Now calls base method for ScaleCore
  8504. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  8505. style to avoid interference with internal click handler (which is
  8506. different than standard Control click handling)
  8507. * RadioButton.cs:
  8508. - Now unchecks all sibling radio buttons when control is
  8509. selected (Fixes #68756)
  8510. - Removed internal tabstop variable, using the one inherited from
  8511. Control
  8512. 2005-01-17 Jackson Harper <[email protected]>
  8513. * NavigateEventArgs.cs: Fix base type.
  8514. * LinkLabel.cs: Sig fix
  8515. 2005-01-17 Jackson Harper <[email protected]>
  8516. * TreeView.cs: Only invalidate the effected nodes bounds when
  8517. selecting nodes.
  8518. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  8519. * XplatUIWin32.cs: fixes Win32 marshaling
  8520. * XplatUIX11.cs: fixes method signature
  8521. 2005-01-17 Peter Bartok <[email protected]>
  8522. * XplatUIX11.cs: Clean up resources when we no longer need them
  8523. 2005-01-17 Peter Bartok <[email protected]>
  8524. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  8525. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  8526. and DestroyCursor() methods.
  8527. * Cursor.cs: Partially implemented, now supports standard cursors;
  8528. still contains some debug code
  8529. * Cursors.cs: Implemented class
  8530. * Control.cs:
  8531. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  8532. appropriate cursor
  8533. - Implemented Cursor property
  8534. - Replaced break; with return; more straightforwar and possibly
  8535. faster
  8536. - Now properly setting the result for WM_HELP
  8537. * X11Structs.cs: Added CursorFontShape enum
  8538. * XplatUIStructs.cs:
  8539. - Added StdCursor enum (to support DefineStdCursor() method)
  8540. - Added HitTest enum (to support sending WM_SETCURSOR message)
  8541. * XplatUIX11.cs:
  8542. - Now sends the WM_SETCURSOR message
  8543. - Implemented new cursor methods
  8544. * XplatUIOSX.cs: Stubbed new cursor methods
  8545. * XplatUIWin32.cs:
  8546. - Implemented new cursor methods
  8547. - Added GetSystemMetrics function and associated enumeration
  8548. 2005-01-15 Peter Bartok <[email protected]>
  8549. * Control.cs:
  8550. - WndProc(): Now handles EnableNotifyMessage
  8551. - SelectNextControl(): Fixed bug where if no child or sibling
  8552. controls exist we looped endlessly
  8553. 2005-01-14 Jackson Harper <[email protected]>
  8554. * TreeView.cs: Recalculate the tab pages when a new one is added
  8555. so that the proper bounding rects are created.
  8556. 2005-01-14 Jackson Harper <[email protected]>
  8557. * TreeView.cs: Draw a gray box instead of a grip in the lower
  8558. right hand corner when there are both horizontal and vertical
  8559. scroll bars.
  8560. 2005-01-14 Jackson Harper <[email protected]>
  8561. * Control.cs: When erasing backgrounds use FromHwnd instead of
  8562. FromHdc when there is a NULL wparam. This occurs on the X driver.
  8563. * XplatUIX11.cs: Set the wparam to NULL.
  8564. 2005-01-13 Jackson Harper <[email protected]>
  8565. * PictureBox.cs: Implement missing methods (except ToString, need
  8566. to test that on windows) and events. When visibility is changed we
  8567. need to redraw the image because the buffers are killed. When size
  8568. is changed refresh if the sizemode needs it.
  8569. 2005-01-13 Peter Bartok <[email protected]>
  8570. * Control.cs (SelectNextControl): Was using wrong method to select
  8571. a control
  8572. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  8573. * ComboBox.cs: fixes dropstyle
  8574. 2005-01-13 Peter Bartok <[email protected]>
  8575. * Form.cs:
  8576. - Implemented Select() override
  8577. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  8578. - Now sets keyboard focus on startup
  8579. * Control.cs (SelectNextControl): Now properly handles directed=true
  8580. * TextBoxBase.cs:
  8581. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  8582. - Added (really bad) focus rectangle (mostly for testing)
  8583. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  8584. to enforce redraw on focus changes
  8585. * ContainerControl.cs:
  8586. - Fixed detection of Shift-Tab key presses
  8587. - Fixed traversal with arrow keys
  8588. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  8589. gonna keep this or if it's complete yet
  8590. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  8591. * ComboBox.cs: missing properties, fixes
  8592. 2005-01-13 Peter Bartok <[email protected]>
  8593. * Panel.cs (ctor): Setting Selectable window style to off
  8594. * Splitter.cs (ctor): Setting Selectable window style to off
  8595. * GroupBox.cs (ctor): Setting Selectable window style to off
  8596. * Label.cs (ctor): Setting Selectable window style to off
  8597. 2005-01-12 Miguel de Icaza <[email protected]>
  8598. * UpDownBase.cs (InitTimer): If the timer has been already
  8599. created, enable it.
  8600. Use a TextBox instead of a Label.
  8601. 2005-01-12 Jackson Harper <[email protected]>
  8602. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  8603. draw the connecting node lines (when ShowLines is true).
  8604. * TreeNode.cs: The nodes index can now be updated. This is used
  8605. when a node collection is sorted.
  8606. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  8607. insert or an existing unsorted node collection can be sorted.
  8608. 2005-01-12 Peter Bartok <[email protected]>
  8609. * ContainerControl.cs: Implemented ProcessDialogKeys()
  8610. 2005-01-12 Peter Bartok <[email protected]>
  8611. * Control.cs:
  8612. - Implemented SelectNextControl() method
  8613. - Several focus related bug fixes
  8614. - Fixed Docking calculations to match MS documentation and
  8615. behaviour
  8616. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  8617. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  8618. bug fixes
  8619. 2005-01-12 Peter Bartok <[email protected]>
  8620. * Control.cs:
  8621. - Fixed broken Contains() method
  8622. - Implemented GetNextControl() method. Finally. This is the pre-
  8623. requisite for focus handling.
  8624. 2005-01-12 Peter Bartok <[email protected]>
  8625. * OSXStrucs.cs: Added
  8626. 2005-01-12 Peter Bartok <[email protected]>
  8627. * XplatUIWin32.cs:
  8628. - Removed PeekMessageFlags
  8629. - Implemented SetWindowStyle() method
  8630. * XplatUIStructs.cs: Added PeekMessageFlags
  8631. * X11Structs: Added missing border_width field to XWindowChanges struct
  8632. * XplatUIX11.cs:
  8633. - PeekMessage: Now throws exception if flags which are not yet
  8634. supported are passed
  8635. - Implemented SetWindowStyle() method
  8636. - Fixed SetZOrder to handle AfterHwnd properly
  8637. * XplatUI.cs: Added SetWindowStyle() method
  8638. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  8639. * Control.cs:
  8640. - Implemented UpdateStyles() method
  8641. - Implemented UpdateZOrder() method
  8642. * XplatUIOSX.cs: Added SetWindowStyle() stub
  8643. 2005-01-12 Geoff Norton <[email protected]>
  8644. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  8645. button mouse).
  8646. 2005-01-11 Jackson Harper <[email protected]>
  8647. * TreeView.cs: Still need to draw lines to siblings even if out of
  8648. the current node is out of the clip.
  8649. 2005-01-11 Jackson Harper <[email protected]>
  8650. * TreeView.cs: When setting the hbar/vbar/grip position use
  8651. SetBounds so that perform layout is only called once. Also suspend
  8652. and resume layout so layout is only done once for all controls.
  8653. - Removed some debug fluff
  8654. * SizeGrip.cs: Call base implmentation in overriding methods.
  8655. - When visibility is changed the drawing buffers are killed so we
  8656. need to redraw.
  8657. 2005-01-11 Jackson Harper <[email protected]>
  8658. * TreeView.cs: Calculate the open node count while drawing. This
  8659. saves us an entire tree traversal for every paint operation. Use
  8660. a member var for the open node count so less vars are passed around.
  8661. 2005-01-11 John BouAntoun <[email protected]>
  8662. * MonthCalendar.cs:
  8663. - fixed selection to use mousemove, not mouse polling on timer
  8664. * ThemeWin32Classic.cs
  8665. - removed redundant unused variable "no_more_content"
  8666. 2005-01-11 Peter Bartok <[email protected]>
  8667. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  8668. are pending, so it now calls PeekMessage instead of GetMessage;
  8669. implemented a incomplete version of PeekMessage
  8670. 2005-01-11 Peter Bartok <[email protected]>
  8671. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  8672. I18n issues
  8673. * TextBoxBase.cs: Added sending of TextChanged event
  8674. 2005-01-10 Jackson Harper <[email protected]>
  8675. * TreeView.cs: Try not to draw outside the clipping rectangle on
  8676. each node element.
  8677. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  8678. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  8679. 2005-01-10 Jackson Harper <[email protected]>
  8680. * TreeView.cs:
  8681. - Implement fast scrolling. Now only the newly
  8682. exposed nodes are drawn and the old image is moved using the
  8683. XplatUI::ScrollWindow method.
  8684. - Factor in height of nodes when calculating whether or not the
  8685. node is in the clipping rect.
  8686. 2005-01-10 Jackson Harper <[email protected]>
  8687. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  8688. 2005-01-10 Peter Bartok <[email protected]>
  8689. * Application.cs: Added temporary hack to resolve all our resize
  8690. required issues on startup. This will get fixed properly at
  8691. some point in the future
  8692. 2005-01-10 Jackson Harper <[email protected]>
  8693. * SizeGrip.cs: New internal class that is used as a sizing
  8694. grip control...hence the name.
  8695. 2005-01-10 Peter Bartok <[email protected]>
  8696. * Control.cs: Implemented proper TabIndex handling, now assigning
  8697. a tabindex when a control is added to a container
  8698. * GroupBox.cs (ctor): Now sets the Container style bit, required
  8699. for Control.GetNextControl()
  8700. 2005-01-09 Jackson Harper <[email protected]>
  8701. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  8702. 2005-01-09 Peter Bartok <[email protected]>
  8703. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  8704. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  8705. an overload for ScrollWindow to allow only scrolling a rectangle
  8706. 2005-01-09 Peter Bartok <[email protected]>
  8707. * Form.cs:
  8708. - Implemented SetDesktopBounds method
  8709. - Implemented SetDesktopLocation method
  8710. 2005-01-08 Jackson Harper <[email protected]>
  8711. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  8712. the node count has changed, this removes to VScroll::Refresh calls
  8713. when drawing.
  8714. 2005-01-08 Geoff Norton <[email protected]>
  8715. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  8716. 2005-01-07 Jackson Harper <[email protected]>
  8717. * TreeNode.cs: Just update the single node when it is
  8718. checked. Don't refresh after toggling, the Expand/Collapse already
  8719. handles this.
  8720. * TreeView.cs: Respect clipping a little more when drawing. Try
  8721. not to redraw things that don't need to be redrawn. Just hide the
  8722. scrollbars when they are no longer needed instead of removing
  8723. them, so they don't have to be created again and again.
  8724. 2005-01-07 Geoff Norton <[email protected]>
  8725. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  8726. coordinates to window space to place the caret properly, FIXED.
  8727. Implement GetWindowState & SetWindowState
  8728. 2005-01-06 Peter Bartok <[email protected]>
  8729. * Form.cs:
  8730. - Implemented ClientSize property
  8731. - Implemented DesktopBounds property
  8732. - Implemented DesktopLocation property
  8733. - Implemented IsRestrictedWindow property
  8734. - Implemented Size property
  8735. - Implemented TopLevel property
  8736. - Implemented FormWindowState property
  8737. * Control.cs:
  8738. - Implemented GetTopLevel() method
  8739. - Implemented SetTopLevel() method
  8740. * X11Structs.cs (Atom):
  8741. - Added AnyPropertyType definition
  8742. - Added MapState definiton and updated XWindowAttribute struct
  8743. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  8744. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  8745. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  8746. * XplatUIWin32.cs:
  8747. - Implemented GetWindowState() and SetWindowState() methods
  8748. - Fixed Win32GetWindowLong return type
  8749. * XplatUIX11.cs:
  8750. - Introduced central function for sending NET_WM messages
  8751. - Implemented GetWindowState() and SetWindowState() methods
  8752. * TextBoxBase.cs (set_Lines):
  8753. - Now uses Foreground color for text added via Text property (Duh!)
  8754. - Added code to remember programmatically requested size (fixes
  8755. behaviour when Multiline is set after Size)
  8756. - Added AutoSize logic
  8757. 2005-01-06 Jackson Harper <[email protected]>
  8758. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  8759. 2005-01-06 Jackson Harper <[email protected]>
  8760. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  8761. set to less then 0.
  8762. 2005-01-06 Jackson Harper <[email protected]>
  8763. * ScrollableControl.cs: Lazy init the scrollbars.
  8764. 2005-01-06 Jackson Harper <[email protected]>
  8765. * Theme.cs: Speed up getting pens and solid brushes, by using
  8766. their ARGB as a hash instead of tostring and not calling Contains.
  8767. 2005-01-06 Peter Bartok <[email protected]>
  8768. * Form.cs:
  8769. - Implemented OnActivated and OnDeactivate event trigger
  8770. - Implemented Activate() method
  8771. - Fixed ShowDialog() to activate the form that was active before
  8772. the dialog was shown
  8773. * XplatUIX11.cs:
  8774. - Added global active_window var that tracks the currently active
  8775. X11 window
  8776. - Now always grabs Property changes from the root window to always
  8777. catch changes on the active window property
  8778. - Added code to PropertyNotify handler to send Active/Inactive
  8779. messages when state changes. This puts X11 and Win32 en par on
  8780. WM_ACTIVATE notifications (except for double notifications when
  8781. the user clicks away from our modal window to another one of our
  8782. windows)
  8783. 2005-01-05 Jackson Harper <[email protected]>
  8784. * ImageList.cs: Implment ctor
  8785. 2005-01-05 Geoff Norton <[email protected]>
  8786. * XplatUIOSX.cs: Implement Activate/SetTopmost
  8787. 2005-01-05 Geoff Norton <[email protected]>
  8788. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  8789. 2005-01-05 Geoff Norton <[email protected]>
  8790. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  8791. 2005-01-05 Peter Bartok <[email protected]>
  8792. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  8793. XplatUIOSX.cs: Added GetActive method to return the currently
  8794. active window for the application (or null, if none is active)
  8795. * Form.cs:
  8796. - Implemented ActiveForm
  8797. - Commented out owner assignment for modal dialogs (causes problems
  8798. on Win32, since the owner will be disabled)
  8799. - Reworked some Active/Focus handling (still incomplete)
  8800. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  8801. (causes problems on Win32, since the owner will be disabled)
  8802. * IWin32Window: Added ComVisible attribute
  8803. 2005-01-05 Peter Bartok <[email protected]>
  8804. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  8805. required XplatUI functions.
  8806. 2005-01-05 Peter Bartok <[email protected]>
  8807. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  8808. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  8809. to implement focus and activation handling; still incomplete and
  8810. with debug output
  8811. 2005-01-04 Peter Bartok <[email protected]>
  8812. * TextBoxBase.cs: Changed access level for Document property to
  8813. match switch to internal for TextControl
  8814. 2005-01-04 Peter Bartok <[email protected]>
  8815. * AccessibleObject: Added ComVisible attribute
  8816. 2005-01-04 Jackson Harper <[email protected]>
  8817. * X11Keyboard.cs: Remove unneeded var.
  8818. 2005-01-04 Jackson Harper <[email protected]>
  8819. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  8820. but PAINT.
  8821. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  8822. ClientMessage. This makes apps exit cleanly (more often).
  8823. 2005-01-04 Jackson Harper <[email protected]>
  8824. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  8825. handling focus, return correct colors and fonts,
  8826. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  8827. handle selection, horizontal scrolling, and mouse interaction.
  8828. 2005-01-04 Peter Bartok <[email protected]>
  8829. * ICommandExecutor.cs: Added
  8830. * IDataGridColumnStyleEditingNotificationService.cs: Added
  8831. * IFeatureSupport.cs: Added
  8832. * IFileReaderService.cs: Added
  8833. * IDataObject.cs: Added ComVisible attribute
  8834. * AmbientProperties.cs: Added
  8835. * BaseCollection.cs: Added missing attributes
  8836. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  8837. * BaseCollection.cs: Added missing attributes
  8838. * Binding.cs: Added TypeConverter attribute
  8839. * BindingContext.cs: Added DefaultEvent attribute
  8840. * BindingsCollection.cs: Added DefaultEvent attribute
  8841. * Button.cs: Added DefaultValue attribute
  8842. * DragEventArgs.cs: Added ComVisible attribute
  8843. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  8844. * KeyEventArgs.cs: Added ComVisible attribute
  8845. * KeyPressEventArgs.cs: Added ComVisible attribute
  8846. * MouseEventArgs.cs: Added ComVisible attribute
  8847. * NavigateEventArgs.cs: Added
  8848. * NavigateEventHandler.cs: Added
  8849. * FeatureSupport.cs: Added
  8850. * OSFeature.cs: Added
  8851. * Theme.cs: Added abstract Version property to support OSFeature
  8852. * ThemeWin32Classic.cs: Added Version property to
  8853. support OSFeature.Themes
  8854. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  8855. the proper styles to avoid background drawing are set, also doesn't
  8856. match MS signature
  8857. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  8858. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  8859. * ScrollEventArgs.cs: Added ComVisible attribute
  8860. * SplitterEventArgs.cs: Added ComVisible attribute
  8861. * AccessibleSelection.cs: Added Flags attribute
  8862. * Appearance.cs: Added ComVisible attribute
  8863. * Border3DSide.cs: Added ComVisible attribute
  8864. * Border3DStyle.cs: Added ComVisible attribute
  8865. * BorderStyle.cs: Added ComVisible attribute
  8866. * DragAction.cs: Added ComVisible attribute
  8867. * ErrorBlinkStyle.cs: Added
  8868. * ScrollEventType.cs: Added ComVisible attribute
  8869. * AnchorStyles.cs: Added Editor attribute
  8870. * DockStyle.cs: Added Editor attribute
  8871. * HorizontalAlignment.cs: Added ComVisible attribute
  8872. * HelpEventArgs.cs: Added ComVisible attribute
  8873. * PaintEventArgs.cs: Added IDisposable
  8874. 2005-01-04 Peter Bartok <[email protected]>
  8875. * TextControl.cs: Switched Line, LineTag and Document classes to
  8876. internal
  8877. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  8878. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  8879. Simple mode, fixes, IntegralHeight, etc.
  8880. 2005-01-04 Peter Bartok <[email protected]>
  8881. * TextBoxBase.cs: Using proper font variable now
  8882. 2005-01-04 Peter Bartok <[email protected]>
  8883. * Form.cs (ShowDialog): Set parent to owner, if provided
  8884. * GroupBox.cs: Removed unused vars
  8885. * TextControl.cs:
  8886. - Added GetHashCode() for Document and LineTag classes
  8887. - Removed unused variables
  8888. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  8889. to allow translation between continuous char position and line/pos
  8890. * CheckBox.cs: Removed vars that are provided by base class
  8891. * RadioButton.cs: Removed vars that are provided by base class, added
  8892. new keyword where required
  8893. * LinkLabel.cs: Added new keyword where required
  8894. * Control.cs (WndProc): Removed unused variable
  8895. * TextBoxBase.cs:
  8896. - Finished SelectionLength property
  8897. - Implemented SelectionStart property
  8898. - Implemented Text property
  8899. - Removed unused vars
  8900. * MessageBox.cs: Added new keyword where required
  8901. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  8902. WndProc signature
  8903. * MenuAPI.cs: Added new keyword where required
  8904. * ButtonBase.cs: Removed vars that are provided by base class, added
  8905. new keyword where required
  8906. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  8907. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  8908. into this)
  8909. * Application.cs (Run): Now triggers the ThreadExit event
  8910. * CommonDialog.cs: Added new keyword where required; now properly sets
  8911. parent (owner) for dialog
  8912. * XplatUIX11.cs: Commented out unused vars
  8913. * StatusBar.cs: Fixed signature for Text property
  8914. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  8915. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  8916. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  8917. TrackBar.cs, MonthCalendar.cs: remove unused vars
  8918. 2005-01-03 Jackson Harper <[email protected]>
  8919. * ThemeWin32Classic.cs:
  8920. * X11Keyboard.cs: Remove unused vars.
  8921. 2005-01-03 Peter Bartok <[email protected]>
  8922. * TextBox.cs:
  8923. - set_Text: Tied into TextControl
  8924. - set_TextAlignment: Tied into TextControl
  8925. * TextControl.cs:
  8926. - Added alignment properties and implemented alignment handling
  8927. and drawing (still has a bug, not generating proper expose events)
  8928. - Added new Line() constructor to allow passing the line alignment
  8929. - Fixed selection setting, properly handling end<start now
  8930. - Added aligment considerations to RecalculateDocument()
  8931. * TextBoxBase.cs:
  8932. - Now properly enforces control height for single line controls
  8933. - Added support for CharacterCasing
  8934. - Added IsInputKey override
  8935. - Fixed Keys.Enter logic
  8936. - Added SetBoundsCore override
  8937. - Fixed mouse selection handling
  8938. 2005-01-03 Jackson Harper <[email protected]>
  8939. * TreeView.cs:
  8940. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  8941. - Checkboxes are always aligned to the bottom of the node,
  8942. regardless of item height.
  8943. - Use the node bounds to draw the text so we can center it when
  8944. the item height is greater then the font height.
  8945. - Node::Bounds are only the text part of the node.
  8946. * TreeNode.cs: New method to combine collapsing and unchecking all
  8947. nodes recursively.
  8948. 2005-01-02 Jackson Harper <[email protected]>
  8949. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  8950. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  8951. tree when a check is changed. TODO: Only refresh the checked node.
  8952. 2004-12-30 Jackson Harper <[email protected]>
  8953. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  8954. * TreeNode.cs: When collapsing make sure to never collapse the
  8955. root node.
  8956. 2004-12-29 Jackson Harper <[email protected]>
  8957. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  8958. 2004-12-28 Zoltan Varga <[email protected]>
  8959. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  8960. 2004-12-28 Peter Bartok <[email protected]>
  8961. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  8962. not yet assigned
  8963. 2004-12-28 Peter Bartok <[email protected]>
  8964. * Control.cs (WndProc): Added WM_HELP handler, now generates
  8965. HelpRequested event
  8966. * Form.cs: Added HelpButton property and required support code
  8967. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  8968. 2004-12-28 Peter Bartok <[email protected]>
  8969. * CommonDialog.cs:
  8970. - Made DialogForm.owner variable internal
  8971. - Added check to ensure owner form is set before setting
  8972. owner properties in CreateParams
  8973. 2004-12-28 Geoff Norton <[email protected]>
  8974. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  8975. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  8976. GetCursorPos. Fix major visibility issues. Rework the windowing
  8977. system to support borderless/titleless windows (implements menus).
  8978. Fix GetWindowPos. Implement initial background color support for
  8979. views.
  8980. 2004-12-28 Peter Bartok <[email protected]>
  8981. * Form.cs (get_CreateParams): Make sure we have an owner before using
  8982. the owner variable. Implement proper default if no owner exists
  8983. 2004-12-28 Peter Bartok <[email protected]>
  8984. * In preparation for making Managed.Windows.Forms the default build target
  8985. for System.Windows.Forms, the following stubbed files were added.
  8986. Dialogs are currently being implemented by contributors and are only
  8987. short-term place holders.
  8988. * ColorDialog.cs: Initial check-in (minmal stub)
  8989. * DataGrid.cs: Initial check-in (minimal stub)
  8990. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  8991. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  8992. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  8993. * FontDialog.cs: Initial check-in (minimal stub)
  8994. * FileDialog.cs: Initial check-in (minimal stub)
  8995. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  8996. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  8997. * OpenFileDialog: Initial check-in (minimal stub)
  8998. * IComponentEditorPageSite.cs: Initial check-in
  8999. * Splitter.cs: Initial check-in (for Jackson)
  9000. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  9001. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  9002. * TextBox.cs: Initial check-in; still needs some wiring to
  9003. TextControl backend
  9004. * Form.cs: Implemented ControlBox property
  9005. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  9006. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  9007. * TextControl.cs: Added selection functionality; added todo header
  9008. * TextBoxBase.cs:
  9009. - Implemented Lines property
  9010. - Implemented TextHeight property
  9011. - Implemented SelectedText property
  9012. - Implemented SelectionLength property
  9013. - Implemented SelectAll method
  9014. - Implemented ToString method
  9015. - Removed and cleaned up some debug code
  9016. - Implemented (still buggy) mouse text selection
  9017. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  9018. * ComboBox.cs: Complete DropDownList implementation, fixes.
  9019. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  9020. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  9021. * ComboBoxStyle.cs: ComboBoxStyle enum
  9022. * ComboBox.cs: Initial work on ComboBox control
  9023. 2004-12-21 Peter Bartok <[email protected]>
  9024. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  9025. forward so that anything that creates a window gets the default,
  9026. also no longer uses Visible property in CreateParams to avoid
  9027. walking up the parent chain and possibly get the wrong visible
  9028. status. Fixed IsVisible to no longer walk up to the parent.
  9029. 2004-12-21 Peter Bartok <[email protected]>
  9030. * Form.cs (ShowDialog): Unset modality for the proper window
  9031. 2004-12-20 Peter Bartok <[email protected]>
  9032. * CommonDialog.cs: Initial check-in
  9033. 2004-12-20 Peter Bartok <[email protected]>
  9034. * Control.cs (Visible): Now uses the parent window instead of the
  9035. client area window for the property
  9036. * Form.cs
  9037. - ShowDialog(): Now uses the proper window for modality
  9038. - The default visibility state for the form parent is now false. This
  9039. will prevent the user from seeing all the changes to the form and
  9040. its controls before the application hits Application.Run()
  9041. - Removed some stale commented out code
  9042. * NativeWindow.cs:
  9043. - Added FindWindow() method to have a method to check for existence
  9044. of a window handle
  9045. - Added ability to override default exception handling (for example
  9046. when debugging with VS.Net; to do this the ExternalExceptionHandler
  9047. define must be set
  9048. - Removed some useless debug output
  9049. * XplatUIX11.cs:
  9050. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  9051. not working as expected
  9052. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  9053. property to allow switching back to the modal window if focus is
  9054. given to another one of our windows (Application Modal)
  9055. - Now only sets override_redirect if we create a window
  9056. without WS_CAPTION
  9057. - Moved EventMask selection before mapping of newly created window
  9058. so we can catch the map event as well
  9059. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  9060. - Added various Atom related DllImports
  9061. - Implemented Exit() method
  9062. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  9063. in the CreateParams
  9064. * MessageBox.cs: Now properly deals with the FormParent window by
  9065. providing an override the FormParent CreateParams property to
  9066. set as POPUP instead of OVERLAPPED window.
  9067. 2004-12-19 Geoff Norton <[email protected]>
  9068. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  9069. Minor code cleanup.
  9070. 2004-12-19 Geoff Norton <[email protected]>
  9071. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  9072. 2004-12-18 Peter Bartok <[email protected]>
  9073. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  9074. implementing SetModal() method
  9075. 2004-12-18 Peter Bartok <[email protected]>
  9076. * X11Structs.cs (XGCValues): Fixed type of function element
  9077. * XplatUI.cs: Added ScrollWindow() method
  9078. * XplatUIDriver.cs: Added ScrollWindow() abstract
  9079. * XplatUIWin32.cs: Implemented ScrollWindow() method
  9080. * XplatUIX11.cs: Implemented ScrollWindow() method
  9081. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  9082. 2004-12-17 Geoff Norton <[email protected]>
  9083. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  9084. Some more keyboard support (INCOMPLETE)
  9085. 2004-12-17 Peter Bartok <[email protected]>
  9086. * TextControl.cs:
  9087. - Added color attribute to line tags.
  9088. - Added color argument to all functions dealing with tags
  9089. - Added color argument support to various functions
  9090. - Fixed miss-calculation of baseline/shift in certain circumstances
  9091. * TextBoxBase.cs: Added new color option to test code
  9092. 2004-12-17 Jackson Harper <[email protected]>
  9093. * TreeNode.cs:
  9094. * MonthCalendar.cs: Signature fixes
  9095. 2004-12-17 Geoff Norton <[email protected]>
  9096. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  9097. keyboard event moved it. Create a new graphics context for each paint resolves this
  9098. 2004-12-17 Geoff Norton <[email protected]>
  9099. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  9100. Make caret exist and go blink blink. Initial keyboard support.
  9101. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  9102. works.
  9103. 2004-12-17 Jackson Harper <[email protected]>
  9104. * XplatUIStructs.cs: Updated set of virtual keycodes.
  9105. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  9106. 2004-12-17 Jackson Harper <[email protected]>
  9107. * XplatUIX11.cs: Prune old keyboard code.
  9108. 2004-12-17 Jackson Harper <[email protected]>
  9109. * XplatUIX11.cs: When generating mouse wparams get the modifier
  9110. keys from the ModifierKeys property.
  9111. 2004-12-17 Jackson Harper <[email protected]>
  9112. * X11Keyboard.cs: Send up/down input when generating
  9113. messages. Remove some unused vars.
  9114. 2004-12-17 Jackson Harper <[email protected]>
  9115. * TabControl.cs:
  9116. * TreeView.cs: get rid of warnings.
  9117. 2004-12-17 Jackson Harper <[email protected]>
  9118. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  9119. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  9120. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  9121. CheckedListBox.cs: Implementation
  9122. 2004-12-17 Peter Bartok <[email protected]>
  9123. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  9124. 2004-12-16 Peter Bartok <[email protected]>
  9125. * TextControl.cs:
  9126. - InsertCharAtCaret(): Fixed start pos fixup
  9127. - CaretLine_get: No longer derives the line from the tag, the tag
  9128. could be stale if lines in the document have been added or deleted
  9129. - RebalanceAfterDelete(): Fixed bug in balancing code
  9130. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  9131. - Line.Streamline(): Now can also elminate leading empty tags
  9132. - DumpTree(): Added a few more tests and prevented exception on
  9133. uninitialized data
  9134. - Added Debug section for Combining lines
  9135. - Delete(): Now copies all remaining properties of a line
  9136. * TextBoxBase.cs:
  9137. - Left mousebutton now sets the caret (and middle button still acts
  9138. as formatting tester, which must go away soon)
  9139. - Added Debug section for Deleting/Combining lines
  9140. - Fixed calculations for UpdateView after Combining lines
  9141. 2004-12-16 Peter Bartok <[email protected]>
  9142. * TextControl.cs: Now properly aligns text on a baseline, using the
  9143. new XplatUI.GetFontMetrics() method. Simplified several calculations
  9144. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  9145. defined
  9146. 2004-12-16 Peter Bartok <[email protected]>
  9147. * XplatUI.cs: Added GetFontMetrics() method
  9148. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  9149. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  9150. into libgdiplus, our private GetFontMetrics function
  9151. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  9152. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  9153. 2004-12-16 Jackson Harper <[email protected]>
  9154. * XplatUIStruct.cs: Add enum for dead keys
  9155. * X11Keyboard.cs: Map and unmap dead keys.
  9156. 2004-12-16 Jackson Harper <[email protected]>
  9157. * X11Keyboard.cs: Detect and use the num lock mask.
  9158. 2004-12-16 Peter Bartok <[email protected]>
  9159. * Control.cs (CreateGraphics): Added check to make sure the
  9160. handle of the window exists before calling Graphics.FromHwnd()
  9161. 2004-12-16 Peter Bartok <[email protected]>
  9162. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  9163. contains a lot of code that's not supposed to be there for the
  9164. real thing, but required for developing/testing the textbox
  9165. backend.
  9166. 2004-12-16 Peter Bartok <[email protected]>
  9167. * TextControl.cs:
  9168. - Fixed Streamline method
  9169. - Added FindTag method to Line
  9170. - Added DumpTree method for debugging
  9171. - Added DecrementLines() method for deleting lines
  9172. - Fixed UpdateView to update the cursor to end-of-line on single-line
  9173. updates
  9174. - Added PositionCaret() method
  9175. - Fixed MoveCaret(LineDown) to move into the last line, too
  9176. - Added InsertChar overload
  9177. - Fixed InsertChar tag offset calculations
  9178. - Added DeleteChar() method
  9179. - Added Combine() method for folding lines
  9180. - Fixed Delete() method, no longer allocates wasted Line object and
  9181. now copies all properties when swapping nodes
  9182. - Delete() method now updates document line counter
  9183. 2004-12-15 Jackson Harper <[email protected]>
  9184. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  9185. * X11Keyboard.cs: Expose the currently selected modifier keys
  9186. through a property.
  9187. 2004-12-15 Peter Bartok <[email protected]>
  9188. * TextControl.cs: Initial check-in. Still incomplete
  9189. 2004-12-15 Jackson Harper <[email protected]>
  9190. * TreeNode.cs:
  9191. * TreeView.cs: Fix build on csc (second time today ;-))
  9192. 2004-12-15 Jackson Harper <[email protected]>
  9193. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  9194. is calculated and use this for click testing.
  9195. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  9196. 2004-12-15 Jackson Harper <[email protected]>
  9197. * TreeView.cs: Pass the nodes image index to the image list when
  9198. drawing that image.
  9199. 2004-12-15 Jackson Harper <[email protected]>
  9200. * X11Keyboard.cs: Set messages hwnd.
  9201. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  9202. post_message calls.
  9203. 2004-12-15 Jackson Harper <[email protected]>
  9204. * X11Keyboard.cs: Fix to compile with csc.
  9205. 2004-12-15 Jackson Harper <[email protected]>
  9206. * X11Structs.cs: Add key mask values
  9207. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  9208. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  9209. down/up foo into WM_CHAR foo
  9210. * KeyboardLayouts.cs: Common keyboard layouts
  9211. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  9212. post messages into the main queue.
  9213. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  9214. * Button.cs: implement ProcessMnemonic
  9215. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  9216. brushes everytime
  9217. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  9218. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  9219. 2004-12-12 John BouAntoun <[email protected]>
  9220. * MonthCalendar.cs: Implemented click-hold for next/previous month
  9221. and date selection
  9222. 2004-12-11 Peter Bartok <[email protected]>
  9223. * X11Structs.cs:
  9224. - Added XKeyboardState (moved from XplatUIX11.cs)
  9225. - Added XCreateGC related enums and structures
  9226. - Added GXFunction for XSetFunction
  9227. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  9228. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  9229. CaretVisible() calls
  9230. * ToolTip.cs: Added code to prevent stealing focus from app windows
  9231. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  9232. DestroyCaret, SetCaretPos and CaretVisible)
  9233. * XplatUIX11.cs:
  9234. - Added implementation for caret functions
  9235. - Moved hover variables into a struct, to make it a bit easier
  9236. on the eyes and to debug
  9237. - Removed XKeyboardState (moved to XplatUIX11.cs)
  9238. - Moved Keyboard properties into the properties region
  9239. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  9240. call to get a graphics context for our control
  9241. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  9242. * TreeView.cs: Fixed bug. No matter what color was set it would always
  9243. return SystemColors.Window
  9244. * XplatUIWin32.cs: Implemented caret overrides
  9245. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  9246. * ListBox.cs: fire events, implement missing methods and properties,
  9247. sorting.
  9248. 2004-12-10 John BouAntoun <[email protected]>
  9249. * MonthCalendar.cs: invalidation bug fixing
  9250. * ThemeWin32Classic.cs: paint fixing
  9251. 2004-12-09 Geoff Norton <[email protected]>
  9252. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  9253. prepare the CGContextRef there now.
  9254. 2004-12-09 John BouAntoun <[email protected]>
  9255. * MonthCalendar.cs:
  9256. - optimisationL only invalidate areas that have changed
  9257. * ThemeWin32Classic.cs:
  9258. - only paint parts that intersect with clip_area
  9259. 2004-12-09 Peter Bartok <[email protected]>
  9260. * Application.cs: Undid changes from r37004 which cause problems
  9261. on X11
  9262. 2004-12-09 Ravindra <[email protected]>
  9263. * ToolBar.cs: Added support for displaying ContextMenu
  9264. attached to a button on ToolBar.
  9265. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  9266. property.
  9267. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  9268. * Label.cs: autosize works in text change and removes unnecessary
  9269. invalidate
  9270. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  9271. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  9272. remove warnings
  9273. 2004-12-08 Geoff Norton <[email protected]>
  9274. * XplatUIOSX.cs: Added mouse move/click/grab support
  9275. Remove some debugging WriteLines not needed anymore.
  9276. Add window resizing/positioning.
  9277. Fix visibility on reparenting.
  9278. 2004-12-08 Peter Bartok <[email protected]>
  9279. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  9280. 2004-12-07 Geoff Norton <[email protected]>
  9281. * XplatUIOSX.cs: Initial checkin
  9282. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  9283. 2004-12-03 Ravindra <[email protected]>
  9284. * ListView.cs: Added some keybindings and fixed scrolling.
  9285. ScrollBars listen to ValueChanged event instead of Scroll
  9286. Event. This would let us take care of all changes being
  9287. done in the scrollbars' values programmatically or manually.
  9288. * ListView.cs (CanMultiselect): Added a check for shift key.
  9289. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  9290. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  9291. of ListViewSubItemCollection as well.
  9292. 2004-12-06 Peter Bartok <[email protected]>
  9293. * Control.cs (Parent): Added check and exception to prevent
  9294. circular parenting
  9295. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  9296. * ListBox.cs: implemented clipping, selection single and multiple,
  9297. bug fixing
  9298. 2004-12-03 Ravindra <[email protected]>
  9299. * ListView.cs (ListView_KeyDown):
  9300. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  9301. when CTRL key is pressed.
  9302. * ListViewItem.cs (Selected): Fixed setting the property.
  9303. 2004-12-03 Marek Safar <[email protected]>
  9304. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  9305. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  9306. MinimizeBox, ShowInTaskbar, TopMost properties.
  9307. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  9308. will be implemented).
  9309. 2004-12-03 Marek Safar <[email protected]>
  9310. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  9311. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  9312. tests.
  9313. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  9314. * TreeView.cs: BackColor is Colors.Window.
  9315. 2004-12-01 Jackson Harper <[email protected]>
  9316. * TreeView.cs: When resizing the tree if the user is making it
  9317. smaller we don't get expose events, so we need to handle adding
  9318. the horizontal scrollbar in the size changed handler as well as
  9319. the expose handler.
  9320. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  9321. * DrawItemState.cs: fixes wrong enum values
  9322. 2004-12-01 Jackson Harper <[email protected]>
  9323. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  9324. 2004-12-01 Jackson Harper <[email protected]>
  9325. * NodeLabelEditEventArgs.cs:
  9326. * NodeLabelEditEventHandler.cs:
  9327. * OpenTreeNodeEnumerator.cs:
  9328. * TreeNode.cs:
  9329. * TreeNodeCollection.cs:
  9330. * TreeView.cs:
  9331. * TreeViewAction.cs:
  9332. * TreeViewCancelEventArgs.cs:
  9333. * TreeViewCancelEventHandler.cs:
  9334. * TreeViewEventArgs.cs:
  9335. * TreeViewEventHandler.cs: Initial implementation.
  9336. 2004-12-01 Ravindra <[email protected]>
  9337. * ListView.cs (CalculateListView): Fixed scrolling related
  9338. calculations. Also, removed some debug statements from other
  9339. places.
  9340. * ListViewItem.cs: Changed access to 'selected' instance variable
  9341. from private to internal.
  9342. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  9343. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  9344. * ThemeWin32Classic.cs: remove cache of brush and pens for
  9345. specific controls and use the global system, fixes scrollbutton
  9346. bugs (for small sizes, disabled, etc)
  9347. * ScrollBar.cs: does not show the thumb for very small controls
  9348. (as MS) and allow smaller buttons that the regular size
  9349. 2004-12-01 Miguel de Icaza <[email protected]>
  9350. * UpDownBase.cs: Add abstract methods for the interface.
  9351. Add new virtual methods (need to be hooked up to TextEntry when it
  9352. exists).
  9353. Add override methods for most features.
  9354. Computes the size, forces the height of the text entry.
  9355. * NumericUpDown.cs: Put here the current testing code.
  9356. * Set eol-style property on all files that do not have mixed line
  9357. endings, to minimize the future problems. There are still a few
  9358. files with mixed endings, and someone should choose whether they
  9359. want to move it or not.
  9360. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  9361. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  9362. System.Colors
  9363. 2004-11-30 Ravindra <[email protected]>
  9364. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  9365. drawing and replaced use of SystemColors by theme colors.
  9366. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  9367. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  9368. same ListViewItem is being added more than once.
  9369. 2004-11-30 John BouAntoun <[email protected]>
  9370. * MonthCalendar.cs:
  9371. - ControlStyles love to make the control not flicker
  9372. 2004-11-30 Peter Bartok <[email protected]>
  9373. * CharacterCasing.cs: Added
  9374. 2004-11-29 Peter Bartok <[email protected]>
  9375. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  9376. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  9377. I am removing these files as they conflict with already completed
  9378. work. While it is fantastic to get contributions to MWF, I
  9379. respectfully ask that everyone please coordinate their contributions
  9380. through mono-winforms-list or #mono-winforms at this time. We're
  9381. explicitly avoiding stubbing and don't want controls that don't have
  9382. their basic functionality implemented in svn. Please also see
  9383. http://www.mono-project.com/contributing/winforms.html
  9384. 2004-11-29 Marek Safar <[email protected]>
  9385. * Application.cs (ModalRun): Don't hang after exit.
  9386. * Theme.cs: New TreeViewDefaultSize property.
  9387. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  9388. with less hardcoded SystemColors constant.
  9389. Implemented TreeViewDefaultSize.
  9390. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  9391. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  9392. 2004-11-29 John BouAntoun <[email protected]>
  9393. * MonthCalendar.cs:
  9394. - Fix NextMonthDate and PrevMonthDate click moving calendar
  9395. 2004-11-26 John BouAntoun <[email protected]>
  9396. * MonthCalendar.cs:
  9397. - Fix usage of ScrollChange Property when scrolling months
  9398. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  9399. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  9400. - Fixes menu destroying
  9401. - Support adding and removing items on already created menus
  9402. 2004-11-26 John BouAntoun <[email protected]>
  9403. * MonthCalendar.cs:
  9404. - Re-worked all bolded dates handling to match win32
  9405. * ThemeWin32Classic.cs:
  9406. - Fixed rendering with bolded dates
  9407. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  9408. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  9409. - Horizontal scroolbar
  9410. - Multicolumn
  9411. - Fixes
  9412. 2004-11-25 John BouAntoun <[email protected]>
  9413. * MonthCalendar.cs:
  9414. - Fix Usage of MaxSelectionCount from SelectionRange
  9415. - Fixed Shift + Cursor Selection
  9416. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  9417. - Fixed normal cursor selection to be compat with win32
  9418. - Fixed Shift + Mouse Click selection
  9419. 2004-11-24 Peter Bartok <[email protected]>
  9420. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  9421. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  9422. * XplatUIX11.cs:
  9423. - CreatedKeyBoardMsg now updates keystate with Alt key
  9424. - Added workaround for timer crash to CheckTimers, Jackson will
  9425. develop a proper fix and check in later
  9426. - Implemented DispatchMessage
  9427. - Removed calling the native window proc from GetMessage (call
  9428. now moved to DispatchMessage)
  9429. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  9430. the keydata (Fixes bug #69831)
  9431. * XplatUIWin32.cs:
  9432. - (DispatchMessage): Switched to return IntPtr
  9433. - Added DllImport for SetFocus
  9434. 2004-11-24 Ravindra <[email protected]>
  9435. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  9436. background drawing.
  9437. * ListViewItem.cs: Fixed various properties, calculations
  9438. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  9439. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  9440. and some internal properties. Fixed MouseDown handler and Paint
  9441. method.
  9442. 2004-11-24 John BouAntoun <[email protected]>
  9443. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  9444. 2004-11-24 John BouAntoun <[email protected]>
  9445. * ContainerControl.cs: correct accidental check in of local changes
  9446. 2004-11-24 John BouAntoun <[email protected]>
  9447. * ThemeWin32Classic.cs:
  9448. - Fixed Drawing Last month in grid (sometimes not showing)
  9449. * MonthCalendar.cs:
  9450. - Fixed title width calculation bug (makeing title small)
  9451. 2004-11-23 Peter Bartok <[email protected]>
  9452. * XplatUIX11.cs:
  9453. - Added generation of WM_MOUSEHOVER event
  9454. - Added missing assignment of async_method atom
  9455. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  9456. 2004-11-23 John BouAntoun <[email protected]>
  9457. * ThemeWin32Classic.cs:
  9458. - Fixed Drawing of today circle when showtodaycircle not set
  9459. - fixed drawing of first and last month in the grid (gay dates)
  9460. * MonthCalendar.cs:
  9461. - Fixed Drawing of today circle
  9462. - Fixed drawing of grady dates
  9463. - Fixed HitTest for today link when ShowToday set to false
  9464. - Fixed DefaultSize to obey ShowToday
  9465. 2004-11-23 John BouAntoun <[email protected]>
  9466. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  9467. * System.Windows.Forms/Theme.cs
  9468. * MonthCalendar.cs: added for MonthCalendar
  9469. * SelectionRange.cs: added for MonthCalendar
  9470. * Day.cs: added for MonthCalendar: added for MonthCalendar
  9471. * DateRangeEventArgs.cs: added for MonthCalendar
  9472. * DateRangeEventHandler.cs: added for MonthCalendar
  9473. 2004-11-22 Ravindra <[email protected]>
  9474. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  9475. property.
  9476. 2004-11-22 Miguel de Icaza <[email protected]>
  9477. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  9478. event handler.
  9479. * NumericUpDown.cs: Added new implementation.
  9480. * UpDownBase.cs: Added new implementation.
  9481. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  9482. implementations.
  9483. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  9484. implementations.
  9485. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  9486. methods.
  9487. 2004-11-21 Miguel de Icaza <[email protected]>
  9488. * Timer.cs (Dispose): Should call the base dispose when
  9489. overriding.
  9490. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  9491. * ScrollBar.cs: updates thumb position when max, min or increment
  9492. is changed
  9493. 2004-11-21 Ravindra <[email protected]>
  9494. * ListView.cs: Implemented item selection, activation and
  9495. column header style. Fixed properties to do a redraw, if
  9496. required. Added support for MouseHover, DoubleClick, KeyDown
  9497. and KeyUp event handling and some minor fixes.
  9498. * ListViewItem.cs: Fixed constructor.
  9499. * ThemeWin32Classic.cs: Improved drawing for ListView.
  9500. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  9501. * ThemeWin32Classic.cs: initial listbox drawing code
  9502. * DrawMode.cs: new enumerator
  9503. * ListControl.cs: stubbed class
  9504. * ListBox.cs: initial implementation
  9505. * Theme.cs: new methods definitions
  9506. * SelectionMode.cs: new enumerator
  9507. 2004-11-17 Peter Bartok <[email protected]>
  9508. * XplatUIWin32.cs: Added double-click events to the class style
  9509. * Control.cs (WndProc):
  9510. - Added handling of click-count to MouseDown/ MouseUp events.
  9511. - Added handling of middle and right mouse buttons
  9512. - Removed old debug code
  9513. 2004-11-17 Jackson Harper <[email protected]>
  9514. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  9515. 2004-11-17 Ravindra <[email protected]>
  9516. * ListView.cs: Added event handling for MouseMove/Up/Down.
  9517. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  9518. * ThemeWin32Classic.cs: We need to clear the graphics context and
  9519. draw column header in a proper state.
  9520. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  9521. * Menu.cs: fixes signature
  9522. 2004-11-16 Peter Bartok <[email protected]>
  9523. * XplatUIX11.cs (GetMessage): Implemented generation of
  9524. double click mouse messages
  9525. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  9526. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  9527. not by menu
  9528. 2004-11-11 Peter Bartok <[email protected]>
  9529. * HandleData.cs: Added Visible property
  9530. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  9531. HandleData
  9532. * XplatUIX11.cs: Removed old debug leftovers
  9533. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  9534. * Control.cs (WndProc): Removed old debug leftovers,
  9535. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  9536. needed WM_SIZE handling
  9537. 2004-11-11 Jackson Harper <[email protected]>
  9538. * OwnerDrawPropertyBag.cs:
  9539. * TreeViewImageIndexConverter.cs: Initial implementation
  9540. 2004-11-10 Jackson Harper <[email protected]>
  9541. * ThemeWin32Classic.cs:
  9542. * TabControl.cs: instead of moving tabs by the slider pos just
  9543. start drawing at the tab that is offset by the slider. This way
  9544. scrolling always moves by exactly one tab.
  9545. 2004-11-10 Jackson Harper <[email protected]>
  9546. * TabControl.cs: You can only scroll left when the slider has
  9547. already ben moved right.
  9548. 2004-11-10 Jackson Harper <[email protected]>
  9549. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  9550. the clip area.
  9551. 2004-11-10 Jackson Harper <[email protected]>
  9552. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  9553. clip area.
  9554. 2004-11-09 Jackson Harper <[email protected]>
  9555. * TabControl.cs (CalcXPos): New helper method so we can determine
  9556. the proper place to start drawing vertical tabs.
  9557. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  9558. 2004-11-09 Jackson Harper <[email protected]>
  9559. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  9560. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  9561. and Bottom, left and right are illegal values for this and
  9562. multiline is enabled when the alignment is set to left or right.
  9563. (DrawTab): Each alignment block should draw the text itself now
  9564. because Left requires special love. Also add rendering for Left
  9565. aligned tabs.
  9566. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  9567. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  9568. does not destroy the windows, removes debugging messages
  9569. 2004-11-09 jba <[email protected]>
  9570. * ThemeWin32Classic.cs
  9571. (DrawButtonBase): Fix verticle text rect clipping in windows
  9572. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  9573. rendering and incorrect text rect clipping
  9574. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  9575. rendering and incorrect text rect clipping
  9576. 2004-11-08 Jackson Harper <[email protected]>
  9577. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  9578. bottom when they are bottom aligned so the bottoms of the tabs get
  9579. displayed.
  9580. * TabControl.cs (DropRow): Move rows up instead of down when the
  9581. tab control is bottom aligned.
  9582. 2004-11-08 13:59 pbartok
  9583. * XplatUIX11.cs:
  9584. - Added handling for various window styles
  9585. - Added handling for popup windows
  9586. - Added SetTopmost handling
  9587. 2004-11-08 13:55 pbartok
  9588. * XplatUIWin32.cs:
  9589. - Added argument to SetTopmost method
  9590. - Fixed broken ClientToScreen function
  9591. 2004-11-08 13:53 pbartok
  9592. * XplatUIStructs.cs:
  9593. - Added missing WS_EX styles
  9594. 2004-11-08 13:53 pbartok
  9595. * XplatUI.cs, XplatUIDriver.cs:
  9596. - Added argument to SetTopmost
  9597. 2004-11-08 13:52 pbartok
  9598. * X11Structs.cs:
  9599. - Added XSetWindowAttributes structure
  9600. - Improved XWindowAttributes structure
  9601. - Added SetWindowValuemask enum
  9602. - Added window creation arguments enum
  9603. - Added gravity enum
  9604. - Added Motif hints structure
  9605. - Added various Motif flags and enums
  9606. - Added PropertyMode enum for property functions
  9607. 2004-11-08 13:50 pbartok
  9608. * Form.cs:
  9609. - Fixed arguments for updated SetTopmost method
  9610. 2004-11-08 13:49 pbartok
  9611. * ToolTip.cs:
  9612. - Fixed arguments for updated SetTopmost function
  9613. - Fixed usage of PointToClient
  9614. 2004-11-08 13:44 pbartok
  9615. * MenuAPI.cs:
  9616. - Added Clipping of children and siblings
  9617. 2004-11-08 13:41 pbartok
  9618. * MainMenu.cs:
  9619. - Removed SetMenuBarWindow call. We do this in Form.cs
  9620. 2004-11-08 13:40 jackson
  9621. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  9622. scrolling jimmi in the correct location with bottom aligned tabs
  9623. 2004-11-08 13:36 pbartok
  9624. * ContainerControl.cs:
  9625. - Implemented BindingContext
  9626. - Implemented ParentForm
  9627. 2004-11-08 12:46 jackson
  9628. * TabControl.cs: Put bottom rendered tabs in the right location
  9629. 2004-11-08 07:15 jordi
  9630. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  9631. removes dead code
  9632. 2004-11-05 17:30 jackson
  9633. * TabControl.cs: When selected tabs are expanded make sure they
  9634. don't go beyond the edges of the tab control
  9635. 2004-11-05 14:57 jackson
  9636. * TabControl.cs: Reset show_slider so if the control is resized to
  9637. a size where it is no longer needed it's not displayed anymore
  9638. 2004-11-05 13:16 jackson
  9639. * TabControl.cs: Make tab pages non visible when added to the
  9640. control
  9641. 2004-11-05 12:42 jackson
  9642. * TabControl.cs: Implement SizeMode.FillToRight
  9643. 2004-11-05 12:16 jackson
  9644. * Control.cs: Do not call CreateHandle if the handle is already
  9645. created
  9646. 2004-11-05 11:46 jackson
  9647. * TabControl.cs: Remove superflous call to CalcTabRows
  9648. 2004-11-05 09:07 jackson
  9649. * XplatUIX11.cs: Update for Mono.Posix changes
  9650. 2004-11-05 07:00 ravindra
  9651. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  9652. scrolling.
  9653. 2004-11-04 22:47 jba
  9654. * ThemeWin32Classic.cs:
  9655. - Fix Button rendering for FlatStyle = Flat or Popup
  9656. - Fix RadioButton and CheckBox rendering when Appearance = Button
  9657. (normal and flatstyle).
  9658. - Correct outer rectangle color when drawing focus rectangle
  9659. - Adjust button bounds to be 1 px smaller when focused
  9660. - Make button not draw sunken 3d border when pushed (windows compat)
  9661. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  9662. - Offset the text in RadioButton and Checkbox when being rendered as
  9663. a button.
  9664. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  9665. radiobuttons
  9666. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  9667. - Fixed disabled text rendering for normally rendered radiobuttons
  9668. 2004-11-04 10:26 jackson
  9669. * TabControl.cs: Recalculate tab rows when resizing
  9670. 2004-11-04 07:47 jordi
  9671. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  9672. collection completion, drawing issues, missing features
  9673. 2004-11-04 05:03 ravindra
  9674. * ScrollBar.cs:
  9675. - We need to recalculate the Thumb area when
  9676. LargeChange/maximum/minimum values are changed.
  9677. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  9678. than minimum. This is required to handle the case if large_change is
  9679. more than max, and use LargeChange property instead of large_change
  9680. variable.
  9681. - We return max+1 when large_change is more than max, like MS does.
  9682. 2004-11-04 04:29 ravindra
  9683. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  9684. - Changed default value signatures (prefixed all with ListView).
  9685. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  9686. ListView.
  9687. - Fixed calculations for ListViewItem and implemented Clone()
  9688. method.
  9689. 2004-11-04 04:26 ravindra
  9690. * Theme.cs, ThemeWin32Classic.cs:
  9691. - Changed default ListView values signatures (prefixed all with
  9692. ListView).
  9693. - Fixed default size values for VScrollBar and HScrollBar.
  9694. - Fixed DrawListViewItem method.
  9695. 2004-11-04 04:05 ravindra
  9696. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  9697. 2004-11-04 04:04 ravindra
  9698. * ImageList.cs: Implemented the missing overload for Draw method.
  9699. 2004-11-03 19:29 jackson
  9700. * TabControl.cs: Handle dropping rows on selection properly
  9701. 2004-11-03 11:59 jackson
  9702. * TabControl.cs: remove debug code
  9703. 2004-11-03 11:52 jackson
  9704. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  9705. the scrolly widgerywoo
  9706. 2004-11-02 13:52 jackson
  9707. * TabControl.cs: Resize the tab pages and tabs when the tab control
  9708. is resized
  9709. 2004-11-02 13:40 jackson
  9710. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  9711. selected tab to the bottom
  9712. 2004-11-02 13:39 jackson
  9713. * TabPage.cs: Store the tab pages row
  9714. 2004-11-02 12:33 jordi
  9715. * MenuItem.cs: fixes handle creation
  9716. 2004-11-02 11:42 jackson
  9717. * TabControl.cs: signature fix
  9718. 2004-11-02 08:56 jackson
  9719. * TabControl.cs: Calculate whether the tab is on an edge properly.
  9720. Remove top secret debugging code
  9721. 2004-11-01 19:57 jackson
  9722. * TabControl.cs: Add click handling, and proper sizing
  9723. 2004-11-01 19:47 jackson
  9724. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  9725. tab controls
  9726. 2004-11-01 19:39 jackson
  9727. * TabPage.cs: add internal property to store the bounds of a tab
  9728. page
  9729. 2004-10-30 04:23 ravindra
  9730. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  9731. values.
  9732. 2004-10-30 04:21 ravindra
  9733. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  9734. fixed calculations.
  9735. 2004-10-30 03:06 pbartok
  9736. * XplatUIX11.cs:
  9737. - Removed extension of DllImported libs
  9738. 2004-10-29 09:55 jordi
  9739. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  9740. navigation, itemcollection completion, menu fixes
  9741. 2004-10-27 22:58 pbartok
  9742. * XplatUIX11.cs:
  9743. - Now throws a nice error message when no X display could be opened
  9744. 2004-10-26 13:51 jordi
  9745. * ListView.cs: removes warning
  9746. 2004-10-26 03:55 ravindra
  9747. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  9748. ThemeWin32Classic.cs: Some formatting for my last checkins.
  9749. 2004-10-26 03:36 ravindra
  9750. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  9751. control and default values.
  9752. 2004-10-26 03:35 ravindra
  9753. * Theme.cs: Added some default values for ListView control.
  9754. 2004-10-26 03:33 ravindra
  9755. * ToolBar.cs: ToolBar should use the user specified button size, if
  9756. there is any. Added a size_specified flag for the same.
  9757. 2004-10-26 03:33 ravindra
  9758. * ColumnHeader.cs: Added some internal members and calculations for
  9759. ColumnHeader.
  9760. 2004-10-26 03:32 ravindra
  9761. * ListViewItem.cs: Calculations for ListViewItem.
  9762. 2004-10-26 03:31 ravindra
  9763. * ListView.cs: Added some internal members and calculations for
  9764. ListView.
  9765. 2004-10-22 13:31 jordi
  9766. * MenuAPI.cs: speedup menus drawing
  9767. 2004-10-22 13:16 jackson
  9768. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  9769. expose event
  9770. 2004-10-22 11:49 jackson
  9771. * Control.cs: oops
  9772. 2004-10-22 11:41 jackson
  9773. * Control.cs: Check to see if the window should have its background
  9774. repainted by X when drawing.
  9775. 2004-10-22 11:31 jackson
  9776. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  9777. clear is true, this way we do not get flicker from X repainting the
  9778. background
  9779. 2004-10-22 11:28 jackson
  9780. * XEventQueue.cs: Queue properly
  9781. 2004-10-21 09:38 jackson
  9782. * XEventQueue.cs: Fix access modifier
  9783. 2004-10-21 09:36 jackson
  9784. * XEventQueue.cs: Don't loose messages
  9785. 2004-10-21 09:22 jackson
  9786. * XEventQueue.cs: Don't loose messages
  9787. 2004-10-20 04:15 jordi
  9788. * BootMode.cs: enum need it by SystemInfo
  9789. 2004-10-19 21:58 pbartok
  9790. * XplatUIWin32.cs:
  9791. - Small sanity check
  9792. 2004-10-19 21:56 pbartok
  9793. * Form.cs:
  9794. - Added private FormParentWindow class which acts as the container
  9795. for our form and as the non-client area where menus are drawn
  9796. - Added/Moved required tie-ins to Jordi's menus
  9797. - Fixed/Implemented the FormStartPosition functionality
  9798. 2004-10-19 21:52 pbartok
  9799. * Control.cs:
  9800. - Removed unneeded locals
  9801. - Added code to all size and location properties to understand and
  9802. deal with the parent container of Form
  9803. 2004-10-19 21:33 pbartok
  9804. * Application.cs:
  9805. - Fixed to deal with new Form subclasses for menus
  9806. 2004-10-19 17:48 jackson
  9807. * XEventQueue.cs: commit correct version of file
  9808. 2004-10-19 16:50 jackson
  9809. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  9810. 2004-10-19 16:15 jordi
  9811. * MenuAPI.cs: MenuBarCalcSize returns the height
  9812. 2004-10-19 08:31 pbartok
  9813. * Control.cs:
  9814. - Added missing call to PreProcessMessage before calling OnXXXKey
  9815. methods
  9816. 2004-10-19 00:04 ravindra
  9817. * ToolTip.cs: Fixed constructor.
  9818. 2004-10-18 09:31 jordi
  9819. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  9820. 2004-10-18 09:26 jordi
  9821. * MenuItem.cs: fixes MenuItem class signature
  9822. 2004-10-18 08:56 jordi
  9823. * MenuAPI.cs: prevents windows from showing in the taskbar
  9824. 2004-10-18 00:28 ravindra
  9825. * ToolTip.cs: Suppressed a warning message.
  9826. 2004-10-18 00:27 ravindra
  9827. * Control.cs: Default value of visible property must be true.
  9828. 2004-10-17 23:19 pbartok
  9829. * ToolTip.cs:
  9830. - Complete implementation
  9831. 2004-10-17 23:19 pbartok
  9832. * XplatUIX11.cs:
  9833. - Added EnableWindow method
  9834. - Added SetModal stub
  9835. - Added generation of WM_ACTIVATE message (still needs testing)
  9836. - Added SetTopMost stub
  9837. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  9838. 2004-10-17 23:17 pbartok
  9839. * XplatUIWin32.cs:
  9840. - Removed VirtualKeys to XplatUIStructs
  9841. - Implemented SetTopMost method
  9842. - Implemented EnableWindow method
  9843. - Bugfix in ScreenToClient()
  9844. - Bugfixes in ClientToScreen()
  9845. 2004-10-17 22:51 pbartok
  9846. * XplatUIStructs.cs:
  9847. - Added WS_EX styles to WindowStyles enumeration
  9848. 2004-10-17 22:50 pbartok
  9849. * XplatUI.cs, XplatUIDriver.cs:
  9850. - Added method for enabling/disabling windows
  9851. - Added method for setting window modality
  9852. - Added method for setting topmost window
  9853. 2004-10-17 22:49 pbartok
  9854. * ThemeWin32Classic.cs:
  9855. - Added ToolTip drawing code
  9856. 2004-10-17 22:49 pbartok
  9857. * Theme.cs:
  9858. - Added ToolTip abstracts
  9859. 2004-10-17 22:47 pbartok
  9860. * Form.cs:
  9861. - Fixed Form.ControlCollection to handle owner relations
  9862. - Added Owner/OwnedForms handling
  9863. - Implemented Z-Ordering for owned forms
  9864. - Removed unneeded private overload of ShowDialog
  9865. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  9866. so I hope)
  9867. - Fixed Close(), had wrong default
  9868. - Added firing of OnLoad event
  9869. - Added some commented out debug code for Ownership handling
  9870. 2004-10-17 22:16 pbartok
  9871. * Control.cs:
  9872. - Fixed/implemented flat list of controls
  9873. 2004-10-17 22:14 pbartok
  9874. * Application.cs:
  9875. - Added code to simulate modal dialogs on Win32
  9876. 2004-10-17 16:11 jordi
  9877. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  9878. mouse event
  9879. 2004-10-17 13:39 jordi
  9880. * MenuAPI.cs: menu drawing fixes
  9881. 2004-10-15 09:10 ravindra
  9882. * StructFormat.cs: General Enum.
  9883. 2004-10-15 09:09 ravindra
  9884. * SizeGripStyle.cs: Enum for Form.
  9885. 2004-10-15 09:08 ravindra
  9886. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  9887. in Theme for ListView.
  9888. 2004-10-15 09:06 ravindra
  9889. * ColumnHeader.cs: Flushing some formatting changes.
  9890. 2004-10-15 09:05 ravindra
  9891. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  9892. style.
  9893. 2004-10-15 09:03 ravindra
  9894. * ListView.cs: Implemented Paint method and fixed coding style.
  9895. 2004-10-15 07:34 jordi
  9896. * MenuAPI.cs: fix for X11
  9897. 2004-10-15 07:32 ravindra
  9898. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  9899. - Renamed Paint() method to Draw() for clarity. Also, moved
  9900. DrawImage() to OnPaint().
  9901. 2004-10-15 07:25 ravindra
  9902. * CheckBox.cs, RadioButton.cs:
  9903. - Removed Redraw (), we get it from ButtonBase.
  9904. - Implemented Paint (), to do class specific painting.
  9905. 2004-10-15 07:16 ravindra
  9906. * ButtonBase.cs:
  9907. - Redraw () is not virtual now.
  9908. - Added an internal virtual method Paint (), so that
  9909. derived classes can do their painting on their own.
  9910. - Modified OnPaint () to call Paint ().
  9911. 2004-10-15 06:43 jordi
  9912. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  9913. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  9914. 2004-10-15 00:30 ravindra
  9915. * MessageBox.cs:
  9916. - MessageBox on windows does not have min/max buttons.
  9917. This change in CreateParams fixes this on Windows. We
  9918. still need to implement this windowstyle behavior in
  9919. our X11 driver.
  9920. 2004-10-14 05:14 ravindra
  9921. * ToolBar.cs:
  9922. - Changed Redraw () to do a Refresh () always.
  9923. - Fixed the MouseMove event handling when mouse is pressed,
  9924. ie drag event handling.
  9925. - Replaced the usage of ToolBarButton.Pressed property to
  9926. ToolBarButton.pressed internal variable.
  9927. 2004-10-14 05:10 ravindra
  9928. * ToolBarButton.cs:
  9929. - Added an internal member 'inside' to handle mouse move
  9930. with mouse pressed ie mouse drag event.
  9931. - Changed 'Pressed' property to return true only when
  9932. 'inside' and 'pressed' are both true.
  9933. - Some coding style love.
  9934. 2004-10-14 00:17 ravindra
  9935. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  9936. public method.
  9937. 2004-10-14 00:15 ravindra
  9938. * ButtonBase.cs: Redraw () related improvements.
  9939. 2004-10-14 00:14 ravindra
  9940. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  9941. removed unnecessary calls to Button.Show () method.
  9942. 2004-10-13 17:50 pbartok
  9943. * XplatUIX11.cs:
  9944. - Formatting fix
  9945. - Removed destroying of window until we solve the problem of X
  9946. destroying the window before us on shutdown
  9947. 2004-10-13 16:32 pbartok
  9948. * ButtonBase.cs:
  9949. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  9950. 2004-10-13 14:18 pbartok
  9951. * XplatUIX11.cs:
  9952. - Added code to destroy the X window
  9953. 2004-10-13 14:18 pbartok
  9954. * XplatUIWin32.cs:
  9955. - Added code to destroy a window
  9956. 2004-10-13 14:12 pbartok
  9957. * ButtonBase.cs:
  9958. - Added the Redraw on Resize that got dropped in the last rev
  9959. 2004-10-13 09:06 pbartok
  9960. * ThemeWin32Classic.cs:
  9961. - Path from John BouAntoun:
  9962. * Fix check rendering (centre correctly for normal style, offset
  9963. correctly for FlatStyle).
  9964. * Fix border color usage (use backcolor) for FlatStyle.Popup
  9965. * Use checkbox.Capture instead of checkbox.is_pressed when
  9966. rendering flatstyle states.
  9967. 2004-10-12 21:48 pbartok
  9968. * ThemeWin32Classic.cs:
  9969. - Removed all occurences of SystemColors and replaced them with the
  9970. matching theme color
  9971. 2004-10-12 21:41 pbartok
  9972. * ThemeWin32Classic.cs:
  9973. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  9974. him using the function for flatstyle drawing
  9975. - Changed functions to use the new version of CPDrawBorder3D
  9976. 2004-10-12 21:15 pbartok
  9977. * ControlPaint.cs:
  9978. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  9979. match MS documentation. They need to return defined colors if the
  9980. passed color matches the configured control color. Thanks to John
  9981. BouAntoun for pointing this out.
  9982. 2004-10-12 20:57 pbartok
  9983. * Control.cs:
  9984. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  9985. color is changed
  9986. 2004-10-12 20:46 pbartok
  9987. * CheckBox.cs:
  9988. - Fix from John BouAntoun: Now properly sets the Appearance property
  9989. 2004-10-12 20:45 pbartok
  9990. * ThemeWin32Classic.cs:
  9991. - Fixes from John BouAntoun: now handles forecolors and backcolors
  9992. for flatstyle rendered controls much better; It also fixes normal
  9993. checkbox rendering when pushed or disabled.
  9994. 2004-10-08 02:50 jordi
  9995. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  9996. work
  9997. 2004-10-07 08:56 jordi
  9998. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  9999. 2004-10-06 03:59 jordi
  10000. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  10001. XplatUIWin32.cs: removes warnings from compilation
  10002. 2004-10-05 12:23 jackson
  10003. * RadioButton.cs: Fix ctor
  10004. 2004-10-05 11:10 pbartok
  10005. * MessageBox.cs:
  10006. - Partial implementation by Benjamin Dasnois
  10007. 2004-10-05 10:15 jackson
  10008. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  10009. by John BouAntoun
  10010. 2004-10-05 03:07 ravindra
  10011. * ToolBar.cs:
  10012. - Removed a private method, Draw ().
  10013. - Fixed the ButtonDropDown event handling.
  10014. - Fixed MouseMove event handling.
  10015. 2004-10-05 03:04 ravindra
  10016. * ThemeWin32Classic.cs:
  10017. - Added DrawListView method and ListViewDefaultSize property.
  10018. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  10019. - Changed DOS style CRLF to Unix format (dos2unix).
  10020. 2004-10-05 03:03 ravindra
  10021. * Theme.cs:
  10022. - Added DrawListView method and ListViewDefaultSize property.
  10023. 2004-10-05 02:42 ravindra
  10024. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  10025. clicks on DropDown arrow.
  10026. 2004-10-04 22:56 jackson
  10027. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  10028. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  10029. Control handle the buffers, derived classes should not have to
  10030. CreateBuffers themselves.
  10031. 2004-10-04 21:20 jackson
  10032. * StatusBar.cs: The control handles resizing the buffers now.
  10033. 2004-10-04 21:18 jackson
  10034. * Control.cs: When resizing the buffers should be invalidated. This
  10035. should be handled in Control not in derived classes.
  10036. 2004-10-04 14:45 jackson
  10037. * TabPage.cs: oops
  10038. 2004-10-04 02:14 pbartok
  10039. * LeftRightAlignment.cs:
  10040. - Initial check-in
  10041. 2004-10-04 01:09 jordi
  10042. * ThemeWin32Classic.cs: fixes right button position causing right
  10043. button not showing on horizontal scrollbars
  10044. 2004-10-02 13:12 pbartok
  10045. * XplatUIX11.cs:
  10046. - Simplified the Invalidate method by using an X call instead of
  10047. generating the expose ourselves
  10048. - Added an expose when the window background is changed
  10049. - Implemented ClientToScreen method
  10050. 2004-10-02 13:08 pbartok
  10051. * XplatUIWin32.cs:
  10052. - Added Win32EnableWindow method (test for implementing modal
  10053. dialogs)
  10054. - Added ClientToScreen method and imports
  10055. 2004-10-02 13:07 pbartok
  10056. * XplatUI.cs, XplatUIDriver.cs:
  10057. - Added ClientToScreen coordinate translation method
  10058. 2004-10-02 13:06 pbartok
  10059. * KeyPressEventArgs.cs:
  10060. - Fixed access level for constructor
  10061. 2004-10-02 13:06 pbartok
  10062. * NativeWindow.cs:
  10063. - Changed access level for the window_collection hash table
  10064. 2004-10-02 13:05 pbartok
  10065. * Form.cs:
  10066. - Added KeyPreview property
  10067. - Added Menu property (still incomplete, pending Jordi's menu work)
  10068. - Implemented ProcessCmdKey
  10069. - Implemented ProcessDialogKey
  10070. - Implemented ProcessKeyPreview
  10071. 2004-10-02 13:02 pbartok
  10072. * Control.cs:
  10073. - Added private method to get the Control object from the window
  10074. handle
  10075. - Implemented ContextMenu property
  10076. - Implemented PointToScreen
  10077. - Implemented PreProcessMessage
  10078. - Implemented IsInputChar
  10079. - Implemented IsInputKey
  10080. - Implemented ProcessCmdKey
  10081. - Completed ProcessKeyEventArgs
  10082. - Fixed message loop to call the proper chain of functions on key
  10083. events
  10084. - Implemented ProcessDialogChar
  10085. - Implemented ProcessDialogKey
  10086. - Implemented ProcessKeyMessage
  10087. - Implemented ProcessKeyPreview
  10088. - Added RaiseDragEvent stub (MS internal method)
  10089. - Added RaiseKeyEvent stub (MS internal method)
  10090. - Added RaiseMouseEvent stub (MS Internal method)
  10091. - Added RaisePaintEvent stub (MS Internal method)
  10092. - Added ResetMouseEventArgs stub (MS Internal method)
  10093. - Implemented RtlTranslateAlignment
  10094. - Implemented RtlTranslateContent
  10095. - Implemented RtlTranslateHorizontal
  10096. - Implemented RtlTranslateLeftRight
  10097. - Added generation of KeyPress event
  10098. 2004-10-02 05:57 ravindra
  10099. * ListViewItem.cs: Added attributes.
  10100. 2004-10-02 05:32 ravindra
  10101. * ListView.cs: Added attributes.
  10102. 2004-10-01 11:53 jackson
  10103. * Form.cs: Implement the Close method so work on MessageBox can
  10104. continue.
  10105. 2004-09-30 14:06 pbartok
  10106. * XplatUIX11.cs:
  10107. - Bug fixes
  10108. 2004-09-30 11:34 jackson
  10109. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  10110. 2004-09-30 07:26 ravindra
  10111. * ListViewItemConverter.cs: Converter for ListViewItem.
  10112. 2004-09-30 07:26 ravindra
  10113. * SortOrder.cs: Enum for ListView control.
  10114. 2004-09-30 07:25 ravindra
  10115. * ColumnHeader.cs: Supporting class for ListView control.
  10116. 2004-09-30 07:24 ravindra
  10117. * ListView.cs, ListViewItem.cs: Initial implementation.
  10118. 2004-09-30 07:20 ravindra
  10119. * ItemActivation.cs: Enum for ListView Control.
  10120. 2004-09-29 20:29 pbartok
  10121. * XplatUIX11.cs:
  10122. - Added lookup of pixel value for background color; tries to get a
  10123. color 'close' to the requested color, it avoids having to create a
  10124. colormap. Depending on the display this could mean the used color
  10125. is slightly off the desired color. Might have to change it to a more
  10126. resource intensive colormap approach, but it will work as a
  10127. workaround to avoid red screens.
  10128. 2004-09-29 14:27 jackson
  10129. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  10130. 2004-09-28 12:44 pbartok
  10131. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  10132. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  10133. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  10134. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  10135. TrackBar.cs, VScrollBar.cs:
  10136. - Streamlined Theme interfaces:
  10137. * Each DrawXXX method for a control now is passed the object for
  10138. the control to be drawn in order to allow accessing any state the
  10139. theme might require
  10140. * ControlPaint methods for the theme now have a CP prefix to avoid
  10141. name clashes with the Draw methods for controls
  10142. * Every control now retrieves it's DefaultSize from the current
  10143. theme
  10144. 2004-09-28 12:17 jackson
  10145. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  10146. drawing
  10147. 2004-09-24 14:57 jackson
  10148. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  10149. Gives us a nice little performance boost.
  10150. 2004-09-24 12:02 jackson
  10151. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  10152. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  10153. Control and supporting classes. Initial checkin
  10154. 2004-09-23 13:08 jackson
  10155. * Form.cs: Temp build fixage
  10156. 2004-09-23 01:39 ravindra
  10157. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  10158. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  10159. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  10160. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  10161. EventHandlers needed by ListView Control.
  10162. 2004-09-22 14:12 pbartok
  10163. * ScrollableControl.cs:
  10164. - Implemented DockPadding property
  10165. - Implemented AutoScroll property
  10166. - Implemented AutoScrollMargin property
  10167. - Implemented AutoScrollMinSize property
  10168. - Implemented AutoScrollPosition property
  10169. - Implemented DisplayRectangle property (still incomplete)
  10170. - Implemented CreateParams property
  10171. - Implemented HScroll property
  10172. - Implemented VScroll property
  10173. - Implemented OnVisibleChanged property
  10174. 2004-09-22 14:09 pbartok
  10175. * Form.cs:
  10176. - Added Form.ControllCollection class
  10177. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  10178. RemoveOwnedForm (still incomplete, missing on-top and common
  10179. minimize/maximize behaviour)
  10180. - Added StartPosition property (still incomplete, does not use when
  10181. creating the form)
  10182. - Added ShowDialog() methods (still incomplete, missing forcing the
  10183. dialog modal)
  10184. 2004-09-22 14:05 pbartok
  10185. * Application.cs:
  10186. - Added message loop for modal dialogs
  10187. 2004-09-22 14:02 pbartok
  10188. * GroupBox.cs:
  10189. - Fixed wrong types for events
  10190. 2004-09-22 14:00 pbartok
  10191. * Shortcut.cs, FormWindowState.cs:
  10192. - Fixed wrong values
  10193. 2004-09-22 12:01 jackson
  10194. * Control.cs: Text is never null
  10195. 2004-09-20 22:14 pbartok
  10196. * XplatUIWin32.cs:
  10197. - Fixed accessibility level for Idle handler
  10198. 2004-09-20 18:54 jackson
  10199. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  10200. XplatUIX11.cs: New message loop that uses poll so we don't get a
  10201. busy loop
  10202. 2004-09-17 10:43 pbartok
  10203. * ScrollBar.cs:
  10204. - Fixed behaviour of arrow buttons. Now properly behaves like
  10205. Buttons (and like Microsoft's scrollbar arrow buttons)
  10206. 2004-09-17 10:14 pbartok
  10207. * ScrollBar.cs:
  10208. - Added missing release of keyboard/mouse capture
  10209. 2004-09-17 06:18 jordi
  10210. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  10211. Theme.cs: Very early menu support
  10212. 2004-09-16 17:45 pbartok
  10213. * XplatUIWin32.cs:
  10214. - Fixed sending a window to the front
  10215. - Added overload for SetWindowPos to avoid casting
  10216. 2004-09-16 17:44 pbartok
  10217. * Control.cs:
  10218. - Added SendToBack and BringToFront methods
  10219. 2004-09-16 07:00 ravindra
  10220. * Copyright: Added Novell URL.
  10221. 2004-09-16 07:00 ravindra
  10222. * ToolBar.cs: Invalidate should be done before redrawing.
  10223. 2004-09-15 21:19 ravindra
  10224. * ColumnHeaderStyle.cs: Enum for ListView Control.
  10225. 2004-09-15 21:18 ravindra
  10226. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  10227. ListView Control.
  10228. 2004-09-13 18:26 jackson
  10229. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  10230. properly
  10231. 2004-09-13 18:13 jackson
  10232. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  10233. a second thread and post messages into the main threads message
  10234. queue. This makes timing much more consistent. Both win2K and XP
  10235. have a minimum timer value of 15 milliseconds, so we now do this
  10236. too.
  10237. 2004-09-13 15:18 pbartok
  10238. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  10239. XplatUIX11.cs:
  10240. - Added Z-Ordering methods
  10241. 2004-09-13 10:56 pbartok
  10242. * Form.cs:
  10243. - Fixed #region names
  10244. - Moved properties and methods into their proper #regions
  10245. 2004-09-13 10:51 pbartok
  10246. * Form.cs:
  10247. - Added Accept and CancelButton properties
  10248. - Added ProcessDialogKey() method
  10249. 2004-09-13 08:18 pbartok
  10250. * IWindowTarget.cs:
  10251. - Initial check-in
  10252. 2004-09-10 21:50 pbartok
  10253. * Control.cs:
  10254. - Added DoDragDrop() [incomplete]
  10255. - Properly implemented 'Visible' handling
  10256. - Added SetVisibleCore()
  10257. - Implemented FindChildAtPoint()
  10258. - Implemented GetContainerControl()
  10259. - Implemented Hide()
  10260. 2004-09-10 19:28 pbartok
  10261. * Control.cs:
  10262. - Moved methods into their appropriate #regions
  10263. - Reordered methods within regions alphabetically
  10264. 2004-09-10 18:57 pbartok
  10265. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  10266. - Added method to retrieve text from window
  10267. 2004-09-10 18:56 pbartok
  10268. * Control.cs:
  10269. - Moved some internal functions into the internal region
  10270. - Implemented FontHeight
  10271. - Implemented RenderRightToLeft
  10272. - Implemented ResizeRedraw
  10273. - Implemented ShowFocusCues
  10274. - Implemented ShowKeyboardCues
  10275. - Implemented FromChildHandle
  10276. - Implemented FromHandle
  10277. - Implemented IsMnemonic
  10278. - Implemented ReflectMessage
  10279. - All public and protected Static Methods are now complete
  10280. 2004-09-10 16:54 pbartok
  10281. * Control.cs:
  10282. - Implemented remaining missing public instance properties
  10283. - Alphabetized some out of order properties
  10284. 2004-09-10 05:51 ravindra
  10285. * PictureBox.cs: Added a check for null image.
  10286. 2004-09-10 00:59 jordi
  10287. * GroupBox.cs: remove cvs tag
  10288. 2004-09-09 05:25 ravindra
  10289. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  10290. 2004-09-09 05:23 ravindra
  10291. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  10292. parent redraw.
  10293. 2004-09-09 02:28 pbartok
  10294. * ThemeWin32Classic.cs:
  10295. - Improve disabled string look
  10296. 2004-09-09 01:15 jordi
  10297. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  10298. args and handler
  10299. 2004-09-08 23:56 ravindra
  10300. * ItemBoundsPortion.cs: It's enum, not a class!
  10301. 2004-09-08 23:47 ravindra
  10302. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  10303. Enums for Form.
  10304. 2004-09-08 21:13 ravindra
  10305. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  10306. ListView control.
  10307. 2004-09-08 21:03 ravindra
  10308. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  10309. avoid crash.
  10310. 2004-09-08 21:01 ravindra
  10311. * ScrollableControl.cs: Removed unreachable code.
  10312. 2004-09-08 06:45 jordi
  10313. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  10314. 2004-09-08 01:00 jackson
  10315. * XplatUIX11.cs: Only run the timers when updating the message
  10316. queue. This effectively gives X messages a higher priority then
  10317. timer messages. Timers still need love though
  10318. 2004-09-07 14:01 jackson
  10319. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  10320. this for us and the handle is no longer valid.
  10321. 2004-09-07 13:59 jackson
  10322. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  10323. loop that manages to not crash. TODO: Add poll and cleanup timers
  10324. 2004-09-07 11:12 jordi
  10325. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  10326. 2004-09-07 03:40 jordi
  10327. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  10328. fixes, methods, multiple links
  10329. 2004-09-06 06:55 jordi
  10330. * Control.cs: Caches ClientRectangle rectangle value
  10331. 2004-09-05 02:03 jordi
  10332. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  10333. certain situations
  10334. 2004-09-04 11:10 jordi
  10335. * Label.cs: Refresh when font changed
  10336. 2004-09-02 16:24 pbartok
  10337. * Control.cs:
  10338. - Added sanity check to creation of double buffer bitmap
  10339. 2004-09-02 16:24 pbartok
  10340. * ButtonBase.cs:
  10341. - Fixed selection of text color
  10342. - Fixed handling of resize event; now properly recreates double
  10343. buffering bitmap
  10344. - Added missing assignment of TextAlignment
  10345. - Added proper default for TextAlignment
  10346. 2004-09-02 14:26 pbartok
  10347. * RadioButton.cs:
  10348. - Added missing RadioButton.RadioButtonAccessibleObject class
  10349. 2004-09-02 14:26 pbartok
  10350. * Control.cs:
  10351. - Added missing Control.ControlAccessibleObject class
  10352. - Started to implement Select()ion mechanisms, still very incomplete
  10353. 2004-09-02 14:25 pbartok
  10354. * AccessibleObject.cs:
  10355. - Added missing methods
  10356. 2004-09-02 14:23 pbartok
  10357. * AccessibleNavigation.cs, AccessibleSelection.cs:
  10358. - Initial check-in
  10359. 2004-09-02 10:32 jordi
  10360. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  10361. pool for pens, brushes, and hatchbruses
  10362. 2004-09-01 15:30 jackson
  10363. * StatusBar.cs: Fix typo
  10364. 2004-09-01 14:44 pbartok
  10365. * RadioButton.cs:
  10366. - Fixed state
  10367. 2004-09-01 14:39 pbartok
  10368. * Button.cs, RadioButton.cs:
  10369. - Functional initial check-in
  10370. 2004-09-01 14:01 pbartok
  10371. * CheckBox.cs:
  10372. - Added missing default
  10373. - Added missing region mark
  10374. 2004-09-01 09:10 jordi
  10375. * Label.cs: fixes method signatures, new methods, events, fixes
  10376. autosize
  10377. 2004-09-01 07:19 jordi
  10378. * Control.cs: Init string variables with an empty object
  10379. 2004-09-01 04:20 jordi
  10380. * Control.cs: fires OnFontChanged event
  10381. 2004-08-31 20:07 pbartok
  10382. * ButtonBase.cs:
  10383. - Enabled display of strings
  10384. 2004-08-31 20:05 pbartok
  10385. * Form.cs:
  10386. - Added (partial) implementation of DialogResult; rest needs to be
  10387. implemented when the modal loop code is done
  10388. 2004-08-31 19:55 pbartok
  10389. * CheckBox.cs:
  10390. - Fixed to match the removal of the needs_redraw concept
  10391. 2004-08-31 19:55 pbartok
  10392. * ButtonBase.cs:
  10393. - Removed the rather odd split between 'needs redraw' and redrawing
  10394. - Now handles the events that require regeneration (ambient
  10395. properties and size)
  10396. 2004-08-31 19:41 pbartok
  10397. * Control.cs:
  10398. - Added firing of BackColorChanged event
  10399. - Added TopLevelControl property
  10400. - Fixed handling of WM_ERASEBKGRND message
  10401. 2004-08-31 12:49 pbartok
  10402. * ButtonBase.cs:
  10403. - Removed debug
  10404. - Minor fixes
  10405. 2004-08-31 12:48 pbartok
  10406. * CheckBox.cs:
  10407. - Finished (famous last words)
  10408. 2004-08-31 04:35 jordi
  10409. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  10410. scrolling bugs, adds new methods
  10411. 2004-08-30 14:42 pbartok
  10412. * CheckBox.cs:
  10413. - Implemented CheckBox drawing code
  10414. 2004-08-30 14:42 pbartok
  10415. * ButtonBase.cs:
  10416. - Made Redraw() and CheckRedraw() virtual
  10417. - Improved mouse up/down/move logic to properly track buttons
  10418. 2004-08-30 09:44 pbartok
  10419. * CheckBox.cs:
  10420. - Updated to fix broken build. Not complete yet.
  10421. 2004-08-30 09:28 pbartok
  10422. * CheckState.cs:
  10423. - Initial checkin
  10424. 2004-08-30 09:17 pbartok
  10425. * Appearance.cs:
  10426. - Initial check-in
  10427. 2004-08-27 16:12 ravindra
  10428. * ToolBarButton.cs: Added TypeConverter attribute.
  10429. 2004-08-27 16:07 ravindra
  10430. * ImageIndexConverter.cs: Implemented.
  10431. 2004-08-27 14:17 pbartok
  10432. * Control.cs:
  10433. - Removed unneeded stack vars
  10434. - First attempt to fix sizing issues when layout is suspended
  10435. 2004-08-25 15:35 jordi
  10436. * ScrollBar.cs: more fixes to scrollbar
  10437. 2004-08-25 14:04 ravindra
  10438. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  10439. Added the missing divider code and grip for ToolBar Control.
  10440. 2004-08-25 13:20 pbartok
  10441. * Control.cs:
  10442. - Control now properly passes the ambient background color to child
  10443. controls
  10444. 2004-08-25 13:20 jordi
  10445. * ScrollBar.cs: small bug fix regarding bar position
  10446. 2004-08-25 12:33 pbartok
  10447. * Timer.cs:
  10448. - Now only calls SetTimer or KillTimer if the enabled state has
  10449. changed
  10450. 2004-08-25 12:33 pbartok
  10451. * XplatUIWin32.cs:
  10452. - Fixed timer handling, now seems to work
  10453. - Improved error message for window creation
  10454. 2004-08-25 12:32 pbartok
  10455. * Control.cs:
  10456. - Fixed generation of MouseUp message
  10457. 2004-08-25 12:29 jordi
  10458. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  10459. and fixes for progressbar
  10460. 2004-08-24 18:43 ravindra
  10461. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  10462. in ToolBar control.
  10463. 2004-08-24 17:15 pbartok
  10464. * Panel.cs:
  10465. - Added #region
  10466. - Added missing events
  10467. - Alphabetized
  10468. 2004-08-24 17:14 pbartok
  10469. * StatusBar.cs, PictureBox.cs:
  10470. - Now uses Control's CreateParams
  10471. 2004-08-24 16:36 pbartok
  10472. * XplatUIX11.cs:
  10473. - Fixed background color handling
  10474. - Fixed sending of enter/leave events on a grab
  10475. 2004-08-24 16:35 pbartok
  10476. * X11Structs.cs:
  10477. - Refined definitions for CrossingEvent
  10478. 2004-08-24 12:37 jordi
  10479. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  10480. formmating, methods signature, and adds missing events
  10481. 2004-08-24 12:24 jordi
  10482. * Control.cs: fire OnEnabledChanged event
  10483. 2004-08-24 11:17 pbartok
  10484. * XplatUIWin32.cs:
  10485. - Implemented SetTimer() and KillTimer()
  10486. 2004-08-24 11:16 pbartok
  10487. * XplatUIX11.cs:
  10488. - Now uses Remove instead of Add to kill the timer
  10489. 2004-08-24 10:16 jackson
  10490. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  10491. picture boxes in the theme now. Draw picture box borders and obey
  10492. sizing modes
  10493. 2004-08-24 05:49 jackson
  10494. * Timer.cs: Remove top secret debugging code
  10495. 2004-08-24 05:34 jackson
  10496. * PictureBox.cs: Temp hack to make picture boxes draw their full
  10497. image
  10498. 2004-08-24 05:29 jackson
  10499. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  10500. XplatUIX11.cs: Move timers to the driver level. On X they are
  10501. queued by the driver and checked on idle.
  10502. 2004-08-24 01:07 jackson
  10503. * XplatUIX11.cs: Use a queue for async messages instead of passing
  10504. them as ClientMessages since that was totally broken. Also simply
  10505. check for events and return an idle message if none are found. This
  10506. gives us an idle handler, and prevents deadlocking when no messages
  10507. are in the queue.
  10508. 2004-08-23 18:19 ravindra
  10509. * XplatUIWin32.cs: Removed the unwanted destructor.
  10510. 2004-08-23 17:27 pbartok
  10511. * ButtonBase.cs:
  10512. - Finishing touches. Works now, just needs some optimizations.
  10513. 2004-08-23 16:53 jordi
  10514. * ScrollBar.cs: small fix
  10515. 2004-08-23 16:45 pbartok
  10516. * Application.cs:
  10517. - Removed debug output
  10518. - Simplifications
  10519. 2004-08-23 16:43 jordi
  10520. * ScrollBar.cs: [no log message]
  10521. 2004-08-23 16:10 pbartok
  10522. * Form.cs:
  10523. - Fixed handling of WM_CLOSE message
  10524. - Removed debug output
  10525. 2004-08-23 16:09 pbartok
  10526. * Application.cs:
  10527. - Added handling of Idle event
  10528. - Added handling of form closing
  10529. - Fixed reporting of MessageLoop property
  10530. - Removed some unneeded code, should provide a bit of a speedup
  10531. 2004-08-23 15:22 pbartok
  10532. * Control.cs:
  10533. - Added InitLayout() method
  10534. - Added code to properly perform layout when Anchor or Dock property
  10535. is changed
  10536. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  10537. LAMESPEC, tried to do it in a way that makes sense
  10538. 2004-08-23 14:10 jordi
  10539. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  10540. properties and methods
  10541. 2004-08-23 13:55 pbartok
  10542. * Control.cs:
  10543. - Properly fixed Jordi's last fix
  10544. - Now uses Cursor's Position property instead of calling XplatUI
  10545. directly
  10546. 2004-08-23 13:44 jordi
  10547. * PaintEventHandler.cs: Adding missing attribute
  10548. 2004-08-23 13:39 pbartok
  10549. * Cursor.cs:
  10550. - Implemented Position property
  10551. 2004-08-23 13:39 pbartok
  10552. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  10553. - Added method to move mouse cursor
  10554. 2004-08-23 13:39 pbartok
  10555. * XplatUIX11.cs:
  10556. - Fixed setting of background color
  10557. - Added method to move mouse cursor
  10558. 2004-08-23 13:16 jordi
  10559. * Control.cs: avoids null exception
  10560. 2004-08-22 17:46 jackson
  10561. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  10562. PictureBox
  10563. 2004-08-22 17:40 jackson
  10564. * XplatUIX11.cs: Add some missing locks
  10565. 2004-08-22 15:10 pbartok
  10566. * Control.cs, Form.cs:
  10567. - Removed OverlappedWindow style from Control, instead it's default
  10568. now is child
  10569. - Made form windows OverlappedWindow by default
  10570. 2004-08-22 13:34 jackson
  10571. * ScrollBar.cs: Update the position through the Value property so
  10572. the OnValueChanged event is raised.
  10573. 2004-08-22 12:04 pbartok
  10574. * SWF.csproj:
  10575. - Added Cursor.cs and UserControl.cs
  10576. 2004-08-22 12:03 pbartok
  10577. * Cursor.cs:
  10578. - Started implementation, not usable yet
  10579. 2004-08-22 12:00 pbartok
  10580. * UserControl.cs:
  10581. - Implemented UserControl (complete)
  10582. 2004-08-21 19:20 ravindra
  10583. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  10584. 2004-08-21 18:49 ravindra
  10585. * ToolBar.cs: Probably this completes the missing attributes in
  10586. toolbar control.
  10587. 2004-08-21 18:03 ravindra
  10588. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  10589. Fixed toolbar control signatures.
  10590. 2004-08-21 16:32 pbartok
  10591. * LinkLabel.cs:
  10592. - Signature Fixes
  10593. 2004-08-21 16:30 pbartok
  10594. * Label.cs:
  10595. - Signature fixes
  10596. 2004-08-21 16:19 pbartok
  10597. * Control.cs, Label.cs:
  10598. - Signature fixes
  10599. 2004-08-21 15:57 pbartok
  10600. * ButtonBase.cs:
  10601. - Added loads of debug output for development
  10602. - Fixed typo in method name
  10603. 2004-08-21 15:52 pbartok
  10604. * ToolBarButtonClickEventArgs.cs:
  10605. - Added missing base class
  10606. 2004-08-21 14:53 pbartok
  10607. * Control.cs:
  10608. - Updated to match new GrabWindow signature
  10609. 2004-08-21 14:51 pbartok
  10610. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  10611. - Added method to get default display size
  10612. 2004-08-21 14:23 pbartok
  10613. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  10614. - Added method to query current grab state
  10615. - Added argument to allow confining a grab to a window
  10616. 2004-08-21 14:22 pbartok
  10617. * Keys.cs:
  10618. - Added [Flags] attribute so that modifiers can be used in bitwise
  10619. ops
  10620. 2004-08-21 14:21 pbartok
  10621. * TrackBar.cs, ScrollBar.cs:
  10622. - Replaced direct XplatUI calls with their Control counterpart
  10623. 2004-08-21 13:32 pbartok
  10624. * Control.cs:
  10625. - Implemented Created property
  10626. 2004-08-21 13:28 pbartok
  10627. * Control.cs:
  10628. - Implemented ContainsFocus
  10629. 2004-08-21 13:26 pbartok
  10630. * Control.cs:
  10631. - Implemented CausesValidation
  10632. 2004-08-21 13:21 pbartok
  10633. * Control.cs:
  10634. - Implemented CanFocus
  10635. - Implemented CanSelect
  10636. - Implemented Capture
  10637. 2004-08-21 12:35 pbartok
  10638. * XplatUIWin32.cs:
  10639. - Fixed bug with Async message handling
  10640. - Implemented getting the ModifierKeys
  10641. 2004-08-21 12:32 jackson
  10642. * AsyncMethodResult.cs: Make sure we have the mutex before we
  10643. release it. Fixes BeginInvoke on windows
  10644. 2004-08-21 11:31 pbartok
  10645. * XplatUIWin32.cs, XplatUIX11.cs:
  10646. - Drivers now return proper mouse state
  10647. 2004-08-21 10:54 jackson
  10648. * Control.cs: Implement EndInvoke
  10649. 2004-08-21 10:48 jackson
  10650. * Timer.cs: Remove unneeded finalizer
  10651. 2004-08-20 19:52 ravindra
  10652. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  10653. in mouse event handling in the ToolBar control.
  10654. 2004-08-20 19:50 ravindra
  10655. * ImageList.cs: Changed draw method to use the arguments passed in
  10656. to draw the image.
  10657. 2004-08-20 18:58 pbartok
  10658. * XplatUIStructs.cs:
  10659. - Added private message for async communication
  10660. 2004-08-20 17:38 ravindra
  10661. * Control.cs: Made RightToLeft property virtual and removed a
  10662. Console.WriteLine.
  10663. 2004-08-20 14:39 jordi
  10664. * ThemeGtk.cs: use style_attach
  10665. 2004-08-20 14:39 pbartok
  10666. * XplatUIWin32.cs:
  10667. - Added jackson's Async code from X11 to Win32
  10668. 2004-08-20 14:09 pbartok
  10669. * SWF.csproj:
  10670. - Added all new files
  10671. 2004-08-20 14:09 pbartok
  10672. * Control.cs:
  10673. - Added call to set window background color
  10674. 2004-08-20 14:03 pbartok
  10675. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  10676. - Added method for setting the window background
  10677. 2004-08-20 14:02 pbartok
  10678. * XplatUIWin32.cs:
  10679. - Added method for setting the background color
  10680. - Added handling for erasing the window background
  10681. 2004-08-20 13:45 jordi
  10682. * TrackBar.cs: fixes timer, new properties and methods
  10683. 2004-08-20 13:34 jackson
  10684. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  10685. correct thread
  10686. 2004-08-20 13:22 jackson
  10687. * Timer.cs: Timer Tick events are now handed through Controls Async
  10688. mechanism so the callbacks are executed in the same thread as X
  10689. 2004-08-20 13:19 jackson
  10690. * XplatUIDriver.cs: Expose functionality to send async messages
  10691. through the driver
  10692. 2004-08-20 13:18 jackson
  10693. * Control.cs: Implement Begininvoke
  10694. 2004-08-20 13:14 jackson
  10695. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  10696. messages through the driver
  10697. 2004-08-20 13:12 jackson
  10698. * XplatUIX11.cs: Lock before all X operations. Also added Async
  10699. method functionality through XSendEvent
  10700. 2004-08-20 13:11 jackson
  10701. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  10702. This will screw up on 64 bit systems)
  10703. 2004-08-20 13:10 jackson
  10704. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  10705. Async messages through X/Win32
  10706. 2004-08-19 19:39 pbartok
  10707. * XplatUIX11.cs:
  10708. - Updated code to match new HandleData.DeviceContext type
  10709. 2004-08-19 19:38 pbartok
  10710. * HandleData.cs:
  10711. - Made DeviceContext a generic object to allow usage from various
  10712. drivers
  10713. - Added support for queueing Windows messages
  10714. 2004-08-19 19:37 pbartok
  10715. * XplatUIWin32.cs:
  10716. - Added generation of MouseEnter, MouseLeave and MouseHover events
  10717. - Added cleanup on EndPaint
  10718. 2004-08-19 19:17 pbartok
  10719. * Control.cs:
  10720. - Added handling of WM_MOUSEHOVER
  10721. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  10722. code
  10723. 2004-08-19 18:55 jordi
  10724. * ThemeGtk.cs: fixes button order
  10725. 2004-08-19 18:12 jordi
  10726. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  10727. 2004-08-19 17:09 pbartok
  10728. * Control.cs:
  10729. - Added Right property
  10730. - Added RightToLeft property
  10731. 2004-08-19 16:27 jordi
  10732. * ThemeGtk.cs: experimental GTK theme support
  10733. 2004-08-19 16:26 jordi
  10734. * ITheme.cs, Theme.cs: move themes from an interface to a class
  10735. 2004-08-19 16:25 jordi
  10736. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  10737. theme enhancaments
  10738. 2004-08-19 16:04 pbartok
  10739. * XplatUIX11.cs:
  10740. - Added colormap basics
  10741. - Added a way to re-initialize with a different display handle
  10742. - Fixed setting of the window background color
  10743. - Added various X11 imports related to colors and colormaps
  10744. 2004-08-19 15:51 pbartok
  10745. * X11Structs.cs:
  10746. - Removed packing hints (Paolo suggested this a while back)
  10747. - fixed colormap type
  10748. - Added default Atom types
  10749. - Added Screen and color structs and enums
  10750. 2004-08-19 15:39 pbartok
  10751. * ImageList.cs:
  10752. - Added missing Draw() method
  10753. - Added missing RecreateHandle event
  10754. 2004-08-19 15:30 pbartok
  10755. * Form.cs:
  10756. - Added handling of WM_CLOSE
  10757. 2004-08-18 13:16 jordi
  10758. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  10759. a table
  10760. 2004-08-18 09:56 jordi
  10761. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  10762. 2004-08-17 15:31 ravindra
  10763. * SWF.csproj: Updated project.
  10764. 2004-08-17 15:25 pbartok
  10765. * Control.cs:
  10766. - Drawing improvement; don't call UpdateBounds if we are not visible
  10767. (or have been minimized)
  10768. 2004-08-17 15:24 pbartok
  10769. * XplatUIWin32.cs:
  10770. - Finished IsVisible
  10771. - Added Win32GetWindowPlacement
  10772. 2004-08-17 15:08 jackson
  10773. * Panel.cs: Initial checkin of the Panel
  10774. 2004-08-17 14:25 pbartok
  10775. * Control.cs:
  10776. - Fixed broken handling of default window sizes
  10777. 2004-08-17 13:29 jackson
  10778. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  10779. has a large startup time.
  10780. 2004-08-17 10:25 jackson
  10781. * HandleData.cs: union areas properly
  10782. 2004-08-17 10:12 jackson
  10783. * HandleData.cs: union areas properly
  10784. 2004-08-16 20:00 ravindra
  10785. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  10786. 2004-08-16 18:48 ravindra
  10787. * ToolBar.cs: Added attributes.
  10788. 2004-08-16 17:17 ravindra
  10789. * SWF.csproj: Updated project.
  10790. 2004-08-16 17:16 jackson
  10791. * XplatUIX11.cs: Check for more expose events before sending a
  10792. WM_PAINT so they can all be grouped together. This makes dragging a
  10793. window across another window redraw in a sane way.
  10794. 2004-08-16 15:47 pbartok
  10795. * Control.cs:
  10796. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  10797. support OnMouseEnter/Leave()
  10798. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  10799. exposure handling
  10800. 2004-08-16 15:46 pbartok
  10801. * XplatUIStructs.cs, XplatUIX11.cs:
  10802. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  10803. OnMouseEnter/Leave()
  10804. 2004-08-16 15:34 jackson
  10805. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  10806. sure messages get the message field set to WM_NULL if they are not
  10807. handled.
  10808. 2004-08-16 15:24 jackson
  10809. * HandleData.cs: HandleData is used for storing message information
  10810. for window handles
  10811. 2004-08-15 17:23 ravindra
  10812. * ColorDepth.cs: Added attribute.
  10813. 2004-08-15 17:23 ravindra
  10814. * SWF.csproj: Updated project for ToolBar Control.
  10815. 2004-08-15 17:20 ravindra
  10816. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  10817. control and also dos2unix format.
  10818. 2004-08-15 17:13 ravindra
  10819. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  10820. ToolBarButtonClickEventArgs.cs,
  10821. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  10822. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  10823. 2004-08-15 15:31 pbartok
  10824. * ButtonBase.cs:
  10825. - First (mostly) working version
  10826. 2004-08-13 16:15 pbartok
  10827. * Control.cs:
  10828. - Fixed Anchor default
  10829. 2004-08-13 15:43 pbartok
  10830. * Control.cs:
  10831. - Changed GetCursorPos signature
  10832. 2004-08-13 15:42 pbartok
  10833. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  10834. - Changed signature for GetCursorPos
  10835. 2004-08-13 15:25 pbartok
  10836. * XplatUIX11.cs:
  10837. - Cleanup
  10838. - Fixed resizing/exposure handling
  10839. 2004-08-13 15:22 jordi
  10840. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  10841. with tickposition
  10842. 2004-08-13 14:55 jordi
  10843. * TrackBar.cs: change from wndproc to events
  10844. 2004-08-13 13:00 jordi
  10845. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  10846. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  10847. 2004-08-13 12:53 pbartok
  10848. * XplatUIWin32.cs:
  10849. - Changed GetWindowPos to also provide client area size
  10850. - Fixed broken prototypes for several win32 functions
  10851. 2004-08-13 12:53 pbartok
  10852. * XplatUI.cs, XplatUIDriver.cs:
  10853. - Changed GetWindowPos to also provide client area size
  10854. 2004-08-13 12:52 pbartok
  10855. * XplatUIX11.cs:
  10856. - Added generation of WM_POSCHANGED
  10857. - Changed GetWindowPos to also provide client area size
  10858. 2004-08-13 12:52 pbartok
  10859. * Control.cs:
  10860. - Added Dispose() and destructor
  10861. - Fixed resizing and bounds calculation
  10862. - Fixed Layout
  10863. - Added memory savings for invisible windows
  10864. 2004-08-13 12:46 jordi
  10865. * TrackBar.cs: adds timer and grap window
  10866. 2004-08-13 10:25 jackson
  10867. * Timer.cs: SWF Timer
  10868. 2004-08-12 16:59 pbartok
  10869. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  10870. - Implemented method to get current mouse position
  10871. 2004-08-12 14:29 jordi
  10872. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  10873. enhancement, fix mouse problems, highli thumb, etc
  10874. 2004-08-12 13:31 pbartok
  10875. * Control.cs:
  10876. - Fixed Anchoring bugs
  10877. 2004-08-12 13:01 jackson
  10878. * StatusBar.cs: Don't forget things
  10879. 2004-08-12 12:54 jackson
  10880. * ThemeWin32Classic.cs: Handle owner draw status bars
  10881. 2004-08-12 12:54 jackson
  10882. * StatusBar.cs: Implement missing properties, events, and methods.
  10883. Handle mouse clicking
  10884. 2004-08-12 10:19 jackson
  10885. * StatusBarPanelClickEventArgs.cs,
  10886. StatusBarPanelClickEventHandler.cs: Classes for handling status
  10887. bar panel click events
  10888. 2004-08-12 10:10 jackson
  10889. * Control.cs: Add missing properties
  10890. 2004-08-12 09:46 pbartok
  10891. * BindingsManagerBase.cs:
  10892. - Name changed to BindingManagerBase.cs
  10893. 2004-08-12 09:25 jordi
  10894. * ScrollableControl.cs: calls ctrlbase instead of exeception
  10895. 2004-08-11 16:28 pbartok
  10896. * InputLanguageChangingEventArgs.cs:
  10897. - Never check in before compiling. Fixes the last check-in
  10898. 2004-08-11 16:26 pbartok
  10899. * InputLanguageChangingEventArgs.cs:
  10900. - More signature fixes
  10901. 2004-08-11 16:20 pbartok
  10902. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  10903. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  10904. ImageListStreamer.cs, InputLanguage.cs,
  10905. InputLanguageChangedEventArgs.cs,
  10906. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  10907. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  10908. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  10909. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  10910. - Signature fixes
  10911. 2004-08-11 16:16 pbartok
  10912. * Application.cs:
  10913. - Fixed Signature
  10914. - Added .Net 1.1 method
  10915. 2004-08-11 15:25 pbartok
  10916. * SWF.csproj:
  10917. - Fixed BindingManagerBase.cs filename
  10918. 2004-08-11 15:22 pbartok
  10919. * BindingManagerBase.cs:
  10920. - Was checked in with wrong filename
  10921. 2004-08-11 14:50 pbartok
  10922. * SWF.csproj:
  10923. - Updated
  10924. 2004-08-11 13:41 jordi
  10925. * XplatUIWin32.cs: Fixes ClientRect
  10926. 2004-08-11 13:19 pbartok
  10927. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  10928. XplatUIX11.cs:
  10929. - We had SetWindowPos and MoveWindow to set window positions and
  10930. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  10931. keep SetWindowPos as matching counterpart
  10932. - Added some X11 sanity checking
  10933. 2004-08-11 12:59 pbartok
  10934. * Control.cs:
  10935. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  10936. (It seems that SetBounds is just a front for SetBoundsCore and
  10937. SetBoundsCore updates the underlying window system and
  10938. UpdateBounds is responsible for updating the variables associated
  10939. with the Control and sending the events)
  10940. - Major cleanup of Size handling; we now have two sizes, client_size
  10941. and bounds. Bounds defines the window with decorations, client_size
  10942. without them.
  10943. 2004-08-11 12:55 pbartok
  10944. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  10945. - Added method to calculate difference between decorated window and
  10946. raw client area
  10947. 2004-08-11 12:54 pbartok
  10948. * Label.cs:
  10949. - Forcing redraw on resize
  10950. 2004-08-11 11:43 pbartok
  10951. * ImageList.cs:
  10952. - Removed disposing of the actual images when the list is disposed
  10953. 2004-08-11 09:13 pbartok
  10954. * Control.cs:
  10955. - Now properly reparents windows
  10956. 2004-08-11 08:37 pbartok
  10957. * Control.cs:
  10958. - Duh!
  10959. 2004-08-11 07:47 pbartok
  10960. * Control.cs:
  10961. - Rewrote the collection stuff. Might not be as fast now, not
  10962. keeping the number of children around and accessible directly, but
  10963. it's more straightforward
  10964. 2004-08-11 07:44 pbartok
  10965. * AccessibleObject.cs:
  10966. - Fixed to match ControlCollection rewrite
  10967. 2004-08-11 07:43 pbartok
  10968. * ImageList.cs:
  10969. - Added missing creation of the collection list
  10970. 2004-08-10 20:08 jackson
  10971. * StatusBar.cs: Get the paint message from WndProc
  10972. 2004-08-10 19:31 jackson
  10973. * ThemeWin32Classic.cs: Create Brushes as little as possible
  10974. 2004-08-10 19:20 jackson
  10975. * UICues.cs: Add Flags attribute
  10976. 2004-08-10 19:19 jackson
  10977. * StatusBarPanel.cs: Signature cleanup
  10978. 2004-08-10 19:10 jackson
  10979. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  10980. Initial implementation of status bar item drawing
  10981. 2004-08-10 17:27 jordi
  10982. * TrackBar.cs: add missing methods, properties, and restructure to
  10983. hide extra ones
  10984. 2004-08-10 16:24 jackson
  10985. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  10986. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  10987. attribute
  10988. 2004-08-10 13:21 jordi
  10989. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  10990. enhancements and standarize on win colors defaults
  10991. 2004-08-10 12:52 jackson
  10992. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  10993. ThemeWin32Classic.cs: Implement DrawItem functionality
  10994. 2004-08-10 12:47 jordi
  10995. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  10996. 2004-08-10 12:32 jordi
  10997. * Control.cs: throw ontextchange event
  10998. 2004-08-10 11:43 pbartok
  10999. * Control.cs:
  11000. - Added more to the still unfinished Dock/Anchor layout code
  11001. 2004-08-10 11:39 pbartok
  11002. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  11003. - Added GetWindowPos method
  11004. 2004-08-10 11:36 pbartok
  11005. * XplatUIWin32.cs:
  11006. - Implemented several methods
  11007. 2004-08-10 09:47 jackson
  11008. * TrackBar.cs: Allow control to handle buffering
  11009. 2004-08-10 09:41 jackson
  11010. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  11011. 2004-08-10 09:24 jackson
  11012. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  11013. 2004-08-10 09:09 jackson
  11014. * StatusBar.cs: Let Control handle all the buffering.
  11015. 2004-08-10 09:08 jackson
  11016. * Control.cs: Control will now handle the buffering code, so each
  11017. control does not have to implement this.
  11018. 2004-08-10 08:34 jackson
  11019. * XplatUIDriver.cs: Use default colors from the theme
  11020. 2004-08-09 17:12 pbartok
  11021. * ImageList.cs:
  11022. - Fixed several bugs Ravindra pointed out
  11023. 2004-08-09 16:11 pbartok
  11024. * Control.cs:
  11025. - Added incomplete dock layout code
  11026. - Added support for mouse wheel
  11027. 2004-08-09 16:09 pbartok
  11028. * XplatUIX11.cs:
  11029. - Added handling for middle and right mousebutton
  11030. - Added handling for mouse wheel
  11031. - Added handling for key state and mouse state and position
  11032. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  11033. messages
  11034. 2004-08-09 15:40 jackson
  11035. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  11036. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  11037. checkin
  11038. 2004-08-09 15:37 jackson
  11039. * StatusBar.cs: Initial implementation of StatusBar
  11040. 2004-08-09 15:36 jackson
  11041. * ITheme.cs: Add support for drawing status bar and getting status
  11042. bar item sizes
  11043. 2004-08-09 15:35 pbartok
  11044. * MouseButtons.cs:
  11045. - Fixed values
  11046. 2004-08-09 15:34 jackson
  11047. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  11048. status bar item sizes
  11049. 2004-08-09 15:21 jackson
  11050. * ThemeWin32Classic.cs: Use known colors for default control
  11051. colours
  11052. 2004-08-09 15:12 jackson
  11053. * ThemeWin32Classic.cs: Make the default font static, it is static
  11054. in control so this doesn't change functionality and creating fonts
  11055. is sloooooow.
  11056. 2004-08-09 14:56 pbartok
  11057. * X11Structs.cs:
  11058. - Added GrabMode enum
  11059. 2004-08-09 14:55 pbartok
  11060. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  11061. - Removed Run method, was only required for initial development
  11062. 2004-08-09 14:51 pbartok
  11063. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  11064. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  11065. capture
  11066. 2004-08-09 13:48 pbartok
  11067. * XplatUIX11.cs:
  11068. - Fixed default sizing for child windows
  11069. 2004-08-09 12:56 pbartok
  11070. * XplatUIX11.cs:
  11071. - Added generation of WM_DESTROY message
  11072. - Added handling of window manager induced shutdown
  11073. 2004-08-09 11:31 jackson
  11074. * ThemeWin32Classic.cs: New names for control properties
  11075. 2004-08-09 11:25 jackson
  11076. * Control.cs: Use new color names
  11077. 2004-08-09 11:02 jackson
  11078. * XplatUI.cs: Get default window properties from the theme
  11079. 2004-08-09 11:01 jackson
  11080. * ITheme.cs: The theme engine now controls default window
  11081. properties
  11082. 2004-08-09 11:00 jackson
  11083. * ThemeWin32Classic.cs: Add default window color properties
  11084. 2004-08-09 10:17 jackson
  11085. * ThemeWin32Classic.cs: Use correct default back color
  11086. 2004-08-09 10:05 jackson
  11087. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  11088. the theme now.
  11089. 2004-08-09 09:56 jackson
  11090. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  11091. 2004-08-09 09:54 jackson
  11092. * Control.cs: Get default properties from the theme.
  11093. 2004-08-09 09:53 jackson
  11094. * ITheme.cs: Themes now handle default control properties
  11095. 2004-08-09 09:53 jackson
  11096. * ThemeWin32Classic.cs: Themes now handle default control
  11097. properties so coloring will be consistent
  11098. 2004-08-08 16:54 jordi
  11099. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  11100. 2004-08-08 15:08 jordi
  11101. * XplatUIX11.cs: fixes keyboard crash
  11102. 2004-08-08 13:47 jordi
  11103. * Label.cs: add cvs header info
  11104. 2004-08-08 12:09 jackson
  11105. * ThemeWin32Classic.cs: Add pen_buttonface
  11106. 2004-08-08 11:52 jordi
  11107. * Label.cs, LinkLabel.cs: [no log message]
  11108. 2004-08-08 11:34 jordi
  11109. * ThemeWin32Classic.cs: Use Windows Standard Colours
  11110. 2004-08-07 17:32 jordi
  11111. * TrackBar.cs: throw exceptions of invalid enums values
  11112. 2004-08-07 17:31 jordi
  11113. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  11114. draw method name
  11115. 2004-08-07 16:56 jackson
  11116. * HorizontalAlignment.cs: Initial checkin
  11117. 2004-08-07 13:16 jordi
  11118. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  11119. methods
  11120. 2004-08-07 13:05 jordi
  11121. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  11122. GetSysColor defines
  11123. 2004-08-06 18:01 pbartok
  11124. * ThemeWin32Classic.cs:
  11125. - Fixed some rounding issues with float/int
  11126. 2004-08-06 18:00 jackson
  11127. * DockStyle.cs, AnchorStyles.cs:
  11128. Add flags and serializable attributes.
  11129. 2004-08-06 17:46 pbartok
  11130. * XplatUIX11.cs:
  11131. - Implemented GetParent
  11132. 2004-08-06 17:18 pbartok
  11133. * TrackBar.cs:
  11134. - Fixed some rounding issues with float/int
  11135. 2004-08-06 17:17 pbartok
  11136. * X11Structs.cs, XplatUIX11.cs:
  11137. - Fixed Refresh and Invalidate
  11138. 2004-08-06 15:30 pbartok
  11139. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  11140. - Fixed recursive loop when resizing
  11141. - Improved/fixed redrawing on expose messages
  11142. 2004-08-06 09:53 jordi
  11143. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  11144. keyboard navigation
  11145. 2004-08-06 08:02 pbartok
  11146. * X11Structs.cs, XplatUIX11.cs:
  11147. - Fixed reparenting
  11148. - Fixed window border creation
  11149. 2004-08-05 15:38 pbartok
  11150. * XplatUIX11.cs:
  11151. - Attempted fix for reparenting problems
  11152. 2004-08-04 15:14 pbartok
  11153. * Control.cs:
  11154. - Fixed Invalidation bug (calculated wrong client area)
  11155. - Added ClientSize setter
  11156. 2004-08-04 15:13 pbartok
  11157. * Form.cs:
  11158. - Added AutoScale properties
  11159. 2004-08-04 15:13 pbartok
  11160. * SWF.csproj:
  11161. - Added latest files
  11162. 2004-08-04 14:11 pbartok
  11163. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  11164. XplatUIX11.cs:
  11165. - Added Invalidate handling
  11166. 2004-08-03 17:09 jordi
  11167. * XplatUIDriver.cs: fixes spelling mistake
  11168. 2004-07-27 09:53 jordi
  11169. * TrackBar.cs: fixes trackbar events, def classname, methods
  11170. signature
  11171. 2004-07-27 09:29 jordi
  11172. * ScrollBar.cs: fixes scrollbar events
  11173. 2004-07-27 04:38 jordi
  11174. * Control.cs: changes to be able to run winforms samples
  11175. 2004-07-26 11:42 jordi
  11176. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  11177. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  11178. 2004-07-26 05:41 jordi
  11179. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  11180. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  11181. implementation
  11182. 2004-07-22 09:22 jordi
  11183. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  11184. check link overlapping, implement events, and fixes
  11185. 2004-07-21 10:28 jordi
  11186. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  11187. 2004-07-21 10:19 jordi
  11188. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  11189. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  11190. LinkLabelLinkClickedEventArgs.cs,
  11191. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  11192. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  11193. implementation
  11194. 2004-07-19 13:09 jordi
  11195. * Control.cs, Label.cs: label control re-written: added missing
  11196. functionlity, events, and properties
  11197. 2004-07-19 10:49 jordi
  11198. * Control.cs: fixes SetBounds logic
  11199. 2004-07-19 01:29 jordi
  11200. * Control.cs: Call RefreshWindow only if the window has created
  11201. 2004-07-15 14:05 pbartok
  11202. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  11203. - Implemented ImageList and ImageList.ImageCollection classes
  11204. - Added ColorDepth enumeration
  11205. - Updated SWF VS.Net project
  11206. 2004-07-15 11:06 jordi
  11207. * XplatUIStructs.cs: added MsgButons enum
  11208. 2004-07-15 11:03 jordi
  11209. * Control.cs: added basic mouse handeling events
  11210. 2004-07-15 03:38 jordi
  11211. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  11212. Vertical TrackBar control implementation
  11213. 2004-07-13 09:33 jordi
  11214. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  11215. 2004-07-13 09:31 jordi
  11216. * Control.cs, Form.cs: commit: new properties and fixes form size
  11217. problems
  11218. 2004-07-09 14:13 miguel
  11219. * ProgressBar.cs: Spelling
  11220. 2004-07-09 11:25 pbartok
  11221. * ProgressBar.cs:
  11222. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  11223. faster
  11224. 2004-07-09 11:17 miguel
  11225. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  11226. * ProgressBar.cs: Fixed spelling for `block'
  11227. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  11228. style guidelines.
  11229. Avoid using the += on rect.X, that exposed a bug in the compiler.
  11230. 2004-07-08 23:21 pbartok
  11231. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  11232. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  11233. BaseCollection.cs, Binding.cs, BindingContext.cs,
  11234. BindingMemberInfo.cs, BindingsCollection.cs,
  11235. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  11236. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  11237. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  11238. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  11239. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  11240. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  11241. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  11242. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  11243. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  11244. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  11245. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  11246. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  11247. InputLanguageChangedEventArgs.cs,
  11248. InputLanguageChangedEventHandler.cs,
  11249. InputLanguageChangingEventArgs.cs,
  11250. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  11251. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  11252. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  11253. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  11254. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  11255. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  11256. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  11257. QueryAccessibilityHelpEventArgs.cs,
  11258. QueryAccessibilityHelpEventHandler.cs,
  11259. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  11260. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  11261. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  11262. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  11263. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  11264. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  11265. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  11266. XplatUIX11.cs, lang.cs:
  11267. - Initial check-in