ChangeLog 426 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557
  1. 2006-04-12 Peter Dennis Bartok <[email protected]>
  2. * TextBox.cs: Implemented context menu
  3. 2006-04-12 Mike Kestner <[email protected]>
  4. * ListView.cs: implement box selection. fixes #77838.
  5. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  6. 2006-04-12 Peter Dennis Bartok <[email protected]>
  7. * XplatUIX11.cs: Added setting of window type when transient window
  8. is created (metacity would move it otherwise)
  9. * X11Structs.cs: Added WINDOW_TYPE atoms
  10. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  11. background (the control is Opaque but still wants transparent
  12. backgrounds)
  13. 2006-04-12 Peter Dennis Bartok <[email protected]>
  14. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  15. that set Opaque but don't mean it (like all ButtonBase-derived
  16. controls) to still draw their background
  17. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  18. the background
  19. 2006-04-12 Peter Dennis Bartok <[email protected]>
  20. * Control.cs (PaintControlBackground): Set the graphics object
  21. on our PaintEvent to null to prevent it from being disposed
  22. when the PaintEvent gets disposed
  23. 2006-04-12 Alexander Olk <[email protected]>
  24. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  25. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  26. 2006-04-12 Peter Dennis Bartok <[email protected]>
  27. * Control.cs:
  28. - Added transparency check to BackColor property. Transparent
  29. backgrounds are only allowed if the control styles permit it
  30. - Added recursive painting of parent control background and
  31. foreground if a control with a transparent backcolor is drawn
  32. (Thanks to Tim Ringenback for providing his 'hack' as a base
  33. for this patch) Fixes #77985 and #78026.
  34. - Added Opaque style check before calling OnPaintBackground, no
  35. need to draw the background if the control is opaque
  36. - Removed ControlAccessibleObject owner variable (inherited from
  37. base, no need to define again)
  38. - Added some documentation links explaining the drawing events
  39. and styles
  40. 2006-04-11 Peter Dennis Bartok <[email protected]>
  41. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  42. that the affected control is the located at the left border of our
  43. parent (Fixes #77936)
  44. 2006-04-11 Peter Dennis Bartok <[email protected]>
  45. * TextBoxBase.cs: When rendering disabled or readonly controls,
  46. draw the background with 'Control' instead of 'Window' color as
  47. long as the user hasn't specifically set a color
  48. 2006-04-11 Peter Dennis Bartok <[email protected]>
  49. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  50. since that won't be updated if the user types text (only if it's
  51. programatically set)
  52. 2006-04-11 Peter Dennis Bartok <[email protected]>
  53. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  54. layout changes do to app-triggered resizes will have the proper
  55. display rectangle for layout
  56. 2006-04-11 Alexander Olk <[email protected]>
  57. * ThemeWin32Classic.cs:
  58. - Make use of the SystemBrushes and SystemPens wherever possible
  59. - Corrected some highlight colors
  60. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  61. drawing
  62. * Theme.cs: Added Empty field to CPColor struct
  63. 2006-04-11 Peter Dennis Bartok <[email protected]>
  64. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  65. is displayed when calculating the display rectangle. Thanks to Mike
  66. for teaching me the err of my ways.
  67. 2006-04-10 Peter Dennis Bartok <[email protected]>
  68. * ScrollableControl.cs:
  69. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  70. (instead of 0,0) and we now return the real width/height instead of
  71. just the clientrectangle, adjusted for padding. The rectangle is
  72. now cached and created by the new CalculateDisplayRectangle method.
  73. - Created new CalculateDisplayRectange method, which basically does
  74. what get_DisplayRectangle() did originally, but now using the
  75. right edge instead of DisplayRectangle to determine the size of
  76. our scrollbars
  77. - get_Canvas(): Fixed it to properly calculate canvas for
  78. right/bottom controls which seem to be placed to the right/bottom
  79. of any controls that have a fixed location
  80. - Removed TODO that's taken care of
  81. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  82. and SetDisplayRectLocation according to new MSDN2 docs
  83. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  84. event when that is called, this is added for compatibility
  85. - ScrollControlIntoView(): Implemented.
  86. - Switched scrollbars to be implicit, they shouldn't be selectable
  87. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  88. call it when the active control is set/changed
  89. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  90. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  91. implicit_control variable (used for native Win32 message generation)
  92. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  93. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  94. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  95. * XplatUIStructs.cs: Added ScrollBarCommands enum
  96. 2006-04-10 Jackson Harper <[email protected]>
  97. * ButtonBase.cs:
  98. * CheckedListBox.cs:
  99. * ComboBox.cs:
  100. * DataGrid.cs:
  101. * DataGridView.cs:
  102. * Form.cs:
  103. * GroupBox.cs:
  104. * ListBox.cs:
  105. * PrintPreviewControl.cs:
  106. * ProgressBar.cs:
  107. * PropertyGrid.cs:
  108. * Splitter.cs:
  109. * StatusBar.cs:
  110. * TrackBar.cs:
  111. * UpDownBase.cs: Fixup base event overrides.
  112. 2006-04-06 Mike Kestner <[email protected]>
  113. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  114. all user-initiated value changes to min <= value <= max-thumbsz+1.
  115. (set_Value): check for vert/horiz when calculating new thumb position.
  116. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  117. like MS does.
  118. (OnMouseMoveSB): refactor the thumb dragging code and refine
  119. invalidation logic to reduce flicker.
  120. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  121. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  122. (UpdateThumbPosition): small code readability cleanup
  123. 2006-04-10 Alexander Olk <[email protected]>
  124. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  125. different
  126. 2006-04-08 Alexander Olk <[email protected]>
  127. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  128. 2006-04-08 Alexander Olk <[email protected]>
  129. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  130. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  131. This dramatically reduces the number of Pen.Dispose calls.
  132. Where possible call ResPool methods only once instead of calling it
  133. over and over again (for example for the same color).
  134. 2006-04-06 Mike Kestner <[email protected]>
  135. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  136. Also remove an unused private field on the collection. Fixes #77972.
  137. 2006-04-06 Alexander Olk <[email protected]>
  138. * ThemeNice.cs: Added ToolBar drawing code
  139. 2006-04-06 Mike Kestner <[email protected]>
  140. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  141. I'm assuming that means we need to look up the toplevel for the
  142. provided control. Fixes the crash trace in #77911 but exposes another
  143. crash in some strange reflection usage in NDocGui.
  144. 2006-04-06 Alexander Olk <[email protected]>
  145. * ThemeNice.cs: Gave it a little silver touch and added Images
  146. method
  147. * FontDialog.cs: FontDialog is not resizable
  148. * FileDialg.cs: Added SizeGripStyle.Show
  149. 2006-04-05 Jackson Harper <[email protected]>
  150. * KeyboardLayouts.cs: Remove warning.
  151. 2006-04-05 Jackson Harper <[email protected]>
  152. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  153. all of our controls instead of Paint +=.
  154. * ListBox.cs:
  155. * ListView.cs:
  156. * MenuAPI.cs:
  157. * MessageBox.cs:
  158. * NotifyIcon.cs:
  159. * ProgressBar.cs:
  160. * ScrollBar.cs:
  161. * Splitter.cs:
  162. * StatusBar.cs:
  163. * TabControl.cs:
  164. * TextBoxBase.cs:
  165. * ToolBar.cs:
  166. * TrackBar.cs:
  167. * UpDownBase.cs:
  168. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  169. use OnPaintInternal. Remove Width/Height and Visible checks in
  170. paint handler, this is done at a higher level now.
  171. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  172. * PaintEventArgs.cs: Add a handled flag so controls that don't
  173. want anymore painting after OnPaintInternal can make sure OnPaint
  174. isn't called.
  175. 2006-04-05 Mike Kestner <[email protected]>
  176. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  177. state of the form, so that we don't process events when Modal dialogs
  178. are up. Fixes #77922.
  179. 2006-04-05 Alexander Olk <[email protected]>
  180. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  181. checking is done.
  182. 2006-04-05 Mike Kestner <[email protected]>
  183. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  184. 2006-04-05 Mike Kestner <[email protected]>
  185. * ListView.cs (HeaderMouseMove): null guarding for the over column
  186. when setting up the drag_to_index. Fixes #78015.
  187. 2006-04-04 Peter Dennis Bartok <[email protected]>
  188. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  189. in the taskbar. Transient windows seem to accomplish that.
  190. 2006-04-04 Peter Dennis Bartok <[email protected]>
  191. * Form.cs:
  192. - Re-enabled CreateParams.X/Y code for FormStartPosition
  193. - Added code for manual placement when creating the Control
  194. - Incomplete patch to treat MDI forms differently when
  195. setting the ClientSizeCore. (Still need to figure out handling
  196. x/y coords there)
  197. * XplatUIX11.cs:
  198. - When we're explicitly setting the X/Y position of a non-Child
  199. window, let the WM know. Metacity really wants this.
  200. 2006-04-04 Alexander Olk <[email protected]>
  201. * ThemeNice.cs: Added CPDrawButton
  202. 2006-04-04 Alexander Olk <[email protected]>
  203. * ThemeNice.cs: Changed the color for focused buttons and activated
  204. the arrows for small scroll buttons.
  205. 2006-04-04 Alexander Olk <[email protected]>
  206. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  207. anymore. Changed some method modifiers to protected (virtual)
  208. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  209. changes
  210. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  211. Updated drawing of menus, buttons and progressbars; added
  212. CPDrawBorder3D
  213. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  214. * ImageListStreamer.cs: implemented serialization/deserialization
  215. of the images.
  216. 2006-04-03 Alexander Olk <[email protected]>
  217. * ThemeWin32Classic.cs:
  218. - Removed all the DrawFrameControl stuff; CPDrawButton,
  219. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  220. inside the methods
  221. - Updated and corrected the drawing code of CPDrawButton,
  222. CPDrawCheckBox and CPDrawRadioButton to better match ms
  223. - Updated theme checkbox and radiobutton code to use the CP*
  224. methods
  225. 2006-03-31 Peter Dennis Bartok <[email protected]>
  226. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  227. bug is fixed
  228. 2006-03-31 Jackson Harper <[email protected]>
  229. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  230. sometimes.
  231. * UpDownBase.cs: Don't CreateGraphics manually, use a
  232. Refresh. Ideally we would invalidate the correct areas here.
  233. 2006-03-31 Peter Dennis Bartok <[email protected]>
  234. * XplatUIX11.cs:
  235. - We now track the mapping state of windows. If a window (or
  236. one of it's parents) is not mapped we no longer permit
  237. WM_PAINT messages to be generated since we'd otherwise get
  238. lots of BadMatch X errors. Jackson did all the work figuring
  239. out the problem.
  240. - Destroying the caret if the window it's contained in is
  241. destroyed. Can't use regular DestroyCaret method since it
  242. might fall into a drawing function (trying to remove the
  243. caret) and with that generate new BadMatch errors. Again,
  244. Jackson tracked this down.
  245. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  246. make sure we send the messages to all windows. (The old code
  247. would send the WM_DESTROY to the window, and then all child
  248. windows would be 'gone' because the WM_DESTROY handle lookup
  249. would no longer find the destroyed window)
  250. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  251. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  252. 2006-03-31 Jackson Harper <[email protected]>
  253. * ScrollableControl.cs: Dont recalc if we are not visible.
  254. 2006-03-31 Mike Kestner <[email protected]>
  255. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  256. the visibility branch.
  257. 2006-03-31 Jackson Harper <[email protected]>
  258. * ScrollBar.cs: Cap values when incrementing/decrementing.
  259. 2006-03-31 Mike Kestner <[email protected]>
  260. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  261. * ToolTip.cs: guard against timer expirations with no active control.
  262. Not sure why it happened.
  263. 2006-03-31 Mike Kestner <[email protected]>
  264. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  265. text.
  266. * ToolTip.cs: Position the tooltip based on where the cursor is at
  267. popup time, not at MouseEnter time. Add a Down state so that we don't
  268. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  269. positioning offset. Lookup DisplaySize at positioning time, since it
  270. can theoretically change during invocation.
  271. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  272. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  273. 2006-03-31 Alexander Olk <[email protected]>
  274. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  275. Fixes behaviour when the Text property of the box is String.Empty
  276. 2006-03-31 Peter Dennis Bartok <[email protected]>
  277. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  278. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  279. a window)
  280. 2006-03-31 Alexander Olk <[email protected]>
  281. * FileDialog.cs: Visual enhancement for the popup buttons in
  282. PopupButtonPanel
  283. 2006-03-31 Alexander Olk <[email protected]>
  284. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  285. code
  286. 2006-03-30 Alexander Olk <[email protected]>
  287. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  288. highlighted menu items to match ms
  289. 2006-03-30 Peter Dennis Bartok <[email protected]>
  290. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  291. 2006-03-30 Mike Kestner <[email protected]>
  292. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  293. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  294. go active to account for HotLight to Selected transition.
  295. * MenuItem.cs: add internal Selected prop. Fill out the Status
  296. property by calculating it from item info. Add HotLight,
  297. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  298. 2006-03-30 Mike Kestner <[email protected]>
  299. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  300. 2006-03-29 Jackson Harper <[email protected]>
  301. * Form.cs: Implement TODO.
  302. 2006-03-29 Peter Dennis Bartok <[email protected]>
  303. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  304. missing proper dialog setup in the constructor
  305. 2006-03-29 Peter Dennis Bartok <[email protected]>
  306. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  307. * Control.cs:
  308. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  309. - Fixed ResetBindings and removed TODO
  310. - Added check for cross-thread calls to get_Handle()
  311. - Added Marshaller attribute for set_Font to satisfy class status
  312. * FontDialog.cs: Removed TODOs that seemed implemented
  313. * UpDownBase.cs: Removed unneeded TODO and Fixme
  314. * MessageBox.cs: Implemented support for Default button and removed TODO
  315. * FileDialog.cs: Removed obsolete TODO
  316. * DomainUpDown.cs: Removed obsolete TODO
  317. * ButtonBase.cs: Removed obsolete TODO
  318. * XplatUIWin32.cs: Removed obsolete TODO
  319. * Form.cs:
  320. - Removed obsolete TODO
  321. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  322. internal status updates
  323. - Making sure the active control is selected when the control is created
  324. * CurrencyManager.cs: Removed obsolete TODO
  325. 2006-03-29 Mike Kestner <[email protected]>
  326. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  327. of PrintPreviewDialog and RichTextBox.
  328. 2006-03-29 Alexander Olk <[email protected]>
  329. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  330. DarkDark, Light and LightLight colors for a specific color
  331. * ThemeWin32Classic.cs:
  332. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  333. Appearance = Button
  334. - Make use of the new ResPool helper CPColor
  335. - Draw ProgressBar and StatusBar with correct 3D borders
  336. 2006-03-29 Alexander Olk <[email protected]>
  337. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  338. 2006-03-28 Mike Kestner <[email protected]>
  339. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  340. calculating col/row counts.
  341. 2006-03-28 Mike Kestner <[email protected]>
  342. * ColumnHeader.cs:
  343. * ListView.cs:
  344. * ListViewItem.cs:
  345. * Menu.cs:
  346. switch to explicit interface method implementation for some methods
  347. corcompare identifies as inconsistent with MS.
  348. 2006-03-28 Mike Kestner <[email protected]>
  349. * MainMenu.cs:
  350. * Menu.cs:
  351. add a few missing methods from the class status output.
  352. 2006-03-28 Alexander Olk <[email protected]>
  353. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  354. correct.
  355. 2006-03-28 Mike Kestner <[email protected]>
  356. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  357. 2006-03-27 Mike Kestner <[email protected]>
  358. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  359. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  360. 2006-03-27 Alexander Olk <[email protected]>
  361. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  362. 2006-03-25 Alexander Olk <[email protected]>
  363. * ThemeWin32Classic.cs:
  364. - GroupBox: Inserted a little gap between the text and the lines
  365. on the right side
  366. - Made the code in CPDrawBorder3D more readable
  367. - Corrected the drawing location of the up and down arrows in
  368. CPDrawScrollButton
  369. 2006-03-25 Alexander Olk <[email protected]>
  370. * ControlPaint.cs: Corrected line widths in DrawBorder for
  371. ButtonBorderStyle Inset and Outset
  372. 2006-03-25 Alexander Olk <[email protected]>
  373. * ThemeWin32Classic.cs:
  374. - Rewrote the totally broken CPDrawBorder3D method. That was
  375. one of the main problems for the terrific ThemeWin32Classic
  376. look
  377. - Updated and corrected Button drawing
  378. - Correct the dimensions of the SizeGrip to match ms ones
  379. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  380. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  381. Border3DStyle.Sunken to match ms.
  382. 2006-03-25 Alexander Olk <[email protected]>
  383. * ThemeWin32Classic.cs: First small part of the "de-uglify
  384. ThemeWin32Classic" effort, SizeGrip
  385. 2006-03-24 Jackson Harper <[email protected]>
  386. * XplatUIX11.cs: Give a max idle time of one second, this matches
  387. MS and forces an Idle event every second when there are no other
  388. events in the queue.
  389. 2006-03-24 Mike Kestner <[email protected]>
  390. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  391. * ListView.Item.cs: fix layout issues with null image lists and images
  392. smaller than checkbox size.
  393. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  394. mode like MS does. It's weird, but consistent. ;-)
  395. Fixes #77890.
  396. 2006-03-24 Mike Kestner <[email protected]>
  397. * ListView.cs: Scroll wheel support for the item control. Fixes
  398. #77839.
  399. 2006-03-23 Jackson Harper <[email protected]>
  400. * ScrollableControl.cs: Special case negative sized areas, not
  401. zero.
  402. * MonthCalendar.cs: Save the rect of the clicked date so we can
  403. use it for invalidation.
  404. - Try to cut down on the number of invalidates
  405. - Invalidate the rect the mouse is over and was over when moving
  406. the mouse, so we get the focus box following the cursor.
  407. 2006-03-23 Mike Kestner <[email protected]>
  408. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  409. focus rectangle drawing. Fixes #77835.
  410. 2006-03-23 Mike Kestner <[email protected]>
  411. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  412. the if and else if and reverting back to the original == check on the
  413. None conditional.
  414. 2006-03-23 Alexander Olk <[email protected]>
  415. * FontDialog.cs: Update the example panel if the selected index of
  416. the fontListBox changes.
  417. 2006-03-23 Alexander Olk <[email protected]>
  418. * FileDialog.cs: Make FileDialog remember which directory it was in
  419. last in the same execution.
  420. 2006-03-22 Mike Kestner <[email protected]>
  421. * FileDialog.cs: make the DropDownMenu on the toolbar display
  422. RadioChecks since they are mutually exclusive and that's what MS does.
  423. 2006-03-22 Mike Kestner <[email protected]>
  424. * Theme.cs: add Color param to CPDrawMenuGlyph.
  425. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  426. checks and radio marks and arrows are visible on highlighted items.
  427. * ControlPaint.cs: update to use new Theme signature.
  428. 2006-03-22 Mike Kestner <[email protected]>
  429. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  430. is active. Fixes #77870.
  431. 2006-03-22 Alexander Olk <[email protected]>
  432. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  433. to be focused/selected after startup
  434. 2006-03-22 Alexander Olk <[email protected]>
  435. * ColorDialog.cs:
  436. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  437. CustomColors and ShowHelp properties
  438. - Some internal rewrites to get better results when using the
  439. ColorMatrix
  440. 2006-03-22 Mike Kestner <[email protected]>
  441. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  442. HoverSelection. Fixes #77836.
  443. 2006-03-22 Mike Kestner <[email protected]>
  444. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  445. ToggleButtons. (De)Sensitize the Back button around a stack count of
  446. 1, not 0. Update ButtonSize based on a pixel count of the win32
  447. control. Adjust the toolbar size/location for new button size.
  448. 2006-03-22 Jackson Harper <[email protected]>
  449. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  450. true.
  451. * ScrollBar.cs: When doing increments and decrements we need to
  452. set the Value property so that ValueChanged gets raised. A
  453. possible optimization here would be to make an internal SetValue
  454. that doesn't invalidate immediately.
  455. * ToolTip.cs: Tooltips get added to their container (when
  456. supplied) so they get disposed when the container is disposed.
  457. - Don't create tooltips for String.Empty. This prevents all these
  458. little 2-3 pixel windows from showing up when running nunit-gui
  459. and driving me mad.
  460. * Form.cs: Don't set topmost when setting the owner if the handles
  461. haven't been created yet. The topmost set will happen when the
  462. handles are created.
  463. 2006-03-22 Peter Dennis Bartok <[email protected]>
  464. * XplatUIX11.cs:
  465. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  466. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  467. visible (to allow them to recalculate their sizes)
  468. 2006-03-21 Mike Kestner <[email protected]>
  469. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  470. methods. Removed a ton of redundant code. Still not really happy with
  471. the border rendering, but I think that's mainly because of the
  472. ControlDarkDark being black instead of a dark grey. Depending on how
  473. close we want to be, we might want to revisit those color choices.
  474. Among the new features added during the refactor were DropDownArrow
  475. pressed rendering, Disabled image rendering. Proper flat appearance
  476. boundary rendering. Removed the Divider and Wrapping dividers since I
  477. can't figure out any combination of themes and conditions to make the
  478. MS control draw a horizontal line on a toolbar despite what the
  479. Divider property docs indicate.
  480. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  481. conditions and incorrect layout. Updated to coding standard.
  482. * ToolBarButton.cs: refactored layout and positioning code from
  483. ToolBar to here. Invalidate wherever possible instead of forcing
  484. redraws of the whole toolbar.
  485. (Known remaining issues: explicit ButtonSize smaller than provided
  486. images.)
  487. 2006-03-21 Mike Kestner <[email protected]>
  488. * ContextMenu.cs (Show): use the position parameter instead of just
  489. showing at the MousePosition.
  490. 2006-03-21 Jackson Harper <[email protected]>
  491. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  492. control handle this.
  493. * TreeNodeCollection.cs: If we are clearing the root node we need
  494. to reset top_node so calcs can still happen.
  495. * ThemeWin32Classic.cs: This is a Flags so we need to check
  496. properly.
  497. 2006-03-21 Jackson Harper <[email protected]>
  498. * DataGrid.cs: Create columns when the binding context has been
  499. changed.
  500. * X11Structs.cs: Keysyms are uints.
  501. - Add size to fix build.
  502. 2006-03-21 Peter Dennis Bartok <[email protected]>
  503. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  504. XplatUIOSX.cs:
  505. - Added ResetMouseHover method to allow controls to retrigger
  506. hovering if they need it more than once
  507. - Implemented MouseHoverTime and MouseHoverSize properties
  508. * Timer.cs: Start() must reset the interval
  509. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  510. properties
  511. 2006-03-21 Jackson Harper <[email protected]>
  512. * X11Keyboard.cs: improved layout detection. Move the nonchar
  513. tables into this file.
  514. * KeyboardLayouts.cs: Move the tables into resource files.
  515. 2006-03-21 Mike Kestner <[email protected]>
  516. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  517. 2006-03-21 Alexander Olk <[email protected]>
  518. * Mime.cs: Various speed optimizations. Looking up mime types
  519. is now 2 times faster than before
  520. 2006-03-17 Peter Dennis Bartok <[email protected]>
  521. * CreateParams.cs: Added internal menu field
  522. * Control.cs:
  523. - Switched call order for UpdateBounds; now we always call
  524. the one that also takes ClientSize, and we're calculating the
  525. client size via driver method in the others. The previous
  526. method of tracking client size by difference wasn't working
  527. for forms where even the starting client size wouldn't match
  528. the overall form size (due to borders) (Part of fix for #77729)
  529. - CreateParams(): Do not use parent.Handle unless the handle is
  530. already created. Causes havoc with Nexxia and throws off our
  531. creation of controls
  532. * XplatUIX11.cs:
  533. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  534. - Switched handling of ConfigureNotify over to new PerformNCCalc
  535. method (consolidates code)
  536. - Changed RequestNCRecalc to use new PerformNCCalc method
  537. - Added calls to RequestNCRecalc when menus and borders are changed
  538. to allow app to set NC size. (Part of fix for #77729) This matches
  539. when MS send a WM_NCRECALC on Win32 windows.
  540. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  541. (Part of fix for #77729). This matches what MS does, they also
  542. send that message when the form is made visible.
  543. - XException.GetMessage: Improved usability of X errors by including
  544. a translation of the window into Hwnd and Control class
  545. - Improved debug info for window creation, reparenting and destruction
  546. - Created helper method WindowIsMapped() [Currently not used]
  547. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  548. * Form.cs:
  549. - CreateParams: Now setting our menu on the new internal menu field
  550. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  551. avoid calculating the same property twice
  552. * Hwnd.cs:
  553. - Improved usability of ToString() for debugging purposes
  554. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  555. determine the height of the menu, instead of just the font. This
  556. required to also create a graphics context and to keep a bmp
  557. around (for performance reasons)
  558. 2006-03-17 Peter Dennis Bartok <[email protected]>
  559. * MenuAPI.cs: Added OnMouseUp method
  560. * Form.cs:
  561. - Now remembering the requested client size, avoids size errors
  562. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  563. instead of base if the menu is active. This is required due to
  564. control now capturing and releasing on down/up and it would
  565. prematurely release our menu capture
  566. 2006-03-17 Jackson Harper <[email protected]>
  567. * KeyboardLayouts.cs: Add the czech layouts.
  568. 2006-03-16 Jackson Harper <[email protected]>
  569. * Control.cs: Use the viewport space when sizing not the controls
  570. client size, so things like ScrollableControl that effect the
  571. viewport size (when scrollbars are added) are computed correctly.
  572. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  573. of ManagerEntrys.
  574. - Handle creating BindingManagers for null data sources.
  575. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  576. source, otherwise when rows are added they are added to the 'fake'
  577. datasource and we will crash when trying to set the position in
  578. those rows.
  579. - Use Implicit scrollbars on the datagrid so they arent
  580. selectable.
  581. 2006-03-16 Jackson Harper <[email protected]>
  582. * Binding.cs:
  583. * InternalWindowManager.cs:
  584. * MdiWindowManager.cs:
  585. * X11Keyboard.cs: I really want Mike to love me again (fix
  586. compiler warnings).
  587. 2006-03-16 Peter Dennis Bartok <[email protected]>
  588. * DataGrid.cs:
  589. - OnMouseDown: Switch to editing mode when clicking on the cell
  590. even if we're clicking on the cell that's currently
  591. selected
  592. - ProcessGridKey: Left/Right now wrap like MS.Net does
  593. - ProcessGridKey: Tab now knows to add a new row when tab is
  594. pressed in the cell of the last column of the
  595. last row
  596. - ProcessGridKey: Enter now adds another row if pressed in the last
  597. row and selectes the new row, same column cell
  598. - ProcessGridKey: Home/End navigate columns, not rows, like
  599. originally implemented
  600. - Broke ProcessKeyPreview code out into an extra Internal method
  601. so it can be called from the edit code
  602. * DataGridTextBox.cs (ProcessKeyMessage):
  603. - Switched to accept Tab keypresses
  604. - Added F2 handling to allow jumping to the end of the edited cell
  605. - Added logic to allow moving caret left/right inside edited cell
  606. and making the edited cell jump when the caret hits cell borders
  607. - Tab and Enter are now passed to the datagrid after being handled
  608. * TextBoxBase.cs:
  609. - Removed capture code now that Control handles it
  610. - set_SelectionStart now ensures caret is visible
  611. 2006-03-16 Jackson Harper <[email protected]>
  612. * TrackBar.cs: Debackwards the increment/decrement for handling
  613. mouse clicks on the bar with vertical trackbars.
  614. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  615. bottom to match MS.
  616. 2006-03-16 Mike Kestner <[email protected]>
  617. * ListView.cs: make shift/ctrl keyboard and mouse selection
  618. consistent with the MS control. Fix a bug in
  619. SelectedListViewItemCollection.Clear that was pissing me off for the
  620. better part of a day because the collection was being altered
  621. underneath us as we walked the list.
  622. 2006-03-16 Peter Dennis Bartok <[email protected]>
  623. * Control.cs: Not sure how we could miss this so long, but it seems
  624. that MS.Net has Capture set all the way from before calling
  625. OnMouseDown through sending the mouse events until after
  626. OnMouseUp. This will fix DataGrid's selection being set to end
  627. at the location of the MouseUp.
  628. 2006-03-15 Jackson Harper <[email protected]>
  629. * BindingContext.cs: Check the binding after its added so that it
  630. can initialize the binding managers and hookup to events.
  631. * Binding.cs: Data members seem to sometimes include rows/cols in
  632. the format Row.Column we now take this into account.
  633. - Hookup to the position changed event so we can update the
  634. control when the position has changed in the data set.
  635. * CurrencyManager.cs: Take into account the row/col naming
  636. convention when creating dataset tables.
  637. * BindingContext.cs: Using a newer better way of storing
  638. datasource/datamember pairs. Hopefully this better matches MS for
  639. looking up binding managers.
  640. 2006-03-15 Jackson Harper <[email protected]>
  641. * BindingContext.cs: The currency manager needs the data member
  642. name, if the member is a data set we use the name to find the
  643. correct table.
  644. * CurrencyManager.cs: When creating the list prefer an IList over
  645. an IListSource.
  646. - Attempt to create a DataTable from a DataSet (TODO: might need
  647. some better error checking here, although MS doesn't seem to have much)
  648. - If we have a DataTable create a view and use it as our list.
  649. 2006-03-15 Mike Kestner <[email protected]>
  650. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  651. keyboard navigation. Support Up/Down/Left/Right selection correctly
  652. for all 4 View modes.
  653. * ListViewItem.cs: add internal row/col fields for icon layouts.
  654. 2006-03-15 Jackson Harper <[email protected]>
  655. * TabControl.cs: Redraw the tabs when we resize so their newly
  656. calculated sizes are drawn on screen.
  657. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  658. composite characters.
  659. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  660. - filter events so that composite characters can be created
  661. patches by peter
  662. * X11Structs.cs: Add XIMProperties enum.
  663. 2006-03-14 Peter Dennis Bartok <[email protected]>
  664. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  665. unless it's created
  666. 2006-03-14 Peter Dennis Bartok <[email protected]>
  667. * Control.cs (PerformLayout): We don't need to consider visiblity
  668. for anchoring, only for docking. This fixes 'whacky' alignment
  669. in listbox and other controls that use implicit scrollbars after
  670. the previous PerformLayout patch
  671. * ListBox.cs: Switched to use implicit scrollbars
  672. 2006-03-14 Mike Kestner <[email protected]>
  673. * ToolBar.cs:
  674. * VScrollBar.cs:
  675. - chain up the "new event" overrides to base and use
  676. OnEvent to raise them. Part of fix for bug #76509.
  677. 2006-03-14 Alexander Olk <[email protected]>
  678. * FileDialog.cs: Do not select an item in the parent directory
  679. on backspace
  680. 2006-03-14 Peter Dennis Bartok <[email protected]>
  681. * Control.cs (PerformLayout): It would seem that we considered
  682. invisible windows for our layout. Not quite the right thing
  683. to do. Now we don't any longer, thereby fixing bug #76889.
  684. 2006-03-14 Peter Dennis Bartok <[email protected]>
  685. * Control.cs (CanFocus): I goofed. A control can have focus
  686. even though it's not selectable. Made it match MS docs.
  687. 2006-03-13 Peter Dennis Bartok <[email protected]>
  688. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  689. center by default (fixes #76895)
  690. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  691. all uses of Border3DSides.All with the explicit ORd together
  692. Left|Right|Top|Bottom because I assume that nobody was aware
  693. that All also implies a center fill. Most places I checked had
  694. a fill right above.
  695. * ProgressBarStyle.cs: Added
  696. 2006-03-13 Mike Kestner <[email protected]>
  697. * ListView.cs: fix breakage in drag shadow header positioning
  698. from Peter's csc compilation fix.
  699. 2006-03-13 Mike Kestner <[email protected]>
  700. * ListView.cs: fix NRE produced by backspacing twice in a focused
  701. FileDialog.
  702. 2006-03-13 Mike Kestner <[email protected]>
  703. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  704. 2006-03-13 Peter Dennis Bartok <[email protected]>
  705. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  706. be changed
  707. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  708. the allowed size before making programmatic size changes
  709. 2006-03-13 Peter Dennis Bartok <[email protected]>
  710. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  711. set, metacity is broken and will still use the emty sizes in
  712. the struct. (Fix for #77089)
  713. 2006-03-13 Peter Dennis Bartok <[email protected]>
  714. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  715. WindowExStyles and marked both enums as Flags
  716. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  717. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  718. to match WindowStyles split
  719. * XplatUIX11.cs:
  720. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  721. - Updated to match WindowStyles split
  722. * XplatUIWin32.cs:
  723. - Fixed FosterParent creation, was using ExStyle on the Style field
  724. (This should help with Popup focus issues)
  725. - Updated to match WindowStyles split
  726. 2006-03-13 Jackson Harper <[email protected]>
  727. * MdiWindowManager.cs: Use the system menu height. Fixes some
  728. strange sizing issues.
  729. 2006-03-12 Peter Dennis Bartok <[email protected]>
  730. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  731. * TextBoxBase.cs:
  732. - Scroll to caret after inserting text (#77672)
  733. - Make scroll range one pixel higher, fixes off-by-one error (and
  734. makes underlines visible on the last line)
  735. 2006-03-12 Peter Dennis Bartok <[email protected]>
  736. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  737. the keyboard state from being stuck with keys in 'pressed' state when
  738. focus is switched away via keyboard
  739. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  740. reset the keyboard if no X11 KeyUp events are expected to come
  741. * X11Structs.cs: Switched type of Visible to bool to match driver
  742. 2006-03-12 Peter Dennis Bartok <[email protected]>
  743. * TextControl.cs:
  744. - Switched caret to be just 1 pixel wide, matches MS and looks less
  745. clunky
  746. - Moved caret display 1 pixel down from the top of the control
  747. to improve view
  748. - InsertCharAtCharet: Update the selection start if moving the caret
  749. (fixes bug #77696; based on patch suggested by [email protected])
  750. - No longer always creating the caret when the caret methods are
  751. called. Only the actual ShowCaret/HideCaret will do that now
  752. - Only setting caret visible if the owner control has focus
  753. - UpdateView: Added invalidation-shortcut logic for center and right
  754. aligned text. Previously we'd update all according to the left
  755. logic which caused drawing errors. Also fixed height of invalidated
  756. areas, now properly invalidating the whole area (was off-by-one)
  757. - owner_HandleCreated: Always generate the document when the
  758. handle is created; this ensures that
  759. * TextBoxBase.cs:
  760. - Fixed situation where caret would disappear under the right
  761. window border, also improved scrolling behaviour on left-
  762. aligned textboxes
  763. - Fixed right-aligned textboxes to have a border to the
  764. right instead of the caret being under the right border
  765. * XplatUIX11.cs:
  766. - Switched from 'nested' to simple visible/not visible tracking
  767. for caret (part of fix for #77671)
  768. - No longer passing through translated FocusIn/FocusOut messages
  769. since we were notifying too often and the wrong windows. Instead
  770. we just notify our focussed window of receiving or loosing focus
  771. * XplatUIWin32.cs: Switched from 'nested' show/hide
  772. counting for caret to simple visible yes/no behaviour (part of
  773. fix for #77671)
  774. 2006-03-11 Alexander Olk <[email protected]>
  775. * Mime.cs: Remove debug code...
  776. 2006-03-11 Alexander Olk <[email protected]>
  777. * MimeGenerated.cs: Removed
  778. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  779. and subclasses) from /usr/(local/)share/mime and
  780. $HOME/.local/share/mime.
  781. 2006-03-10 Jackson Harper <[email protected]>
  782. * MdiWindowManager.cs: Recalc the NC area when a window is
  783. maximized/restored so that the menu area is drawn on forms that
  784. don't have a menu.
  785. 2006-03-10 Peter Dennis Bartok <[email protected]>
  786. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  787. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  788. us to force a WM_NCCALCRESIZE message being sent. This is needed
  789. for MDI maximizing.
  790. 2006-03-10 Jackson Harper <[email protected]>
  791. * Form.cs: We need to use the ActiveMenu when calculating menu
  792. height.
  793. - Fix nullref when the window manager hasn't been created yet.
  794. * Control.cs: Fix nullref when we try to bring a control to the
  795. front that has no parent.
  796. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  797. height.
  798. - Add a dummy item to the maximized menu so it always has the
  799. correct height. Otherwise when there are no menus we don't get our
  800. icon and buttons.
  801. 2006-03-10 Jackson Harper <[email protected]>
  802. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  803. stuff.
  804. * Form.cs: Make the window_state internal so the window managers
  805. can track it.
  806. - When an MDI child is maximized let its window manager create the
  807. main menu (so it can add its icon).
  808. - Notify the window managers of state changes
  809. - Let the window manager paint its buttons and handle button
  810. clicks on the menu when it is maximized.
  811. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  812. window manager, since tool windows don't use it, only mdi windows.
  813. - Tell the main form that we don't want it to handle NCPAINT
  814. itself to avoid extra painting.
  815. - Handle clicks on a maximized windows menu.
  816. - Handle window state changes
  817. - Handle minimize/maximize clicks correctly by setting the window state.
  818. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  819. when clicking on the forms icon).
  820. - New method to create a forms maximized menu. This is its normal
  821. menu + an icon.
  822. - Handle window state changes.
  823. - Handle sizing of maximized windows. Maximized windows are just
  824. drawn bigger then the parent visible area. All controls are still
  825. there, they are just outside the visible area (this matches windows).
  826. * MdiClient.cs: No scrollbars when a child window is maximized.
  827. - Let the children windows figure out how big they should be when
  828. sizing maximized windows.
  829. - Implement a version of ArrangeIconicWindows somewhat similar to
  830. Windows version. There are some little differences, but I don't
  831. think any app will rely on the layout of minimized mdi windows.
  832. 2006-03-10 Peter Dennis Bartok <[email protected]>
  833. * Padding.cs: Several fixes to allow compiling with csc 2.0
  834. 2006-03-09 Jackson Harper <[email protected]>
  835. * Menu.cs:
  836. * MenuItem.cs: Cheap hack so we can add items to the list without
  837. the events being raised. This allows adding mdi items during
  838. drawing. TODO: Should probably find a better time to add the items.
  839. 2006-03-10 Peter Dennis Bartok <[email protected]>
  840. * ThemeWin32Classic.cs:
  841. - CheckBox_DrawText: Added logic to not wrap if not enough space
  842. is available (Fix for bug #77727)
  843. - RadioButton_DrawText: Added logic not to wrap if not enough
  844. space is available (Fix for bug #77727). Also removed some
  845. duplicate code, DrawString always drawing the regular text
  846. before hitting the if statement.
  847. 2006-03-10 Peter Dennis Bartok <[email protected]>
  848. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  849. 2006-03-10 Peter Dennis Bartok <[email protected]>
  850. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  851. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  852. methods. Moved the new 2.0 properties into alphabetical order with
  853. other properties and added MonoTODO tags
  854. 2006-03-09 Peter Dennis Bartok <[email protected]>
  855. * AutoScaleMode.cs: Added. Fix build.
  856. 2006-03-09 Peter Dennis Bartok <[email protected]>
  857. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  858. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  859. and was requiring premature handle creation for calls from above
  860. * Form.cs, Control.cs: Removed handle arguments from calls to
  861. CalculateClientRect()
  862. 2006-03-09 Peter Dennis Bartok <[email protected]>
  863. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  864. drag_column.column_rect is MarshalByRef and can't be used that way
  865. 2006-03-09 Peter Dennis Bartok <[email protected]>
  866. * AxHost.cs: Added deserialization constructor for
  867. AxHost+State (fixes 77743)
  868. 2006-03-09 Mike Kestner <[email protected]>
  869. * ListView.cs:
  870. - Added column drag reordering for details view.
  871. - fixed behavior when mouse is dragged off column and
  872. AllowColumnReorder is false.
  873. * ColumnHeader.cs: clone the format too in Clone.
  874. * Theme.cs: add DrawListViewHeaderDragDetails method.
  875. * ThemeWin32Classic.cs:
  876. - impl new method for drawing drag column shadows and targets.
  877. - support column offset for details mode in DrawListViewItem.
  878. 2006-03-09 Peter Dennis Bartok <[email protected]>
  879. * TextControl.cs: Reset the char_count when the document is cleared
  880. (Fixes bug reported on mono-winforms mailing list)
  881. 2006-03-09 Peter Dennis Bartok <[email protected]>
  882. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  883. of calling base we simply process the key ourselves, since both
  884. DefWindowProc and the handled method would set m.Result.
  885. (Fixes #77732)
  886. 2006-03-09 Peter Dennis Bartok <[email protected]>
  887. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  888. method also moves the window; instead implemented a copy of
  889. Control.ScaleCore (Part of fix for #77456)
  890. * TextBoxBase.cs:
  891. - Created new CreateGraphicsInternal method to allow providing
  892. a graphics context when no handle is created without triggering
  893. handle creation. (Part of fix for #77456)
  894. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  895. * TextControl.cs:
  896. - Switched Constructor to require TextBoxBase instead of Control (to
  897. allow uncast access to CreateGraphicsInternal)
  898. - Safeguarded use of owner.Handle property. No longer accessing it
  899. unless the handle is already created.
  900. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  901. - Now triggering a recalc when owning control becomes visible
  902. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  903. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  904. premature handle creation (Part of fix for #77456)
  905. * Control.cs:
  906. - We now only destroy our double-buffering buffers when the
  907. control is resized or disposed, but not when visibility
  908. changes. (The code even re-created them twice every time)
  909. - Now requiring a redraw of the buffer on visibility changes
  910. (fixes bug 77654 part 2)
  911. - Not passing OnParentVisibleChanged up unless the control
  912. is visible
  913. - CanFocus: Fixed to match MS documentation
  914. - Focus: Fixed to return actual focus state and to check if
  915. setting focus is legal before setting it
  916. 2006-03-08 Peter Dennis Bartok <[email protected]>
  917. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  918. when to draw focus rectangle by looking at parent focus and
  919. selected state instead. This fixes TabPages on Linux sometimes
  920. having none or multiple focus rectangles.
  921. * XplatUIX11.cs (SetFocus):
  922. - Don't set the focus if the same window already has focus
  923. - Use SendMessage instead of PostMessage (like it's Win32
  924. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  925. to match MS behaviour
  926. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  927. are not selectable.
  928. 2006-03-07 Jackson Harper <[email protected]>
  929. * PictureBox.cs: Revert line I accidently committed last week.
  930. 2006-03-07 Peter Dennis Bartok <[email protected]>
  931. * Control.cs:
  932. - Added new IsRecreating and ParentIsRecreating properties to
  933. allow testing if RecreateHandle has been called on ourselves
  934. or one of our parents
  935. - WndProc(WM_DESTROY): If our control handle is being recreated
  936. we immediately need to create the handle when receiving the
  937. destroy, that way our child windows find a valid parent handle
  938. when they themselves are being recreated upon WM_DESTROY receipt
  939. (fix for bug #77654 part 1)
  940. * XplatUIX11.cs:
  941. - DestroyWindow: WM_DESTROY must be sent to our own window before
  942. notifying any child windows. MS documents that child windows
  943. are still valid when WM_DESTROY is received. (Control now relies on
  944. this behaviour)
  945. - Added some fine-grain debug options
  946. 2006-03-06 Jackson Harper <[email protected]>
  947. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  948. box and base calculations off this.
  949. * MdiChildContext.cs:
  950. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  951. anymore.
  952. 2006-03-06 Peter Dennis Bartok <[email protected]>
  953. * Splitter.cs: In situations where the affected control is added
  954. to the parent's control list after the splitter, we would not
  955. populate affected. Now we try populating it on mousedown, if
  956. it's not already set, and force it to be re-set whenever our
  957. parent changes.
  958. 2006-03-03 Matt Hargett <[email protected]>
  959. * Control.cs: implement Control.Padding
  960. * Padding.cs: -Padding.All returns -1 when constructing with the
  961. implicit default ctor
  962. -Padding.ToString() matches MS.NET
  963. * ContainerControl.cs: implement
  964. ContainerControl.AutoScaleDimensions
  965. * ListControl.cs: implement ListControl.FormattingEnabled
  966. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  967. * ButtonBase.cs:
  968. * TabPage.cs: Implement UseVisualStyleBackColor.
  969. * PictureBox.cs: Implement PictureBox.InitialImage.
  970. 2006-03-03 Mike Kestner <[email protected]>
  971. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  972. event declarations to proxy to base event.
  973. * ListViewItem.cs: update to use ItemControl.
  974. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  975. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  976. column header label rendering for 0 width columns.
  977. 2006-03-03 Peter Dennis Bartok <[email protected]>
  978. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  979. that causes the control to be created. Fixes #77476.
  980. 2006-03-02 Jackson Harper <[email protected]>
  981. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  982. expose_pending.
  983. 2006-03-02 Peter Dennis Bartok <[email protected]>
  984. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  985. passed in for the EventArgs (fixes #77690)
  986. 2006-03-01 Jackson Harper <[email protected]>
  987. * ScrollBar.cs: Refresh afterbeing resized.
  988. 2006-02-28 Mike Kestner <[email protected]>
  989. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  990. Clean up a tracker compile warning.
  991. * MenuItem.cs: add internal PerformPopup method.
  992. [Fixes #77457]
  993. 2006-02-28 Peter Dennis Bartok <[email protected]>
  994. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  995. implicit expose) when the text is set to null
  996. 2006-02-28 Peter Dennis Bartok <[email protected]>
  997. * RichTextBox.cs (FlushText): When newline is true, we always
  998. need to split the line, even if no text is on it and we may
  999. never eat newlines. (Fixes #77669)
  1000. 2006-02-28 Mike Kestner <[email protected]>
  1001. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  1002. and set Selected instead.
  1003. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  1004. collections.
  1005. 2006-02-28 Peter Dennis Bartok <[email protected]>
  1006. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  1007. 2006-02-28 Alexander Olk <[email protected]>
  1008. * FontDialog.cs:
  1009. - Got rid of the panel. All controls are now directly added to
  1010. the dialog form
  1011. - It is now possible to set a font with the Font property
  1012. - MinSize and MaxSize property do now what they should
  1013. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  1014. - Searching and selecting a font with the font textbox works now,
  1015. the same applies to the style and size textbox
  1016. - Draw the correct 3D border in the example panel
  1017. - Fixed a little mem leak (unused fonts didn't get disposed)
  1018. - Many other internal updates/rewrites...
  1019. - Fix typo
  1020. 2006-02-27 Peter Dennis Bartok <[email protected]>
  1021. * TextControl.cs:
  1022. - InsertRTFFromStream: Added 'number of characters inserted' argument
  1023. - set_SelectedRTF: Now using the number of characters to calculate
  1024. the new location for the selection and cursor (x/y cannot be used
  1025. due to potentially already wrapped text)
  1026. 2006-02-27 Peter Dennis Bartok <[email protected]>
  1027. * TextControl.cs: Added property and implemented means to allow
  1028. disabling recalculation of a document (can be used to speed up
  1029. multiple inserts and is needed to make RTF inserts predictable, see
  1030. bug #77659)
  1031. * RichTextBox.cs: Using the new NoRecalc property of Document to
  1032. keep x/y insert locations predictable. Also makes it faster inserting
  1033. large chunks of RTF
  1034. 2006-02-27 Peter Dennis Bartok <[email protected]>
  1035. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  1036. it's easier for a child control to handle the other messages without
  1037. having to duplicate the special functionality
  1038. * TextBoxBase.cs
  1039. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  1040. code to handle processing the key ourselves, in order to get
  1041. access to the result of KeyEventArgs.Handled. We now only call
  1042. ProcessKey if they key hasn't been handled already. Fixes #77526.
  1043. - set_Text: If null or empty string is given, just clear the
  1044. document. Fixes part of #77526
  1045. 2006-02-27 Jackson Harper <[email protected]>
  1046. * SizeGrip.cs: Paint the background color before painting the grip
  1047. so things look right.
  1048. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  1049. 2006-02-27 Mike Kestner <[email protected]>
  1050. * ListView.cs:
  1051. - Restructure layout and invalidation model to remove a ton of
  1052. flicker from the control and speed up performance in general.
  1053. - Add manual column resize, flickers like crazy, but I already have
  1054. some ideas on how I'll fix that. (#76822)
  1055. - Merge the three Icon-based views into a single layout method.
  1056. - Move item selection interaction logic from the item since
  1057. interaction with the collections is more appropriate to the view.
  1058. - Deselection on non-item clicks.
  1059. * ListViewItem.cs:
  1060. - Encapsulate most of the layout. Add some internal props to trigger
  1061. layout. Move to a model where Items invalidate themselves instead
  1062. of just invalidating the whole control every time something changes.
  1063. - Invalidate on Text/Caption changes.
  1064. - switch to an offset based layout model to avoid having to absolute
  1065. position every element on item moves.
  1066. - correct checkbox layout to conform to MS layout.
  1067. * ThemeWin32Classic.cs:
  1068. - refactor some column header drawing code.
  1069. - fix string justification for column headers (#76821)
  1070. - make SmallIcon labels top justified for compat with MS impl.
  1071. * ThemeClearlooks.cs:
  1072. - adjust to new ListViewItem internal checkbox bounds api.
  1073. 2006-02-27 Jackson Harper <[email protected]>
  1074. * Control.cs: Change where implicit controls fall in the zorder.
  1075. They are now on top of all children.
  1076. - Synced AddImplicit code with Add
  1077. - Removed unused enumerator.
  1078. * SizeGrip.cs: Remove the TODO as its been TODONE.
  1079. 2006-02-26 Peter Dennis Bartok <[email protected]>
  1080. * TextControl.cs(Insert): Combine the last lines unless the insertion
  1081. string ends with \n\n, otherwise we leave one line too many (Fixes
  1082. something I noticed with the testapp for #77526; the bug itself was
  1083. already fixed in the previous checkin)
  1084. 2006-02-26 Peter Dennis Bartok <[email protected]>
  1085. * RichTextBox.cs:
  1086. - SelectionColor and SelectionFont methods no longer set absolute
  1087. styles. Instead, the keep font or color respectively (This
  1088. resolves a long-standing FIXME in the code)
  1089. - When flushing RTF text, the insert code now considers text trailing
  1090. behind the insertion point (Fixes the bug where when replacing
  1091. the selected text via SelectedRTF the remainder of the line behind
  1092. the selection would stay on the first insertion line)
  1093. * TextBoxBase.cs:
  1094. - AppendText now updates the selection points after inserting text
  1095. - AppendText now ensures that the last tag (sometimes 0-length) of
  1096. the document is used for the style information (Fixes part of
  1097. bug #77220)
  1098. * TextControl.cs:
  1099. - Created new FontDefiniton class to allow describing partial style
  1100. changes
  1101. - StreamLine() now takes a lines argument, to allow it to decide
  1102. whether an encountered zero-length tag is the last in the document
  1103. (which must be kept to not loose the font/color contained in it,
  1104. for later appends)
  1105. - Created Combine() and Split() methods for Marker structs, to
  1106. support marker updates due to reformatted documents (soft line
  1107. wraps)
  1108. - Implemented Document.CaretTag setter
  1109. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  1110. of the last line (Not the cause, but also exposed by bug #77220)
  1111. - Added LineTag argument to InsertString method, to allow callers
  1112. to force a certain tag to be used (required to force use of the
  1113. trailing zero-length tag of a document)
  1114. - Now updating markers in Combine(), to avoid stale tag markers
  1115. - Added some method descriptions to aid maintenance
  1116. - Implemented new FormatText concept, allowing additive/subtractive
  1117. formatting by only specifying the components that are to be
  1118. changed. This was needed for resolving the RTB.SelectedColor/
  1119. RTB.SelectedFont fixmes
  1120. - Added Break() support method to allow breaking up linetags (used
  1121. for partial formatting)
  1122. - Added GenerateTextFormat() method. It is used for partial
  1123. formatting and allows to generate a full font/color from given
  1124. attributes and an existing tag.
  1125. 2006-02-26 Jackson Harper <[email protected]>
  1126. * XplatUIX11.cs: Use the correct caption height.
  1127. - Translate hittest coordinates to screen coords to match MS.
  1128. * XplatUIWin32.cs: When we create MDI windows we need to reset
  1129. some of the style flags, so we get a nice blank window, and can
  1130. draw all the decorations ourselves.
  1131. - Set a clipping rectangle on the non client paint event, the
  1132. window manager drawing code needs one.
  1133. * Form.cs: The window manager needs to know when the window state
  1134. has been updated.
  1135. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  1136. don't need to factor in border and title sizes in these
  1137. methods. TODO: Remove the args and fix the call points.
  1138. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  1139. properly.
  1140. - Let the driver set the cursors.
  1141. - Improve active window handling
  1142. - Correct sizes for title bars and buttons.
  1143. - Match MS drawing better
  1144. * MdiWindowManager.cs: We don't need to handle border style
  1145. updates specially anymore.
  1146. - Check for scrollbars when windows are done moving
  1147. - Handle Active properly.
  1148. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  1149. correctly. I am spewing the exception though, so we don't hide the
  1150. bugs.
  1151. 2006-02-26 Pedro Martinez Julia <[email protected]>
  1152. * DataGridViewRowPostPaintEventArgs.cs,
  1153. DataGridViewCellPaintingEventArgs.cs,
  1154. DataGridViewRowCollection.cs,
  1155. DataGridViewRowPrePaintEventArgs.cs,
  1156. DataGridViewCell.cs: Clear a few warnings and implement a few
  1157. exceptions that should be thrown.
  1158. 2006-02-22 Peter Dennis Bartok <[email protected]>
  1159. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  1160. 'inheriting' our parent's (non-default) cursor. (Part of
  1161. the fix for #77479)
  1162. 2006-02-22 Peter Dennis Bartok <[email protected]>
  1163. * XplatUIX11.cs: Fixed cast to make csc happy
  1164. 2006-02-22 Peter Dennis Bartok <[email protected]>
  1165. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  1166. it's for the client area (part of fix for #77479 and needed
  1167. for MDI window cursor handling)
  1168. * XplatUIX11.cs
  1169. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  1170. the appropriate default cursors and also passing the message
  1171. up the parent chain
  1172. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  1173. for non-client areas
  1174. 2006-02-15 Jackson Harper <[email protected]>
  1175. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  1176. is a real MDI window
  1177. 2006-02-14 Alexander Olk <[email protected]>
  1178. * X11DesktopColors.cs: Instead of checking the desktop session
  1179. string for "KDE" check if it starts with "KDE"
  1180. 2006-02-10 Jackson Harper <[email protected]>
  1181. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  1182. systems).
  1183. 2006-02-10 Alexander Olk <[email protected]>
  1184. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  1185. errors
  1186. * ColorDialog.cs:
  1187. - Got rid of the panel. All controls are now directly added to
  1188. the dialog form
  1189. - Changed to mono coding style
  1190. 2006-02-10 Jackson Harper <[email protected]>
  1191. * InternalWindowManager.cs: We don't need the set visibility to
  1192. false hack anymore now that peter has written beautiful shutdown
  1193. code.
  1194. 2006-02-10 Peter Dennis Bartok <[email protected]>
  1195. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  1196. where already explicitly destroyed
  1197. 2006-02-10 Jackson Harper <[email protected]>
  1198. * MdiClient.cs: Handle the case where windows are too high or to
  1199. the left and we need scrollbars.
  1200. 2006-02-10 Alexander Olk <[email protected]>
  1201. * MimeIcon.cs: Added some icons
  1202. * FileDialog.cs:
  1203. - Fixed bug #77477
  1204. - Got rid of the panel. All controls are now directly added to
  1205. the dialog form
  1206. - Changed to mono coding style
  1207. - On Linux "My Computer" and "My Network" will now show some
  1208. more usefull information. A new class, MasterMount, gathers
  1209. this information from /proc/mount. Updated MWFFileView to make
  1210. use of this information
  1211. - Fixed a bug that caused FileDialog to crash when
  1212. ".recently_used" file had a zero size
  1213. - FilterIndex does now what it should
  1214. - Some Refactoring
  1215. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  1216. FileDialog changes
  1217. 2006-02-09 Jackson Harper <[email protected]>
  1218. * ComboBox.cs: Don't touch if null.
  1219. 2006-02-09 Peter Dennis Bartok <[email protected]>
  1220. * Cursor.cs: 64bit safeness fix
  1221. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  1222. 2006-02-09 Jackson Harper <[email protected]>
  1223. * Form.cs: If a form is made into an MDI form update the styles so
  1224. all the props can get set correctly.
  1225. - Kill the mdi_container when we dont need it anymore.
  1226. * InternalWindowManager.cs: Add missing NOT
  1227. 2006-02-08 Jackson Harper <[email protected]>
  1228. * InternalWindowManager.cs: Respek clipping when drawing MDi
  1229. decorations.
  1230. 2006-02-08 Jackson Harper <[email protected]>
  1231. * Hwnd.cs: Add bits to track non client expose events.
  1232. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  1233. gives us a proper invalid rect and will allow for some nice
  1234. optimizations with NC client drawing
  1235. - MDI windows are children windows, so move their style handling
  1236. into the child window block.
  1237. * InternalWindowManager.cs: Remove a state reset that was
  1238. getting invoked at the wrong time. Fixes managed windows getting
  1239. into a 'stuck' captured state.
  1240. 2006-02-07 Peter Dennis Bartok <[email protected]>
  1241. * TextControl.cs (Document.ctor): Now initializing
  1242. selection_anchor. Fixes #77493
  1243. 2006-02-07 Jackson Harper <[email protected]>
  1244. * TrackBar.cs: The increment/decrements were backwards.
  1245. 2006-02-07 Mike Kestner <[email protected]>
  1246. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  1247. to the instance itself.
  1248. 2006-02-07 Peter Dennis Bartok <[email protected]>
  1249. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  1250. on ulongs and pointers, the size differs between 32bit and 64bit
  1251. systems.
  1252. 2006-02-07 Mike Kestner <[email protected]>
  1253. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  1254. for 64 bit platforms to work around a metacity bug.
  1255. 2006-02-07 Jackson Harper <[email protected]>
  1256. * TrackBar.cs: Process the input keys we need, and hookup to
  1257. KeyDown instead of using WndProc, so we get key messages.
  1258. 2006-02-06 Peter Dennis Bartok <[email protected]>
  1259. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  1260. machine we're on.
  1261. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  1262. we need to translate the XdndVersion atoms array before sending it
  1263. 2006-02-06 Peter Dennis Bartok <[email protected]>
  1264. * XplatUIX11.cs:
  1265. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  1266. number of bits for the property, not the number of bytes. The
  1267. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  1268. but would not crash since it specified 8 bits instead of 4 bits)
  1269. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  1270. defined as XID -> long in the C headers)
  1271. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  1272. references since those are now IntPtr to begin with
  1273. - Switched all Atom.XXX 'int' casts to IntPtr casts
  1274. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  1275. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  1276. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  1277. * X11Structs.cs:
  1278. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  1279. - Changed atom in HoverStruct to be IntPtr
  1280. * X11DnD.cs:
  1281. - Removed local DllImports, switched code to use those from XplatUIX11
  1282. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  1283. 2006-02-06 Mike Kestner <[email protected]>
  1284. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  1285. method signatures in the import region. There may still be some
  1286. lingering struct marshaling issues, as I didn't drill down into those.
  1287. Yet.
  1288. 2006-02-06 Jackson Harper <[email protected]>
  1289. * ComboBox.cs: Dont manually set the top_item, this is computed
  1290. when the scrollbar position is set.
  1291. 2006-02-06 Mike Kestner <[email protected]>
  1292. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  1293. startup crashes on amd64. There's other fixes needed. All pinvoke
  1294. usage of Atom needs to be mapped to IntPtr for example. And there are
  1295. likely other int/long issues to be addressed.
  1296. 2006-02-04 Alexander Olk <[email protected]>
  1297. * FileDialog.cs: One more...
  1298. 2006-02-03 Alexander Olk <[email protected]>
  1299. * FileDialog.cs: Next try
  1300. 2006-02-03 Alexander Olk <[email protected]>
  1301. * FileDialog.cs: First part of fix for #77464
  1302. 2006-02-03 Alexander Olk <[email protected]>
  1303. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  1304. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  1305. AcceptButton border drawing.
  1306. 2006-02-03 Peter Dennis Bartok <[email protected]>
  1307. * Form.cs: Moved positioning of form after auto scaling is applied,
  1308. otherwise it would possibly use wrong form size.
  1309. 2006-02-03 Peter Dennis Bartok <[email protected]>
  1310. * Control.cs (RecreateHandle): No need to re-create any child
  1311. controls, the child windows will get destroyed automatically by
  1312. the windowing system or driver, and re-created when the handle
  1313. is being accessed the first time. Fixes #77456
  1314. * Form.cs: No longer setting the form to closing if the handle is
  1315. being recreated. This seems like the right thing to do, don't
  1316. have a bug or testcase for this, though.
  1317. 2006-02-02 Peter Dennis Bartok <[email protected]>
  1318. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  1319. controls to avoid unwanted side effects
  1320. 2006-02-02 Peter Dennis Bartok <[email protected]>
  1321. * Control.cs:
  1322. - ScaleCore needs to scale the bounds, not the ClientSize of the
  1323. control. Fixes #77416.
  1324. - DefaultSize is 0,0 for control
  1325. * TextBoxBase.cs:
  1326. - DefaultSize is 100, 20
  1327. - SetBoundsCore: Now enforcing the height, no matter if the provided
  1328. height is more or less than the preferred one, as long as AutoSize
  1329. is on
  1330. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  1331. 2006-02-02 Peter Dennis Bartok <[email protected]>
  1332. * Control.cs:
  1333. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  1334. call unless both performLayout is true *and* we have a pending
  1335. layout change
  1336. - ResumeLayout: MS does not completely nest Suspend and Resume,
  1337. they bottom out at 0, fixed our code to match that.
  1338. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  1339. SetBoundsCore, we were updating even when we shouldn't. This fixes
  1340. swf-anchors mis-anchoring when resizing the app fast and lots.
  1341. - UpdateDistances: Now only setting the left and top distance if
  1342. we have a parent and are not suspended, this is based on
  1343. a suggestion by Don Edvaldson in bug #77355.
  1344. - OnVisibleChanged: Fixed logic when to create the control. We may
  1345. not create the control if we have no parent or if it's not visible;
  1346. switched to using Visible property instead of is_visible field
  1347. since the property also considers parent states. This fixes a bug
  1348. when starting Paint.Net
  1349. 2006-02-02 Jackson Harper <[email protected]>
  1350. * Form.cs: If the forms handle hasn't been created yet don't call
  1351. into xplatui to make it top most, just set the topmost flag on the
  1352. form in CreateParams
  1353. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  1354. 2006-02-01 Jackson Harper <[email protected]>
  1355. * ScrollableControl.cs: Refactored the Recalculate method a
  1356. little, this wasn't handling all the variants of bottom and right
  1357. bars needed to be added and added/removed based on their
  1358. counterparts being added/removed (which changes the drawable
  1359. size). Also we special case client widths and heights of 0 and
  1360. don't add the scrollbar for those.
  1361. 2006-02-01 Peter Dennis Bartok <[email protected]>
  1362. * XplatUIX11.cs:
  1363. - Added method to get AbsoluteGeometry(); currently unused, but might
  1364. be used in the future, if we try again to figure out toplevel
  1365. coordinates with some more crappy window managers
  1366. - Added FrameExtents() method to retrieve the WM set decoration size
  1367. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  1368. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  1369. * Hwnd.cs:
  1370. - Added whacky_wm tracking var for metacity
  1371. - Added logic to have default menu height if the actual menu height
  1372. has not yet been calculated (part of fix for #77426)
  1373. * Form.cs: Keep track whether client size has been set and re-set
  1374. it if a menu is added/removed afterwards (Fixes #77426)
  1375. 2006-01-31 Jackson Harper <[email protected]>
  1376. * Control.cs: When a new Site is set on the component attempt to
  1377. pull the AmbientProperties from it.
  1378. 2006-01-31 Peter Dennis Bartok <[email protected]>
  1379. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  1380. in the background of the owning form. Fixes #77332
  1381. 2006-01-31 Alexander Olk <[email protected]>
  1382. * MimeIcon.cs: Fix for #77409
  1383. 2006-01-31 Alexander Olk <[email protected]>
  1384. * XplatUIX11GTK.cs: Initial import
  1385. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  1386. * FixedSizeTextBox: fixes class signature
  1387. 2006-01-30 Jackson Harper <[email protected]>
  1388. * FixedSizeTextBox.cs: New internal class that represents a
  1389. textBox that will not be scaled.
  1390. * TreeView.cs:
  1391. * ComboBox.cs:
  1392. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  1393. standard TextBox.
  1394. 2006-01-30 Peter Dennis Bartok <[email protected]>
  1395. * XplatUIX11.cs: Retrieve default screen number instead of
  1396. assuming 0. Attempted fix for #77318
  1397. 2006-01-30 Peter Dennis Bartok <[email protected]>
  1398. * XplatUIWin32.cs:
  1399. - GetWindowPos: When a window is parented by FosterParent, use
  1400. the desktop instead of FosterParent as the base to get coordinates
  1401. - CreateWindow: Don't make FosterParent the parent window for Popups
  1402. if we don't want a taskbar entry, Popups automatically don't get one
  1403. * Hwnd.cs: Need to call remove to actually remove the key from the
  1404. hash table
  1405. 2006-01-30 Mike Kestner <[email protected]>
  1406. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  1407. 2006-01-30 Jackson Harper <[email protected]>
  1408. * TreeView.cs:
  1409. * TreeNode.cs: Raise events no matter how the treenode is
  1410. checked. Patch by Don Edvalson.
  1411. 2006-01-30 Jackson Harper <[email protected]>
  1412. * TreeNode.cs: Signature fix.
  1413. 2006-01-29 Alexander Olk <[email protected]>
  1414. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  1415. 2006-01-20 Mike Kestner <[email protected]>
  1416. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  1417. event forwarding when menus are active.
  1418. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  1419. Most of the patch is pdb's with a little rework.
  1420. 2006-01-26 Peter Dennis Bartok <[email protected]>
  1421. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  1422. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  1423. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  1424. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  1425. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  1426. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  1427. the PaintWindowDecorations method
  1428. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  1429. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  1430. * MenuAPI.cs: Made tracker window invisible
  1431. * XplatUIWin32.cs:
  1432. - Removed GetMenuDC and ReleaseMenuDC methods
  1433. - Implemented the client=false path for PaintEventStart and
  1434. PaintEventEnd
  1435. 2006-01-26 Peter Dennis Bartok <[email protected]>
  1436. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  1437. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  1438. styles
  1439. * Form.cs:
  1440. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  1441. the style
  1442. - CreateParams: Reworked the styles to match MS look'n'feel,
  1443. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  1444. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  1445. 2006-01-26 Peter Dennis Bartok <[email protected]>
  1446. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  1447. window is not mapped, since otherwise every form that's being
  1448. created is considered minimized, which is wrong.
  1449. * Form.cs: Catching the exception and returning our internal value
  1450. instead
  1451. 2006-01-26 Peter Dennis Bartok <[email protected]>
  1452. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  1453. SetWindowMinMax() to have means to tell the driver about the minimum,
  1454. maximum and maximized state window sizes. (Part of the fix for #76485)
  1455. * Form.cs:
  1456. - Implemented tracking of minimum and maximum window size, now calling
  1457. new SetWindowMinMax() driver method to tell the driver (Part of the
  1458. fix for #76485)
  1459. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  1460. (Completes fix for #76485)
  1461. - Calling new SetWindowMinMax driver method when the handle for a
  1462. form is created, to make sure the driver knows about it even if
  1463. the values have been set before the window was created
  1464. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  1465. to avoid messing up our anchoring calculations (partial fix
  1466. for #77355)
  1467. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  1468. * XplatUIX11.cs:
  1469. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  1470. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  1471. (and presumably other freedesktop.org compliant WMs). Left the
  1472. assumption unmapped=minimized, needed for SetVisible to work.
  1473. - Now setting the window state when creating windows
  1474. - Fixed SetVisible to consider/set the window state when mapping
  1475. a Form. We cannot set the state before it's mapped, and we cannot
  1476. use Form.WindowState once it's mapped (since it would ask the
  1477. driver and get 'normal'. Therefore, we grab the state before
  1478. mapping, map, and then set state.
  1479. - Implmemented SetWindowMinMax method; Metacity does not seem to
  1480. honor the ZoomHints, though.
  1481. * XplatUIWin32.cs:
  1482. - Removed MINMAXINFO (moved to XplatUIStructs)
  1483. - Added SetWindowMinMax stub (on Win32 the only way to set that
  1484. information is in response to the WM_GETMINMAXINFO message, which
  1485. is handled in Form.cs)
  1486. - Added logic to SetVisible to set the proper window state when a
  1487. form is made visible (fixes #75720)
  1488. 2006-01-26 Jackson Harper <[email protected]>
  1489. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  1490. same way we handle them with Invoke.
  1491. 2006-01-25 Peter Dennis Bartok <[email protected]>
  1492. * Form.cs:
  1493. - Added tracking of window state so CreateParams can return
  1494. the appropriate style
  1495. - Moved setting of WS_CAPTION style in CreateParams to allow
  1496. styles without caption
  1497. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  1498. control if the TextBox property is accessed. Fixes #77345
  1499. * Control.cs:
  1500. - get_Created: now uses is_disposed and is_created to determine
  1501. return value (suggested by Jackson)
  1502. - CreateHandle: No longer exits if the handle is being recreated
  1503. - RecreateHandle: If the handle is not yet created call the
  1504. appropriate method to create either control or handle. If the
  1505. control is already created CreateHandle will simply exit instead
  1506. of just creating the handle
  1507. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  1508. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  1509. is called.
  1510. * XplatUIX11.cs:
  1511. - When DestroyWindow is called, instead of waiting for the
  1512. DestroyNotification from X11, we directly post it to the WndProc
  1513. and immediately dispose the hwnd object.
  1514. Same applies to DestroyChildWindows, and this obsoletes the
  1515. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  1516. child windows before our own, to avoid X11 errors.
  1517. - Removed the direct sending of WM_PAINT on UpdateWindow
  1518. * XplatUIWin32.cs:
  1519. - Reworked DoEvents and GetMessage to allow access to internal queue
  1520. even when trying non-blocking access to the queue. Fixes #77335.
  1521. Based on a patch suggestion by Don Edvalson. The new private
  1522. GetMessage can now also be used as a backend for a PeekMessage
  1523. frontend version.
  1524. * XplatUI.cs: Improved debug output for CreateWindow
  1525. 2006-01-25 Jackson Harper <[email protected]>
  1526. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  1527. 2006-01-24 Jackson Harper <[email protected]>
  1528. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  1529. when we have a MaxDropItems lower then the selected index.
  1530. 2006-01-24 Jackson Harper <[email protected]>
  1531. * Control.cs: Don't allow selection of non visible controls, allow
  1532. selection of controls without parents.
  1533. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  1534. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  1535. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  1536. 2006-01-23 Jackson Harper <[email protected]>
  1537. * UpDownBase.cs: Make the textbox handle all the selection and
  1538. tabbing. This fixes tabing to updown controls.
  1539. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  1540. * TextBoxBase.cs: fixes exception thown the object was null
  1541. 2006-01-23 Jackson Harper <[email protected]>
  1542. * ButtonBase.cs: Just use the base CreateParams. They set
  1543. visibility and enabled correctly.
  1544. * ComboBox.cs:
  1545. * TrackBar.cs:
  1546. * MonthCalendar.cs: Lets let the base set as much of the
  1547. createparams as possible so we don't have duplicate code all over
  1548. the place.
  1549. 2006-01-22 Alexander Olk <[email protected]>
  1550. * ThemeGtk.cs: Added TrackBar and some experimental code to
  1551. get double buffering back
  1552. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  1553. * DataGrid.cs: Allows row number set internally higher than the last
  1554. when creating a new row. Restores the editing functionality.
  1555. 2006-01-20 Mike Kestner <[email protected]>
  1556. * MimeIcon.cs: delay Image creation until the icons are accessed
  1557. instead of creating 190 scaled images on GnomeHandler startup.
  1558. 2006-01-19 Peter Dennis Bartok <[email protected]>
  1559. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  1560. first call base before processing the event. Fixes #77279
  1561. 2006-01-19 Peter Dennis Bartok <[email protected]>
  1562. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  1563. that the stride for the GDI bitmap would match the stride of
  1564. a DIB or a Cursor.
  1565. 2006-01-19 Alexander Olk <[email protected]>
  1566. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  1567. 2006-01-19 Jackson Harper <[email protected]>
  1568. * ComboBox.cs: Hookup the text controls keydown event so we get
  1569. those when the text control has the focus.
  1570. 2006-01-18 Peter Dennis Bartok <[email protected]>
  1571. * Label.cs: Now using the base events instead of defining new ones;
  1572. this allows us to just call the base properties without having to
  1573. duplicate all base property logic
  1574. 2006-01-18 Peter Dennis Bartok <[email protected]>
  1575. * Label.cs: A label by default is not a tabstop (Fixes one of our
  1576. failing nunit tests)
  1577. 2006-01-18 Peter Dennis Bartok <[email protected]>
  1578. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  1579. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  1580. 2006-01-18 Peter Dennis Bartok <[email protected]>
  1581. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  1582. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  1583. This fixes #77218
  1584. * XplatUIWin32.cs:
  1585. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  1586. constructor creates images that can't be saved. Part of the fix
  1587. for #76103
  1588. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  1589. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  1590. bug fix for handling window state in forms properly)
  1591. 2006-01-18 Alexander Olk <[email protected]>
  1592. * ThemeGtk.cs: Simplify ScrollBar drawing
  1593. 2006-01-18 Jackson Harper <[email protected]>
  1594. * Splitter.cs: Set the default dock style for the splitter control
  1595. in the constructor.
  1596. 2006-01-18 Alexander Olk <[email protected]>
  1597. * ThemeGtk.cs: Corrected StateType and ShadowType for
  1598. gtk_paint_box
  1599. 2006-01-18 Alexander Olk <[email protected]>
  1600. * Control.cs: Make use of Theme.DoubleBufferingSupported
  1601. * ThemeGtk.cs:
  1602. - Added drawing for flat style buttons
  1603. - Added ScrollBar drawing
  1604. 2006-01-18 Alexander Olk <[email protected]>
  1605. * ThemeClearlooks.cs: Removed some unneeded code.
  1606. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  1607. 2006-01-17 Peter Dennis Bartok <[email protected]>
  1608. * LinkLabel.cs: We need to update the hover drawing when
  1609. leaving the control as well.
  1610. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  1611. * DataGrid.cs: Clicking on non empty areas in the columns
  1612. area was giving an exception
  1613. 2006-01-17 Jackson Harper <[email protected]>
  1614. * ThemeWin32Classic.cs:
  1615. * ListView.cs: Do not draw/clip the headers when the header style
  1616. is None.
  1617. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  1618. * DataGrid.cs: Fixes 77260
  1619. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  1620. * DataGrid.cs: Clicking on a column on a empty grid was giving
  1621. an exception
  1622. 2006-01-17 Peter Dennis Bartok <[email protected]>
  1623. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  1624. or any keypress will crash the grid.
  1625. 2006-01-17 Mike Kestner <[email protected]>
  1626. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  1627. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  1628. invisible/previously-visible items.
  1629. [Fixes #76909]
  1630. 2006-01-17 Alexander Olk <[email protected]>
  1631. * ThemeClearlooks.cs:
  1632. - Added CL_Draw_Button method; now other theme controls that are
  1633. not derived from button or do not have a button can draw buttons
  1634. too
  1635. - Updated ComboBox drawing
  1636. - Beautified RadioButton drawing
  1637. - Corrected drawing of bottom and left tabs
  1638. - Beautified DateTimePicker and MonthCalendar
  1639. - Added CPDrawButton and CPDrawRadioButton
  1640. 2006-01-16 Jackson Harper <[email protected]>
  1641. * ComboBox.cs: Set the initial value of the scrollbar to the
  1642. current index. Reduce the numbers of refreshs and IndexOfs called.
  1643. 2006-01-14 Alexander Olk <[email protected]>
  1644. * FileDialog.cs: When the file listview is focused hitting the
  1645. backspace key moves the fileview to the parent directory
  1646. 2006-01-13 Peter Dennis Bartok <[email protected]>
  1647. * Form.cs:
  1648. - Added RecreateHandle call when changing taskbar visibility to
  1649. trigger reparenting in Win32 driver (Fixes #75719)
  1650. - If a window has minimize or maximize buttons, it cannot have
  1651. a help button
  1652. * XplatUIWin32.cs:
  1653. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  1654. the toplevel form with FosterParent (A toolwindow not on the
  1655. taskbar) (Fixes #75719)
  1656. - Made FosterParent a toolwindow
  1657. 2006-01-13 Alexander Olk <[email protected]>
  1658. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  1659. 2006-01-13 Alexander Olk <[email protected]>
  1660. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  1661. is currently over that control, make sure that tooltip_window.Text
  1662. gets updated
  1663. 2006-01-13 Mike Kestner <[email protected]>
  1664. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  1665. 2006-01-13 Jackson Harper <[email protected]>
  1666. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  1667. value passed. Also redraw the selected node when we recieve
  1668. focus, so tabbing between trees works correctly.
  1669. 2006-01-13 Alexander Olk <[email protected]>
  1670. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  1671. ~/.gconf/%gconf-tree.xml, so use
  1672. .gconf/desktop/gnome/interface/%gconf.xml
  1673. 2006-01-13 Peter Dennis Bartok <[email protected]>
  1674. * TextControl.cs: Draw text in gray if control is disabled
  1675. 2006-01-13 Peter Dennis Bartok <[email protected]>
  1676. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  1677. make sure it's always visible. Fixes #76680.
  1678. 2006-01-13 Peter Dennis Bartok <[email protected]>
  1679. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  1680. 2006-01-13 Jonathan Chambers <[email protected]>
  1681. * PageSetupDialog.cs: Added.
  1682. * PrintDialog.cs: Attributes.
  1683. * PrintPreviewControl.cs: Updates.
  1684. * PrintPreviewDialog.cs: Updates.
  1685. 2006-01-12 Peter Dennis Bartok <[email protected]>
  1686. * Control.cs: Undid my selection check fix, since it's not needed
  1687. * TextBoxBase.cs:
  1688. - Now considering the presence of hscroll/vscroll when sizing
  1689. vscroll/hscroll respectively. Fixed bug #77077
  1690. - Added Left/Up/Down/Right to IsInputKey list to prevent
  1691. ContainerControl from stealing them. This fixes what I broke
  1692. with my last checkin.
  1693. 2006-01-12 Peter Dennis Bartok <[email protected]>
  1694. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  1695. I finally understand how the property can be set without a setter :-)
  1696. 2006-01-12 Peter Dennis Bartok <[email protected]>
  1697. * Application.cs:
  1698. - Switched RunLoop to use static Message.Create to create a
  1699. Message object
  1700. - Added PreProcessMessage call in runloop for keyboard events; this
  1701. is part of the fix for #77219, I overlooked this originally in the
  1702. MSDN doc for PreProcessMessage
  1703. * Control.cs:
  1704. - Removed call to PreProcessMessage from handling of keyboard
  1705. messages; it's supposed to be done in the message pump
  1706. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  1707. per MSDN documentation.
  1708. - IsInputChar: All chars are input chars by default; removed the
  1709. parent calling chain, MS does not document that
  1710. - PreProcessMessage: If IsInputChar is true, we want to return false
  1711. to allow dispatching of the message
  1712. - When selecting the next control, now also check that we're not
  1713. selecting ourselves again and therefore return a false positive.
  1714. * TextBoxBase.cs:
  1715. - Tried to match return values for IsInputKey and ProcessDialogKey
  1716. to what MS returns; moved processing of our special keys outside
  1717. ProcessDialogKey since MS does not seem to return true on those.
  1718. - Moved code that previously was in ProcessDialogKey into new private
  1719. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  1720. - Reworked handling of WM_CHAR to not have to duplicate code from
  1721. Control.cs anymore, instead we simply call down to base.
  1722. 2006-01-12 Jackson Harper <[email protected]>
  1723. * ComboBox.cs: We always need to refresh the text area when
  1724. EndUpdate is called. Fixes the combobox in the file dialog.
  1725. * Control.cs: Don't create the creator_thread until the controls
  1726. handle is created. Also in InvokeRequired we check if the
  1727. creator_thread is null. This gives the effect of InvokeRequired
  1728. returning true if the controls handle is not created yet, and
  1729. matches MS.
  1730. 2006-01-12 Peter Dennis Bartok <[email protected]>
  1731. * XplatUI.cs:
  1732. - Added StartLoop() driver method. This is used to allow drivers to
  1733. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  1734. loop for a particular thread
  1735. - Added EndLoop() driver method. This is called once the message
  1736. pump for the thread is shut down
  1737. - Added SupportsTransparency method to allow the driver to indicate
  1738. opacity support for windows
  1739. * Form.cs:
  1740. - Removed TODO attribute, completed AllowTransparency property
  1741. - Added documented logic to Opacity
  1742. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  1743. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  1744. versions of CompatibleTextRendering
  1745. * X11Structs.cs: Added opacity atom to our atom enumeration
  1746. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  1747. of a form might be set before it's reparented by the WM, and we need
  1748. the opacity value without calling up to Form)
  1749. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  1750. SupportsTransparency() driver methods
  1751. * Application.cs: Now calling StartLoop and EndLoop driver methods
  1752. * XplatUIX11.cs:
  1753. - Added opacity atom registration
  1754. - Added StartLoop()/EndLoop() methods. They're empty right now but
  1755. will need to get implemented when we switch to a per-thread queue
  1756. - Implemented SupportsTransparency() method
  1757. - Implemented SetWindowTransparency() method
  1758. - Added support for setting the opacity value when a window is
  1759. reparented (since the opacity needs to be set on the WM frame)
  1760. * XplatUIOSX.cs, XplatUIWin32.cs:
  1761. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  1762. 2006-01-12 Alexander Olk <[email protected]>
  1763. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  1764. 2006-01-12 Alexander Olk <[email protected]>
  1765. * FileDialog.cs: Added ToolTip for MWFFileView
  1766. * MimeIcon.cs: Rewrote GnomeHandler.
  1767. - Get currently used gnome icon theme from
  1768. ($HOME)/.gconf/%gconf-tree.xml
  1769. - Make use of inherited icon themes
  1770. - Support SVG icon themes like Tango via librsvg
  1771. 2006-01-12 Miguel de Icaza <[email protected]>
  1772. Revert's Jackson's revert which broke 2.0 builds. Fix both
  1773. builds.
  1774. * Application.cs: Move the use_compatible_text_rendering outside
  1775. the NET_2_0 define. If we ever need to use the
  1776. use_compatible_text_rendering on the individual controls they will
  1777. access the variable from the common shared code paths.
  1778. 2006-01-12 Peter Dennis Bartok <[email protected]>
  1779. * XplatUI.cs:
  1780. - Added more granular debug options
  1781. - Added method to print both window text and id
  1782. - Switched debug output to use new Window() debug method
  1783. - Added IsEnabled() driver method
  1784. - Added EnableWindow() driver method
  1785. * Form.cs:
  1786. - Removed end_modal; no longer needed, new loop handles termination
  1787. via 'closing' variable
  1788. - If form is modal, setting DialogResult will now initiate loop
  1789. termination via 'closing' variable
  1790. - Added support for is_enabled/WS_DISABLED to CreateParams
  1791. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  1792. does all the work
  1793. - Removed code that's now in RunLoop from ShowDialog()
  1794. - Added various documented sanity checks to ShowDialog()
  1795. - Added handling of WM_DESTROY message; we set 'closing' on getting
  1796. the message to indicate the message pump to terminate
  1797. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  1798. send by the Application.ExitThread method. (We send the message
  1799. to destroy the window after all other events have been
  1800. processed through the queue, instead of destroying the handle
  1801. directly)
  1802. - Moved code from Close() method to WM_CLOSE handler; added logic
  1803. to only send close-related events if the form is not displayed
  1804. modal
  1805. * Splitter.cs (..ctor): Fixed typo in resource name
  1806. * Control.cs:
  1807. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  1808. brush now
  1809. - set_Cursor: Now only setting calling into XplatUI if the handle for
  1810. the control is already created; this avoids implict handle creation
  1811. or crashes if it's not created
  1812. - set_Enabled: Now setting the enabled state via the new driver method
  1813. instead of just tracking it
  1814. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  1815. - CreateControl: Reordered event firing and method calls to more
  1816. closely fire events in the order MS does. Now setting the
  1817. enabled state in the driver when creating the control.
  1818. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  1819. match MS order
  1820. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  1821. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  1822. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  1823. * Hwnd.cs:
  1824. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  1825. - Added EnabledHwnd property to easily allow a driver to find the
  1826. handle of the first enabled window in the parent chain (this is
  1827. used by drivers to pass up input events of disabled windows)
  1828. * XplatUIDriver.cs: Added IsEnabled() method
  1829. * Application.cs:
  1830. - Removed crude and obsolete exiting tracking variable
  1831. - Removed internal ModalRun(); replaced by RunLoop()
  1832. - Implemented private CloseForms() method to allow closing all
  1833. windows owned by a particular (or all) threads
  1834. - Exit() now properly closes all windows without forcing the message
  1835. pump to quit
  1836. - Removed obsolete InternalExit() method
  1837. - Changed Run() methods to use new RunLoop() message pump
  1838. - Implemented new RunLoop() method for both modal and non-modal forms
  1839. * CommonDialog.cs:
  1840. - get_CreateParams: Added setting of WS_DISABLED
  1841. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  1842. invoked via Form.ShowDialog()
  1843. * NativeWindow.cs: We don't remove the window from the collection when
  1844. the handle is destroyed; there might still be messages for it in the
  1845. queue (mainly the resulting WM_DESTROY); instead it will be removed
  1846. when Control calls InvalidateHandle in the WM_DESTROY handler
  1847. * XplatUIX11.cs:
  1848. - CreateWindow: Added logic to handle the WS_DISABLED window style
  1849. - EnableWindow: Implemented based on Hwnd.Enabled
  1850. - GetMessage: Reset PostQuitState so the method can be called again
  1851. - Implemented support for disabled windows (passing messages to the
  1852. first enabled parent) in handling all input messages
  1853. - Added optimizations for handling Expose events
  1854. - Implemeted new driver method IsEnabled()
  1855. - Now always resetting paint pending tracking vars when we start paint
  1856. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  1857. * XplatUIOSX.cs: Added IsEnabled method stub
  1858. * XplatUIWin32.cs: Implemented new IsEnabled() method
  1859. 2006-01-11 Jackson Harper <[email protected]>
  1860. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  1861. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  1862. variables a little.
  1863. * ColorDialog.cs: Clear out the old form before adding the new
  1864. panel.
  1865. 2006-01-11 Jackson Harper <[email protected]>
  1866. * X11Dnd.cs: Make sure to add all the text formats when adding
  1867. strings to the data object.
  1868. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  1869. do some redrawing too. Also change the UpdateNode to an
  1870. UpdateBelow so the newly added node gets painted.
  1871. 2006-01-11 Miguel de Icaza <[email protected]>
  1872. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  1873. LinkLabel.cs, PropertyGrid.cs: Implement the
  1874. UseCompatibleTextRendering property for 2.x
  1875. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  1876. 2006-01-11 Jackson Harper <[email protected]>
  1877. * TreeView.cs: Use the property for setting the selected node so
  1878. the correct events get raised.
  1879. * TreeNode.cs: Update the tree when the fore/back colours of a
  1880. node are set.
  1881. 2006-01-10 Jackson Harper <[email protected]>
  1882. * TreeView.cs: Allow setting SelectedNode to null.
  1883. 2006-01-9 Jonathan Chambers <[email protected]>
  1884. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  1885. 2006-01-9 Jonathan Chambers <[email protected]>
  1886. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  1887. 2006-01-9 Jonathan Chambers <[email protected]>
  1888. * PrintDialog.cs: Added attributes and set default property values.
  1889. 2006-01-9 Jonathan Chambers <[email protected]>
  1890. * PrintControllerWithStatusDialog.cs:
  1891. Added PrintControllerWithStatusDialog.
  1892. 2006-01-9 Jonathan Chambers <[email protected]>
  1893. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  1894. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  1895. 2006-01-9 Jonathan Chambers <[email protected]>
  1896. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  1897. 2006-01-09 Jonathan Chambers <[email protected]>
  1898. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  1899. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  1900. 2006-01-08 Alexander Olk <[email protected]>
  1901. * MimeIcon.cs: Added internal class SVGUtil.
  1902. 2006-01-08 Alexander Olk <[email protected]>
  1903. * FileDialog.cs: Don't crash if there are two files with the
  1904. same name but different locations.
  1905. 2006-01-08 John BouAntoun <[email protected]>
  1906. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  1907. dates across multiple month grids. Used to not highlight entire
  1908. month, but does now.
  1909. 2006-01-06 Jackson Harper <[email protected]>
  1910. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  1911. message loop. Change timer intervals to numbers that seem more
  1912. natural.
  1913. 2006-01-06 John BouAntoun <[email protected]>
  1914. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  1915. object for location info since screen object is now implemented.
  1916. 2006-01-05 Jackson Harper <[email protected]>
  1917. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  1918. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  1919. AsyncMethodResult, this is because we ALWAYS want the
  1920. ManualResetEvent to get set.
  1921. * Control.cs: When disposing use an async invoke to call shutdown
  1922. code, so that thigns don't block on the finalizer thread. Also
  1923. check if we even have a message loop before trying to send
  1924. messages, if we don't then don't bother sending messages.
  1925. - No more weak references for async methods
  1926. * XplatUIDriver.cs: No more weak references for async methods.
  1927. 2006-01-04 Alexander Olk <[email protected]>
  1928. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  1929. returns two FontFamily with the same name
  1930. 2006-01-04 Peter Dennis Bartok <[email protected]>
  1931. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  1932. drawing disabled text. Instead using the ColorGrayText color
  1933. 2006-01-04 Jackson Harper <[email protected]>
  1934. * TreeNode.cs: redraw the node when its image index is changed.
  1935. 2006-01-04 Peter Dennis Bartok <[email protected]>
  1936. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  1937. time I checked there are no others like it.
  1938. 2006-01-04 Jackson Harper <[email protected]>
  1939. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  1940. this gives the behavoir I was looking for.
  1941. * Control.cs: Special case Invoking EventHandlers, this matches MS
  1942. and fixes part of bug #76326.
  1943. 2006-01-04 Alexander Olk <[email protected]>
  1944. * ThemeClearlooks.cs, FileDialog.cs:
  1945. - Reflect the latest Theme class changes
  1946. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  1947. with DateTime
  1948. 2006-01-04 Alexander Olk <[email protected]>
  1949. * Theme.cs: Cache UI resource images and resize them if needed
  1950. 2006-01-03 Peter Dennis Bartok <[email protected]>
  1951. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  1952. is called. This fixes the crash in Nexxia when setting the font
  1953. attributes in the chat. [However, RTF needs a look-over to make sure
  1954. that all SelectionXXX methods handle the special case that selection
  1955. is empty and therefore the change must be applied to all text starting
  1956. at the cursor/selection start]
  1957. 2006-01-03 Peter Dennis Bartok <[email protected]>
  1958. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  1959. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  1960. * X11Keyboard.cs: Switched to new way of calling PostMessage
  1961. 2006-01-03 Peter Dennis Bartok <[email protected]>
  1962. * Theme.cs: Added theme interface for images to allow the theme to
  1963. control what images are used for things like FileDialog, MessageBox
  1964. icons, etc.
  1965. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  1966. 2006-01-03 Alexander Olk <[email protected]>
  1967. * FileDialog.cs:
  1968. - Removed some dead code
  1969. - Opening a recently used file does work now
  1970. - Small UI enhancements
  1971. - Refactoring
  1972. 2006-01-02 Alexander Olk <[email protected]>
  1973. * FileDialog.cs: Forgot too add __MonoCS__
  1974. 2006-01-02 Alexander Olk <[email protected]>
  1975. * FileDialog.cs: We are able to read recently used files now let's
  1976. go on and write them.
  1977. 2006-01-01 Alexander Olk <[email protected]>
  1978. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  1979. button
  1980. * MimeIcon.cs: Do a check for the top level media type also
  1981. 2005-12-31 Alexander Olk <[email protected]>
  1982. * ThemeClearlooks.cs:
  1983. - Added CPDrawStringDisabled
  1984. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  1985. some chars if the text doesn't fit into text_rect
  1986. - DrawListViewItem: If View = View.LargeIcon center the image;
  1987. rewrote the drawing of ListViewItem.Text if View =
  1988. View.LargeIcon
  1989. 2005-12-31 Alexander Olk <[email protected]>
  1990. * MimeIcon.cs: Use default KDE icon theme if there is no
  1991. "48x48" directory for the current icon theme, fixes #77114
  1992. * Mime.cs: Disable not working and actually not used code.
  1993. * ThemeWin32Classic.cs:
  1994. - Replace "new SolidBrush" in GetControlBackBrush and
  1995. GetControlForeBrush with ResPool.GetSolidBrush
  1996. - Changed DrawListViewItem from private to protected virtual
  1997. * FileDialog.cs:
  1998. - Added form.MaximizeBox = true
  1999. - Don't throw an exception if there is a broken symbolic link
  2000. 2005-12-23 Jackson Harper <[email protected]>
  2001. * TabControl.cs: Give the panels focus, keyboard navigation is
  2002. fixed so this works correctly now.
  2003. - We need these key events also.
  2004. * ToolBar.cs: Remove some of the poor mans double buffering.
  2005. 2005-12-24 Alexander Olk <[email protected]>
  2006. * ComboBox.cs: The internal TextBox now returns the focus.
  2007. 2005-12-23 Jackson Harper <[email protected]>
  2008. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  2009. 2005-12-23 Peter Dennis Bartok <[email protected]>
  2010. * Control.cs: Removed debug code
  2011. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  2012. implicit children
  2013. 2005-12-23 Peter Dennis Bartok <[email protected]>
  2014. * Control.cs: When creating the control, update the Z-order after
  2015. all it's children are created, too. (Fixes nexxia not showing
  2016. picturebox bug)
  2017. 2005-12-23 Peter Dennis Bartok <[email protected]>
  2018. * Control.cs: Do not update the anchoring distances if layout is
  2019. suspended, instead do it once layout is resumed
  2020. 2005-12-22 Peter Dennis Bartok <[email protected]>
  2021. * Control.cs:
  2022. - After many hours of debugging, for both Jackson and
  2023. myself, it turns out that it helps to set the parent of a control
  2024. if you want to actually see it onscreen. In the spirit of that
  2025. discovery, we're now setting the parent of the control and
  2026. it's children when the control's handle is created. This fix
  2027. will make Lutz Roeder's Reflector run happily.
  2028. - now just creating the handle instead of the whole control when
  2029. getting a graphics context for the control.
  2030. 2005-12-22 Peter Dennis Bartok <[email protected]>
  2031. * ScrollableControl.cs: When calculating the canvas, don't consider
  2032. the scrollbar widths. Instead, predict if horizontal scrollbar
  2033. will affect canvas when deciding on vertical display and vice versa.
  2034. 2005-12-22 Peter Dennis Bartok <[email protected]>
  2035. * RichTextBox.cs: Set default RTF font for documents that don't
  2036. have a font table (Fixes #77076)
  2037. 2005-12-22 Jackson Harper <[email protected]>
  2038. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  2039. clipboard. This prevents a NullRef in that case.
  2040. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  2041. clipboard. PRIMARY is for the currently selected text only. (We
  2042. should implement PRIMARY at some point.
  2043. 2005-12-21 Peter Dennis Bartok <[email protected]>
  2044. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  2045. a Unicode function with a structure that was defined in Ansi way.
  2046. This fixes #76942.
  2047. 2005-12-21 Jackson Harper <[email protected]>
  2048. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  2049. on. Because thats how it rolls. (and this avoids it using ambient
  2050. colours).
  2051. * ThemeWin32Classic.cs: Use the proper back color for filling.
  2052. * Menu.cs: Use the system menu bar color for drawing menu
  2053. bars. Using the window back color will bring ambient colours into
  2054. the picture.
  2055. 2005-12-21 Alexander Olk <[email protected]>
  2056. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  2057. Bitmaps were created and not disposed.
  2058. 2005-12-21 Peter Dennis Bartok <[email protected]>
  2059. * Control.cs (CreateControl): Don't do anything if the control is
  2060. already created, otherwise we'd fire the OnCreated event more than
  2061. once
  2062. 2005-12-21 Peter Dennis Bartok <[email protected]>
  2063. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  2064. will always match. Instead return -1. Fixes #76464.
  2065. 2005-12-21 Peter Dennis Bartok <[email protected]>
  2066. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  2067. neither the beginning nor the end of the line (Fixes bug #76479)
  2068. 2005-12-21 Peter Dennis Bartok <[email protected]>
  2069. * Control.cs:
  2070. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  2071. where handle is invalid
  2072. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  2073. instead of slower linear search
  2074. * NativeWindow.cs: Don't remove the window from the hashtable until
  2075. after the driver has destroyed it (since the driver might use
  2076. Control.FromHandle to lookup the control object
  2077. * Hwnd.cs: Added DestroyPending property to track if a window is
  2078. already destroyed as far as the driver is concerned and only hasn't
  2079. yet notified the control
  2080. * XplatUIX11.cs:
  2081. - Activate(): Check if the window is still valid before using the
  2082. handle
  2083. - Implemented DestroyChildWindow() method to mark child windows as
  2084. destroyed when a window is destroyed. This prevents situations
  2085. where we might call an X method based on queued events for a
  2086. window that already has been destroyed but we haven't yet pulled
  2087. the destroy method from the queue.
  2088. - Added a call to the new DestroyChildWindow() method to the drivers
  2089. DestroyWindow code. Also now marking the destroyed window itself
  2090. as pending
  2091. 2005-12-20 Jackson Harper <[email protected]>
  2092. * StatusBar.cs:
  2093. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  2094. anymore. Just do them when needed, also track the rects of panels
  2095. so that we can optimize refreshing more in the future.
  2096. 2005-12-20 Alexander Olk <[email protected]>
  2097. * ColorDialog.cs: Fixed focus drawing in small color controls
  2098. 2005-12-19 Jackson Harper <[email protected]>
  2099. * InternalWindowManager.cs:
  2100. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  2101. moving windows works properly.
  2102. 2005-12-19 Peter Dennis Bartok <[email protected]>
  2103. * Control.cs:
  2104. - Removed call to InitLayout() from SetBoundsCore(); doc says
  2105. it's only called when a control is added to a container
  2106. - Split InitLayout logic, moved to separate UpdateDistances() method
  2107. since we need to perform those calculations more often than just
  2108. when adding the control to a container. (Needed to fix #77022)
  2109. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  2110. - Reduced the OnBindingContextChanged events count, don't send them
  2111. unless the control is created, we still aren't totally matching
  2112. MS, but I can't quite figure out some of their rules
  2113. 2005-12-18 Alexander Olk <[email protected]>
  2114. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  2115. stripes
  2116. 2005-12-18 Alexander Olk <[email protected]>
  2117. * ThemeClearlooks.cs:
  2118. - Updated ProgressBar drawing
  2119. - Corrected drawing of ScrollBars and scroll buttons
  2120. - Some temporary fixes for minor pixel artefacts
  2121. 2005-12-18 Peter Dennis Bartok <[email protected]>
  2122. * Control.cs:
  2123. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  2124. cause events to be sent in the same order as MS does.
  2125. - Added ChangeParent() method to trigger various OnXXXChanged events
  2126. that need to be fired when a parent changes (This is a reworking
  2127. of the patch from r54254, with the X11 errors fixed)
  2128. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  2129. since on MS we get OnLayoutChanged events when calling Clear()
  2130. - Changed Enabled property to consider parent state as well, if a
  2131. parent is not enabled, the control will not be either
  2132. - Changed Parent property to simply call Controls.Add() since that
  2133. now does all the work required, this way we avoid code duplication
  2134. - Threw in a few OnBindingsContextChanged calls to try and match
  2135. when MS sends them. We seem to send a few too many, though.
  2136. - Added call to CreateControl when adding the control to a parent.
  2137. We were never calling CreateControl. Still needs some work, in
  2138. some places we treat HandleCreated and ControlCreated as equal,
  2139. which is wrong
  2140. - Removed obsolete commented out code from UpdateZOrder()
  2141. 2005-12-18 Alexander Olk <[email protected]>
  2142. * ThemeClearlooks.cs: Updated TrackBar drawing.
  2143. 2005-12-17 Alexander Olk <[email protected]>
  2144. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  2145. 2005-12-17 Alexander Olk <[email protected]>
  2146. * FileDialog.cs: Add the Help button and the open readonly
  2147. checkbox only if needed
  2148. 2005-12-16 Jackson Harper <[email protected]>
  2149. * Control.cs: Make sure we have an active menu before trying to
  2150. process commands on it. Prevents menu-less forms from crashing
  2151. when Alt is pressed.
  2152. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  2153. Dieter Bremes.
  2154. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  2155. 2.0 build.
  2156. 2005-12-16 Jackson Harper <[email protected]>
  2157. * InternalWindowManager.cs: Don't translate tool windows screen
  2158. coordinates. This fixes windows 'bouncing' around when being moved.
  2159. 2005-12-15 Peter Dennis Bartok <[email protected]>
  2160. * TextBoxBase.cs:
  2161. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  2162. not quite MS compatible, MS uses that number only for single line
  2163. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  2164. the limit at 2GB)
  2165. - Now enforcing the MaxLength limit when entering characters
  2166. - Added argument to internal Paste() method to track if it's called
  2167. from programatically or via keyboard, since keyboard driven pastes
  2168. need to enforce max-length
  2169. - Added logic to Paste to only paste as many chars as MaxLength
  2170. allows
  2171. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  2172. * TextControl.cs:
  2173. - Added Length property to return number of characters in document
  2174. - Added private CharCount property which only tracks actual chars
  2175. in the document (no linefeeds) and fires event when CharCount
  2176. changes
  2177. - Added tracking of character count to all methods that alter it
  2178. - Added LengthChanged event to allow applications to subscribe
  2179. to any changes to the document
  2180. 2005-12-15 Peter Dennis Bartok <[email protected]>
  2181. * TextBox.cs:
  2182. - Removed local password_char field (moved to TextBoxBase)
  2183. - Now setting the document's password var when password is
  2184. set
  2185. * TextBoxBase.cs:
  2186. - Added password_char field (needed here so MultiLine can
  2187. access it)
  2188. - Added logic to MultiLine property setter to set the document's
  2189. variable when password display is allowed
  2190. - Removed debug code and made some debug code conditional
  2191. * TextControl.cs:
  2192. - Added RecalculatePasswordLine() method to handle special password
  2193. char only lines
  2194. - Added PasswordChar property, also added related tracking vars
  2195. - Draw() method now uses local text var for grabbing text to draw,
  2196. this var is set to line.text unless we're doing password display,
  2197. then it is set to the pre-generated all-password-chars line
  2198. - Added calling RecalculatePasswordLine() method for password lines
  2199. 2005-12-14 Peter Dennis Bartok <[email protected]>
  2200. * Hwnd.cs:
  2201. - Added Reparented property to allow tracking of Window Manager
  2202. reparenting actions (which affect X/Y calculations of toplevel
  2203. windows)
  2204. - Made ToString() print window handles in hex
  2205. * XplatUIX11.cs:
  2206. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  2207. determine if X/Y needs offsetting
  2208. - AddConfigureNotify(): Fixed offset calculations
  2209. - Now adds ReparentNotify messages into the queue
  2210. - Now processes ReparentNotify messages and causes a
  2211. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  2212. is reparented (as most likely it's X/Y coordinates are changed
  2213. due to that)
  2214. 2005-12-14 Jackson Harper <[email protected]>
  2215. * XplatUIX11.cs: Tool windows still need to respek focus.
  2216. 2005-12-14 Peter Dennis Bartok <[email protected]>
  2217. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  2218. have a working release
  2219. 2005-12-13 Jackson Harper <[email protected]>
  2220. * Form.cs: Update styles after setting the border style regardless
  2221. of whether or not the window is using a window manager.
  2222. 2005-12-13 Jackson Harper <[email protected]>
  2223. * Form.cs: We now hook into an internal window manager instead of just an
  2224. MDI subsystem, this is so we can have properly behaving tool windows.
  2225. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  2226. * InternalWindowManager.cs: New internal class that acts as a
  2227. window manager for tool windows and as a base for mdi windows.
  2228. * MdiWindowManager.cs: New class that acts as a window manager for
  2229. mdi windows.
  2230. 2005-12-12 Jackson Harper <[email protected]>
  2231. * Control.cs: Updates so we match behavoir for for implicit
  2232. controls. Fixes explosions in MDI.
  2233. 2005-12-12 Jackson Harper <[email protected]>
  2234. * Control.cs: Implement Invalidate (Region).
  2235. 2005-12-12 Peter Dennis Bartok <[email protected]>
  2236. * Control.cs:
  2237. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  2238. the same events as MS does. MS fires events for each property
  2239. except, for unknown reasons, Cursor, when the control is reparented.
  2240. I can't seem to totally match add/remove since MS also fires some
  2241. VisibleChanged events, which makes no sense. Consolidated the
  2242. parenting code into a separate method so it can be called from
  2243. both Add and Remove. set_Parent no longer needs any special logic
  2244. as it calls the parent's add method which implicitly fires
  2245. all events
  2246. - Removed some obsolete code and debug output
  2247. - Enabled state is inherited from parents, if this is enabled
  2248. 2005-12-08 Peter Dennis Bartok <[email protected]>
  2249. * Form.cs: Removed commented out code
  2250. 2005-12-08 Peter Dennis Bartok <[email protected]>
  2251. * Control.cs:
  2252. - Added internal version of Invoke, with additional argument
  2253. indicating if we're calling it from a Dispose() handler. That
  2254. way we can avoid BeginInvoke throwing an exception if we're
  2255. calling for an already destroyed window.
  2256. - Added a dispose argument to BeginInvokeInternal, and made the
  2257. check if a valid window handle chain exists conditional on
  2258. it not being a dispose call
  2259. - Removed code in DestroyHandle to destroy our children. Since we
  2260. now handle the WM_DESTROY message we will catch all our children
  2261. being destroyed.
  2262. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  2263. * Form.cs:
  2264. - Added a field to track the application context of the form.
  2265. - No need to set closing variable as response to WM_CLOSE, instead
  2266. we destroy the window. We also call PostQuitMessage if the form
  2267. has an application context (which makes it the main app form,
  2268. which, when closed terminates the app)
  2269. * XplatUI.cs:
  2270. - Dropped Exit() method, it's naming was confusing
  2271. - Added PostQuitMessage() which causes GetMessage to return false
  2272. once the message queue is empty
  2273. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  2274. PostQuitMessage()
  2275. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  2276. no longer a valid XplatUI method, but left it in since it's used
  2277. internally. Added empty PostQuitMessage() method.
  2278. * MenuAPI.cs: Replaced call to Exit() with call to
  2279. PostQuitMessage, even though this is probably no longer needed.
  2280. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  2281. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  2282. * Application.cs:
  2283. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  2284. - Removed old debug code that would call XplatUI for exception
  2285. display, enabled standard exception handling (Still not enabled
  2286. though, until NativeWindow's ExternalExceptionHandler define
  2287. is removed
  2288. * NativeWindow.cs:
  2289. - Added internal method to allow control to update NativeWindow
  2290. after a window has been destroyed
  2291. - Added handling of already destroyed windows when calling i
  2292. DestroyWindow
  2293. - Added removal of handle from list on ReleaseHandle
  2294. * XplatUIX11.cs:
  2295. - Dropped GetMessageResult var and related code
  2296. - Added PostQuitState to field to track if PostQuitMessage has been
  2297. called
  2298. - Dropped Exit() method
  2299. - Added PostQuitMessage() method
  2300. - GetMessage now will return false if PostQuitState is set and no
  2301. more messages are in the queue.
  2302. - Expose handler will no longer generate WM_PAINT messages if we are
  2303. in PostQuitState since it's very likely any windows have already
  2304. been destroyed, and since Hwnd won't get updated until we have
  2305. processed the DestroyNotify we'd be causing X errors.
  2306. 2005-12-07 Peter Dennis Bartok <[email protected]>
  2307. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  2308. Thanks to Mike for pointing out the err of my ways.
  2309. 2005-12-07 Peter Dennis Bartok <[email protected]>
  2310. * Control.cs(PreProcessMessage): Moved menu handling back, but
  2311. after all other key handling, to match MS (who handles Menu in
  2312. DefWndProc)
  2313. * Menu.cs (WndProc): Removed my brainfart
  2314. 2005-12-07 Peter Dennis Bartok <[email protected]>
  2315. * Control.cs(PreProcessMessage): Removed special menu handling
  2316. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  2317. 2005-12-07 Mike Kestner <[email protected]>
  2318. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  2319. state according in tracker.
  2320. * Menu.cs : promote tracker field to base class and provide a tracker
  2321. lookup capability. Add/Remove shortcuts dynamically if the top menu
  2322. has a tracker. Unparent items that are removed from the collection.
  2323. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  2324. * Theme*.cs: add always_show_hotkeys field to support configurability
  2325. of mnemonic display. win32 doesn't show mnemonics until Alt is
  2326. pressed.
  2327. 2005-12-07 Jackson Harper <[email protected]>
  2328. * MdiChildContext.cs: Use Control.ResetCursor.
  2329. * Control.cs: ResetCursor needs to set the property so that the
  2330. correct XplatUI call gets made.
  2331. 2005-12-07 Peter Dennis Bartok <[email protected]>
  2332. * Control.cs: More fixes to make our key events match MS. We
  2333. were not setting the modifier state on KeyData, and we were
  2334. not generating any events when Alt was pressed with a key
  2335. since handling of WM_SYSxxx was missing for the OnKey methods.
  2336. 2005-12-07 Jackson Harper <[email protected]>
  2337. * MdiChildContext.cs: reenable the sizing code.
  2338. - When the mouse leaves a window reset its cursor.
  2339. 2005-12-07 Alexander Olk <[email protected]>
  2340. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  2341. 2005-12-07 Peter Dennis Bartok <[email protected]>
  2342. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  2343. widths of Fixed3D borders
  2344. 2005-12-07 Jackson Harper <[email protected]>
  2345. * MdiClient.cs: Fix warnings. Earn Mike's love.
  2346. 2005-12-07 Alexander Olk <[email protected]>
  2347. * ThemeClearlooks.cs:
  2348. - Adjusted mouse over button color
  2349. - Added first parts of CheckBox drawing
  2350. - Added correct color for selected text background
  2351. - Fixed ComboBox drawing
  2352. - Added CPDrawBorder3D and CPDrawBorder
  2353. 2005-12-06 Peter Dennis Bartok <[email protected]>
  2354. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  2355. 2005-12-06 Peter Dennis Bartok <[email protected]>
  2356. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  2357. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  2358. alert users via sound. We could add an enum arg with different
  2359. types of alerts in the future
  2360. 2005-12-06 Peter Dennis Bartok <[email protected]>
  2361. * Control.cs: Fix behaviour problems pointed out by Mike
  2362. 2005-12-05 Mike Kestner <[email protected]>
  2363. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  2364. prop setters. Calls parent.Refresh for now, but could be maybe be
  2365. optimized with an internal method on StatusBar at some point.
  2366. [Fixes #76513]
  2367. 2005-12-05 Peter Dennis Bartok <[email protected]>
  2368. * RichTextBox.cs: Implemented get_SelectionColor
  2369. 2005-12-05 Alexander Olk <[email protected]>
  2370. * ThemeClearlooks.cs:
  2371. - Removed dead code
  2372. - Draw black button border only if button is Form.AcceptButton
  2373. - Draw correct button color for pressed RadioButton if the mouse
  2374. has entered the button
  2375. - Updated ProgressBar drawing!
  2376. - Updated CPDrawSizeGrip drawing
  2377. - Updated StatusBarPanel drawing
  2378. 2005-12-05 Mike Kestner <[email protected]>
  2379. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  2380. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  2381. 2005-12-04 Alexander Olk <[email protected]>
  2382. * ThemeClearlooks.cs: Initial check-in, activate with
  2383. export MONO_THEME=clearlooks
  2384. * ThemeEngine.cs: Added ThemeClearlooks
  2385. 2005-12-03 Mike Kestner <[email protected]>
  2386. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  2387. [Fixes #76897]
  2388. 2005-12-02 Jackson Harper <[email protected]>
  2389. * Form.cs: If the child form has no menu the default main menu is
  2390. used as the active menu.
  2391. 2005-12-02 Peter Dennis Bartok <[email protected]>
  2392. * ListBox.cs: Check if any items exist before trying to resolve
  2393. coordinates into items
  2394. 2005-12-02 Peter Dennis Bartok <[email protected]>
  2395. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  2396. as the second color for the background hatch
  2397. 2005-12-02 Peter Dennis Bartok <[email protected]>
  2398. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  2399. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  2400. sure that what we pass to FormatText is always 1-based. Fixes #76885
  2401. 2005-11-29 Miguel de Icaza <[email protected]>
  2402. * NumericUpDown.cs (EndInit): When we are done initializing,
  2403. reflect any updates on the UI.
  2404. 2005-12-02 Jackson Harper <[email protected]>
  2405. * ImplicitHScrollBar.cs:
  2406. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  2407. their container controls.
  2408. * TreeView.cs: Use the new implicit scrollbars.
  2409. 2005-12-02 Jackson Harper <[email protected]>
  2410. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  2411. can play with it.
  2412. * TreeNodeCollection.cs: If we remove the topnode we need to
  2413. update topnode to the next node in line.
  2414. - When clearing nodes go through the same process as removing
  2415. them, so they get depareneted and checked if they are top node.
  2416. 2005-12-01 Jackson Harper <[email protected]>
  2417. * TreeView.cs: When imagelists are used the image area is
  2418. selectable as well as the text.
  2419. - If there are no selected nodes select the first one.
  2420. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  2421. so don't do it more then we need to.
  2422. 2005-12-01 Jackson Harper <[email protected]>
  2423. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  2424. that arrows can be scaled.
  2425. 2005-12-01 Jackson Harper <[email protected]>
  2426. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  2427. fail. Patch by Dieter Bremes
  2428. 2005-11-30 Jackson Harper <[email protected]>
  2429. * Form.cs: Property is 2.0 only
  2430. * PrintDialog.cs: Signature fix.
  2431. 2005-11-30 Peter Dennis Bartok <[email protected]>
  2432. * TextControl.cs:
  2433. - No longer artificially moves text 2 pixels down (now that we have
  2434. borders this is no longer needed)
  2435. - Added calcs for left, hanging and right indent
  2436. 2005-11-23 Mike Kestner <[email protected]>
  2437. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  2438. 2005-11-30 Jackson Harper <[email protected]>
  2439. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  2440. get cloned as part of CloneMenu ().
  2441. * Menu.cs: Make sure the parent of the items get set correctly
  2442. when they are added. And the owners are notified of the changes.
  2443. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  2444. we can change the menu being displayed/handled by the form without
  2445. changing the menu assosciated with the form.
  2446. - Don't let Mdi children draw/handle menus.
  2447. 2005-11-30 Jackson Harper <[email protected]>
  2448. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  2449. a MenuChanged event. Just to make the API a little more
  2450. consistent.
  2451. * MainMenu.cs:
  2452. * MenuItem.cs: Use the new OnMenuChanged
  2453. * MdiChildContext.cs: Handle menu merging.
  2454. * Form.cs: Implement MergedMenu.
  2455. 2005-11-30 Jackson Harper <[email protected]>
  2456. * Menu.cs: We were misusing Add. Add goes behind the specified
  2457. index according to the docs, and does not replace the specified
  2458. index. So I added an Insert method.
  2459. 2005-11-30 Peter Dennis Bartok <[email protected]>
  2460. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  2461. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  2462. is for Jackson
  2463. * RichTextBox.cs: Added calls to base for DnD events
  2464. 2005-11-28 Peter Dennis Bartok <[email protected]>
  2465. * TextControl.cs:
  2466. - Fixed drag-selection related crash; style fixes
  2467. - Implemented undo class
  2468. o Implemented method to capture document state for specified
  2469. range in document tree
  2470. o Implemented method to restore captured document state
  2471. o Implemented cursor tracking
  2472. o Implemented basic undo stack
  2473. - Added undo cursor tracking to methods altering cursor location
  2474. - Added undo tracking to selection deletion (still missing
  2475. other text-altering hookups)
  2476. * RichTextBox.cs:
  2477. - Added SelectionLength property
  2478. - Implemented CanPaste()
  2479. - Implemented Paste()
  2480. - Added missing protected methods
  2481. - Fixed RTF->Document conversion; now uses font index 0 and color
  2482. index 0 as the default font for the parsed text
  2483. - Fixed RTF<->Document font size translation
  2484. - Fixed RTF generation, now properly handles cross-tag boundaries
  2485. for single line selection
  2486. - No longer always appends blank line to generated RTF
  2487. - Removed TODOs
  2488. - Added missing attributes
  2489. - Hooked up undo-related methods
  2490. * TextBoxBase.cs:
  2491. - Implemented Copy()
  2492. - Implemented Paste()
  2493. - Implemented Cut()
  2494. - Fixed caret mis-behaviour on backspace across line-boundaries
  2495. 2005-11-29 Jackson Harper <[email protected]>
  2496. * MdiClient.cs: Add a method for activating mdi children. Very
  2497. basic right now. I imagine someday it might need more girth.
  2498. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  2499. children windows names are added to the menu item.
  2500. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  2501. mdilist. This happens regardless of whether or not there are any
  2502. mdi windows to see in the list, and according to my tests happens
  2503. before the items are even added. Also happens if there isn't even
  2504. an mdi client to get windows from.
  2505. 2005-11-29 Alexander Olk <[email protected]>
  2506. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  2507. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  2508. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  2509. * DataGridTableStyle.cs:
  2510. - Create always the styles for the missing columns even if they are
  2511. provided by the user (not default table style)
  2512. * DataGrid.cs:
  2513. - Fixes bug 76770
  2514. - Fixes SetDataBinding (always re-attach source)
  2515. - Fixes SetNewDataSource (only clear styles if they are not for
  2516. this source)
  2517. - Expands OnTableStylesCollectionChanged to handle style refresh
  2518. and remove properly
  2519. 2005-11-29 Jackson Harper <[email protected]>
  2520. * FileDialog.cs: Implement missing bits, remove some dead
  2521. code.
  2522. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  2523. creation of the panel so that the options set on the dialog are
  2524. seen when the panel is created.
  2525. * TreeView.cs: raise a click when items are clicked.
  2526. 2005-11-29 Jackson Harper <[email protected]>
  2527. * MdiClient.cs: Pass some signature methods through to base.
  2528. 2005-11-28 Jackson Harper <[email protected]>
  2529. * ListView.cs: Raise the click event when items are clicked.
  2530. 2005-11-28 Jackson Harper <[email protected]>
  2531. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  2532. a nullref.
  2533. 2005-11-27 Alexander Olk <[email protected]>
  2534. * ThemeNice.cs: - Removed 1 pixel bitmaps
  2535. - Use SmoothingMode.AntiAlias where it makes sense
  2536. (ScrollButton arrow for example)
  2537. - Enhanced Button focus drawing
  2538. - Fixed ComboBox drawing (no artefacts anymore, focus
  2539. rectangle is back again, reduced size of ComboButton, etc.)
  2540. - Fixed RadioButton focus drawing for Appearence.Button
  2541. - Slight ScrollButton redesign
  2542. - Some LinearGradientBrush size fixes
  2543. - GroupBoxes have now rounded edges
  2544. - Fixed StatusBar drawing
  2545. 2005-11-25 Alexander Olk <[email protected]>
  2546. * ThemeNice.cs: - Remove dead code
  2547. - use correct background colors for menus, etc.
  2548. - Fake pixel drawing with 1 pixel bitmaps
  2549. 2005-11-24 Jackson Harper <[email protected]>
  2550. * MdiClient.cs: Size the scrollbars when resizing the window.
  2551. - Resize the maximized windows when the client is resized
  2552. * Form.cs: Make the child context available
  2553. 2005-11-23 Jackson Harper <[email protected]>
  2554. * MdiChildContext.cs: Don't size windows if they are maximized.
  2555. 2005-11-23 Mike Kestner <[email protected]>
  2556. * ContextMenu.cs: use MenuTracker.
  2557. * Control.cs: remove menu handle usage.
  2558. * Form.cs: remove menu handle usage.
  2559. * Hwnd.cs: remove menu handle usage.
  2560. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  2561. motion and clicks to the new Tracker handlers.
  2562. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  2563. and handle usage.
  2564. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  2565. Killed the MENU and MENUITEM data types and associated collections
  2566. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  2567. MenuTracker class that exposes the leftovers from the old MenuAPI
  2568. static methods. Restructured Capture handling so that only one grab is
  2569. done for the entire menu hierarchy instead of handing off grabs to
  2570. submenus. Tracker now has an invisible control to Capture when active.
  2571. * MenuItem.cs: add sizing accessors, kill Create
  2572. and handle usage.
  2573. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  2574. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  2575. MENU(ITEM). remove menu handle usage, use Menu directly.
  2576. * XplatUIDriver.cs: remove menu handle usage.
  2577. * XplatUIOSX.cs: remove menu handle usage.
  2578. * XplatUIWin32.cs: remove menu handle usage.
  2579. * XplatUIX11.cs: remove menu handle usage.
  2580. 2005-11-22 Jackson Harper <[email protected]>
  2581. * Hwnd.cs: Don't compute the menu size for
  2582. DefaultClientRectangle.
  2583. - Reenable menu sizes being computed for GetClienRectangle.
  2584. * Form.cs: Remove comment of trechery
  2585. 2005-11-22 Jackson Harper <[email protected]>
  2586. * Hwnd.cs: The adjustments for the menu bar are made when it is
  2587. attached to the form.
  2588. 2005-11-19 Jackson Harper <[email protected]>
  2589. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  2590. (just like on windows).
  2591. 2005-11-19 Jackson Harper <[email protected]>
  2592. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  2593. use real buttons anymore because they are in non client area. The
  2594. one TODO here is that I need to somehow invalidate a section of
  2595. the non client area.
  2596. 2005-11-18 Jackson Harper <[email protected]>
  2597. * Control.cs: Put the enum check back in now that MDI doesnt have
  2598. to use this to set border styles.
  2599. * Form.cs: Only set mdi child windows borders if the handle has
  2600. been created.
  2601. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  2602. this directly on to the driver.
  2603. - Get the move start position before adjusting for the titlebar
  2604. height, this fixes the windows "skipping" when they are first
  2605. moved.
  2606. 2005-11-18 Jackson Harper <[email protected]>
  2607. * XplatUIX11.cs: Just compute the mdi borders separately as they
  2608. don't totally match up with normal form borders.
  2609. 2005-11-18 Jackson Harper <[email protected]>
  2610. * Control.cs: Set WS_ styles for borders, so that the driver does
  2611. not have to retrieve the control instance to figure out what kind
  2612. of borders it should have.
  2613. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  2614. driver can know its an mdi child easily.
  2615. * XplatUIX11.cs: Get the border styles and whether the window is
  2616. MDI from the Styles and ExStyles params instead of having to get a
  2617. control. This prevents a chicken and egg problem.
  2618. 2005-11-18 Jackson Harper <[email protected]>
  2619. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  2620. 2005-11-18 Jackson Harper <[email protected]>
  2621. * MdiClient.cs: Calculate when to add and remove scrollbars
  2622. correctly.
  2623. * MdiChildContext.cs: Adjust the y position to take the titlebar
  2624. into account.
  2625. - No height for FormBorderStyle.None
  2626. 2005-11-18 Jackson Harper <[email protected]>
  2627. * Control.cs: Allow non enum values to be used for
  2628. InternalBorderStyle. MDI does this to set a special border style.
  2629. - New utility methods for converting points to/from client coords
  2630. - Add the newly created control to the Controls collection before
  2631. updating its style. This way UpdateStyle can walk the control
  2632. heirarchy to find the control if needed.
  2633. so I don't need to create a new Point object all the time.
  2634. * Form.cs: Let MDI windows handle their border styles.
  2635. - Set styles on MDI windows so the correct title style is derived.
  2636. * MdiChildContext.cs: Move all the painting and window handling
  2637. into the non client area.
  2638. - Use correct sizing and put correct buttons on frames based on
  2639. the FormBorderStyle.
  2640. - Notify the mdi client about scrolling
  2641. - Need to handle the buttons ourselves now, because they are all
  2642. in non client areas and we can't add controls there.
  2643. * MdiClient.cs: Halfway to scrolling, this implementation is
  2644. somewhat broken though, we need to check to make sure other
  2645. windows aren't causing scrolling before removing the bars. Also
  2646. the bars need to be drawn on top, maybe I can switch implicit
  2647. controls to be on top.
  2648. * Hwnd.cs: caption_height and tool_caption_height are now
  2649. properties of an hwnd, this way they can be set by the driver
  2650. based on the type of window they are. In X11 the window manager
  2651. handles the decorations so caption_height is zero unless its an
  2652. MDI window.
  2653. - Add 3 pixel borders for MDI windows (0xFFFF).
  2654. - Get rid of some code duplication, have DefaultClientRectanle
  2655. just call GetClientRectangle.
  2656. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  2657. Hwnd now.
  2658. - Set border styles differently for mdi windows.
  2659. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  2660. Hwnd now.
  2661. 2005-11-15 Mike Kestner <[email protected]>
  2662. * Menu.cs: when adding an item to the collection, if item is already
  2663. parented, remove it from the parent.
  2664. 2005-11-13 Alexander Olk <[email protected]>
  2665. * X11DesktopColors.cs: Added KDE support
  2666. 2005-11-11 Peter Dennis Bartok <[email protected]>
  2667. * XplatUIWin32.cs:
  2668. - Clipboard methods now can translate Rtf format
  2669. - No longer removes clipboard contents whenever a new format is added
  2670. to allow placing multiple formats on the clipboard
  2671. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  2672. will place all formats contained in it onto the clipboard. Also
  2673. now cleans the clipboard before placing a new object onto it
  2674. * RichTextBox.cs:
  2675. - Implemented set_Rtf
  2676. - Implemented set_SelectedRtf
  2677. - Created InsertRTFFromStream() method to allow single code base
  2678. for all properties and methods that insert RTF into document
  2679. - Removed debug output
  2680. * TextControl.cs:
  2681. - Fixed Delete(int) to fix up line numbers
  2682. - Fixed ReplaceSelection to combine start and end line
  2683. - Fixed serious DeleteChars bug that would leave the document tree
  2684. broken
  2685. - Improved DumpTree with several logic checks to detect broken
  2686. document trees
  2687. - Removed debug lines
  2688. - Fixed Caret.WordForward/WordBack moving code, now always also
  2689. updates caret.tag (fixes crash when word-selecting across tag
  2690. boundaries via keyboard)
  2691. - Added Insert() method for inserting multiline text into documents
  2692. - Fixed DeleteChars() calculation errors that would cause a broken
  2693. tag chain with multiple tag lines
  2694. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  2695. - Split() no longer moves caret if split is at caret location
  2696. - ReplaceSelection() now updates the cursor and re-displays it
  2697. - ReplaceSelection() now uses new Insert() method to avoid code
  2698. duplication
  2699. - FormatText() can now handle formatting partial lines
  2700. * TextBoxBase.cs:
  2701. - Append now uses new TextControl.Insert() method (this avoids
  2702. duplicate code)
  2703. - Implemented Ctrl-X (Cut) (
  2704. - Implemented Ctrl-C (Copy)
  2705. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  2706. regeneration when pasting text; roundtripping Copy&Paste within
  2707. edit control still fails due to some calculation bugs in GenerateRTF)
  2708. - The Delete key will now remove the current selection if it is visible
  2709. * TextBox.cs: Removed debug lines
  2710. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  2711. driver to be initialized and can't therefore be done via a static ctor)
  2712. 2005-11-10 Peter Dennis Bartok <[email protected]>
  2713. * TextControl.cs: Added backend code for finding char arrays and strings
  2714. * TextBoxBase.cs:
  2715. - Added mouse wheel scroll support
  2716. - Added support for VScroll and HScroll events
  2717. * RichTextBox.cs:
  2718. - Implemented all seven Find() variants
  2719. - Implemented GetCharFromPosition()
  2720. - Implemented GetCharIndexFromPosition()
  2721. - Implemented GetLineFromIndex()
  2722. - Implemented GetPositionFromCharIndex();
  2723. - Implemented SaveFile for PlainText and UnicodeText
  2724. - Fixed set_Font, now setting a new font applies that font to
  2725. the whole document
  2726. - Implemented generic Document to RTF converter
  2727. - Implemented SaveFile for RichText format (still missing unicode
  2728. conversion for non-ansi chars)
  2729. - Implemented get_Rtf
  2730. - Implemented get_SelectedRtf
  2731. 2005-11-09 Peter Dennis Bartok <[email protected]>
  2732. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  2733. to allow any captures to be released before triggering OnClick. This
  2734. way a click handler may capture the mouse without interference.
  2735. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  2736. This way we send them even though X may not allow a grab (if the window
  2737. isn't visible, for example)
  2738. 2005-11-08 Pedro Martinez Julia <[email protected]>
  2739. * DataGridViewRowEventArgs.cs: DataGridView implementation
  2740. * DataGridViewElement.cs: DataGridView implementation
  2741. * DataGridViewComboBoxCell.cs: DataGridView implementation
  2742. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  2743. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  2744. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  2745. * ImageLayout.cs: DataGridView implementation
  2746. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  2747. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  2748. * DataGridViewSelectionMode.cs: DataGridView implementation
  2749. * IDataGridViewEditingControl.cs: DataGridView implementation
  2750. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  2751. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  2752. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  2753. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  2754. * DataGridViewColumnSortMode.cs: DataGridView implementation
  2755. * DataGridView.cs: DataGridView implementation
  2756. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  2757. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  2758. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  2759. * Padding.cs: DataGridView implementation
  2760. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  2761. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  2762. * DataGridViewRowEventHandler.cs: DataGridView implementation
  2763. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  2764. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  2765. * DataGridViewButtonCell.cs: DataGridView implementation
  2766. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  2767. * DataGridViewEditMode.cs: DataGridView implementation
  2768. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  2769. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  2770. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  2771. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  2772. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  2773. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  2774. * DataGridViewCellEventHandler.cs: DataGridView implementation
  2775. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  2776. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  2777. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  2778. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  2779. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  2780. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  2781. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  2782. * QuestionEventArgs.cs: DataGridView implementation
  2783. * IDataGridViewEditingCell.cs: DataGridView implementation
  2784. * DataGridViewTriState.cs: DataGridView implementation
  2785. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  2786. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  2787. * DataGridViewColumnCollection.cs: DataGridView implementation
  2788. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  2789. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  2790. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  2791. * DataGridViewColumn.cs: DataGridView implementation
  2792. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  2793. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  2794. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  2795. * DataGridViewRow.cs: DataGridView implementation
  2796. * DataGridViewImageCellLayout.cs: DataGridView implementation
  2797. * DataGridViewImageCell.cs: DataGridView implementation
  2798. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  2799. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  2800. * DataGridViewHeaderCell.cs: DataGridView implementation
  2801. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  2802. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  2803. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  2804. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  2805. * QuestionEventHandler.cs: DataGridView implementation
  2806. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  2807. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  2808. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  2809. * DataGridViewCell.cs: DataGridView implementation
  2810. * DataGridViewCellEventArgs.cs: DataGridView implementation
  2811. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  2812. * DataGridViewCellStyle.cs: DataGridView implementation
  2813. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  2814. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  2815. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  2816. * TextFormatFlags.cs: DataGridView implementation
  2817. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  2818. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  2819. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  2820. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  2821. * DataGridViewButtonColumn.cs: DataGridView implementation
  2822. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  2823. * HandledMouseEventArgs.cs: DataGridView implementation
  2824. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  2825. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  2826. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  2827. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  2828. * DataGridViewRowCollection.cs: DataGridView implementation
  2829. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  2830. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  2831. * DataGridViewHitTestType.cs: DataGridView implementation
  2832. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  2833. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  2834. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  2835. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  2836. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  2837. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  2838. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  2839. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  2840. * DataGridViewContentAlignment.cs: DataGridView implementation
  2841. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  2842. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  2843. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  2844. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  2845. * DataGridViewPaintParts.cs: DataGridView implementation
  2846. * DataGridViewCellCollection.cs: DataGridView implementation
  2847. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  2848. * DataGridViewImageColumn.cs: DataGridView implementation
  2849. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  2850. * DataGridViewElementStates.cs: DataGridView implementation
  2851. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  2852. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  2853. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  2854. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  2855. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  2856. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  2857. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  2858. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  2859. * DataGridViewTextBoxCell.cs: DataGridView implementation
  2860. * DataGridViewBand.cs: DataGridView implementation
  2861. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  2862. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  2863. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  2864. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  2865. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  2866. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  2867. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  2868. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  2869. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  2870. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  2871. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  2872. 2005-11-08 Peter Dennis Bartok <[email protected]>
  2873. * ThemeWin32Classic.cs:
  2874. - Draw the outside focus rectangle around buttons
  2875. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  2876. doesn't use end caps for every dash of a line anymore. This
  2877. workaround ignores the forecolor.
  2878. 2005-11-08 Kornél Pál <[email protected]>
  2879. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  2880. endian safe.
  2881. 2005-11-07 Jackson Harper <[email protected]>
  2882. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  2883. 2005-11-07 Jackson Harper <[email protected]>
  2884. * ScrollableControl.cs: Calculate the maximum and change vars
  2885. (more) correctly so that scrollbars appear as a sensible size.
  2886. 2005-11-04 Jackson Harper <[email protected]>
  2887. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  2888. collection.
  2889. * TreeView.cs: When the tree is sorted null out the top_node so
  2890. that it is recalculated.
  2891. - Use dotted lines instead of dashed lines to match MS better.
  2892. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  2893. * ListView.cs:
  2894. - Implements key search for items. Useful when browsing files with FileDialog
  2895. - When changing view mode or when clear the items reset scrollbar positions
  2896. 2005-11-04 Jackson Harper <[email protected]>
  2897. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  2898. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  2899. as to what the method may do as there is no real way of creating a
  2900. derived CurrencyManager and calling the method.
  2901. 2005-11-03 Jackson Harper <[email protected]>
  2902. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  2903. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  2904. method which seems to just be used internally to refresh the tabs.
  2905. 2005-11-03 Jackson Harper <[email protected]>
  2906. * TabControl.cs: Implement the remove method. Fix some broken
  2907. comments.
  2908. 2005-11-03 Peter Dennis Bartok <[email protected]>
  2909. * DateTimePicker.cs:
  2910. - Added missing DateTimePickerAccessibleObject class
  2911. - Added missing events
  2912. - Added OnFontChanged method
  2913. * Form.cs: Added missing attributes
  2914. * TreeView.cs: Added missing attributes
  2915. 2005-11-03 Peter Dennis Bartok <[email protected]>
  2916. * GridItemCollection.cs: Fix signatures
  2917. 2005-11-03 Peter Dennis Bartok <[email protected]>
  2918. * XplatUI.cs: Updated build rev/date
  2919. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  2920. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  2921. * Application.cs: Trigger context-specific ExitThread events
  2922. 2005-11-03 Jackson Harper <[email protected]>
  2923. * Menu.cs:
  2924. * MainMenu.cs:
  2925. * GridTableStylesCollection.cs:
  2926. * Timer.cs:
  2927. * TabPage.cs:
  2928. * HelpProvider.cs:
  2929. * StatusBar.cs:
  2930. * MonthCalendar.cs: Signature fixes
  2931. 2005-11-03 Jackson Harper <[email protected]>
  2932. * TreeNodeCollection.cs: Remove should not be virtual.
  2933. * TreeView.cs: Implement the last of the missing methods.
  2934. 2005-11-03 Jackson Harper <[email protected]>
  2935. * TreeNodeConverter.cs: Implement to get off my class-status back.
  2936. 2005-11-03 Jackson Harper <[email protected]>
  2937. * TreeView.cs: Hookup the bits for drag and drop.
  2938. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  2939. that nodes can be moved from tree to tree easily this just causes
  2940. all sorts of problems.
  2941. * TreeNodeCollection: Don't need to give treenodes an index and
  2942. treeview anymore when they are added, these are computed on the
  2943. fly. Also make sure to remove a node before its added.
  2944. 2005-11-03 Peter Dennis Bartok <[email protected]>
  2945. * TextControl.cs:
  2946. - Added CaretSelection enum
  2947. - Added comparison methods to Marker struct, makes selection code
  2948. more readable
  2949. - Added SelectionStart and SelectionEnd as 'moveable' location for
  2950. the CaretDirection enum and handler
  2951. - Added selection_prev variable to track optimized invalidation for
  2952. word and line selection
  2953. - Added SelectionVisible property (returns true if there is a valid
  2954. selection)
  2955. - Switched CaretHasFocus to only display the caret if there is no
  2956. visible selection
  2957. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  2958. using the direct character index; should be much faster
  2959. - Added various conditional debug statements
  2960. - Fixed invalidation calculation for selection ranges
  2961. - Added ExpandSelection() method to support word and line selection
  2962. - Switched SetSelectionToCaret to use new Marker compare overloads
  2963. - Added central IsWordSeparator() method to determine word
  2964. separators/whitespace and FindWordSeparator() to streamline common
  2965. usage of IsWordSeparator()
  2966. * TextBoxBase.cs:
  2967. - Removed unneeded grabbed variable, it was just mirroring
  2968. Control.Capture
  2969. - No longer firing OnTextChanged event when Text setter is called,
  2970. since the base will fire the event for us
  2971. - Added handling of Ctrl-Up/Down selection
  2972. - Added handling of Shift-Cursorkey selection
  2973. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  2974. words
  2975. - Added handling of Shift and Ctrl-Shift-Home/End selection
  2976. - Removed some debug output
  2977. - Added handling for single/double/tripple-click to place caret/
  2978. select word/select line respectively (Fixes bug #76031)
  2979. - Added support for drag expansion of word/line selection
  2980. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  2981. current selection
  2982. 2005-11-02 Jackson Harper <[email protected]>
  2983. * X11Dnd.cs: If the drag is going to and from a MWF window just
  2984. copy the data instead of sending it out through the X Selection
  2985. mechanism.
  2986. 2005-11-02 Jackson Harper <[email protected]>
  2987. * X11Dnd.cs:
  2988. * XplatUIX11.cs: When in a drag we don't want motion notify
  2989. messages to get passed on to the other controls. This prevents
  2990. mouse move messages from showing up in the drag source.
  2991. 2005-11-02 Jackson Harper <[email protected]>
  2992. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  2993. the correct button is release to end a drag.
  2994. * XplatUIX11.cs: Make the button state internal so the drag system
  2995. can access it. Dragging needs to know about all button releases,
  2996. not just left button.
  2997. 2005-11-02 Miguel de Icaza <[email protected]>
  2998. * Form.cs (Icon): If the icon is null, reset the icon to the
  2999. default value.
  3000. * Cursor.cs: When writing the AND-mask bitmap do not include the
  3001. number of colors, but hardcode those to two (black and white),
  3002. fixes the loading of color cursors (Paint Dot Net).
  3003. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  3004. turn off autoscaling.
  3005. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  3006. 2005-11-02 Jackson Harper <[email protected]>
  3007. * X11Dnd.cs: Make sure to send a status message if the pointer
  3008. enters a control that can not accept a drop, otherwise the cursor
  3009. isn't updated correctly. Also tried to compress the lines of code
  3010. a bit.
  3011. 2005-11-02 Jackson Harper <[email protected]>
  3012. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  3013. set actions correctly. This isn't perfect as XDND and win32 have
  3014. some differences on how you allow actions. I'll clear this up by
  3015. adding a path for drag from MWF to MWF windows.
  3016. * XplatUIX11.cs: Hook into the dnd system.
  3017. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  3018. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  3019. previously shown but they are no longer need it. Very obvious when
  3020. browsing files with FileDialog.
  3021. 2005-11-01 Peter Dennis Bartok <[email protected]>
  3022. * Control.cs: We always need to call OnPaintBackground. We pretty much
  3023. ignore AllPaintingInWmPaint and always do the painting there, whether
  3024. it's set or not, since we always ignore the WM_ERASEBKGND message
  3025. (which we don't generate on X11). This fixes #76616.
  3026. * Panel.cs: Removed unneeded background painting. This happens properly
  3027. in Control.cs already
  3028. 2005-10-31 Mike Kestner <[email protected]>
  3029. * Menu.cs: Add items to collection before setting their index.
  3030. * MenuItem.cs : add range checking with ArgumentException like MS.
  3031. [Fixes #76510]
  3032. 2005-10-31 Jackson Harper <[email protected]>
  3033. * ListBox.cs: Invalidate if the area is visible at all not just
  3034. contained in the visible rect. Fixes unselection of semi visible
  3035. items.
  3036. 2005-10-31 Jackson Harper <[email protected]>
  3037. * Control.cs: Consistently name the dnd methods. Make them
  3038. internal so we can override them to match some MS behavoir
  3039. internally.
  3040. * Win32DnD.cs: Use the new consistent names.
  3041. 2005-10-31 Jackson Harper <[email protected]>
  3042. * TreeView.cs: Don't draw the selected node when we lose focus.
  3043. 2005-10-31 Jackson Harper <[email protected]>
  3044. * X11Dnd.cs: We still need to reset the state even though a full
  3045. reset isn't being done, otherwise status's still get sent all over
  3046. the place.
  3047. 2005-10-31 Jackson Harper <[email protected]>
  3048. * Control.cs: Make the dnd_aware flag internal so the dnd
  3049. subsystem can check it. Catch exceptions thrown in dnd handlers to
  3050. match MS behavoir.
  3051. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  3052. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  3053. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  3054. flags to reduce the number of dnd enters/status's sent.
  3055. 2005-10-31 Jackson Harper <[email protected]>
  3056. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  3057. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  3058. * PictureBox.cs: Fixes 76512
  3059. 2005-10-28 Jackson Harper <[email protected]>
  3060. * X11Dnd.cs: Early implementation to support winforms being a drag
  3061. source for data on X11. Also restructured the converters so they
  3062. can go both ways now.
  3063. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  3064. 2005-10-27 Peter Dennis Bartok <[email protected]>
  3065. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  3066. clipboard requests
  3067. 2005-10-27 Jackson Harper <[email protected]>
  3068. * TreeNode.cs: Implement serialization so my DnD examples will work.
  3069. 2005-10-24 Kornél Pál <[email protected]>
  3070. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  3071. TreeView.cs: Don't dispose objects that are not owned.
  3072. 2005-10-24 Peter Dennis Bartok <[email protected]>
  3073. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  3074. should retrieve the current cursor and report that, but XplatUI
  3075. doesn't (yet) have an interface for that (and I'm not sure I even
  3076. can, on X11)
  3077. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  3078. until any message loop processing is done (and the WM_SETCURSOR
  3079. replaces the cursor to the proper one)
  3080. * XplatUIX11.cs:
  3081. - Fixed override behaviour, we can't set the cursor globally on X11,
  3082. just for our windows.
  3083. - Invalidating the System.Drawing X11 display handle when we are
  3084. shutting down
  3085. * Control.cs: Fix to make csc happy
  3086. 2005-10-23 Peter Dennis Bartok <[email protected]>
  3087. * TextBoxBase.cs:
  3088. - get_Text: Add last line (without trailing newline) to returned
  3089. value (Fixes 76212)
  3090. - get_TextLength: Count last line in returned length
  3091. - ToString: Call Text property instead of duplicating code
  3092. 2005-10-23 Kornél Pál <[email protected]>
  3093. * ImageList.cs: Dispose ImageAttributes objects.
  3094. 2005-10-22 Kornél Pál <[email protected]>
  3095. * ImageList.cs: Use attribute constructors with less arguments where
  3096. possible.
  3097. 2005-10-22 Kornél Pál <[email protected]>
  3098. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  3099. Use typeof instead of strings when assembly is referenced. Added
  3100. some more comments.
  3101. 2005-10-21 Jackson Harper <[email protected]>
  3102. * ListView.cs: Raise a double click event. Also tried to somewhat
  3103. fix when the selectedindexchanged event is raised. Its still
  3104. broken though.
  3105. 2005-10-21 Jackson Harper <[email protected]>
  3106. * TreeView.cs: New method to invalidate the plus minus area of a
  3107. node without invalidating the whole node (maybe this can be used
  3108. in some more places).
  3109. * TreeNodeCollection.cs: When adding to an empty node we need to
  3110. invalidate its plus minus area so the little block shows up.
  3111. 2005-10-21 Jackson Harper <[email protected]>
  3112. * TreeView.cs: Make sure that when we invalidate a node the bounds
  3113. are big enough to cover the selected box and the focus
  3114. rectangle. Use a different colour for the lines connecting nodes
  3115. so they show up with all themes.
  3116. 2005-10-21 Peter Dennis Bartok <[email protected]>
  3117. * NativeWindow.cs: Don't call anything that could call into the driver,
  3118. we might be on a different thread.
  3119. 2005-10-21 Peter Dennis Bartok <[email protected]>
  3120. * Control.cs(Dispose): Since Dispose might run on a different thread,
  3121. make sure that we call methods that could call into the driver via
  3122. invoke, to avoid thread issues
  3123. 2005-10-21 Peter Dennis Bartok <[email protected]>
  3124. * XplatUI.cs: Removed finalizer
  3125. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  3126. not allowing to be called on the finalizer thread.
  3127. 2005-10-21 Kornél Pál <[email protected]>
  3128. * ImageList.cs:
  3129. - Reverted r51889 and r51891.
  3130. - Added ImageListItem class that stores unmodified image items and image
  3131. properties required to create list images until handle is created.
  3132. - Added AddItem and moved image creation logic to AddItemInternal.
  3133. - Added CreateHandle method that creates images based on unmodified items.
  3134. - Added DestroyHandle that changes state to store unmodified items.
  3135. - Add and AddStrip methods no more create handle.
  3136. - ReduceColorDepth has no return value.
  3137. - Dispose destroys handle.
  3138. - Modified other methods to reflect the above changes.
  3139. - Implemented key support.
  3140. - Added profile 2.0 members and attributes.
  3141. - Added private Reset and ShouldSerialize methods that provide the same
  3142. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  3143. them as they are private.
  3144. - Added some more comments about implementation details.
  3145. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  3146. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  3147. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  3148. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  3149. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  3150. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  3151. * DataGridColumnStyle.cs: Remove debug message
  3152. 2005-10-20 Jackson Harper <[email protected]>
  3153. * TreeView.cs: We can always get input keys regardless of whether
  3154. or not editing is enabled. They are used for navigation.
  3155. 2005-10-20 Jackson Harper <[email protected]>
  3156. * TreeNode.cs: Use the viewport rect for determining if a node
  3157. needs to be moved for visibility. Don't use Begin/End edit. This
  3158. calls a full refresh when its done.
  3159. * TreeView.cs: New SetBottom works correctly. Make the viewport
  3160. rect property internal so the treenodes can see it. When clicking
  3161. on a node we need to ensure that its visible because it might just
  3162. be partly visible when clicked.
  3163. 2005-10-20 Jackson Harper <[email protected]>
  3164. * TreeNodeCollection.cs: Remove debug code.
  3165. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  3166. * Datagrid.cs: Implements column sorting in Datagrid
  3167. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  3168. 2005-10-20 Jackson Harper <[email protected]>
  3169. * TreeNodeCollection.cs: Remove items properly. Update the correct
  3170. area after removing them.
  3171. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  3172. * Datagrid.cs: Should not call base.OnPaintBackground
  3173. 2005-10-20 Peter Dennis Bartok <[email protected]>
  3174. * XplatUIX11.cs (GetMessage):
  3175. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  3176. window instead of client window
  3177. - Now properly calculates NC_xBUTTONUP message coordinates
  3178. - ScreenToMenu now properly calculates it's coordinates of whole
  3179. window, since menus are in the whole window, not in the client
  3180. window
  3181. - Added WholeToScreen coordinate translation method
  3182. 2005-10-20 Peter Dennis Bartok <[email protected]>
  3183. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  3184. want to return a message, loop back to the beginning of the function
  3185. and grab the next real message to process instead.
  3186. 2005-10-20 Peter Dennis Bartok <[email protected]>
  3187. * Splitter.cs: Properly set limits if no filler control is used
  3188. 2005-10-19 Jackson Harper <[email protected]>
  3189. * ColorDialog.cs: Don't show the help button if it is not enabled
  3190. instead of disabling it (this is what MS does). Don't create the
  3191. panel until the dialog is run, otherwise the vars (such as
  3192. ShowHelp) are not set yet.
  3193. 2005-10-19 Jackson Harper <[email protected]>
  3194. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  3195. are reduced when adding nodes.
  3196. * TreeNode.cs:
  3197. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  3198. tree.
  3199. 2005-10-19 Jackson Harper <[email protected]>
  3200. * FolderBrowserDialog.cs: End editing our treeview so the window
  3201. actually gets refreshed.
  3202. 2005-10-18 Peter Dennis Bartok <[email protected]>
  3203. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  3204. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  3205. inside of WM_PAINT
  3206. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  3207. * MenuAPI.cs: Returns after Hidding window
  3208. * XplatUIX11.cs: Added TODO found while debugging menu issues
  3209. 2005-10-18 Peter Dennis Bartok <[email protected]>
  3210. * XplatUIX11.cs: Do not re-map the whole window when it's size
  3211. becomes non-zero unless it's supposed to be actually visible
  3212. 2005-10-18 Jackson Harper <[email protected]>
  3213. * TreeView.cs: We don't need to keep a count anymore.
  3214. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  3215. use the Grow method.
  3216. 2005-10-18 Jackson Harper <[email protected]>
  3217. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  3218. implement it manually here.
  3219. 2005-10-18 Jackson Harper <[email protected]>
  3220. * ImageList.cs: Dont kill the list when the colour depth is
  3221. changed, just change the colour depth of all the images.
  3222. - Same goes for setting the image size. Just resize them all
  3223. instead of killing the list softly.
  3224. 2005-10-18 Jackson Harper <[email protected]>
  3225. * Control.cs: Don't invalidate empty rectangles.
  3226. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  3227. * ListViewItem.cs:
  3228. - Adds checked item to the Checked/Item lists (where empty before)
  3229. - Do not add items to the Selected lists if they are already present
  3230. * ListView.cs:
  3231. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  3232. - When deleting items make sure that we delete them for the Selected
  3233. and Checked list also.
  3234. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  3235. * Label.cs: Dispose objects no longer used
  3236. * ThemeWin32Classic.cs: Dispose objects no longer used
  3237. 2005-10-18 Jackson Harper <[email protected]>
  3238. * TabControl.cs: Don't refresh the whole control when the tabs are
  3239. scrolled, we just need to refresh the tab area.
  3240. 2005-10-17 Jackson Harper <[email protected]>
  3241. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  3242. after handle when we need it.
  3243. 2005-10-17 Peter Dennis Bartok <[email protected]>
  3244. * Control.cs: When the parent size changes, recalculate anchor
  3245. positions. Partial fix for #76462
  3246. 2005-10-17 Peter Dennis Bartok <[email protected]>
  3247. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  3248. drawn. Fixes #76462
  3249. 2005-10-17 Jackson Harper <[email protected]>
  3250. * MonthCalendar.cs: Don't create the numeric up down until our
  3251. handle is created. Otherwise our handle is created in the
  3252. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  3253. yet.
  3254. 2005-10-17 Jackson Harper <[email protected]>
  3255. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  3256. correctly.
  3257. 2005-10-17 Rafael Teixeira <[email protected]>
  3258. * TreeNode.cs : small logical fix (was using local var instead of field)
  3259. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  3260. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  3261. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  3262. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  3263. 2005-10-16 Peter Dennis Bartok <[email protected]>
  3264. * Control.cs:
  3265. - Re-implemented anchoring code. My first version was really broken.
  3266. This fixes bug #76033. Unlike the previous implementation we will
  3267. no longer have round errors since all numbers are calculated from
  3268. scratch every time. Removed various anchor-related obsolete vars.
  3269. - InitLayout no longer causes layout event firing and layout to be
  3270. performed
  3271. 2005-10-16 Jackson Harper <[email protected]>
  3272. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  3273. which was broken).
  3274. 2005-10-16 Jackson Harper <[email protected]>
  3275. * TabControl.cs: Remove debug code.
  3276. 2005-10-16 Jackson Harper <[email protected]>
  3277. * XEventQueue.cs: Increase the default queue size (very simple
  3278. apps needed to grow the queue).
  3279. * Hwnd.cs: No finalizer so we don't need to suppress
  3280. finalization. Compute the invalid area manually so a new rectangle
  3281. does not newto be created.
  3282. * ScrollableControl.cs: Don't set any params (otherwise visibility
  3283. isn't set correctly).
  3284. * MdiChildContext.cs: New constructor takes the mdi parent so it
  3285. doesn't have to be computed and avoids a crash on windows. Draw
  3286. the window icon properly, and allow the text to be seen.
  3287. * Form.cs: Use new MdiChildContext constructor. Make sure the
  3288. child context isn't null in wndproc.
  3289. * TabControl.cs: Don't set focus, this is muddling keyboard
  3290. behavoir. Expand the tab rows when a window size increase will
  3291. allow extra tabs to be seen. Don't allow tabs smaller than the
  3292. width of a window to be scrolled out of view.
  3293. * TreeNode.cs:
  3294. * TreeView.cs: Use measure string to calculate a nodes width, the
  3295. width is cached and only updated when the text or the font is
  3296. changed. Don't check for expand/collapse clicks on the first level
  3297. nodes if root lines are disabled.
  3298. 2005-10-16 Ritvik Mayank <[email protected]>
  3299. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  3300. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  3301. * DataGridBoolColumn.cs: fixes warning
  3302. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  3303. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  3304. to match more to match more precisely the MS Net behavior
  3305. 2005-10-13 Peter Dennis Bartok <[email protected]>
  3306. * Hwnd.cs: Added field to track if window is mapped
  3307. * XplatUIX11.cs:
  3308. - Unmap windows if they become 0-size, re-map when
  3309. they are >0 again; fixes #76035
  3310. - Re-set our error handler after initializing X11Desktop
  3311. to override any error handlers Gtk or whatever was called
  3312. may have set.
  3313. 2005-10-13 Peter Dennis Bartok <[email protected]>
  3314. * CheckedListBox.cs: Removed unused vars
  3315. * ListView.cs: Fixed signatures
  3316. * RichTextBox.cs: Removed unused vars
  3317. * TextBoxBase.cs: Removed unused vars
  3318. * XplatUIWin32.cs: Removed unused vars
  3319. * XplatUIX11.cs: Removed unused vars
  3320. * XplatUI.cs: Updated version and date to latest published
  3321. 2005-10-13 Peter Dennis Bartok <[email protected]>
  3322. * Cursor.cs: Added private .ctor to work around a bug in
  3323. resourceset (Thanks to Geoff Norton for the help on this)
  3324. * SplitterEventArgs.cs: Made fields accessible so we don't
  3325. waste boatloads of objects and can reuse the same one
  3326. in Splitter
  3327. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  3328. any captions and borders when generating screen coordinates
  3329. * Splitter.cs: Reimplemented control, now fully complete, uses
  3330. rubberband drawing, supports and obeys all properties, has
  3331. proper cursors
  3332. 2005-10-13 Miguel de Icaza <[email protected]>
  3333. * Form.cs (Form): Setup default values for autoscale and
  3334. autoscale_base_size; Make these instance variables, not static
  3335. variables.
  3336. (OnLoad): on the first load, adjust the size of the form.
  3337. 2005-10-13 Peter Dennis Bartok <[email protected]>
  3338. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  3339. width argument to DrawReversibleRectangle()
  3340. * XplatUIWin32.cs, XplatUIX11.cs:
  3341. - Implemented width for DrawReversibleRectangle()
  3342. - Added logic to DrawReversibleRectangle that recognizes a zero
  3343. width or height and only draws a line in that situation
  3344. 2005-10-12 Peter Dennis Bartok <[email protected]>
  3345. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  3346. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  3347. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  3348. method (it uses our FosterParent window to get a graphics context)
  3349. 2005-10-12 Peter Dennis Bartok <[email protected]>
  3350. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  3351. and SetWindowBackground methods
  3352. * Control.cs:
  3353. - Setting proper ControlStyles
  3354. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  3355. EraseWindowBackground, instead we draw the window background
  3356. ourselves in PaintControlBackground. This behaviour is
  3357. required to match MS, where, when OnPaintBackground is not
  3358. called, the background is not drawn.
  3359. - Removed unneeded Refresh() in set_Text
  3360. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  3361. * XplatUIX11.cs:
  3362. - Created DeriveStyles method to translate from CreateParams to
  3363. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  3364. matches FormBorderStyle enum values)
  3365. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  3366. style calculations into single DeriveStyles method
  3367. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  3368. from redrawing the whole window on any resize or expose.
  3369. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  3370. all styles were applied to our whole/client window appropriately
  3371. - Removed EraseWindowBackground() and SetWindowBackground() methods
  3372. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  3373. no longer clear/redraw the background through X
  3374. - Removed handling of erase_pending bit, we have no use for it (or
  3375. so it seems)
  3376. * XplatUIOSX.cs:
  3377. - Removed generation and handling of WM_ERASEBKGND message
  3378. - Removed EraseWindowBackground() and SetWindowBackground() methods
  3379. - Removed handling of hwnd.ErasePending flag
  3380. * XplatUIWin32.cs:
  3381. - Removed EraseWindowBackground() and SetWindowBackground() methods
  3382. - We no longer call EraseWindowBackground on PaintEventStart, we
  3383. ignore the fErase flag, erasing is handled in Control in the
  3384. background handler
  3385. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  3386. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  3387. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  3388. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  3389. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  3390. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  3391. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  3392. 2005-10-12 Jonathan Chambers <[email protected]>
  3393. * PropertyGrids.cs: Get sub properties
  3394. * PropertyGridView.cs: Fix drawing code
  3395. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  3396. * ListBox.cs: Fixes 76383
  3397. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  3398. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  3399. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  3400. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  3401. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  3402. * ComboBox.cs: Fixes border drawing
  3403. 2005-10-10 Miguel de Icaza <[email protected]>
  3404. * MimeIcon.cs: Ignore errors if the file can not be read.
  3405. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  3406. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  3407. - Fixed border calculations
  3408. - Fixed horizontal scrolling in single column listboxes
  3409. - Fixed drawing issues
  3410. 2005-10-10 Peter Dennis Bartok <[email protected]>
  3411. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  3412. FormBorderStyle enum
  3413. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  3414. code to determine FormBorderStyles from CreateParams
  3415. * Form.cs:
  3416. - Fixed bug where we'd set the wrong window styles if we were
  3417. not creating an MDI window
  3418. - Added call to XplatUI.SetBorderStyle when form borders are set
  3419. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  3420. * Hwnd.cs:
  3421. - Removed obsolete edge style
  3422. - Switched from BorderStyle to FormBorderStyle
  3423. 2005-10-10 Jackson Harper <[email protected]>
  3424. * Form.cs: Use the property to get the window handle instead of
  3425. accessing it directly. Prevents a null reference exception.
  3426. 2005-10-10 Jackson Harper <[email protected]>
  3427. * TreeView.cs: Don't adjust the rect given to DrawString now that
  3428. our libgdiplus draws correctly.
  3429. 2005-10-08 Jackson Harper <[email protected]>
  3430. * TreeView.cs: Don't try to find the clicked on node if there are
  3431. no nodes in the tree.
  3432. 2005-10-08 Alexander Olk <[email protected]>
  3433. * RichTextBox.cs:
  3434. restore
  3435. 2005-10-08 Alexander Olk <[email protected]>
  3436. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  3437. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  3438. ErrorProvider.cs:
  3439. Use ResPool for brushes and dispose System.Drawing objects that
  3440. are not used anymore.
  3441. 2005-10-07 Jackson Harper <[email protected]>
  3442. * MdiChildContext.cs: Use the new borders instead of drawing them
  3443. ourselves.
  3444. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  3445. * Calling UpdateBounds after changing the window's BorderStyle
  3446. since the style can change the ClientSize
  3447. 2005-10-06 Peter Dennis Bartok <[email protected]>
  3448. * Control.cs: Made PaintControlBackground virtual
  3449. * Panel.cs: Overriding PaintControlBackground instead of using paint
  3450. event; paint event method was interfering with 'real' users of the
  3451. event.
  3452. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  3453. * ThemeWin32Classic.cs: remove border drawing since it is handled
  3454. by the base control class now and was causing double border drawing.
  3455. 2005-10-06 Peter Dennis Bartok <[email protected]>
  3456. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  3457. but it does seem to match MS behaviour. This fixes bug #75324
  3458. 2005-10-06 Peter Dennis Bartok <[email protected]>
  3459. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  3460. somewhat hackish looking
  3461. 2005-10-06 Peter Dennis Bartok <[email protected]>
  3462. * TextBoxBase.cs:
  3463. - We now accept Enter even if AcceptEnter is false, if the containing
  3464. form does not have an AcceptButton configured (fixes bug #76355)
  3465. - Calculations are now fixed to no longer use Width/Height, but
  3466. ClientSize.Width/Height, since we now support borders (this was
  3467. a result of fixing borders and therefore bug #76166)
  3468. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  3469. true (fixes bug #76354)
  3470. 2005-10-06 Peter Dennis Bartok <[email protected]>
  3471. * Control.cs:
  3472. - Defaulting BorderStyle and setting it in XplatUI when our window
  3473. is created
  3474. - Added enum check to InternalBorderStyle setter
  3475. * XplatUIX11.cs:
  3476. - Added drawing of window borders
  3477. - Now properly calculates WM decorations offset for toplevel
  3478. windows (fixes bug #74763)
  3479. * XplatUIWin32.cs:
  3480. - Implemented BorderStyles for windows (we're letting win32 draw
  3481. the border for us)
  3482. - Fixed the signature for SetWindowLong
  3483. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  3484. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  3485. setting borders
  3486. * UpDownBase.cs: Remove drawing of borders, this is handled by
  3487. the driver, outside the client area
  3488. * ListView.cs: Removed bogus border calculations. The control should
  3489. be oblivious to borders, since those are not part of the client
  3490. area.
  3491. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  3492. * ThemeWin32Classic.cs: Removed border calculations from ListView
  3493. drawing code
  3494. 2005-10-06 Jackson Harper <[email protected]>
  3495. * MdiChildContext.cs: Clear out the old virtual position remove
  3496. all the unneeded calls to CreateGraphics.
  3497. 2005-10-06 Peter Dennis Bartok <[email protected]>
  3498. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  3499. 2005-10-06 Peter Dennis Bartok <[email protected]>
  3500. * Form.cs:
  3501. - Added loading and setting of our new default icon
  3502. - Only set icon if window is already created
  3503. 2005-10-06 Peter Dennis Bartok <[email protected]>
  3504. * Label.cs:
  3505. - Do not explicitly set the foreground and background colors, to
  3506. allow inheriting from parents (fixes #76302)
  3507. - Use Control's InternalBorderStyle property to deal with borders
  3508. 2005-10-06 Jackson Harper <[email protected]>
  3509. * MdiChildContext.cs: Use the new xplatui function to draw a
  3510. reversible rect.
  3511. 2005-10-06 Jackson Harper <[email protected]>
  3512. * Form.cs: Add the parent before creating the child context cause
  3513. we need the parent when setting up the child.
  3514. 2005-10-06 Jackson Harper <[email protected]>
  3515. * FolderBrowserDialog.cs: redo the tree population code so a
  3516. second thread isn't used. Should be a lot faster and more stable
  3517. now.
  3518. 2005-10-05 Jackson Harper <[email protected]>
  3519. * TreeView.cs: There are no expand/collapse boxes if the node has
  3520. no children.
  3521. 2005-10-05 Jackson Harper <[email protected]>
  3522. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  3523. 2005-10-05 Alexander Olk <[email protected]>
  3524. * FileDialog.cs: Fix InitialDirectory
  3525. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  3526. * ComboBox.cs:
  3527. - Fixes changing between styles
  3528. - Fixes simple mode
  3529. - Fixes last item crashing when navigating with keyboard
  3530. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  3531. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  3532. 2005-10-05 Jackson Harper <[email protected]>
  3533. * TreeView.cs: If updating the root node do a full refresh.
  3534. * TreeNode.cs: The root node should be expanded by default. Also
  3535. added a utility prop to tell if we are the root node.
  3536. * TreeNodeCollection.cs: Only refresh if the node we are being
  3537. added to is expanded. Also added a comment on a potential
  3538. optimization.
  3539. 2005-10-04 Peter Dennis Bartok <[email protected]>
  3540. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  3541. in dispose method. Fixes #76330
  3542. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  3543. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  3544. - Implements vertical and horizontal scrolling using XplatUI
  3545. - Fixes keyboard navagation
  3546. - Fixes EnsureVisible
  3547. - Drawing fixes
  3548. - Handles and draws focus properly
  3549. 2005-10-04 Kornél Pál <[email protected]>
  3550. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  3551. Create handle. NET_2_0: Destroy handle when value is null.
  3552. 2005-10-03 Jackson Harper <[email protected]>
  3553. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  3554. revert and a new patch to prevent the thumb from refreshing so
  3555. much.
  3556. 2005-10-02 Jackson Harper <[email protected]>
  3557. * ScrollBar.cs: Don't update position if it hasn't actually
  3558. changed. This occurs when you hold down the increment/decrement
  3559. buttons and the thumb gets to the max/min.
  3560. 2005-10-01 Jackson Harper <[email protected]>
  3561. * Form.cs:
  3562. * MdiChildContext.cs:
  3563. * MdiClient.cs: Implement ActiveMdiChild in Form.
  3564. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  3565. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  3566. 2005-10-01 Peter Dennis Bartok <[email protected]>
  3567. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  3568. be found
  3569. 2005-09-30 Jackson Harper <[email protected]>
  3570. * ListBox.cs: Don't do a full refresh unless some data has
  3571. actually changed.
  3572. 2005-09-30 Jackson Harper <[email protected]>
  3573. * TreeView.cs: Make sure that the checkboxes size is factored in
  3574. even when not visible.
  3575. 2005-09-30 Peter Dennis Bartok <[email protected]>
  3576. * FileDialog.cs: Fix Jordi's build break
  3577. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  3578. * FileDialog.cs:
  3579. - Use standard the Windows colours for the combobox as espected
  3580. - Dispose objects that use resouces when no longer need them
  3581. 2005-09-30 Peter Dennis Bartok <[email protected]>
  3582. * X11DesktopColors.cs: Initial incomplete implementation
  3583. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  3584. 2005-09-30 Peter Dennis Bartok <[email protected]>
  3585. * Theme.cs:
  3586. - Switched Theme color names to match the names defined in
  3587. System.Drawing.KnownColors. Life's hard enough, no need to make
  3588. it harder.
  3589. - Added setters to all theme color properties so themes can set
  3590. their color schemes. The setters also propagate the color changes
  3591. to System.Drawing.KnownColors via reflection
  3592. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  3593. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  3594. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  3595. use the new, more logical theme color names
  3596. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  3597. post-NT colors
  3598. * ThemeWin32Classic.cs:
  3599. - Removed code to set the old classic Windows colors. Instead it
  3600. now relies on the colors returned by System.Drawing.KnownColors
  3601. which will be either modern static colors (Unix) or colors
  3602. read from the user's configuration (Win32)
  3603. - Updated to use the new, more logical theme color names
  3604. - Switched DataGrid drawing code to use only Theme colors instead of
  3605. a mix of System.Drawing.KnownColors and Theme colors
  3606. - DrawFrameControl(): Removed code that fills the button area, the
  3607. fill would overwrite any previous fill done by a control. This
  3608. fixes bug #75338
  3609. - Added DrawReversibleRectangle() stub
  3610. * ScrollableControl.cs: Set visible state to false when scrollbars
  3611. are removed (pdn fix)
  3612. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  3613. DrawReversibleRectangle() method to allow drawing primitive
  3614. 'rubber bands'
  3615. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  3616. 2005-09-30 Kornél Pál <[email protected]>
  3617. * ImageList.cs: Add(Icon): Create handle.
  3618. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  3619. * ListView.cs:
  3620. * ThemeWin32Classic.cs:
  3621. - Fixes detail mode
  3622. - Sets clippings
  3623. - Issues with drawing
  3624. 2005-09-30 Kornél Pál <[email protected]>
  3625. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  3626. source has to be the ImageList.
  3627. 2005-09-30 Kornél Pál <[email protected]>
  3628. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  3629. 2005-09-30 Kornél Pál <[email protected]>
  3630. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  3631. 2005-09-30 Kornél Pál <[email protected]>
  3632. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  3633. 2005-09-29 Jonathan Chambers <[email protected]>
  3634. * GridItem.cs: Fixed TODOs
  3635. * GridItemCollection.cs: Added ICollection interface
  3636. 2005-09-30 Kornél Pál <[email protected]>
  3637. * ImageList.cs: Resize icons when needed.
  3638. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  3639. * ListViewItem.cs
  3640. - Fixes GetBounds and returns on screen rects
  3641. * ListView.cs:
  3642. - Fixes vertical and horzintal scrolling of items
  3643. * ThemeWin32Classic.cs:
  3644. - Fixes drawing
  3645. 2005-09-29 Raja R Harinath <[email protected]>
  3646. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  3647. 2005-09-29 Kornél Pál <[email protected]>
  3648. * ImageList.cs: Added comments about handle creation. Moved Handle,
  3649. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  3650. Handle is created in Add methods.
  3651. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  3652. * DataGridDrawingLogic.cs:
  3653. - Takes rows into account on Colum calculations
  3654. - Returns the column when clickig
  3655. * DataGrid.cs:
  3656. - Fixes default HitTestInfo values
  3657. - Fixes HitTestInfo.ToString
  3658. - Fixes ResetBackColor
  3659. 2005-09-28 Jackson Harper <[email protected]>
  3660. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  3661. sizing or cursor changes). Also added some temp code to draw the
  3662. titlebars text (Makes dev a little easier).
  3663. 2005-09-28 Kornél Pál <[email protected]>
  3664. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  3665. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  3666. * ListBox.cs: Fixes bug 76253
  3667. 2005-09-28 Kornél Pál <[email protected]>
  3668. * ImageList.cs: Added comments about the current implementation. Added
  3669. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  3670. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  3671. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  3672. with Bitmap.LockBits for better performance. Revised the whole file to
  3673. match MS.NET behaviour and provide better performance. Non-public
  3674. interface members are calling public members even when they throw
  3675. NotSupportedException for better maintainability. Moved ColorDepth,
  3676. ImageSize, ImageStream and TransparentColor implementations to
  3677. ImageCollection for better performance as these properties are not used
  3678. by ImageList.
  3679. * ImageListStreamer.cs: Added a new internal constructor that takes an
  3680. ImageList.ImageCollection and serializes Images based on
  3681. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  3682. match ImageList property name.
  3683. 2005-09-28 Kazuki Oikawa <[email protected]>
  3684. * ListBox.cs: Fixes IndexFromPoint for last item
  3685. 2005-09-27 Jackson Harper <[email protected]>
  3686. * Form.cs: Set the position of new mdi children correctly.
  3687. 2005-09-27 Jackson Harper <[email protected]>
  3688. * MdiClient.cs: New mdi children need to be added to the back of
  3689. the controls collection so the zorder is set correctly. Also add a
  3690. count of all the child windows that have been created.
  3691. 2005-09-27 Jackson Harper <[email protected]>
  3692. * Form.cs (CreateParams): Setup MDI forms correctly.
  3693. 2005-09-27 Jackson Harper <[email protected]>
  3694. * MdiChildContext.cs:
  3695. * MonthCalendar.cs:
  3696. * UpDownBase.cs:
  3697. * ListBox.cs:
  3698. * ListView.cs:
  3699. * TextBoxBase.cs:
  3700. * TreeView.cs:
  3701. * ScrollableControl.cs:
  3702. * ComboBox.cs: Add implicit controls using the new implict control
  3703. functionality in ControlCollection. Also try to block multiple
  3704. control add in a suspend/resume layout to save some cycles.
  3705. 2005-09-27 Jackson Harper <[email protected]>
  3706. * Control.cs: Add functionality to the controls collection to add
  3707. 'implicit controls' these are controls that are created by the
  3708. containing control but should not be exposed to the user. Such as
  3709. scrollbars in the treeview.
  3710. * Form.cs: The list var of the ControlsCollection is no longer
  3711. available because of the potential of implicit controls getting
  3712. ignored by someone accessing the list directly.
  3713. 2005-09-26 Peter Dennis Bartok <[email protected]>
  3714. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  3715. loose it's parent. (Fixed bug introduced in r49103 when we added
  3716. setting the child parent to null on Remove)
  3717. 2005-09-26 Gert Driesen <[email protected]>
  3718. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  3719. * Splitter.cs: Added missing attributes for BorderStyle property.
  3720. * TextBoxBase.cs: Marked Calculate* methods internal.
  3721. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  3722. MS.NET.
  3723. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  3724. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  3725. 2005-09-25 Jackson Harper <[email protected]>
  3726. * TreeView.cs: Update the node bounds correctly regardless of
  3727. whether the node is visible.
  3728. 2005-09-25 Jackson Harper <[email protected]>
  3729. * ImageList.cs: Don't dispose the image after it is added to the
  3730. image list. Only reformat images that need to be resized.
  3731. 2005-09-25 Jackson Harper <[email protected]>
  3732. * ImageList.cs: Don't set the format when changing the image.
  3733. 2005-09-25 Jackson Harper <[email protected]>
  3734. * TreeView.cs: We can't just assume the node has a font. Use the
  3735. treeviews font if no node font is available.
  3736. 2005-09-25 Jackson Harper <[email protected]>
  3737. * TreeView.cs: Allow the scrollbars to be reset with negative
  3738. values.
  3739. - Don't add scrollbars to negative sized windows.
  3740. 2005-09-23 Jackson Harper <[email protected]>
  3741. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  3742. old Mono.Posix. Also remove some stray code that shouldn't have
  3743. been committed.
  3744. 2005-09-23 Jackson Harper <[email protected]>
  3745. * TreeView.cs: Attempt at proper sizing of the horizontal
  3746. scrollbar. Also don't resize the scrollbars unless they are
  3747. visible.
  3748. 2005-09-23 Jackson Harper <[email protected]>
  3749. * TreeView.cs: We don't need to expand the invalid area when the
  3750. selection changes, as this is all drawn in the node's bounding
  3751. box. The area needs to be expanded (previous typo was contracting
  3752. it) when the focus rect moves.
  3753. 2005-09-23 Jackson Harper <[email protected]>
  3754. * TreeView.cs: Display the selection box under the correct
  3755. circumstances. We were rendering white text with no selection box
  3756. before.
  3757. 2005-09-23 Peter Dennis Bartok <[email protected]>
  3758. * TextControl.cs(Split): Now updates selection start/end if it points
  3759. into a line that's being split. Fixes a FIXME and bug #75258
  3760. 2005-09-23 Jackson Harper <[email protected]>
  3761. * Binding.cs:
  3762. * ListControl.cs: Don't use the path when retrieving binding
  3763. managers from the binding context. My bat sense tells me that the
  3764. path is only used on insertion.
  3765. 2005-09-22 Jackson Harper <[email protected]>
  3766. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  3767. 2005-09-22 Jackson Harper <[email protected]>
  3768. * Splitter.cs: There are special cursors used for splitting.
  3769. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  3770. 2005-09-22 Jackson Harper <[email protected]>
  3771. * Splitter.cs: Change the cursor appropriately when the splitter
  3772. is moused over, so the user actually knows there is a splitter
  3773. there.
  3774. 2005-09-22 Hisham Mardam Bey <[email protected]>
  3775. * Label.cs : Fix ToString method to give same output as MS.NET
  3776. 2005-09-22 Jackson Harper <[email protected]>
  3777. * TreeView.cs: Create the scrollbars when the handle is created
  3778. and add them right away, just make them invisble. Also account for
  3779. the window being shrunk vertically to the point that the vert
  3780. scrollbar needs to be added.
  3781. - Remove some 0.5 adjustments to get around anti aliasing issues.
  3782. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  3783. * MainMenu.cs: Fixes default value
  3784. * MenuItem.cs: Fixes default value
  3785. 2005-09-22 Kazuki Oikawa <[email protected]>
  3786. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  3787. 2005-09-21 Jackson Harper <[email protected]>
  3788. * Control.cs: Don't try to set the border style on the window if
  3789. it hasn't been created. When the window is created the border
  3790. style will be used.
  3791. 2005-09-21 Peter Dennis Bartok <[email protected]>
  3792. * Control.cs (Update): Don't call XplatUI if we don't have a
  3793. window handle yet
  3794. 2005-09-21 Peter Dennis Bartok <[email protected]>
  3795. * ContainerControl.cs: Instead of throwing an exception, print
  3796. a one-time warning about Validate not being implemented
  3797. * XplatUIWin32.cs: Removed debug output
  3798. 2005-09-21 Peter Dennis Bartok <[email protected]>
  3799. * Control.cs: Only set XplatUI background if we expect the windowing
  3800. system to handle the background. This stops controls that draw their
  3801. own background from flickering
  3802. * XplatUIX11.cs: Support custom visuals and colormaps for window
  3803. creation. This allows, amongst other things, using MWF X11 windows
  3804. with OpenGL.
  3805. 2005-09-21 Peter Dennis Bartok <[email protected]>
  3806. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  3807. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  3808. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  3809. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  3810. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  3811. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  3812. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  3813. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  3814. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  3815. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  3816. GridColumnStylesCollection.cs,
  3817. IDataGridColumnStyleEditingNotificationService.cs,
  3818. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  3819. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  3820. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  3821. TreeNodeCollection.cs, AmbientProperties.cs,
  3822. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  3823. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  3824. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  3825. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  3826. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  3827. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  3828. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  3829. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  3830. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  3831. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  3832. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  3833. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  3834. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  3835. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  3836. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  3837. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  3838. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  3839. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  3840. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  3841. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  3842. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  3843. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  3844. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  3845. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  3846. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  3847. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  3848. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  3849. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  3850. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  3851. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  3852. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  3853. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  3854. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  3855. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  3856. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  3857. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  3858. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  3859. 2005-09-21 Jackson Harper <[email protected]>
  3860. * TreeNode.cs: Call Before/After Expand not Collapse when
  3861. expanding.
  3862. 2005-09-20 Jackson Harper <[email protected]>
  3863. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  3864. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  3865. * ListViewItem.cs:
  3866. - Fixes bug 76120
  3867. - Fixes proper storing of subitems
  3868. - Fixes not updated items
  3869. 2005-09-20 Peter Dennis Bartok <[email protected]>
  3870. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  3871. things if our window handle isn't created yet. Also disabled
  3872. debug for TextBoxBase
  3873. 2005-09-20 Peter Dennis Bartok <[email protected]>
  3874. * MenuAPI.cs: Remove filtering of events to allow menu usage
  3875. 2005-09-20 Miguel de Icaza <[email protected]>
  3876. * Cursor.cs: Allow null to be passed to Cursor.Current.
  3877. 2005-09-20 Alexander Olk <[email protected]>
  3878. * ThemeWin32Classic.cs:
  3879. - Change some private methods/fields to protected virtual so that
  3880. they can be accessed and overriden in derived classes
  3881. - First refactoring of some methods. Derived themes now don't
  3882. need to duplicate the complete code from ThemeWin32Classic
  3883. * ThemeNice.cs:
  3884. - Added nice StatusBar
  3885. - Derive from ThemeWin32Classic and not Theme
  3886. - Removed duplicate ThemeWin32Classic code
  3887. 2005-09-20 Miguel de Icaza <[email protected]>
  3888. * Control.cs (ControlCollection.Add): If the value null is passed
  3889. the control is ignored.
  3890. Optimize this loop.
  3891. 2005-09-19 Peter Dennis Bartok <[email protected]>
  3892. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  3893. PostQuitMessage state.
  3894. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  3895. 2005-09-19 Peter Dennis Bartok <[email protected]>
  3896. * Application.cs: Our constructor will never get called, move
  3897. initialization to fields; fixes bug #75933
  3898. 2005-09-19 Hisham Mardam Bey <[email protected]>
  3899. * FileDialog.cs :
  3900. - Allow files to be selected properly using file name
  3901. combo box.
  3902. - Add ability to change diretory (absolute / relative)
  3903. using file name combo box.
  3904. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  3905. * ListBox.cs:
  3906. - Fixes Multicolumn listboxes item wrong calculations
  3907. - Allows to click when only one item is in the listbox
  3908. - Fixes crash when no items using keyboard navigation
  3909. 2005-09-16 Alexander Olk <[email protected]>
  3910. * ComboBox.cs: Reverted almost everything from the latest patch which
  3911. broke ComboBox
  3912. 2005-09-16 Kazuki Oikawa <[email protected]>
  3913. * ToolTip.cs:
  3914. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  3915. * ComboBox.cs:
  3916. - When DropDownStyle is Simple, it does not show scrollbar
  3917. to the last item of the list.
  3918. - When DropDownStyle is Simple, it crashed when the list was
  3919. scrolled down with the down cursor key.
  3920. - Fixed a bug that when DropDownStyle is DropDownList, the
  3921. selected item was not shown.
  3922. - The position of the selected item was not preserved when
  3923. the next dropdown happened.
  3924. * ThemeWin32Classic.cs:
  3925. - Items were wrapped at the right end.
  3926. * CheckedListBox.cs:
  3927. - Fixed Add method
  3928. * ListBox.cs:
  3929. - Items should be fully shown.
  3930. - When resizing and vertical scrollbar disappeared, the item
  3931. of index 0 should be on the top of the list.
  3932. - GetItemRectangle should consider the size of ver. scrollbar
  3933. * StatusBar.cs:
  3934. - SizingGrip area should not be allocated when it is not
  3935. displayed.
  3936. - Now it reflects MinWidth of the containing panel and
  3937. fixed a crash that happens when its width becomes so small.
  3938. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  3939. * CheckedListBox.cs: Fixes bug 76028
  3940. * ListBox.cs: Fixes bug 76028
  3941. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  3942. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  3943. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  3944. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  3945. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  3946. 2005-09-09 Jonathan Chambers <[email protected]>
  3947. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  3948. 2005-09-09 Jonathan Chambers <[email protected]>
  3949. * IRootGridEntry.cs: Added
  3950. * PropertyGridCommands.cs: Added
  3951. * PropertiesTab.cs: Added missing methods and property
  3952. * PropertyGridView.cs: Made class internal
  3953. * PropertyGridTextBox.cs: Made class internal
  3954. 2005-09-09 Alexander Olk <[email protected]>
  3955. * MimeIcon.cs: Try to check some other environment variables
  3956. if "DESKTOP_SESSION" returns "default"
  3957. 2005-09-09 Alexander Olk <[email protected]>
  3958. * ThemeNice.cs: Corrected background colors (e.g. menus)
  3959. * ColorDialog.cs: Use correct background colors for controls
  3960. 2005-09-09 Alexander Olk <[email protected]>
  3961. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  3962. 2005-09-08 Peter Dennis Bartok <[email protected]>
  3963. * RichTextBox.cs: Added initial implementation
  3964. * lang.cs: Removed. Was accidentally checked in long time ago
  3965. * TODO: Removed. Contents were obsolete
  3966. 2005-09-06 Jonathan Chambers <[email protected]>
  3967. * PropertiesTab.cs : Added
  3968. 2005-09-06 Jonathan Chambers <[email protected]>
  3969. * PropertyGrid.cs : Update
  3970. * PropertyGridView.cs : Update
  3971. * System.Windows.Forms.resx : Added images and strings
  3972. 2005-09-06 Peter Dennis Bartok <[email protected]>
  3973. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  3974. 2005-09-06 Peter Dennis Bartok <[email protected]>
  3975. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  3976. a busy loop right after the Ungrab the X11 display is otherwise
  3977. blocked
  3978. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  3979. * ThemeWin32Classic.cs: Optimise the use of clipping
  3980. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  3981. * DataGrid.cs: fixes recursion bug
  3982. 2005-09-03 Alexander Olk <[email protected]>
  3983. * ThemeNice.cs:
  3984. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  3985. - Cleanup
  3986. 2005-09-02 Alexander Olk <[email protected]>
  3987. * ThemeNice.cs: Draw nice ProgressBars
  3988. 2005-09-01 Miguel de Icaza <[email protected]>
  3989. * VScrollBar.cs: Another buglet found by Aaron's tool.
  3990. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  3991. bug finder.
  3992. 2005-08-30 Alexander Olk <[email protected]>
  3993. * ThemeNice.cs:
  3994. - Added nicer menu drawing
  3995. - Updated DrawTab
  3996. - some refactoring
  3997. 2005-08-30 Peter Dennis Bartok <[email protected]>
  3998. * CreateParams.cs (ToString): Made output match MS
  3999. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  4000. handle is already created (to avoid forcing window creation)
  4001. * XplatUIX11.cs: Set window text to caption after creating window,
  4002. in case Text was set before window was created
  4003. * Form.cs: Use this.Text instead of a static string as caption
  4004. 2005-08-30 Peter Dennis Bartok <[email protected]>
  4005. * NotifyIcon.cs: Don't set the window to visible; this screws
  4006. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  4007. OnPaint without a bitmap)
  4008. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  4009. happen very often anyway; we could add the check to the WM_PAINT
  4010. event generation code
  4011. 2005-08-30 Peter Dennis Bartok <[email protected]>
  4012. * NotifyIcon.cs: Fill the icon area with a background color, to
  4013. avoid 'residue' when transparent icons are drawn
  4014. * XplatUIX11.cs:
  4015. - Handle whole_window == client_window when destroying windows
  4016. - SystrayAdd(): Set client_window to whole_window value to
  4017. get mouse and other events passed to NotifyIcon
  4018. 2005-08-30 Peter Dennis Bartok <[email protected]>
  4019. * Form.cs: Set proper default for Opacity property
  4020. * NotifyIcon.cs:
  4021. - ShowSystray(): Don't bother creating telling the OS
  4022. about the systray item if no icon is provided
  4023. - Now handles WM_NCPAINT message to deal with whole/client window
  4024. split
  4025. - Create window as visible to not get caught by Expose optimization
  4026. * Hwnd.cs: Removed debug message
  4027. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  4028. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  4029. PaintEventStart/End to use new client argument
  4030. * TextBoxBase.cs:
  4031. - Commented out debug messages
  4032. - Switched PaintEventStart/End to use new client argument
  4033. * XplatUI.cs: Added client window bool to PaintEventStart()/
  4034. PaintEventEnd() calls, to support drawing in non-client areas
  4035. * XplatUIDriver.cs:
  4036. - Added client window bool to PaintEventStart()/PaintEventEnd()
  4037. calls, to support drawing in non-client areas
  4038. - Added conditional compile to allow using MWF BeginInvoke
  4039. on MS runtime
  4040. * XplatUIX11.cs:
  4041. - Added some conditional debug output
  4042. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  4043. whole/client window split
  4044. - Implemented handling of client argument to PaintEventStart()/End()
  4045. * Control.cs:
  4046. - Throw exception if BeginInvoke() is called and the window handle
  4047. or one of the window's parent handles is not created
  4048. - Added conditional compile to allow using MWF BeginInvoke on
  4049. MS runtime
  4050. - get_Parent(): Only sets parent if handle is created. This avoids
  4051. forcing window handle creation when parent is set.
  4052. - Now fires Layout and Parent changed events in proper order
  4053. - Switched to use Handle instead of window.Handle for Z-Order setting,
  4054. the get_Parent() patch above causes us to possibly get null for 'window'
  4055. - Implemented handling of client argument to PaintEventStart()/End()
  4056. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  4057. default handling)
  4058. - Now sends a Refresh() to all child windows when Refresh() is called
  4059. 2005-08-29 Peter Dennis Bartok <[email protected]>
  4060. * Form.cs: Added (non-functional) Opacity property
  4061. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  4062. 2005-08-29 Alexander Olk <[email protected]>
  4063. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  4064. use export MONO_THEME=nice to activate it.
  4065. Currently supported controls:
  4066. - Button
  4067. - ComboBox
  4068. - ScrollBar
  4069. - TabControl (TabAlignment.Top only, other will follow)
  4070. * ThemeEngine.cs: Add theme nice
  4071. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  4072. if enabled
  4073. 2005-08-25 Jonathan Chambers <[email protected]>
  4074. * Splitter.cs: Resize docked control and its neighbor.
  4075. 2005-08-24 Rafael Teixeira <[email protected]>
  4076. -- Making Windows with Menus layout correctly --
  4077. * Form.cs : The first leg of the fix
  4078. Menu setter - adjust Client Size as needed to make space for the menu
  4079. SetClientSizeCore - doesn't call base version to be able to pass the
  4080. menu handle to XplatUI.CalculateWindowRect
  4081. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  4082. * XplatUIX11.cs: The critical second leg of the fix
  4083. GetWindowPos needs to use a recalculated client_rect
  4084. so that resizing the window doesn't break layout of child controls.
  4085. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  4086. Lots of \t\n killed
  4087. 2005-08-23 Peter Dennis Bartok <[email protected]>
  4088. * Label.cs: Now properly recalculates width and height on Font and Text
  4089. changes if AutoSize is set
  4090. 2005-08-19 Rafael Teixeira <[email protected]>
  4091. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  4092. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  4093. * ImageList.cs: Makes ToString method compatible with MS
  4094. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  4095. * MenuAPI.cs: fixes bug 75716
  4096. 2005-08-11 Umadevi S <[email protected]>
  4097. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  4098. 2005-08-11 Umadevi S <[email protected]>
  4099. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  4100. 2005-08-10 Umadevi S <[email protected]>
  4101. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  4102. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  4103. * Menu.cs: fixes bug 75700
  4104. * MenuAPI.cs: fixes navigation issues
  4105. 2005-08-09 Umadevi S <[email protected]>
  4106. * CheckedListBox.cs - simple fix for GetItemChecked.
  4107. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  4108. * ComboBox.cs: Serveral fixes
  4109. * ListBox.cs: Serveral fixes
  4110. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  4111. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  4112. * ListBox.cs: Fixes FindString methods
  4113. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  4114. * DataGrid.cs: fixes bugs exposed by new tests
  4115. 2005-08-04 Peter Dennis Bartok <[email protected]>
  4116. * Mime.cs: Compile Mono assembly references only if compiling
  4117. with Mono (Allows to build with VS.Net again)
  4118. 2005-07-28 Marek Safar <[email protected]>
  4119. * Control.cs (PaintControlBackground): Draw background image
  4120. corrrectly.
  4121. (CheckForIllegalCrossThreadCalls): Stubbed.
  4122. * Form.cs (OnCreateControl): Center when should be centered.
  4123. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  4124. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  4125. * Binding.cs: Binding to properties should be case unsensitive
  4126. 2005-07-18 [email protected]
  4127. * DataGrid.cs: fixes setmember order
  4128. 2005-07-07 Alexander Olk <[email protected]>
  4129. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  4130. * FileDialog.cs: FileDialog is now resizable and uses the new
  4131. MimeIconEngine
  4132. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  4133. * DataGridTextBoxColumn.cs: default value
  4134. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  4135. * GridTableStylesCollection.cs: fixes checking MappingName
  4136. * DataGridDrawingLogic.cs: fixes drawing logic issues
  4137. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  4138. * DataGrid.cs: fixes
  4139. 2005-07-06 Alexander Olk <[email protected]>
  4140. * MimeGenerated.cs: Use case sensitive comparer for
  4141. NameValueCollections
  4142. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  4143. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  4144. * ThemeWin32Classic.cs: bug fixes, code refactoring
  4145. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  4146. * DataGrid.cs: bug fixes, code refactoring
  4147. * DataGridTextBox.cs: bug fixes, code refactoring
  4148. * DataGridColumnStyle.cs: bug fixes, code refactoring
  4149. * Theme.cs: bug fixes, code refactoring
  4150. 2005-07-01 Peter Bartok <[email protected]>
  4151. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  4152. and other text box usage
  4153. 2005-07-01 Jackson Harper <[email protected]>
  4154. * TabControl.cs: Make sure the bottom of the tab covers the pages
  4155. border.
  4156. 2005-06-30 Peter Bartok <[email protected]>
  4157. * Form.cs (ShowDialog): Assign owner of the dialog
  4158. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  4159. might have been moved to a tag with different height
  4160. 2005-06-30 Jackson Harper <[email protected]>
  4161. * Form.cs: Don't create an infinite loop when setting focus
  4162. * MenuItem.cs: Don't dirty the parents if we don't have any
  4163. 2005-06-29 Ben Maurer <[email protected]>
  4164. * LibSupport.cs: Rename
  4165. 2005-06-29 Peter Bartok <[email protected]>
  4166. * TextBoxBase.cs: Re-align caret after deleting a character
  4167. * TextControl.cs:
  4168. - DeleteChars(): Ensure that tag covers the provided position
  4169. - StreamLine(): Drop reference for dropped tag
  4170. 2005-06-29 Peter Bartok <[email protected]>
  4171. * TextControl.cs:
  4172. - Selections now work properly, anchoring at the initial location
  4173. and properly extending in either direction (SetSelectionToCaret(),
  4174. SetSelectionStart() and SetSelectionEnd())
  4175. - No longer redraws the whole control on selection change, now
  4176. calculates delta between previous and new selection and only
  4177. invalidates/redraws that area
  4178. - Fixed FindPos() math off-by-one errors
  4179. - Changed DeleteChars() to verify the provided tag covers the
  4180. provided position, selections may have a tag that doesn't cover
  4181. the position if the selection is at a tag border
  4182. - Fixed off-by-one errors in DeleteChars()
  4183. - Added missing streamlining check in DeleteChars() to remove
  4184. zero-length tags
  4185. - Implemented Invalidate() method, now properly calculates exposures
  4186. between two given lines/positions
  4187. - Implemented SetSelection()
  4188. - Obsoleted and removed FixupSelection()
  4189. - Improved RecalculateDocument() logic, removing code duplication
  4190. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  4191. * LibSupport.cs: changes to match different input/output arguments.
  4192. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  4193. * LibSupport.cs: added libsupport.so init routine.
  4194. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  4195. * ControlBindingsCollection.cs
  4196. - Throws an exception on null datasource when adding
  4197. - Checks for duplicated bindings when adding
  4198. 2005-06-28 Jackson Harper <[email protected]>
  4199. * TreeView.cs (OnKeyDown): Support left and right properly
  4200. (navigates as well as expanding and collapsing.
  4201. - Add support for Multiply, this expands all the selected nodes
  4202. children.
  4203. - Fix some tabbing.
  4204. 2005-06-28 Jackson Harper <[email protected]>
  4205. * TreeView.cs: Implement keyboard navigation, currently supports,
  4206. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  4207. support for toggling checkboxes with the space bar.
  4208. 2005-06-28 Jackson Harper <[email protected]>
  4209. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  4210. tree.
  4211. 2005-06-28 Jackson Harper <[email protected]>
  4212. * TreeView.cs: Add missing event.
  4213. 2005-06-27 Peter Bartok <[email protected]>
  4214. * TextControl.cs:
  4215. - Made line ending size configurable (now allows for counting
  4216. lineendings as \n or \r\n)
  4217. - Added margin to viewport to keep caret visible on right side
  4218. - Fixed translation routines for line/pos to documentpos to consider
  4219. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  4220. - Fixed some line-endings to be unix style
  4221. - Fixed Document.FormatText to perform it's calculations 1-based
  4222. - Added descriptions for a few methods that might otherwise get
  4223. used wrong
  4224. - Added NOTE section with some basic conventions to remember at
  4225. the top of the file
  4226. - Major fixup for RichTextBox selection drawing:
  4227. * Fixed crashes when multiple tags on a single line were selected
  4228. * fixed selection box drawing not overlaying text
  4229. * fixed bogus offset calculation for tags not starting at index 1
  4230. * Switched behaviour from using multiple Substrings of a
  4231. StringBuilder.ToString() to using multiple
  4232. StringBuilder.ToString(start, length) statements, hoping this is
  4233. faster (kept original version commented out in the code, in case
  4234. original version was faster)
  4235. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  4236. alignment != Left
  4237. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  4238. call it as well
  4239. 2005-06-27 Jackson Harper <[email protected]>
  4240. * TabControl.cs: Move to the left and right with the arrow
  4241. keys. These keys don't cycle beyond first and last like
  4242. tab. Refresh all the tabs when scrolling them to the left or
  4243. right.
  4244. 2005-06-27 Jackson Harper <[email protected]>
  4245. * TabControl.cs:
  4246. - ToString: Added method
  4247. - CreateParams: Remove TODO and comment
  4248. - OnKeyDown: Cycle through bounds properly.
  4249. - SelectedIndex: Scroll to the right or left if we need to
  4250. display the newly selected tab.
  4251. 2005-06-23 Jackson Harper <[email protected]>
  4252. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  4253. set.
  4254. 2005-06-23 Jackson Harper <[email protected]>
  4255. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  4256. CTRL-SHIFT-TAB, and HOME, END are there any others?
  4257. 2005-06-23 Jackson Harper <[email protected]>
  4258. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  4259. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  4260. * DataGridTextBoxColumn.cs: fixes and enhancements
  4261. * ThemeWin32Classic.cs: fixes and enhancements
  4262. * DataGridBoolColumn.cs: fixes and enhancements
  4263. * DataGridDrawingLogic.cs: fixes and enhancements
  4264. * CurrencyManager.cs: fixes and enhancements
  4265. * DataGrid.cs: fixes and enhancements
  4266. * DataGridColumnStyle.cs: fixes and enhancements
  4267. 2005-06-22 Jackson Harper <[email protected]>
  4268. * TabControl.cs: Add some missing methods that just call into the
  4269. base. Make the TabPageCollection's IList interface behave in the
  4270. same manner as the MS implementation.
  4271. 2005-06-22 Peter Bartok <[email protected]>
  4272. * TextControl.cs: Added sanity check
  4273. * TextBoxBase.cs:
  4274. - Fixed wrapping behaviour, don't set wrap on single line controls
  4275. (this fixes the breakage of colordialog introduced in an earlier
  4276. checkin)
  4277. - Added rudimentary support for autoscrolling right-aligned controls
  4278. (still needs fixing, also, center alignment scroll is missing)
  4279. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  4280. * ScrollBar.cs: Fixes thumbpos on Maximum values
  4281. 2005-06-21 Jonathan Chambers <[email protected]>
  4282. * PropertyGridView.cs: Pass context information to UITypeEditors
  4283. 2005-06-21 Peter Bartok <[email protected]>
  4284. * TextBoxBase.cs:
  4285. - Now calling PositionCaret with absolute space coordinates
  4286. - Enabled vertical scrolling
  4287. - Better tracking of scrollbar changes, tied into WidthChange
  4288. event
  4289. - Improved cursor tracking
  4290. - Removed debug output
  4291. * TextControl.cs:
  4292. - PositionCaret coordinates are now works in absolute space, not
  4293. the canvas
  4294. - Improved tracking of document size
  4295. - Added events for width and height changes
  4296. 2005-06-21 Peter Bartok <[email protected]>
  4297. * Form.cs: Set focus to active control when form is activated
  4298. * TextControl.cs:
  4299. - Added word-wrap functionality to RecalculateLine()
  4300. - Added some short function descriptions for VS.Net to aid in
  4301. writing dependent controls
  4302. - Added Caret property, returning the current coords of the caret
  4303. - Added ViewPortWidth and ViewPortHeight properties
  4304. - Added Wrap property
  4305. - Added CaretMoved event
  4306. - Removed some old debug code
  4307. - Split() can now create soft splits
  4308. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  4309. - Added method to format existing text
  4310. - Fixed size/alignment calculations to use viewport
  4311. - RecalculateDocument now can handle changing line-numbers while
  4312. calculating lines
  4313. * TextBox.cs:
  4314. - Added some wrap logic, we don't wrap if alignment is not left
  4315. - Added casts for scrollbar var, base class switched types to
  4316. also support RichTextBoxA
  4317. - Implemented handling of scrollbar visibility flags
  4318. * TextBoxBase.cs:
  4319. - Switched scrollbars type to RichTextBoxScrollBars to support
  4320. RichTextBox
  4321. - Added tracking of canvas width/height
  4322. - Switched scrollbars to be not selectable (to keep focus on text)
  4323. - Added central CalculateDocument() method to handle all redraw
  4324. requirements
  4325. - Added ReadOnly support
  4326. - Added WordWrap support
  4327. - Fixed handling of Enter key (we now treat it as a DialogKey)
  4328. - Fixed caret positioning when h or v scroll is not zero
  4329. - Fixed placing/generation of vertical scrollbar
  4330. - Added CalculateScrollBars() method to allow updating scrollbar
  4331. limits and visibility
  4332. - Fixed handling of horizontal scroll
  4333. - Added handling of vertical scroll
  4334. - Implemented auto-'jump' when caret moves to close to a left or
  4335. right border and there is text to be scrolled into view (currently
  4336. there's the potential for a stack overflow, until a bug in
  4337. scrollbar is fixed)
  4338. 2005-06-21 Geoff Norton <[email protected]>
  4339. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  4340. 2005-06-19 Alexander Olk <[email protected]>
  4341. * Mime.cs:
  4342. - added inodes.
  4343. - return application/x-zerosize for files with size zero
  4344. (if no extension pattern matches).
  4345. - check matches collection for strings too.
  4346. - return only the first mime type if the name value
  4347. collection has more than one mime type.
  4348. 2005-06-18 Jonathan Chambers <[email protected]>
  4349. * PropertyGrid.cs: Cleaned up some TODOs
  4350. * PropertyGridView.cs: Added support for UITypeEditors
  4351. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  4352. * DataGrid.cs: clears cached value
  4353. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  4354. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  4355. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  4356. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  4357. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  4358. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  4359. * ThemeWin32Classic.cs: fixes colour
  4360. 2005-06-15 Peter Bartok <[email protected]>
  4361. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  4362. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  4363. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  4364. * Control.cs: Added some MWFCategory and MWFDescription attributes
  4365. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  4366. 2005-06-15 Alexander Olk <[email protected]>
  4367. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  4368. usage
  4369. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  4370. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  4371. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  4372. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  4373. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  4374. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  4375. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  4376. 2005-06-13 Jackson Harper <[email protected]>
  4377. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  4378. isn't printed when the user enables dropping. (X11 does accept
  4379. drops).
  4380. 2005-06-13 Jackson Harper <[email protected]>
  4381. * TreeView.cs: Remove some TODOS.
  4382. 2005-06-13 Jackson Harper <[email protected]>
  4383. * Form.cs: Hook into the mdi framework.
  4384. * MdiClient.cs: Use the base control collections add method so
  4385. parents get setup correctly. Set the default back colour and dock
  4386. style.
  4387. * MdiChildContext.cs: New class, this bad actor handles an
  4388. instance of an MDI window. Right now there is only basic
  4389. support. You can drag, close, and resize windows. Minimize and
  4390. Maximize are partially implemented.
  4391. 2005-06-13 Jackson Harper <[email protected]>
  4392. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  4393. freaky when both vals are negative. NOTE: There are probably other
  4394. places in XplatUIX11 that this needs to be done.
  4395. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  4396. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  4397. * DataGridColumnStyle.cs: fixes signature
  4398. 2005-06-12 Jackson Harper <[email protected]>
  4399. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  4400. windows.
  4401. 2005-06-11 Jackson Harper <[email protected]>
  4402. * StatusBarPanel.cs: Signature cleanups. Implement
  4403. BeginInit/EndInit.
  4404. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  4405. * DataGridTextBoxColumn.cs: Honors aligment
  4406. * GridColumnStylesCollection.cs: Contains is case unsensitive
  4407. * GridTableStylesCollection.cs: several fixes
  4408. * DataGridTableStyle.cs: default column creation
  4409. * DataGridDrawingLogic.cs: fixes
  4410. * CurrencyManager.cs: ListName property
  4411. * DataGrid.cs: multiple styles support
  4412. * DataGridColumnStyle.cs: fixes
  4413. 2005-06-10 Peter Bartok <[email protected]>
  4414. * Control.cs(Select): Moved SetFocus call to avoid potential
  4415. loops if controls change the active control when getting focus
  4416. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  4417. the up/down buttons
  4418. 2005-06-10 Matthias Felgner <[email protected]>
  4419. * ImageListConverter.cs: Implemented
  4420. 2005-06-10 John BouAntoun <[email protected]>
  4421. * MonthCalendar.cs: Wired in NumericUpDown control for year
  4422. 2005-06-10 John BouAntoun <[email protected]>
  4423. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  4424. DoubleClick events, since they are not meant to be fired.
  4425. 2005-06-09 Peter Bartok <[email protected]>
  4426. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  4427. Jonathan's standalone controls into MWF, implemented missing
  4428. events, attributes and methods; added xxxAccessible classes
  4429. * AccessibleObject.cs: Made fields internal so other classes
  4430. can change them if needed
  4431. 2005-06-09 Jonathan Gilbert <[email protected]>
  4432. * UpDownBase.cs: Complete implementation
  4433. * NumericUpDown.cs: Complete implementation
  4434. * DomainUpDown.cs: Complete implementation
  4435. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  4436. * DataGridTextBoxColumn.cs: drawing fixes
  4437. * DataGridCell.cs: fixes ToString method to match MSNet
  4438. * DataGridTableStyle.cs: fixes
  4439. * DataGridBoolColumn.cs: fixes, drawing
  4440. * DataGridDrawingLogic.cs: fixes, new methods
  4441. * DataGridTextBox.cs: Keyboard and fixes
  4442. * DataGrid.cs:
  4443. - Keyboard navigation
  4444. - Scrolling fixes
  4445. - Row selection (single, multiple, deletion, etc)
  4446. - Lots of fixes
  4447. 2005-06-07 Jackson Harper <[email protected]>
  4448. * ThemeWin32Classic.cs: Clear the background area when drawing
  4449. buttons.
  4450. 2005-06-06 Peter Bartok <[email protected]>
  4451. * ImageListStreamer.cs: Fixed signature for GetData
  4452. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  4453. * ComboBox.cs:
  4454. - Added missing ChildAccessibleObject class
  4455. - Added missing OnXXXFocus overrides, switched to using those
  4456. instead of the event handler
  4457. * Control.cs:
  4458. - Added Parent property for ControlAccessibleObject
  4459. - Fixed signatures
  4460. - Fixed attributes
  4461. - Added ResetBindings()
  4462. * ListBindingConverter.cs: Implemented some methods
  4463. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  4464. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  4465. * ContainerControl.cs: Fixed signature, now subscribing to the
  4466. ControlRemoved event instead of overriding the handler, LAMESPEC
  4467. * CurrencyManager.cs: Added missing attribute
  4468. * MonthCalendar.cs: Added missing properties
  4469. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  4470. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  4471. 2005-06-06 Gaurav Vaish and Ankit Jain
  4472. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  4473. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  4474. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  4475. * Control.cs: fixes CreateParams Width / Height.
  4476. 2005-06-05 Peter Bartok <[email protected]>
  4477. * Win32DnD.cs: Removed compilation warnings
  4478. 2005-06-05 Peter Bartok <[email protected]>
  4479. * Control.cs (CreateParams): Since we don't know if one of the
  4480. properties we use is overridden, lets make sure if we fail accessing
  4481. we continue with a backup plan
  4482. 2005-06-05 Peter Bartok <[email protected]>
  4483. * Win32DnD.cs:
  4484. - Removed debug output
  4485. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  4486. struct
  4487. - Plugged resource leak
  4488. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  4489. MS size
  4490. 2005-06-05 Peter Bartok <[email protected]>
  4491. * XplatUIWin32.cs: Removed DnD code
  4492. * Win32DnD.cs: Implemented drop source and drop target functionality
  4493. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  4494. * UpDownBase.cs: remove duplicate addition of event, enable some code
  4495. that was commented out.
  4496. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  4497. Validate input when a key is pressed. It works fine now for every
  4498. combination of Hexadecimal. Only missing some drawing love when sharing
  4499. space with other controls.
  4500. 2005-06-04 Peter Bartok <[email protected]>
  4501. * Control.cs:
  4502. - We need to pass a window for DragDrop, so enable callback events
  4503. - Added DnD callback events when being a DragSource
  4504. * XplatUI.cs (StartDrag): Added window handle argument
  4505. * XplatUIDriver.cs (StartDrag): Added window handle argument
  4506. * QueryContinueDragEventArgs: Made fields internally accessible so
  4507. drivers can set them
  4508. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  4509. can set them
  4510. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  4511. * DataGridTextBoxColumn.cs: column text editing
  4512. * DataGridTableStyle.cs: Respect columns styles created by the user
  4513. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  4514. * DataGridBoolColumn.cs: bool column editing
  4515. * DataGrid.cs: fixes to scrolling, properties, etc
  4516. * DataGridTextBox.cs: handle keyboard
  4517. * DataGridColumnStyle.cs: fixes
  4518. 2005-06-02 Jackson Harper <[email protected]>
  4519. * ImageListStreamer.cs: Somewhat broken implementation of
  4520. GetObjectData. The RLE needs some work to match MS properly.
  4521. 2005-06-02 Jackson Harper <[email protected]>
  4522. * X11Dnd.cs: Attempting to keep at least one file in MWF
  4523. monostyled.
  4524. 2005-06-02 Peter Bartok <[email protected]>
  4525. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  4526. that way
  4527. 2005-06-02 Peter Bartok <[email protected]>
  4528. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  4529. * XplatUI.cs: Added DoDragDrop() method
  4530. * XplatUIDriver.cs: Added DoDragDrop() method
  4531. 2005-06-02 Jackson Harper <[email protected]>
  4532. * Splitter.cs: Implement BorderStyle.
  4533. 2005-06-02 Jackson Harper <[email protected]>
  4534. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  4535. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  4536. X11 using XDND.
  4537. 2005-06-02 Peter Bartok <[email protected]>
  4538. * DataObject.cs:
  4539. - Added Data setter
  4540. - Fixed broken insertion code for SetData, now also
  4541. overwrites any existing entry of the same format name
  4542. * Hwnd.cs: Added list of pointers that automatically gets
  4543. freed when the window is disposed
  4544. * XplatUI.cs: Call driver initialization method when loading
  4545. a driver
  4546. * Control.cs:
  4547. - OnDragLeave takes EventArgs, not DragEventArgs
  4548. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  4549. supported
  4550. - Forces style update when drop state changes
  4551. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  4552. not perfect since we cannot (yet) call the IDataObject.GetData()
  4553. method, we keep getting 0x80004005 error, dunno why)
  4554. 2005-06-02 Peter Bartok <[email protected]>
  4555. * DragEventArgs.cs: Make fields internal so we can cache the
  4556. object and re-set the fields from XplatUI
  4557. 2005-06-02 Jackson Harper <[email protected]>
  4558. * Control.cs: Add some internal methods so the DnD subsystem can
  4559. raise DnD events. Also call into the driver when AllowDrop is set.
  4560. * XplatUI.cs:
  4561. * XplatUIDriver.cs: New method for setting whether or not a window
  4562. is allowed to accept drag and drop messages.
  4563. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  4564. * ScrollBar.cs: Make sure that values sent in Scroll events
  4565. are always between Maximum and Minimum.
  4566. 2005-06-01 Marek Safar <[email protected]>
  4567. * Menu.cs: Call MenuChanged when menuitem visibility has been
  4568. changed.
  4569. * MenuItem.cs: Rebuild menu when item is (not) visible.
  4570. * MainMenu.cs: MainMenu has special MenuChanged.
  4571. * Theme.cs: Caption and FrameBorderSize are not fixed.
  4572. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  4573. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  4574. * XplatUIX11.cs,
  4575. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  4576. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  4577. 2005-05-30 Jackson Harper <[email protected]>
  4578. * DataFormat.cs: We can't statically initialize this stuff because
  4579. it calls into the xplatui and could create a loop. So we lazy init
  4580. it.
  4581. 2005-05-28 Jackson Harper <[email protected]>
  4582. * Control.cs: Proper implementation of Product(Name/Version).
  4583. 2005-05-27 Jackson Harper <[email protected]>
  4584. * DataObject.cs: Dont crash if no data is found.
  4585. 2005-05-26 Rafael Teixeira <[email protected]>
  4586. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  4587. as per status page, guessing it should be set to true
  4588. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  4589. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  4590. * DataGridTableStyle.cs: set proper formatting text, def header text
  4591. * ThemeWin32Classic.cs: new themable paramaters
  4592. * DataGridBoolColumn.cs: paint check box, get data, fixes
  4593. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  4594. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  4595. * DataGridColumnStyle.cs: fixes
  4596. * Theme.cs: new themable paramaters
  4597. 2005-05-26 Peter Bartok <[email protected]>
  4598. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  4599. 2005-05-24 Jonathan S. Chambers <[email protected]>
  4600. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  4601. 2005-05-24 Peter Bartok <[email protected]>
  4602. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  4603. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  4604. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  4605. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  4606. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  4607. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  4608. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  4609. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  4610. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  4611. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  4612. missing attributes, etc
  4613. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  4614. 2005-05-24 Peter Bartok <[email protected]>
  4615. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  4616. when user tries to get help
  4617. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  4618. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  4619. to suppress warnings
  4620. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  4621. avoid unreachable code warning
  4622. 2005-05-20 Peter Bartok <[email protected]>
  4623. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  4624. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  4625. * DataGridTextBoxColumn.cs: Basic painting methods
  4626. * DataGridTableStyle.cs: Set table style in the column
  4627. * ThemeWin32Classic.cs: Use Theme for colors
  4628. * DataGridDrawingLogic.cs: Implement more drawing
  4629. * DataGrid.cs: drawing, theming, enhacements, fixes
  4630. * DataGridColumnStyle.cs: fixes, drawing
  4631. * Theme.cs: theming for Datagrid
  4632. 2005-05-20 Peter Bartok <[email protected]>
  4633. * Cursor.cs: Implemented GetObjectData() method
  4634. 2005-05-20 Peter Bartok <[email protected]>
  4635. * Cursors.cs: Added setting of cursor name
  4636. * Cursor.cs:
  4637. - Implemented constructors
  4638. - Implemented Draw and DrawStretched
  4639. - Implemented Current property
  4640. - Implemented == and != operators
  4641. - Implemented Dispose()
  4642. - Implemented ToString
  4643. - Added missing attributes
  4644. * XplatUIX11.cs:
  4645. - Added missing reset for OverrideCursor when DoEvents is called
  4646. - Fixed creation of cursor, logic was wrong
  4647. * XplatUIWin32.cs:
  4648. - Added missing reset for OverrideCursor when DoEvents is called
  4649. - Fixed creation of cursor, bit arrays were swapped
  4650. * Clipboard.cs: Removed obsolete MonoTODO attribute
  4651. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  4652. * ComboBox.cs: fixes OnSelectedItemChanged
  4653. * ControlBindingsCollection.cs: fixes item range check
  4654. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  4655. * UpDownBase.cs:
  4656. - Calc preferred height properly
  4657. - Implement missing properties
  4658. * NumericUpDown.cs: Implement missing events
  4659. 2005-05-19 Jackson Harper <[email protected]>
  4660. * TabControl.cs: New method that resizes the tab pages before
  4661. redrawing them. This as needed as the control is double buffered
  4662. and sizing will not be recalculated unless ResizeTabPages is
  4663. called.
  4664. * TabPage.cs: Set base.Text instead of Text in the constructor so
  4665. that UpdateOwner does not get called. Use the new Redraw method of
  4666. TabControl instead of Refresh so the sizing is recalculated.
  4667. * ThemeWin32Classic.cs: Draw the text for button tabs.
  4668. 2005-05-19 Jackson Harper <[email protected]>
  4669. * Control.cs: Paint control background images. Fix typo where
  4670. PaintControlBackground was not getting called correctly.
  4671. 2005-05-19 Peter Bartok <[email protected]>
  4672. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  4673. I can investigate, apparently I broke FileDialog
  4674. 2005-05-19 Marek Safar <[email protected]>
  4675. * AxHost.cs: Some simple properties.
  4676. * Control.cs: window must be accessible after ctor.
  4677. * Form.cs: Added TransparencyKey property.
  4678. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  4679. * XplatUIWin32.cs: SetBorderStyle implemented.
  4680. 2005-05-18 Peter Bartok <[email protected]>
  4681. * DataObject.cs: Entries are not global but particular to the
  4682. DataObject, now it behaves that way
  4683. * XplatUIWin32.cs: Implemented Clipboard methods
  4684. * Clipboard.cs: Implemented
  4685. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  4686. * XplatUIOSX.cs: Updated to final clipboard prototypes
  4687. * XplatUIX11.cs: Implemented Clipboard methods
  4688. * XplatUIDriver.cs: Updated to final clipboard prototypes
  4689. * XplatUIStructs.cs:
  4690. - Added BITMAPINFOHEADER struct
  4691. - Added ClipboardFormats enum
  4692. * X11Structs.cs:
  4693. - Added ClipboardStruct
  4694. - Added Atom enum items for clipboard types
  4695. - Fixed atom types for Selection event structures
  4696. * DataFormats.cs:
  4697. - Added internal properties and methods for drivers to enumerate
  4698. all known formats
  4699. - Switched initialization method to allow drivers to assign their
  4700. own IDs even for the MS predefined clipboard IDs
  4701. * XplatUI.cs: Updated to final clipboard interface
  4702. 2005-05-18 Jonathan S. Chambers <[email protected]>
  4703. * PropertyGridView.cs: Fixed compiler warnings.
  4704. 2005-05-18 Jonathan S. Chambers <[email protected]>
  4705. * PropertyGrid.cs: Added some event calls
  4706. * PropertyGridView.cs: Change drawing code to use double buffering
  4707. * PropertyGridTextBox.cs: Changed Text property name
  4708. * GridItem.cs: Added Bounds property.
  4709. * GridEntry.cs: Added Bounds property.
  4710. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  4711. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  4712. since GetType() may not return the correct type if the object is
  4713. a remoting proxy.
  4714. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  4715. * TreeNodeCollection.cs: fixes get/set item ranges
  4716. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  4717. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  4718. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  4719. * ComboBox.cs: Fix item range comparation
  4720. * ListView.cs: Fix item range comparation
  4721. 2005-05-03 Alexander Olk <[email protected]>
  4722. * FontDialog.cs:
  4723. - Clear example panel when OnPaint is called
  4724. - Better solution for displaying the example panel text
  4725. - Select default indexes in the ListBoxes
  4726. 2005-05-11 Geoff Norton <[email protected]>
  4727. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  4728. 2005-05-11 Peter Bartok <[email protected]>
  4729. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  4730. * SelectionRangeConverter.cs: Implemented
  4731. * PropertyGrid.cs: Fixed attribute value
  4732. * Control.cs:
  4733. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  4734. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  4735. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  4736. that's common to all drivers. First methods to go there are
  4737. Sebastien Pouliot's CAS Stack Propagation helper methods
  4738. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  4739. Sebastien Pouliot for CAS Stack Propagation
  4740. 2005-05-11 Geoff Norton <[email protected]>
  4741. * OSXStructs.cs:
  4742. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  4743. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  4744. * DataGridTextBoxColumn.cs: fixed some members
  4745. * GridColumnStylesCollection.cs: indexed column is case insensitive
  4746. * DataGridTableStyle.cs: fixes
  4747. * ThemeWin32Classic.cs: add new theme parameter
  4748. * Theme.cs: add new theme parameter
  4749. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  4750. * DataGrid.cs: fixes, new internal properties, etc.
  4751. * DataGridColumnStyle.cs: allows to set grid value
  4752. *
  4753. 2005-05-10 Peter Bartok <[email protected]>
  4754. * AccessibleObject.cs:
  4755. - Removed MonoTODO attribute on help, method is correct
  4756. - Fixed Bounds property
  4757. * AxHost.cs: Moved MonoTODO
  4758. * ButtonBase.cs: Now setting AccessibleObject properties
  4759. * RadioButton.cs: Setting proper AccessibleObject role
  4760. * CheckBox.cs: Setting proper AccessibleObject role
  4761. * ControlBindingsCollection.cs: Added properties, methods and attributes
  4762. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  4763. userdefined DataFormats.Format items as well
  4764. * ListControl.cs: Removed data_member from the public eye
  4765. * OpenFileDialog.cs:
  4766. - Made class sealed
  4767. - Added missing attributes
  4768. * SaveFileDialog.cs: Added missing attributes
  4769. * ImageListStreamer.cs: Fixed code that caused warnings
  4770. * LinkLabel.cs: Removed unreachable code
  4771. * TreeView.cs: Fixed code that caused warnings
  4772. * PropertyGridView.cs: Fixed code that caused warnings
  4773. * GridColumnStylesCollection.cs: Added missing attributes
  4774. * GridTableStylesCollection: Added missing attribute
  4775. * PropertyManager: Added .ctor
  4776. * SecurityIDType: Added
  4777. * DataObject.cs: Implemented class
  4778. * LinkArea.cs: Added missing attribute
  4779. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  4780. * RadioButton.cs: call base method to allow to fire OnClick event
  4781. * UpDownBase.cs: OnMouseUp call base method
  4782. * CheckedListBox.cs: call base method before returning
  4783. * TrackBar.cs: call base method before returning
  4784. 2005-05-10 Peter Bartok <[email protected]>
  4785. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  4786. for messages
  4787. 2005-05-10 Peter Bartok <[email protected]>
  4788. * DataFormats.cs: Implemented
  4789. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  4790. XplatUIX11.cs: Added Clipboard APIs
  4791. * XplatUIWin32.cs: Implemented Clipboard APIs
  4792. * FolderBrowserDialog.cs: Added missing event, attributes
  4793. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  4794. * CheckBox.cs: call base method to allow to fire OnClick event
  4795. 2005-05-09 Sebastien Pouliot <[email protected]>
  4796. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  4797. 2005-05-06 Peter Bartok <[email protected]>
  4798. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  4799. * Screen.cs: Implemented
  4800. * HelpNavigator.cs: Added
  4801. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  4802. property
  4803. * HelpProvider.cs: Implemented all we can do until we have a CHM
  4804. help library (which means that "What's This" does work now)
  4805. 2005-05-06 Jackson Harper <[email protected]>
  4806. * XplatUIX11.cs: Fix waking up the main loop.
  4807. 2005-05-05 Peter Bartok <[email protected]>
  4808. * XplatUI.cs: Updated revision
  4809. * Form.cs: Removed enless loop
  4810. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  4811. * Label.cs (OnPaint): Added call to base.OnPaint()
  4812. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  4813. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  4814. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  4815. * AxHost.cs: Added
  4816. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  4817. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  4818. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  4819. reuse of ToolTipWindow by other controls
  4820. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  4821. * XplatUIX11.cs: Now clipping drawing area (experimental)
  4822. * PictureBox.cs: Moved base.OnPaint() call to end of method
  4823. * Theme.cs: Fixed ToolTip abstracts to match new format
  4824. * ErrorProvider.cs: Implemented
  4825. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  4826. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  4827. * LinkLabel.cs:
  4828. - Adds cursors
  4829. - Handles focus
  4830. - Implements LinkBehavior
  4831. - Fixes many issues
  4832. 2005-05-03 Jackson Harper <[email protected]>
  4833. * ListView.cs: Calculate the scrollbar positioning on resize and
  4834. paint, so they get put in the correct place.
  4835. 2005-05-03 Alexander Olk <[email protected]>
  4836. * ColorDialogs.cs: The small color panels are now handled by
  4837. SmallColorControl. This fixes drawing of the focus rectangle
  4838. and adds a 3D border.
  4839. 2005-05-03 Peter Bartok <[email protected]>
  4840. * Control.cs: Modified version of Jonathan Chamber's fix for
  4841. double-buffering
  4842. 2005-05-03 Jackson Harper <[email protected]>
  4843. * ListView.cs: Remove redraw variable. Control now handles whether
  4844. or not a redraw needs to be done, and will only raise the paint
  4845. event if redrawing is needed.
  4846. 2005-05-03 Jackson Harper <[email protected]>
  4847. * Splitter.cs: No decorations for the splitter form. Cache the
  4848. hatch brush.
  4849. 2005-05-03 Jackson Harper <[email protected]>
  4850. * TreeView.cs: Use dashed lines to connect nodes. Use the
  4851. ControlPaint method for drawing the focus rect instead of doing
  4852. that in treeview.
  4853. 2005-05-02 Peter Bartok <[email protected]>
  4854. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  4855. 2005-04-29 Jackson Harper <[email protected]>
  4856. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  4857. entire image buffer. Just clear the clipping rectangle.
  4858. 2005-04-29 Jackson Harper <[email protected]>
  4859. * ThemeWin32Classic.cs: Don't draw list view items that are
  4860. outside the clipping rectangle.
  4861. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  4862. * ListBox.cs: added horizontal item scroll
  4863. 2005-04-29 Jackson Harper <[email protected]>
  4864. * ThemeWin32Classic.cs: Remove some old debug code that was
  4865. causing flicker with the new double buffering code.
  4866. 2005-04-29 John BouAntoun <[email protected]>
  4867. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  4868. behave like combobox and comboboxlist (still not sure if this is
  4869. correct though).
  4870. 2005-04-28 Jackson Harper <[email protected]>
  4871. * ThemeWin32Classic.cs: Don't fill the middle of progress
  4872. bars. This fills areas outside of the clip bounds that don't need
  4873. to be filled.
  4874. 2005-04-28 Jackson Harper <[email protected]>
  4875. * Control.cs: Don't expose functionality to touch the image buffers.
  4876. * ProgressBar.cs:
  4877. * ListView.cs: We do not need to (and no longer can) manipulate
  4878. the image buffers directly. All of this is handled by Control.
  4879. 2005-04-28 Peter Bartok <[email protected]>
  4880. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  4881. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  4882. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  4883. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  4884. * Combobox:
  4885. - Adjust control's height for non-simple comboboxes (bug fix)
  4886. - Remove dead code
  4887. * MenuAPI.cs: remove unused var
  4888. * ScrollBar.cs: remove unsed var
  4889. * ListBox.cs: unselect items when clearing
  4890. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  4891. * ListControl.cs: honors OnPositionChanged and default Selected Item
  4892. * ListBox.cs: unselect items when clearing
  4893. 2005-04-27 Jackson Harper <[email protected]>
  4894. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  4895. if a "correct" keyboard is not found. This will make us not crash,
  4896. but might give some users bad keyboard layouts...seems to be the
  4897. same thing rewind does.
  4898. 2005-04-27 Jackson Harper <[email protected]>
  4899. * BindingManagerBase.cs: Attach the current/position changed
  4900. handlers to their respective events.
  4901. 2005-04-27 Jackson Harper <[email protected]>
  4902. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  4903. not just a blit.
  4904. * ThemeWin32Classic.cs: Don't fill the background for picture
  4905. boxes. This could overright user drawing.
  4906. * ComboBox.cs: Just fill the clipping rect not the entire client
  4907. rect when drawing the background. This prevents pieces of the
  4908. image buffer from getting overwritten and is theoretically faster.
  4909. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  4910. * ComboBox.cs: Databinding support fixes, fire missing events
  4911. * ListControl.cs: implement missing methods and properties, fixes
  4912. * ThemeWin32Classic.cs: Databiding support on Drawing
  4913. * CheckedListBox.cs: Databinding support fixes, fire missing events
  4914. * ListBox.cs: Databinding support fixes, fire missing events
  4915. 2005-04-25 Peter Bartok <[email protected]>
  4916. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  4917. 2005-04-25 Jackson Harper <[email protected]>
  4918. * TreeView.cs: Use the horizontal scrollbars height not width when
  4919. determining how much of the client area is available.
  4920. 2005-04-25 Jackson Harper <[email protected]>
  4921. * Control.cs: Double buffering is handled differently now. As per
  4922. the spec, the extra buffer is created in the WM_PAINT message and
  4923. passed down to the control's drawing code.
  4924. * GroupBox.cs:
  4925. * Label.cs:
  4926. * CheckBox.cs:
  4927. * ProgressBar.cs:
  4928. * RadioButton.cs:
  4929. * ColorDialog.cs:
  4930. * ComboBox.cs:
  4931. * PropertyGridView.cs:
  4932. * UpDownBase.cs:
  4933. * MessageBox.cs:
  4934. * MenuAPI.cs:
  4935. * ListView.cs:
  4936. * ButtonBase.cs:
  4937. * SizeGrip.cs:
  4938. * ScrollBar.cs:
  4939. * ListBox.cs:
  4940. * TrackBar.cs:
  4941. * ToolBar.cs:
  4942. * PictureBox.cs:
  4943. * DateTimePicker.cs:
  4944. * StatusBar.cs:
  4945. * TreeView.cs: Update to new double buffering system.
  4946. * MonthCalendar.cs: Uncomment block, as Capture is now
  4947. working. Update to new double buffering
  4948. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  4949. * PaintEventArgs.cs: New internal method allows us to set the
  4950. graphics object. This is used for double buffering.
  4951. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  4952. rectangle. The internal paint_area var has been removed from
  4953. StatusBar. The clipping rect should be used instead.
  4954. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  4955. * TabPage.cs: The RefreshTabs method was removed, so just call the
  4956. tab controls Refresh method now.
  4957. * TabControl.cs: Update to new double buffering. Make sure the
  4958. handle is created before sizing the tab pages, otherwise we will
  4959. get stuck in a loop.
  4960. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  4961. * LinkLabel.cs: Fix typo, bug #74719; patch
  4962. from Borja Sanchez Zamorano
  4963. 2005-04-22 Jackson Harper <[email protected]>
  4964. * TreeNode.cs: Implement Handle stuff.
  4965. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  4966. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  4967. * DataGridTextBoxColumn.cs: call base constructors, fixes
  4968. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  4969. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  4970. * DataGridTableStyle.cs: implements create default column styles
  4971. * DataGridBoolColumn.cs: which types can handle
  4972. * DataGrid.cs: missing methods, fixes, new functionality
  4973. * DataGridColumnStyle.cs: fixes
  4974. 2005-04-20 Alexander Olk <[email protected]>
  4975. * FolderBrowserDialog.cs:
  4976. - Use a thread to fill the TreeView
  4977. - Adjusted some sizes
  4978. 2005-04-19 Peter Bartok <[email protected]>
  4979. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  4980. property. Fixes #74360.
  4981. 2005-04-19 Jackson Harper <[email protected]>
  4982. * XEventQueue.cs: Lock when getting the lockqueue size.
  4983. * PictureBox.cs: Call base OnPaint
  4984. 2005-04-19 Peter Bartok <[email protected]>
  4985. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  4986. messages were no longer being processed (this broke BeginInvoke)
  4987. 2005-04-18 Jackson Harper <[email protected]>
  4988. * TreeView.cs: buglet that caused node images to get drawn
  4989. regardless of whether or not they were in the clipping rectangle.
  4990. 2005-04-18 Jackson Harper <[email protected]>
  4991. * CurrencyManager.cs: There are four rules for GetItemProperties:
  4992. - If the type is an array use the element type of the array
  4993. - If the type is a typed list, use the type
  4994. - If the list contains an Item property that is not an object, use
  4995. that property
  4996. - use the first element of the list if there are any elements in
  4997. the list.
  4998. 2005-04-17 Jackson Harper <[email protected]>
  4999. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  5000. click. This handles offsets for scrolling properly and reduces
  5001. memory. Also fixed GetNode to not offset now that TopNode works
  5002. properly.
  5003. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  5004. 2005-04-17 Jackson Harper <[email protected]>
  5005. * CursorConverter.cs: Initial implementation.
  5006. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  5007. * ListControl.cs: work towards complex data binding support on ListControl
  5008. * CurrencyManager.cs: work towards complex data binding support on ListControl
  5009. * ListBox.cs: work towards complex data binding support on ListControl
  5010. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  5011. * GridTableStylesCollection.cs: fixes name and constructor
  5012. * DataGridTableStyle.cs: fixes
  5013. * DataGridBoolColumn.cs: fixes names and constructors
  5014. * DataGrid.cs: define methods and properties. Some init implementations
  5015. * DataGridCell.cs: define methods and properties. Some init implementations
  5016. * GridTablesFactory.cs: Define methods and properties
  5017. 2005-04-15 Geoff Norton <[email protected]>
  5018. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  5019. graphics port changes. We still want the coordinates in global screen
  5020. coordinates.
  5021. 2005-04-14 Jackson Harper <[email protected]>
  5022. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  5023. check plus minus or checkbox clicks unless those features are enabled.
  5024. 2005-04-14 Jackson Harper <[email protected]>
  5025. * TreeView.cs: Add methods for setting the top and bottom visible
  5026. nodes. TreeNode::EnsureVisible uses these methods.
  5027. * TreeNode.cs: Implement EnsureVisible
  5028. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  5029. * Form.cs: Pospone menu assignation if the window has not been created yet
  5030. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  5031. size and position
  5032. 2005-04-12 Jackson Harper <[email protected]>
  5033. * TreeView.cs: Set the TopNode properly when scrolling
  5034. occurs. This has the added benifit of reducing the amount of
  5035. walking that needs to be done when drawing. Also removed an old
  5036. misleading TODO.
  5037. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  5038. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  5039. * Timer.cs: fixes interval setting when the timer is already enabled
  5040. 2005-04-10 Alexander Olk <[email protected]>
  5041. * FolderBrowserDialog.cs: First approach
  5042. 2005-04-09 Peter Bartok <[email protected]>
  5043. * FolderBrowserDialog: Added
  5044. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  5045. * LinkLabel.cs: move drawing code into the theme
  5046. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  5047. * Theme.cs: define DrawLinkLabel method
  5048. 2005-04-05 Jackson Harper <[email protected]>
  5049. * BindingContext.cs: Use weak references so these bad actors don't
  5050. stay alive longer then they need to.
  5051. 2005-04-05 Jackson Harper <[email protected]>
  5052. * ListControl.cs: Basic implementation of complex databinding.
  5053. * ComboBox.cs:
  5054. * ListBox.cs: Add calls to ListControl databinding methods.
  5055. 2005-04-05 Alexander Olk <[email protected]>
  5056. * FileDialog.cs:
  5057. - Don't change PopupButtonState to Normal when the
  5058. PopupButton gets pressed several times.
  5059. - Renamed ButtonPanel to PopupButtonPanel
  5060. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  5061. * ColorDialog.cs: Use cached objects instead of creating them
  5062. * LinkLabel.cs: Use cached objects instead of creating them
  5063. * Splitter.cs: Use cached objects instead of creating them
  5064. * FontDialog.cs: Use cached objects instead of creating them
  5065. * PropertyGridView.cs: Use cached objects instead of creating them
  5066. * MessageBox.cs: Use cached objects instead of creating them
  5067. * FileDialog.cs: Use cached objects instead of creating them
  5068. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  5069. * TreeView.cs: Use cached objects instead of creating them
  5070. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  5071. * Control.cs: use Equals to compare the font since no == op
  5072. * ScrollBar.cs: use Equals to compare the font since no == op
  5073. 2005-04-04 Alexander Olk <[email protected]>
  5074. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  5075. 2005-04-01 Jackson Harper <[email protected]>
  5076. * Binding.cs: Implement IsBinding.
  5077. * BindingManagerBase.cs:
  5078. * PropertyManager.cs:
  5079. * CurrencyManager.cs: Add IsSuspended property.
  5080. 2005-04-01 Jackson Harper <[email protected]>
  5081. * Binding.cs: Had some IsAssignableFrom calls backwards.
  5082. 2005-04-01 Jackson Harper <[email protected]>
  5083. * Binding.cs: Handle null data members when pulling data.
  5084. * PropertyManager.cs: Handle the data member being a property that
  5085. does not exist.
  5086. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  5087. * DataGridTextBoxColumn.cs: fixes signature
  5088. * DataGrid.cs: calls right constructor
  5089. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  5090. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  5091. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  5092. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  5093. * DataGridTableStyle.cs: implements DataGridTableStyle
  5094. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  5095. * DataGridTextBox.cs: implements DataGridTextBox
  5096. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  5097. 2005-03-31 Alexander Olk <[email protected]>
  5098. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  5099. 2005-03-29 Peter Bartok <[email protected]>
  5100. * Application.cs:
  5101. - Properly implemented CompanyName property
  5102. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  5103. returns a path that includes CompanyName, ProductName and
  5104. Version (fixes bug #70330)
  5105. 2005-03-29 Stefan Buehler <[email protected]>
  5106. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  5107. fixes bug #72588.
  5108. 2005-03-28 Alexander Olk <[email protected]>
  5109. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  5110. - Added ReadOnly CheckBox
  5111. - Further refactoring: moved some code from Open-/SaveFileDialog
  5112. to FileDialog
  5113. 2005-03-28 Alexander Olk <[email protected]>
  5114. * OpenFileDialog.cs: Fixed CheckFileExists
  5115. * FileDialog.cs:
  5116. Moved FileView and DirComboBox outside FileDialog class.
  5117. They can now be used outside FileDialog
  5118. 2005-03-27 Alexander Olk <[email protected]>
  5119. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  5120. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  5121. 2005-03-27 Alexander Olk <[email protected]>
  5122. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  5123. - Added missing CreatePrompt property in SaveDialog
  5124. - Overall SaveDialog handling should be better now
  5125. - Added non standard ShowHiddenFiles property
  5126. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  5127. - Added InitialDirectory and RestoreDirectory support
  5128. 2005-03-26 Alexander Olk <[email protected]>
  5129. * FileDialog.cs: Made dirComboBox usable
  5130. 2005-03-24 Alexander Olk <[email protected]>
  5131. * FileDialog.cs: Added Filter support (case sensitiv)
  5132. 2005-03-24 Jackson Harper <[email protected]>
  5133. * TabControl.cs: Need a couple more pixels for the lines.
  5134. 2005-03-23 Jackson Harper <[email protected]>
  5135. * TabControl.cs: Give the tab page focus when it is selected.
  5136. 2005-03-23 Jackson Harper <[email protected]>
  5137. * TabControl.cs: Account for the drawing of tabs borders when
  5138. invalidating. If the slider was clicked dont do click detection on
  5139. the tabs.
  5140. 2005-03-23 Jackson Harper <[email protected]>
  5141. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  5142. 2005-03-22 Jonathan Chambers <[email protected]>
  5143. * CategoryGridEntry.cs: Added
  5144. * GridItem.cs: Added helper properties
  5145. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  5146. * GridEntry.cs: Updated code for collection
  5147. * PropertyGrid.cs: Cleaned up some formatting
  5148. * PropertyGridView.cs: Added drop down functionality for enums.
  5149. * GridItemCollection.cs: Added enumerator logic
  5150. * PropertyGridEntry.cs: Added
  5151. 2005-03-19 Alexander Olk <[email protected]>
  5152. * FileDialog.cs:
  5153. - Removed unnecessary commented code
  5154. - Fixed handling for entering the filename manually in the combobox
  5155. 2005-03-19 Alexander Olk <[email protected]>
  5156. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  5157. 2005-03-18 Peter Bartok <[email protected]>
  5158. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  5159. them being touching the border
  5160. 2005-03-18 Peter Bartok <[email protected]>
  5161. * TextControl.cs: Quick hack to center text better
  5162. 2005-03-18 Peter Bartok <[email protected]>
  5163. * ControlPaint.cs:
  5164. - Don't throw NotImplemented exceptions, just print a notice once
  5165. instead (requested by Miguel). This makes running existing SWF
  5166. apps a bit easier
  5167. * Control.cs:
  5168. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  5169. - Added context menu trigger on right click
  5170. * Panel.cs: Trigger invalidate on resize
  5171. * StatusBar.cs:
  5172. - Removed old double-buffer drawing
  5173. - Added ResizeRedraw style to force proper update of statusbar
  5174. * ListView.cs:
  5175. - Removed debug output
  5176. * ThemeWin32Classic.cs:
  5177. - Fixed drawing of status bar, now draws Text property if there
  5178. are no defined panels
  5179. 2005-03-18 Jackson Harper <[email protected]>
  5180. * ImageList.cs: When the image stream is set pull all the images
  5181. from it.
  5182. * ImageListStreamer.cs: Implement reading image list streams.
  5183. 2005-03-18 Peter Bartok <[email protected]>
  5184. * ThemeWin32Classic.cs (DrawPictureBox):
  5185. - Fixed calculations for centered drawing
  5186. - Fixed drawing for normal mode, not scaling the image on normal
  5187. 2005-03-18 Peter Bartok <[email protected]>
  5188. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  5189. textbox
  5190. * FileDialog.cs:
  5191. - Made Open/Save button the accept button for FileDialog
  5192. - Tied the cancel button to the IButtonControl cancel button
  5193. - Save/Open now properly builds the pathname
  5194. - Now handles user-entered text
  5195. - Preventing crash on right-click if no item is selected
  5196. - Fixed Text property, now uses contents of textbox
  5197. - Fixed SelectedText property, now just returns the text part that
  5198. is selected in the text box
  5199. 2005-03-18 Jackson Harper <[email protected]>
  5200. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  5201. rect, make sure to de-adjust the interior rect after drawing the
  5202. tab text.
  5203. 2005-03-18 Peter Bartok <[email protected]>
  5204. * MenuAPI.cs: Remove menu *before* executing selected action to
  5205. prevent the menu from 'hanging around'
  5206. 2005-03-17 Geoff Norton <[email protected]>
  5207. * XplatUIOSX.cs: Implemented WorkingArea property
  5208. 2005-03-17 Peter Bartok <[email protected]>
  5209. * XplatUIX11.cs: Fixed menu coord calculations
  5210. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  5211. for calculating offsets
  5212. 2005-03-17 Peter Bartok <[email protected]>
  5213. * Hwnd.cs: Do not consider menu presence for default client
  5214. rectangle location/size
  5215. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  5216. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  5217. translation functions
  5218. * FileDialog.cs: Fixed (what I presume is a) typo
  5219. 2005-03-17 Jonathan Gilbert <[email protected]>
  5220. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  5221. X access (avoids X-Async errors)
  5222. 2005-03-16 Jackson Harper <[email protected]>
  5223. * TabControl.cs: Raise the SelectedIndexChanged event.
  5224. 2005-03-16 Alexander Olk <[email protected]>
  5225. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  5226. - Removed vertical ToolBar and replaced it with a custom panel
  5227. (desktop and home button already work)
  5228. - Added Help button (some controls get resized or relocated then)
  5229. - Draw correct text depending on Open or Save.
  5230. - Fixed some typos...
  5231. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  5232. * ScrollBar.cs:
  5233. - Only change Maximum and Minimum when need it (bug fix)
  5234. 2005-03-15 Peter Bartok <[email protected]>
  5235. * Form.cs: Use Handle for icon, to trigger creation if
  5236. the window does not yet exist
  5237. * Control.cs:
  5238. - CanSelect: Slight performance improvement
  5239. - Focus(): Preventing possible recursion
  5240. - Invalidate(): Removed ControlStyle based clear flag setting
  5241. - WM_PAINT: fixed logic for calling OnPaintBackground
  5242. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  5243. EraseWindowBackground if the control doesn't paint background
  5244. * XplatUIWin32.cs:
  5245. - Moved EraseWindowBackground() method to internal methods
  5246. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  5247. is sent via SendMessage on BeginPaint call on Win32
  5248. * XplatUIX11.cs:
  5249. - Added EraseWindowBackground() method
  5250. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  5251. PaintEventStart, which more closely matches Win32 behaviour
  5252. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  5253. - Fixed SetFocus() to properly deal with client and whole windows
  5254. * Hwnd.cs: Added ErasePending property
  5255. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  5256. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  5257. 2005-03-12 Geoff Norton <[email protected]>
  5258. * XplatUIOSX.cs:
  5259. - Fix hard loop when timers exist.
  5260. - Fix bugs with middle and right click for 3 button mice.
  5261. 2005-03-11 Peter Bartok <[email protected]>
  5262. * XplatUIX11.cs:
  5263. - get_WorkingArea: Need to call X directly, GetWindowPos only
  5264. returns cached data now
  5265. - Added sanity check to GetWindowPos hwnd usage
  5266. 2005-03-11 Jackson Harper <[email protected]>
  5267. * BindingManagerBase.cs: This method isn't used anymore as
  5268. PullData now updates the data in the control.
  5269. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  5270. * Form.cs: fixes menu drawing on X11
  5271. * MenuAPI.cs: fixes menu drawing on X11
  5272. 2005-03-11 Peter Bartok <[email protected]>
  5273. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  5274. from Jonathan Gilbert; should fix bug #73606
  5275. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  5276. in Screen coordinates. Thanks, Jordi.
  5277. * Form.cs: Added missing attribute
  5278. 2005-03-11 Peter Bartok <[email protected]>
  5279. * Form.cs:
  5280. - Rudimentary Mdi support
  5281. - Removed outdated FormParent code
  5282. - Implemented lots of missing properties and methods, still missing
  5283. transparency support
  5284. - Added missing attributes
  5285. - Implemented support for MaximumBounds
  5286. - Added firing of various events
  5287. * XplatUI.cs: Added SetIcon() method
  5288. * XplatUIDriver.cs: Added SetIcon() abstract
  5289. * XplatUIOSX.cs: Stubbed out SetIcon() method
  5290. * XplatUIX11.cs:
  5291. - Implemented SetIcon() support
  5292. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  5293. - Switched to unix line endings
  5294. * XplatUIWin32.cs:
  5295. - Made POINT internal so for can access it as part of MINMAX
  5296. - Implemented SetIcon() support
  5297. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  5298. native Mdi support again, might have to go managed)
  5299. * Control.cs: Now fires the StyleChanged event
  5300. * MdiClient.cs: Added; still mostly empty
  5301. 2005-03-10 Peter Bartok <[email protected]>
  5302. * SaveFileDialog.cs: Added emtpy file
  5303. 2005-03-08 Peter Bartok <[email protected]>
  5304. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  5305. in turn triggers OnCreateContro) when creating a handle for the
  5306. first time.
  5307. * TextControl.cs: Fixed endless loop in certain cases when
  5308. replacing the current selection
  5309. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  5310. * ScrollBar.cs:
  5311. - Honors NewValue changes in Scroll events allowing apps to change it
  5312. - Adds First and Last Scroll events
  5313. - Fixes Thumb events
  5314. 2005-03-07 Peter Bartok <[email protected]>
  5315. * Hwnd.cs: Added DefaultClientRectangle property
  5316. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  5317. more detailed debug information
  5318. * XplatUIX11.cs:
  5319. - Fixed size-change feedback loop, where we would pull an old size
  5320. off the queue and mistakenly change our window's size to an
  5321. earlier value
  5322. - Now compressing ConfigureNotify events, to reduce looping and
  5323. redraw issues
  5324. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  5325. is called
  5326. 2005-03-07 Jackson Harper <[email protected]>
  5327. * Binding.cs: Push data pushes from data -> property. Check if the
  5328. property is readonly when attempting to set it.
  5329. 2005-03-07 Jackson Harper <[email protected]>
  5330. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  5331. instead of IsSubclassOf. Pulling data now sets the value on the
  5332. control.
  5333. * PropertyManager.cs:
  5334. * CurrencyManager.cs: Just need to pull data when updating now,
  5335. because PullData will set the value on the control.
  5336. 2005-03-04 Jackson Harper <[email protected]>
  5337. * Binding.cs: Implement data type parsing and converting on pulled
  5338. data. TODO: Are there more ways the data can be converted?
  5339. 2005-03-04 Jackson Harper <[email protected]>
  5340. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  5341. controls Validating method so we can repull the data when the
  5342. control loses focus.
  5343. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  5344. * ColumnHeader.cs:
  5345. - Fixes null string format
  5346. * ListView.cs:
  5347. - Adds enum type checks
  5348. - Fixes redrawing and recalc need after changing some properties
  5349. - Fixes on focus_item set after the event
  5350. - Fixes adding columns after the control has been created
  5351. * ThemeWin32Classic.cs:
  5352. - Fixes CheckBox focus rectangle
  5353. - Fixes ColumnHeader drawing
  5354. 2005-03-03 Jackson Harper <[email protected]>
  5355. * Binding.cs: Bind to <Property>Changed events so we can detect
  5356. when properties are changed and update the data.
  5357. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  5358. * ImageList.cs:
  5359. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  5360. - Fixes ImageList constructor with ImageList container
  5361. - Fixes image scaling (wrong parameters at DrawImage)
  5362. 2005-02-02 Jackson Harper <[email protected]>
  5363. * Binding.cs: Make property searches case-insensitive. Eliminate
  5364. some duplicated code.
  5365. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  5366. * ComboBox.cs:
  5367. - Handle focus event
  5368. - Fix scrollbar events
  5369. - Discard highlighted item if remove it
  5370. - Fixes SelectedItem with strings
  5371. 2005-03-01 Peter Bartok <[email protected]>
  5372. * Control.cs:
  5373. - Fixed Visible property, now follows (once again) parent chain
  5374. to return false if any control in the chain is visible=false
  5375. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  5376. - Fixed several places where is_visible instead of Visible was used
  5377. - Implemented FIXME related to focus selection when setting focused
  5378. control to be invisible
  5379. * XplatUIWin32.cs: Now using proper method to find out if window is
  5380. visible. Thanks to Jordi for pointing it out
  5381. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  5382. * ComboBox.cs: show/hide scrollbar instead of creating it
  5383. 2005-02-27 Jackson Harper <[email protected]>
  5384. * CurrencyManager.cs: Add PositionChanged stuff.
  5385. 2005-02-27 Peter Bartok <[email protected]>
  5386. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  5387. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  5388. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  5389. * XplatUIX11.cs:
  5390. - Implemented GetMenuDC()
  5391. - Implemented GetMenuOrigin()
  5392. - Implemented ReleaseMenuDC()
  5393. - Implemented generation of WM_NCPAINT message
  5394. - Implemented generation and handling of WM_NCCALCSIZE message
  5395. * Form.cs: Added debug helper message for Jordi's menu work
  5396. * Hwnd.cs:
  5397. - Modified ClientRect property; added setter, fixed getter to handle
  5398. setting of ClientRect
  5399. - Added MenuOrigin property
  5400. 2005-02-26 Peter Bartok <[email protected]>
  5401. * XplatUIX11.cs:
  5402. - Destroys the caret if a window that's being destroyed contains it
  5403. - Ignores expose events coming from the X11 queue for windows that
  5404. already are destroyed
  5405. - Now uses the proper variable for handling DestroyNotify, before we
  5406. marked the wrong window as destroyed
  5407. - Improved/added some debug output
  5408. 2005-02-26 Peter Bartok <[email protected]>
  5409. * X11Keyboard.cs: Fixes to work on 64bit systems
  5410. 2005-02-26 Peter Bartok <[email protected]>
  5411. * Control.cs:
  5412. - Now calling OnHandleDestroyed from DestroyHandle()
  5413. instead of Dispose()
  5414. - Removed bogus call to controls.Remove() from DestroyHandle()
  5415. 2005-02-26 Peter Bartok <[email protected]>
  5416. * Control.cs: Properly destroy child windows when our handle is
  5417. destroyed
  5418. 2005-02-25 Peter Bartok <[email protected]>
  5419. * XplatUI.cs:
  5420. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  5421. - Alphabetized Static Methods and Subclasses
  5422. * XplatUIX11.cs:
  5423. - Added XException class to allow custom handling of X11 exceptions
  5424. - Created custom X11 error handler, tied into XException class
  5425. - Added support for MONO_XEXCEPTIONS env var to allow the user
  5426. to either throw an exception on X errors or continue running
  5427. after displaying the error
  5428. - Added handling of DestroyNotify message
  5429. - Added handler for CreateNotify message (still disabled)
  5430. - Improved (tried to at least) Where method to provide file and lineno
  5431. * X11Structs.cs:
  5432. - Added XErrorHandler delegate
  5433. - Added XRequest enumeration (to suppor translation of errors)
  5434. 2005-02-25 Jackson Harper <[email protected]>
  5435. * PropertyManager.cs: Implement editing features
  5436. * CurrencyManager.cs:
  5437. * Binding.cs: First attempt at UpdateIsBinding
  5438. * BindingManagerBase.cs: Call UpdateIsBinding before
  5439. pushing/pulling data.
  5440. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  5441. * MenuAPI.cs: Respect disabled items
  5442. * ThemeWin32Classic.cs
  5443. - Caches ImageAttributes creation for DrawImageDisabled
  5444. - Fixes vertical menu line drawing
  5445. - Draws disabled arrows in disable menu items
  5446. 2005-02-24 Peter Bartok <[email protected]>
  5447. * Hwnd.cs:
  5448. - Added UserData property to allow associating arbitrary objects
  5449. with the handle
  5450. - Fixed leak; now removing Hwnd references from static windows array
  5451. * XplatUIWin32.cs:
  5452. - Fixed Graphics leak in PaintEventEnd
  5453. - Removed usage of HandleData, switched over to Hwnd class
  5454. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  5455. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  5456. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  5457. * ScrollBar.cs: Fixes bug
  5458. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  5459. keyboard navigation enhancements
  5460. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  5461. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  5462. * GroupBox.cs: Add control styles
  5463. * Label.cs: Add control styles
  5464. * UpDownBase.cs: Add control styles
  5465. * ListBox.cs: Add control styles
  5466. * XplatUIWin32.cs: Fixes wrong parameter order
  5467. 2005-02-23 Chris Bacon <[email protected]>
  5468. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  5469. 2005-02-23 Jackson Harper <[email protected]>
  5470. * PropertyManager.cs: Implement property binding. This doesn't
  5471. seem to work yet though as (I think) there are some bugs in
  5472. System.ComponentModel.PropertyDescriptor.
  5473. * BindingContext.cs: Use new PropertyManager constructor.
  5474. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  5475. * ProgressBar.cs: use clip region in ProgressBar
  5476. * ThemeWin32Classic.cs: use clip region in ProgressBar
  5477. 2004-02-22 Jackson Harper <[email protected]>
  5478. * BindingsCollection.cs: Remove some debug code.
  5479. 2005-02-22 Jackson Harper <[email protected]>
  5480. * BindingContext.cs:
  5481. * ControlBindingsCollection.cs:
  5482. * CurrencyManager.cs:
  5483. * Binding.cs:
  5484. * BindingManagerBase.cs: Initial implementation
  5485. * BindingsCollection.cs: Add an internal contains method that the
  5486. BindingManagerBase uses to ensure bindings aren't added twice to
  5487. the collection.
  5488. * PropertyManager.cs: Stubbed out.
  5489. * Control.cs:
  5490. * ContainerControl.cs: Hook up databinding
  5491. 2005-02-22 Geoff Norton <[email protected]>
  5492. * XplatUIOSX.cs:
  5493. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  5494. Fixed Invalidate/Update chain.
  5495. Fixed tons of other minor bugs (this is almost a complete rewrite).
  5496. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  5497. * ComboBox.cs: do subcontrol creation when the control is created
  5498. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  5499. * Label.cs: fixes image drawing (image and imagelist)
  5500. * ThemeWin32Classic.cs: cache brushes
  5501. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  5502. * Form.cs: Move menu drawing code to Theme class
  5503. * ComboBox.cs: Move ComboBox drawing code to Theme class
  5504. * MenuItem.cs: Move menu drawing code to Theme class
  5505. * MenuAPI.cs: Move menu drawing code to Theme class
  5506. * ThemeWin32Classic.cs: New methods
  5507. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  5508. * ListBox.cs: Move Listbox drawing code to Theme class
  5509. * Theme.cs: New methods
  5510. 2005-02-20 Peter Bartok <[email protected]>
  5511. * Control.cs:
  5512. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  5513. only process mnemonics on those)
  5514. - Fixed event sequence for key handling; first calling
  5515. ProcessKeyEventArgs now
  5516. * TextBoxBase.cs:
  5517. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  5518. for processing non-character keys
  5519. - Fixed WM_CHAR to generate proper event sequence before processing
  5520. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  5521. generation
  5522. 2005-02-19 Peter Bartok <[email protected]>
  5523. * UserControl.cs: Added TextChanged event; added attributes
  5524. * SizeGrip.cs: Implemented resizing and optional display of grip
  5525. * Form.cs: Fixed attribute
  5526. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  5527. Changed meaning of ScrollWindow bool argument; instead of the
  5528. clear attribute (which will be true usually anyway), it gives the
  5529. option of moving child controls as well.
  5530. * XplatUIX11.cs:
  5531. - Changed to match new ScrollWindow argument
  5532. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  5533. now handles the implicit parent window a WM puts around us
  5534. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  5535. to work)
  5536. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  5537. * TreeView.cs: Adjusted to new ScrollWindow arguments
  5538. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  5539. * Form.cs: Menu integration with non-client area
  5540. * MenuItem.cs: Menu integration with non-client area
  5541. * MenuAPI.cs: Menu integration with non-client area
  5542. 2005-02-18 Peter Bartok <[email protected]>
  5543. * MethodInvoker.cs: Added
  5544. * MdiLayout.cs: Added
  5545. * SendKeys.cs: Started implementation
  5546. * ErrorIconAlignment.cs: Added
  5547. 2005-02-18 Peter Bartok <[email protected]>
  5548. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  5549. * Form.cs: Added handling for Menu-related Non-client messages
  5550. 2005-02-17 Peter Bartok <[email protected]>
  5551. * UpDownBase.cs: Fixed typo, compilation errors
  5552. * DomainUpDown.cs: Fixed attribute value
  5553. 2005-02-16 Miguel de Icaza <[email protected]>
  5554. * UpDownBase.cs: Attach entry events.
  5555. Propagate events.
  5556. Add ForeColor property, Focused, InterceptArrowKeys (interception
  5557. does not work yet).
  5558. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  5559. * Form.cs:
  5560. - Redraw non client are on Setmenu
  5561. - Calc proper menu starting point
  5562. 2005-02-17 Peter Bartok <[email protected]>
  5563. * Application.cs: Fixed message_filter check
  5564. 2005-02-17 Peter Bartok <[email protected]>
  5565. * Application.cs: Now calls registered message filters
  5566. * DockStyle.cs: Fixed attribute
  5567. * Form.cs: Fixed attribute
  5568. * Menu.cs: Fixed attribute
  5569. * ToolTip.cs: Fixed attribute
  5570. * TreeNode.cs: Added missing attributes and arranged in regions
  5571. * PropertyGrid.cs: Fixed signatures
  5572. * TreeNodeCollection.cs: Added attributes
  5573. * Splitter.cs: Added missing attributes; arranged into regions
  5574. * TabPage.cs: Added missing attributes; arranged into regions
  5575. * TextBoxBase.cs: Added missing attributes
  5576. * TextBox.cs: Added missing attributes
  5577. * ArrangeDirection.cs: Added missing attributes
  5578. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  5579. * ToolBarButton.cs: Fixed attributes
  5580. * AnchorStyles.cs: Fixed attribute
  5581. * TrackBar.cs: Fixed attributes
  5582. * TabControl.cs: Added missing attributes and arranged into regions
  5583. * ToolBar.cs: Fixed attribute
  5584. * StatusBar.cs: Fixed signature, organized into regions and added
  5585. attributes
  5586. * StatusBarPanel.cs: Fixed attributes
  5587. * ContentsResizedEventArgs.cs: Implemented
  5588. * ContentsResizedEventHandler.cs: Implemented
  5589. * DateBoldEventArgs.cs: Implemented
  5590. * DateBoldEventHandler.cs: Implemented
  5591. * UpDownEventArgs.cs: Implemented
  5592. * UpDownEventHandler.cs: Implemented
  5593. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  5594. * Form.cs: first Menu NC refactoring
  5595. * MenuAPI.cs: first Menu NC refactoring
  5596. 2005-02-16 Peter Bartok <[email protected]>
  5597. * ImeMode.cs: Added missing attributes
  5598. * Menu.cs: Fixed attribute
  5599. * GroupBox.cs: Fixed attribute
  5600. * Label.cs: Fixed attribute
  5601. * ColorDialog.cs (RunDialog): Removed TODO attribute
  5602. * ComboBox.cs: Fixed attributes
  5603. * ListControl.cs: Added missing attributes
  5604. * PropertyGrid.cs: Fixed attributes
  5605. * Control.cs: Fixed attributes
  5606. * ListViewItem.cs: Added TypeConverter attribute
  5607. * NotifyIcon.cs: Fixed attributes
  5608. * ListView.cs: Fixed attributes
  5609. * ButtonBase.cs: Fixed attribute
  5610. * ImageList.cs: Added missing attributes
  5611. * ContainerControl.cs: Fixed signature
  5612. * CheckedListBox.cs: Fixed attribute; added missing attributes
  5613. * Panel.cs: Fixed attributes
  5614. * PropertyTabChangedEventArgs.cs: Added missing attribute
  5615. * PropertyValueChangedEventArgs.cs: Added missing attribute
  5616. * Binding.cs: Fixed attribute
  5617. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  5618. * ListBox.cs: Fixed attribute; added missing attributes;
  5619. * ScrollableControl.cs: Added missing attributes
  5620. * PictureBox.cs: Added missing attributes; implemented missing property
  5621. * DateTimePicker.cs: Added missing attributes
  5622. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  5623. * MonthCalendar.cs: Fixed attributes
  5624. * StatusBarPanel.cs: Added missing attributes
  5625. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  5626. 2005-02-16 Peter Bartok <[email protected]>
  5627. * TextBoxBase.cs: The previous method to enforce height yet remember
  5628. the requested high was less than ideal, this is an attempt to do
  5629. it better.
  5630. * Control.cs: Added comment about possible problem
  5631. * Copyright: Updated format
  5632. * GridItemType.cs: Fixed swapped values
  5633. 2005-02-15 Jackson Harper <[email protected]>
  5634. * BaseCollection.cs: Use property so we never access an
  5635. uninitialized list. Also initialize the list in the property.
  5636. 2005-02-15 Peter Bartok <[email protected]>
  5637. * GroupBox.cs (ProcessMnemonic): Implemented
  5638. * Label.cs (ProcessMnemonic): Implemented
  5639. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  5640. hotkeys
  5641. 2005-02-15 Peter Bartok <[email protected]>
  5642. * RadioButton.cs (ProcessMnemonic): Implemented
  5643. * CheckBox.cs (ProcessMnemonic): Implemented
  5644. * Control.cs:
  5645. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  5646. handling
  5647. - Added internal method to allow calling ProcessMnemonic from other
  5648. controls
  5649. * ContainerControl.cs:
  5650. - Started support for handling validation chain handling
  5651. - Implemented ProcessMnemonic support
  5652. - Added Select() call to Active, to make sure the active control
  5653. receives focus
  5654. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  5655. FormParent rewrite)
  5656. * ThemeWin32Classic.cs:
  5657. - DrawCheckBox(): Fixed stringformat to show hotkeys
  5658. - DrawRadioButton(): Fixed stringformat to show hotkeys
  5659. * CommonDialog.cs: Removed WndProc override, not needed
  5660. 2005-02-14 Peter Bartok <[email protected]>
  5661. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  5662. missed those in the rewrite
  5663. 2005-02-14 Miguel de Icaza <[email protected]>
  5664. * NumericUpDown.cs (Increment, ToString): Add.
  5665. (DecimalPlaces): implement.
  5666. Add attributes.
  5667. * UpDownBase.cs: Add the designer attributes.
  5668. 2005-02-13 Peter Bartok <[email protected]>
  5669. * Panel.cs: Removed border_style, now in Control
  5670. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  5671. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  5672. 2005-02-13 Peter Bartok <[email protected]>
  5673. * MouseButtons.cs: Added missing attributes
  5674. * XplatUIStructs.cs: Added enumeration for title styles
  5675. * LeftRightAlignment.cs: Added missing attributes
  5676. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  5677. it compatible with Graphics.FromHwnd()
  5678. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  5679. * Keys.cs: Added missing attributes
  5680. * SelectionRange.cs: Added missing attributes
  5681. * SelectionRangeConverter.cs: Added
  5682. * XplatUI.cs:
  5683. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  5684. ReleaseMenuDC methods
  5685. - Renamed ReleaseWindow to UngrabWindow
  5686. - Added proper startup notice to allow version identification
  5687. * Form.cs:
  5688. - Added missing attributes
  5689. - Removed FormParent concept
  5690. * Label.cs: Removed border_style field, now in Control
  5691. * RadioButton.cs: Now properly selects RadioButton when focus is
  5692. received
  5693. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  5694. * Control.cs:
  5695. - Added missing attributes
  5696. - Added borderstyle handling
  5697. - Removed FormParent concept support
  5698. - Fixed calls to XplatUI to match changed APIs
  5699. - Fixed bug that would case us to use disposed Graphics objects
  5700. - Removed unneeded internal methods
  5701. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  5702. - SelectNextControl(): Fixed to properly check common parents
  5703. * TextBoxBase.cs: Removed border_style field (now in Control)
  5704. * MessageBox.cs:
  5705. - Patch by Robert Thompson ([email protected]): Added icon support,
  5706. fixed calculations for form size
  5707. - Added support for localized strings and icons
  5708. - Improved form size calculations, added border
  5709. * ListView.cs: Removed border_style field (now in Control)
  5710. * X11Structs.cs: Moved several structs from X11 driver here
  5711. * X11Keyboard.cs: Changed debug message
  5712. * Application.cs: Removed FormParent concept support
  5713. * CommonDialog.cs:
  5714. - Resetting end_modal flag
  5715. - Removed FormParent concept support
  5716. * NativeWindow.cs: Removed FormParent concept support
  5717. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  5718. Client area and Non-Client whole window to allow support for WM_NC
  5719. messages
  5720. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  5721. prevent using it until it supports Hwnd as per Geoff Norton's request
  5722. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  5723. * PictureBox.cs: Removed border_style field, now in Control
  5724. * XplatUIWin32.cs: Added new driver methods
  5725. 2005-02-12 Peter Bartok <[email protected]>
  5726. * OpacityConverter.cs: Implemented
  5727. * Hwnd.cs: Internal class to support drivers that need to emulate
  5728. client area/non-client area window behaviour
  5729. 2005-02-11 Peter Bartok <[email protected]>
  5730. * KeysConverter.cs: Implemented
  5731. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  5732. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  5733. * LinkLabel: Added missing attributes
  5734. * MainMenu.cs: fixes ToString
  5735. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  5736. * ListBox.cs: fixes event position
  5737. * TrackBar.cs: adds missing attributes and events
  5738. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  5739. * MenuItem.cs: Use SystemInformation and bug fixes
  5740. * MenuAPI.cs: Use SystemInformation and bug fixes
  5741. 2005-02-09 Jackson Harper <[email protected]>
  5742. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  5743. their keystate otherwise things like VK_MENU get stuck "on".
  5744. 2005-02-09 Kazuki Oikawa <[email protected]>
  5745. * ListBox.cs: Fixes AddRange bug
  5746. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  5747. * ProgressBar.cs
  5748. - Add missing attributes
  5749. - Add missing method
  5750. * CheckedListBox.cs: Added missing attributes
  5751. - Add missing attributes
  5752. - Remove extra method
  5753. * ComboBox.cs: Added missing attributes
  5754. * VScrollBar.cs: Added missing attributes
  5755. * ScrollBar.cs: Added missing attributes
  5756. * ListBox.cs: Fixes signature, add missing consts
  5757. * LinkArea.cs: Added missing attributes
  5758. 2005-02-08 Peter Bartok <[email protected]>
  5759. * Menu.cs: Added missing attributes
  5760. * MainMenu.cs: Added missing attributes
  5761. * GroupBox.cs: Added missing attributes
  5762. * Label.cs: Added missing attributes
  5763. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  5764. * ColorDialog.cs:
  5765. - Added Instance and Options properties
  5766. - Added missing attributes
  5767. * Cursor.cs: Made Serializable
  5768. * NotifyIcon: Added missing attributes
  5769. * MenuItem.cs: Added missing attributes
  5770. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  5771. * Panel.cs: Added Missing attributes
  5772. * MonthCalendar.cs: Fixed CreateParams
  5773. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  5774. * LinkLabel.cs:
  5775. - Fixes signature
  5776. - Fixes issues with links
  5777. - Adds the class attributes
  5778. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  5779. * ComboBox.cs:
  5780. - Fixes button when no items available in dropdown
  5781. - Fixes repainting problems
  5782. - Adds the class attributes
  5783. 2005-02-07 Geoff Norton <[email protected]>
  5784. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  5785. the current theme. Cache these on startup.
  5786. 2005-02-07 Jackson Harper <[email protected]>
  5787. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  5788. the scrollbar buttons when they are depressed.
  5789. 2005-02-07 Geoff Norton <[email protected]>
  5790. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  5791. Get the display size from the main displayid. We currently dont
  5792. support multiple display configurations.
  5793. 2005-02-07 Geoff Norton <[email protected]>
  5794. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  5795. 2005-02-07 Miguel de Icaza <[email protected]>
  5796. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  5797. 2005-02-05 Jonathan Chambers <[email protected]>
  5798. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  5799. 2005-02-04 Jackson Harper <[email protected]>
  5800. * ThemeWin32Classic.cs: Respect the clipping rect when
  5801. drawing. Only fill the intersection of clips and rects so there
  5802. isn't a lot of large fills.
  5803. * ScrollBar.cs: Pass the correct clipping rect to the theme
  5804. engine. Remove some debug code.
  5805. 2005-02-05 John BouAntoun <[email protected]>
  5806. * DateTimePicker.cs:
  5807. - Fixed crash on DateTime.Parse, use Constructor instead
  5808. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  5809. * MenuItem.cs:
  5810. * MenuAPI.cs:
  5811. - Owner draw support (MeasureItem and DrawItem)
  5812. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  5813. * Menu.cs:
  5814. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  5815. - Fixes MenuItems.Add range
  5816. * MenuItem.cs:
  5817. - MergeMenu and Clone and CloneMenu functions
  5818. 2005-02-03 Jackson Harper <[email protected]>
  5819. * ScrollBar.cs: Make abstract
  5820. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  5821. is abstract.
  5822. 2005-02-03 Jackson Harper <[email protected]>
  5823. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  5824. all the unneeded refreshes and uses invalidates with properly
  5825. computed rects.
  5826. 2005-02-03 Peter Bartok <[email protected]>
  5827. * ComponentModel.cs: Added
  5828. * IDataGridEditingService.cs: Added
  5829. * Timer.cs: Added missing attributes
  5830. * ToolTip.cs: Added missing attributes
  5831. 2005-02-03 Jonathan Chambers <[email protected]>
  5832. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  5833. 2005-02-03 Peter Bartok <[email protected]>
  5834. * ListBox.cs: Added missing attributes
  5835. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  5836. * ListBox.cs:
  5837. - Fixes font height after font change
  5838. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  5839. 2005-02-02 Peter Bartok <[email protected]>
  5840. * HandleData.cs: Introduced static methods to allow class
  5841. to be more self-contained and track it's own HandleData objects
  5842. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  5843. HandleData to use new static methods
  5844. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  5845. * Combobox.cs:
  5846. - Fixes default size and PreferredHeight
  5847. - Missing events
  5848. - ObjectCollection.Insert implementation
  5849. * ListControl.cs
  5850. - Fixes signature
  5851. * ListBox.cs:
  5852. - Several fixes
  5853. - ObjectCollection.Insert implementation
  5854. - No selection after clean
  5855. - Small fixes
  5856. 2005-01-31 John BouAntoun <[email protected]>
  5857. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  5858. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  5859. * Combobox.cs:
  5860. - Caches ItemHeight calculation for OwnerDrawVariable
  5861. - Handles dropdown properly
  5862. - Fixes several minor bugs
  5863. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  5864. * ListBox.cs:
  5865. - Fixes 71946 and 71950
  5866. - Fixes changing Multicolumn on the fly
  5867. - Fixes keyboard navigation on Multicolumn listboxes
  5868. 2005-01-31 Geoff Norton <[email protected]>
  5869. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  5870. crash reporter log.
  5871. 2005-01-31 Geoff Norton <[email protected]>
  5872. * XplatUIOSX.cs: Allow applications to actually exit.
  5873. 2005-01-31 Geoff Norton <[email protected]>
  5874. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  5875. their parent at creation time rather than lazily later. Fixes a major
  5876. regression we were experiencing.
  5877. 2005-01-31 John BouAntoun <[email protected]>
  5878. * ThemeWin32Classic.cs: more date time picker painting fixes
  5879. * DateTimePicker.cs: more monthcalendar drop down fixes
  5880. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  5881. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  5882. * ScrollBar.cs:
  5883. - When moving the thumb going outside the control should stop the moving
  5884. - Adds the firing of missing events
  5885. - Fixes no button show if Size is not specified
  5886. - End / Home keys for keyboard navigation
  5887. 2005-01-30 Peter Bartok <[email protected]>
  5888. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  5889. sanity check to prevent theoretical loop
  5890. * XplatUIWin32.cs (SetVisible): Removed debug output
  5891. * XplatUIX11.cs (SystrayChange): Added sanity check
  5892. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  5893. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  5894. behaviour, valid until the X11 client window rewrite is done
  5895. * TextBox.cs (ctor): Setting proper default foreground and background
  5896. colors
  5897. 2005-01-30 John BouAntoun <[email protected]>
  5898. * Theme: Added DrawDateTimePicker to interface
  5899. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  5900. * DateTimePicker.cs: Created (still needs keys and painting code)
  5901. * DateTimePickerFormat.cs: added
  5902. * MonthCalendar.cs: fixed CreateParams for popup window mode
  5903. 2005-01-29 Peter Bartok <[email protected]>
  5904. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  5905. this should also the calculations for ligher/darker
  5906. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  5907. 2005-01-29 Peter Bartok <[email protected]>
  5908. * ArrangeDirection.cs: Added
  5909. * ArrangeStartingPositon.cs: Added
  5910. * SystemInformation.cs: Implemented
  5911. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  5912. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  5913. used by SystemInformation class
  5914. * X11Strucs.cs: Added XSizeHints structure
  5915. * MenuAPI.cs:
  5916. - Fixed CreateParams to make sure the menu window is always visible
  5917. - TrackPopupMenu: Added check to make sure we don't draw the
  5918. menu offscreen
  5919. 2005-01-29 Peter Bartok <[email protected]>
  5920. * HandleData.cs: Added method for altering invalid area
  5921. * TextBoxBase.cs: Implemented TextLength
  5922. 2005-01-28 Peter Bartok <[email protected]>
  5923. * XplatUIX11.cs: Improvement over last patch, not sending
  5924. the WM_PAINT directly anymore, instead we scroll any pending
  5925. exposed areas and let the system pick out the WM_PAINT later
  5926. 2005-01-28 Peter Bartok <[email protected]>
  5927. * SWF.csproj: Deleted, no longer used. Instead,
  5928. Managed.Windows.Forms/SWF.csproj should be used
  5929. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  5930. directly, to avoid a potential race condition with the next
  5931. scroll
  5932. 2005-01-28 Peter Bartok <[email protected]>
  5933. * XplatUI.cs: Made class internal
  5934. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  5935. * CheckedListBox.cs:
  5936. - Draw focus
  5937. - Fixed Drawing
  5938. - Missing methods and events
  5939. 2005-01-27 Peter Bartok <[email protected]>
  5940. * Application.cs (Run): Don't use form if we don't have one
  5941. 2005-01-27 Peter Bartok <[email protected]>
  5942. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  5943. 2005-01-27 Peter Bartok <[email protected]>
  5944. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  5945. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  5946. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  5947. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  5948. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  5949. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  5950. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  5951. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  5952. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  5953. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  5954. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  5955. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  5956. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  5957. * Combobox.cs:
  5958. - Draw focus on Simple Combobox
  5959. - Fixes drawing issues
  5960. - fixes 71834
  5961. 2005-01-27 Peter Bartok <[email protected]>
  5962. * Form.cs:
  5963. - Place window in default location, instead of hardcoded 0/0
  5964. - Send initial LocationChanged event
  5965. * Control.cs:
  5966. - UpdateBounds after creation to find out where the WM placed us
  5967. - Make sure that if the ParentForm changes location the Form
  5968. is notified
  5969. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  5970. to the root, but to whatever the WM placed around us.
  5971. Translate to root coordinates before returning toplevel
  5972. coordinates
  5973. * XplatUIWin32.cs: Removed debug output
  5974. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  5975. flag to GetWindowPos, to allow translation of coordinates on X11
  5976. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  5977. * ListBox.cs: connect LostFocus Event
  5978. 2005-01-27 Peter Bartok <[email protected]>
  5979. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  5980. XplatUIX11.cs: Extended the Systray API
  5981. * Form.cs: Removed debug output
  5982. * Application.cs: Fixed focus assignment, always need to call
  5983. XplatUI.Activate() since Form.Activate() has rules that may
  5984. prevent activation
  5985. * NotifyIcon.cs: Should be complete now
  5986. * ToolTip.cs: Worked around possible timer bug
  5987. 2005-01-27 Jackson Harper <[email protected]>
  5988. * TabControl.cs:
  5989. - Only invalidate the effected tabs when the
  5990. selected index changes. This reduces drawing and gets rid of some
  5991. flicker.
  5992. - Only refresh if the tabs need to be shifted, otherwise only
  5993. invalidate the slider button.
  5994. - On windows the tabs are not filled to right if the slider is
  5995. visible.
  5996. 2005-01-27 Jackson Harper <[email protected]>
  5997. * TabControl.cs: Only refresh on mouseup if we are showing the
  5998. slider. Also only invalidate the button whose state has changed.
  5999. 2005-01-26 Peter Bartok <[email protected]>
  6000. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  6001. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  6002. and SystrayRemove() methods
  6003. * XplatUIOSX.cs: Stubbed Systray methods
  6004. * XplatUIX11.cs:
  6005. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  6006. methods
  6007. - Fixed broken XChangeProperty calls (marshalling messed up things)
  6008. * X11Structs.cs: Added enums and structs required for Size hinting
  6009. * NotifyIcon.cs: Added & implemented
  6010. 2005-01-26 Jackson Harper <[email protected]>
  6011. * TabControl.cs: Space vertically layed out tabs properly.
  6012. 2005-01-26 Peter Bartok <[email protected]>
  6013. * Form.cs (CreateClientParams): Always set the location to 0,0
  6014. since we're a child window.
  6015. * Control.cs (SetVisibleCore): Always explicitly setting the location
  6016. of a toplevel window, apparently X11 doesn't like to move windows
  6017. while they're not mapped.
  6018. 2005-01-26 Jackson Harper <[email protected]>
  6019. * TabControl.cs: Implement FillToRight size mode with vertically
  6020. rendered tabs.
  6021. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  6022. * ControlPaint.cs, ThemeWin32Classic.cs
  6023. - Fixes DrawFocusRectangle
  6024. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  6025. * MenuAPI.cs:
  6026. - MenuBar tracking only starts when item is first clicked
  6027. - Fixes menu hidding for multiple subitems
  6028. - Unselect item in MenuBar when item Executed
  6029. - Fixes bug 71495
  6030. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  6031. * ListControl.cs:
  6032. - IsInputKey for ListBox
  6033. * ListBox.cs:
  6034. - Focus item
  6035. - Shift and Control item selection
  6036. - Implement SelectionMode.MultiExtended
  6037. - Fixes RightToLeft
  6038. * ComboBox.cs:
  6039. - IsInputKey implemented
  6040. - Do not generate OnTextChangedEdit on internal txt changes
  6041. 2005-01-23 Peter Bartok <[email protected]>
  6042. * AccessibleObject.cs: Partially implemented Select()
  6043. * MonthCalendar.cs: Added missing attributes and events
  6044. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  6045. form can properly override CreateParams.
  6046. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  6047. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  6048. Control performs Invalidate & Update
  6049. * NativeWindow (CreateHandle): Added special handling for Form
  6050. and Form.FormParent classes to allow overriding of From.CreateParams
  6051. * Control.cs:
  6052. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  6053. name 'owner'
  6054. - ControlNativeWindow: Added Owner property
  6055. - Removed usage of Refresh() on property changes, changed into
  6056. Invalidate(), we need to wait until the queue is processed for
  6057. updates, direct calls might cause problems if not all vars for
  6058. Paint are initialized
  6059. - Added call to UpdateStyles() when creating the window, to set any
  6060. styles that CreateWindow might have ignored.
  6061. - Added support for Form CreateParent overrides to UpdateStyles()
  6062. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  6063. CreateParams are now properly overridable
  6064. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  6065. CreateParams are now properly overridable
  6066. 2005-01-23 Miguel de Icaza <[email protected]>
  6067. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  6068. OnTextBoxChanged.
  6069. Capture LostFocus and OnTextBoxChanged. The later introduces a
  6070. recursive invocation that I have not figured out yet.
  6071. Reset the timer when not using (it was accumulating).
  6072. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  6073. user has made changes that require validation.
  6074. Reset changing to avoid loops.
  6075. 2005-01-22 Miguel de Icaza <[email protected]>
  6076. * NumericUpDown.cs: Display value at startup.
  6077. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  6078. ValidateEditText.
  6079. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  6080. filled in. Added some basic parsing of text.
  6081. Still missing the OnXXX method overrides, and figuring out the
  6082. events that must be emitted.
  6083. * UpDownBase.cs: Handle UserEdit on the Text property.
  6084. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  6085. * ComboBox.cs:
  6086. - Fixes IntegralHeight
  6087. - ToString method
  6088. 2005-01-21 Jackson Harper <[email protected]>
  6089. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  6090. is set so that the page visibility is updated and the tabs are
  6091. sized correctly.
  6092. 2005-01-21 Jackson Harper <[email protected]>
  6093. * TabControl.cs: Use cliping rectangle for blitting. Give the
  6094. theme the clipping rect so we can do clipping while
  6095. drawing. Remove some debug code.
  6096. 2005-01-21 Jackson Harper <[email protected]>
  6097. * TabPage.cs: Add a new method so tab pages can force the tab
  6098. control to recalculate the tab page sizes.
  6099. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  6100. sizes.
  6101. 2005-01-20 Jackson Harper <[email protected]>
  6102. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  6103. 2005-01-20 Jackson Harper <[email protected]>
  6104. * TreeView.cs: Set the bounds for nodes properly. They were
  6105. getting screwed up when checkboxes were not enabled, but images
  6106. were.
  6107. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  6108. * ListBox.cs:
  6109. - Owner draw support
  6110. - Fixes
  6111. 2005-01-20 Jackson Harper <[email protected]>
  6112. * XplatUIStructs.cs: More misc keys
  6113. * X11Keyboard.cs: Ignore some control keys.
  6114. 2005-01-20 Jackson Harper <[email protected]>
  6115. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  6116. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  6117. 2005-01-19 Peter Bartok <[email protected]>
  6118. * Control.cs: Un-selecting the control when it is loosing focus
  6119. 2005-01-19 Jackson Harper <[email protected]>
  6120. * TreeView.cs: Hook up to the text controls leave event so we can
  6121. end editing when the users clicks outside the text box.
  6122. 2005-01-19 Jackson Harper <[email protected]>
  6123. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  6124. get set in the conversion array.
  6125. 2005-01-19 Peter Bartok <[email protected]>
  6126. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  6127. focus is properly set
  6128. * Button.cs:
  6129. - Added missing attributes
  6130. - removed styles, those are already set in the base class
  6131. * ButtonBase.cs:
  6132. - Added missing attributes
  6133. - Added clip window styles
  6134. * CheckBox.cs: Added missing attributes
  6135. * CommonDialog.cs:
  6136. - FormParentWindow.CreateParams: Added required clip styles
  6137. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  6138. also filters modifier keys
  6139. * MessageBox.cs:
  6140. - Added assignment of Accept and Cancel button to enable Enter
  6141. and Esc keys in MessageBox dialogs
  6142. - FormParentWindow.CreateParams: Added required clip styles
  6143. * RadioButton.cs: Added missing attributes
  6144. * TextControl.cs: No longer draws selection if control does not
  6145. have focus
  6146. * TextBoxBase.cs:
  6147. - Now draws simple rectangle around test area to make it obvious
  6148. there's a control. This is a hack until we properly support borders
  6149. - A few simple fixes to support selections better, now erases selected
  6150. text when typing, and resets selection when using movement keys
  6151. 2005-01-19 Miguel de Icaza <[email protected]>
  6152. * UpDownBase.cs: Added some new properties.
  6153. * DomainUpDown.cs: Implement a lot to get my test working.
  6154. 2005-01-19 Geoff Norton <[email protected]>
  6155. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  6156. 2005-01-19 Geoff Norton <[email protected]>
  6157. * OSXStructs (WindowAttributes): Fixed csc complaints
  6158. 2005-01-19 Geoff Norton <[email protected]>
  6159. * XplayUIOSX.cs:
  6160. OSXStructs.cs: Initial refactor to move enums and consts into
  6161. OSXStructs and use them in the driver for greater readability.
  6162. 2005-01-19 Geoff Norton <[email protected]>
  6163. * XplatUIOSX.cs: Initial support for Standard Cursors.
  6164. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  6165. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  6166. * ComboBox.cs: ability to change style when the ctrl is already
  6167. created, missing methods and events, bug fixes, signature fixes
  6168. 2005-01-19 Peter Bartok <[email protected]>
  6169. * Cursors.cs (ctor): Added ctor to fix signature
  6170. 2005-01-18 Peter Bartok <[email protected]>
  6171. * Button.cs: Implemented DoubleClick event
  6172. * ButtonBase.cs:
  6173. - Fixed keyboard handling to behave like MS, where the press of
  6174. Spacebar is equivalent to a mousedown, and the key release is
  6175. equivalent to mouseup. Now a spacebar push will give the same
  6176. visual feedback like a mouse click.
  6177. - Added missing attributes
  6178. - Added ImeModeChanged event
  6179. - Added support for generating DoubleClick event for derived classes
  6180. * CheckBox.cs:
  6181. - Implemented DoubleClick event
  6182. - Added missing attributes
  6183. * CommonDialog.cs: Added missing attribute
  6184. * ContextMenu.cs: Added missing attributes
  6185. * RadioButton.cs:
  6186. - AutoChecked buttons do not allow to be unselected when clicked
  6187. (otherwise we might end up with no selected buttons in a group)
  6188. - Added missing attributes
  6189. - Implemented DoubleClickEvent
  6190. * ThreadExceptionDialog.cs: Enabled TextBox code
  6191. 2005-01-18 Peter Bartok <[email protected]>
  6192. * Form.cs: Removed debug output
  6193. * Button.cs: Added support for DoubleClick method
  6194. 2005-01-18 Peter Bartok <[email protected]>
  6195. * Form.cs:
  6196. - Added method to parent window that allows triggering size
  6197. calculations when a menu is added/removed
  6198. - set_Menu: Cleaned up mess from early days of Form and Control,
  6199. now properly triggers a recalc when a menu is added/removed
  6200. - Added case to select form itself as focused form if no child
  6201. controls exist
  6202. - Added PerformLayout call when showing dialog, to ensure properly
  6203. placed controls
  6204. * Control.cs:
  6205. - Select(): Made internal so Form can access it
  6206. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  6207. status
  6208. * Application.cs (Run): Removed hack and calls PerformLayout instead
  6209. to trigger calculation when Form becomes visible
  6210. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  6211. * ComboBox.cs: fixes for ownerdraw
  6212. 2005-01-18 Peter Bartok <[email protected]>
  6213. * TextControl.cs:
  6214. - Sentinel is no longer static, each Document gets it's own, this
  6215. avoids locking or alternatively overwrite problems when more
  6216. than one text control is used simultaneously.
  6217. - Switched to use Hilight and HilightText brushes for text selection
  6218. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  6219. 2005-01-18 Peter Bartok <[email protected]>
  6220. * Control.cs:
  6221. - Hooked up the following events:
  6222. o ControlAdded
  6223. o ControlRemoved
  6224. o HandleDestroyed
  6225. o ImeModeChanged
  6226. o ParentChanged
  6227. o TabStopChanged
  6228. o Invalidated
  6229. o SystemColorsChanged
  6230. o ParentFontChanged
  6231. o Move
  6232. - Removed debug output
  6233. - Added a call to the current theme's ResetDefaults when a color change
  6234. is detected
  6235. * Form.cs: Now setting the proper ImeMode
  6236. * Theme.cs: Defined a method to force recreation of cached resources
  6237. and rereading of system defaults (ResetDefaults())
  6238. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  6239. 2005-01-17 Peter Bartok <[email protected]>
  6240. * Control.cs: Added missing attributes
  6241. 2005-01-17 Jackson Harper <[email protected]>
  6242. * TreeNode.cs: Implement editing. Add missing properties selected
  6243. and visible.
  6244. * TreeView.cs: Implement node editing. Also some fixes to use
  6245. Invalidate (invalid area) instead of Refresh when selecting.
  6246. 2005-01-17 Peter Bartok <[email protected]>
  6247. * Control.cs:
  6248. - Implemented InvokeGotFocus() method
  6249. - Implemented InvokeLostFocus() method
  6250. - Implemented InvokePaint() method
  6251. - Implemented InvokePaintBackground() method
  6252. - Implemented InvokeClick() method
  6253. - Implemented FindForm() method
  6254. - Implemented RectangleToClient() method
  6255. - Implemented ClientToRectangle() method
  6256. - Implemented ResetBackColor() method
  6257. - Implemented ResetCursor() method
  6258. - Implemented ResetFont() method
  6259. - Implemented ResteForeColor() method
  6260. - Implemented ResetImeMode() method
  6261. - Implemented ResetLeftToRight() method
  6262. - Implemented ResetText() method
  6263. - Implemented Scale() methods
  6264. - Implemented ScaleCore() method
  6265. - Implemented Update() method
  6266. - Removed unused variables
  6267. - Stubbed AccessibilityNotifyClients and
  6268. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  6269. with those yet)
  6270. - Now setting proper default for RightToLeft property
  6271. - Fixed bug in SetClientSizeCore that would cause windows to get
  6272. really big
  6273. - Now sending Click/DoubleClick events
  6274. - Now selecting controls when left mouse button is clicked on
  6275. selectable control
  6276. * AccessibleEvents.cs: Added
  6277. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  6278. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  6279. * XplatUIWin32.cs: Implemented UpdateWindow() method
  6280. * XplatUIX11.cs: Implemented UpdateWindow() method
  6281. * Form.cs: Removed stray semicolon causing CS0162 warning
  6282. * ThemeWin32Classic.cs: Fixed unused variable warnings
  6283. * ScrollableControl.cs: Now calls base method for ScaleCore
  6284. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  6285. style to avoid interference with internal click handler (which is
  6286. different than standard Control click handling)
  6287. * RadioButton.cs:
  6288. - Now unchecks all sibling radio buttons when control is
  6289. selected (Fixes #68756)
  6290. - Removed internal tabstop variable, using the one inherited from
  6291. Control
  6292. 2005-01-17 Jackson Harper <[email protected]>
  6293. * NavigateEventArgs.cs: Fix base type.
  6294. * LinkLabel.cs: Sig fix
  6295. 2005-01-17 Jackson Harper <[email protected]>
  6296. * TreeView.cs: Only invalidate the effected nodes bounds when
  6297. selecting nodes.
  6298. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  6299. * XplatUIWin32.cs: fixes Win32 marshaling
  6300. * XplatUIX11.cs: fixes method signature
  6301. 2005-01-17 Peter Bartok <[email protected]>
  6302. * XplatUIX11.cs: Clean up resources when we no longer need them
  6303. 2005-01-17 Peter Bartok <[email protected]>
  6304. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  6305. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  6306. and DestroyCursor() methods.
  6307. * Cursor.cs: Partially implemented, now supports standard cursors;
  6308. still contains some debug code
  6309. * Cursors.cs: Implemented class
  6310. * Control.cs:
  6311. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  6312. appropriate cursor
  6313. - Implemented Cursor property
  6314. - Replaced break; with return; more straightforwar and possibly
  6315. faster
  6316. - Now properly setting the result for WM_HELP
  6317. * X11Structs.cs: Added CursorFontShape enum
  6318. * XplatUIStructs.cs:
  6319. - Added StdCursor enum (to support DefineStdCursor() method)
  6320. - Added HitTest enum (to support sending WM_SETCURSOR message)
  6321. * XplatUIX11.cs:
  6322. - Now sends the WM_SETCURSOR message
  6323. - Implemented new cursor methods
  6324. * XplatUIOSX.cs: Stubbed new cursor methods
  6325. * XplatUIWin32.cs:
  6326. - Implemented new cursor methods
  6327. - Added GetSystemMetrics function and associated enumeration
  6328. 2005-01-15 Peter Bartok <[email protected]>
  6329. * Control.cs:
  6330. - WndProc(): Now handles EnableNotifyMessage
  6331. - SelectNextControl(): Fixed bug where if no child or sibling
  6332. controls exist we looped endlessly
  6333. 2005-01-14 Jackson Harper <[email protected]>
  6334. * TreeView.cs: Recalculate the tab pages when a new one is added
  6335. so that the proper bounding rects are created.
  6336. 2005-01-14 Jackson Harper <[email protected]>
  6337. * TreeView.cs: Draw a gray box instead of a grip in the lower
  6338. right hand corner when there are both horizontal and vertical
  6339. scroll bars.
  6340. 2005-01-14 Jackson Harper <[email protected]>
  6341. * Control.cs: When erasing backgrounds use FromHwnd instead of
  6342. FromHdc when there is a NULL wparam. This occurs on the X driver.
  6343. * XplatUIX11.cs: Set the wparam to NULL.
  6344. 2005-01-13 Jackson Harper <[email protected]>
  6345. * PictureBox.cs: Implement missing methods (except ToString, need
  6346. to test that on windows) and events. When visibility is changed we
  6347. need to redraw the image because the buffers are killed. When size
  6348. is changed refresh if the sizemode needs it.
  6349. 2005-01-13 Peter Bartok <[email protected]>
  6350. * Control.cs (SelectNextControl): Was using wrong method to select
  6351. a control
  6352. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  6353. * ComboBox.cs: fixes dropstyle
  6354. 2005-01-13 Peter Bartok <[email protected]>
  6355. * Form.cs:
  6356. - Implemented Select() override
  6357. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  6358. - Now sets keyboard focus on startup
  6359. * Control.cs (SelectNextControl): Now properly handles directed=true
  6360. * TextBoxBase.cs:
  6361. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  6362. - Added (really bad) focus rectangle (mostly for testing)
  6363. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  6364. to enforce redraw on focus changes
  6365. * ContainerControl.cs:
  6366. - Fixed detection of Shift-Tab key presses
  6367. - Fixed traversal with arrow keys
  6368. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  6369. gonna keep this or if it's complete yet
  6370. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  6371. * ComboBox.cs: missing properties, fixes
  6372. 2005-01-13 Peter Bartok <[email protected]>
  6373. * Panel.cs (ctor): Setting Selectable window style to off
  6374. * Splitter.cs (ctor): Setting Selectable window style to off
  6375. * GroupBox.cs (ctor): Setting Selectable window style to off
  6376. * Label.cs (ctor): Setting Selectable window style to off
  6377. 2005-01-12 Miguel de Icaza <[email protected]>
  6378. * UpDownBase.cs (InitTimer): If the timer has been already
  6379. created, enable it.
  6380. Use a TextBox instead of a Label.
  6381. 2005-01-12 Jackson Harper <[email protected]>
  6382. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  6383. draw the connecting node lines (when ShowLines is true).
  6384. * TreeNode.cs: The nodes index can now be updated. This is used
  6385. when a node collection is sorted.
  6386. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  6387. insert or an existing unsorted node collection can be sorted.
  6388. 2005-01-12 Peter Bartok <[email protected]>
  6389. * ContainerControl.cs: Implemented ProcessDialogKeys()
  6390. 2005-01-12 Peter Bartok <[email protected]>
  6391. * Control.cs:
  6392. - Implemented SelectNextControl() method
  6393. - Several focus related bug fixes
  6394. - Fixed Docking calculations to match MS documentation and
  6395. behaviour
  6396. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  6397. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  6398. bug fixes
  6399. 2005-01-12 Peter Bartok <[email protected]>
  6400. * Control.cs:
  6401. - Fixed broken Contains() method
  6402. - Implemented GetNextControl() method. Finally. This is the pre-
  6403. requisite for focus handling.
  6404. 2005-01-12 Peter Bartok <[email protected]>
  6405. * OSXStrucs.cs: Added
  6406. 2005-01-12 Peter Bartok <[email protected]>
  6407. * XplatUIWin32.cs:
  6408. - Removed PeekMessageFlags
  6409. - Implemented SetWindowStyle() method
  6410. * XplatUIStructs.cs: Added PeekMessageFlags
  6411. * X11Structs: Added missing border_width field to XWindowChanges struct
  6412. * XplatUIX11.cs:
  6413. - PeekMessage: Now throws exception if flags which are not yet
  6414. supported are passed
  6415. - Implemented SetWindowStyle() method
  6416. - Fixed SetZOrder to handle AfterHwnd properly
  6417. * XplatUI.cs: Added SetWindowStyle() method
  6418. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  6419. * Control.cs:
  6420. - Implemented UpdateStyles() method
  6421. - Implemented UpdateZOrder() method
  6422. * XplatUIOSX.cs: Added SetWindowStyle() stub
  6423. 2005-01-12 Geoff Norton <[email protected]>
  6424. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  6425. button mouse).
  6426. 2005-01-11 Jackson Harper <[email protected]>
  6427. * TreeView.cs: Still need to draw lines to siblings even if out of
  6428. the current node is out of the clip.
  6429. 2005-01-11 Jackson Harper <[email protected]>
  6430. * TreeView.cs: When setting the hbar/vbar/grip position use
  6431. SetBounds so that perform layout is only called once. Also suspend
  6432. and resume layout so layout is only done once for all controls.
  6433. - Removed some debug fluff
  6434. * SizeGrip.cs: Call base implmentation in overriding methods.
  6435. - When visibility is changed the drawing buffers are killed so we
  6436. need to redraw.
  6437. 2005-01-11 Jackson Harper <[email protected]>
  6438. * TreeView.cs: Calculate the open node count while drawing. This
  6439. saves us an entire tree traversal for every paint operation. Use
  6440. a member var for the open node count so less vars are passed around.
  6441. 2005-01-11 John BouAntoun <[email protected]>
  6442. * MonthCalendar.cs:
  6443. - fixed selection to use mousemove, not mouse polling on timer
  6444. * ThemeWin32Classic.cs
  6445. - removed redundant unused variable "no_more_content"
  6446. 2005-01-11 Peter Bartok <[email protected]>
  6447. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  6448. are pending, so it now calls PeekMessage instead of GetMessage;
  6449. implemented a incomplete version of PeekMessage
  6450. 2005-01-11 Peter Bartok <[email protected]>
  6451. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  6452. I18n issues
  6453. * TextBoxBase.cs: Added sending of TextChanged event
  6454. 2005-01-10 Jackson Harper <[email protected]>
  6455. * TreeView.cs: Try not to draw outside the clipping rectangle on
  6456. each node element.
  6457. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  6458. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  6459. 2005-01-10 Jackson Harper <[email protected]>
  6460. * TreeView.cs:
  6461. - Implement fast scrolling. Now only the newly
  6462. exposed nodes are drawn and the old image is moved using the
  6463. XplatUI::ScrollWindow method.
  6464. - Factor in height of nodes when calculating whether or not the
  6465. node is in the clipping rect.
  6466. 2005-01-10 Jackson Harper <[email protected]>
  6467. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  6468. 2005-01-10 Peter Bartok <[email protected]>
  6469. * Application.cs: Added temporary hack to resolve all our resize
  6470. required issues on startup. This will get fixed properly at
  6471. some point in the future
  6472. 2005-01-10 Jackson Harper <[email protected]>
  6473. * SizeGrip.cs: New internal class that is used as a sizing
  6474. grip control...hence the name.
  6475. 2005-01-10 Peter Bartok <[email protected]>
  6476. * Control.cs: Implemented proper TabIndex handling, now assigning
  6477. a tabindex when a control is added to a container
  6478. * GroupBox.cs (ctor): Now sets the Container style bit, required
  6479. for Control.GetNextControl()
  6480. 2005-01-09 Jackson Harper <[email protected]>
  6481. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  6482. 2005-01-09 Peter Bartok <[email protected]>
  6483. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  6484. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  6485. an overload for ScrollWindow to allow only scrolling a rectangle
  6486. 2005-01-09 Peter Bartok <[email protected]>
  6487. * Form.cs:
  6488. - Implemented SetDesktopBounds method
  6489. - Implemented SetDesktopLocation method
  6490. 2005-01-08 Jackson Harper <[email protected]>
  6491. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  6492. the node count has changed, this removes to VScroll::Refresh calls
  6493. when drawing.
  6494. 2005-01-08 Geoff Norton <[email protected]>
  6495. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  6496. 2005-01-07 Jackson Harper <[email protected]>
  6497. * TreeNode.cs: Just update the single node when it is
  6498. checked. Don't refresh after toggling, the Expand/Collapse already
  6499. handles this.
  6500. * TreeView.cs: Respect clipping a little more when drawing. Try
  6501. not to redraw things that don't need to be redrawn. Just hide the
  6502. scrollbars when they are no longer needed instead of removing
  6503. them, so they don't have to be created again and again.
  6504. 2005-01-07 Geoff Norton <[email protected]>
  6505. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  6506. coordinates to window space to place the caret properly, FIXED.
  6507. Implement GetWindowState & SetWindowState
  6508. 2005-01-06 Peter Bartok <[email protected]>
  6509. * Form.cs:
  6510. - Implemented ClientSize property
  6511. - Implemented DesktopBounds property
  6512. - Implemented DesktopLocation property
  6513. - Implemented IsRestrictedWindow property
  6514. - Implemented Size property
  6515. - Implemented TopLevel property
  6516. - Implemented FormWindowState property
  6517. * Control.cs:
  6518. - Implemented GetTopLevel() method
  6519. - Implemented SetTopLevel() method
  6520. * X11Structs.cs (Atom):
  6521. - Added AnyPropertyType definition
  6522. - Added MapState definiton and updated XWindowAttribute struct
  6523. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  6524. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  6525. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  6526. * XplatUIWin32.cs:
  6527. - Implemented GetWindowState() and SetWindowState() methods
  6528. - Fixed Win32GetWindowLong return type
  6529. * XplatUIX11.cs:
  6530. - Introduced central function for sending NET_WM messages
  6531. - Implemented GetWindowState() and SetWindowState() methods
  6532. * TextBoxBase.cs (set_Lines):
  6533. - Now uses Foreground color for text added via Text property (Duh!)
  6534. - Added code to remember programmatically requested size (fixes
  6535. behaviour when Multiline is set after Size)
  6536. - Added AutoSize logic
  6537. 2005-01-06 Jackson Harper <[email protected]>
  6538. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  6539. 2005-01-06 Jackson Harper <[email protected]>
  6540. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  6541. set to less then 0.
  6542. 2005-01-06 Jackson Harper <[email protected]>
  6543. * ScrollableControl.cs: Lazy init the scrollbars.
  6544. 2005-01-06 Jackson Harper <[email protected]>
  6545. * Theme.cs: Speed up getting pens and solid brushes, by using
  6546. their ARGB as a hash instead of tostring and not calling Contains.
  6547. 2005-01-06 Peter Bartok <[email protected]>
  6548. * Form.cs:
  6549. - Implemented OnActivated and OnDeactivate event trigger
  6550. - Implemented Activate() method
  6551. - Fixed ShowDialog() to activate the form that was active before
  6552. the dialog was shown
  6553. * XplatUIX11.cs:
  6554. - Added global active_window var that tracks the currently active
  6555. X11 window
  6556. - Now always grabs Property changes from the root window to always
  6557. catch changes on the active window property
  6558. - Added code to PropertyNotify handler to send Active/Inactive
  6559. messages when state changes. This puts X11 and Win32 en par on
  6560. WM_ACTIVATE notifications (except for double notifications when
  6561. the user clicks away from our modal window to another one of our
  6562. windows)
  6563. 2005-01-05 Jackson Harper <[email protected]>
  6564. * ImageList.cs: Implment ctor
  6565. 2005-01-05 Geoff Norton <[email protected]>
  6566. * XplatUIOSX.cs: Implement Activate/SetTopmost
  6567. 2005-01-05 Geoff Norton <[email protected]>
  6568. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  6569. 2005-01-05 Geoff Norton <[email protected]>
  6570. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  6571. 2005-01-05 Peter Bartok <[email protected]>
  6572. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  6573. XplatUIOSX.cs: Added GetActive method to return the currently
  6574. active window for the application (or null, if none is active)
  6575. * Form.cs:
  6576. - Implemented ActiveForm
  6577. - Commented out owner assignment for modal dialogs (causes problems
  6578. on Win32, since the owner will be disabled)
  6579. - Reworked some Active/Focus handling (still incomplete)
  6580. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  6581. (causes problems on Win32, since the owner will be disabled)
  6582. * IWin32Window: Added ComVisible attribute
  6583. 2005-01-05 Peter Bartok <[email protected]>
  6584. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  6585. required XplatUI functions.
  6586. 2005-01-05 Peter Bartok <[email protected]>
  6587. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  6588. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  6589. to implement focus and activation handling; still incomplete and
  6590. with debug output
  6591. 2005-01-04 Peter Bartok <[email protected]>
  6592. * TextBoxBase.cs: Changed access level for Document property to
  6593. match switch to internal for TextControl
  6594. 2005-01-04 Peter Bartok <[email protected]>
  6595. * AccessibleObject: Added ComVisible attribute
  6596. 2005-01-04 Jackson Harper <[email protected]>
  6597. * X11Keyboard.cs: Remove unneeded var.
  6598. 2005-01-04 Jackson Harper <[email protected]>
  6599. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  6600. but PAINT.
  6601. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  6602. ClientMessage. This makes apps exit cleanly (more often).
  6603. 2005-01-04 Jackson Harper <[email protected]>
  6604. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  6605. handling focus, return correct colors and fonts,
  6606. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  6607. handle selection, horizontal scrolling, and mouse interaction.
  6608. 2005-01-04 Peter Bartok <[email protected]>
  6609. * ICommandExecutor.cs: Added
  6610. * IDataGridColumnStyleEditingNotificationService.cs: Added
  6611. * IFeatureSupport.cs: Added
  6612. * IFileReaderService.cs: Added
  6613. * IDataObject.cs: Added ComVisible attribute
  6614. * AmbientProperties.cs: Added
  6615. * BaseCollection.cs: Added missing attributes
  6616. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  6617. * BaseCollection.cs: Added missing attributes
  6618. * Binding.cs: Added TypeConverter attribute
  6619. * BindingContext.cs: Added DefaultEvent attribute
  6620. * BindingsCollection.cs: Added DefaultEvent attribute
  6621. * Button.cs: Added DefaultValue attribute
  6622. * DragEventArgs.cs: Added ComVisible attribute
  6623. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  6624. * KeyEventArgs.cs: Added ComVisible attribute
  6625. * KeyPressEventArgs.cs: Added ComVisible attribute
  6626. * MouseEventArgs.cs: Added ComVisible attribute
  6627. * NavigateEventArgs.cs: Added
  6628. * NavigateEventHandler.cs: Added
  6629. * FeatureSupport.cs: Added
  6630. * OSFeature.cs: Added
  6631. * Theme.cs: Added abstract Version property to support OSFeature
  6632. * ThemeWin32Classic.cs: Added Version property to
  6633. support OSFeature.Themes
  6634. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  6635. the proper styles to avoid background drawing are set, also doesn't
  6636. match MS signature
  6637. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  6638. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  6639. * ScrollEventArgs.cs: Added ComVisible attribute
  6640. * SplitterEventArgs.cs: Added ComVisible attribute
  6641. * AccessibleSelection.cs: Added Flags attribute
  6642. * Appearance.cs: Added ComVisible attribute
  6643. * Border3DSide.cs: Added ComVisible attribute
  6644. * Border3DStyle.cs: Added ComVisible attribute
  6645. * BorderStyle.cs: Added ComVisible attribute
  6646. * DragAction.cs: Added ComVisible attribute
  6647. * ErrorBlinkStyle.cs: Added
  6648. * ScrollEventType.cs: Added ComVisible attribute
  6649. * AnchorStyles.cs: Added Editor attribute
  6650. * DockStyle.cs: Added Editor attribute
  6651. * HorizontalAlignment.cs: Added ComVisible attribute
  6652. * HelpEventArgs.cs: Added ComVisible attribute
  6653. * PaintEventArgs.cs: Added IDisposable
  6654. 2005-01-04 Peter Bartok <[email protected]>
  6655. * TextControl.cs: Switched Line, LineTag and Document classes to
  6656. internal
  6657. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  6658. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  6659. Simple mode, fixes, IntegralHeight, etc.
  6660. 2005-01-04 Peter Bartok <[email protected]>
  6661. * TextBoxBase.cs: Using proper font variable now
  6662. 2005-01-04 Peter Bartok <[email protected]>
  6663. * Form.cs (ShowDialog): Set parent to owner, if provided
  6664. * GroupBox.cs: Removed unused vars
  6665. * TextControl.cs:
  6666. - Added GetHashCode() for Document and LineTag classes
  6667. - Removed unused variables
  6668. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  6669. to allow translation between continuous char position and line/pos
  6670. * CheckBox.cs: Removed vars that are provided by base class
  6671. * RadioButton.cs: Removed vars that are provided by base class, added
  6672. new keyword where required
  6673. * LinkLabel.cs: Added new keyword where required
  6674. * Control.cs (WndProc): Removed unused variable
  6675. * TextBoxBase.cs:
  6676. - Finished SelectionLength property
  6677. - Implemented SelectionStart property
  6678. - Implemented Text property
  6679. - Removed unused vars
  6680. * MessageBox.cs: Added new keyword where required
  6681. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  6682. WndProc signature
  6683. * MenuAPI.cs: Added new keyword where required
  6684. * ButtonBase.cs: Removed vars that are provided by base class, added
  6685. new keyword where required
  6686. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  6687. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  6688. into this)
  6689. * Application.cs (Run): Now triggers the ThreadExit event
  6690. * CommonDialog.cs: Added new keyword where required; now properly sets
  6691. parent (owner) for dialog
  6692. * XplatUIX11.cs: Commented out unused vars
  6693. * StatusBar.cs: Fixed signature for Text property
  6694. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  6695. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  6696. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  6697. TrackBar.cs, MonthCalendar.cs: remove unused vars
  6698. 2005-01-03 Jackson Harper <[email protected]>
  6699. * ThemeWin32Classic.cs:
  6700. * X11Keyboard.cs: Remove unused vars.
  6701. 2005-01-03 Peter Bartok <[email protected]>
  6702. * TextBox.cs:
  6703. - set_Text: Tied into TextControl
  6704. - set_TextAlignment: Tied into TextControl
  6705. * TextControl.cs:
  6706. - Added alignment properties and implemented alignment handling
  6707. and drawing (still has a bug, not generating proper expose events)
  6708. - Added new Line() constructor to allow passing the line alignment
  6709. - Fixed selection setting, properly handling end<start now
  6710. - Added aligment considerations to RecalculateDocument()
  6711. * TextBoxBase.cs:
  6712. - Now properly enforces control height for single line controls
  6713. - Added support for CharacterCasing
  6714. - Added IsInputKey override
  6715. - Fixed Keys.Enter logic
  6716. - Added SetBoundsCore override
  6717. - Fixed mouse selection handling
  6718. 2005-01-03 Jackson Harper <[email protected]>
  6719. * TreeView.cs:
  6720. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  6721. - Checkboxes are always aligned to the bottom of the node,
  6722. regardless of item height.
  6723. - Use the node bounds to draw the text so we can center it when
  6724. the item height is greater then the font height.
  6725. - Node::Bounds are only the text part of the node.
  6726. * TreeNode.cs: New method to combine collapsing and unchecking all
  6727. nodes recursively.
  6728. 2005-01-02 Jackson Harper <[email protected]>
  6729. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  6730. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  6731. tree when a check is changed. TODO: Only refresh the checked node.
  6732. 2004-12-30 Jackson Harper <[email protected]>
  6733. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  6734. * TreeNode.cs: When collapsing make sure to never collapse the
  6735. root node.
  6736. 2004-12-29 Jackson Harper <[email protected]>
  6737. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  6738. 2004-12-28 Zoltan Varga <[email protected]>
  6739. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  6740. 2004-12-28 Peter Bartok <[email protected]>
  6741. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  6742. not yet assigned
  6743. 2004-12-28 Peter Bartok <[email protected]>
  6744. * Control.cs (WndProc): Added WM_HELP handler, now generates
  6745. HelpRequested event
  6746. * Form.cs: Added HelpButton property and required support code
  6747. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  6748. 2004-12-28 Peter Bartok <[email protected]>
  6749. * CommonDialog.cs:
  6750. - Made DialogForm.owner variable internal
  6751. - Added check to ensure owner form is set before setting
  6752. owner properties in CreateParams
  6753. 2004-12-28 Geoff Norton <[email protected]>
  6754. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  6755. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  6756. GetCursorPos. Fix major visibility issues. Rework the windowing
  6757. system to support borderless/titleless windows (implements menus).
  6758. Fix GetWindowPos. Implement initial background color support for
  6759. views.
  6760. 2004-12-28 Peter Bartok <[email protected]>
  6761. * Form.cs (get_CreateParams): Make sure we have an owner before using
  6762. the owner variable. Implement proper default if no owner exists
  6763. 2004-12-28 Peter Bartok <[email protected]>
  6764. * In preparation for making Managed.Windows.Forms the default build target
  6765. for System.Windows.Forms, the following stubbed files were added.
  6766. Dialogs are currently being implemented by contributors and are only
  6767. short-term place holders.
  6768. * ColorDialog.cs: Initial check-in (minmal stub)
  6769. * DataGrid.cs: Initial check-in (minimal stub)
  6770. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  6771. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  6772. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  6773. * FontDialog.cs: Initial check-in (minimal stub)
  6774. * FileDialog.cs: Initial check-in (minimal stub)
  6775. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  6776. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  6777. * OpenFileDialog: Initial check-in (minimal stub)
  6778. * IComponentEditorPageSite.cs: Initial check-in
  6779. * Splitter.cs: Initial check-in (for Jackson)
  6780. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  6781. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  6782. * TextBox.cs: Initial check-in; still needs some wiring to
  6783. TextControl backend
  6784. * Form.cs: Implemented ControlBox property
  6785. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  6786. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  6787. * TextControl.cs: Added selection functionality; added todo header
  6788. * TextBoxBase.cs:
  6789. - Implemented Lines property
  6790. - Implemented TextHeight property
  6791. - Implemented SelectedText property
  6792. - Implemented SelectionLength property
  6793. - Implemented SelectAll method
  6794. - Implemented ToString method
  6795. - Removed and cleaned up some debug code
  6796. - Implemented (still buggy) mouse text selection
  6797. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  6798. * ComboBox.cs: Complete DropDownList implementation, fixes.
  6799. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  6800. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  6801. * ComboBoxStyle.cs: ComboBoxStyle enum
  6802. * ComboBox.cs: Initial work on ComboBox control
  6803. 2004-12-21 Peter Bartok <[email protected]>
  6804. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  6805. forward so that anything that creates a window gets the default,
  6806. also no longer uses Visible property in CreateParams to avoid
  6807. walking up the parent chain and possibly get the wrong visible
  6808. status. Fixed IsVisible to no longer walk up to the parent.
  6809. 2004-12-21 Peter Bartok <[email protected]>
  6810. * Form.cs (ShowDialog): Unset modality for the proper window
  6811. 2004-12-20 Peter Bartok <[email protected]>
  6812. * CommonDialog.cs: Initial check-in
  6813. 2004-12-20 Peter Bartok <[email protected]>
  6814. * Control.cs (Visible): Now uses the parent window instead of the
  6815. client area window for the property
  6816. * Form.cs
  6817. - ShowDialog(): Now uses the proper window for modality
  6818. - The default visibility state for the form parent is now false. This
  6819. will prevent the user from seeing all the changes to the form and
  6820. its controls before the application hits Application.Run()
  6821. - Removed some stale commented out code
  6822. * NativeWindow.cs:
  6823. - Added FindWindow() method to have a method to check for existence
  6824. of a window handle
  6825. - Added ability to override default exception handling (for example
  6826. when debugging with VS.Net; to do this the ExternalExceptionHandler
  6827. define must be set
  6828. - Removed some useless debug output
  6829. * XplatUIX11.cs:
  6830. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  6831. not working as expected
  6832. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  6833. property to allow switching back to the modal window if focus is
  6834. given to another one of our windows (Application Modal)
  6835. - Now only sets override_redirect if we create a window
  6836. without WS_CAPTION
  6837. - Moved EventMask selection before mapping of newly created window
  6838. so we can catch the map event as well
  6839. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  6840. - Added various Atom related DllImports
  6841. - Implemented Exit() method
  6842. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  6843. in the CreateParams
  6844. * MessageBox.cs: Now properly deals with the FormParent window by
  6845. providing an override the FormParent CreateParams property to
  6846. set as POPUP instead of OVERLAPPED window.
  6847. 2004-12-19 Geoff Norton <[email protected]>
  6848. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  6849. Minor code cleanup.
  6850. 2004-12-19 Geoff Norton <[email protected]>
  6851. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  6852. 2004-12-18 Peter Bartok <[email protected]>
  6853. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  6854. implementing SetModal() method
  6855. 2004-12-18 Peter Bartok <[email protected]>
  6856. * X11Structs.cs (XGCValues): Fixed type of function element
  6857. * XplatUI.cs: Added ScrollWindow() method
  6858. * XplatUIDriver.cs: Added ScrollWindow() abstract
  6859. * XplatUIWin32.cs: Implemented ScrollWindow() method
  6860. * XplatUIX11.cs: Implemented ScrollWindow() method
  6861. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  6862. 2004-12-17 Geoff Norton <[email protected]>
  6863. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  6864. Some more keyboard support (INCOMPLETE)
  6865. 2004-12-17 Peter Bartok <[email protected]>
  6866. * TextControl.cs:
  6867. - Added color attribute to line tags.
  6868. - Added color argument to all functions dealing with tags
  6869. - Added color argument support to various functions
  6870. - Fixed miss-calculation of baseline/shift in certain circumstances
  6871. * TextBoxBase.cs: Added new color option to test code
  6872. 2004-12-17 Jackson Harper <[email protected]>
  6873. * TreeNode.cs:
  6874. * MonthCalendar.cs: Signature fixes
  6875. 2004-12-17 Geoff Norton <[email protected]>
  6876. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  6877. keyboard event moved it. Create a new graphics context for each paint resolves this
  6878. 2004-12-17 Geoff Norton <[email protected]>
  6879. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  6880. Make caret exist and go blink blink. Initial keyboard support.
  6881. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  6882. works.
  6883. 2004-12-17 Jackson Harper <[email protected]>
  6884. * XplatUIStructs.cs: Updated set of virtual keycodes.
  6885. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  6886. 2004-12-17 Jackson Harper <[email protected]>
  6887. * XplatUIX11.cs: Prune old keyboard code.
  6888. 2004-12-17 Jackson Harper <[email protected]>
  6889. * XplatUIX11.cs: When generating mouse wparams get the modifier
  6890. keys from the ModifierKeys property.
  6891. 2004-12-17 Jackson Harper <[email protected]>
  6892. * X11Keyboard.cs: Send up/down input when generating
  6893. messages. Remove some unused vars.
  6894. 2004-12-17 Jackson Harper <[email protected]>
  6895. * TabControl.cs:
  6896. * TreeView.cs: get rid of warnings.
  6897. 2004-12-17 Jackson Harper <[email protected]>
  6898. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  6899. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  6900. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  6901. CheckedListBox.cs: Implementation
  6902. 2004-12-17 Peter Bartok <[email protected]>
  6903. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  6904. 2004-12-16 Peter Bartok <[email protected]>
  6905. * TextControl.cs:
  6906. - InsertCharAtCaret(): Fixed start pos fixup
  6907. - CaretLine_get: No longer derives the line from the tag, the tag
  6908. could be stale if lines in the document have been added or deleted
  6909. - RebalanceAfterDelete(): Fixed bug in balancing code
  6910. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  6911. - Line.Streamline(): Now can also elminate leading empty tags
  6912. - DumpTree(): Added a few more tests and prevented exception on
  6913. uninitialized data
  6914. - Added Debug section for Combining lines
  6915. - Delete(): Now copies all remaining properties of a line
  6916. * TextBoxBase.cs:
  6917. - Left mousebutton now sets the caret (and middle button still acts
  6918. as formatting tester, which must go away soon)
  6919. - Added Debug section for Deleting/Combining lines
  6920. - Fixed calculations for UpdateView after Combining lines
  6921. 2004-12-16 Peter Bartok <[email protected]>
  6922. * TextControl.cs: Now properly aligns text on a baseline, using the
  6923. new XplatUI.GetFontMetrics() method. Simplified several calculations
  6924. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  6925. defined
  6926. 2004-12-16 Peter Bartok <[email protected]>
  6927. * XplatUI.cs: Added GetFontMetrics() method
  6928. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  6929. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  6930. into libgdiplus, our private GetFontMetrics function
  6931. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  6932. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  6933. 2004-12-16 Jackson Harper <[email protected]>
  6934. * XplatUIStruct.cs: Add enum for dead keys
  6935. * X11Keyboard.cs: Map and unmap dead keys.
  6936. 2004-12-16 Jackson Harper <[email protected]>
  6937. * X11Keyboard.cs: Detect and use the num lock mask.
  6938. 2004-12-16 Peter Bartok <[email protected]>
  6939. * Control.cs (CreateGraphics): Added check to make sure the
  6940. handle of the window exists before calling Graphics.FromHwnd()
  6941. 2004-12-16 Peter Bartok <[email protected]>
  6942. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  6943. contains a lot of code that's not supposed to be there for the
  6944. real thing, but required for developing/testing the textbox
  6945. backend.
  6946. 2004-12-16 Peter Bartok <[email protected]>
  6947. * TextControl.cs:
  6948. - Fixed Streamline method
  6949. - Added FindTag method to Line
  6950. - Added DumpTree method for debugging
  6951. - Added DecrementLines() method for deleting lines
  6952. - Fixed UpdateView to update the cursor to end-of-line on single-line
  6953. updates
  6954. - Added PositionCaret() method
  6955. - Fixed MoveCaret(LineDown) to move into the last line, too
  6956. - Added InsertChar overload
  6957. - Fixed InsertChar tag offset calculations
  6958. - Added DeleteChar() method
  6959. - Added Combine() method for folding lines
  6960. - Fixed Delete() method, no longer allocates wasted Line object and
  6961. now copies all properties when swapping nodes
  6962. - Delete() method now updates document line counter
  6963. 2004-12-15 Jackson Harper <[email protected]>
  6964. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  6965. * X11Keyboard.cs: Expose the currently selected modifier keys
  6966. through a property.
  6967. 2004-12-15 Peter Bartok <[email protected]>
  6968. * TextControl.cs: Initial check-in. Still incomplete
  6969. 2004-12-15 Jackson Harper <[email protected]>
  6970. * TreeNode.cs:
  6971. * TreeView.cs: Fix build on csc (second time today ;-))
  6972. 2004-12-15 Jackson Harper <[email protected]>
  6973. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  6974. is calculated and use this for click testing.
  6975. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  6976. 2004-12-15 Jackson Harper <[email protected]>
  6977. * TreeView.cs: Pass the nodes image index to the image list when
  6978. drawing that image.
  6979. 2004-12-15 Jackson Harper <[email protected]>
  6980. * X11Keyboard.cs: Set messages hwnd.
  6981. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  6982. post_message calls.
  6983. 2004-12-15 Jackson Harper <[email protected]>
  6984. * X11Keyboard.cs: Fix to compile with csc.
  6985. 2004-12-15 Jackson Harper <[email protected]>
  6986. * X11Structs.cs: Add key mask values
  6987. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  6988. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  6989. down/up foo into WM_CHAR foo
  6990. * KeyboardLayouts.cs: Common keyboard layouts
  6991. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  6992. post messages into the main queue.
  6993. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  6994. * Button.cs: implement ProcessMnemonic
  6995. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  6996. brushes everytime
  6997. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  6998. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  6999. 2004-12-12 John BouAntoun <[email protected]>
  7000. * MonthCalendar.cs: Implemented click-hold for next/previous month
  7001. and date selection
  7002. 2004-12-11 Peter Bartok <[email protected]>
  7003. * X11Structs.cs:
  7004. - Added XKeyboardState (moved from XplatUIX11.cs)
  7005. - Added XCreateGC related enums and structures
  7006. - Added GXFunction for XSetFunction
  7007. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  7008. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  7009. CaretVisible() calls
  7010. * ToolTip.cs: Added code to prevent stealing focus from app windows
  7011. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  7012. DestroyCaret, SetCaretPos and CaretVisible)
  7013. * XplatUIX11.cs:
  7014. - Added implementation for caret functions
  7015. - Moved hover variables into a struct, to make it a bit easier
  7016. on the eyes and to debug
  7017. - Removed XKeyboardState (moved to XplatUIX11.cs)
  7018. - Moved Keyboard properties into the properties region
  7019. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  7020. call to get a graphics context for our control
  7021. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  7022. * TreeView.cs: Fixed bug. No matter what color was set it would always
  7023. return SystemColors.Window
  7024. * XplatUIWin32.cs: Implemented caret overrides
  7025. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  7026. * ListBox.cs: fire events, implement missing methods and properties,
  7027. sorting.
  7028. 2004-12-10 John BouAntoun <[email protected]>
  7029. * MonthCalendar.cs: invalidation bug fixing
  7030. * ThemeWin32Classic.cs: paint fixing
  7031. 2004-12-09 Geoff Norton <[email protected]>
  7032. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  7033. prepare the CGContextRef there now.
  7034. 2004-12-09 John BouAntoun <[email protected]>
  7035. * MonthCalendar.cs:
  7036. - optimisationL only invalidate areas that have changed
  7037. * ThemeWin32Classic.cs:
  7038. - only paint parts that intersect with clip_area
  7039. 2004-12-09 Peter Bartok <[email protected]>
  7040. * Application.cs: Undid changes from r37004 which cause problems
  7041. on X11
  7042. 2004-12-09 Ravindra <[email protected]>
  7043. * ToolBar.cs: Added support for displaying ContextMenu
  7044. attached to a button on ToolBar.
  7045. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  7046. property.
  7047. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  7048. * Label.cs: autosize works in text change and removes unnecessary
  7049. invalidate
  7050. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  7051. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  7052. remove warnings
  7053. 2004-12-08 Geoff Norton <[email protected]>
  7054. * XplatUIOSX.cs: Added mouse move/click/grab support
  7055. Remove some debugging WriteLines not needed anymore.
  7056. Add window resizing/positioning.
  7057. Fix visibility on reparenting.
  7058. 2004-12-08 Peter Bartok <[email protected]>
  7059. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  7060. 2004-12-07 Geoff Norton <[email protected]>
  7061. * XplatUIOSX.cs: Initial checkin
  7062. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  7063. 2004-12-03 Ravindra <[email protected]>
  7064. * ListView.cs: Added some keybindings and fixed scrolling.
  7065. ScrollBars listen to ValueChanged event instead of Scroll
  7066. Event. This would let us take care of all changes being
  7067. done in the scrollbars' values programmatically or manually.
  7068. * ListView.cs (CanMultiselect): Added a check for shift key.
  7069. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  7070. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  7071. of ListViewSubItemCollection as well.
  7072. 2004-12-06 Peter Bartok <[email protected]>
  7073. * Control.cs (Parent): Added check and exception to prevent
  7074. circular parenting
  7075. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  7076. * ListBox.cs: implemented clipping, selection single and multiple,
  7077. bug fixing
  7078. 2004-12-03 Ravindra <[email protected]>
  7079. * ListView.cs (ListView_KeyDown):
  7080. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  7081. when CTRL key is pressed.
  7082. * ListViewItem.cs (Selected): Fixed setting the property.
  7083. 2004-12-03 Marek Safar <[email protected]>
  7084. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  7085. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  7086. MinimizeBox, ShowInTaskbar, TopMost properties.
  7087. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  7088. will be implemented).
  7089. 2004-12-03 Marek Safar <[email protected]>
  7090. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  7091. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  7092. tests.
  7093. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  7094. * TreeView.cs: BackColor is Colors.Window.
  7095. 2004-12-01 Jackson Harper <[email protected]>
  7096. * TreeView.cs: When resizing the tree if the user is making it
  7097. smaller we don't get expose events, so we need to handle adding
  7098. the horizontal scrollbar in the size changed handler as well as
  7099. the expose handler.
  7100. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  7101. * DrawItemState.cs: fixes wrong enum values
  7102. 2004-12-01 Jackson Harper <[email protected]>
  7103. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  7104. 2004-12-01 Jackson Harper <[email protected]>
  7105. * NodeLabelEditEventArgs.cs:
  7106. * NodeLabelEditEventHandler.cs:
  7107. * OpenTreeNodeEnumerator.cs:
  7108. * TreeNode.cs:
  7109. * TreeNodeCollection.cs:
  7110. * TreeView.cs:
  7111. * TreeViewAction.cs:
  7112. * TreeViewCancelEventArgs.cs:
  7113. * TreeViewCancelEventHandler.cs:
  7114. * TreeViewEventArgs.cs:
  7115. * TreeViewEventHandler.cs: Initial implementation.
  7116. 2004-12-01 Ravindra <[email protected]>
  7117. * ListView.cs (CalculateListView): Fixed scrolling related
  7118. calculations. Also, removed some debug statements from other
  7119. places.
  7120. * ListViewItem.cs: Changed access to 'selected' instance variable
  7121. from private to internal.
  7122. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  7123. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  7124. * ThemeWin32Classic.cs: remove cache of brush and pens for
  7125. specific controls and use the global system, fixes scrollbutton
  7126. bugs (for small sizes, disabled, etc)
  7127. * ScrollBar.cs: does not show the thumb for very small controls
  7128. (as MS) and allow smaller buttons that the regular size
  7129. 2004-12-01 Miguel de Icaza <[email protected]>
  7130. * UpDownBase.cs: Add abstract methods for the interface.
  7131. Add new virtual methods (need to be hooked up to TextEntry when it
  7132. exists).
  7133. Add override methods for most features.
  7134. Computes the size, forces the height of the text entry.
  7135. * NumericUpDown.cs: Put here the current testing code.
  7136. * Set eol-style property on all files that do not have mixed line
  7137. endings, to minimize the future problems. There are still a few
  7138. files with mixed endings, and someone should choose whether they
  7139. want to move it or not.
  7140. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  7141. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  7142. System.Colors
  7143. 2004-11-30 Ravindra <[email protected]>
  7144. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  7145. drawing and replaced use of SystemColors by theme colors.
  7146. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  7147. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  7148. same ListViewItem is being added more than once.
  7149. 2004-11-30 John BouAntoun <[email protected]>
  7150. * MonthCalendar.cs:
  7151. - ControlStyles love to make the control not flicker
  7152. 2004-11-30 Peter Bartok <[email protected]>
  7153. * CharacterCasing.cs: Added
  7154. 2004-11-29 Peter Bartok <[email protected]>
  7155. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  7156. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  7157. I am removing these files as they conflict with already completed
  7158. work. While it is fantastic to get contributions to MWF, I
  7159. respectfully ask that everyone please coordinate their contributions
  7160. through mono-winforms-list or #mono-winforms at this time. We're
  7161. explicitly avoiding stubbing and don't want controls that don't have
  7162. their basic functionality implemented in svn. Please also see
  7163. http://www.mono-project.com/contributing/winforms.html
  7164. 2004-11-29 Marek Safar <[email protected]>
  7165. * Application.cs (ModalRun): Don't hang after exit.
  7166. * Theme.cs: New TreeViewDefaultSize property.
  7167. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  7168. with less hardcoded SystemColors constant.
  7169. Implemented TreeViewDefaultSize.
  7170. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  7171. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  7172. 2004-11-29 John BouAntoun <[email protected]>
  7173. * MonthCalendar.cs:
  7174. - Fix NextMonthDate and PrevMonthDate click moving calendar
  7175. 2004-11-26 John BouAntoun <[email protected]>
  7176. * MonthCalendar.cs:
  7177. - Fix usage of ScrollChange Property when scrolling months
  7178. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  7179. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  7180. - Fixes menu destroying
  7181. - Support adding and removing items on already created menus
  7182. 2004-11-26 John BouAntoun <[email protected]>
  7183. * MonthCalendar.cs:
  7184. - Re-worked all bolded dates handling to match win32
  7185. * ThemeWin32Classic.cs:
  7186. - Fixed rendering with bolded dates
  7187. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  7188. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  7189. - Horizontal scroolbar
  7190. - Multicolumn
  7191. - Fixes
  7192. 2004-11-25 John BouAntoun <[email protected]>
  7193. * MonthCalendar.cs:
  7194. - Fix Usage of MaxSelectionCount from SelectionRange
  7195. - Fixed Shift + Cursor Selection
  7196. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  7197. - Fixed normal cursor selection to be compat with win32
  7198. - Fixed Shift + Mouse Click selection
  7199. 2004-11-24 Peter Bartok <[email protected]>
  7200. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  7201. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  7202. * XplatUIX11.cs:
  7203. - CreatedKeyBoardMsg now updates keystate with Alt key
  7204. - Added workaround for timer crash to CheckTimers, Jackson will
  7205. develop a proper fix and check in later
  7206. - Implemented DispatchMessage
  7207. - Removed calling the native window proc from GetMessage (call
  7208. now moved to DispatchMessage)
  7209. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  7210. the keydata (Fixes bug #69831)
  7211. * XplatUIWin32.cs:
  7212. - (DispatchMessage): Switched to return IntPtr
  7213. - Added DllImport for SetFocus
  7214. 2004-11-24 Ravindra <[email protected]>
  7215. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  7216. background drawing.
  7217. * ListViewItem.cs: Fixed various properties, calculations
  7218. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  7219. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  7220. and some internal properties. Fixed MouseDown handler and Paint
  7221. method.
  7222. 2004-11-24 John BouAntoun <[email protected]>
  7223. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  7224. 2004-11-24 John BouAntoun <[email protected]>
  7225. * ContainerControl.cs: correct accidental check in of local changes
  7226. 2004-11-24 John BouAntoun <[email protected]>
  7227. * ThemeWin32Classic.cs:
  7228. - Fixed Drawing Last month in grid (sometimes not showing)
  7229. * MonthCalendar.cs:
  7230. - Fixed title width calculation bug (makeing title small)
  7231. 2004-11-23 Peter Bartok <[email protected]>
  7232. * XplatUIX11.cs:
  7233. - Added generation of WM_MOUSEHOVER event
  7234. - Added missing assignment of async_method atom
  7235. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  7236. 2004-11-23 John BouAntoun <[email protected]>
  7237. * ThemeWin32Classic.cs:
  7238. - Fixed Drawing of today circle when showtodaycircle not set
  7239. - fixed drawing of first and last month in the grid (gay dates)
  7240. * MonthCalendar.cs:
  7241. - Fixed Drawing of today circle
  7242. - Fixed drawing of grady dates
  7243. - Fixed HitTest for today link when ShowToday set to false
  7244. - Fixed DefaultSize to obey ShowToday
  7245. 2004-11-23 John BouAntoun <[email protected]>
  7246. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  7247. * System.Windows.Forms/Theme.cs
  7248. * MonthCalendar.cs: added for MonthCalendar
  7249. * SelectionRange.cs: added for MonthCalendar
  7250. * Day.cs: added for MonthCalendar: added for MonthCalendar
  7251. * DateRangeEventArgs.cs: added for MonthCalendar
  7252. * DateRangeEventHandler.cs: added for MonthCalendar
  7253. 2004-11-22 Ravindra <[email protected]>
  7254. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  7255. property.
  7256. 2004-11-22 Miguel de Icaza <[email protected]>
  7257. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  7258. event handler.
  7259. * NumericUpDown.cs: Added new implementation.
  7260. * UpDownBase.cs: Added new implementation.
  7261. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  7262. implementations.
  7263. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  7264. implementations.
  7265. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  7266. methods.
  7267. 2004-11-21 Miguel de Icaza <[email protected]>
  7268. * Timer.cs (Dispose): Should call the base dispose when
  7269. overriding.
  7270. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  7271. * ScrollBar.cs: updates thumb position when max, min or increment
  7272. is changed
  7273. 2004-11-21 Ravindra <[email protected]>
  7274. * ListView.cs: Implemented item selection, activation and
  7275. column header style. Fixed properties to do a redraw, if
  7276. required. Added support for MouseHover, DoubleClick, KeyDown
  7277. and KeyUp event handling and some minor fixes.
  7278. * ListViewItem.cs: Fixed constructor.
  7279. * ThemeWin32Classic.cs: Improved drawing for ListView.
  7280. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  7281. * ThemeWin32Classic.cs: initial listbox drawing code
  7282. * DrawMode.cs: new enumerator
  7283. * ListControl.cs: stubbed class
  7284. * ListBox.cs: initial implementation
  7285. * Theme.cs: new methods definitions
  7286. * SelectionMode.cs: new enumerator
  7287. 2004-11-17 Peter Bartok <[email protected]>
  7288. * XplatUIWin32.cs: Added double-click events to the class style
  7289. * Control.cs (WndProc):
  7290. - Added handling of click-count to MouseDown/ MouseUp events.
  7291. - Added handling of middle and right mouse buttons
  7292. - Removed old debug code
  7293. 2004-11-17 Jackson Harper <[email protected]>
  7294. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  7295. 2004-11-17 Ravindra <[email protected]>
  7296. * ListView.cs: Added event handling for MouseMove/Up/Down.
  7297. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  7298. * ThemeWin32Classic.cs: We need to clear the graphics context and
  7299. draw column header in a proper state.
  7300. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  7301. * Menu.cs: fixes signature
  7302. 2004-11-16 Peter Bartok <[email protected]>
  7303. * XplatUIX11.cs (GetMessage): Implemented generation of
  7304. double click mouse messages
  7305. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  7306. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  7307. not by menu
  7308. 2004-11-11 Peter Bartok <[email protected]>
  7309. * HandleData.cs: Added Visible property
  7310. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  7311. HandleData
  7312. * XplatUIX11.cs: Removed old debug leftovers
  7313. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  7314. * Control.cs (WndProc): Removed old debug leftovers,
  7315. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  7316. needed WM_SIZE handling
  7317. 2004-11-11 Jackson Harper <[email protected]>
  7318. * OwnerDrawPropertyBag.cs:
  7319. * TreeViewImageIndexConverter.cs: Initial implementation
  7320. 2004-11-10 Jackson Harper <[email protected]>
  7321. * ThemeWin32Classic.cs:
  7322. * TabControl.cs: instead of moving tabs by the slider pos just
  7323. start drawing at the tab that is offset by the slider. This way
  7324. scrolling always moves by exactly one tab.
  7325. 2004-11-10 Jackson Harper <[email protected]>
  7326. * TabControl.cs: You can only scroll left when the slider has
  7327. already ben moved right.
  7328. 2004-11-10 Jackson Harper <[email protected]>
  7329. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  7330. the clip area.
  7331. 2004-11-10 Jackson Harper <[email protected]>
  7332. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  7333. clip area.
  7334. 2004-11-09 Jackson Harper <[email protected]>
  7335. * TabControl.cs (CalcXPos): New helper method so we can determine
  7336. the proper place to start drawing vertical tabs.
  7337. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  7338. 2004-11-09 Jackson Harper <[email protected]>
  7339. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  7340. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  7341. and Bottom, left and right are illegal values for this and
  7342. multiline is enabled when the alignment is set to left or right.
  7343. (DrawTab): Each alignment block should draw the text itself now
  7344. because Left requires special love. Also add rendering for Left
  7345. aligned tabs.
  7346. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  7347. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  7348. does not destroy the windows, removes debugging messages
  7349. 2004-11-09 jba <[email protected]>
  7350. * ThemeWin32Classic.cs
  7351. (DrawButtonBase): Fix verticle text rect clipping in windows
  7352. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  7353. rendering and incorrect text rect clipping
  7354. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  7355. rendering and incorrect text rect clipping
  7356. 2004-11-08 Jackson Harper <[email protected]>
  7357. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  7358. bottom when they are bottom aligned so the bottoms of the tabs get
  7359. displayed.
  7360. * TabControl.cs (DropRow): Move rows up instead of down when the
  7361. tab control is bottom aligned.
  7362. 2004-11-08 13:59 pbartok
  7363. * XplatUIX11.cs:
  7364. - Added handling for various window styles
  7365. - Added handling for popup windows
  7366. - Added SetTopmost handling
  7367. 2004-11-08 13:55 pbartok
  7368. * XplatUIWin32.cs:
  7369. - Added argument to SetTopmost method
  7370. - Fixed broken ClientToScreen function
  7371. 2004-11-08 13:53 pbartok
  7372. * XplatUIStructs.cs:
  7373. - Added missing WS_EX styles
  7374. 2004-11-08 13:53 pbartok
  7375. * XplatUI.cs, XplatUIDriver.cs:
  7376. - Added argument to SetTopmost
  7377. 2004-11-08 13:52 pbartok
  7378. * X11Structs.cs:
  7379. - Added XSetWindowAttributes structure
  7380. - Improved XWindowAttributes structure
  7381. - Added SetWindowValuemask enum
  7382. - Added window creation arguments enum
  7383. - Added gravity enum
  7384. - Added Motif hints structure
  7385. - Added various Motif flags and enums
  7386. - Added PropertyMode enum for property functions
  7387. 2004-11-08 13:50 pbartok
  7388. * Form.cs:
  7389. - Fixed arguments for updated SetTopmost method
  7390. 2004-11-08 13:49 pbartok
  7391. * ToolTip.cs:
  7392. - Fixed arguments for updated SetTopmost function
  7393. - Fixed usage of PointToClient
  7394. 2004-11-08 13:44 pbartok
  7395. * MenuAPI.cs:
  7396. - Added Clipping of children and siblings
  7397. 2004-11-08 13:41 pbartok
  7398. * MainMenu.cs:
  7399. - Removed SetMenuBarWindow call. We do this in Form.cs
  7400. 2004-11-08 13:40 jackson
  7401. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  7402. scrolling jimmi in the correct location with bottom aligned tabs
  7403. 2004-11-08 13:36 pbartok
  7404. * ContainerControl.cs:
  7405. - Implemented BindingContext
  7406. - Implemented ParentForm
  7407. 2004-11-08 12:46 jackson
  7408. * TabControl.cs: Put bottom rendered tabs in the right location
  7409. 2004-11-08 07:15 jordi
  7410. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  7411. removes dead code
  7412. 2004-11-05 17:30 jackson
  7413. * TabControl.cs: When selected tabs are expanded make sure they
  7414. don't go beyond the edges of the tab control
  7415. 2004-11-05 14:57 jackson
  7416. * TabControl.cs: Reset show_slider so if the control is resized to
  7417. a size where it is no longer needed it's not displayed anymore
  7418. 2004-11-05 13:16 jackson
  7419. * TabControl.cs: Make tab pages non visible when added to the
  7420. control
  7421. 2004-11-05 12:42 jackson
  7422. * TabControl.cs: Implement SizeMode.FillToRight
  7423. 2004-11-05 12:16 jackson
  7424. * Control.cs: Do not call CreateHandle if the handle is already
  7425. created
  7426. 2004-11-05 11:46 jackson
  7427. * TabControl.cs: Remove superflous call to CalcTabRows
  7428. 2004-11-05 09:07 jackson
  7429. * XplatUIX11.cs: Update for Mono.Posix changes
  7430. 2004-11-05 07:00 ravindra
  7431. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  7432. scrolling.
  7433. 2004-11-04 22:47 jba
  7434. * ThemeWin32Classic.cs:
  7435. - Fix Button rendering for FlatStyle = Flat or Popup
  7436. - Fix RadioButton and CheckBox rendering when Appearance = Button
  7437. (normal and flatstyle).
  7438. - Correct outer rectangle color when drawing focus rectangle
  7439. - Adjust button bounds to be 1 px smaller when focused
  7440. - Make button not draw sunken 3d border when pushed (windows compat)
  7441. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  7442. - Offset the text in RadioButton and Checkbox when being rendered as
  7443. a button.
  7444. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  7445. radiobuttons
  7446. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  7447. - Fixed disabled text rendering for normally rendered radiobuttons
  7448. 2004-11-04 10:26 jackson
  7449. * TabControl.cs: Recalculate tab rows when resizing
  7450. 2004-11-04 07:47 jordi
  7451. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  7452. collection completion, drawing issues, missing features
  7453. 2004-11-04 05:03 ravindra
  7454. * ScrollBar.cs:
  7455. - We need to recalculate the Thumb area when
  7456. LargeChange/maximum/minimum values are changed.
  7457. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  7458. than minimum. This is required to handle the case if large_change is
  7459. more than max, and use LargeChange property instead of large_change
  7460. variable.
  7461. - We return max+1 when large_change is more than max, like MS does.
  7462. 2004-11-04 04:29 ravindra
  7463. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  7464. - Changed default value signatures (prefixed all with ListView).
  7465. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  7466. ListView.
  7467. - Fixed calculations for ListViewItem and implemented Clone()
  7468. method.
  7469. 2004-11-04 04:26 ravindra
  7470. * Theme.cs, ThemeWin32Classic.cs:
  7471. - Changed default ListView values signatures (prefixed all with
  7472. ListView).
  7473. - Fixed default size values for VScrollBar and HScrollBar.
  7474. - Fixed DrawListViewItem method.
  7475. 2004-11-04 04:05 ravindra
  7476. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  7477. 2004-11-04 04:04 ravindra
  7478. * ImageList.cs: Implemented the missing overload for Draw method.
  7479. 2004-11-03 19:29 jackson
  7480. * TabControl.cs: Handle dropping rows on selection properly
  7481. 2004-11-03 11:59 jackson
  7482. * TabControl.cs: remove debug code
  7483. 2004-11-03 11:52 jackson
  7484. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  7485. the scrolly widgerywoo
  7486. 2004-11-02 13:52 jackson
  7487. * TabControl.cs: Resize the tab pages and tabs when the tab control
  7488. is resized
  7489. 2004-11-02 13:40 jackson
  7490. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  7491. selected tab to the bottom
  7492. 2004-11-02 13:39 jackson
  7493. * TabPage.cs: Store the tab pages row
  7494. 2004-11-02 12:33 jordi
  7495. * MenuItem.cs: fixes handle creation
  7496. 2004-11-02 11:42 jackson
  7497. * TabControl.cs: signature fix
  7498. 2004-11-02 08:56 jackson
  7499. * TabControl.cs: Calculate whether the tab is on an edge properly.
  7500. Remove top secret debugging code
  7501. 2004-11-01 19:57 jackson
  7502. * TabControl.cs: Add click handling, and proper sizing
  7503. 2004-11-01 19:47 jackson
  7504. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  7505. tab controls
  7506. 2004-11-01 19:39 jackson
  7507. * TabPage.cs: add internal property to store the bounds of a tab
  7508. page
  7509. 2004-10-30 04:23 ravindra
  7510. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  7511. values.
  7512. 2004-10-30 04:21 ravindra
  7513. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  7514. fixed calculations.
  7515. 2004-10-30 03:06 pbartok
  7516. * XplatUIX11.cs:
  7517. - Removed extension of DllImported libs
  7518. 2004-10-29 09:55 jordi
  7519. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  7520. navigation, itemcollection completion, menu fixes
  7521. 2004-10-27 22:58 pbartok
  7522. * XplatUIX11.cs:
  7523. - Now throws a nice error message when no X display could be opened
  7524. 2004-10-26 13:51 jordi
  7525. * ListView.cs: removes warning
  7526. 2004-10-26 03:55 ravindra
  7527. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  7528. ThemeWin32Classic.cs: Some formatting for my last checkins.
  7529. 2004-10-26 03:36 ravindra
  7530. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  7531. control and default values.
  7532. 2004-10-26 03:35 ravindra
  7533. * Theme.cs: Added some default values for ListView control.
  7534. 2004-10-26 03:33 ravindra
  7535. * ToolBar.cs: ToolBar should use the user specified button size, if
  7536. there is any. Added a size_specified flag for the same.
  7537. 2004-10-26 03:33 ravindra
  7538. * ColumnHeader.cs: Added some internal members and calculations for
  7539. ColumnHeader.
  7540. 2004-10-26 03:32 ravindra
  7541. * ListViewItem.cs: Calculations for ListViewItem.
  7542. 2004-10-26 03:31 ravindra
  7543. * ListView.cs: Added some internal members and calculations for
  7544. ListView.
  7545. 2004-10-22 13:31 jordi
  7546. * MenuAPI.cs: speedup menus drawing
  7547. 2004-10-22 13:16 jackson
  7548. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  7549. expose event
  7550. 2004-10-22 11:49 jackson
  7551. * Control.cs: oops
  7552. 2004-10-22 11:41 jackson
  7553. * Control.cs: Check to see if the window should have its background
  7554. repainted by X when drawing.
  7555. 2004-10-22 11:31 jackson
  7556. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  7557. clear is true, this way we do not get flicker from X repainting the
  7558. background
  7559. 2004-10-22 11:28 jackson
  7560. * XEventQueue.cs: Queue properly
  7561. 2004-10-21 09:38 jackson
  7562. * XEventQueue.cs: Fix access modifier
  7563. 2004-10-21 09:36 jackson
  7564. * XEventQueue.cs: Don't loose messages
  7565. 2004-10-21 09:22 jackson
  7566. * XEventQueue.cs: Don't loose messages
  7567. 2004-10-20 04:15 jordi
  7568. * BootMode.cs: enum need it by SystemInfo
  7569. 2004-10-19 21:58 pbartok
  7570. * XplatUIWin32.cs:
  7571. - Small sanity check
  7572. 2004-10-19 21:56 pbartok
  7573. * Form.cs:
  7574. - Added private FormParentWindow class which acts as the container
  7575. for our form and as the non-client area where menus are drawn
  7576. - Added/Moved required tie-ins to Jordi's menus
  7577. - Fixed/Implemented the FormStartPosition functionality
  7578. 2004-10-19 21:52 pbartok
  7579. * Control.cs:
  7580. - Removed unneeded locals
  7581. - Added code to all size and location properties to understand and
  7582. deal with the parent container of Form
  7583. 2004-10-19 21:33 pbartok
  7584. * Application.cs:
  7585. - Fixed to deal with new Form subclasses for menus
  7586. 2004-10-19 17:48 jackson
  7587. * XEventQueue.cs: commit correct version of file
  7588. 2004-10-19 16:50 jackson
  7589. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  7590. 2004-10-19 16:15 jordi
  7591. * MenuAPI.cs: MenuBarCalcSize returns the height
  7592. 2004-10-19 08:31 pbartok
  7593. * Control.cs:
  7594. - Added missing call to PreProcessMessage before calling OnXXXKey
  7595. methods
  7596. 2004-10-19 00:04 ravindra
  7597. * ToolTip.cs: Fixed constructor.
  7598. 2004-10-18 09:31 jordi
  7599. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  7600. 2004-10-18 09:26 jordi
  7601. * MenuItem.cs: fixes MenuItem class signature
  7602. 2004-10-18 08:56 jordi
  7603. * MenuAPI.cs: prevents windows from showing in the taskbar
  7604. 2004-10-18 00:28 ravindra
  7605. * ToolTip.cs: Suppressed a warning message.
  7606. 2004-10-18 00:27 ravindra
  7607. * Control.cs: Default value of visible property must be true.
  7608. 2004-10-17 23:19 pbartok
  7609. * ToolTip.cs:
  7610. - Complete implementation
  7611. 2004-10-17 23:19 pbartok
  7612. * XplatUIX11.cs:
  7613. - Added EnableWindow method
  7614. - Added SetModal stub
  7615. - Added generation of WM_ACTIVATE message (still needs testing)
  7616. - Added SetTopMost stub
  7617. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  7618. 2004-10-17 23:17 pbartok
  7619. * XplatUIWin32.cs:
  7620. - Removed VirtualKeys to XplatUIStructs
  7621. - Implemented SetTopMost method
  7622. - Implemented EnableWindow method
  7623. - Bugfix in ScreenToClient()
  7624. - Bugfixes in ClientToScreen()
  7625. 2004-10-17 22:51 pbartok
  7626. * XplatUIStructs.cs:
  7627. - Added WS_EX styles to WindowStyles enumeration
  7628. 2004-10-17 22:50 pbartok
  7629. * XplatUI.cs, XplatUIDriver.cs:
  7630. - Added method for enabling/disabling windows
  7631. - Added method for setting window modality
  7632. - Added method for setting topmost window
  7633. 2004-10-17 22:49 pbartok
  7634. * ThemeWin32Classic.cs:
  7635. - Added ToolTip drawing code
  7636. 2004-10-17 22:49 pbartok
  7637. * Theme.cs:
  7638. - Added ToolTip abstracts
  7639. 2004-10-17 22:47 pbartok
  7640. * Form.cs:
  7641. - Fixed Form.ControlCollection to handle owner relations
  7642. - Added Owner/OwnedForms handling
  7643. - Implemented Z-Ordering for owned forms
  7644. - Removed unneeded private overload of ShowDialog
  7645. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  7646. so I hope)
  7647. - Fixed Close(), had wrong default
  7648. - Added firing of OnLoad event
  7649. - Added some commented out debug code for Ownership handling
  7650. 2004-10-17 22:16 pbartok
  7651. * Control.cs:
  7652. - Fixed/implemented flat list of controls
  7653. 2004-10-17 22:14 pbartok
  7654. * Application.cs:
  7655. - Added code to simulate modal dialogs on Win32
  7656. 2004-10-17 16:11 jordi
  7657. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  7658. mouse event
  7659. 2004-10-17 13:39 jordi
  7660. * MenuAPI.cs: menu drawing fixes
  7661. 2004-10-15 09:10 ravindra
  7662. * StructFormat.cs: General Enum.
  7663. 2004-10-15 09:09 ravindra
  7664. * SizeGripStyle.cs: Enum for Form.
  7665. 2004-10-15 09:08 ravindra
  7666. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  7667. in Theme for ListView.
  7668. 2004-10-15 09:06 ravindra
  7669. * ColumnHeader.cs: Flushing some formatting changes.
  7670. 2004-10-15 09:05 ravindra
  7671. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  7672. style.
  7673. 2004-10-15 09:03 ravindra
  7674. * ListView.cs: Implemented Paint method and fixed coding style.
  7675. 2004-10-15 07:34 jordi
  7676. * MenuAPI.cs: fix for X11
  7677. 2004-10-15 07:32 ravindra
  7678. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  7679. - Renamed Paint() method to Draw() for clarity. Also, moved
  7680. DrawImage() to OnPaint().
  7681. 2004-10-15 07:25 ravindra
  7682. * CheckBox.cs, RadioButton.cs:
  7683. - Removed Redraw (), we get it from ButtonBase.
  7684. - Implemented Paint (), to do class specific painting.
  7685. 2004-10-15 07:16 ravindra
  7686. * ButtonBase.cs:
  7687. - Redraw () is not virtual now.
  7688. - Added an internal virtual method Paint (), so that
  7689. derived classes can do their painting on their own.
  7690. - Modified OnPaint () to call Paint ().
  7691. 2004-10-15 06:43 jordi
  7692. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  7693. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  7694. 2004-10-15 00:30 ravindra
  7695. * MessageBox.cs:
  7696. - MessageBox on windows does not have min/max buttons.
  7697. This change in CreateParams fixes this on Windows. We
  7698. still need to implement this windowstyle behavior in
  7699. our X11 driver.
  7700. 2004-10-14 05:14 ravindra
  7701. * ToolBar.cs:
  7702. - Changed Redraw () to do a Refresh () always.
  7703. - Fixed the MouseMove event handling when mouse is pressed,
  7704. ie drag event handling.
  7705. - Replaced the usage of ToolBarButton.Pressed property to
  7706. ToolBarButton.pressed internal variable.
  7707. 2004-10-14 05:10 ravindra
  7708. * ToolBarButton.cs:
  7709. - Added an internal member 'inside' to handle mouse move
  7710. with mouse pressed ie mouse drag event.
  7711. - Changed 'Pressed' property to return true only when
  7712. 'inside' and 'pressed' are both true.
  7713. - Some coding style love.
  7714. 2004-10-14 00:17 ravindra
  7715. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  7716. public method.
  7717. 2004-10-14 00:15 ravindra
  7718. * ButtonBase.cs: Redraw () related improvements.
  7719. 2004-10-14 00:14 ravindra
  7720. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  7721. removed unnecessary calls to Button.Show () method.
  7722. 2004-10-13 17:50 pbartok
  7723. * XplatUIX11.cs:
  7724. - Formatting fix
  7725. - Removed destroying of window until we solve the problem of X
  7726. destroying the window before us on shutdown
  7727. 2004-10-13 16:32 pbartok
  7728. * ButtonBase.cs:
  7729. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  7730. 2004-10-13 14:18 pbartok
  7731. * XplatUIX11.cs:
  7732. - Added code to destroy the X window
  7733. 2004-10-13 14:18 pbartok
  7734. * XplatUIWin32.cs:
  7735. - Added code to destroy a window
  7736. 2004-10-13 14:12 pbartok
  7737. * ButtonBase.cs:
  7738. - Added the Redraw on Resize that got dropped in the last rev
  7739. 2004-10-13 09:06 pbartok
  7740. * ThemeWin32Classic.cs:
  7741. - Path from John BouAntoun:
  7742. * Fix check rendering (centre correctly for normal style, offset
  7743. correctly for FlatStyle).
  7744. * Fix border color usage (use backcolor) for FlatStyle.Popup
  7745. * Use checkbox.Capture instead of checkbox.is_pressed when
  7746. rendering flatstyle states.
  7747. 2004-10-12 21:48 pbartok
  7748. * ThemeWin32Classic.cs:
  7749. - Removed all occurences of SystemColors and replaced them with the
  7750. matching theme color
  7751. 2004-10-12 21:41 pbartok
  7752. * ThemeWin32Classic.cs:
  7753. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  7754. him using the function for flatstyle drawing
  7755. - Changed functions to use the new version of CPDrawBorder3D
  7756. 2004-10-12 21:15 pbartok
  7757. * ControlPaint.cs:
  7758. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  7759. match MS documentation. They need to return defined colors if the
  7760. passed color matches the configured control color. Thanks to John
  7761. BouAntoun for pointing this out.
  7762. 2004-10-12 20:57 pbartok
  7763. * Control.cs:
  7764. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  7765. color is changed
  7766. 2004-10-12 20:46 pbartok
  7767. * CheckBox.cs:
  7768. - Fix from John BouAntoun: Now properly sets the Appearance property
  7769. 2004-10-12 20:45 pbartok
  7770. * ThemeWin32Classic.cs:
  7771. - Fixes from John BouAntoun: now handles forecolors and backcolors
  7772. for flatstyle rendered controls much better; It also fixes normal
  7773. checkbox rendering when pushed or disabled.
  7774. 2004-10-08 02:50 jordi
  7775. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  7776. work
  7777. 2004-10-07 08:56 jordi
  7778. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  7779. 2004-10-06 03:59 jordi
  7780. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  7781. XplatUIWin32.cs: removes warnings from compilation
  7782. 2004-10-05 12:23 jackson
  7783. * RadioButton.cs: Fix ctor
  7784. 2004-10-05 11:10 pbartok
  7785. * MessageBox.cs:
  7786. - Partial implementation by Benjamin Dasnois
  7787. 2004-10-05 10:15 jackson
  7788. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  7789. by John BouAntoun
  7790. 2004-10-05 03:07 ravindra
  7791. * ToolBar.cs:
  7792. - Removed a private method, Draw ().
  7793. - Fixed the ButtonDropDown event handling.
  7794. - Fixed MouseMove event handling.
  7795. 2004-10-05 03:04 ravindra
  7796. * ThemeWin32Classic.cs:
  7797. - Added DrawListView method and ListViewDefaultSize property.
  7798. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  7799. - Changed DOS style CRLF to Unix format (dos2unix).
  7800. 2004-10-05 03:03 ravindra
  7801. * Theme.cs:
  7802. - Added DrawListView method and ListViewDefaultSize property.
  7803. 2004-10-05 02:42 ravindra
  7804. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  7805. clicks on DropDown arrow.
  7806. 2004-10-04 22:56 jackson
  7807. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  7808. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  7809. Control handle the buffers, derived classes should not have to
  7810. CreateBuffers themselves.
  7811. 2004-10-04 21:20 jackson
  7812. * StatusBar.cs: The control handles resizing the buffers now.
  7813. 2004-10-04 21:18 jackson
  7814. * Control.cs: When resizing the buffers should be invalidated. This
  7815. should be handled in Control not in derived classes.
  7816. 2004-10-04 14:45 jackson
  7817. * TabPage.cs: oops
  7818. 2004-10-04 02:14 pbartok
  7819. * LeftRightAlignment.cs:
  7820. - Initial check-in
  7821. 2004-10-04 01:09 jordi
  7822. * ThemeWin32Classic.cs: fixes right button position causing right
  7823. button not showing on horizontal scrollbars
  7824. 2004-10-02 13:12 pbartok
  7825. * XplatUIX11.cs:
  7826. - Simplified the Invalidate method by using an X call instead of
  7827. generating the expose ourselves
  7828. - Added an expose when the window background is changed
  7829. - Implemented ClientToScreen method
  7830. 2004-10-02 13:08 pbartok
  7831. * XplatUIWin32.cs:
  7832. - Added Win32EnableWindow method (test for implementing modal
  7833. dialogs)
  7834. - Added ClientToScreen method and imports
  7835. 2004-10-02 13:07 pbartok
  7836. * XplatUI.cs, XplatUIDriver.cs:
  7837. - Added ClientToScreen coordinate translation method
  7838. 2004-10-02 13:06 pbartok
  7839. * KeyPressEventArgs.cs:
  7840. - Fixed access level for constructor
  7841. 2004-10-02 13:06 pbartok
  7842. * NativeWindow.cs:
  7843. - Changed access level for the window_collection hash table
  7844. 2004-10-02 13:05 pbartok
  7845. * Form.cs:
  7846. - Added KeyPreview property
  7847. - Added Menu property (still incomplete, pending Jordi's menu work)
  7848. - Implemented ProcessCmdKey
  7849. - Implemented ProcessDialogKey
  7850. - Implemented ProcessKeyPreview
  7851. 2004-10-02 13:02 pbartok
  7852. * Control.cs:
  7853. - Added private method to get the Control object from the window
  7854. handle
  7855. - Implemented ContextMenu property
  7856. - Implemented PointToScreen
  7857. - Implemented PreProcessMessage
  7858. - Implemented IsInputChar
  7859. - Implemented IsInputKey
  7860. - Implemented ProcessCmdKey
  7861. - Completed ProcessKeyEventArgs
  7862. - Fixed message loop to call the proper chain of functions on key
  7863. events
  7864. - Implemented ProcessDialogChar
  7865. - Implemented ProcessDialogKey
  7866. - Implemented ProcessKeyMessage
  7867. - Implemented ProcessKeyPreview
  7868. - Added RaiseDragEvent stub (MS internal method)
  7869. - Added RaiseKeyEvent stub (MS internal method)
  7870. - Added RaiseMouseEvent stub (MS Internal method)
  7871. - Added RaisePaintEvent stub (MS Internal method)
  7872. - Added ResetMouseEventArgs stub (MS Internal method)
  7873. - Implemented RtlTranslateAlignment
  7874. - Implemented RtlTranslateContent
  7875. - Implemented RtlTranslateHorizontal
  7876. - Implemented RtlTranslateLeftRight
  7877. - Added generation of KeyPress event
  7878. 2004-10-02 05:57 ravindra
  7879. * ListViewItem.cs: Added attributes.
  7880. 2004-10-02 05:32 ravindra
  7881. * ListView.cs: Added attributes.
  7882. 2004-10-01 11:53 jackson
  7883. * Form.cs: Implement the Close method so work on MessageBox can
  7884. continue.
  7885. 2004-09-30 14:06 pbartok
  7886. * XplatUIX11.cs:
  7887. - Bug fixes
  7888. 2004-09-30 11:34 jackson
  7889. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  7890. 2004-09-30 07:26 ravindra
  7891. * ListViewItemConverter.cs: Converter for ListViewItem.
  7892. 2004-09-30 07:26 ravindra
  7893. * SortOrder.cs: Enum for ListView control.
  7894. 2004-09-30 07:25 ravindra
  7895. * ColumnHeader.cs: Supporting class for ListView control.
  7896. 2004-09-30 07:24 ravindra
  7897. * ListView.cs, ListViewItem.cs: Initial implementation.
  7898. 2004-09-30 07:20 ravindra
  7899. * ItemActivation.cs: Enum for ListView Control.
  7900. 2004-09-29 20:29 pbartok
  7901. * XplatUIX11.cs:
  7902. - Added lookup of pixel value for background color; tries to get a
  7903. color 'close' to the requested color, it avoids having to create a
  7904. colormap. Depending on the display this could mean the used color
  7905. is slightly off the desired color. Might have to change it to a more
  7906. resource intensive colormap approach, but it will work as a
  7907. workaround to avoid red screens.
  7908. 2004-09-29 14:27 jackson
  7909. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  7910. 2004-09-28 12:44 pbartok
  7911. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  7912. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  7913. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  7914. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  7915. TrackBar.cs, VScrollBar.cs:
  7916. - Streamlined Theme interfaces:
  7917. * Each DrawXXX method for a control now is passed the object for
  7918. the control to be drawn in order to allow accessing any state the
  7919. theme might require
  7920. * ControlPaint methods for the theme now have a CP prefix to avoid
  7921. name clashes with the Draw methods for controls
  7922. * Every control now retrieves it's DefaultSize from the current
  7923. theme
  7924. 2004-09-28 12:17 jackson
  7925. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  7926. drawing
  7927. 2004-09-24 14:57 jackson
  7928. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  7929. Gives us a nice little performance boost.
  7930. 2004-09-24 12:02 jackson
  7931. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  7932. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  7933. Control and supporting classes. Initial checkin
  7934. 2004-09-23 13:08 jackson
  7935. * Form.cs: Temp build fixage
  7936. 2004-09-23 01:39 ravindra
  7937. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  7938. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  7939. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  7940. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  7941. EventHandlers needed by ListView Control.
  7942. 2004-09-22 14:12 pbartok
  7943. * ScrollableControl.cs:
  7944. - Implemented DockPadding property
  7945. - Implemented AutoScroll property
  7946. - Implemented AutoScrollMargin property
  7947. - Implemented AutoScrollMinSize property
  7948. - Implemented AutoScrollPosition property
  7949. - Implemented DisplayRectangle property (still incomplete)
  7950. - Implemented CreateParams property
  7951. - Implemented HScroll property
  7952. - Implemented VScroll property
  7953. - Implemented OnVisibleChanged property
  7954. 2004-09-22 14:09 pbartok
  7955. * Form.cs:
  7956. - Added Form.ControllCollection class
  7957. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  7958. RemoveOwnedForm (still incomplete, missing on-top and common
  7959. minimize/maximize behaviour)
  7960. - Added StartPosition property (still incomplete, does not use when
  7961. creating the form)
  7962. - Added ShowDialog() methods (still incomplete, missing forcing the
  7963. dialog modal)
  7964. 2004-09-22 14:05 pbartok
  7965. * Application.cs:
  7966. - Added message loop for modal dialogs
  7967. 2004-09-22 14:02 pbartok
  7968. * GroupBox.cs:
  7969. - Fixed wrong types for events
  7970. 2004-09-22 14:00 pbartok
  7971. * Shortcut.cs, FormWindowState.cs:
  7972. - Fixed wrong values
  7973. 2004-09-22 12:01 jackson
  7974. * Control.cs: Text is never null
  7975. 2004-09-20 22:14 pbartok
  7976. * XplatUIWin32.cs:
  7977. - Fixed accessibility level for Idle handler
  7978. 2004-09-20 18:54 jackson
  7979. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  7980. XplatUIX11.cs: New message loop that uses poll so we don't get a
  7981. busy loop
  7982. 2004-09-17 10:43 pbartok
  7983. * ScrollBar.cs:
  7984. - Fixed behaviour of arrow buttons. Now properly behaves like
  7985. Buttons (and like Microsoft's scrollbar arrow buttons)
  7986. 2004-09-17 10:14 pbartok
  7987. * ScrollBar.cs:
  7988. - Added missing release of keyboard/mouse capture
  7989. 2004-09-17 06:18 jordi
  7990. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  7991. Theme.cs: Very early menu support
  7992. 2004-09-16 17:45 pbartok
  7993. * XplatUIWin32.cs:
  7994. - Fixed sending a window to the front
  7995. - Added overload for SetWindowPos to avoid casting
  7996. 2004-09-16 17:44 pbartok
  7997. * Control.cs:
  7998. - Added SendToBack and BringToFront methods
  7999. 2004-09-16 07:00 ravindra
  8000. * Copyright: Added Novell URL.
  8001. 2004-09-16 07:00 ravindra
  8002. * ToolBar.cs: Invalidate should be done before redrawing.
  8003. 2004-09-15 21:19 ravindra
  8004. * ColumnHeaderStyle.cs: Enum for ListView Control.
  8005. 2004-09-15 21:18 ravindra
  8006. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  8007. ListView Control.
  8008. 2004-09-13 18:26 jackson
  8009. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  8010. properly
  8011. 2004-09-13 18:13 jackson
  8012. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  8013. a second thread and post messages into the main threads message
  8014. queue. This makes timing much more consistent. Both win2K and XP
  8015. have a minimum timer value of 15 milliseconds, so we now do this
  8016. too.
  8017. 2004-09-13 15:18 pbartok
  8018. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  8019. XplatUIX11.cs:
  8020. - Added Z-Ordering methods
  8021. 2004-09-13 10:56 pbartok
  8022. * Form.cs:
  8023. - Fixed #region names
  8024. - Moved properties and methods into their proper #regions
  8025. 2004-09-13 10:51 pbartok
  8026. * Form.cs:
  8027. - Added Accept and CancelButton properties
  8028. - Added ProcessDialogKey() method
  8029. 2004-09-13 08:18 pbartok
  8030. * IWindowTarget.cs:
  8031. - Initial check-in
  8032. 2004-09-10 21:50 pbartok
  8033. * Control.cs:
  8034. - Added DoDragDrop() [incomplete]
  8035. - Properly implemented 'Visible' handling
  8036. - Added SetVisibleCore()
  8037. - Implemented FindChildAtPoint()
  8038. - Implemented GetContainerControl()
  8039. - Implemented Hide()
  8040. 2004-09-10 19:28 pbartok
  8041. * Control.cs:
  8042. - Moved methods into their appropriate #regions
  8043. - Reordered methods within regions alphabetically
  8044. 2004-09-10 18:57 pbartok
  8045. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  8046. - Added method to retrieve text from window
  8047. 2004-09-10 18:56 pbartok
  8048. * Control.cs:
  8049. - Moved some internal functions into the internal region
  8050. - Implemented FontHeight
  8051. - Implemented RenderRightToLeft
  8052. - Implemented ResizeRedraw
  8053. - Implemented ShowFocusCues
  8054. - Implemented ShowKeyboardCues
  8055. - Implemented FromChildHandle
  8056. - Implemented FromHandle
  8057. - Implemented IsMnemonic
  8058. - Implemented ReflectMessage
  8059. - All public and protected Static Methods are now complete
  8060. 2004-09-10 16:54 pbartok
  8061. * Control.cs:
  8062. - Implemented remaining missing public instance properties
  8063. - Alphabetized some out of order properties
  8064. 2004-09-10 05:51 ravindra
  8065. * PictureBox.cs: Added a check for null image.
  8066. 2004-09-10 00:59 jordi
  8067. * GroupBox.cs: remove cvs tag
  8068. 2004-09-09 05:25 ravindra
  8069. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  8070. 2004-09-09 05:23 ravindra
  8071. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  8072. parent redraw.
  8073. 2004-09-09 02:28 pbartok
  8074. * ThemeWin32Classic.cs:
  8075. - Improve disabled string look
  8076. 2004-09-09 01:15 jordi
  8077. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  8078. args and handler
  8079. 2004-09-08 23:56 ravindra
  8080. * ItemBoundsPortion.cs: It's enum, not a class!
  8081. 2004-09-08 23:47 ravindra
  8082. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  8083. Enums for Form.
  8084. 2004-09-08 21:13 ravindra
  8085. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  8086. ListView control.
  8087. 2004-09-08 21:03 ravindra
  8088. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  8089. avoid crash.
  8090. 2004-09-08 21:01 ravindra
  8091. * ScrollableControl.cs: Removed unreachable code.
  8092. 2004-09-08 06:45 jordi
  8093. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  8094. 2004-09-08 01:00 jackson
  8095. * XplatUIX11.cs: Only run the timers when updating the message
  8096. queue. This effectively gives X messages a higher priority then
  8097. timer messages. Timers still need love though
  8098. 2004-09-07 14:01 jackson
  8099. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  8100. this for us and the handle is no longer valid.
  8101. 2004-09-07 13:59 jackson
  8102. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  8103. loop that manages to not crash. TODO: Add poll and cleanup timers
  8104. 2004-09-07 11:12 jordi
  8105. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  8106. 2004-09-07 03:40 jordi
  8107. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  8108. fixes, methods, multiple links
  8109. 2004-09-06 06:55 jordi
  8110. * Control.cs: Caches ClientRectangle rectangle value
  8111. 2004-09-05 02:03 jordi
  8112. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  8113. certain situations
  8114. 2004-09-04 11:10 jordi
  8115. * Label.cs: Refresh when font changed
  8116. 2004-09-02 16:24 pbartok
  8117. * Control.cs:
  8118. - Added sanity check to creation of double buffer bitmap
  8119. 2004-09-02 16:24 pbartok
  8120. * ButtonBase.cs:
  8121. - Fixed selection of text color
  8122. - Fixed handling of resize event; now properly recreates double
  8123. buffering bitmap
  8124. - Added missing assignment of TextAlignment
  8125. - Added proper default for TextAlignment
  8126. 2004-09-02 14:26 pbartok
  8127. * RadioButton.cs:
  8128. - Added missing RadioButton.RadioButtonAccessibleObject class
  8129. 2004-09-02 14:26 pbartok
  8130. * Control.cs:
  8131. - Added missing Control.ControlAccessibleObject class
  8132. - Started to implement Select()ion mechanisms, still very incomplete
  8133. 2004-09-02 14:25 pbartok
  8134. * AccessibleObject.cs:
  8135. - Added missing methods
  8136. 2004-09-02 14:23 pbartok
  8137. * AccessibleNavigation.cs, AccessibleSelection.cs:
  8138. - Initial check-in
  8139. 2004-09-02 10:32 jordi
  8140. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  8141. pool for pens, brushes, and hatchbruses
  8142. 2004-09-01 15:30 jackson
  8143. * StatusBar.cs: Fix typo
  8144. 2004-09-01 14:44 pbartok
  8145. * RadioButton.cs:
  8146. - Fixed state
  8147. 2004-09-01 14:39 pbartok
  8148. * Button.cs, RadioButton.cs:
  8149. - Functional initial check-in
  8150. 2004-09-01 14:01 pbartok
  8151. * CheckBox.cs:
  8152. - Added missing default
  8153. - Added missing region mark
  8154. 2004-09-01 09:10 jordi
  8155. * Label.cs: fixes method signatures, new methods, events, fixes
  8156. autosize
  8157. 2004-09-01 07:19 jordi
  8158. * Control.cs: Init string variables with an empty object
  8159. 2004-09-01 04:20 jordi
  8160. * Control.cs: fires OnFontChanged event
  8161. 2004-08-31 20:07 pbartok
  8162. * ButtonBase.cs:
  8163. - Enabled display of strings
  8164. 2004-08-31 20:05 pbartok
  8165. * Form.cs:
  8166. - Added (partial) implementation of DialogResult; rest needs to be
  8167. implemented when the modal loop code is done
  8168. 2004-08-31 19:55 pbartok
  8169. * CheckBox.cs:
  8170. - Fixed to match the removal of the needs_redraw concept
  8171. 2004-08-31 19:55 pbartok
  8172. * ButtonBase.cs:
  8173. - Removed the rather odd split between 'needs redraw' and redrawing
  8174. - Now handles the events that require regeneration (ambient
  8175. properties and size)
  8176. 2004-08-31 19:41 pbartok
  8177. * Control.cs:
  8178. - Added firing of BackColorChanged event
  8179. - Added TopLevelControl property
  8180. - Fixed handling of WM_ERASEBKGRND message
  8181. 2004-08-31 12:49 pbartok
  8182. * ButtonBase.cs:
  8183. - Removed debug
  8184. - Minor fixes
  8185. 2004-08-31 12:48 pbartok
  8186. * CheckBox.cs:
  8187. - Finished (famous last words)
  8188. 2004-08-31 04:35 jordi
  8189. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  8190. scrolling bugs, adds new methods
  8191. 2004-08-30 14:42 pbartok
  8192. * CheckBox.cs:
  8193. - Implemented CheckBox drawing code
  8194. 2004-08-30 14:42 pbartok
  8195. * ButtonBase.cs:
  8196. - Made Redraw() and CheckRedraw() virtual
  8197. - Improved mouse up/down/move logic to properly track buttons
  8198. 2004-08-30 09:44 pbartok
  8199. * CheckBox.cs:
  8200. - Updated to fix broken build. Not complete yet.
  8201. 2004-08-30 09:28 pbartok
  8202. * CheckState.cs:
  8203. - Initial checkin
  8204. 2004-08-30 09:17 pbartok
  8205. * Appearance.cs:
  8206. - Initial check-in
  8207. 2004-08-27 16:12 ravindra
  8208. * ToolBarButton.cs: Added TypeConverter attribute.
  8209. 2004-08-27 16:07 ravindra
  8210. * ImageIndexConverter.cs: Implemented.
  8211. 2004-08-27 14:17 pbartok
  8212. * Control.cs:
  8213. - Removed unneeded stack vars
  8214. - First attempt to fix sizing issues when layout is suspended
  8215. 2004-08-25 15:35 jordi
  8216. * ScrollBar.cs: more fixes to scrollbar
  8217. 2004-08-25 14:04 ravindra
  8218. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  8219. Added the missing divider code and grip for ToolBar Control.
  8220. 2004-08-25 13:20 pbartok
  8221. * Control.cs:
  8222. - Control now properly passes the ambient background color to child
  8223. controls
  8224. 2004-08-25 13:20 jordi
  8225. * ScrollBar.cs: small bug fix regarding bar position
  8226. 2004-08-25 12:33 pbartok
  8227. * Timer.cs:
  8228. - Now only calls SetTimer or KillTimer if the enabled state has
  8229. changed
  8230. 2004-08-25 12:33 pbartok
  8231. * XplatUIWin32.cs:
  8232. - Fixed timer handling, now seems to work
  8233. - Improved error message for window creation
  8234. 2004-08-25 12:32 pbartok
  8235. * Control.cs:
  8236. - Fixed generation of MouseUp message
  8237. 2004-08-25 12:29 jordi
  8238. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  8239. and fixes for progressbar
  8240. 2004-08-24 18:43 ravindra
  8241. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  8242. in ToolBar control.
  8243. 2004-08-24 17:15 pbartok
  8244. * Panel.cs:
  8245. - Added #region
  8246. - Added missing events
  8247. - Alphabetized
  8248. 2004-08-24 17:14 pbartok
  8249. * StatusBar.cs, PictureBox.cs:
  8250. - Now uses Control's CreateParams
  8251. 2004-08-24 16:36 pbartok
  8252. * XplatUIX11.cs:
  8253. - Fixed background color handling
  8254. - Fixed sending of enter/leave events on a grab
  8255. 2004-08-24 16:35 pbartok
  8256. * X11Structs.cs:
  8257. - Refined definitions for CrossingEvent
  8258. 2004-08-24 12:37 jordi
  8259. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  8260. formmating, methods signature, and adds missing events
  8261. 2004-08-24 12:24 jordi
  8262. * Control.cs: fire OnEnabledChanged event
  8263. 2004-08-24 11:17 pbartok
  8264. * XplatUIWin32.cs:
  8265. - Implemented SetTimer() and KillTimer()
  8266. 2004-08-24 11:16 pbartok
  8267. * XplatUIX11.cs:
  8268. - Now uses Remove instead of Add to kill the timer
  8269. 2004-08-24 10:16 jackson
  8270. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  8271. picture boxes in the theme now. Draw picture box borders and obey
  8272. sizing modes
  8273. 2004-08-24 05:49 jackson
  8274. * Timer.cs: Remove top secret debugging code
  8275. 2004-08-24 05:34 jackson
  8276. * PictureBox.cs: Temp hack to make picture boxes draw their full
  8277. image
  8278. 2004-08-24 05:29 jackson
  8279. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  8280. XplatUIX11.cs: Move timers to the driver level. On X they are
  8281. queued by the driver and checked on idle.
  8282. 2004-08-24 01:07 jackson
  8283. * XplatUIX11.cs: Use a queue for async messages instead of passing
  8284. them as ClientMessages since that was totally broken. Also simply
  8285. check for events and return an idle message if none are found. This
  8286. gives us an idle handler, and prevents deadlocking when no messages
  8287. are in the queue.
  8288. 2004-08-23 18:19 ravindra
  8289. * XplatUIWin32.cs: Removed the unwanted destructor.
  8290. 2004-08-23 17:27 pbartok
  8291. * ButtonBase.cs:
  8292. - Finishing touches. Works now, just needs some optimizations.
  8293. 2004-08-23 16:53 jordi
  8294. * ScrollBar.cs: small fix
  8295. 2004-08-23 16:45 pbartok
  8296. * Application.cs:
  8297. - Removed debug output
  8298. - Simplifications
  8299. 2004-08-23 16:43 jordi
  8300. * ScrollBar.cs: [no log message]
  8301. 2004-08-23 16:10 pbartok
  8302. * Form.cs:
  8303. - Fixed handling of WM_CLOSE message
  8304. - Removed debug output
  8305. 2004-08-23 16:09 pbartok
  8306. * Application.cs:
  8307. - Added handling of Idle event
  8308. - Added handling of form closing
  8309. - Fixed reporting of MessageLoop property
  8310. - Removed some unneeded code, should provide a bit of a speedup
  8311. 2004-08-23 15:22 pbartok
  8312. * Control.cs:
  8313. - Added InitLayout() method
  8314. - Added code to properly perform layout when Anchor or Dock property
  8315. is changed
  8316. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  8317. LAMESPEC, tried to do it in a way that makes sense
  8318. 2004-08-23 14:10 jordi
  8319. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  8320. properties and methods
  8321. 2004-08-23 13:55 pbartok
  8322. * Control.cs:
  8323. - Properly fixed Jordi's last fix
  8324. - Now uses Cursor's Position property instead of calling XplatUI
  8325. directly
  8326. 2004-08-23 13:44 jordi
  8327. * PaintEventHandler.cs: Adding missing attribute
  8328. 2004-08-23 13:39 pbartok
  8329. * Cursor.cs:
  8330. - Implemented Position property
  8331. 2004-08-23 13:39 pbartok
  8332. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  8333. - Added method to move mouse cursor
  8334. 2004-08-23 13:39 pbartok
  8335. * XplatUIX11.cs:
  8336. - Fixed setting of background color
  8337. - Added method to move mouse cursor
  8338. 2004-08-23 13:16 jordi
  8339. * Control.cs: avoids null exception
  8340. 2004-08-22 17:46 jackson
  8341. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  8342. PictureBox
  8343. 2004-08-22 17:40 jackson
  8344. * XplatUIX11.cs: Add some missing locks
  8345. 2004-08-22 15:10 pbartok
  8346. * Control.cs, Form.cs:
  8347. - Removed OverlappedWindow style from Control, instead it's default
  8348. now is child
  8349. - Made form windows OverlappedWindow by default
  8350. 2004-08-22 13:34 jackson
  8351. * ScrollBar.cs: Update the position through the Value property so
  8352. the OnValueChanged event is raised.
  8353. 2004-08-22 12:04 pbartok
  8354. * SWF.csproj:
  8355. - Added Cursor.cs and UserControl.cs
  8356. 2004-08-22 12:03 pbartok
  8357. * Cursor.cs:
  8358. - Started implementation, not usable yet
  8359. 2004-08-22 12:00 pbartok
  8360. * UserControl.cs:
  8361. - Implemented UserControl (complete)
  8362. 2004-08-21 19:20 ravindra
  8363. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  8364. 2004-08-21 18:49 ravindra
  8365. * ToolBar.cs: Probably this completes the missing attributes in
  8366. toolbar control.
  8367. 2004-08-21 18:03 ravindra
  8368. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  8369. Fixed toolbar control signatures.
  8370. 2004-08-21 16:32 pbartok
  8371. * LinkLabel.cs:
  8372. - Signature Fixes
  8373. 2004-08-21 16:30 pbartok
  8374. * Label.cs:
  8375. - Signature fixes
  8376. 2004-08-21 16:19 pbartok
  8377. * Control.cs, Label.cs:
  8378. - Signature fixes
  8379. 2004-08-21 15:57 pbartok
  8380. * ButtonBase.cs:
  8381. - Added loads of debug output for development
  8382. - Fixed typo in method name
  8383. 2004-08-21 15:52 pbartok
  8384. * ToolBarButtonClickEventArgs.cs:
  8385. - Added missing base class
  8386. 2004-08-21 14:53 pbartok
  8387. * Control.cs:
  8388. - Updated to match new GrabWindow signature
  8389. 2004-08-21 14:51 pbartok
  8390. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  8391. - Added method to get default display size
  8392. 2004-08-21 14:23 pbartok
  8393. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  8394. - Added method to query current grab state
  8395. - Added argument to allow confining a grab to a window
  8396. 2004-08-21 14:22 pbartok
  8397. * Keys.cs:
  8398. - Added [Flags] attribute so that modifiers can be used in bitwise
  8399. ops
  8400. 2004-08-21 14:21 pbartok
  8401. * TrackBar.cs, ScrollBar.cs:
  8402. - Replaced direct XplatUI calls with their Control counterpart
  8403. 2004-08-21 13:32 pbartok
  8404. * Control.cs:
  8405. - Implemented Created property
  8406. 2004-08-21 13:28 pbartok
  8407. * Control.cs:
  8408. - Implemented ContainsFocus
  8409. 2004-08-21 13:26 pbartok
  8410. * Control.cs:
  8411. - Implemented CausesValidation
  8412. 2004-08-21 13:21 pbartok
  8413. * Control.cs:
  8414. - Implemented CanFocus
  8415. - Implemented CanSelect
  8416. - Implemented Capture
  8417. 2004-08-21 12:35 pbartok
  8418. * XplatUIWin32.cs:
  8419. - Fixed bug with Async message handling
  8420. - Implemented getting the ModifierKeys
  8421. 2004-08-21 12:32 jackson
  8422. * AsyncMethodResult.cs: Make sure we have the mutex before we
  8423. release it. Fixes BeginInvoke on windows
  8424. 2004-08-21 11:31 pbartok
  8425. * XplatUIWin32.cs, XplatUIX11.cs:
  8426. - Drivers now return proper mouse state
  8427. 2004-08-21 10:54 jackson
  8428. * Control.cs: Implement EndInvoke
  8429. 2004-08-21 10:48 jackson
  8430. * Timer.cs: Remove unneeded finalizer
  8431. 2004-08-20 19:52 ravindra
  8432. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  8433. in mouse event handling in the ToolBar control.
  8434. 2004-08-20 19:50 ravindra
  8435. * ImageList.cs: Changed draw method to use the arguments passed in
  8436. to draw the image.
  8437. 2004-08-20 18:58 pbartok
  8438. * XplatUIStructs.cs:
  8439. - Added private message for async communication
  8440. 2004-08-20 17:38 ravindra
  8441. * Control.cs: Made RightToLeft property virtual and removed a
  8442. Console.WriteLine.
  8443. 2004-08-20 14:39 jordi
  8444. * ThemeGtk.cs: use style_attach
  8445. 2004-08-20 14:39 pbartok
  8446. * XplatUIWin32.cs:
  8447. - Added jackson's Async code from X11 to Win32
  8448. 2004-08-20 14:09 pbartok
  8449. * SWF.csproj:
  8450. - Added all new files
  8451. 2004-08-20 14:09 pbartok
  8452. * Control.cs:
  8453. - Added call to set window background color
  8454. 2004-08-20 14:03 pbartok
  8455. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  8456. - Added method for setting the window background
  8457. 2004-08-20 14:02 pbartok
  8458. * XplatUIWin32.cs:
  8459. - Added method for setting the background color
  8460. - Added handling for erasing the window background
  8461. 2004-08-20 13:45 jordi
  8462. * TrackBar.cs: fixes timer, new properties and methods
  8463. 2004-08-20 13:34 jackson
  8464. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  8465. correct thread
  8466. 2004-08-20 13:22 jackson
  8467. * Timer.cs: Timer Tick events are now handed through Controls Async
  8468. mechanism so the callbacks are executed in the same thread as X
  8469. 2004-08-20 13:19 jackson
  8470. * XplatUIDriver.cs: Expose functionality to send async messages
  8471. through the driver
  8472. 2004-08-20 13:18 jackson
  8473. * Control.cs: Implement Begininvoke
  8474. 2004-08-20 13:14 jackson
  8475. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  8476. messages through the driver
  8477. 2004-08-20 13:12 jackson
  8478. * XplatUIX11.cs: Lock before all X operations. Also added Async
  8479. method functionality through XSendEvent
  8480. 2004-08-20 13:11 jackson
  8481. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  8482. This will screw up on 64 bit systems)
  8483. 2004-08-20 13:10 jackson
  8484. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  8485. Async messages through X/Win32
  8486. 2004-08-19 19:39 pbartok
  8487. * XplatUIX11.cs:
  8488. - Updated code to match new HandleData.DeviceContext type
  8489. 2004-08-19 19:38 pbartok
  8490. * HandleData.cs:
  8491. - Made DeviceContext a generic object to allow usage from various
  8492. drivers
  8493. - Added support for queueing Windows messages
  8494. 2004-08-19 19:37 pbartok
  8495. * XplatUIWin32.cs:
  8496. - Added generation of MouseEnter, MouseLeave and MouseHover events
  8497. - Added cleanup on EndPaint
  8498. 2004-08-19 19:17 pbartok
  8499. * Control.cs:
  8500. - Added handling of WM_MOUSEHOVER
  8501. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  8502. code
  8503. 2004-08-19 18:55 jordi
  8504. * ThemeGtk.cs: fixes button order
  8505. 2004-08-19 18:12 jordi
  8506. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  8507. 2004-08-19 17:09 pbartok
  8508. * Control.cs:
  8509. - Added Right property
  8510. - Added RightToLeft property
  8511. 2004-08-19 16:27 jordi
  8512. * ThemeGtk.cs: experimental GTK theme support
  8513. 2004-08-19 16:26 jordi
  8514. * ITheme.cs, Theme.cs: move themes from an interface to a class
  8515. 2004-08-19 16:25 jordi
  8516. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  8517. theme enhancaments
  8518. 2004-08-19 16:04 pbartok
  8519. * XplatUIX11.cs:
  8520. - Added colormap basics
  8521. - Added a way to re-initialize with a different display handle
  8522. - Fixed setting of the window background color
  8523. - Added various X11 imports related to colors and colormaps
  8524. 2004-08-19 15:51 pbartok
  8525. * X11Structs.cs:
  8526. - Removed packing hints (Paolo suggested this a while back)
  8527. - fixed colormap type
  8528. - Added default Atom types
  8529. - Added Screen and color structs and enums
  8530. 2004-08-19 15:39 pbartok
  8531. * ImageList.cs:
  8532. - Added missing Draw() method
  8533. - Added missing RecreateHandle event
  8534. 2004-08-19 15:30 pbartok
  8535. * Form.cs:
  8536. - Added handling of WM_CLOSE
  8537. 2004-08-18 13:16 jordi
  8538. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  8539. a table
  8540. 2004-08-18 09:56 jordi
  8541. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  8542. 2004-08-17 15:31 ravindra
  8543. * SWF.csproj: Updated project.
  8544. 2004-08-17 15:25 pbartok
  8545. * Control.cs:
  8546. - Drawing improvement; don't call UpdateBounds if we are not visible
  8547. (or have been minimized)
  8548. 2004-08-17 15:24 pbartok
  8549. * XplatUIWin32.cs:
  8550. - Finished IsVisible
  8551. - Added Win32GetWindowPlacement
  8552. 2004-08-17 15:08 jackson
  8553. * Panel.cs: Initial checkin of the Panel
  8554. 2004-08-17 14:25 pbartok
  8555. * Control.cs:
  8556. - Fixed broken handling of default window sizes
  8557. 2004-08-17 13:29 jackson
  8558. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  8559. has a large startup time.
  8560. 2004-08-17 10:25 jackson
  8561. * HandleData.cs: union areas properly
  8562. 2004-08-17 10:12 jackson
  8563. * HandleData.cs: union areas properly
  8564. 2004-08-16 20:00 ravindra
  8565. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  8566. 2004-08-16 18:48 ravindra
  8567. * ToolBar.cs: Added attributes.
  8568. 2004-08-16 17:17 ravindra
  8569. * SWF.csproj: Updated project.
  8570. 2004-08-16 17:16 jackson
  8571. * XplatUIX11.cs: Check for more expose events before sending a
  8572. WM_PAINT so they can all be grouped together. This makes dragging a
  8573. window across another window redraw in a sane way.
  8574. 2004-08-16 15:47 pbartok
  8575. * Control.cs:
  8576. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  8577. support OnMouseEnter/Leave()
  8578. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  8579. exposure handling
  8580. 2004-08-16 15:46 pbartok
  8581. * XplatUIStructs.cs, XplatUIX11.cs:
  8582. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  8583. OnMouseEnter/Leave()
  8584. 2004-08-16 15:34 jackson
  8585. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  8586. sure messages get the message field set to WM_NULL if they are not
  8587. handled.
  8588. 2004-08-16 15:24 jackson
  8589. * HandleData.cs: HandleData is used for storing message information
  8590. for window handles
  8591. 2004-08-15 17:23 ravindra
  8592. * ColorDepth.cs: Added attribute.
  8593. 2004-08-15 17:23 ravindra
  8594. * SWF.csproj: Updated project for ToolBar Control.
  8595. 2004-08-15 17:20 ravindra
  8596. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  8597. control and also dos2unix format.
  8598. 2004-08-15 17:13 ravindra
  8599. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  8600. ToolBarButtonClickEventArgs.cs,
  8601. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  8602. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  8603. 2004-08-15 15:31 pbartok
  8604. * ButtonBase.cs:
  8605. - First (mostly) working version
  8606. 2004-08-13 16:15 pbartok
  8607. * Control.cs:
  8608. - Fixed Anchor default
  8609. 2004-08-13 15:43 pbartok
  8610. * Control.cs:
  8611. - Changed GetCursorPos signature
  8612. 2004-08-13 15:42 pbartok
  8613. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  8614. - Changed signature for GetCursorPos
  8615. 2004-08-13 15:25 pbartok
  8616. * XplatUIX11.cs:
  8617. - Cleanup
  8618. - Fixed resizing/exposure handling
  8619. 2004-08-13 15:22 jordi
  8620. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  8621. with tickposition
  8622. 2004-08-13 14:55 jordi
  8623. * TrackBar.cs: change from wndproc to events
  8624. 2004-08-13 13:00 jordi
  8625. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  8626. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  8627. 2004-08-13 12:53 pbartok
  8628. * XplatUIWin32.cs:
  8629. - Changed GetWindowPos to also provide client area size
  8630. - Fixed broken prototypes for several win32 functions
  8631. 2004-08-13 12:53 pbartok
  8632. * XplatUI.cs, XplatUIDriver.cs:
  8633. - Changed GetWindowPos to also provide client area size
  8634. 2004-08-13 12:52 pbartok
  8635. * XplatUIX11.cs:
  8636. - Added generation of WM_POSCHANGED
  8637. - Changed GetWindowPos to also provide client area size
  8638. 2004-08-13 12:52 pbartok
  8639. * Control.cs:
  8640. - Added Dispose() and destructor
  8641. - Fixed resizing and bounds calculation
  8642. - Fixed Layout
  8643. - Added memory savings for invisible windows
  8644. 2004-08-13 12:46 jordi
  8645. * TrackBar.cs: adds timer and grap window
  8646. 2004-08-13 10:25 jackson
  8647. * Timer.cs: SWF Timer
  8648. 2004-08-12 16:59 pbartok
  8649. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  8650. - Implemented method to get current mouse position
  8651. 2004-08-12 14:29 jordi
  8652. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  8653. enhancement, fix mouse problems, highli thumb, etc
  8654. 2004-08-12 13:31 pbartok
  8655. * Control.cs:
  8656. - Fixed Anchoring bugs
  8657. 2004-08-12 13:01 jackson
  8658. * StatusBar.cs: Don't forget things
  8659. 2004-08-12 12:54 jackson
  8660. * ThemeWin32Classic.cs: Handle owner draw status bars
  8661. 2004-08-12 12:54 jackson
  8662. * StatusBar.cs: Implement missing properties, events, and methods.
  8663. Handle mouse clicking
  8664. 2004-08-12 10:19 jackson
  8665. * StatusBarPanelClickEventArgs.cs,
  8666. StatusBarPanelClickEventHandler.cs: Classes for handling status
  8667. bar panel click events
  8668. 2004-08-12 10:10 jackson
  8669. * Control.cs: Add missing properties
  8670. 2004-08-12 09:46 pbartok
  8671. * BindingsManagerBase.cs:
  8672. - Name changed to BindingManagerBase.cs
  8673. 2004-08-12 09:25 jordi
  8674. * ScrollableControl.cs: calls ctrlbase instead of exeception
  8675. 2004-08-11 16:28 pbartok
  8676. * InputLanguageChangingEventArgs.cs:
  8677. - Never check in before compiling. Fixes the last check-in
  8678. 2004-08-11 16:26 pbartok
  8679. * InputLanguageChangingEventArgs.cs:
  8680. - More signature fixes
  8681. 2004-08-11 16:20 pbartok
  8682. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  8683. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  8684. ImageListStreamer.cs, InputLanguage.cs,
  8685. InputLanguageChangedEventArgs.cs,
  8686. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  8687. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  8688. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  8689. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  8690. - Signature fixes
  8691. 2004-08-11 16:16 pbartok
  8692. * Application.cs:
  8693. - Fixed Signature
  8694. - Added .Net 1.1 method
  8695. 2004-08-11 15:25 pbartok
  8696. * SWF.csproj:
  8697. - Fixed BindingManagerBase.cs filename
  8698. 2004-08-11 15:22 pbartok
  8699. * BindingManagerBase.cs:
  8700. - Was checked in with wrong filename
  8701. 2004-08-11 14:50 pbartok
  8702. * SWF.csproj:
  8703. - Updated
  8704. 2004-08-11 13:41 jordi
  8705. * XplatUIWin32.cs: Fixes ClientRect
  8706. 2004-08-11 13:19 pbartok
  8707. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  8708. XplatUIX11.cs:
  8709. - We had SetWindowPos and MoveWindow to set window positions and
  8710. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  8711. keep SetWindowPos as matching counterpart
  8712. - Added some X11 sanity checking
  8713. 2004-08-11 12:59 pbartok
  8714. * Control.cs:
  8715. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  8716. (It seems that SetBounds is just a front for SetBoundsCore and
  8717. SetBoundsCore updates the underlying window system and
  8718. UpdateBounds is responsible for updating the variables associated
  8719. with the Control and sending the events)
  8720. - Major cleanup of Size handling; we now have two sizes, client_size
  8721. and bounds. Bounds defines the window with decorations, client_size
  8722. without them.
  8723. 2004-08-11 12:55 pbartok
  8724. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  8725. - Added method to calculate difference between decorated window and
  8726. raw client area
  8727. 2004-08-11 12:54 pbartok
  8728. * Label.cs:
  8729. - Forcing redraw on resize
  8730. 2004-08-11 11:43 pbartok
  8731. * ImageList.cs:
  8732. - Removed disposing of the actual images when the list is disposed
  8733. 2004-08-11 09:13 pbartok
  8734. * Control.cs:
  8735. - Now properly reparents windows
  8736. 2004-08-11 08:37 pbartok
  8737. * Control.cs:
  8738. - Duh!
  8739. 2004-08-11 07:47 pbartok
  8740. * Control.cs:
  8741. - Rewrote the collection stuff. Might not be as fast now, not
  8742. keeping the number of children around and accessible directly, but
  8743. it's more straightforward
  8744. 2004-08-11 07:44 pbartok
  8745. * AccessibleObject.cs:
  8746. - Fixed to match ControlCollection rewrite
  8747. 2004-08-11 07:43 pbartok
  8748. * ImageList.cs:
  8749. - Added missing creation of the collection list
  8750. 2004-08-10 20:08 jackson
  8751. * StatusBar.cs: Get the paint message from WndProc
  8752. 2004-08-10 19:31 jackson
  8753. * ThemeWin32Classic.cs: Create Brushes as little as possible
  8754. 2004-08-10 19:20 jackson
  8755. * UICues.cs: Add Flags attribute
  8756. 2004-08-10 19:19 jackson
  8757. * StatusBarPanel.cs: Signature cleanup
  8758. 2004-08-10 19:10 jackson
  8759. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  8760. Initial implementation of status bar item drawing
  8761. 2004-08-10 17:27 jordi
  8762. * TrackBar.cs: add missing methods, properties, and restructure to
  8763. hide extra ones
  8764. 2004-08-10 16:24 jackson
  8765. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  8766. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  8767. attribute
  8768. 2004-08-10 13:21 jordi
  8769. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  8770. enhancements and standarize on win colors defaults
  8771. 2004-08-10 12:52 jackson
  8772. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  8773. ThemeWin32Classic.cs: Implement DrawItem functionality
  8774. 2004-08-10 12:47 jordi
  8775. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  8776. 2004-08-10 12:32 jordi
  8777. * Control.cs: throw ontextchange event
  8778. 2004-08-10 11:43 pbartok
  8779. * Control.cs:
  8780. - Added more to the still unfinished Dock/Anchor layout code
  8781. 2004-08-10 11:39 pbartok
  8782. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  8783. - Added GetWindowPos method
  8784. 2004-08-10 11:36 pbartok
  8785. * XplatUIWin32.cs:
  8786. - Implemented several methods
  8787. 2004-08-10 09:47 jackson
  8788. * TrackBar.cs: Allow control to handle buffering
  8789. 2004-08-10 09:41 jackson
  8790. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  8791. 2004-08-10 09:24 jackson
  8792. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  8793. 2004-08-10 09:09 jackson
  8794. * StatusBar.cs: Let Control handle all the buffering.
  8795. 2004-08-10 09:08 jackson
  8796. * Control.cs: Control will now handle the buffering code, so each
  8797. control does not have to implement this.
  8798. 2004-08-10 08:34 jackson
  8799. * XplatUIDriver.cs: Use default colors from the theme
  8800. 2004-08-09 17:12 pbartok
  8801. * ImageList.cs:
  8802. - Fixed several bugs Ravindra pointed out
  8803. 2004-08-09 16:11 pbartok
  8804. * Control.cs:
  8805. - Added incomplete dock layout code
  8806. - Added support for mouse wheel
  8807. 2004-08-09 16:09 pbartok
  8808. * XplatUIX11.cs:
  8809. - Added handling for middle and right mousebutton
  8810. - Added handling for mouse wheel
  8811. - Added handling for key state and mouse state and position
  8812. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  8813. messages
  8814. 2004-08-09 15:40 jackson
  8815. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  8816. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  8817. checkin
  8818. 2004-08-09 15:37 jackson
  8819. * StatusBar.cs: Initial implementation of StatusBar
  8820. 2004-08-09 15:36 jackson
  8821. * ITheme.cs: Add support for drawing status bar and getting status
  8822. bar item sizes
  8823. 2004-08-09 15:35 pbartok
  8824. * MouseButtons.cs:
  8825. - Fixed values
  8826. 2004-08-09 15:34 jackson
  8827. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  8828. status bar item sizes
  8829. 2004-08-09 15:21 jackson
  8830. * ThemeWin32Classic.cs: Use known colors for default control
  8831. colours
  8832. 2004-08-09 15:12 jackson
  8833. * ThemeWin32Classic.cs: Make the default font static, it is static
  8834. in control so this doesn't change functionality and creating fonts
  8835. is sloooooow.
  8836. 2004-08-09 14:56 pbartok
  8837. * X11Structs.cs:
  8838. - Added GrabMode enum
  8839. 2004-08-09 14:55 pbartok
  8840. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  8841. - Removed Run method, was only required for initial development
  8842. 2004-08-09 14:51 pbartok
  8843. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  8844. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  8845. capture
  8846. 2004-08-09 13:48 pbartok
  8847. * XplatUIX11.cs:
  8848. - Fixed default sizing for child windows
  8849. 2004-08-09 12:56 pbartok
  8850. * XplatUIX11.cs:
  8851. - Added generation of WM_DESTROY message
  8852. - Added handling of window manager induced shutdown
  8853. 2004-08-09 11:31 jackson
  8854. * ThemeWin32Classic.cs: New names for control properties
  8855. 2004-08-09 11:25 jackson
  8856. * Control.cs: Use new color names
  8857. 2004-08-09 11:02 jackson
  8858. * XplatUI.cs: Get default window properties from the theme
  8859. 2004-08-09 11:01 jackson
  8860. * ITheme.cs: The theme engine now controls default window
  8861. properties
  8862. 2004-08-09 11:00 jackson
  8863. * ThemeWin32Classic.cs: Add default window color properties
  8864. 2004-08-09 10:17 jackson
  8865. * ThemeWin32Classic.cs: Use correct default back color
  8866. 2004-08-09 10:05 jackson
  8867. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  8868. the theme now.
  8869. 2004-08-09 09:56 jackson
  8870. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  8871. 2004-08-09 09:54 jackson
  8872. * Control.cs: Get default properties from the theme.
  8873. 2004-08-09 09:53 jackson
  8874. * ITheme.cs: Themes now handle default control properties
  8875. 2004-08-09 09:53 jackson
  8876. * ThemeWin32Classic.cs: Themes now handle default control
  8877. properties so coloring will be consistent
  8878. 2004-08-08 16:54 jordi
  8879. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  8880. 2004-08-08 15:08 jordi
  8881. * XplatUIX11.cs: fixes keyboard crash
  8882. 2004-08-08 13:47 jordi
  8883. * Label.cs: add cvs header info
  8884. 2004-08-08 12:09 jackson
  8885. * ThemeWin32Classic.cs: Add pen_buttonface
  8886. 2004-08-08 11:52 jordi
  8887. * Label.cs, LinkLabel.cs: [no log message]
  8888. 2004-08-08 11:34 jordi
  8889. * ThemeWin32Classic.cs: Use Windows Standard Colours
  8890. 2004-08-07 17:32 jordi
  8891. * TrackBar.cs: throw exceptions of invalid enums values
  8892. 2004-08-07 17:31 jordi
  8893. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  8894. draw method name
  8895. 2004-08-07 16:56 jackson
  8896. * HorizontalAlignment.cs: Initial checkin
  8897. 2004-08-07 13:16 jordi
  8898. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  8899. methods
  8900. 2004-08-07 13:05 jordi
  8901. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  8902. GetSysColor defines
  8903. 2004-08-06 18:01 pbartok
  8904. * ThemeWin32Classic.cs:
  8905. - Fixed some rounding issues with float/int
  8906. 2004-08-06 18:00 jackson
  8907. * DockStyle.cs, AnchorStyles.cs:
  8908. Add flags and serializable attributes.
  8909. 2004-08-06 17:46 pbartok
  8910. * XplatUIX11.cs:
  8911. - Implemented GetParent
  8912. 2004-08-06 17:18 pbartok
  8913. * TrackBar.cs:
  8914. - Fixed some rounding issues with float/int
  8915. 2004-08-06 17:17 pbartok
  8916. * X11Structs.cs, XplatUIX11.cs:
  8917. - Fixed Refresh and Invalidate
  8918. 2004-08-06 15:30 pbartok
  8919. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  8920. - Fixed recursive loop when resizing
  8921. - Improved/fixed redrawing on expose messages
  8922. 2004-08-06 09:53 jordi
  8923. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  8924. keyboard navigation
  8925. 2004-08-06 08:02 pbartok
  8926. * X11Structs.cs, XplatUIX11.cs:
  8927. - Fixed reparenting
  8928. - Fixed window border creation
  8929. 2004-08-05 15:38 pbartok
  8930. * XplatUIX11.cs:
  8931. - Attempted fix for reparenting problems
  8932. 2004-08-04 15:14 pbartok
  8933. * Control.cs:
  8934. - Fixed Invalidation bug (calculated wrong client area)
  8935. - Added ClientSize setter
  8936. 2004-08-04 15:13 pbartok
  8937. * Form.cs:
  8938. - Added AutoScale properties
  8939. 2004-08-04 15:13 pbartok
  8940. * SWF.csproj:
  8941. - Added latest files
  8942. 2004-08-04 14:11 pbartok
  8943. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  8944. XplatUIX11.cs:
  8945. - Added Invalidate handling
  8946. 2004-08-03 17:09 jordi
  8947. * XplatUIDriver.cs: fixes spelling mistake
  8948. 2004-07-27 09:53 jordi
  8949. * TrackBar.cs: fixes trackbar events, def classname, methods
  8950. signature
  8951. 2004-07-27 09:29 jordi
  8952. * ScrollBar.cs: fixes scrollbar events
  8953. 2004-07-27 04:38 jordi
  8954. * Control.cs: changes to be able to run winforms samples
  8955. 2004-07-26 11:42 jordi
  8956. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  8957. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  8958. 2004-07-26 05:41 jordi
  8959. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  8960. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  8961. implementation
  8962. 2004-07-22 09:22 jordi
  8963. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  8964. check link overlapping, implement events, and fixes
  8965. 2004-07-21 10:28 jordi
  8966. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  8967. 2004-07-21 10:19 jordi
  8968. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  8969. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  8970. LinkLabelLinkClickedEventArgs.cs,
  8971. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  8972. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  8973. implementation
  8974. 2004-07-19 13:09 jordi
  8975. * Control.cs, Label.cs: label control re-written: added missing
  8976. functionlity, events, and properties
  8977. 2004-07-19 10:49 jordi
  8978. * Control.cs: fixes SetBounds logic
  8979. 2004-07-19 01:29 jordi
  8980. * Control.cs: Call RefreshWindow only if the window has created
  8981. 2004-07-15 14:05 pbartok
  8982. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  8983. - Implemented ImageList and ImageList.ImageCollection classes
  8984. - Added ColorDepth enumeration
  8985. - Updated SWF VS.Net project
  8986. 2004-07-15 11:06 jordi
  8987. * XplatUIStructs.cs: added MsgButons enum
  8988. 2004-07-15 11:03 jordi
  8989. * Control.cs: added basic mouse handeling events
  8990. 2004-07-15 03:38 jordi
  8991. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  8992. Vertical TrackBar control implementation
  8993. 2004-07-13 09:33 jordi
  8994. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  8995. 2004-07-13 09:31 jordi
  8996. * Control.cs, Form.cs: commit: new properties and fixes form size
  8997. problems
  8998. 2004-07-09 14:13 miguel
  8999. * ProgressBar.cs: Spelling
  9000. 2004-07-09 11:25 pbartok
  9001. * ProgressBar.cs:
  9002. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  9003. faster
  9004. 2004-07-09 11:17 miguel
  9005. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  9006. * ProgressBar.cs: Fixed spelling for `block'
  9007. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  9008. style guidelines.
  9009. Avoid using the += on rect.X, that exposed a bug in the compiler.
  9010. 2004-07-08 23:21 pbartok
  9011. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  9012. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  9013. BaseCollection.cs, Binding.cs, BindingContext.cs,
  9014. BindingMemberInfo.cs, BindingsCollection.cs,
  9015. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  9016. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  9017. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  9018. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  9019. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  9020. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  9021. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  9022. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  9023. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  9024. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  9025. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  9026. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  9027. InputLanguageChangedEventArgs.cs,
  9028. InputLanguageChangedEventHandler.cs,
  9029. InputLanguageChangingEventArgs.cs,
  9030. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  9031. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  9032. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  9033. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  9034. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  9035. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  9036. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  9037. QueryAccessibilityHelpEventArgs.cs,
  9038. QueryAccessibilityHelpEventHandler.cs,
  9039. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  9040. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  9041. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  9042. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  9043. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  9044. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  9045. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  9046. XplatUIX11.cs, lang.cs:
  9047. - Initial check-in