ChangeLog 479 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946
  1. 2006-05-28 Chris Toshok <[email protected]>
  2. * CurrencyManager.cs (get_Current): after the late binding
  3. listposition = -1 fix, we need to guard against it here and return
  4. null, otherwise we raise an exception (which is swallowed
  5. elsewhere, and breaks datagrid databinding.)
  6. 2006-05-26 Peter Dennis Bartok <[email protected]>
  7. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  8. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  9. 2006-05-26 Jackson Harper <[email protected]>
  10. * ControlPaint.cs:
  11. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  12. values, it's faster and it's all we care about (we don't care if
  13. the names aren't equal).
  14. * KeyboardLayouts.cs: Eliminate some dead code.
  15. - Lazy init things
  16. * X11Keyboard.cs: Lazy init keyboard detection.
  17. - Cleanup access modifiers a little.
  18. 2006-05-26 Peter Dennis Bartok <[email protected]>
  19. * XplatUIX11.cs: Once again, attempting to get layout just right.
  20. 2006-05-26 Peter Dennis Bartok <[email protected]>
  21. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  22. the sizes of each link section, that will result in sizes that
  23. match DrawString's layout (Fixes #78391)
  24. 2006-05-27 Alexander Olk <[email protected]>
  25. * FileDialog.cs: If AddExtension property is true autocomplete the
  26. extensions in SaveFileDialog correctly. Fixes bug #78453.
  27. Set MyNetwork and MyComputer to "C:\" for windows. This should
  28. fix part 8 of bug #78446 for now.
  29. 2006-05-26 Chris Toshok <[email protected]>
  30. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  31. invalidate the current row header if we need to, but presumably
  32. we'll invalidate the row corrsponding to the bounds or
  33. editingControl.
  34. (GridHScrolled): switch back to this method, as it's part of the
  35. public api. *sigh*.
  36. (GridVScrolled): same.
  37. (OnMouseWheel): hack up something that more or less works. Call
  38. GridHScrolled/GridVScrolled directly, instead of duplicating much
  39. of their code here.
  40. (EnsureCellVisibility): reinstate a bunch of this code, since we
  41. can't just set the scrollbar Value and expect to do all the work
  42. in the ValueChanged handler. Also, Call Update() after scrolling
  43. in one direction so the other XplatX11.ScrollWindow call has the
  44. proper stuff in the proper places.
  45. (EditCell): set is_editing to true before calling .Edit.
  46. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  47. don't bother comparing first.
  48. (OnKeyPress): call grid.ColumnStartedEditing before calling
  49. base.OnKeyPress. this will set is_changing and invalidate the row
  50. header if necessary.
  51. (ProcessKeyMessage): for WM_CHAR messages, call
  52. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  53. and WM_KEYDOWN.
  54. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  55. it's done in the DataGrid.
  56. (NextState): call grid.ColumnStartedEditing, which takes care of
  57. invalidating the row header (and setting is_changing).
  58. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  59. here. it's done in the DataGrid.
  60. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  61. * Control.cs: allow changing the cursor when the mouse position is
  62. out of bounds but Capture is set.
  63. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  64. linklabel but released somewhere else.
  65. 2006-05-25 Jackson Harper <[email protected]>
  66. * TreeView.cs: When we get focus if there is no selected node make
  67. it the top node
  68. - Remove some uneeded setup code from Draw.
  69. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  70. a new node is inserted make the new node the top.
  71. * XplatUIX11.cs:
  72. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  73. be used (should be faster).
  74. 2006-05-25 Chris Toshok <[email protected]>
  75. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  76. problem with the last commit.
  77. 2006-05-25 Chris Toshok <[email protected]>
  78. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  79. need the invalidate call here, while scrolling right-to-left via
  80. the left arrow key (i.e. moving the editing cell while scrolling).
  81. * DataGrid.cs (.ctor): remove the initialization of
  82. ctrl_pressed/shift_pressed. We no longer track them using key
  83. up/down handlers, but by using Control.ModifierKeys. Also, switch
  84. to using ValueChanged handlers on the scrollbars instead of
  85. Scrolled event handlers. This simplifies a bunch of the scrolling
  86. code.
  87. (GridHValueChanged): rename from GridHScrolled, and change it to
  88. work with the new event args.
  89. (GridVValueChanged): same.
  90. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  91. (OnMouseWheel): actually scroll the datagrid. Don't change the
  92. selected cell.
  93. (ProcessGridKey): correct all the keyboard navigation stuff I
  94. could find. Ctrl up/down/left/right/home/end work now.
  95. (EnsureCellVisibility): correct method name spelling. Also,
  96. simplify this a touch by not explicitly calling the
  97. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  98. scrollbar value.
  99. (OnKeyUpDG): no need for this method now.
  100. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  101. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  102. Fixes bug #78392.
  103. 2006-05-25 Chris Toshok <[email protected]>
  104. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  105. r61019.
  106. 2006-05-25 Peter Dennis Bartok <[email protected]>
  107. * Application.cs: Moved setting of is_modal and closing to before
  108. we create the control, to allow the event handlers called as a
  109. result of creation affect closing. Also removed Gonzalo's previous
  110. change to setting DialogResult, the behaviour has been moved to
  111. Form.ShowDialog()
  112. * Form.cs:
  113. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  114. handle it instead
  115. - ShowDialog(): If no dialog result is set, we need to return Cancel
  116. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  117. the close is cancelled
  118. 2006-05-25 Jackson Harper <[email protected]>
  119. * StatusBar.cs: We only need to update the sizes of the other
  120. panels when we have auto size contents. Also we are only updating
  121. the contents of the panel, not the borders, so compensate for the
  122. border width (TODO: get this width from the theme somehow).
  123. * TreeView.cs: Scrollable is true by default
  124. - Use invalidate instead of refresh where needed
  125. - Factor the scrollable value into scrollbar updating
  126. - Update the scrollbars if the Scrollable property is altered
  127. - Update the selected node if its ImageIndex is changed
  128. - Handle null nodes in UpdateNode (mainly so we don't have to
  129. check if selected is null when updating it
  130. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  131. are factored into the visible count
  132. - Use VisibleCount for clarity in the code
  133. - When the font is changed we need to recurse through all the
  134. nodes and invalidate their sizes
  135. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  136. * Application.cs: set the DialogResult to fixed when the main form is
  137. hidden or destroyed while being modal.
  138. 2006-05-25 Miguel de Icaza <[email protected]>
  139. * Theme.cs: Use Tangoified messagebox icons.
  140. (GetSizedResourceImage): Also cope with width = 0 and do not
  141. trigger a warning in that case (0 means "give me your icon from
  142. the resouce, no special size needed).
  143. 2006-05-25 Peter Dennis Bartok <[email protected]>
  144. * Application.cs: Leave runloop if the the main modal form is
  145. hidden (fixes #78484)
  146. 2006-05-25 Atsushi Enomoto <[email protected]>
  147. * BindingContext.cs : reject null datasource in Contains() and
  148. Item[].
  149. * CurrencyManager.cs : check data_member validity when data_source
  150. is dataset. When it is late binding, the initial position is -1.
  151. 2006-05-24 Jackson Harper <[email protected]>
  152. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  153. inserted nodes that aren't visible. This changes the
  154. max_visible_order which confuses scrollbar settings.
  155. - Use the enumerator to get the prev node instead of duplicating
  156. code.
  157. * TreeView.cs: Use new method for setting scrollbar values
  158. - Don't set the bounds every time the scrollbar is updated
  159. - When updating below the root node use an invalidate instead of a
  160. refresh to prevent the child controls (scrollbars) from being
  161. refreshed. (UpdateBelow still needs to be reworked anyways).
  162. - Reenable SetBottom now that visible orders are set correctly,
  163. added some debug code incase we ever get bad values there again.
  164. - Set the scrollbar max to 2 less then the max value, this
  165. compensates for the max value being one above the node count, and
  166. for scrollbars adding one extra "notch".
  167. - When drawing image nodes if there is an imagelist we draw the
  168. first image in the list if the supplied image index is out of the
  169. image list's bounds.
  170. 2006-05-24 Peter Dennis Bartok <[email protected]>
  171. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  172. we receive a size change from the WM (Fixes #78503)
  173. 2006-05-24 Peter Dennis Bartok <[email protected]>
  174. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  175. rectangle (Fixes #78501)
  176. 2006-05-24 Peter Dennis Bartok <[email protected]>
  177. * ButtonBase.cs:
  178. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  179. as a bitfield.
  180. - Fixed MouseMove to no longer switch pressed state unless the left
  181. mouse button is pressed. Atsushi provided the original patch (#78485)
  182. 2006-05-24 Jackson Harper <[email protected]>
  183. * ScrollBar.cs: New internal methods that allow us to change a
  184. couple values on the scrollbar (the most common case is maximum
  185. and large change) without getting multiple invalidates.
  186. 2006-05-24 Chris Toshok <[email protected]>
  187. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  188. (Edit): save off the original state in oldState, and set
  189. grid.is_editing to true.
  190. (OnKeyDown): abort editing if escape is pressed. also, call
  191. NextState if space is pressed.
  192. (OnMouseDown): call NextState.
  193. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  194. here. Also, only invalidate the row header once (on the initial
  195. is_changing switch) to save on redraws.
  196. 2006-05-24 Chris Toshok <[email protected]>
  197. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  198. if the value in the cell is different than it was before. This
  199. keeps us from triggering a layout when we move around a datarid
  200. with a highlighted cell.
  201. (Edit): suspend layout when creating/positining the text box, and
  202. resume passing false so we don't ever actually re-layout.
  203. (ReleaseHostedControl): same.
  204. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  205. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  206. control-key sequences should go to the datagrid - remove that
  207. lock. Also, modify the conditions under which we move between
  208. cells when moving the cursor within a cell, and remove the "this"
  209. and "base" from field accesses. We weren't even consistent, given
  210. they all were in the base class.
  211. 2006-05-24 Atsushi Enomoto <[email protected]>
  212. * Binding.cs : (.ctor)
  213. An obvious NRE fix for BindingTest.CtorNullTest().
  214. 2006-05-23 Chris Toshok <[email protected]>
  215. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  216. them between lines. This fixes some quirks editing cells in the
  217. datagrid.
  218. 2006-05-23 Jackson Harper <[email protected]>
  219. * TreeView.cs: Use begin/end update when doing expand/collapse all
  220. so that we don't get flicker on the scrollbar.
  221. 2006-05-23 Jackson Harper <[email protected]>
  222. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  223. treenode calculations to be independant of the painting code. To
  224. do this nodes track a visible order which is calculated by the
  225. treeview.
  226. - Call new methods for expanding/collapsing nodes. These methods
  227. use scrollwindow so we don't have to update everything below the
  228. node.
  229. * TreeView.cs: Refactored drawing and scrolling code. We don't
  230. need to update nodes when drawing anymore or calculate scrollbar
  231. stuff.
  232. - Added new methods for expanding/collapsing nodes. These methods
  233. use ScrollWindow so as to not have to redraw all the nodes below.
  234. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  235. we add/remove nodes or sort.
  236. - Handle removing the selected and the top node properly.
  237. 2006-05-23 Chris Toshok <[email protected]>
  238. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  239. maybe this should actually happen in the datagrid code?
  240. (EndEdit): no need to invalidate anything, given that
  241. ReleaseHostedControl causes the datagrid to relayout, which
  242. invalidates everything anyway.
  243. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  244. in SetCurrentCell).
  245. (set_SelectionBackColor): call InvalidateSelection instead of
  246. Refresh.
  247. (set_SelectionForeColor): same.
  248. (BeginEdit): Flesh this out a bit.
  249. (CancelEditing): only do any of this if we're editing/adding.
  250. (EndEdit): same.
  251. (OnMouseDown): there's no need to cancel editing here, it's done
  252. in SetCurrentCell.
  253. (SetCurrentCell): only invalidate the current row header if it's a
  254. different row than the new one.
  255. (ShiftSelection): fix this to work like MS does.
  256. (ResetSelection): factor out the invalidation of selected_rows to
  257. InvalidateSelection.
  258. (SetDataSource): cancel any editing that's going on.
  259. * DataGridColumnStyle.cs
  260. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  261. call the non-interface version.
  262. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  263. header rectangle with the clip rectangle so we don't redraw the
  264. entire header for just a small area. Gets rid of the last flicker
  265. when horizontally scrolling.
  266. (DataGridPaintRow): same.
  267. 2006-05-23 Mike Kestner <[email protected]>
  268. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  269. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  270. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  271. Critical bug report.
  272. 2006-05-23 Peter Dennis Bartok <[email protected]>
  273. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  274. and this fixes #78493
  275. 2006-05-23 Miguel de Icaza <[email protected]>
  276. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  277. size is not found.
  278. * FileDialog.cs: Do not change the background for the side bar as
  279. it wont work nicely with the theme, and also reduces the artifacts
  280. in rendering the icons (which I want to fix too).
  281. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  282. resources, not resgen resources.
  283. (PlatformDefaultHandler): Pull images using the new API.
  284. 2006-05-23 Peter Dennis Bartok <[email protected]>
  285. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  286. a reference to the hwnd and will not remove it unless there are
  287. no pending exposures (fixes #78341)
  288. * XplatUI.cs: Improved debug
  289. 2006-05-23 Atsushi Enomoto <[email protected]>
  290. * MenuAPI.cs : don't handle OnClick event when it was not the left
  291. button. Fixed bug #78487.
  292. 2006-05-23 Mike Kestner <[email protected]>
  293. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  294. prefer submenus to the top menu for item lookup, to avoid popping down
  295. top-row items.
  296. 2006-05-23 Alexander Olk <[email protected]>
  297. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  298. Graphics.FillRectangle as the visual results are really bad (even
  299. on win). We now draw perfect arrows (and perfect shadows when the
  300. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  301. Pen.DashPattern to draw the dots of each line.
  302. 2006-05-22 Alexander Olk <[email protected]>
  303. * FileDialog.cs: Update the filename combobox when navigating through
  304. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  305. 2006-05-22 Mike Kestner <[email protected]>
  306. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  307. Fixes #78463.
  308. 2006-05-22 Mike Kestner <[email protected]>
  309. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  310. requests. Fix a misspelled parameter and a copy paste exception error
  311. in Select.
  312. 2006-05-22 Peter Dennis Bartok <[email protected]>
  313. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  314. to get the same width/height (5/13) on X11 as the default font has on
  315. win32. This means that our DefaultFont emSize is smaller than the
  316. the MS SWF equivalent (even thought the width/height stays the same)
  317. 2006-05-20 Jackson Harper <[email protected]>
  318. * MdiClient.cs:
  319. * MdiWindowManager.cs:
  320. * InternalWindowManager.cs: Make sure to use the border width from
  321. the theme.
  322. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  323. * PrintDialog.cs: Implements printer details
  324. 2006-05-19 Alexander Olk <[email protected]>
  325. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  326. Fixes part 1 and 2 of bug #78446
  327. 2006-05-19 Peter Dennis Bartok <[email protected]>
  328. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  329. instead of sticking to the first ever calculated value
  330. 2006-05-19 Mike Kestner <[email protected]>
  331. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  332. PointToClient, since Capture is set. Fixes #78344.
  333. 2006-05-19 Mike Kestner <[email protected]>
  334. * ListView.cs: match MS behavior in Details view where items are not
  335. drawn if Columns.Count == 0.
  336. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  337. Use a separate pen to draw the check, since changing the width affects
  338. the box as well. Fixes #78454.
  339. 2006-05-18 Miguel de Icaza <[email protected]>
  340. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  341. exception should throw the name of the invalid argument.
  342. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  343. there are no files listed.
  344. 2006-05-18 Jackson Harper <[email protected]>
  345. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  346. up.
  347. 2006-05-18 Peter Dennis Bartok <[email protected]>
  348. * Control.cs: Brought back our old UpdateZOrder method as a private
  349. function and switched our calls from UpdateZOrder to the new one.
  350. This fixes the Paint.Net canvas disappearing bug.
  351. 2006-05-18 Jackson Harper <[email protected]>
  352. * Theme.cs:
  353. * ThemeWin32Classic.cs:
  354. * InternalWindowManager.cs: Move the drawing into the theme,
  355. expose everything the theme should need from the window manager.
  356. 2006-05-18 Peter Dennis Bartok <[email protected]>
  357. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  358. from the call to NativeWindow to avoid walking up the parent chain
  359. further than needed (speeds up setting cursors and avoids setting
  360. the wrong cursor if a parent has another cursor defined)
  361. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  362. the icon as hotspot, not what's contained as hotspot in the icon
  363. file. This fixes the perceived drawing offset seen with Paint.Net
  364. 2006-05-18 Peter Dennis Bartok <[email protected]>
  365. * XplatUIX11.cs:
  366. - Store the calculated rectangle in Hwnd object and use it when
  367. setting the client size
  368. - Force Toolwindows to always be type Dock, to ensure they're on top
  369. 2006-05-18 Mike Kestner <[email protected]>
  370. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  371. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  372. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  373. Substantial refactoring to remove confusing nested classes. Coding
  374. standard and Get+Set->property refactorings. Shift to index based
  375. highlighting in ComboListBox instead of constantly using IndexOf and
  376. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  377. in FileDialog growth. Draw borders manually since Simple mode needs
  378. to look like two independent controls. Make listbox border
  379. conditional to DropDownStyle. Improved OwnerDraw support.
  380. 2006-05-18 Sebastien Pouliot <[email protected]>
  381. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  382. Don't set the disposed graphics to null, so we can throw the "right"
  383. exception if the graphics is reused later (added a flag to avoid
  384. double disposing). Some behaviours are different under 2.0 and are
  385. filled under bug #78448.
  386. 2006-05-18 Peter Dennis Bartok <[email protected]>
  387. * Control.cs: When double-buffering is enabled, we need to reset
  388. our graphics context between paint calls. Otherwise, any
  389. transformations and other alterations on the context will
  390. become cumulative (#77734)
  391. 2006-05-18 Mike Kestner <[email protected]>
  392. * ListView.cs: do focused item selection like MS on clicks.
  393. Rework focus handling for ItemControl so LostFocus invalidates as
  394. well.
  395. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  396. the ListView ItemControl has focus.
  397. 2006-05-17 Peter Dennis Bartok <[email protected]>
  398. * XplatUIX11.cs: If client_window ends up being width or height zero
  399. due to border settings, move it off window inside whole_window (#78433)
  400. 2006-05-17 Alexander Olk <[email protected]>
  401. * Mime.cs: Shrink the mime file cache correctly.
  402. 2006-05-17 Alexander Olk <[email protected]>
  403. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  404. 2006-05-16 Peter Dennis Bartok <[email protected]>
  405. * XplatUIX11.cs (AddExpose): More sanity checks
  406. 2006-05-16 Peter Dennis Bartok <[email protected]>
  407. * XplatUIX11.cs:
  408. - AddExpose: Don't add expose ranges outside the size of our
  409. window
  410. - Cast opacity values to Int32 to avoid crashes with certain
  411. values
  412. - Added disabled code paths that protect against illegal cross-
  413. thread painting (Developers.exe)
  414. 2006-05-16 Peter Dennis Bartok <[email protected]>
  415. * ProgressBar.cs: Invalidate the control when it's resized
  416. since block size is based on control size. (#78388)
  417. 2006-05-16 Miguel de Icaza <[email protected]>
  418. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  419. of setting the incoming argument to the "reset" value, we set the
  420. this.datamember to string.empty (before we were invalidating the
  421. incoming data).
  422. Fixes 78420
  423. 2006-05-16 Peter Dennis Bartok <[email protected]>
  424. * Form.cs: Only apply transparency settings after the form
  425. is created. (Fixes #77800)
  426. 2006-05-16 Peter Dennis Bartok <[email protected]>
  427. * ApplicationContext.cs: Grab the HandleDestroyed event so
  428. we know when to fire OnMainFormClosed
  429. 2006-05-16 Peter Dennis Bartok <[email protected]>
  430. * Application.cs: Introduced sub-class to allow tracking of
  431. threads and centralized triggering of the event mess for
  432. ThreadExit, AppExit, etc.. (#76156)
  433. 2006-05-16 Alexander Olk <[email protected]>
  434. * MimeIcon.cs:
  435. - Do not return a null icon index value for a mime subclass.
  436. Instead try the main mime type class too.
  437. - Seems that some newer distributions don't have a link to some
  438. gnome default icons anymore. So check the default gnome dir too.
  439. 2006-05-16 Jackson Harper <[email protected]>
  440. * MdiClient.cs: Don't paint the parent background image if we have
  441. our own background image.
  442. 2006-05-16 Peter Dennis Bartok <[email protected]>
  443. * Control.cs:
  444. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  445. controls, all filled controls are supposed to overlap (#78080)
  446. - UpdateZOrder is supposed to update the control's z-order in the
  447. parent's z-order chain. Fixed to behave like that
  448. - BringToFront: Removed obsolete code
  449. - SendToBack: Simplyfied
  450. - SetChildIndex: Trigger layout calculations when Z-order changes
  451. since layout is done by z-order
  452. 2006-05-16 Chris Toshok <[email protected]>
  453. [ fixes bug #78410 ]
  454. * DataGrid.cs (set_AlternatingBackColor): use
  455. grid_drawing.InvalidateCells instead of Refresh().
  456. (set_BackColor): call grid_drawing.InvalidateCells.
  457. (set_BackgroundColor): use Invalidate instead of Refresh.
  458. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  459. invalidate the cell area.
  460. 2006-05-15 Chris Toshok <[email protected]>
  461. [ fixes bug #78011 ]
  462. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  463. on to DataGridPaintRow.
  464. (DataGridPaintRow): take a clip argument, and only draw the cells
  465. which intersect it. same with the not_usedarea.
  466. * Theme.cs (DataGridPaintRow) add @clip parameter.
  467. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  468. XplatUI.ScrollWindow.
  469. (ScrollToRow): same.
  470. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  471. with last column which was causing a gray swath to appear with the
  472. XplatUI.ScrollWindow code.
  473. 2006-05-15 Chris Toshok <[email protected]>
  474. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  475. use XplatUI.ScrollWindow.
  476. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  477. 2006-05-15 Peter Dennis Bartok <[email protected]>
  478. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  479. 2006-05-15 Peter Dennis Bartok <[email protected]>
  480. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  481. file since there are no equivalent X11 cursors
  482. 2006-05-15 Atsushi Enomoto <[email protected]>
  483. * MonthCalendar.cs : DateTimePicker should reflect selected date
  484. on mouse*up*, not mouse*down*. Fixed originally reported part of
  485. bug #76474.
  486. 2006-05-15 Atsushi Enomoto <[email protected]>
  487. * TabControl.cs : When argument index is equal or more than tab
  488. count, just ignore. Fixed bug #78395.
  489. 2006-05-15 Peter Dennis Bartok <[email protected]>
  490. * Control.cs: Dispose all child controls when control is diposed (#78394)
  491. 2006-05-14 Alexander Olk <[email protected]>
  492. * ColorDialog.cs: Finally it is possible to select the color with
  493. the text boxes
  494. 2006-05-14 Alexander Olk <[email protected]>
  495. * PrintDialog.cs: Fix typo
  496. 2006-05-14 Alexander Olk <[email protected]>
  497. * PrintDialog.cs: PrintDialog is not resizable
  498. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  499. color. Made some ToolBar drawing methods protected virtual.
  500. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  501. * PrintDialog.cs: Implementation of the PrintDialog
  502. 2006-05-12 Chris Toshok <[email protected]>
  503. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  504. thumb, instead use MoveThumb. This has the side effect of making
  505. most of the other thumb moving machinery use MoveThumb as well.
  506. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  507. need to actually invalidate the rectangle where the new thumb will
  508. go.
  509. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  510. We force an Update() after, so it's not as fast as it could be,
  511. but at least there's zero flicker and no droppings.
  512. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  513. (UpdateThumbPos): add another argument (dirty), which says whether
  514. or not to calculate/add dirty regions which we later invalidate.
  515. For cases where we know we're going to use MoveThumb, we pass
  516. false for this. Otherwise, pass true.
  517. 2006-05-12 Jackson Harper <[email protected]>
  518. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  519. the status bar.
  520. 2006-05-12 Peter Dennis Bartok <[email protected]>
  521. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  522. and GetClipRegion methods and UserClipWontExposeParent property.
  523. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  524. overriding UserClipWontExposeParent property, setting to false, since
  525. Win32 handles the required expose messages to draw our clipped parent
  526. areas internally
  527. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  528. PaintEventStart to set the user clip region if set.
  529. * Control.cs:
  530. - Now internally tracking the Region for the control since we need to
  531. store it if the handle is not yet created and only set it when it
  532. becomes created. Before setting the region forced handle creation
  533. - Added code to draw the parents underneath a user-clipped region
  534. * Hwnd.cs: Added UserClip property
  535. 2006-05-12 Chris Toshok <[email protected]>
  536. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  537. (set_Maximum): same.
  538. (set_Minimum): same.
  539. (set_SmallChange): same.
  540. (OnMouseUpSB): remove the call to refresh when releasing the
  541. thumb. We shouldn't need it.
  542. 2006-05-12 Miguel de Icaza <[email protected]>
  543. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  544. AutoSize set to None, we do not need to relayout everything, we
  545. just need to invalidate the current region.
  546. (Draw): Do not draw the entire ClientArea, just redraw the
  547. clip area being passed.
  548. * MdiClient.cs: Make MdiClient constructor with the Form argument
  549. internal.
  550. 2006-05-12 Jackson Harper <[email protected]>
  551. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  552. parents background image, but strangely not their own.
  553. - (DrawStatusBarPanel): Take into account horizontal alignment
  554. when drawing the strings and icons.
  555. 2006-05-12 Mike Kestner <[email protected]>
  556. * ListBox.cs: avoid invalidations for focus when the collection is
  557. empty.
  558. 2006-05-12 Chris Toshok <[email protected]>
  559. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  560. invalidate the entire thumb area. Call InvalidateDirty which
  561. limits the redraw to the thumb itself and surrounding pixels.
  562. * XplatUIX11.cs (ScrollWindow): optimize copying.
  563. 2006-05-12 Chris Toshok <[email protected]>
  564. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  565. Figure out the positioning/layout in a single pass instead of
  566. multiple recursive invocations. Speeds up the initial display of
  567. the data grid. Also, make many things private that were
  568. originally public but unused outside this class.
  569. 2006-05-11 Jackson Harper <[email protected]>
  570. * MdiClient.cs: Improved layout code.
  571. 2006-05-11 Jonathan Chambers <[email protected]>
  572. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  573. not SelectedObject.
  574. 2006-05-11 Chris Toshok <[email protected]>
  575. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  576. union of that will always be {0,0,width,height}.
  577. 2006-05-11 Jackson Harper <[email protected]>
  578. * Form.cs: Match MS's DefaultSize for forms (they must have
  579. changed the size in sp2).
  580. 2006-05-11 Atsushi Enomoto <[email protected]>
  581. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  582. 2006-05-11 Atsushi Enomoto <[email protected]>
  583. * TextControl.cs : Fixed bug #78109. This incorrect position
  584. comparison caused crash on automatic line split.
  585. * TextBoxBase.cs : reduce duplicate code.
  586. 2006-05-10 Jackson Harper <[email protected]>
  587. * MdiClient.cs: Active form is only sent to the back when using
  588. the Next form functionality, when a form is clicked the current
  589. active shouldn't be sent to the back.
  590. - Layout the mdi windows when the container is first made visible.
  591. * Form.cs: Give the MdiClient a ref to the containing form when we
  592. create it.
  593. 2006-05-10 Atsushi Enomoto <[email protected]>
  594. * LinkLabel.cs : link_font could be uninitialized, so populate one
  595. before actual use. Fixed bug #78340.
  596. 2006-05-10 Atsushi Enomoto <[email protected]>
  597. * XplatUIX11.cs : clipboard format native value is IntPtr.
  598. Fixed bug #78283.
  599. 2006-05-10 Peter Dennis Bartok <[email protected]>
  600. * Control.cs:
  601. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  602. which is passed up the parent chain by DefWndProc
  603. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  604. to DefWndProc (#77956)
  605. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  606. 2006-05-10 Jackson Harper <[email protected]>
  607. * MdiClient.cs: We need to remove the controls from the mdi
  608. collection, when we close the window.
  609. * MdiWindowManager.cs: Special handling of closing mdi windows.
  610. * InternalWindowManager.cs: Make the close method virtual so the
  611. mdi window manager can handle it specially.
  612. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  613. * DataGrid.cs:
  614. - Recalculate grid when the data source has changed
  615. - Matches styles provided by user from all data sources types
  616. * DataGridTableStyle.cs: For columns that provided by the user set the
  617. with the preferred value is there was unassigned.
  618. * CurrencyManager.cs: throw OnItemChanged event
  619. 2006-05-10 Peter Dennis Bartok <[email protected]>
  620. * PictureBox.cs: Don't animate until handle is created. Start animation
  621. when handle is created.
  622. 2006-05-10 Peter Dennis Bartok <[email protected]>
  623. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  624. current codebase.
  625. * XEventQueue.cs: We don't need to provide the extra info
  626. 2006-05-10 Jackson Harper <[email protected]>
  627. * MdiClient.cs: If the mdi clients parent form has a background
  628. image set, we draw that background image for the mdi area's
  629. background.
  630. 2006-05-10 Peter Dennis Bartok <[email protected]>
  631. * TextBoxBase.cs: Set IBeam cursor (#78347)
  632. 2006-05-10 Mike Kestner <[email protected]>
  633. * ToolBar.cs: fix some text padding issues with ButtonSize
  634. calculation. Update the default size to match MS documentation.
  635. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  636. button size. Fixes #78296.
  637. 2006-05-10 Mike Kestner <[email protected]>
  638. * ListBox.cs: use is_visible for scrollbar positioning in case the
  639. control isn't on screen yet. Fix off by one with Right vs Width
  640. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  641. 2006-05-10 Jackson Harper <[email protected]>
  642. * X11Dnd.cs: Drop to a control with another control on top of it.
  643. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  644. be modified in click handlers. TODO: Look for similar problems in
  645. other controls.
  646. 2006-05-09 Jackson Harper <[email protected]>
  647. * Form.cs: Window managers need the old window state when setting
  648. window state now.
  649. * InternalWindowManager.cs: Allow the base mdi window manager to
  650. handle more of the MDI only stuff (like maximize buttons).
  651. * MdiWindowManager.cs: Fix some snafus in changing the window
  652. state. Add all the menu functionality, for both popup and
  653. maximized menus.
  654. * MdiClient.cs: When a new form is selected the currently
  655. activated form is sent to the back, this matches MS.
  656. - Implement a new method to activate the next mdi child window.
  657. 2006-05-08 Peter Dennis Bartok <[email protected]>
  658. * Control.cs:
  659. - Added new InternalCapture method to allow controls to prevent
  660. the capture behaviour on the click handlers
  661. - Switched to use InternalCapture
  662. * ComboBox.cs:
  663. - Using InternalCapture to prevent mouse captures from being released
  664. on mouse button release (Fixes #78100)
  665. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  666. returns Form borders if a caption is present. (Fixes #78310)
  667. 2006-05-08 Peter Dennis Bartok <[email protected]>
  668. * TreeNode.cs: Changed serialization .ctor to not require every field
  669. to be present. (#78265)
  670. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  671. 2006-05-05 Alexander Olk <[email protected]>
  672. * MimeIcon.cs: for is faster than foreach for strings.
  673. 2006-05-05 Mike Kestner <[email protected]>
  674. * CheckedListBox.cs: update check handling code to not use selected.
  675. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  676. behavior for visual feedback, motion response, shift/ctrl handling,
  677. and properly deal with all 4 selection modes. Updates to bounds
  678. handling logic. Add scroll wheel support. [Fixes #77842]
  679. 2006-05-05 Peter Dennis Bartok <[email protected]>
  680. * ListView.cs:
  681. - Moved adding of Implicit controls into .ctor. That way, subsequent
  682. creation of the controls will not cause them to think they are
  683. toplevel windows (fixes #78200 header problem)
  684. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  685. - Switched visibility setting of header control to use internal field
  686. to avoid triggering handle creation
  687. - Now checking if handle is created before causing a refresh when items
  688. are added (This makes us now match handle creation time with MS)
  689. * Splitter.cs: Removed loading of private splitter cursor, switched to
  690. Cursors version now that that is loading the right ones
  691. * Cursors.cs: Load proper splitter cursors from resources
  692. * Cursor.cs: Added second method of loading resource cursors for the
  693. VS.Net users amongst us
  694. 2006-05-05 Mike Kestner <[email protected]>
  695. * ListView.cs: give header_control a minimum size based on the
  696. ListView size.
  697. 2006-05-05 Peter Dennis Bartok <[email protected]>
  698. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  699. window seems to do that with metacity, so set that type. (#78120)
  700. 2006-05-05 Mike Kestner <[email protected]>
  701. * ListViewItem.cs: fix Details mode checkbox layout bug.
  702. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  703. at the end of the header, if it exists. [Fixes for #78200]
  704. 2006-05-04 Jackson Harper <[email protected]>
  705. * MdiClient.cs: Add a helper property to get the container form.
  706. * MdiWindowManager.cs: We have to make sure to use the menu origin
  707. when drawing the icons and buttons, this fixes maximized window
  708. icons/buttons on win32.
  709. * InternalWindowManager.cs: Reset the restore captions when a
  710. window goes from Maximized to Minimized and vice versa. Move the
  711. DrawMaximizedButtons into the MdiWindowManager source, tool
  712. windows can't be maximized. NOTE: This could use a little
  713. refactoring if time ever permits.
  714. 2006-05-03 Jonathan Chambers <[email protected]>
  715. * TextBox.cs: Add MWFCategoryAttributes
  716. * TextBoxBase.cs: Add MWFCategoryAttributes
  717. * Form.cs: Add MWFCategoryAttributes
  718. 2006-05-03 Jonathan Chambers <[email protected]>
  719. * Control.cs: Add MWFCategoryAttributes
  720. * ScrollableControl.cs: Add MWFCategoryAttributes
  721. 2006-05-03 Alexander Olk <[email protected]>
  722. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  723. Divider is true. Fix a little glitch in PropertyToolBar
  724. drawing code
  725. 2006-05-02 Peter Dennis Bartok <[email protected]>
  726. * Control.cs:
  727. - Dispose: Call base.Dispose, this causes the disposed event
  728. to be fired (and probably other, more important stuff)
  729. - SetVisibleCore: Set is_visible to true after creating the
  730. window so that the window still gets created invisible (if
  731. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  732. to generate a WM_ACTIVE message
  733. * Form.cs: Call Dispose when we want to destroy the window, instead of
  734. just destroying the handle (Dispose will do that for us)
  735. * XplatUIX11.cs:
  736. - RootWindow also needs a queue, so we can properly process the
  737. property change events from RootWindow (like Activate)
  738. - Generatic synthetic WM_ACTIVE message when the active window is
  739. being destroyed
  740. 2006-05-01 Peter Dennis Bartok <[email protected]>
  741. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  742. bounds are changed
  743. 2006-05-01 Peter Dennis Bartok <[email protected]>
  744. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  745. for determining width and height (image might not be assigned if
  746. we're drawing an imagelist)
  747. 2006-05-01 Peter Dennis Bartok <[email protected]>
  748. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  749. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  750. height from system
  751. * Theme.cs: No longer returns hardcoded menu height, instead calls
  752. new driver method
  753. * Form.cs (OnLoad): Scaling happens before triggering Load events
  754. on MS (# 78257)
  755. 2006-05-01 Mike Kestner <[email protected]>
  756. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  757. 2006-04-30 Peter Dennis Bartok <[email protected]>
  758. * TextBoxBase.cs: Removed Fixme
  759. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  760. 2006-04-30 Peter Dennis Bartok <[email protected]>
  761. * XplatUIX11.cs:
  762. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  763. the rectangle relative to the parent, considering borders. We
  764. don't really want that.
  765. - ScrollWindow: Fixed warning to be more understandable
  766. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  767. scrollbars and scroll only the visible area
  768. * RichTextBox.cs: Removed debug output
  769. 2006-04-29 Peter Dennis Bartok <[email protected]>
  770. * NumericUpDown.cs (Text): Just use base
  771. * UpDownBase.cs: Ensure txtView is created before using it
  772. 2006-04-29 Peter Dennis Bartok <[email protected]>
  773. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  774. casting to IntPtr to avoid 64bit overflow errors
  775. 2006-04-29 Peter Dennis Bartok <[email protected]>
  776. * Control.cs:
  777. - AllowDrop: Don't force handle creation.
  778. - CreateHandle: Added call to tell driver if we're allowed to drop
  779. 2006-04-27 Alexander Olk <[email protected]>
  780. * FileDialog.cs: Remember the last directory not only for the
  781. current instance but also for new FileDialog instances.
  782. 2006-04-29 Peter Dennis Bartok <[email protected]>
  783. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  784. broke sending async messages
  785. 2006-04-29 Peter Dennis Bartok <[email protected]>
  786. * XplatUIX11.cs:
  787. - ScrollWindow: Fixed method. We finally generate expose events again
  788. for scrolled areas. This was causing 'garbage' when scrolling
  789. textbox and other controls that used ScrollWindow
  790. - Switched from using the regular queue for paint events to the MS
  791. model of 'generating' paint events when the queue is empty.
  792. We use the new XQueueEvent.Paint subclass to store which windows
  793. need painting.
  794. - AddExpose now takes the x/y/width/height of the exposed area
  795. and inserts the window into the paint queue if not already there
  796. - InvalidateWholeWindow: Switched to use new AddExpose method
  797. - UpdateMessageQueue: Added which queue to monitor for paint events
  798. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  799. the unlikely case nothing above handles it. We reset the expose
  800. pending states to get them off the queue.
  801. - GetMessage: Now pulls a paint event if no other events are in the
  802. queue
  803. - Invalidate: Switched to new AddExpose method
  804. - PeekMessage: Updated to understand pending paint events
  805. - UpdateWindow: Fixed logic bug. We were only updating if the window
  806. didn't need updating. Also switched to sending WM_PAINT directly,
  807. like MS does.
  808. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  809. and random access Remove(). The random access is needed to handle
  810. UpdateWindow() where a WM_PAINT is sent directly without accessing
  811. the queue.
  812. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  813. allow for better feedback when scrolling. Scrollbars are small and
  814. the immediate update should make it 'feel' more responsive without
  815. slowing things down. ScrollBar still needs it's invaliate logic
  816. updated to not always invalidate the whole bar on certain changes.
  817. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  818. * Control.cs:
  819. (BackColor): if the control does not support a transparent background,
  820. return the default backcolor when the parent backcolor is transparent.
  821. 2006-04-28 Peter Dennis Bartok <[email protected]>
  822. * Application.cs: Updated to new StartLoop/GetMessage API
  823. * RichTextBox.cs: Provide some output on RTF parsing errors
  824. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  825. new queue_id argument to GetMessage and PeekMessage to allow faster
  826. handling of per-thread queues in drivers.
  827. * Hwnd.cs: Added Queue tracking and property
  828. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  829. * XEventQueue.cs: Added thread trackingA
  830. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  831. * XplatUIX11.cs:
  832. - Implemented new per-thread queue
  833. - GetMessage: Fixed return/break behaviour on several cases. We were
  834. returning stale messages in some cases, instead of just processing
  835. the next message
  836. 2006-04-27 Jonathan Chambers <[email protected]>
  837. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  838. 2006-04-27 Peter Dennis Bartok <[email protected]>
  839. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  840. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  841. 2006-04-27 Jonathan Chambers <[email protected]>
  842. * PropertyGridView.cs: Fix drop down width.
  843. 2006-04-27 Alexander Olk <[email protected]>
  844. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  845. a mess in DrawToolBar, so I removed one of them.
  846. 2006-04-27 Alexander Olk <[email protected]>
  847. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  848. needed (clip). Otherwise we get artifacts.
  849. 2006-04-26 Peter Dennis Bartok <[email protected]>
  850. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  851. dimension is fixed
  852. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  853. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  854. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  855. if it matches the scale base font (avoids unneeded scaling)
  856. 2006-04-26 Alexander Olk <[email protected]>
  857. * X11DesktopColors.cs: One gtk_init_check should be enough
  858. 2006-04-26 Peter Dennis Bartok <[email protected]>
  859. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  860. match MS behaviour
  861. 2006-04-26 Peter Dennis Bartok <[email protected]>
  862. * TextBoxBase.cs:
  863. - Generate OnTextChanged for Backspace even if we're only deleting
  864. the current selection
  865. - When setting the Text property, only select all text if the
  866. control does not have focus when it is being set. Otherwise
  867. just place the cursor at the beginning of the control
  868. 2006-04-26 Alexander Olk <[email protected]>
  869. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  870. Added a little helper to draw PropertyGrid ToolBar with a different
  871. border and a different BackColor.
  872. * PropertyGrid.cs: Some background parts didn't get painted with the
  873. correct background color. Added a class that helps us to draw the
  874. correct border for PropertyGridView and a class that helps us to
  875. draw ToolBars with a different backcolor
  876. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  877. 2006-04-25 Jonathan Chambers <[email protected]>
  878. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  879. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  880. 2006-04-25 Peter Dennis Bartok <[email protected]>
  881. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  882. into the palette entries. Also, since we're working on a copy
  883. we needed to copy the palette back onto the bitmap.
  884. * Cursor.cs: Same fix as XplatUIWin32.cs.
  885. 2006-04-25 Peter Dennis Bartok <[email protected]>
  886. * ImageListStreamer.cs: Need to read the var (or we're off)
  887. 2006-04-25 Peter Dennis Bartok <[email protected]>
  888. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  889. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  890. TextBoxBase.cs: Unused var fixes
  891. * AxHost.cs: Small 2.0 fix
  892. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  893. as it seems that is what at least Metacity expects. This will make
  894. icons show up on 64bit platforms. We still have some 64bit size
  895. issues, though, since the startup app window size still won't match.
  896. 2006-04-25 Mike Kestner <[email protected]>
  897. * *.cs: cleanup newly reported exception var unused warnings.
  898. 2006-04-25 Alexander Olk <[email protected]>
  899. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  900. ms
  901. 2006-04-25 Alexander Olk <[email protected]>
  902. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  903. image. The image position is always the same, no matter if the
  904. button is pressed or not.
  905. 2006-04-25 Alexander Olk <[email protected]>
  906. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  907. selection and set the correct filename for SaveFileDialog.
  908. Patch by Emery Conrad.
  909. 2006-04-24 Mike Kestner <[email protected]>
  910. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  911. check for item.X outside the ClientRect instead of item.Y. Fixes
  912. #78151.
  913. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  914. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  915. trust that value blindly and do some sanity check. Fixes bug #77814.
  916. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  917. * ImageListStreamer.cs: save the mask as a 1bpp image.
  918. 2006-04-21 Mike Kestner <[email protected]>
  919. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  920. pass Checked and Indeterminate to the Theme Engine. Improve
  921. encapsulation with ListBox.
  922. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  923. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  924. nested types. Move all CheckState functionality to CheckedListBox.
  925. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  926. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  927. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  928. single base list. Fix scrollbar sizing and placement to mirror MS.
  929. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  930. used.
  931. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  932. for CheckedListBox by using new DrawItemState info. Center the
  933. checkboxes on the items. Use new StringFormat property.
  934. 2006-04-18 Jackson Harper <[email protected]>
  935. * Form.cs: MdiChildren don't do default locations the same way as
  936. regular forms. This prevents a crash when trying to position the
  937. mdi windows.
  938. 2006-04-17 Jonathan Chambers <[email protected]>
  939. * PropertyGridTextBox.cs: Formatting, copyright
  940. * PropertiesTab.cs: Formatting
  941. * PropertyGrid.cs: Formatting
  942. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  943. click toggling of values
  944. 2006-04-17 Peter Dennis Bartok <[email protected]>
  945. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  946. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  947. every time a control is created
  948. * Application.cs: Removed obsolete EnableRTLMirroring method
  949. 2006-04-18 Gert Driesen <[email protected]>
  950. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  951. SelectedIndex to -1. Fixes bug #78121.
  952. 2006-04-17 Jackson Harper <[email protected]>
  953. * Binding.cs: Handle null values for Current and BindingContext.
  954. This occurs when binding is a little delayed.
  955. * CurrencyManager.cs: return null for Current when there are no
  956. items in the list.
  957. - Hookup to the listchanged event on the DataView and update
  958. bindings when the list is changed. This fixes late binding of
  959. controls.
  960. 2006-04-17 Jackson Harper <[email protected]>
  961. * X11Dnd.cs:
  962. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  963. Ringenbach.
  964. 2006-04-15 Alexander Olk <[email protected]>
  965. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  966. place
  967. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  968. with the correct ButtonState
  969. 2006-04-14 Peter Dennis Bartok <[email protected]>
  970. * XplatUIX11.cs: Improved distinguishing between window types to
  971. tell the WM a type closer to what the app wants (Fixes #78107)
  972. 2006-04-14 Alexander Olk <[email protected]>
  973. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  974. GrabHandle
  975. 2006-04-14 Alexander Olk <[email protected]>
  976. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  977. drawing code to reflect the size grip changes
  978. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  979. * ImageListStreamer.cs: fix handling of the mask that follows the main
  980. bitmap when deserializing and serialize it properly. The generated mask
  981. should better be a 1bpp image, but I'll do that later.
  982. 2006-04-13 Alexander Olk <[email protected]>
  983. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  984. path doesn't fit into some of our Current.Places
  985. 2006-04-13 Jackson Harper <[email protected]>
  986. * ComboBox.cs: Use borders instead of drawing our own decorations,
  987. try to obey correct rules for heights.
  988. * Theme.cs:
  989. * ThemeNice.cs:
  990. * ThemeClearLooks.cs:
  991. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  992. this is now handled by borders.
  993. - Remove unused DrawListBoxDecorationSize method.
  994. 2006-04-13 Mike Kestner <[email protected]>
  995. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  996. reported by Alex.
  997. 2006-04-13 Alexander Olk <[email protected]>
  998. * ThemeWin32Classic.cs:
  999. - Fixed CPDrawStringDisabled
  1000. - Corrected drawing of disabled menu items
  1001. - Fixed drawing of disabled radio buttons (bug #78095)
  1002. - Draw check in a disabled CheckBox with color ControlDark
  1003. 2006-04-12 Peter Dennis Bartok <[email protected]>
  1004. * Form.cs: Use the provided width when calculating the menu size;
  1005. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  1006. and ClientSize.Width won't be updated yet
  1007. * Application.cs: Use Visible instead of Show() to make form visible,
  1008. this way we create the handle later and menusize is considered
  1009. 2006-04-12 Mike Kestner <[email protected]>
  1010. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  1011. reporting.
  1012. 2006-04-12 Peter Dennis Bartok <[email protected]>
  1013. * TextBox.cs: Implemented context menu
  1014. 2006-04-12 Mike Kestner <[email protected]>
  1015. * ListView.cs: implement box selection. fixes #77838.
  1016. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  1017. 2006-04-12 Peter Dennis Bartok <[email protected]>
  1018. * XplatUIX11.cs: Added setting of window type when transient window
  1019. is created (metacity would move it otherwise)
  1020. * X11Structs.cs: Added WINDOW_TYPE atoms
  1021. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  1022. background (the control is Opaque but still wants transparent
  1023. backgrounds)
  1024. 2006-04-12 Peter Dennis Bartok <[email protected]>
  1025. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  1026. that set Opaque but don't mean it (like all ButtonBase-derived
  1027. controls) to still draw their background
  1028. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  1029. the background
  1030. 2006-04-12 Peter Dennis Bartok <[email protected]>
  1031. * Control.cs (PaintControlBackground): Set the graphics object
  1032. on our PaintEvent to null to prevent it from being disposed
  1033. when the PaintEvent gets disposed
  1034. 2006-04-12 Alexander Olk <[email protected]>
  1035. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  1036. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  1037. 2006-04-12 Peter Dennis Bartok <[email protected]>
  1038. * Control.cs:
  1039. - Added transparency check to BackColor property. Transparent
  1040. backgrounds are only allowed if the control styles permit it
  1041. - Added recursive painting of parent control background and
  1042. foreground if a control with a transparent backcolor is drawn
  1043. (Thanks to Tim Ringenback for providing his 'hack' as a base
  1044. for this patch) Fixes #77985 and #78026.
  1045. - Added Opaque style check before calling OnPaintBackground, no
  1046. need to draw the background if the control is opaque
  1047. - Removed ControlAccessibleObject owner variable (inherited from
  1048. base, no need to define again)
  1049. - Added some documentation links explaining the drawing events
  1050. and styles
  1051. 2006-04-11 Peter Dennis Bartok <[email protected]>
  1052. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  1053. that the affected control is the located at the left border of our
  1054. parent (Fixes #77936)
  1055. 2006-04-11 Peter Dennis Bartok <[email protected]>
  1056. * TextBoxBase.cs: When rendering disabled or readonly controls,
  1057. draw the background with 'Control' instead of 'Window' color as
  1058. long as the user hasn't specifically set a color
  1059. 2006-04-11 Peter Dennis Bartok <[email protected]>
  1060. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  1061. since that won't be updated if the user types text (only if it's
  1062. programatically set)
  1063. 2006-04-11 Peter Dennis Bartok <[email protected]>
  1064. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  1065. layout changes do to app-triggered resizes will have the proper
  1066. display rectangle for layout
  1067. 2006-04-11 Alexander Olk <[email protected]>
  1068. * ThemeWin32Classic.cs:
  1069. - Make use of the SystemBrushes and SystemPens wherever possible
  1070. - Corrected some highlight colors
  1071. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  1072. drawing
  1073. * Theme.cs: Added Empty field to CPColor struct
  1074. 2006-04-11 Peter Dennis Bartok <[email protected]>
  1075. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  1076. is displayed when calculating the display rectangle. Thanks to Mike
  1077. for teaching me the err of my ways.
  1078. 2006-04-10 Peter Dennis Bartok <[email protected]>
  1079. * ScrollableControl.cs:
  1080. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  1081. (instead of 0,0) and we now return the real width/height instead of
  1082. just the clientrectangle, adjusted for padding. The rectangle is
  1083. now cached and created by the new CalculateDisplayRectangle method.
  1084. - Created new CalculateDisplayRectange method, which basically does
  1085. what get_DisplayRectangle() did originally, but now using the
  1086. right edge instead of DisplayRectangle to determine the size of
  1087. our scrollbars
  1088. - get_Canvas(): Fixed it to properly calculate canvas for
  1089. right/bottom controls which seem to be placed to the right/bottom
  1090. of any controls that have a fixed location
  1091. - Removed TODO that's taken care of
  1092. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  1093. and SetDisplayRectLocation according to new MSDN2 docs
  1094. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  1095. event when that is called, this is added for compatibility
  1096. - ScrollControlIntoView(): Implemented.
  1097. - Switched scrollbars to be implicit, they shouldn't be selectable
  1098. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  1099. call it when the active control is set/changed
  1100. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  1101. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  1102. implicit_control variable (used for native Win32 message generation)
  1103. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  1104. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  1105. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  1106. * XplatUIStructs.cs: Added ScrollBarCommands enum
  1107. 2006-04-10 Jackson Harper <[email protected]>
  1108. * ButtonBase.cs:
  1109. * CheckedListBox.cs:
  1110. * ComboBox.cs:
  1111. * DataGrid.cs:
  1112. * DataGridView.cs:
  1113. * Form.cs:
  1114. * GroupBox.cs:
  1115. * ListBox.cs:
  1116. * PrintPreviewControl.cs:
  1117. * ProgressBar.cs:
  1118. * PropertyGrid.cs:
  1119. * Splitter.cs:
  1120. * StatusBar.cs:
  1121. * TrackBar.cs:
  1122. * UpDownBase.cs: Fixup base event overrides.
  1123. 2006-04-06 Mike Kestner <[email protected]>
  1124. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  1125. all user-initiated value changes to min <= value <= max-thumbsz+1.
  1126. (set_Value): check for vert/horiz when calculating new thumb position.
  1127. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  1128. like MS does.
  1129. (OnMouseMoveSB): refactor the thumb dragging code and refine
  1130. invalidation logic to reduce flicker.
  1131. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  1132. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  1133. (UpdateThumbPosition): small code readability cleanup
  1134. 2006-04-10 Alexander Olk <[email protected]>
  1135. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  1136. different
  1137. 2006-04-08 Alexander Olk <[email protected]>
  1138. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  1139. 2006-04-08 Alexander Olk <[email protected]>
  1140. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  1141. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  1142. This dramatically reduces the number of Pen.Dispose calls.
  1143. Where possible call ResPool methods only once instead of calling it
  1144. over and over again (for example for the same color).
  1145. 2006-04-06 Mike Kestner <[email protected]>
  1146. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  1147. Also remove an unused private field on the collection. Fixes #77972.
  1148. 2006-04-06 Alexander Olk <[email protected]>
  1149. * ThemeNice.cs: Added ToolBar drawing code
  1150. 2006-04-06 Mike Kestner <[email protected]>
  1151. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  1152. I'm assuming that means we need to look up the toplevel for the
  1153. provided control. Fixes the crash trace in #77911 but exposes another
  1154. crash in some strange reflection usage in NDocGui.
  1155. 2006-04-06 Alexander Olk <[email protected]>
  1156. * ThemeNice.cs: Gave it a little silver touch and added Images
  1157. method
  1158. * FontDialog.cs: FontDialog is not resizable
  1159. * FileDialg.cs: Added SizeGripStyle.Show
  1160. 2006-04-05 Jackson Harper <[email protected]>
  1161. * KeyboardLayouts.cs: Remove warning.
  1162. 2006-04-05 Jackson Harper <[email protected]>
  1163. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  1164. all of our controls instead of Paint +=.
  1165. * ListBox.cs:
  1166. * ListView.cs:
  1167. * MenuAPI.cs:
  1168. * MessageBox.cs:
  1169. * NotifyIcon.cs:
  1170. * ProgressBar.cs:
  1171. * ScrollBar.cs:
  1172. * Splitter.cs:
  1173. * StatusBar.cs:
  1174. * TabControl.cs:
  1175. * TextBoxBase.cs:
  1176. * ToolBar.cs:
  1177. * TrackBar.cs:
  1178. * UpDownBase.cs:
  1179. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  1180. use OnPaintInternal. Remove Width/Height and Visible checks in
  1181. paint handler, this is done at a higher level now.
  1182. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  1183. * PaintEventArgs.cs: Add a handled flag so controls that don't
  1184. want anymore painting after OnPaintInternal can make sure OnPaint
  1185. isn't called.
  1186. 2006-04-05 Mike Kestner <[email protected]>
  1187. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  1188. state of the form, so that we don't process events when Modal dialogs
  1189. are up. Fixes #77922.
  1190. 2006-04-05 Alexander Olk <[email protected]>
  1191. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  1192. checking is done.
  1193. 2006-04-05 Mike Kestner <[email protected]>
  1194. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  1195. 2006-04-05 Mike Kestner <[email protected]>
  1196. * ListView.cs (HeaderMouseMove): null guarding for the over column
  1197. when setting up the drag_to_index. Fixes #78015.
  1198. 2006-04-04 Peter Dennis Bartok <[email protected]>
  1199. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  1200. in the taskbar. Transient windows seem to accomplish that.
  1201. 2006-04-04 Peter Dennis Bartok <[email protected]>
  1202. * Form.cs:
  1203. - Re-enabled CreateParams.X/Y code for FormStartPosition
  1204. - Added code for manual placement when creating the Control
  1205. - Incomplete patch to treat MDI forms differently when
  1206. setting the ClientSizeCore. (Still need to figure out handling
  1207. x/y coords there)
  1208. * XplatUIX11.cs:
  1209. - When we're explicitly setting the X/Y position of a non-Child
  1210. window, let the WM know. Metacity really wants this.
  1211. 2006-04-04 Alexander Olk <[email protected]>
  1212. * ThemeNice.cs: Added CPDrawButton
  1213. 2006-04-04 Alexander Olk <[email protected]>
  1214. * ThemeNice.cs: Changed the color for focused buttons and activated
  1215. the arrows for small scroll buttons.
  1216. 2006-04-04 Alexander Olk <[email protected]>
  1217. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  1218. anymore. Changed some method modifiers to protected (virtual)
  1219. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  1220. changes
  1221. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  1222. Updated drawing of menus, buttons and progressbars; added
  1223. CPDrawBorder3D
  1224. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  1225. * ImageListStreamer.cs: implemented serialization/deserialization
  1226. of the images.
  1227. 2006-04-03 Alexander Olk <[email protected]>
  1228. * ThemeWin32Classic.cs:
  1229. - Removed all the DrawFrameControl stuff; CPDrawButton,
  1230. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  1231. inside the methods
  1232. - Updated and corrected the drawing code of CPDrawButton,
  1233. CPDrawCheckBox and CPDrawRadioButton to better match ms
  1234. - Updated theme checkbox and radiobutton code to use the CP*
  1235. methods
  1236. 2006-03-31 Peter Dennis Bartok <[email protected]>
  1237. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  1238. bug is fixed
  1239. 2006-03-31 Jackson Harper <[email protected]>
  1240. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  1241. sometimes.
  1242. * UpDownBase.cs: Don't CreateGraphics manually, use a
  1243. Refresh. Ideally we would invalidate the correct areas here.
  1244. 2006-03-31 Peter Dennis Bartok <[email protected]>
  1245. * XplatUIX11.cs:
  1246. - We now track the mapping state of windows. If a window (or
  1247. one of it's parents) is not mapped we no longer permit
  1248. WM_PAINT messages to be generated since we'd otherwise get
  1249. lots of BadMatch X errors. Jackson did all the work figuring
  1250. out the problem.
  1251. - Destroying the caret if the window it's contained in is
  1252. destroyed. Can't use regular DestroyCaret method since it
  1253. might fall into a drawing function (trying to remove the
  1254. caret) and with that generate new BadMatch errors. Again,
  1255. Jackson tracked this down.
  1256. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  1257. make sure we send the messages to all windows. (The old code
  1258. would send the WM_DESTROY to the window, and then all child
  1259. windows would be 'gone' because the WM_DESTROY handle lookup
  1260. would no longer find the destroyed window)
  1261. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  1262. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  1263. 2006-03-31 Jackson Harper <[email protected]>
  1264. * ScrollableControl.cs: Dont recalc if we are not visible.
  1265. 2006-03-31 Mike Kestner <[email protected]>
  1266. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  1267. the visibility branch.
  1268. 2006-03-31 Jackson Harper <[email protected]>
  1269. * ScrollBar.cs: Cap values when incrementing/decrementing.
  1270. 2006-03-31 Mike Kestner <[email protected]>
  1271. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  1272. * ToolTip.cs: guard against timer expirations with no active control.
  1273. Not sure why it happened.
  1274. 2006-03-31 Mike Kestner <[email protected]>
  1275. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  1276. text.
  1277. * ToolTip.cs: Position the tooltip based on where the cursor is at
  1278. popup time, not at MouseEnter time. Add a Down state so that we don't
  1279. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  1280. positioning offset. Lookup DisplaySize at positioning time, since it
  1281. can theoretically change during invocation.
  1282. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  1283. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  1284. 2006-03-31 Alexander Olk <[email protected]>
  1285. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  1286. Fixes behaviour when the Text property of the box is String.Empty
  1287. 2006-03-31 Peter Dennis Bartok <[email protected]>
  1288. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  1289. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  1290. a window)
  1291. 2006-03-31 Alexander Olk <[email protected]>
  1292. * FileDialog.cs: Visual enhancement for the popup buttons in
  1293. PopupButtonPanel
  1294. 2006-03-31 Alexander Olk <[email protected]>
  1295. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  1296. code
  1297. 2006-03-30 Alexander Olk <[email protected]>
  1298. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  1299. highlighted menu items to match ms
  1300. 2006-03-30 Peter Dennis Bartok <[email protected]>
  1301. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  1302. 2006-03-30 Mike Kestner <[email protected]>
  1303. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  1304. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  1305. go active to account for HotLight to Selected transition.
  1306. * MenuItem.cs: add internal Selected prop. Fill out the Status
  1307. property by calculating it from item info. Add HotLight,
  1308. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  1309. 2006-03-30 Mike Kestner <[email protected]>
  1310. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  1311. 2006-03-29 Jackson Harper <[email protected]>
  1312. * Form.cs: Implement TODO.
  1313. 2006-03-29 Peter Dennis Bartok <[email protected]>
  1314. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  1315. missing proper dialog setup in the constructor
  1316. 2006-03-29 Peter Dennis Bartok <[email protected]>
  1317. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  1318. * Control.cs:
  1319. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  1320. - Fixed ResetBindings and removed TODO
  1321. - Added check for cross-thread calls to get_Handle()
  1322. - Added Marshaller attribute for set_Font to satisfy class status
  1323. * FontDialog.cs: Removed TODOs that seemed implemented
  1324. * UpDownBase.cs: Removed unneeded TODO and Fixme
  1325. * MessageBox.cs: Implemented support for Default button and removed TODO
  1326. * FileDialog.cs: Removed obsolete TODO
  1327. * DomainUpDown.cs: Removed obsolete TODO
  1328. * ButtonBase.cs: Removed obsolete TODO
  1329. * XplatUIWin32.cs: Removed obsolete TODO
  1330. * Form.cs:
  1331. - Removed obsolete TODO
  1332. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  1333. internal status updates
  1334. - Making sure the active control is selected when the control is created
  1335. * CurrencyManager.cs: Removed obsolete TODO
  1336. 2006-03-29 Mike Kestner <[email protected]>
  1337. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  1338. of PrintPreviewDialog and RichTextBox.
  1339. 2006-03-29 Alexander Olk <[email protected]>
  1340. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  1341. DarkDark, Light and LightLight colors for a specific color
  1342. * ThemeWin32Classic.cs:
  1343. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  1344. Appearance = Button
  1345. - Make use of the new ResPool helper CPColor
  1346. - Draw ProgressBar and StatusBar with correct 3D borders
  1347. 2006-03-29 Alexander Olk <[email protected]>
  1348. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  1349. 2006-03-28 Mike Kestner <[email protected]>
  1350. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  1351. calculating col/row counts.
  1352. 2006-03-28 Mike Kestner <[email protected]>
  1353. * ColumnHeader.cs:
  1354. * ListView.cs:
  1355. * ListViewItem.cs:
  1356. * Menu.cs:
  1357. switch to explicit interface method implementation for some methods
  1358. corcompare identifies as inconsistent with MS.
  1359. 2006-03-28 Mike Kestner <[email protected]>
  1360. * MainMenu.cs:
  1361. * Menu.cs:
  1362. add a few missing methods from the class status output.
  1363. 2006-03-28 Alexander Olk <[email protected]>
  1364. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  1365. correct.
  1366. 2006-03-28 Mike Kestner <[email protected]>
  1367. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  1368. 2006-03-27 Mike Kestner <[email protected]>
  1369. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  1370. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  1371. 2006-03-27 Alexander Olk <[email protected]>
  1372. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  1373. 2006-03-25 Alexander Olk <[email protected]>
  1374. * ThemeWin32Classic.cs:
  1375. - GroupBox: Inserted a little gap between the text and the lines
  1376. on the right side
  1377. - Made the code in CPDrawBorder3D more readable
  1378. - Corrected the drawing location of the up and down arrows in
  1379. CPDrawScrollButton
  1380. 2006-03-25 Alexander Olk <[email protected]>
  1381. * ControlPaint.cs: Corrected line widths in DrawBorder for
  1382. ButtonBorderStyle Inset and Outset
  1383. 2006-03-25 Alexander Olk <[email protected]>
  1384. * ThemeWin32Classic.cs:
  1385. - Rewrote the totally broken CPDrawBorder3D method. That was
  1386. one of the main problems for the terrific ThemeWin32Classic
  1387. look
  1388. - Updated and corrected Button drawing
  1389. - Correct the dimensions of the SizeGrip to match ms ones
  1390. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  1391. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  1392. Border3DStyle.Sunken to match ms.
  1393. 2006-03-25 Alexander Olk <[email protected]>
  1394. * ThemeWin32Classic.cs: First small part of the "de-uglify
  1395. ThemeWin32Classic" effort, SizeGrip
  1396. 2006-03-24 Jackson Harper <[email protected]>
  1397. * XplatUIX11.cs: Give a max idle time of one second, this matches
  1398. MS and forces an Idle event every second when there are no other
  1399. events in the queue.
  1400. 2006-03-24 Mike Kestner <[email protected]>
  1401. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  1402. * ListView.Item.cs: fix layout issues with null image lists and images
  1403. smaller than checkbox size.
  1404. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  1405. mode like MS does. It's weird, but consistent. ;-)
  1406. Fixes #77890.
  1407. 2006-03-24 Mike Kestner <[email protected]>
  1408. * ListView.cs: Scroll wheel support for the item control. Fixes
  1409. #77839.
  1410. 2006-03-23 Jackson Harper <[email protected]>
  1411. * ScrollableControl.cs: Special case negative sized areas, not
  1412. zero.
  1413. * MonthCalendar.cs: Save the rect of the clicked date so we can
  1414. use it for invalidation.
  1415. - Try to cut down on the number of invalidates
  1416. - Invalidate the rect the mouse is over and was over when moving
  1417. the mouse, so we get the focus box following the cursor.
  1418. 2006-03-23 Mike Kestner <[email protected]>
  1419. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  1420. focus rectangle drawing. Fixes #77835.
  1421. 2006-03-23 Mike Kestner <[email protected]>
  1422. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  1423. the if and else if and reverting back to the original == check on the
  1424. None conditional.
  1425. 2006-03-23 Alexander Olk <[email protected]>
  1426. * FontDialog.cs: Update the example panel if the selected index of
  1427. the fontListBox changes.
  1428. 2006-03-23 Alexander Olk <[email protected]>
  1429. * FileDialog.cs: Make FileDialog remember which directory it was in
  1430. last in the same execution.
  1431. 2006-03-22 Mike Kestner <[email protected]>
  1432. * FileDialog.cs: make the DropDownMenu on the toolbar display
  1433. RadioChecks since they are mutually exclusive and that's what MS does.
  1434. 2006-03-22 Mike Kestner <[email protected]>
  1435. * Theme.cs: add Color param to CPDrawMenuGlyph.
  1436. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  1437. checks and radio marks and arrows are visible on highlighted items.
  1438. * ControlPaint.cs: update to use new Theme signature.
  1439. 2006-03-22 Mike Kestner <[email protected]>
  1440. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  1441. is active. Fixes #77870.
  1442. 2006-03-22 Alexander Olk <[email protected]>
  1443. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  1444. to be focused/selected after startup
  1445. 2006-03-22 Alexander Olk <[email protected]>
  1446. * ColorDialog.cs:
  1447. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  1448. CustomColors and ShowHelp properties
  1449. - Some internal rewrites to get better results when using the
  1450. ColorMatrix
  1451. 2006-03-22 Mike Kestner <[email protected]>
  1452. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  1453. HoverSelection. Fixes #77836.
  1454. 2006-03-22 Mike Kestner <[email protected]>
  1455. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  1456. ToggleButtons. (De)Sensitize the Back button around a stack count of
  1457. 1, not 0. Update ButtonSize based on a pixel count of the win32
  1458. control. Adjust the toolbar size/location for new button size.
  1459. 2006-03-22 Jackson Harper <[email protected]>
  1460. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  1461. true.
  1462. * ScrollBar.cs: When doing increments and decrements we need to
  1463. set the Value property so that ValueChanged gets raised. A
  1464. possible optimization here would be to make an internal SetValue
  1465. that doesn't invalidate immediately.
  1466. * ToolTip.cs: Tooltips get added to their container (when
  1467. supplied) so they get disposed when the container is disposed.
  1468. - Don't create tooltips for String.Empty. This prevents all these
  1469. little 2-3 pixel windows from showing up when running nunit-gui
  1470. and driving me mad.
  1471. * Form.cs: Don't set topmost when setting the owner if the handles
  1472. haven't been created yet. The topmost set will happen when the
  1473. handles are created.
  1474. 2006-03-22 Peter Dennis Bartok <[email protected]>
  1475. * XplatUIX11.cs:
  1476. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  1477. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  1478. visible (to allow them to recalculate their sizes)
  1479. 2006-03-21 Mike Kestner <[email protected]>
  1480. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  1481. methods. Removed a ton of redundant code. Still not really happy with
  1482. the border rendering, but I think that's mainly because of the
  1483. ControlDarkDark being black instead of a dark grey. Depending on how
  1484. close we want to be, we might want to revisit those color choices.
  1485. Among the new features added during the refactor were DropDownArrow
  1486. pressed rendering, Disabled image rendering. Proper flat appearance
  1487. boundary rendering. Removed the Divider and Wrapping dividers since I
  1488. can't figure out any combination of themes and conditions to make the
  1489. MS control draw a horizontal line on a toolbar despite what the
  1490. Divider property docs indicate.
  1491. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  1492. conditions and incorrect layout. Updated to coding standard.
  1493. * ToolBarButton.cs: refactored layout and positioning code from
  1494. ToolBar to here. Invalidate wherever possible instead of forcing
  1495. redraws of the whole toolbar.
  1496. (Known remaining issues: explicit ButtonSize smaller than provided
  1497. images.)
  1498. 2006-03-21 Mike Kestner <[email protected]>
  1499. * ContextMenu.cs (Show): use the position parameter instead of just
  1500. showing at the MousePosition.
  1501. 2006-03-21 Jackson Harper <[email protected]>
  1502. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  1503. control handle this.
  1504. * TreeNodeCollection.cs: If we are clearing the root node we need
  1505. to reset top_node so calcs can still happen.
  1506. * ThemeWin32Classic.cs: This is a Flags so we need to check
  1507. properly.
  1508. 2006-03-21 Jackson Harper <[email protected]>
  1509. * DataGrid.cs: Create columns when the binding context has been
  1510. changed.
  1511. * X11Structs.cs: Keysyms are uints.
  1512. - Add size to fix build.
  1513. 2006-03-21 Peter Dennis Bartok <[email protected]>
  1514. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  1515. XplatUIOSX.cs:
  1516. - Added ResetMouseHover method to allow controls to retrigger
  1517. hovering if they need it more than once
  1518. - Implemented MouseHoverTime and MouseHoverSize properties
  1519. * Timer.cs: Start() must reset the interval
  1520. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  1521. properties
  1522. 2006-03-21 Jackson Harper <[email protected]>
  1523. * X11Keyboard.cs: improved layout detection. Move the nonchar
  1524. tables into this file.
  1525. * KeyboardLayouts.cs: Move the tables into resource files.
  1526. 2006-03-21 Mike Kestner <[email protected]>
  1527. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  1528. 2006-03-21 Alexander Olk <[email protected]>
  1529. * Mime.cs: Various speed optimizations. Looking up mime types
  1530. is now 2 times faster than before
  1531. 2006-03-17 Peter Dennis Bartok <[email protected]>
  1532. * CreateParams.cs: Added internal menu field
  1533. * Control.cs:
  1534. - Switched call order for UpdateBounds; now we always call
  1535. the one that also takes ClientSize, and we're calculating the
  1536. client size via driver method in the others. The previous
  1537. method of tracking client size by difference wasn't working
  1538. for forms where even the starting client size wouldn't match
  1539. the overall form size (due to borders) (Part of fix for #77729)
  1540. - CreateParams(): Do not use parent.Handle unless the handle is
  1541. already created. Causes havoc with Nexxia and throws off our
  1542. creation of controls
  1543. * XplatUIX11.cs:
  1544. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  1545. - Switched handling of ConfigureNotify over to new PerformNCCalc
  1546. method (consolidates code)
  1547. - Changed RequestNCRecalc to use new PerformNCCalc method
  1548. - Added calls to RequestNCRecalc when menus and borders are changed
  1549. to allow app to set NC size. (Part of fix for #77729) This matches
  1550. when MS send a WM_NCRECALC on Win32 windows.
  1551. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  1552. (Part of fix for #77729). This matches what MS does, they also
  1553. send that message when the form is made visible.
  1554. - XException.GetMessage: Improved usability of X errors by including
  1555. a translation of the window into Hwnd and Control class
  1556. - Improved debug info for window creation, reparenting and destruction
  1557. - Created helper method WindowIsMapped() [Currently not used]
  1558. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  1559. * Form.cs:
  1560. - CreateParams: Now setting our menu on the new internal menu field
  1561. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  1562. avoid calculating the same property twice
  1563. * Hwnd.cs:
  1564. - Improved usability of ToString() for debugging purposes
  1565. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  1566. determine the height of the menu, instead of just the font. This
  1567. required to also create a graphics context and to keep a bmp
  1568. around (for performance reasons)
  1569. 2006-03-17 Peter Dennis Bartok <[email protected]>
  1570. * MenuAPI.cs: Added OnMouseUp method
  1571. * Form.cs:
  1572. - Now remembering the requested client size, avoids size errors
  1573. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  1574. instead of base if the menu is active. This is required due to
  1575. control now capturing and releasing on down/up and it would
  1576. prematurely release our menu capture
  1577. 2006-03-17 Jackson Harper <[email protected]>
  1578. * KeyboardLayouts.cs: Add the czech layouts.
  1579. 2006-03-16 Jackson Harper <[email protected]>
  1580. * Control.cs: Use the viewport space when sizing not the controls
  1581. client size, so things like ScrollableControl that effect the
  1582. viewport size (when scrollbars are added) are computed correctly.
  1583. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  1584. of ManagerEntrys.
  1585. - Handle creating BindingManagers for null data sources.
  1586. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  1587. source, otherwise when rows are added they are added to the 'fake'
  1588. datasource and we will crash when trying to set the position in
  1589. those rows.
  1590. - Use Implicit scrollbars on the datagrid so they arent
  1591. selectable.
  1592. 2006-03-16 Jackson Harper <[email protected]>
  1593. * Binding.cs:
  1594. * InternalWindowManager.cs:
  1595. * MdiWindowManager.cs:
  1596. * X11Keyboard.cs: I really want Mike to love me again (fix
  1597. compiler warnings).
  1598. 2006-03-16 Peter Dennis Bartok <[email protected]>
  1599. * DataGrid.cs:
  1600. - OnMouseDown: Switch to editing mode when clicking on the cell
  1601. even if we're clicking on the cell that's currently
  1602. selected
  1603. - ProcessGridKey: Left/Right now wrap like MS.Net does
  1604. - ProcessGridKey: Tab now knows to add a new row when tab is
  1605. pressed in the cell of the last column of the
  1606. last row
  1607. - ProcessGridKey: Enter now adds another row if pressed in the last
  1608. row and selectes the new row, same column cell
  1609. - ProcessGridKey: Home/End navigate columns, not rows, like
  1610. originally implemented
  1611. - Broke ProcessKeyPreview code out into an extra Internal method
  1612. so it can be called from the edit code
  1613. * DataGridTextBox.cs (ProcessKeyMessage):
  1614. - Switched to accept Tab keypresses
  1615. - Added F2 handling to allow jumping to the end of the edited cell
  1616. - Added logic to allow moving caret left/right inside edited cell
  1617. and making the edited cell jump when the caret hits cell borders
  1618. - Tab and Enter are now passed to the datagrid after being handled
  1619. * TextBoxBase.cs:
  1620. - Removed capture code now that Control handles it
  1621. - set_SelectionStart now ensures caret is visible
  1622. 2006-03-16 Jackson Harper <[email protected]>
  1623. * TrackBar.cs: Debackwards the increment/decrement for handling
  1624. mouse clicks on the bar with vertical trackbars.
  1625. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  1626. bottom to match MS.
  1627. 2006-03-16 Mike Kestner <[email protected]>
  1628. * ListView.cs: make shift/ctrl keyboard and mouse selection
  1629. consistent with the MS control. Fix a bug in
  1630. SelectedListViewItemCollection.Clear that was pissing me off for the
  1631. better part of a day because the collection was being altered
  1632. underneath us as we walked the list.
  1633. 2006-03-16 Peter Dennis Bartok <[email protected]>
  1634. * Control.cs: Not sure how we could miss this so long, but it seems
  1635. that MS.Net has Capture set all the way from before calling
  1636. OnMouseDown through sending the mouse events until after
  1637. OnMouseUp. This will fix DataGrid's selection being set to end
  1638. at the location of the MouseUp.
  1639. 2006-03-15 Jackson Harper <[email protected]>
  1640. * BindingContext.cs: Check the binding after its added so that it
  1641. can initialize the binding managers and hookup to events.
  1642. * Binding.cs: Data members seem to sometimes include rows/cols in
  1643. the format Row.Column we now take this into account.
  1644. - Hookup to the position changed event so we can update the
  1645. control when the position has changed in the data set.
  1646. * CurrencyManager.cs: Take into account the row/col naming
  1647. convention when creating dataset tables.
  1648. * BindingContext.cs: Using a newer better way of storing
  1649. datasource/datamember pairs. Hopefully this better matches MS for
  1650. looking up binding managers.
  1651. 2006-03-15 Jackson Harper <[email protected]>
  1652. * BindingContext.cs: The currency manager needs the data member
  1653. name, if the member is a data set we use the name to find the
  1654. correct table.
  1655. * CurrencyManager.cs: When creating the list prefer an IList over
  1656. an IListSource.
  1657. - Attempt to create a DataTable from a DataSet (TODO: might need
  1658. some better error checking here, although MS doesn't seem to have much)
  1659. - If we have a DataTable create a view and use it as our list.
  1660. 2006-03-15 Mike Kestner <[email protected]>
  1661. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  1662. keyboard navigation. Support Up/Down/Left/Right selection correctly
  1663. for all 4 View modes.
  1664. * ListViewItem.cs: add internal row/col fields for icon layouts.
  1665. 2006-03-15 Jackson Harper <[email protected]>
  1666. * TabControl.cs: Redraw the tabs when we resize so their newly
  1667. calculated sizes are drawn on screen.
  1668. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  1669. composite characters.
  1670. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  1671. - filter events so that composite characters can be created
  1672. patches by peter
  1673. * X11Structs.cs: Add XIMProperties enum.
  1674. 2006-03-14 Peter Dennis Bartok <[email protected]>
  1675. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  1676. unless it's created
  1677. 2006-03-14 Peter Dennis Bartok <[email protected]>
  1678. * Control.cs (PerformLayout): We don't need to consider visiblity
  1679. for anchoring, only for docking. This fixes 'whacky' alignment
  1680. in listbox and other controls that use implicit scrollbars after
  1681. the previous PerformLayout patch
  1682. * ListBox.cs: Switched to use implicit scrollbars
  1683. 2006-03-14 Mike Kestner <[email protected]>
  1684. * ToolBar.cs:
  1685. * VScrollBar.cs:
  1686. - chain up the "new event" overrides to base and use
  1687. OnEvent to raise them. Part of fix for bug #76509.
  1688. 2006-03-14 Alexander Olk <[email protected]>
  1689. * FileDialog.cs: Do not select an item in the parent directory
  1690. on backspace
  1691. 2006-03-14 Peter Dennis Bartok <[email protected]>
  1692. * Control.cs (PerformLayout): It would seem that we considered
  1693. invisible windows for our layout. Not quite the right thing
  1694. to do. Now we don't any longer, thereby fixing bug #76889.
  1695. 2006-03-14 Peter Dennis Bartok <[email protected]>
  1696. * Control.cs (CanFocus): I goofed. A control can have focus
  1697. even though it's not selectable. Made it match MS docs.
  1698. 2006-03-13 Peter Dennis Bartok <[email protected]>
  1699. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  1700. center by default (fixes #76895)
  1701. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  1702. all uses of Border3DSides.All with the explicit ORd together
  1703. Left|Right|Top|Bottom because I assume that nobody was aware
  1704. that All also implies a center fill. Most places I checked had
  1705. a fill right above.
  1706. * ProgressBarStyle.cs: Added
  1707. 2006-03-13 Mike Kestner <[email protected]>
  1708. * ListView.cs: fix breakage in drag shadow header positioning
  1709. from Peter's csc compilation fix.
  1710. 2006-03-13 Mike Kestner <[email protected]>
  1711. * ListView.cs: fix NRE produced by backspacing twice in a focused
  1712. FileDialog.
  1713. 2006-03-13 Mike Kestner <[email protected]>
  1714. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  1715. 2006-03-13 Peter Dennis Bartok <[email protected]>
  1716. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  1717. be changed
  1718. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  1719. the allowed size before making programmatic size changes
  1720. 2006-03-13 Peter Dennis Bartok <[email protected]>
  1721. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  1722. set, metacity is broken and will still use the emty sizes in
  1723. the struct. (Fix for #77089)
  1724. 2006-03-13 Peter Dennis Bartok <[email protected]>
  1725. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  1726. WindowExStyles and marked both enums as Flags
  1727. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  1728. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  1729. to match WindowStyles split
  1730. * XplatUIX11.cs:
  1731. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  1732. - Updated to match WindowStyles split
  1733. * XplatUIWin32.cs:
  1734. - Fixed FosterParent creation, was using ExStyle on the Style field
  1735. (This should help with Popup focus issues)
  1736. - Updated to match WindowStyles split
  1737. 2006-03-13 Jackson Harper <[email protected]>
  1738. * MdiWindowManager.cs: Use the system menu height. Fixes some
  1739. strange sizing issues.
  1740. 2006-03-12 Peter Dennis Bartok <[email protected]>
  1741. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  1742. * TextBoxBase.cs:
  1743. - Scroll to caret after inserting text (#77672)
  1744. - Make scroll range one pixel higher, fixes off-by-one error (and
  1745. makes underlines visible on the last line)
  1746. 2006-03-12 Peter Dennis Bartok <[email protected]>
  1747. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  1748. the keyboard state from being stuck with keys in 'pressed' state when
  1749. focus is switched away via keyboard
  1750. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  1751. reset the keyboard if no X11 KeyUp events are expected to come
  1752. * X11Structs.cs: Switched type of Visible to bool to match driver
  1753. 2006-03-12 Peter Dennis Bartok <[email protected]>
  1754. * TextControl.cs:
  1755. - Switched caret to be just 1 pixel wide, matches MS and looks less
  1756. clunky
  1757. - Moved caret display 1 pixel down from the top of the control
  1758. to improve view
  1759. - InsertCharAtCharet: Update the selection start if moving the caret
  1760. (fixes bug #77696; based on patch suggested by [email protected])
  1761. - No longer always creating the caret when the caret methods are
  1762. called. Only the actual ShowCaret/HideCaret will do that now
  1763. - Only setting caret visible if the owner control has focus
  1764. - UpdateView: Added invalidation-shortcut logic for center and right
  1765. aligned text. Previously we'd update all according to the left
  1766. logic which caused drawing errors. Also fixed height of invalidated
  1767. areas, now properly invalidating the whole area (was off-by-one)
  1768. - owner_HandleCreated: Always generate the document when the
  1769. handle is created; this ensures that
  1770. * TextBoxBase.cs:
  1771. - Fixed situation where caret would disappear under the right
  1772. window border, also improved scrolling behaviour on left-
  1773. aligned textboxes
  1774. - Fixed right-aligned textboxes to have a border to the
  1775. right instead of the caret being under the right border
  1776. * XplatUIX11.cs:
  1777. - Switched from 'nested' to simple visible/not visible tracking
  1778. for caret (part of fix for #77671)
  1779. - No longer passing through translated FocusIn/FocusOut messages
  1780. since we were notifying too often and the wrong windows. Instead
  1781. we just notify our focussed window of receiving or loosing focus
  1782. * XplatUIWin32.cs: Switched from 'nested' show/hide
  1783. counting for caret to simple visible yes/no behaviour (part of
  1784. fix for #77671)
  1785. 2006-03-11 Alexander Olk <[email protected]>
  1786. * Mime.cs: Remove debug code...
  1787. 2006-03-11 Alexander Olk <[email protected]>
  1788. * MimeGenerated.cs: Removed
  1789. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  1790. and subclasses) from /usr/(local/)share/mime and
  1791. $HOME/.local/share/mime.
  1792. 2006-03-10 Jackson Harper <[email protected]>
  1793. * MdiWindowManager.cs: Recalc the NC area when a window is
  1794. maximized/restored so that the menu area is drawn on forms that
  1795. don't have a menu.
  1796. 2006-03-10 Peter Dennis Bartok <[email protected]>
  1797. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  1798. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  1799. us to force a WM_NCCALCRESIZE message being sent. This is needed
  1800. for MDI maximizing.
  1801. 2006-03-10 Jackson Harper <[email protected]>
  1802. * Form.cs: We need to use the ActiveMenu when calculating menu
  1803. height.
  1804. - Fix nullref when the window manager hasn't been created yet.
  1805. * Control.cs: Fix nullref when we try to bring a control to the
  1806. front that has no parent.
  1807. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  1808. height.
  1809. - Add a dummy item to the maximized menu so it always has the
  1810. correct height. Otherwise when there are no menus we don't get our
  1811. icon and buttons.
  1812. 2006-03-10 Jackson Harper <[email protected]>
  1813. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  1814. stuff.
  1815. * Form.cs: Make the window_state internal so the window managers
  1816. can track it.
  1817. - When an MDI child is maximized let its window manager create the
  1818. main menu (so it can add its icon).
  1819. - Notify the window managers of state changes
  1820. - Let the window manager paint its buttons and handle button
  1821. clicks on the menu when it is maximized.
  1822. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  1823. window manager, since tool windows don't use it, only mdi windows.
  1824. - Tell the main form that we don't want it to handle NCPAINT
  1825. itself to avoid extra painting.
  1826. - Handle clicks on a maximized windows menu.
  1827. - Handle window state changes
  1828. - Handle minimize/maximize clicks correctly by setting the window state.
  1829. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  1830. when clicking on the forms icon).
  1831. - New method to create a forms maximized menu. This is its normal
  1832. menu + an icon.
  1833. - Handle window state changes.
  1834. - Handle sizing of maximized windows. Maximized windows are just
  1835. drawn bigger then the parent visible area. All controls are still
  1836. there, they are just outside the visible area (this matches windows).
  1837. * MdiClient.cs: No scrollbars when a child window is maximized.
  1838. - Let the children windows figure out how big they should be when
  1839. sizing maximized windows.
  1840. - Implement a version of ArrangeIconicWindows somewhat similar to
  1841. Windows version. There are some little differences, but I don't
  1842. think any app will rely on the layout of minimized mdi windows.
  1843. 2006-03-10 Peter Dennis Bartok <[email protected]>
  1844. * Padding.cs: Several fixes to allow compiling with csc 2.0
  1845. 2006-03-09 Jackson Harper <[email protected]>
  1846. * Menu.cs:
  1847. * MenuItem.cs: Cheap hack so we can add items to the list without
  1848. the events being raised. This allows adding mdi items during
  1849. drawing. TODO: Should probably find a better time to add the items.
  1850. 2006-03-10 Peter Dennis Bartok <[email protected]>
  1851. * ThemeWin32Classic.cs:
  1852. - CheckBox_DrawText: Added logic to not wrap if not enough space
  1853. is available (Fix for bug #77727)
  1854. - RadioButton_DrawText: Added logic not to wrap if not enough
  1855. space is available (Fix for bug #77727). Also removed some
  1856. duplicate code, DrawString always drawing the regular text
  1857. before hitting the if statement.
  1858. 2006-03-10 Peter Dennis Bartok <[email protected]>
  1859. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  1860. 2006-03-10 Peter Dennis Bartok <[email protected]>
  1861. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  1862. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  1863. methods. Moved the new 2.0 properties into alphabetical order with
  1864. other properties and added MonoTODO tags
  1865. 2006-03-09 Peter Dennis Bartok <[email protected]>
  1866. * AutoScaleMode.cs: Added. Fix build.
  1867. 2006-03-09 Peter Dennis Bartok <[email protected]>
  1868. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  1869. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  1870. and was requiring premature handle creation for calls from above
  1871. * Form.cs, Control.cs: Removed handle arguments from calls to
  1872. CalculateClientRect()
  1873. 2006-03-09 Peter Dennis Bartok <[email protected]>
  1874. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  1875. drag_column.column_rect is MarshalByRef and can't be used that way
  1876. 2006-03-09 Peter Dennis Bartok <[email protected]>
  1877. * AxHost.cs: Added deserialization constructor for
  1878. AxHost+State (fixes 77743)
  1879. 2006-03-09 Mike Kestner <[email protected]>
  1880. * ListView.cs:
  1881. - Added column drag reordering for details view.
  1882. - fixed behavior when mouse is dragged off column and
  1883. AllowColumnReorder is false.
  1884. * ColumnHeader.cs: clone the format too in Clone.
  1885. * Theme.cs: add DrawListViewHeaderDragDetails method.
  1886. * ThemeWin32Classic.cs:
  1887. - impl new method for drawing drag column shadows and targets.
  1888. - support column offset for details mode in DrawListViewItem.
  1889. 2006-03-09 Peter Dennis Bartok <[email protected]>
  1890. * TextControl.cs: Reset the char_count when the document is cleared
  1891. (Fixes bug reported on mono-winforms mailing list)
  1892. 2006-03-09 Peter Dennis Bartok <[email protected]>
  1893. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  1894. of calling base we simply process the key ourselves, since both
  1895. DefWindowProc and the handled method would set m.Result.
  1896. (Fixes #77732)
  1897. 2006-03-09 Peter Dennis Bartok <[email protected]>
  1898. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  1899. method also moves the window; instead implemented a copy of
  1900. Control.ScaleCore (Part of fix for #77456)
  1901. * TextBoxBase.cs:
  1902. - Created new CreateGraphicsInternal method to allow providing
  1903. a graphics context when no handle is created without triggering
  1904. handle creation. (Part of fix for #77456)
  1905. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  1906. * TextControl.cs:
  1907. - Switched Constructor to require TextBoxBase instead of Control (to
  1908. allow uncast access to CreateGraphicsInternal)
  1909. - Safeguarded use of owner.Handle property. No longer accessing it
  1910. unless the handle is already created.
  1911. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  1912. - Now triggering a recalc when owning control becomes visible
  1913. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  1914. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  1915. premature handle creation (Part of fix for #77456)
  1916. * Control.cs:
  1917. - We now only destroy our double-buffering buffers when the
  1918. control is resized or disposed, but not when visibility
  1919. changes. (The code even re-created them twice every time)
  1920. - Now requiring a redraw of the buffer on visibility changes
  1921. (fixes bug 77654 part 2)
  1922. - Not passing OnParentVisibleChanged up unless the control
  1923. is visible
  1924. - CanFocus: Fixed to match MS documentation
  1925. - Focus: Fixed to return actual focus state and to check if
  1926. setting focus is legal before setting it
  1927. 2006-03-08 Peter Dennis Bartok <[email protected]>
  1928. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  1929. when to draw focus rectangle by looking at parent focus and
  1930. selected state instead. This fixes TabPages on Linux sometimes
  1931. having none or multiple focus rectangles.
  1932. * XplatUIX11.cs (SetFocus):
  1933. - Don't set the focus if the same window already has focus
  1934. - Use SendMessage instead of PostMessage (like it's Win32
  1935. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  1936. to match MS behaviour
  1937. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  1938. are not selectable.
  1939. 2006-03-07 Jackson Harper <[email protected]>
  1940. * PictureBox.cs: Revert line I accidently committed last week.
  1941. 2006-03-07 Peter Dennis Bartok <[email protected]>
  1942. * Control.cs:
  1943. - Added new IsRecreating and ParentIsRecreating properties to
  1944. allow testing if RecreateHandle has been called on ourselves
  1945. or one of our parents
  1946. - WndProc(WM_DESTROY): If our control handle is being recreated
  1947. we immediately need to create the handle when receiving the
  1948. destroy, that way our child windows find a valid parent handle
  1949. when they themselves are being recreated upon WM_DESTROY receipt
  1950. (fix for bug #77654 part 1)
  1951. * XplatUIX11.cs:
  1952. - DestroyWindow: WM_DESTROY must be sent to our own window before
  1953. notifying any child windows. MS documents that child windows
  1954. are still valid when WM_DESTROY is received. (Control now relies on
  1955. this behaviour)
  1956. - Added some fine-grain debug options
  1957. 2006-03-06 Jackson Harper <[email protected]>
  1958. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  1959. box and base calculations off this.
  1960. * MdiChildContext.cs:
  1961. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  1962. anymore.
  1963. 2006-03-06 Peter Dennis Bartok <[email protected]>
  1964. * Splitter.cs: In situations where the affected control is added
  1965. to the parent's control list after the splitter, we would not
  1966. populate affected. Now we try populating it on mousedown, if
  1967. it's not already set, and force it to be re-set whenever our
  1968. parent changes.
  1969. 2006-03-03 Matt Hargett <[email protected]>
  1970. * Control.cs: implement Control.Padding
  1971. * Padding.cs: -Padding.All returns -1 when constructing with the
  1972. implicit default ctor
  1973. -Padding.ToString() matches MS.NET
  1974. * ContainerControl.cs: implement
  1975. ContainerControl.AutoScaleDimensions
  1976. * ListControl.cs: implement ListControl.FormattingEnabled
  1977. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  1978. * ButtonBase.cs:
  1979. * TabPage.cs: Implement UseVisualStyleBackColor.
  1980. * PictureBox.cs: Implement PictureBox.InitialImage.
  1981. 2006-03-03 Mike Kestner <[email protected]>
  1982. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  1983. event declarations to proxy to base event.
  1984. * ListViewItem.cs: update to use ItemControl.
  1985. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  1986. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  1987. column header label rendering for 0 width columns.
  1988. 2006-03-03 Peter Dennis Bartok <[email protected]>
  1989. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  1990. that causes the control to be created. Fixes #77476.
  1991. 2006-03-02 Jackson Harper <[email protected]>
  1992. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  1993. expose_pending.
  1994. 2006-03-02 Peter Dennis Bartok <[email protected]>
  1995. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  1996. passed in for the EventArgs (fixes #77690)
  1997. 2006-03-01 Jackson Harper <[email protected]>
  1998. * ScrollBar.cs: Refresh afterbeing resized.
  1999. 2006-02-28 Mike Kestner <[email protected]>
  2000. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  2001. Clean up a tracker compile warning.
  2002. * MenuItem.cs: add internal PerformPopup method.
  2003. [Fixes #77457]
  2004. 2006-02-28 Peter Dennis Bartok <[email protected]>
  2005. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  2006. implicit expose) when the text is set to null
  2007. 2006-02-28 Peter Dennis Bartok <[email protected]>
  2008. * RichTextBox.cs (FlushText): When newline is true, we always
  2009. need to split the line, even if no text is on it and we may
  2010. never eat newlines. (Fixes #77669)
  2011. 2006-02-28 Mike Kestner <[email protected]>
  2012. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  2013. and set Selected instead.
  2014. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  2015. collections.
  2016. 2006-02-28 Peter Dennis Bartok <[email protected]>
  2017. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  2018. 2006-02-28 Alexander Olk <[email protected]>
  2019. * FontDialog.cs:
  2020. - Got rid of the panel. All controls are now directly added to
  2021. the dialog form
  2022. - It is now possible to set a font with the Font property
  2023. - MinSize and MaxSize property do now what they should
  2024. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  2025. - Searching and selecting a font with the font textbox works now,
  2026. the same applies to the style and size textbox
  2027. - Draw the correct 3D border in the example panel
  2028. - Fixed a little mem leak (unused fonts didn't get disposed)
  2029. - Many other internal updates/rewrites...
  2030. - Fix typo
  2031. 2006-02-27 Peter Dennis Bartok <[email protected]>
  2032. * TextControl.cs:
  2033. - InsertRTFFromStream: Added 'number of characters inserted' argument
  2034. - set_SelectedRTF: Now using the number of characters to calculate
  2035. the new location for the selection and cursor (x/y cannot be used
  2036. due to potentially already wrapped text)
  2037. 2006-02-27 Peter Dennis Bartok <[email protected]>
  2038. * TextControl.cs: Added property and implemented means to allow
  2039. disabling recalculation of a document (can be used to speed up
  2040. multiple inserts and is needed to make RTF inserts predictable, see
  2041. bug #77659)
  2042. * RichTextBox.cs: Using the new NoRecalc property of Document to
  2043. keep x/y insert locations predictable. Also makes it faster inserting
  2044. large chunks of RTF
  2045. 2006-02-27 Peter Dennis Bartok <[email protected]>
  2046. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  2047. it's easier for a child control to handle the other messages without
  2048. having to duplicate the special functionality
  2049. * TextBoxBase.cs
  2050. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  2051. code to handle processing the key ourselves, in order to get
  2052. access to the result of KeyEventArgs.Handled. We now only call
  2053. ProcessKey if they key hasn't been handled already. Fixes #77526.
  2054. - set_Text: If null or empty string is given, just clear the
  2055. document. Fixes part of #77526
  2056. 2006-02-27 Jackson Harper <[email protected]>
  2057. * SizeGrip.cs: Paint the background color before painting the grip
  2058. so things look right.
  2059. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  2060. 2006-02-27 Mike Kestner <[email protected]>
  2061. * ListView.cs:
  2062. - Restructure layout and invalidation model to remove a ton of
  2063. flicker from the control and speed up performance in general.
  2064. - Add manual column resize, flickers like crazy, but I already have
  2065. some ideas on how I'll fix that. (#76822)
  2066. - Merge the three Icon-based views into a single layout method.
  2067. - Move item selection interaction logic from the item since
  2068. interaction with the collections is more appropriate to the view.
  2069. - Deselection on non-item clicks.
  2070. * ListViewItem.cs:
  2071. - Encapsulate most of the layout. Add some internal props to trigger
  2072. layout. Move to a model where Items invalidate themselves instead
  2073. of just invalidating the whole control every time something changes.
  2074. - Invalidate on Text/Caption changes.
  2075. - switch to an offset based layout model to avoid having to absolute
  2076. position every element on item moves.
  2077. - correct checkbox layout to conform to MS layout.
  2078. * ThemeWin32Classic.cs:
  2079. - refactor some column header drawing code.
  2080. - fix string justification for column headers (#76821)
  2081. - make SmallIcon labels top justified for compat with MS impl.
  2082. * ThemeClearlooks.cs:
  2083. - adjust to new ListViewItem internal checkbox bounds api.
  2084. 2006-02-27 Jackson Harper <[email protected]>
  2085. * Control.cs: Change where implicit controls fall in the zorder.
  2086. They are now on top of all children.
  2087. - Synced AddImplicit code with Add
  2088. - Removed unused enumerator.
  2089. * SizeGrip.cs: Remove the TODO as its been TODONE.
  2090. 2006-02-26 Peter Dennis Bartok <[email protected]>
  2091. * TextControl.cs(Insert): Combine the last lines unless the insertion
  2092. string ends with \n\n, otherwise we leave one line too many (Fixes
  2093. something I noticed with the testapp for #77526; the bug itself was
  2094. already fixed in the previous checkin)
  2095. 2006-02-26 Peter Dennis Bartok <[email protected]>
  2096. * RichTextBox.cs:
  2097. - SelectionColor and SelectionFont methods no longer set absolute
  2098. styles. Instead, the keep font or color respectively (This
  2099. resolves a long-standing FIXME in the code)
  2100. - When flushing RTF text, the insert code now considers text trailing
  2101. behind the insertion point (Fixes the bug where when replacing
  2102. the selected text via SelectedRTF the remainder of the line behind
  2103. the selection would stay on the first insertion line)
  2104. * TextBoxBase.cs:
  2105. - AppendText now updates the selection points after inserting text
  2106. - AppendText now ensures that the last tag (sometimes 0-length) of
  2107. the document is used for the style information (Fixes part of
  2108. bug #77220)
  2109. * TextControl.cs:
  2110. - Created new FontDefiniton class to allow describing partial style
  2111. changes
  2112. - StreamLine() now takes a lines argument, to allow it to decide
  2113. whether an encountered zero-length tag is the last in the document
  2114. (which must be kept to not loose the font/color contained in it,
  2115. for later appends)
  2116. - Created Combine() and Split() methods for Marker structs, to
  2117. support marker updates due to reformatted documents (soft line
  2118. wraps)
  2119. - Implemented Document.CaretTag setter
  2120. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  2121. of the last line (Not the cause, but also exposed by bug #77220)
  2122. - Added LineTag argument to InsertString method, to allow callers
  2123. to force a certain tag to be used (required to force use of the
  2124. trailing zero-length tag of a document)
  2125. - Now updating markers in Combine(), to avoid stale tag markers
  2126. - Added some method descriptions to aid maintenance
  2127. - Implemented new FormatText concept, allowing additive/subtractive
  2128. formatting by only specifying the components that are to be
  2129. changed. This was needed for resolving the RTB.SelectedColor/
  2130. RTB.SelectedFont fixmes
  2131. - Added Break() support method to allow breaking up linetags (used
  2132. for partial formatting)
  2133. - Added GenerateTextFormat() method. It is used for partial
  2134. formatting and allows to generate a full font/color from given
  2135. attributes and an existing tag.
  2136. 2006-02-26 Jackson Harper <[email protected]>
  2137. * XplatUIX11.cs: Use the correct caption height.
  2138. - Translate hittest coordinates to screen coords to match MS.
  2139. * XplatUIWin32.cs: When we create MDI windows we need to reset
  2140. some of the style flags, so we get a nice blank window, and can
  2141. draw all the decorations ourselves.
  2142. - Set a clipping rectangle on the non client paint event, the
  2143. window manager drawing code needs one.
  2144. * Form.cs: The window manager needs to know when the window state
  2145. has been updated.
  2146. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  2147. don't need to factor in border and title sizes in these
  2148. methods. TODO: Remove the args and fix the call points.
  2149. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  2150. properly.
  2151. - Let the driver set the cursors.
  2152. - Improve active window handling
  2153. - Correct sizes for title bars and buttons.
  2154. - Match MS drawing better
  2155. * MdiWindowManager.cs: We don't need to handle border style
  2156. updates specially anymore.
  2157. - Check for scrollbars when windows are done moving
  2158. - Handle Active properly.
  2159. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  2160. correctly. I am spewing the exception though, so we don't hide the
  2161. bugs.
  2162. 2006-02-26 Pedro Martinez Julia <[email protected]>
  2163. * DataGridViewRowPostPaintEventArgs.cs,
  2164. DataGridViewCellPaintingEventArgs.cs,
  2165. DataGridViewRowCollection.cs,
  2166. DataGridViewRowPrePaintEventArgs.cs,
  2167. DataGridViewCell.cs: Clear a few warnings and implement a few
  2168. exceptions that should be thrown.
  2169. 2006-02-22 Peter Dennis Bartok <[email protected]>
  2170. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  2171. 'inheriting' our parent's (non-default) cursor. (Part of
  2172. the fix for #77479)
  2173. 2006-02-22 Peter Dennis Bartok <[email protected]>
  2174. * XplatUIX11.cs: Fixed cast to make csc happy
  2175. 2006-02-22 Peter Dennis Bartok <[email protected]>
  2176. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  2177. it's for the client area (part of fix for #77479 and needed
  2178. for MDI window cursor handling)
  2179. * XplatUIX11.cs
  2180. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  2181. the appropriate default cursors and also passing the message
  2182. up the parent chain
  2183. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  2184. for non-client areas
  2185. 2006-02-15 Jackson Harper <[email protected]>
  2186. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  2187. is a real MDI window
  2188. 2006-02-14 Alexander Olk <[email protected]>
  2189. * X11DesktopColors.cs: Instead of checking the desktop session
  2190. string for "KDE" check if it starts with "KDE"
  2191. 2006-02-10 Jackson Harper <[email protected]>
  2192. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  2193. systems).
  2194. 2006-02-10 Alexander Olk <[email protected]>
  2195. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  2196. errors
  2197. * ColorDialog.cs:
  2198. - Got rid of the panel. All controls are now directly added to
  2199. the dialog form
  2200. - Changed to mono coding style
  2201. 2006-02-10 Jackson Harper <[email protected]>
  2202. * InternalWindowManager.cs: We don't need the set visibility to
  2203. false hack anymore now that peter has written beautiful shutdown
  2204. code.
  2205. 2006-02-10 Peter Dennis Bartok <[email protected]>
  2206. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  2207. where already explicitly destroyed
  2208. 2006-02-10 Jackson Harper <[email protected]>
  2209. * MdiClient.cs: Handle the case where windows are too high or to
  2210. the left and we need scrollbars.
  2211. 2006-02-10 Alexander Olk <[email protected]>
  2212. * MimeIcon.cs: Added some icons
  2213. * FileDialog.cs:
  2214. - Fixed bug #77477
  2215. - Got rid of the panel. All controls are now directly added to
  2216. the dialog form
  2217. - Changed to mono coding style
  2218. - On Linux "My Computer" and "My Network" will now show some
  2219. more usefull information. A new class, MasterMount, gathers
  2220. this information from /proc/mount. Updated MWFFileView to make
  2221. use of this information
  2222. - Fixed a bug that caused FileDialog to crash when
  2223. ".recently_used" file had a zero size
  2224. - FilterIndex does now what it should
  2225. - Some Refactoring
  2226. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  2227. FileDialog changes
  2228. 2006-02-09 Jackson Harper <[email protected]>
  2229. * ComboBox.cs: Don't touch if null.
  2230. 2006-02-09 Peter Dennis Bartok <[email protected]>
  2231. * Cursor.cs: 64bit safeness fix
  2232. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  2233. 2006-02-09 Jackson Harper <[email protected]>
  2234. * Form.cs: If a form is made into an MDI form update the styles so
  2235. all the props can get set correctly.
  2236. - Kill the mdi_container when we dont need it anymore.
  2237. * InternalWindowManager.cs: Add missing NOT
  2238. 2006-02-08 Jackson Harper <[email protected]>
  2239. * InternalWindowManager.cs: Respek clipping when drawing MDi
  2240. decorations.
  2241. 2006-02-08 Jackson Harper <[email protected]>
  2242. * Hwnd.cs: Add bits to track non client expose events.
  2243. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  2244. gives us a proper invalid rect and will allow for some nice
  2245. optimizations with NC client drawing
  2246. - MDI windows are children windows, so move their style handling
  2247. into the child window block.
  2248. * InternalWindowManager.cs: Remove a state reset that was
  2249. getting invoked at the wrong time. Fixes managed windows getting
  2250. into a 'stuck' captured state.
  2251. 2006-02-07 Peter Dennis Bartok <[email protected]>
  2252. * TextControl.cs (Document.ctor): Now initializing
  2253. selection_anchor. Fixes #77493
  2254. 2006-02-07 Jackson Harper <[email protected]>
  2255. * TrackBar.cs: The increment/decrements were backwards.
  2256. 2006-02-07 Mike Kestner <[email protected]>
  2257. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  2258. to the instance itself.
  2259. 2006-02-07 Peter Dennis Bartok <[email protected]>
  2260. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  2261. on ulongs and pointers, the size differs between 32bit and 64bit
  2262. systems.
  2263. 2006-02-07 Mike Kestner <[email protected]>
  2264. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  2265. for 64 bit platforms to work around a metacity bug.
  2266. 2006-02-07 Jackson Harper <[email protected]>
  2267. * TrackBar.cs: Process the input keys we need, and hookup to
  2268. KeyDown instead of using WndProc, so we get key messages.
  2269. 2006-02-06 Peter Dennis Bartok <[email protected]>
  2270. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  2271. machine we're on.
  2272. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  2273. we need to translate the XdndVersion atoms array before sending it
  2274. 2006-02-06 Peter Dennis Bartok <[email protected]>
  2275. * XplatUIX11.cs:
  2276. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  2277. number of bits for the property, not the number of bytes. The
  2278. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  2279. but would not crash since it specified 8 bits instead of 4 bits)
  2280. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  2281. defined as XID -> long in the C headers)
  2282. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  2283. references since those are now IntPtr to begin with
  2284. - Switched all Atom.XXX 'int' casts to IntPtr casts
  2285. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  2286. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  2287. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  2288. * X11Structs.cs:
  2289. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  2290. - Changed atom in HoverStruct to be IntPtr
  2291. * X11DnD.cs:
  2292. - Removed local DllImports, switched code to use those from XplatUIX11
  2293. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  2294. 2006-02-06 Mike Kestner <[email protected]>
  2295. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  2296. method signatures in the import region. There may still be some
  2297. lingering struct marshaling issues, as I didn't drill down into those.
  2298. Yet.
  2299. 2006-02-06 Jackson Harper <[email protected]>
  2300. * ComboBox.cs: Dont manually set the top_item, this is computed
  2301. when the scrollbar position is set.
  2302. 2006-02-06 Mike Kestner <[email protected]>
  2303. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  2304. startup crashes on amd64. There's other fixes needed. All pinvoke
  2305. usage of Atom needs to be mapped to IntPtr for example. And there are
  2306. likely other int/long issues to be addressed.
  2307. 2006-02-04 Alexander Olk <[email protected]>
  2308. * FileDialog.cs: One more...
  2309. 2006-02-03 Alexander Olk <[email protected]>
  2310. * FileDialog.cs: Next try
  2311. 2006-02-03 Alexander Olk <[email protected]>
  2312. * FileDialog.cs: First part of fix for #77464
  2313. 2006-02-03 Alexander Olk <[email protected]>
  2314. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  2315. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  2316. AcceptButton border drawing.
  2317. 2006-02-03 Peter Dennis Bartok <[email protected]>
  2318. * Form.cs: Moved positioning of form after auto scaling is applied,
  2319. otherwise it would possibly use wrong form size.
  2320. 2006-02-03 Peter Dennis Bartok <[email protected]>
  2321. * Control.cs (RecreateHandle): No need to re-create any child
  2322. controls, the child windows will get destroyed automatically by
  2323. the windowing system or driver, and re-created when the handle
  2324. is being accessed the first time. Fixes #77456
  2325. * Form.cs: No longer setting the form to closing if the handle is
  2326. being recreated. This seems like the right thing to do, don't
  2327. have a bug or testcase for this, though.
  2328. 2006-02-02 Peter Dennis Bartok <[email protected]>
  2329. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  2330. controls to avoid unwanted side effects
  2331. 2006-02-02 Peter Dennis Bartok <[email protected]>
  2332. * Control.cs:
  2333. - ScaleCore needs to scale the bounds, not the ClientSize of the
  2334. control. Fixes #77416.
  2335. - DefaultSize is 0,0 for control
  2336. * TextBoxBase.cs:
  2337. - DefaultSize is 100, 20
  2338. - SetBoundsCore: Now enforcing the height, no matter if the provided
  2339. height is more or less than the preferred one, as long as AutoSize
  2340. is on
  2341. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  2342. 2006-02-02 Peter Dennis Bartok <[email protected]>
  2343. * Control.cs:
  2344. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  2345. call unless both performLayout is true *and* we have a pending
  2346. layout change
  2347. - ResumeLayout: MS does not completely nest Suspend and Resume,
  2348. they bottom out at 0, fixed our code to match that.
  2349. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  2350. SetBoundsCore, we were updating even when we shouldn't. This fixes
  2351. swf-anchors mis-anchoring when resizing the app fast and lots.
  2352. - UpdateDistances: Now only setting the left and top distance if
  2353. we have a parent and are not suspended, this is based on
  2354. a suggestion by Don Edvaldson in bug #77355.
  2355. - OnVisibleChanged: Fixed logic when to create the control. We may
  2356. not create the control if we have no parent or if it's not visible;
  2357. switched to using Visible property instead of is_visible field
  2358. since the property also considers parent states. This fixes a bug
  2359. when starting Paint.Net
  2360. 2006-02-02 Jackson Harper <[email protected]>
  2361. * Form.cs: If the forms handle hasn't been created yet don't call
  2362. into xplatui to make it top most, just set the topmost flag on the
  2363. form in CreateParams
  2364. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  2365. 2006-02-01 Jackson Harper <[email protected]>
  2366. * ScrollableControl.cs: Refactored the Recalculate method a
  2367. little, this wasn't handling all the variants of bottom and right
  2368. bars needed to be added and added/removed based on their
  2369. counterparts being added/removed (which changes the drawable
  2370. size). Also we special case client widths and heights of 0 and
  2371. don't add the scrollbar for those.
  2372. 2006-02-01 Peter Dennis Bartok <[email protected]>
  2373. * XplatUIX11.cs:
  2374. - Added method to get AbsoluteGeometry(); currently unused, but might
  2375. be used in the future, if we try again to figure out toplevel
  2376. coordinates with some more crappy window managers
  2377. - Added FrameExtents() method to retrieve the WM set decoration size
  2378. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  2379. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  2380. * Hwnd.cs:
  2381. - Added whacky_wm tracking var for metacity
  2382. - Added logic to have default menu height if the actual menu height
  2383. has not yet been calculated (part of fix for #77426)
  2384. * Form.cs: Keep track whether client size has been set and re-set
  2385. it if a menu is added/removed afterwards (Fixes #77426)
  2386. 2006-01-31 Jackson Harper <[email protected]>
  2387. * Control.cs: When a new Site is set on the component attempt to
  2388. pull the AmbientProperties from it.
  2389. 2006-01-31 Peter Dennis Bartok <[email protected]>
  2390. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  2391. in the background of the owning form. Fixes #77332
  2392. 2006-01-31 Alexander Olk <[email protected]>
  2393. * MimeIcon.cs: Fix for #77409
  2394. 2006-01-31 Alexander Olk <[email protected]>
  2395. * XplatUIX11GTK.cs: Initial import
  2396. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  2397. * FixedSizeTextBox: fixes class signature
  2398. 2006-01-30 Jackson Harper <[email protected]>
  2399. * FixedSizeTextBox.cs: New internal class that represents a
  2400. textBox that will not be scaled.
  2401. * TreeView.cs:
  2402. * ComboBox.cs:
  2403. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  2404. standard TextBox.
  2405. 2006-01-30 Peter Dennis Bartok <[email protected]>
  2406. * XplatUIX11.cs: Retrieve default screen number instead of
  2407. assuming 0. Attempted fix for #77318
  2408. 2006-01-30 Peter Dennis Bartok <[email protected]>
  2409. * XplatUIWin32.cs:
  2410. - GetWindowPos: When a window is parented by FosterParent, use
  2411. the desktop instead of FosterParent as the base to get coordinates
  2412. - CreateWindow: Don't make FosterParent the parent window for Popups
  2413. if we don't want a taskbar entry, Popups automatically don't get one
  2414. * Hwnd.cs: Need to call remove to actually remove the key from the
  2415. hash table
  2416. 2006-01-30 Mike Kestner <[email protected]>
  2417. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  2418. 2006-01-30 Jackson Harper <[email protected]>
  2419. * TreeView.cs:
  2420. * TreeNode.cs: Raise events no matter how the treenode is
  2421. checked. Patch by Don Edvalson.
  2422. 2006-01-30 Jackson Harper <[email protected]>
  2423. * TreeNode.cs: Signature fix.
  2424. 2006-01-29 Alexander Olk <[email protected]>
  2425. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  2426. 2006-01-20 Mike Kestner <[email protected]>
  2427. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  2428. event forwarding when menus are active.
  2429. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  2430. Most of the patch is pdb's with a little rework.
  2431. 2006-01-26 Peter Dennis Bartok <[email protected]>
  2432. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  2433. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  2434. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  2435. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  2436. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  2437. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  2438. the PaintWindowDecorations method
  2439. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  2440. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  2441. * MenuAPI.cs: Made tracker window invisible
  2442. * XplatUIWin32.cs:
  2443. - Removed GetMenuDC and ReleaseMenuDC methods
  2444. - Implemented the client=false path for PaintEventStart and
  2445. PaintEventEnd
  2446. 2006-01-26 Peter Dennis Bartok <[email protected]>
  2447. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  2448. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  2449. styles
  2450. * Form.cs:
  2451. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  2452. the style
  2453. - CreateParams: Reworked the styles to match MS look'n'feel,
  2454. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  2455. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  2456. 2006-01-26 Peter Dennis Bartok <[email protected]>
  2457. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  2458. window is not mapped, since otherwise every form that's being
  2459. created is considered minimized, which is wrong.
  2460. * Form.cs: Catching the exception and returning our internal value
  2461. instead
  2462. 2006-01-26 Peter Dennis Bartok <[email protected]>
  2463. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  2464. SetWindowMinMax() to have means to tell the driver about the minimum,
  2465. maximum and maximized state window sizes. (Part of the fix for #76485)
  2466. * Form.cs:
  2467. - Implemented tracking of minimum and maximum window size, now calling
  2468. new SetWindowMinMax() driver method to tell the driver (Part of the
  2469. fix for #76485)
  2470. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  2471. (Completes fix for #76485)
  2472. - Calling new SetWindowMinMax driver method when the handle for a
  2473. form is created, to make sure the driver knows about it even if
  2474. the values have been set before the window was created
  2475. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  2476. to avoid messing up our anchoring calculations (partial fix
  2477. for #77355)
  2478. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  2479. * XplatUIX11.cs:
  2480. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  2481. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  2482. (and presumably other freedesktop.org compliant WMs). Left the
  2483. assumption unmapped=minimized, needed for SetVisible to work.
  2484. - Now setting the window state when creating windows
  2485. - Fixed SetVisible to consider/set the window state when mapping
  2486. a Form. We cannot set the state before it's mapped, and we cannot
  2487. use Form.WindowState once it's mapped (since it would ask the
  2488. driver and get 'normal'. Therefore, we grab the state before
  2489. mapping, map, and then set state.
  2490. - Implmemented SetWindowMinMax method; Metacity does not seem to
  2491. honor the ZoomHints, though.
  2492. * XplatUIWin32.cs:
  2493. - Removed MINMAXINFO (moved to XplatUIStructs)
  2494. - Added SetWindowMinMax stub (on Win32 the only way to set that
  2495. information is in response to the WM_GETMINMAXINFO message, which
  2496. is handled in Form.cs)
  2497. - Added logic to SetVisible to set the proper window state when a
  2498. form is made visible (fixes #75720)
  2499. 2006-01-26 Jackson Harper <[email protected]>
  2500. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  2501. same way we handle them with Invoke.
  2502. 2006-01-25 Peter Dennis Bartok <[email protected]>
  2503. * Form.cs:
  2504. - Added tracking of window state so CreateParams can return
  2505. the appropriate style
  2506. - Moved setting of WS_CAPTION style in CreateParams to allow
  2507. styles without caption
  2508. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  2509. control if the TextBox property is accessed. Fixes #77345
  2510. * Control.cs:
  2511. - get_Created: now uses is_disposed and is_created to determine
  2512. return value (suggested by Jackson)
  2513. - CreateHandle: No longer exits if the handle is being recreated
  2514. - RecreateHandle: If the handle is not yet created call the
  2515. appropriate method to create either control or handle. If the
  2516. control is already created CreateHandle will simply exit instead
  2517. of just creating the handle
  2518. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  2519. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  2520. is called.
  2521. * XplatUIX11.cs:
  2522. - When DestroyWindow is called, instead of waiting for the
  2523. DestroyNotification from X11, we directly post it to the WndProc
  2524. and immediately dispose the hwnd object.
  2525. Same applies to DestroyChildWindows, and this obsoletes the
  2526. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  2527. child windows before our own, to avoid X11 errors.
  2528. - Removed the direct sending of WM_PAINT on UpdateWindow
  2529. * XplatUIWin32.cs:
  2530. - Reworked DoEvents and GetMessage to allow access to internal queue
  2531. even when trying non-blocking access to the queue. Fixes #77335.
  2532. Based on a patch suggestion by Don Edvalson. The new private
  2533. GetMessage can now also be used as a backend for a PeekMessage
  2534. frontend version.
  2535. * XplatUI.cs: Improved debug output for CreateWindow
  2536. 2006-01-25 Jackson Harper <[email protected]>
  2537. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  2538. 2006-01-24 Jackson Harper <[email protected]>
  2539. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  2540. when we have a MaxDropItems lower then the selected index.
  2541. 2006-01-24 Jackson Harper <[email protected]>
  2542. * Control.cs: Don't allow selection of non visible controls, allow
  2543. selection of controls without parents.
  2544. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  2545. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  2546. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  2547. 2006-01-23 Jackson Harper <[email protected]>
  2548. * UpDownBase.cs: Make the textbox handle all the selection and
  2549. tabbing. This fixes tabing to updown controls.
  2550. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  2551. * TextBoxBase.cs: fixes exception thown the object was null
  2552. 2006-01-23 Jackson Harper <[email protected]>
  2553. * ButtonBase.cs: Just use the base CreateParams. They set
  2554. visibility and enabled correctly.
  2555. * ComboBox.cs:
  2556. * TrackBar.cs:
  2557. * MonthCalendar.cs: Lets let the base set as much of the
  2558. createparams as possible so we don't have duplicate code all over
  2559. the place.
  2560. 2006-01-22 Alexander Olk <[email protected]>
  2561. * ThemeGtk.cs: Added TrackBar and some experimental code to
  2562. get double buffering back
  2563. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  2564. * DataGrid.cs: Allows row number set internally higher than the last
  2565. when creating a new row. Restores the editing functionality.
  2566. 2006-01-20 Mike Kestner <[email protected]>
  2567. * MimeIcon.cs: delay Image creation until the icons are accessed
  2568. instead of creating 190 scaled images on GnomeHandler startup.
  2569. 2006-01-19 Peter Dennis Bartok <[email protected]>
  2570. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  2571. first call base before processing the event. Fixes #77279
  2572. 2006-01-19 Peter Dennis Bartok <[email protected]>
  2573. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  2574. that the stride for the GDI bitmap would match the stride of
  2575. a DIB or a Cursor.
  2576. 2006-01-19 Alexander Olk <[email protected]>
  2577. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  2578. 2006-01-19 Jackson Harper <[email protected]>
  2579. * ComboBox.cs: Hookup the text controls keydown event so we get
  2580. those when the text control has the focus.
  2581. 2006-01-18 Peter Dennis Bartok <[email protected]>
  2582. * Label.cs: Now using the base events instead of defining new ones;
  2583. this allows us to just call the base properties without having to
  2584. duplicate all base property logic
  2585. 2006-01-18 Peter Dennis Bartok <[email protected]>
  2586. * Label.cs: A label by default is not a tabstop (Fixes one of our
  2587. failing nunit tests)
  2588. 2006-01-18 Peter Dennis Bartok <[email protected]>
  2589. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  2590. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  2591. 2006-01-18 Peter Dennis Bartok <[email protected]>
  2592. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  2593. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  2594. This fixes #77218
  2595. * XplatUIWin32.cs:
  2596. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  2597. constructor creates images that can't be saved. Part of the fix
  2598. for #76103
  2599. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  2600. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  2601. bug fix for handling window state in forms properly)
  2602. 2006-01-18 Alexander Olk <[email protected]>
  2603. * ThemeGtk.cs: Simplify ScrollBar drawing
  2604. 2006-01-18 Jackson Harper <[email protected]>
  2605. * Splitter.cs: Set the default dock style for the splitter control
  2606. in the constructor.
  2607. 2006-01-18 Alexander Olk <[email protected]>
  2608. * ThemeGtk.cs: Corrected StateType and ShadowType for
  2609. gtk_paint_box
  2610. 2006-01-18 Alexander Olk <[email protected]>
  2611. * Control.cs: Make use of Theme.DoubleBufferingSupported
  2612. * ThemeGtk.cs:
  2613. - Added drawing for flat style buttons
  2614. - Added ScrollBar drawing
  2615. 2006-01-18 Alexander Olk <[email protected]>
  2616. * ThemeClearlooks.cs: Removed some unneeded code.
  2617. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  2618. 2006-01-17 Peter Dennis Bartok <[email protected]>
  2619. * LinkLabel.cs: We need to update the hover drawing when
  2620. leaving the control as well.
  2621. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  2622. * DataGrid.cs: Clicking on non empty areas in the columns
  2623. area was giving an exception
  2624. 2006-01-17 Jackson Harper <[email protected]>
  2625. * ThemeWin32Classic.cs:
  2626. * ListView.cs: Do not draw/clip the headers when the header style
  2627. is None.
  2628. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  2629. * DataGrid.cs: Fixes 77260
  2630. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  2631. * DataGrid.cs: Clicking on a column on a empty grid was giving
  2632. an exception
  2633. 2006-01-17 Peter Dennis Bartok <[email protected]>
  2634. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  2635. or any keypress will crash the grid.
  2636. 2006-01-17 Mike Kestner <[email protected]>
  2637. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  2638. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  2639. invisible/previously-visible items.
  2640. [Fixes #76909]
  2641. 2006-01-17 Alexander Olk <[email protected]>
  2642. * ThemeClearlooks.cs:
  2643. - Added CL_Draw_Button method; now other theme controls that are
  2644. not derived from button or do not have a button can draw buttons
  2645. too
  2646. - Updated ComboBox drawing
  2647. - Beautified RadioButton drawing
  2648. - Corrected drawing of bottom and left tabs
  2649. - Beautified DateTimePicker and MonthCalendar
  2650. - Added CPDrawButton and CPDrawRadioButton
  2651. 2006-01-16 Jackson Harper <[email protected]>
  2652. * ComboBox.cs: Set the initial value of the scrollbar to the
  2653. current index. Reduce the numbers of refreshs and IndexOfs called.
  2654. 2006-01-14 Alexander Olk <[email protected]>
  2655. * FileDialog.cs: When the file listview is focused hitting the
  2656. backspace key moves the fileview to the parent directory
  2657. 2006-01-13 Peter Dennis Bartok <[email protected]>
  2658. * Form.cs:
  2659. - Added RecreateHandle call when changing taskbar visibility to
  2660. trigger reparenting in Win32 driver (Fixes #75719)
  2661. - If a window has minimize or maximize buttons, it cannot have
  2662. a help button
  2663. * XplatUIWin32.cs:
  2664. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  2665. the toplevel form with FosterParent (A toolwindow not on the
  2666. taskbar) (Fixes #75719)
  2667. - Made FosterParent a toolwindow
  2668. 2006-01-13 Alexander Olk <[email protected]>
  2669. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  2670. 2006-01-13 Alexander Olk <[email protected]>
  2671. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  2672. is currently over that control, make sure that tooltip_window.Text
  2673. gets updated
  2674. 2006-01-13 Mike Kestner <[email protected]>
  2675. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  2676. 2006-01-13 Jackson Harper <[email protected]>
  2677. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  2678. value passed. Also redraw the selected node when we recieve
  2679. focus, so tabbing between trees works correctly.
  2680. 2006-01-13 Alexander Olk <[email protected]>
  2681. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  2682. ~/.gconf/%gconf-tree.xml, so use
  2683. .gconf/desktop/gnome/interface/%gconf.xml
  2684. 2006-01-13 Peter Dennis Bartok <[email protected]>
  2685. * TextControl.cs: Draw text in gray if control is disabled
  2686. 2006-01-13 Peter Dennis Bartok <[email protected]>
  2687. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  2688. make sure it's always visible. Fixes #76680.
  2689. 2006-01-13 Peter Dennis Bartok <[email protected]>
  2690. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  2691. 2006-01-13 Jonathan Chambers <[email protected]>
  2692. * PageSetupDialog.cs: Added.
  2693. * PrintDialog.cs: Attributes.
  2694. * PrintPreviewControl.cs: Updates.
  2695. * PrintPreviewDialog.cs: Updates.
  2696. 2006-01-12 Peter Dennis Bartok <[email protected]>
  2697. * Control.cs: Undid my selection check fix, since it's not needed
  2698. * TextBoxBase.cs:
  2699. - Now considering the presence of hscroll/vscroll when sizing
  2700. vscroll/hscroll respectively. Fixed bug #77077
  2701. - Added Left/Up/Down/Right to IsInputKey list to prevent
  2702. ContainerControl from stealing them. This fixes what I broke
  2703. with my last checkin.
  2704. 2006-01-12 Peter Dennis Bartok <[email protected]>
  2705. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  2706. I finally understand how the property can be set without a setter :-)
  2707. 2006-01-12 Peter Dennis Bartok <[email protected]>
  2708. * Application.cs:
  2709. - Switched RunLoop to use static Message.Create to create a
  2710. Message object
  2711. - Added PreProcessMessage call in runloop for keyboard events; this
  2712. is part of the fix for #77219, I overlooked this originally in the
  2713. MSDN doc for PreProcessMessage
  2714. * Control.cs:
  2715. - Removed call to PreProcessMessage from handling of keyboard
  2716. messages; it's supposed to be done in the message pump
  2717. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  2718. per MSDN documentation.
  2719. - IsInputChar: All chars are input chars by default; removed the
  2720. parent calling chain, MS does not document that
  2721. - PreProcessMessage: If IsInputChar is true, we want to return false
  2722. to allow dispatching of the message
  2723. - When selecting the next control, now also check that we're not
  2724. selecting ourselves again and therefore return a false positive.
  2725. * TextBoxBase.cs:
  2726. - Tried to match return values for IsInputKey and ProcessDialogKey
  2727. to what MS returns; moved processing of our special keys outside
  2728. ProcessDialogKey since MS does not seem to return true on those.
  2729. - Moved code that previously was in ProcessDialogKey into new private
  2730. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  2731. - Reworked handling of WM_CHAR to not have to duplicate code from
  2732. Control.cs anymore, instead we simply call down to base.
  2733. 2006-01-12 Jackson Harper <[email protected]>
  2734. * ComboBox.cs: We always need to refresh the text area when
  2735. EndUpdate is called. Fixes the combobox in the file dialog.
  2736. * Control.cs: Don't create the creator_thread until the controls
  2737. handle is created. Also in InvokeRequired we check if the
  2738. creator_thread is null. This gives the effect of InvokeRequired
  2739. returning true if the controls handle is not created yet, and
  2740. matches MS.
  2741. 2006-01-12 Peter Dennis Bartok <[email protected]>
  2742. * XplatUI.cs:
  2743. - Added StartLoop() driver method. This is used to allow drivers to
  2744. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  2745. loop for a particular thread
  2746. - Added EndLoop() driver method. This is called once the message
  2747. pump for the thread is shut down
  2748. - Added SupportsTransparency method to allow the driver to indicate
  2749. opacity support for windows
  2750. * Form.cs:
  2751. - Removed TODO attribute, completed AllowTransparency property
  2752. - Added documented logic to Opacity
  2753. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  2754. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  2755. versions of CompatibleTextRendering
  2756. * X11Structs.cs: Added opacity atom to our atom enumeration
  2757. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  2758. of a form might be set before it's reparented by the WM, and we need
  2759. the opacity value without calling up to Form)
  2760. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  2761. SupportsTransparency() driver methods
  2762. * Application.cs: Now calling StartLoop and EndLoop driver methods
  2763. * XplatUIX11.cs:
  2764. - Added opacity atom registration
  2765. - Added StartLoop()/EndLoop() methods. They're empty right now but
  2766. will need to get implemented when we switch to a per-thread queue
  2767. - Implemented SupportsTransparency() method
  2768. - Implemented SetWindowTransparency() method
  2769. - Added support for setting the opacity value when a window is
  2770. reparented (since the opacity needs to be set on the WM frame)
  2771. * XplatUIOSX.cs, XplatUIWin32.cs:
  2772. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  2773. 2006-01-12 Alexander Olk <[email protected]>
  2774. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  2775. 2006-01-12 Alexander Olk <[email protected]>
  2776. * FileDialog.cs: Added ToolTip for MWFFileView
  2777. * MimeIcon.cs: Rewrote GnomeHandler.
  2778. - Get currently used gnome icon theme from
  2779. ($HOME)/.gconf/%gconf-tree.xml
  2780. - Make use of inherited icon themes
  2781. - Support SVG icon themes like Tango via librsvg
  2782. 2006-01-12 Miguel de Icaza <[email protected]>
  2783. Revert's Jackson's revert which broke 2.0 builds. Fix both
  2784. builds.
  2785. * Application.cs: Move the use_compatible_text_rendering outside
  2786. the NET_2_0 define. If we ever need to use the
  2787. use_compatible_text_rendering on the individual controls they will
  2788. access the variable from the common shared code paths.
  2789. 2006-01-12 Peter Dennis Bartok <[email protected]>
  2790. * XplatUI.cs:
  2791. - Added more granular debug options
  2792. - Added method to print both window text and id
  2793. - Switched debug output to use new Window() debug method
  2794. - Added IsEnabled() driver method
  2795. - Added EnableWindow() driver method
  2796. * Form.cs:
  2797. - Removed end_modal; no longer needed, new loop handles termination
  2798. via 'closing' variable
  2799. - If form is modal, setting DialogResult will now initiate loop
  2800. termination via 'closing' variable
  2801. - Added support for is_enabled/WS_DISABLED to CreateParams
  2802. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  2803. does all the work
  2804. - Removed code that's now in RunLoop from ShowDialog()
  2805. - Added various documented sanity checks to ShowDialog()
  2806. - Added handling of WM_DESTROY message; we set 'closing' on getting
  2807. the message to indicate the message pump to terminate
  2808. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  2809. send by the Application.ExitThread method. (We send the message
  2810. to destroy the window after all other events have been
  2811. processed through the queue, instead of destroying the handle
  2812. directly)
  2813. - Moved code from Close() method to WM_CLOSE handler; added logic
  2814. to only send close-related events if the form is not displayed
  2815. modal
  2816. * Splitter.cs (..ctor): Fixed typo in resource name
  2817. * Control.cs:
  2818. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  2819. brush now
  2820. - set_Cursor: Now only setting calling into XplatUI if the handle for
  2821. the control is already created; this avoids implict handle creation
  2822. or crashes if it's not created
  2823. - set_Enabled: Now setting the enabled state via the new driver method
  2824. instead of just tracking it
  2825. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  2826. - CreateControl: Reordered event firing and method calls to more
  2827. closely fire events in the order MS does. Now setting the
  2828. enabled state in the driver when creating the control.
  2829. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  2830. match MS order
  2831. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  2832. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  2833. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  2834. * Hwnd.cs:
  2835. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  2836. - Added EnabledHwnd property to easily allow a driver to find the
  2837. handle of the first enabled window in the parent chain (this is
  2838. used by drivers to pass up input events of disabled windows)
  2839. * XplatUIDriver.cs: Added IsEnabled() method
  2840. * Application.cs:
  2841. - Removed crude and obsolete exiting tracking variable
  2842. - Removed internal ModalRun(); replaced by RunLoop()
  2843. - Implemented private CloseForms() method to allow closing all
  2844. windows owned by a particular (or all) threads
  2845. - Exit() now properly closes all windows without forcing the message
  2846. pump to quit
  2847. - Removed obsolete InternalExit() method
  2848. - Changed Run() methods to use new RunLoop() message pump
  2849. - Implemented new RunLoop() method for both modal and non-modal forms
  2850. * CommonDialog.cs:
  2851. - get_CreateParams: Added setting of WS_DISABLED
  2852. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  2853. invoked via Form.ShowDialog()
  2854. * NativeWindow.cs: We don't remove the window from the collection when
  2855. the handle is destroyed; there might still be messages for it in the
  2856. queue (mainly the resulting WM_DESTROY); instead it will be removed
  2857. when Control calls InvalidateHandle in the WM_DESTROY handler
  2858. * XplatUIX11.cs:
  2859. - CreateWindow: Added logic to handle the WS_DISABLED window style
  2860. - EnableWindow: Implemented based on Hwnd.Enabled
  2861. - GetMessage: Reset PostQuitState so the method can be called again
  2862. - Implemented support for disabled windows (passing messages to the
  2863. first enabled parent) in handling all input messages
  2864. - Added optimizations for handling Expose events
  2865. - Implemeted new driver method IsEnabled()
  2866. - Now always resetting paint pending tracking vars when we start paint
  2867. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  2868. * XplatUIOSX.cs: Added IsEnabled method stub
  2869. * XplatUIWin32.cs: Implemented new IsEnabled() method
  2870. 2006-01-11 Jackson Harper <[email protected]>
  2871. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  2872. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  2873. variables a little.
  2874. * ColorDialog.cs: Clear out the old form before adding the new
  2875. panel.
  2876. 2006-01-11 Jackson Harper <[email protected]>
  2877. * X11Dnd.cs: Make sure to add all the text formats when adding
  2878. strings to the data object.
  2879. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  2880. do some redrawing too. Also change the UpdateNode to an
  2881. UpdateBelow so the newly added node gets painted.
  2882. 2006-01-11 Miguel de Icaza <[email protected]>
  2883. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  2884. LinkLabel.cs, PropertyGrid.cs: Implement the
  2885. UseCompatibleTextRendering property for 2.x
  2886. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  2887. 2006-01-11 Jackson Harper <[email protected]>
  2888. * TreeView.cs: Use the property for setting the selected node so
  2889. the correct events get raised.
  2890. * TreeNode.cs: Update the tree when the fore/back colours of a
  2891. node are set.
  2892. 2006-01-10 Jackson Harper <[email protected]>
  2893. * TreeView.cs: Allow setting SelectedNode to null.
  2894. 2006-01-9 Jonathan Chambers <[email protected]>
  2895. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  2896. 2006-01-9 Jonathan Chambers <[email protected]>
  2897. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  2898. 2006-01-9 Jonathan Chambers <[email protected]>
  2899. * PrintDialog.cs: Added attributes and set default property values.
  2900. 2006-01-9 Jonathan Chambers <[email protected]>
  2901. * PrintControllerWithStatusDialog.cs:
  2902. Added PrintControllerWithStatusDialog.
  2903. 2006-01-9 Jonathan Chambers <[email protected]>
  2904. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  2905. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  2906. 2006-01-9 Jonathan Chambers <[email protected]>
  2907. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  2908. 2006-01-09 Jonathan Chambers <[email protected]>
  2909. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  2910. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  2911. 2006-01-08 Alexander Olk <[email protected]>
  2912. * MimeIcon.cs: Added internal class SVGUtil.
  2913. 2006-01-08 Alexander Olk <[email protected]>
  2914. * FileDialog.cs: Don't crash if there are two files with the
  2915. same name but different locations.
  2916. 2006-01-08 John BouAntoun <[email protected]>
  2917. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  2918. dates across multiple month grids. Used to not highlight entire
  2919. month, but does now.
  2920. 2006-01-06 Jackson Harper <[email protected]>
  2921. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  2922. message loop. Change timer intervals to numbers that seem more
  2923. natural.
  2924. 2006-01-06 John BouAntoun <[email protected]>
  2925. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  2926. object for location info since screen object is now implemented.
  2927. 2006-01-05 Jackson Harper <[email protected]>
  2928. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  2929. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  2930. AsyncMethodResult, this is because we ALWAYS want the
  2931. ManualResetEvent to get set.
  2932. * Control.cs: When disposing use an async invoke to call shutdown
  2933. code, so that thigns don't block on the finalizer thread. Also
  2934. check if we even have a message loop before trying to send
  2935. messages, if we don't then don't bother sending messages.
  2936. - No more weak references for async methods
  2937. * XplatUIDriver.cs: No more weak references for async methods.
  2938. 2006-01-04 Alexander Olk <[email protected]>
  2939. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  2940. returns two FontFamily with the same name
  2941. 2006-01-04 Peter Dennis Bartok <[email protected]>
  2942. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  2943. drawing disabled text. Instead using the ColorGrayText color
  2944. 2006-01-04 Jackson Harper <[email protected]>
  2945. * TreeNode.cs: redraw the node when its image index is changed.
  2946. 2006-01-04 Peter Dennis Bartok <[email protected]>
  2947. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  2948. time I checked there are no others like it.
  2949. 2006-01-04 Jackson Harper <[email protected]>
  2950. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  2951. this gives the behavoir I was looking for.
  2952. * Control.cs: Special case Invoking EventHandlers, this matches MS
  2953. and fixes part of bug #76326.
  2954. 2006-01-04 Alexander Olk <[email protected]>
  2955. * ThemeClearlooks.cs, FileDialog.cs:
  2956. - Reflect the latest Theme class changes
  2957. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  2958. with DateTime
  2959. 2006-01-04 Alexander Olk <[email protected]>
  2960. * Theme.cs: Cache UI resource images and resize them if needed
  2961. 2006-01-03 Peter Dennis Bartok <[email protected]>
  2962. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  2963. is called. This fixes the crash in Nexxia when setting the font
  2964. attributes in the chat. [However, RTF needs a look-over to make sure
  2965. that all SelectionXXX methods handle the special case that selection
  2966. is empty and therefore the change must be applied to all text starting
  2967. at the cursor/selection start]
  2968. 2006-01-03 Peter Dennis Bartok <[email protected]>
  2969. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  2970. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  2971. * X11Keyboard.cs: Switched to new way of calling PostMessage
  2972. 2006-01-03 Peter Dennis Bartok <[email protected]>
  2973. * Theme.cs: Added theme interface for images to allow the theme to
  2974. control what images are used for things like FileDialog, MessageBox
  2975. icons, etc.
  2976. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  2977. 2006-01-03 Alexander Olk <[email protected]>
  2978. * FileDialog.cs:
  2979. - Removed some dead code
  2980. - Opening a recently used file does work now
  2981. - Small UI enhancements
  2982. - Refactoring
  2983. 2006-01-02 Alexander Olk <[email protected]>
  2984. * FileDialog.cs: Forgot too add __MonoCS__
  2985. 2006-01-02 Alexander Olk <[email protected]>
  2986. * FileDialog.cs: We are able to read recently used files now let's
  2987. go on and write them.
  2988. 2006-01-01 Alexander Olk <[email protected]>
  2989. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  2990. button
  2991. * MimeIcon.cs: Do a check for the top level media type also
  2992. 2005-12-31 Alexander Olk <[email protected]>
  2993. * ThemeClearlooks.cs:
  2994. - Added CPDrawStringDisabled
  2995. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  2996. some chars if the text doesn't fit into text_rect
  2997. - DrawListViewItem: If View = View.LargeIcon center the image;
  2998. rewrote the drawing of ListViewItem.Text if View =
  2999. View.LargeIcon
  3000. 2005-12-31 Alexander Olk <[email protected]>
  3001. * MimeIcon.cs: Use default KDE icon theme if there is no
  3002. "48x48" directory for the current icon theme, fixes #77114
  3003. * Mime.cs: Disable not working and actually not used code.
  3004. * ThemeWin32Classic.cs:
  3005. - Replace "new SolidBrush" in GetControlBackBrush and
  3006. GetControlForeBrush with ResPool.GetSolidBrush
  3007. - Changed DrawListViewItem from private to protected virtual
  3008. * FileDialog.cs:
  3009. - Added form.MaximizeBox = true
  3010. - Don't throw an exception if there is a broken symbolic link
  3011. 2005-12-23 Jackson Harper <[email protected]>
  3012. * TabControl.cs: Give the panels focus, keyboard navigation is
  3013. fixed so this works correctly now.
  3014. - We need these key events also.
  3015. * ToolBar.cs: Remove some of the poor mans double buffering.
  3016. 2005-12-24 Alexander Olk <[email protected]>
  3017. * ComboBox.cs: The internal TextBox now returns the focus.
  3018. 2005-12-23 Jackson Harper <[email protected]>
  3019. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  3020. 2005-12-23 Peter Dennis Bartok <[email protected]>
  3021. * Control.cs: Removed debug code
  3022. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  3023. implicit children
  3024. 2005-12-23 Peter Dennis Bartok <[email protected]>
  3025. * Control.cs: When creating the control, update the Z-order after
  3026. all it's children are created, too. (Fixes nexxia not showing
  3027. picturebox bug)
  3028. 2005-12-23 Peter Dennis Bartok <[email protected]>
  3029. * Control.cs: Do not update the anchoring distances if layout is
  3030. suspended, instead do it once layout is resumed
  3031. 2005-12-22 Peter Dennis Bartok <[email protected]>
  3032. * Control.cs:
  3033. - After many hours of debugging, for both Jackson and
  3034. myself, it turns out that it helps to set the parent of a control
  3035. if you want to actually see it onscreen. In the spirit of that
  3036. discovery, we're now setting the parent of the control and
  3037. it's children when the control's handle is created. This fix
  3038. will make Lutz Roeder's Reflector run happily.
  3039. - now just creating the handle instead of the whole control when
  3040. getting a graphics context for the control.
  3041. 2005-12-22 Peter Dennis Bartok <[email protected]>
  3042. * ScrollableControl.cs: When calculating the canvas, don't consider
  3043. the scrollbar widths. Instead, predict if horizontal scrollbar
  3044. will affect canvas when deciding on vertical display and vice versa.
  3045. 2005-12-22 Peter Dennis Bartok <[email protected]>
  3046. * RichTextBox.cs: Set default RTF font for documents that don't
  3047. have a font table (Fixes #77076)
  3048. 2005-12-22 Jackson Harper <[email protected]>
  3049. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  3050. clipboard. This prevents a NullRef in that case.
  3051. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  3052. clipboard. PRIMARY is for the currently selected text only. (We
  3053. should implement PRIMARY at some point.
  3054. 2005-12-21 Peter Dennis Bartok <[email protected]>
  3055. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  3056. a Unicode function with a structure that was defined in Ansi way.
  3057. This fixes #76942.
  3058. 2005-12-21 Jackson Harper <[email protected]>
  3059. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  3060. on. Because thats how it rolls. (and this avoids it using ambient
  3061. colours).
  3062. * ThemeWin32Classic.cs: Use the proper back color for filling.
  3063. * Menu.cs: Use the system menu bar color for drawing menu
  3064. bars. Using the window back color will bring ambient colours into
  3065. the picture.
  3066. 2005-12-21 Alexander Olk <[email protected]>
  3067. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  3068. Bitmaps were created and not disposed.
  3069. 2005-12-21 Peter Dennis Bartok <[email protected]>
  3070. * Control.cs (CreateControl): Don't do anything if the control is
  3071. already created, otherwise we'd fire the OnCreated event more than
  3072. once
  3073. 2005-12-21 Peter Dennis Bartok <[email protected]>
  3074. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  3075. will always match. Instead return -1. Fixes #76464.
  3076. 2005-12-21 Peter Dennis Bartok <[email protected]>
  3077. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  3078. neither the beginning nor the end of the line (Fixes bug #76479)
  3079. 2005-12-21 Peter Dennis Bartok <[email protected]>
  3080. * Control.cs:
  3081. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  3082. where handle is invalid
  3083. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  3084. instead of slower linear search
  3085. * NativeWindow.cs: Don't remove the window from the hashtable until
  3086. after the driver has destroyed it (since the driver might use
  3087. Control.FromHandle to lookup the control object
  3088. * Hwnd.cs: Added DestroyPending property to track if a window is
  3089. already destroyed as far as the driver is concerned and only hasn't
  3090. yet notified the control
  3091. * XplatUIX11.cs:
  3092. - Activate(): Check if the window is still valid before using the
  3093. handle
  3094. - Implemented DestroyChildWindow() method to mark child windows as
  3095. destroyed when a window is destroyed. This prevents situations
  3096. where we might call an X method based on queued events for a
  3097. window that already has been destroyed but we haven't yet pulled
  3098. the destroy method from the queue.
  3099. - Added a call to the new DestroyChildWindow() method to the drivers
  3100. DestroyWindow code. Also now marking the destroyed window itself
  3101. as pending
  3102. 2005-12-20 Jackson Harper <[email protected]>
  3103. * StatusBar.cs:
  3104. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  3105. anymore. Just do them when needed, also track the rects of panels
  3106. so that we can optimize refreshing more in the future.
  3107. 2005-12-20 Alexander Olk <[email protected]>
  3108. * ColorDialog.cs: Fixed focus drawing in small color controls
  3109. 2005-12-19 Jackson Harper <[email protected]>
  3110. * InternalWindowManager.cs:
  3111. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  3112. moving windows works properly.
  3113. 2005-12-19 Peter Dennis Bartok <[email protected]>
  3114. * Control.cs:
  3115. - Removed call to InitLayout() from SetBoundsCore(); doc says
  3116. it's only called when a control is added to a container
  3117. - Split InitLayout logic, moved to separate UpdateDistances() method
  3118. since we need to perform those calculations more often than just
  3119. when adding the control to a container. (Needed to fix #77022)
  3120. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  3121. - Reduced the OnBindingContextChanged events count, don't send them
  3122. unless the control is created, we still aren't totally matching
  3123. MS, but I can't quite figure out some of their rules
  3124. 2005-12-18 Alexander Olk <[email protected]>
  3125. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  3126. stripes
  3127. 2005-12-18 Alexander Olk <[email protected]>
  3128. * ThemeClearlooks.cs:
  3129. - Updated ProgressBar drawing
  3130. - Corrected drawing of ScrollBars and scroll buttons
  3131. - Some temporary fixes for minor pixel artefacts
  3132. 2005-12-18 Peter Dennis Bartok <[email protected]>
  3133. * Control.cs:
  3134. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  3135. cause events to be sent in the same order as MS does.
  3136. - Added ChangeParent() method to trigger various OnXXXChanged events
  3137. that need to be fired when a parent changes (This is a reworking
  3138. of the patch from r54254, with the X11 errors fixed)
  3139. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  3140. since on MS we get OnLayoutChanged events when calling Clear()
  3141. - Changed Enabled property to consider parent state as well, if a
  3142. parent is not enabled, the control will not be either
  3143. - Changed Parent property to simply call Controls.Add() since that
  3144. now does all the work required, this way we avoid code duplication
  3145. - Threw in a few OnBindingsContextChanged calls to try and match
  3146. when MS sends them. We seem to send a few too many, though.
  3147. - Added call to CreateControl when adding the control to a parent.
  3148. We were never calling CreateControl. Still needs some work, in
  3149. some places we treat HandleCreated and ControlCreated as equal,
  3150. which is wrong
  3151. - Removed obsolete commented out code from UpdateZOrder()
  3152. 2005-12-18 Alexander Olk <[email protected]>
  3153. * ThemeClearlooks.cs: Updated TrackBar drawing.
  3154. 2005-12-17 Alexander Olk <[email protected]>
  3155. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  3156. 2005-12-17 Alexander Olk <[email protected]>
  3157. * FileDialog.cs: Add the Help button and the open readonly
  3158. checkbox only if needed
  3159. 2005-12-16 Jackson Harper <[email protected]>
  3160. * Control.cs: Make sure we have an active menu before trying to
  3161. process commands on it. Prevents menu-less forms from crashing
  3162. when Alt is pressed.
  3163. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  3164. Dieter Bremes.
  3165. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  3166. 2.0 build.
  3167. 2005-12-16 Jackson Harper <[email protected]>
  3168. * InternalWindowManager.cs: Don't translate tool windows screen
  3169. coordinates. This fixes windows 'bouncing' around when being moved.
  3170. 2005-12-15 Peter Dennis Bartok <[email protected]>
  3171. * TextBoxBase.cs:
  3172. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  3173. not quite MS compatible, MS uses that number only for single line
  3174. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  3175. the limit at 2GB)
  3176. - Now enforcing the MaxLength limit when entering characters
  3177. - Added argument to internal Paste() method to track if it's called
  3178. from programatically or via keyboard, since keyboard driven pastes
  3179. need to enforce max-length
  3180. - Added logic to Paste to only paste as many chars as MaxLength
  3181. allows
  3182. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  3183. * TextControl.cs:
  3184. - Added Length property to return number of characters in document
  3185. - Added private CharCount property which only tracks actual chars
  3186. in the document (no linefeeds) and fires event when CharCount
  3187. changes
  3188. - Added tracking of character count to all methods that alter it
  3189. - Added LengthChanged event to allow applications to subscribe
  3190. to any changes to the document
  3191. 2005-12-15 Peter Dennis Bartok <[email protected]>
  3192. * TextBox.cs:
  3193. - Removed local password_char field (moved to TextBoxBase)
  3194. - Now setting the document's password var when password is
  3195. set
  3196. * TextBoxBase.cs:
  3197. - Added password_char field (needed here so MultiLine can
  3198. access it)
  3199. - Added logic to MultiLine property setter to set the document's
  3200. variable when password display is allowed
  3201. - Removed debug code and made some debug code conditional
  3202. * TextControl.cs:
  3203. - Added RecalculatePasswordLine() method to handle special password
  3204. char only lines
  3205. - Added PasswordChar property, also added related tracking vars
  3206. - Draw() method now uses local text var for grabbing text to draw,
  3207. this var is set to line.text unless we're doing password display,
  3208. then it is set to the pre-generated all-password-chars line
  3209. - Added calling RecalculatePasswordLine() method for password lines
  3210. 2005-12-14 Peter Dennis Bartok <[email protected]>
  3211. * Hwnd.cs:
  3212. - Added Reparented property to allow tracking of Window Manager
  3213. reparenting actions (which affect X/Y calculations of toplevel
  3214. windows)
  3215. - Made ToString() print window handles in hex
  3216. * XplatUIX11.cs:
  3217. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  3218. determine if X/Y needs offsetting
  3219. - AddConfigureNotify(): Fixed offset calculations
  3220. - Now adds ReparentNotify messages into the queue
  3221. - Now processes ReparentNotify messages and causes a
  3222. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  3223. is reparented (as most likely it's X/Y coordinates are changed
  3224. due to that)
  3225. 2005-12-14 Jackson Harper <[email protected]>
  3226. * XplatUIX11.cs: Tool windows still need to respek focus.
  3227. 2005-12-14 Peter Dennis Bartok <[email protected]>
  3228. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  3229. have a working release
  3230. 2005-12-13 Jackson Harper <[email protected]>
  3231. * Form.cs: Update styles after setting the border style regardless
  3232. of whether or not the window is using a window manager.
  3233. 2005-12-13 Jackson Harper <[email protected]>
  3234. * Form.cs: We now hook into an internal window manager instead of just an
  3235. MDI subsystem, this is so we can have properly behaving tool windows.
  3236. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  3237. * InternalWindowManager.cs: New internal class that acts as a
  3238. window manager for tool windows and as a base for mdi windows.
  3239. * MdiWindowManager.cs: New class that acts as a window manager for
  3240. mdi windows.
  3241. 2005-12-12 Jackson Harper <[email protected]>
  3242. * Control.cs: Updates so we match behavoir for for implicit
  3243. controls. Fixes explosions in MDI.
  3244. 2005-12-12 Jackson Harper <[email protected]>
  3245. * Control.cs: Implement Invalidate (Region).
  3246. 2005-12-12 Peter Dennis Bartok <[email protected]>
  3247. * Control.cs:
  3248. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  3249. the same events as MS does. MS fires events for each property
  3250. except, for unknown reasons, Cursor, when the control is reparented.
  3251. I can't seem to totally match add/remove since MS also fires some
  3252. VisibleChanged events, which makes no sense. Consolidated the
  3253. parenting code into a separate method so it can be called from
  3254. both Add and Remove. set_Parent no longer needs any special logic
  3255. as it calls the parent's add method which implicitly fires
  3256. all events
  3257. - Removed some obsolete code and debug output
  3258. - Enabled state is inherited from parents, if this is enabled
  3259. 2005-12-08 Peter Dennis Bartok <[email protected]>
  3260. * Form.cs: Removed commented out code
  3261. 2005-12-08 Peter Dennis Bartok <[email protected]>
  3262. * Control.cs:
  3263. - Added internal version of Invoke, with additional argument
  3264. indicating if we're calling it from a Dispose() handler. That
  3265. way we can avoid BeginInvoke throwing an exception if we're
  3266. calling for an already destroyed window.
  3267. - Added a dispose argument to BeginInvokeInternal, and made the
  3268. check if a valid window handle chain exists conditional on
  3269. it not being a dispose call
  3270. - Removed code in DestroyHandle to destroy our children. Since we
  3271. now handle the WM_DESTROY message we will catch all our children
  3272. being destroyed.
  3273. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  3274. * Form.cs:
  3275. - Added a field to track the application context of the form.
  3276. - No need to set closing variable as response to WM_CLOSE, instead
  3277. we destroy the window. We also call PostQuitMessage if the form
  3278. has an application context (which makes it the main app form,
  3279. which, when closed terminates the app)
  3280. * XplatUI.cs:
  3281. - Dropped Exit() method, it's naming was confusing
  3282. - Added PostQuitMessage() which causes GetMessage to return false
  3283. once the message queue is empty
  3284. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  3285. PostQuitMessage()
  3286. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  3287. no longer a valid XplatUI method, but left it in since it's used
  3288. internally. Added empty PostQuitMessage() method.
  3289. * MenuAPI.cs: Replaced call to Exit() with call to
  3290. PostQuitMessage, even though this is probably no longer needed.
  3291. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  3292. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  3293. * Application.cs:
  3294. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  3295. - Removed old debug code that would call XplatUI for exception
  3296. display, enabled standard exception handling (Still not enabled
  3297. though, until NativeWindow's ExternalExceptionHandler define
  3298. is removed
  3299. * NativeWindow.cs:
  3300. - Added internal method to allow control to update NativeWindow
  3301. after a window has been destroyed
  3302. - Added handling of already destroyed windows when calling i
  3303. DestroyWindow
  3304. - Added removal of handle from list on ReleaseHandle
  3305. * XplatUIX11.cs:
  3306. - Dropped GetMessageResult var and related code
  3307. - Added PostQuitState to field to track if PostQuitMessage has been
  3308. called
  3309. - Dropped Exit() method
  3310. - Added PostQuitMessage() method
  3311. - GetMessage now will return false if PostQuitState is set and no
  3312. more messages are in the queue.
  3313. - Expose handler will no longer generate WM_PAINT messages if we are
  3314. in PostQuitState since it's very likely any windows have already
  3315. been destroyed, and since Hwnd won't get updated until we have
  3316. processed the DestroyNotify we'd be causing X errors.
  3317. 2005-12-07 Peter Dennis Bartok <[email protected]>
  3318. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  3319. Thanks to Mike for pointing out the err of my ways.
  3320. 2005-12-07 Peter Dennis Bartok <[email protected]>
  3321. * Control.cs(PreProcessMessage): Moved menu handling back, but
  3322. after all other key handling, to match MS (who handles Menu in
  3323. DefWndProc)
  3324. * Menu.cs (WndProc): Removed my brainfart
  3325. 2005-12-07 Peter Dennis Bartok <[email protected]>
  3326. * Control.cs(PreProcessMessage): Removed special menu handling
  3327. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  3328. 2005-12-07 Mike Kestner <[email protected]>
  3329. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  3330. state according in tracker.
  3331. * Menu.cs : promote tracker field to base class and provide a tracker
  3332. lookup capability. Add/Remove shortcuts dynamically if the top menu
  3333. has a tracker. Unparent items that are removed from the collection.
  3334. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  3335. * Theme*.cs: add always_show_hotkeys field to support configurability
  3336. of mnemonic display. win32 doesn't show mnemonics until Alt is
  3337. pressed.
  3338. 2005-12-07 Jackson Harper <[email protected]>
  3339. * MdiChildContext.cs: Use Control.ResetCursor.
  3340. * Control.cs: ResetCursor needs to set the property so that the
  3341. correct XplatUI call gets made.
  3342. 2005-12-07 Peter Dennis Bartok <[email protected]>
  3343. * Control.cs: More fixes to make our key events match MS. We
  3344. were not setting the modifier state on KeyData, and we were
  3345. not generating any events when Alt was pressed with a key
  3346. since handling of WM_SYSxxx was missing for the OnKey methods.
  3347. 2005-12-07 Jackson Harper <[email protected]>
  3348. * MdiChildContext.cs: reenable the sizing code.
  3349. - When the mouse leaves a window reset its cursor.
  3350. 2005-12-07 Alexander Olk <[email protected]>
  3351. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  3352. 2005-12-07 Peter Dennis Bartok <[email protected]>
  3353. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  3354. widths of Fixed3D borders
  3355. 2005-12-07 Jackson Harper <[email protected]>
  3356. * MdiClient.cs: Fix warnings. Earn Mike's love.
  3357. 2005-12-07 Alexander Olk <[email protected]>
  3358. * ThemeClearlooks.cs:
  3359. - Adjusted mouse over button color
  3360. - Added first parts of CheckBox drawing
  3361. - Added correct color for selected text background
  3362. - Fixed ComboBox drawing
  3363. - Added CPDrawBorder3D and CPDrawBorder
  3364. 2005-12-06 Peter Dennis Bartok <[email protected]>
  3365. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  3366. 2005-12-06 Peter Dennis Bartok <[email protected]>
  3367. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  3368. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  3369. alert users via sound. We could add an enum arg with different
  3370. types of alerts in the future
  3371. 2005-12-06 Peter Dennis Bartok <[email protected]>
  3372. * Control.cs: Fix behaviour problems pointed out by Mike
  3373. 2005-12-05 Mike Kestner <[email protected]>
  3374. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  3375. prop setters. Calls parent.Refresh for now, but could be maybe be
  3376. optimized with an internal method on StatusBar at some point.
  3377. [Fixes #76513]
  3378. 2005-12-05 Peter Dennis Bartok <[email protected]>
  3379. * RichTextBox.cs: Implemented get_SelectionColor
  3380. 2005-12-05 Alexander Olk <[email protected]>
  3381. * ThemeClearlooks.cs:
  3382. - Removed dead code
  3383. - Draw black button border only if button is Form.AcceptButton
  3384. - Draw correct button color for pressed RadioButton if the mouse
  3385. has entered the button
  3386. - Updated ProgressBar drawing!
  3387. - Updated CPDrawSizeGrip drawing
  3388. - Updated StatusBarPanel drawing
  3389. 2005-12-05 Mike Kestner <[email protected]>
  3390. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  3391. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  3392. 2005-12-04 Alexander Olk <[email protected]>
  3393. * ThemeClearlooks.cs: Initial check-in, activate with
  3394. export MONO_THEME=clearlooks
  3395. * ThemeEngine.cs: Added ThemeClearlooks
  3396. 2005-12-03 Mike Kestner <[email protected]>
  3397. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  3398. [Fixes #76897]
  3399. 2005-12-02 Jackson Harper <[email protected]>
  3400. * Form.cs: If the child form has no menu the default main menu is
  3401. used as the active menu.
  3402. 2005-12-02 Peter Dennis Bartok <[email protected]>
  3403. * ListBox.cs: Check if any items exist before trying to resolve
  3404. coordinates into items
  3405. 2005-12-02 Peter Dennis Bartok <[email protected]>
  3406. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  3407. as the second color for the background hatch
  3408. 2005-12-02 Peter Dennis Bartok <[email protected]>
  3409. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  3410. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  3411. sure that what we pass to FormatText is always 1-based. Fixes #76885
  3412. 2005-11-29 Miguel de Icaza <[email protected]>
  3413. * NumericUpDown.cs (EndInit): When we are done initializing,
  3414. reflect any updates on the UI.
  3415. 2005-12-02 Jackson Harper <[email protected]>
  3416. * ImplicitHScrollBar.cs:
  3417. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  3418. their container controls.
  3419. * TreeView.cs: Use the new implicit scrollbars.
  3420. 2005-12-02 Jackson Harper <[email protected]>
  3421. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  3422. can play with it.
  3423. * TreeNodeCollection.cs: If we remove the topnode we need to
  3424. update topnode to the next node in line.
  3425. - When clearing nodes go through the same process as removing
  3426. them, so they get depareneted and checked if they are top node.
  3427. 2005-12-01 Jackson Harper <[email protected]>
  3428. * TreeView.cs: When imagelists are used the image area is
  3429. selectable as well as the text.
  3430. - If there are no selected nodes select the first one.
  3431. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  3432. so don't do it more then we need to.
  3433. 2005-12-01 Jackson Harper <[email protected]>
  3434. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  3435. that arrows can be scaled.
  3436. 2005-12-01 Jackson Harper <[email protected]>
  3437. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  3438. fail. Patch by Dieter Bremes
  3439. 2005-11-30 Jackson Harper <[email protected]>
  3440. * Form.cs: Property is 2.0 only
  3441. * PrintDialog.cs: Signature fix.
  3442. 2005-11-30 Peter Dennis Bartok <[email protected]>
  3443. * TextControl.cs:
  3444. - No longer artificially moves text 2 pixels down (now that we have
  3445. borders this is no longer needed)
  3446. - Added calcs for left, hanging and right indent
  3447. 2005-11-23 Mike Kestner <[email protected]>
  3448. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  3449. 2005-11-30 Jackson Harper <[email protected]>
  3450. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  3451. get cloned as part of CloneMenu ().
  3452. * Menu.cs: Make sure the parent of the items get set correctly
  3453. when they are added. And the owners are notified of the changes.
  3454. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  3455. we can change the menu being displayed/handled by the form without
  3456. changing the menu assosciated with the form.
  3457. - Don't let Mdi children draw/handle menus.
  3458. 2005-11-30 Jackson Harper <[email protected]>
  3459. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  3460. a MenuChanged event. Just to make the API a little more
  3461. consistent.
  3462. * MainMenu.cs:
  3463. * MenuItem.cs: Use the new OnMenuChanged
  3464. * MdiChildContext.cs: Handle menu merging.
  3465. * Form.cs: Implement MergedMenu.
  3466. 2005-11-30 Jackson Harper <[email protected]>
  3467. * Menu.cs: We were misusing Add. Add goes behind the specified
  3468. index according to the docs, and does not replace the specified
  3469. index. So I added an Insert method.
  3470. 2005-11-30 Peter Dennis Bartok <[email protected]>
  3471. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  3472. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  3473. is for Jackson
  3474. * RichTextBox.cs: Added calls to base for DnD events
  3475. 2005-11-28 Peter Dennis Bartok <[email protected]>
  3476. * TextControl.cs:
  3477. - Fixed drag-selection related crash; style fixes
  3478. - Implemented undo class
  3479. o Implemented method to capture document state for specified
  3480. range in document tree
  3481. o Implemented method to restore captured document state
  3482. o Implemented cursor tracking
  3483. o Implemented basic undo stack
  3484. - Added undo cursor tracking to methods altering cursor location
  3485. - Added undo tracking to selection deletion (still missing
  3486. other text-altering hookups)
  3487. * RichTextBox.cs:
  3488. - Added SelectionLength property
  3489. - Implemented CanPaste()
  3490. - Implemented Paste()
  3491. - Added missing protected methods
  3492. - Fixed RTF->Document conversion; now uses font index 0 and color
  3493. index 0 as the default font for the parsed text
  3494. - Fixed RTF<->Document font size translation
  3495. - Fixed RTF generation, now properly handles cross-tag boundaries
  3496. for single line selection
  3497. - No longer always appends blank line to generated RTF
  3498. - Removed TODOs
  3499. - Added missing attributes
  3500. - Hooked up undo-related methods
  3501. * TextBoxBase.cs:
  3502. - Implemented Copy()
  3503. - Implemented Paste()
  3504. - Implemented Cut()
  3505. - Fixed caret mis-behaviour on backspace across line-boundaries
  3506. 2005-11-29 Jackson Harper <[email protected]>
  3507. * MdiClient.cs: Add a method for activating mdi children. Very
  3508. basic right now. I imagine someday it might need more girth.
  3509. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  3510. children windows names are added to the menu item.
  3511. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  3512. mdilist. This happens regardless of whether or not there are any
  3513. mdi windows to see in the list, and according to my tests happens
  3514. before the items are even added. Also happens if there isn't even
  3515. an mdi client to get windows from.
  3516. 2005-11-29 Alexander Olk <[email protected]>
  3517. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  3518. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  3519. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  3520. * DataGridTableStyle.cs:
  3521. - Create always the styles for the missing columns even if they are
  3522. provided by the user (not default table style)
  3523. * DataGrid.cs:
  3524. - Fixes bug 76770
  3525. - Fixes SetDataBinding (always re-attach source)
  3526. - Fixes SetNewDataSource (only clear styles if they are not for
  3527. this source)
  3528. - Expands OnTableStylesCollectionChanged to handle style refresh
  3529. and remove properly
  3530. 2005-11-29 Jackson Harper <[email protected]>
  3531. * FileDialog.cs: Implement missing bits, remove some dead
  3532. code.
  3533. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  3534. creation of the panel so that the options set on the dialog are
  3535. seen when the panel is created.
  3536. * TreeView.cs: raise a click when items are clicked.
  3537. 2005-11-29 Jackson Harper <[email protected]>
  3538. * MdiClient.cs: Pass some signature methods through to base.
  3539. 2005-11-28 Jackson Harper <[email protected]>
  3540. * ListView.cs: Raise the click event when items are clicked.
  3541. 2005-11-28 Jackson Harper <[email protected]>
  3542. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  3543. a nullref.
  3544. 2005-11-27 Alexander Olk <[email protected]>
  3545. * ThemeNice.cs: - Removed 1 pixel bitmaps
  3546. - Use SmoothingMode.AntiAlias where it makes sense
  3547. (ScrollButton arrow for example)
  3548. - Enhanced Button focus drawing
  3549. - Fixed ComboBox drawing (no artefacts anymore, focus
  3550. rectangle is back again, reduced size of ComboButton, etc.)
  3551. - Fixed RadioButton focus drawing for Appearence.Button
  3552. - Slight ScrollButton redesign
  3553. - Some LinearGradientBrush size fixes
  3554. - GroupBoxes have now rounded edges
  3555. - Fixed StatusBar drawing
  3556. 2005-11-25 Alexander Olk <[email protected]>
  3557. * ThemeNice.cs: - Remove dead code
  3558. - use correct background colors for menus, etc.
  3559. - Fake pixel drawing with 1 pixel bitmaps
  3560. 2005-11-24 Jackson Harper <[email protected]>
  3561. * MdiClient.cs: Size the scrollbars when resizing the window.
  3562. - Resize the maximized windows when the client is resized
  3563. * Form.cs: Make the child context available
  3564. 2005-11-23 Jackson Harper <[email protected]>
  3565. * MdiChildContext.cs: Don't size windows if they are maximized.
  3566. 2005-11-23 Mike Kestner <[email protected]>
  3567. * ContextMenu.cs: use MenuTracker.
  3568. * Control.cs: remove menu handle usage.
  3569. * Form.cs: remove menu handle usage.
  3570. * Hwnd.cs: remove menu handle usage.
  3571. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  3572. motion and clicks to the new Tracker handlers.
  3573. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  3574. and handle usage.
  3575. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  3576. Killed the MENU and MENUITEM data types and associated collections
  3577. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  3578. MenuTracker class that exposes the leftovers from the old MenuAPI
  3579. static methods. Restructured Capture handling so that only one grab is
  3580. done for the entire menu hierarchy instead of handing off grabs to
  3581. submenus. Tracker now has an invisible control to Capture when active.
  3582. * MenuItem.cs: add sizing accessors, kill Create
  3583. and handle usage.
  3584. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  3585. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  3586. MENU(ITEM). remove menu handle usage, use Menu directly.
  3587. * XplatUIDriver.cs: remove menu handle usage.
  3588. * XplatUIOSX.cs: remove menu handle usage.
  3589. * XplatUIWin32.cs: remove menu handle usage.
  3590. * XplatUIX11.cs: remove menu handle usage.
  3591. 2005-11-22 Jackson Harper <[email protected]>
  3592. * Hwnd.cs: Don't compute the menu size for
  3593. DefaultClientRectangle.
  3594. - Reenable menu sizes being computed for GetClienRectangle.
  3595. * Form.cs: Remove comment of trechery
  3596. 2005-11-22 Jackson Harper <[email protected]>
  3597. * Hwnd.cs: The adjustments for the menu bar are made when it is
  3598. attached to the form.
  3599. 2005-11-19 Jackson Harper <[email protected]>
  3600. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  3601. (just like on windows).
  3602. 2005-11-19 Jackson Harper <[email protected]>
  3603. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  3604. use real buttons anymore because they are in non client area. The
  3605. one TODO here is that I need to somehow invalidate a section of
  3606. the non client area.
  3607. 2005-11-18 Jackson Harper <[email protected]>
  3608. * Control.cs: Put the enum check back in now that MDI doesnt have
  3609. to use this to set border styles.
  3610. * Form.cs: Only set mdi child windows borders if the handle has
  3611. been created.
  3612. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  3613. this directly on to the driver.
  3614. - Get the move start position before adjusting for the titlebar
  3615. height, this fixes the windows "skipping" when they are first
  3616. moved.
  3617. 2005-11-18 Jackson Harper <[email protected]>
  3618. * XplatUIX11.cs: Just compute the mdi borders separately as they
  3619. don't totally match up with normal form borders.
  3620. 2005-11-18 Jackson Harper <[email protected]>
  3621. * Control.cs: Set WS_ styles for borders, so that the driver does
  3622. not have to retrieve the control instance to figure out what kind
  3623. of borders it should have.
  3624. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  3625. driver can know its an mdi child easily.
  3626. * XplatUIX11.cs: Get the border styles and whether the window is
  3627. MDI from the Styles and ExStyles params instead of having to get a
  3628. control. This prevents a chicken and egg problem.
  3629. 2005-11-18 Jackson Harper <[email protected]>
  3630. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  3631. 2005-11-18 Jackson Harper <[email protected]>
  3632. * MdiClient.cs: Calculate when to add and remove scrollbars
  3633. correctly.
  3634. * MdiChildContext.cs: Adjust the y position to take the titlebar
  3635. into account.
  3636. - No height for FormBorderStyle.None
  3637. 2005-11-18 Jackson Harper <[email protected]>
  3638. * Control.cs: Allow non enum values to be used for
  3639. InternalBorderStyle. MDI does this to set a special border style.
  3640. - New utility methods for converting points to/from client coords
  3641. - Add the newly created control to the Controls collection before
  3642. updating its style. This way UpdateStyle can walk the control
  3643. heirarchy to find the control if needed.
  3644. so I don't need to create a new Point object all the time.
  3645. * Form.cs: Let MDI windows handle their border styles.
  3646. - Set styles on MDI windows so the correct title style is derived.
  3647. * MdiChildContext.cs: Move all the painting and window handling
  3648. into the non client area.
  3649. - Use correct sizing and put correct buttons on frames based on
  3650. the FormBorderStyle.
  3651. - Notify the mdi client about scrolling
  3652. - Need to handle the buttons ourselves now, because they are all
  3653. in non client areas and we can't add controls there.
  3654. * MdiClient.cs: Halfway to scrolling, this implementation is
  3655. somewhat broken though, we need to check to make sure other
  3656. windows aren't causing scrolling before removing the bars. Also
  3657. the bars need to be drawn on top, maybe I can switch implicit
  3658. controls to be on top.
  3659. * Hwnd.cs: caption_height and tool_caption_height are now
  3660. properties of an hwnd, this way they can be set by the driver
  3661. based on the type of window they are. In X11 the window manager
  3662. handles the decorations so caption_height is zero unless its an
  3663. MDI window.
  3664. - Add 3 pixel borders for MDI windows (0xFFFF).
  3665. - Get rid of some code duplication, have DefaultClientRectanle
  3666. just call GetClientRectangle.
  3667. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  3668. Hwnd now.
  3669. - Set border styles differently for mdi windows.
  3670. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  3671. Hwnd now.
  3672. 2005-11-15 Mike Kestner <[email protected]>
  3673. * Menu.cs: when adding an item to the collection, if item is already
  3674. parented, remove it from the parent.
  3675. 2005-11-13 Alexander Olk <[email protected]>
  3676. * X11DesktopColors.cs: Added KDE support
  3677. 2005-11-11 Peter Dennis Bartok <[email protected]>
  3678. * XplatUIWin32.cs:
  3679. - Clipboard methods now can translate Rtf format
  3680. - No longer removes clipboard contents whenever a new format is added
  3681. to allow placing multiple formats on the clipboard
  3682. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  3683. will place all formats contained in it onto the clipboard. Also
  3684. now cleans the clipboard before placing a new object onto it
  3685. * RichTextBox.cs:
  3686. - Implemented set_Rtf
  3687. - Implemented set_SelectedRtf
  3688. - Created InsertRTFFromStream() method to allow single code base
  3689. for all properties and methods that insert RTF into document
  3690. - Removed debug output
  3691. * TextControl.cs:
  3692. - Fixed Delete(int) to fix up line numbers
  3693. - Fixed ReplaceSelection to combine start and end line
  3694. - Fixed serious DeleteChars bug that would leave the document tree
  3695. broken
  3696. - Improved DumpTree with several logic checks to detect broken
  3697. document trees
  3698. - Removed debug lines
  3699. - Fixed Caret.WordForward/WordBack moving code, now always also
  3700. updates caret.tag (fixes crash when word-selecting across tag
  3701. boundaries via keyboard)
  3702. - Added Insert() method for inserting multiline text into documents
  3703. - Fixed DeleteChars() calculation errors that would cause a broken
  3704. tag chain with multiple tag lines
  3705. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  3706. - Split() no longer moves caret if split is at caret location
  3707. - ReplaceSelection() now updates the cursor and re-displays it
  3708. - ReplaceSelection() now uses new Insert() method to avoid code
  3709. duplication
  3710. - FormatText() can now handle formatting partial lines
  3711. * TextBoxBase.cs:
  3712. - Append now uses new TextControl.Insert() method (this avoids
  3713. duplicate code)
  3714. - Implemented Ctrl-X (Cut) (
  3715. - Implemented Ctrl-C (Copy)
  3716. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  3717. regeneration when pasting text; roundtripping Copy&Paste within
  3718. edit control still fails due to some calculation bugs in GenerateRTF)
  3719. - The Delete key will now remove the current selection if it is visible
  3720. * TextBox.cs: Removed debug lines
  3721. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  3722. driver to be initialized and can't therefore be done via a static ctor)
  3723. 2005-11-10 Peter Dennis Bartok <[email protected]>
  3724. * TextControl.cs: Added backend code for finding char arrays and strings
  3725. * TextBoxBase.cs:
  3726. - Added mouse wheel scroll support
  3727. - Added support for VScroll and HScroll events
  3728. * RichTextBox.cs:
  3729. - Implemented all seven Find() variants
  3730. - Implemented GetCharFromPosition()
  3731. - Implemented GetCharIndexFromPosition()
  3732. - Implemented GetLineFromIndex()
  3733. - Implemented GetPositionFromCharIndex();
  3734. - Implemented SaveFile for PlainText and UnicodeText
  3735. - Fixed set_Font, now setting a new font applies that font to
  3736. the whole document
  3737. - Implemented generic Document to RTF converter
  3738. - Implemented SaveFile for RichText format (still missing unicode
  3739. conversion for non-ansi chars)
  3740. - Implemented get_Rtf
  3741. - Implemented get_SelectedRtf
  3742. 2005-11-09 Peter Dennis Bartok <[email protected]>
  3743. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  3744. to allow any captures to be released before triggering OnClick. This
  3745. way a click handler may capture the mouse without interference.
  3746. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  3747. This way we send them even though X may not allow a grab (if the window
  3748. isn't visible, for example)
  3749. 2005-11-08 Pedro Martinez Julia <[email protected]>
  3750. * DataGridViewRowEventArgs.cs: DataGridView implementation
  3751. * DataGridViewElement.cs: DataGridView implementation
  3752. * DataGridViewComboBoxCell.cs: DataGridView implementation
  3753. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  3754. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  3755. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  3756. * ImageLayout.cs: DataGridView implementation
  3757. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  3758. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  3759. * DataGridViewSelectionMode.cs: DataGridView implementation
  3760. * IDataGridViewEditingControl.cs: DataGridView implementation
  3761. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  3762. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  3763. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  3764. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  3765. * DataGridViewColumnSortMode.cs: DataGridView implementation
  3766. * DataGridView.cs: DataGridView implementation
  3767. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  3768. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  3769. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  3770. * Padding.cs: DataGridView implementation
  3771. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  3772. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  3773. * DataGridViewRowEventHandler.cs: DataGridView implementation
  3774. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  3775. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  3776. * DataGridViewButtonCell.cs: DataGridView implementation
  3777. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  3778. * DataGridViewEditMode.cs: DataGridView implementation
  3779. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  3780. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  3781. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  3782. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  3783. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  3784. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  3785. * DataGridViewCellEventHandler.cs: DataGridView implementation
  3786. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  3787. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  3788. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  3789. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  3790. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  3791. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  3792. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  3793. * QuestionEventArgs.cs: DataGridView implementation
  3794. * IDataGridViewEditingCell.cs: DataGridView implementation
  3795. * DataGridViewTriState.cs: DataGridView implementation
  3796. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  3797. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  3798. * DataGridViewColumnCollection.cs: DataGridView implementation
  3799. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  3800. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  3801. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  3802. * DataGridViewColumn.cs: DataGridView implementation
  3803. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  3804. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  3805. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  3806. * DataGridViewRow.cs: DataGridView implementation
  3807. * DataGridViewImageCellLayout.cs: DataGridView implementation
  3808. * DataGridViewImageCell.cs: DataGridView implementation
  3809. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  3810. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  3811. * DataGridViewHeaderCell.cs: DataGridView implementation
  3812. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  3813. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  3814. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  3815. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  3816. * QuestionEventHandler.cs: DataGridView implementation
  3817. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  3818. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  3819. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  3820. * DataGridViewCell.cs: DataGridView implementation
  3821. * DataGridViewCellEventArgs.cs: DataGridView implementation
  3822. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  3823. * DataGridViewCellStyle.cs: DataGridView implementation
  3824. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  3825. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  3826. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  3827. * TextFormatFlags.cs: DataGridView implementation
  3828. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  3829. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  3830. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  3831. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  3832. * DataGridViewButtonColumn.cs: DataGridView implementation
  3833. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  3834. * HandledMouseEventArgs.cs: DataGridView implementation
  3835. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  3836. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  3837. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  3838. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  3839. * DataGridViewRowCollection.cs: DataGridView implementation
  3840. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  3841. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  3842. * DataGridViewHitTestType.cs: DataGridView implementation
  3843. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  3844. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  3845. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  3846. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  3847. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  3848. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  3849. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  3850. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  3851. * DataGridViewContentAlignment.cs: DataGridView implementation
  3852. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  3853. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  3854. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  3855. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  3856. * DataGridViewPaintParts.cs: DataGridView implementation
  3857. * DataGridViewCellCollection.cs: DataGridView implementation
  3858. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  3859. * DataGridViewImageColumn.cs: DataGridView implementation
  3860. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  3861. * DataGridViewElementStates.cs: DataGridView implementation
  3862. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  3863. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  3864. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  3865. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  3866. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  3867. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  3868. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  3869. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  3870. * DataGridViewTextBoxCell.cs: DataGridView implementation
  3871. * DataGridViewBand.cs: DataGridView implementation
  3872. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  3873. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  3874. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  3875. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  3876. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  3877. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  3878. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  3879. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  3880. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  3881. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  3882. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  3883. 2005-11-08 Peter Dennis Bartok <[email protected]>
  3884. * ThemeWin32Classic.cs:
  3885. - Draw the outside focus rectangle around buttons
  3886. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  3887. doesn't use end caps for every dash of a line anymore. This
  3888. workaround ignores the forecolor.
  3889. 2005-11-08 Kornél Pál <[email protected]>
  3890. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  3891. endian safe.
  3892. 2005-11-07 Jackson Harper <[email protected]>
  3893. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  3894. 2005-11-07 Jackson Harper <[email protected]>
  3895. * ScrollableControl.cs: Calculate the maximum and change vars
  3896. (more) correctly so that scrollbars appear as a sensible size.
  3897. 2005-11-04 Jackson Harper <[email protected]>
  3898. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  3899. collection.
  3900. * TreeView.cs: When the tree is sorted null out the top_node so
  3901. that it is recalculated.
  3902. - Use dotted lines instead of dashed lines to match MS better.
  3903. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  3904. * ListView.cs:
  3905. - Implements key search for items. Useful when browsing files with FileDialog
  3906. - When changing view mode or when clear the items reset scrollbar positions
  3907. 2005-11-04 Jackson Harper <[email protected]>
  3908. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  3909. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  3910. as to what the method may do as there is no real way of creating a
  3911. derived CurrencyManager and calling the method.
  3912. 2005-11-03 Jackson Harper <[email protected]>
  3913. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  3914. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  3915. method which seems to just be used internally to refresh the tabs.
  3916. 2005-11-03 Jackson Harper <[email protected]>
  3917. * TabControl.cs: Implement the remove method. Fix some broken
  3918. comments.
  3919. 2005-11-03 Peter Dennis Bartok <[email protected]>
  3920. * DateTimePicker.cs:
  3921. - Added missing DateTimePickerAccessibleObject class
  3922. - Added missing events
  3923. - Added OnFontChanged method
  3924. * Form.cs: Added missing attributes
  3925. * TreeView.cs: Added missing attributes
  3926. 2005-11-03 Peter Dennis Bartok <[email protected]>
  3927. * GridItemCollection.cs: Fix signatures
  3928. 2005-11-03 Peter Dennis Bartok <[email protected]>
  3929. * XplatUI.cs: Updated build rev/date
  3930. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  3931. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  3932. * Application.cs: Trigger context-specific ExitThread events
  3933. 2005-11-03 Jackson Harper <[email protected]>
  3934. * Menu.cs:
  3935. * MainMenu.cs:
  3936. * GridTableStylesCollection.cs:
  3937. * Timer.cs:
  3938. * TabPage.cs:
  3939. * HelpProvider.cs:
  3940. * StatusBar.cs:
  3941. * MonthCalendar.cs: Signature fixes
  3942. 2005-11-03 Jackson Harper <[email protected]>
  3943. * TreeNodeCollection.cs: Remove should not be virtual.
  3944. * TreeView.cs: Implement the last of the missing methods.
  3945. 2005-11-03 Jackson Harper <[email protected]>
  3946. * TreeNodeConverter.cs: Implement to get off my class-status back.
  3947. 2005-11-03 Jackson Harper <[email protected]>
  3948. * TreeView.cs: Hookup the bits for drag and drop.
  3949. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  3950. that nodes can be moved from tree to tree easily this just causes
  3951. all sorts of problems.
  3952. * TreeNodeCollection: Don't need to give treenodes an index and
  3953. treeview anymore when they are added, these are computed on the
  3954. fly. Also make sure to remove a node before its added.
  3955. 2005-11-03 Peter Dennis Bartok <[email protected]>
  3956. * TextControl.cs:
  3957. - Added CaretSelection enum
  3958. - Added comparison methods to Marker struct, makes selection code
  3959. more readable
  3960. - Added SelectionStart and SelectionEnd as 'moveable' location for
  3961. the CaretDirection enum and handler
  3962. - Added selection_prev variable to track optimized invalidation for
  3963. word and line selection
  3964. - Added SelectionVisible property (returns true if there is a valid
  3965. selection)
  3966. - Switched CaretHasFocus to only display the caret if there is no
  3967. visible selection
  3968. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  3969. using the direct character index; should be much faster
  3970. - Added various conditional debug statements
  3971. - Fixed invalidation calculation for selection ranges
  3972. - Added ExpandSelection() method to support word and line selection
  3973. - Switched SetSelectionToCaret to use new Marker compare overloads
  3974. - Added central IsWordSeparator() method to determine word
  3975. separators/whitespace and FindWordSeparator() to streamline common
  3976. usage of IsWordSeparator()
  3977. * TextBoxBase.cs:
  3978. - Removed unneeded grabbed variable, it was just mirroring
  3979. Control.Capture
  3980. - No longer firing OnTextChanged event when Text setter is called,
  3981. since the base will fire the event for us
  3982. - Added handling of Ctrl-Up/Down selection
  3983. - Added handling of Shift-Cursorkey selection
  3984. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  3985. words
  3986. - Added handling of Shift and Ctrl-Shift-Home/End selection
  3987. - Removed some debug output
  3988. - Added handling for single/double/tripple-click to place caret/
  3989. select word/select line respectively (Fixes bug #76031)
  3990. - Added support for drag expansion of word/line selection
  3991. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  3992. current selection
  3993. 2005-11-02 Jackson Harper <[email protected]>
  3994. * X11Dnd.cs: If the drag is going to and from a MWF window just
  3995. copy the data instead of sending it out through the X Selection
  3996. mechanism.
  3997. 2005-11-02 Jackson Harper <[email protected]>
  3998. * X11Dnd.cs:
  3999. * XplatUIX11.cs: When in a drag we don't want motion notify
  4000. messages to get passed on to the other controls. This prevents
  4001. mouse move messages from showing up in the drag source.
  4002. 2005-11-02 Jackson Harper <[email protected]>
  4003. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  4004. the correct button is release to end a drag.
  4005. * XplatUIX11.cs: Make the button state internal so the drag system
  4006. can access it. Dragging needs to know about all button releases,
  4007. not just left button.
  4008. 2005-11-02 Miguel de Icaza <[email protected]>
  4009. * Form.cs (Icon): If the icon is null, reset the icon to the
  4010. default value.
  4011. * Cursor.cs: When writing the AND-mask bitmap do not include the
  4012. number of colors, but hardcode those to two (black and white),
  4013. fixes the loading of color cursors (Paint Dot Net).
  4014. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  4015. turn off autoscaling.
  4016. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  4017. 2005-11-02 Jackson Harper <[email protected]>
  4018. * X11Dnd.cs: Make sure to send a status message if the pointer
  4019. enters a control that can not accept a drop, otherwise the cursor
  4020. isn't updated correctly. Also tried to compress the lines of code
  4021. a bit.
  4022. 2005-11-02 Jackson Harper <[email protected]>
  4023. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  4024. set actions correctly. This isn't perfect as XDND and win32 have
  4025. some differences on how you allow actions. I'll clear this up by
  4026. adding a path for drag from MWF to MWF windows.
  4027. * XplatUIX11.cs: Hook into the dnd system.
  4028. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  4029. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  4030. previously shown but they are no longer need it. Very obvious when
  4031. browsing files with FileDialog.
  4032. 2005-11-01 Peter Dennis Bartok <[email protected]>
  4033. * Control.cs: We always need to call OnPaintBackground. We pretty much
  4034. ignore AllPaintingInWmPaint and always do the painting there, whether
  4035. it's set or not, since we always ignore the WM_ERASEBKGND message
  4036. (which we don't generate on X11). This fixes #76616.
  4037. * Panel.cs: Removed unneeded background painting. This happens properly
  4038. in Control.cs already
  4039. 2005-10-31 Mike Kestner <[email protected]>
  4040. * Menu.cs: Add items to collection before setting their index.
  4041. * MenuItem.cs : add range checking with ArgumentException like MS.
  4042. [Fixes #76510]
  4043. 2005-10-31 Jackson Harper <[email protected]>
  4044. * ListBox.cs: Invalidate if the area is visible at all not just
  4045. contained in the visible rect. Fixes unselection of semi visible
  4046. items.
  4047. 2005-10-31 Jackson Harper <[email protected]>
  4048. * Control.cs: Consistently name the dnd methods. Make them
  4049. internal so we can override them to match some MS behavoir
  4050. internally.
  4051. * Win32DnD.cs: Use the new consistent names.
  4052. 2005-10-31 Jackson Harper <[email protected]>
  4053. * TreeView.cs: Don't draw the selected node when we lose focus.
  4054. 2005-10-31 Jackson Harper <[email protected]>
  4055. * X11Dnd.cs: We still need to reset the state even though a full
  4056. reset isn't being done, otherwise status's still get sent all over
  4057. the place.
  4058. 2005-10-31 Jackson Harper <[email protected]>
  4059. * Control.cs: Make the dnd_aware flag internal so the dnd
  4060. subsystem can check it. Catch exceptions thrown in dnd handlers to
  4061. match MS behavoir.
  4062. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  4063. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  4064. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  4065. flags to reduce the number of dnd enters/status's sent.
  4066. 2005-10-31 Jackson Harper <[email protected]>
  4067. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  4068. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  4069. * PictureBox.cs: Fixes 76512
  4070. 2005-10-28 Jackson Harper <[email protected]>
  4071. * X11Dnd.cs: Early implementation to support winforms being a drag
  4072. source for data on X11. Also restructured the converters so they
  4073. can go both ways now.
  4074. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  4075. 2005-10-27 Peter Dennis Bartok <[email protected]>
  4076. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  4077. clipboard requests
  4078. 2005-10-27 Jackson Harper <[email protected]>
  4079. * TreeNode.cs: Implement serialization so my DnD examples will work.
  4080. 2005-10-24 Kornél Pál <[email protected]>
  4081. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  4082. TreeView.cs: Don't dispose objects that are not owned.
  4083. 2005-10-24 Peter Dennis Bartok <[email protected]>
  4084. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  4085. should retrieve the current cursor and report that, but XplatUI
  4086. doesn't (yet) have an interface for that (and I'm not sure I even
  4087. can, on X11)
  4088. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  4089. until any message loop processing is done (and the WM_SETCURSOR
  4090. replaces the cursor to the proper one)
  4091. * XplatUIX11.cs:
  4092. - Fixed override behaviour, we can't set the cursor globally on X11,
  4093. just for our windows.
  4094. - Invalidating the System.Drawing X11 display handle when we are
  4095. shutting down
  4096. * Control.cs: Fix to make csc happy
  4097. 2005-10-23 Peter Dennis Bartok <[email protected]>
  4098. * TextBoxBase.cs:
  4099. - get_Text: Add last line (without trailing newline) to returned
  4100. value (Fixes 76212)
  4101. - get_TextLength: Count last line in returned length
  4102. - ToString: Call Text property instead of duplicating code
  4103. 2005-10-23 Kornél Pál <[email protected]>
  4104. * ImageList.cs: Dispose ImageAttributes objects.
  4105. 2005-10-22 Kornél Pál <[email protected]>
  4106. * ImageList.cs: Use attribute constructors with less arguments where
  4107. possible.
  4108. 2005-10-22 Kornél Pál <[email protected]>
  4109. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  4110. Use typeof instead of strings when assembly is referenced. Added
  4111. some more comments.
  4112. 2005-10-21 Jackson Harper <[email protected]>
  4113. * ListView.cs: Raise a double click event. Also tried to somewhat
  4114. fix when the selectedindexchanged event is raised. Its still
  4115. broken though.
  4116. 2005-10-21 Jackson Harper <[email protected]>
  4117. * TreeView.cs: New method to invalidate the plus minus area of a
  4118. node without invalidating the whole node (maybe this can be used
  4119. in some more places).
  4120. * TreeNodeCollection.cs: When adding to an empty node we need to
  4121. invalidate its plus minus area so the little block shows up.
  4122. 2005-10-21 Jackson Harper <[email protected]>
  4123. * TreeView.cs: Make sure that when we invalidate a node the bounds
  4124. are big enough to cover the selected box and the focus
  4125. rectangle. Use a different colour for the lines connecting nodes
  4126. so they show up with all themes.
  4127. 2005-10-21 Peter Dennis Bartok <[email protected]>
  4128. * NativeWindow.cs: Don't call anything that could call into the driver,
  4129. we might be on a different thread.
  4130. 2005-10-21 Peter Dennis Bartok <[email protected]>
  4131. * Control.cs(Dispose): Since Dispose might run on a different thread,
  4132. make sure that we call methods that could call into the driver via
  4133. invoke, to avoid thread issues
  4134. 2005-10-21 Peter Dennis Bartok <[email protected]>
  4135. * XplatUI.cs: Removed finalizer
  4136. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  4137. not allowing to be called on the finalizer thread.
  4138. 2005-10-21 Kornél Pál <[email protected]>
  4139. * ImageList.cs:
  4140. - Reverted r51889 and r51891.
  4141. - Added ImageListItem class that stores unmodified image items and image
  4142. properties required to create list images until handle is created.
  4143. - Added AddItem and moved image creation logic to AddItemInternal.
  4144. - Added CreateHandle method that creates images based on unmodified items.
  4145. - Added DestroyHandle that changes state to store unmodified items.
  4146. - Add and AddStrip methods no more create handle.
  4147. - ReduceColorDepth has no return value.
  4148. - Dispose destroys handle.
  4149. - Modified other methods to reflect the above changes.
  4150. - Implemented key support.
  4151. - Added profile 2.0 members and attributes.
  4152. - Added private Reset and ShouldSerialize methods that provide the same
  4153. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  4154. them as they are private.
  4155. - Added some more comments about implementation details.
  4156. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  4157. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  4158. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  4159. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  4160. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  4161. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  4162. * DataGridColumnStyle.cs: Remove debug message
  4163. 2005-10-20 Jackson Harper <[email protected]>
  4164. * TreeView.cs: We can always get input keys regardless of whether
  4165. or not editing is enabled. They are used for navigation.
  4166. 2005-10-20 Jackson Harper <[email protected]>
  4167. * TreeNode.cs: Use the viewport rect for determining if a node
  4168. needs to be moved for visibility. Don't use Begin/End edit. This
  4169. calls a full refresh when its done.
  4170. * TreeView.cs: New SetBottom works correctly. Make the viewport
  4171. rect property internal so the treenodes can see it. When clicking
  4172. on a node we need to ensure that its visible because it might just
  4173. be partly visible when clicked.
  4174. 2005-10-20 Jackson Harper <[email protected]>
  4175. * TreeNodeCollection.cs: Remove debug code.
  4176. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  4177. * Datagrid.cs: Implements column sorting in Datagrid
  4178. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  4179. 2005-10-20 Jackson Harper <[email protected]>
  4180. * TreeNodeCollection.cs: Remove items properly. Update the correct
  4181. area after removing them.
  4182. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  4183. * Datagrid.cs: Should not call base.OnPaintBackground
  4184. 2005-10-20 Peter Dennis Bartok <[email protected]>
  4185. * XplatUIX11.cs (GetMessage):
  4186. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  4187. window instead of client window
  4188. - Now properly calculates NC_xBUTTONUP message coordinates
  4189. - ScreenToMenu now properly calculates it's coordinates of whole
  4190. window, since menus are in the whole window, not in the client
  4191. window
  4192. - Added WholeToScreen coordinate translation method
  4193. 2005-10-20 Peter Dennis Bartok <[email protected]>
  4194. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  4195. want to return a message, loop back to the beginning of the function
  4196. and grab the next real message to process instead.
  4197. 2005-10-20 Peter Dennis Bartok <[email protected]>
  4198. * Splitter.cs: Properly set limits if no filler control is used
  4199. 2005-10-19 Jackson Harper <[email protected]>
  4200. * ColorDialog.cs: Don't show the help button if it is not enabled
  4201. instead of disabling it (this is what MS does). Don't create the
  4202. panel until the dialog is run, otherwise the vars (such as
  4203. ShowHelp) are not set yet.
  4204. 2005-10-19 Jackson Harper <[email protected]>
  4205. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  4206. are reduced when adding nodes.
  4207. * TreeNode.cs:
  4208. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  4209. tree.
  4210. 2005-10-19 Jackson Harper <[email protected]>
  4211. * FolderBrowserDialog.cs: End editing our treeview so the window
  4212. actually gets refreshed.
  4213. 2005-10-18 Peter Dennis Bartok <[email protected]>
  4214. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  4215. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  4216. inside of WM_PAINT
  4217. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  4218. * MenuAPI.cs: Returns after Hidding window
  4219. * XplatUIX11.cs: Added TODO found while debugging menu issues
  4220. 2005-10-18 Peter Dennis Bartok <[email protected]>
  4221. * XplatUIX11.cs: Do not re-map the whole window when it's size
  4222. becomes non-zero unless it's supposed to be actually visible
  4223. 2005-10-18 Jackson Harper <[email protected]>
  4224. * TreeView.cs: We don't need to keep a count anymore.
  4225. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  4226. use the Grow method.
  4227. 2005-10-18 Jackson Harper <[email protected]>
  4228. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  4229. implement it manually here.
  4230. 2005-10-18 Jackson Harper <[email protected]>
  4231. * ImageList.cs: Dont kill the list when the colour depth is
  4232. changed, just change the colour depth of all the images.
  4233. - Same goes for setting the image size. Just resize them all
  4234. instead of killing the list softly.
  4235. 2005-10-18 Jackson Harper <[email protected]>
  4236. * Control.cs: Don't invalidate empty rectangles.
  4237. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  4238. * ListViewItem.cs:
  4239. - Adds checked item to the Checked/Item lists (where empty before)
  4240. - Do not add items to the Selected lists if they are already present
  4241. * ListView.cs:
  4242. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  4243. - When deleting items make sure that we delete them for the Selected
  4244. and Checked list also.
  4245. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  4246. * Label.cs: Dispose objects no longer used
  4247. * ThemeWin32Classic.cs: Dispose objects no longer used
  4248. 2005-10-18 Jackson Harper <[email protected]>
  4249. * TabControl.cs: Don't refresh the whole control when the tabs are
  4250. scrolled, we just need to refresh the tab area.
  4251. 2005-10-17 Jackson Harper <[email protected]>
  4252. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  4253. after handle when we need it.
  4254. 2005-10-17 Peter Dennis Bartok <[email protected]>
  4255. * Control.cs: When the parent size changes, recalculate anchor
  4256. positions. Partial fix for #76462
  4257. 2005-10-17 Peter Dennis Bartok <[email protected]>
  4258. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  4259. drawn. Fixes #76462
  4260. 2005-10-17 Jackson Harper <[email protected]>
  4261. * MonthCalendar.cs: Don't create the numeric up down until our
  4262. handle is created. Otherwise our handle is created in the
  4263. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  4264. yet.
  4265. 2005-10-17 Jackson Harper <[email protected]>
  4266. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  4267. correctly.
  4268. 2005-10-17 Rafael Teixeira <[email protected]>
  4269. * TreeNode.cs : small logical fix (was using local var instead of field)
  4270. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  4271. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  4272. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  4273. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  4274. 2005-10-16 Peter Dennis Bartok <[email protected]>
  4275. * Control.cs:
  4276. - Re-implemented anchoring code. My first version was really broken.
  4277. This fixes bug #76033. Unlike the previous implementation we will
  4278. no longer have round errors since all numbers are calculated from
  4279. scratch every time. Removed various anchor-related obsolete vars.
  4280. - InitLayout no longer causes layout event firing and layout to be
  4281. performed
  4282. 2005-10-16 Jackson Harper <[email protected]>
  4283. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  4284. which was broken).
  4285. 2005-10-16 Jackson Harper <[email protected]>
  4286. * TabControl.cs: Remove debug code.
  4287. 2005-10-16 Jackson Harper <[email protected]>
  4288. * XEventQueue.cs: Increase the default queue size (very simple
  4289. apps needed to grow the queue).
  4290. * Hwnd.cs: No finalizer so we don't need to suppress
  4291. finalization. Compute the invalid area manually so a new rectangle
  4292. does not newto be created.
  4293. * ScrollableControl.cs: Don't set any params (otherwise visibility
  4294. isn't set correctly).
  4295. * MdiChildContext.cs: New constructor takes the mdi parent so it
  4296. doesn't have to be computed and avoids a crash on windows. Draw
  4297. the window icon properly, and allow the text to be seen.
  4298. * Form.cs: Use new MdiChildContext constructor. Make sure the
  4299. child context isn't null in wndproc.
  4300. * TabControl.cs: Don't set focus, this is muddling keyboard
  4301. behavoir. Expand the tab rows when a window size increase will
  4302. allow extra tabs to be seen. Don't allow tabs smaller than the
  4303. width of a window to be scrolled out of view.
  4304. * TreeNode.cs:
  4305. * TreeView.cs: Use measure string to calculate a nodes width, the
  4306. width is cached and only updated when the text or the font is
  4307. changed. Don't check for expand/collapse clicks on the first level
  4308. nodes if root lines are disabled.
  4309. 2005-10-16 Ritvik Mayank <[email protected]>
  4310. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  4311. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  4312. * DataGridBoolColumn.cs: fixes warning
  4313. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  4314. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  4315. to match more to match more precisely the MS Net behavior
  4316. 2005-10-13 Peter Dennis Bartok <[email protected]>
  4317. * Hwnd.cs: Added field to track if window is mapped
  4318. * XplatUIX11.cs:
  4319. - Unmap windows if they become 0-size, re-map when
  4320. they are >0 again; fixes #76035
  4321. - Re-set our error handler after initializing X11Desktop
  4322. to override any error handlers Gtk or whatever was called
  4323. may have set.
  4324. 2005-10-13 Peter Dennis Bartok <[email protected]>
  4325. * CheckedListBox.cs: Removed unused vars
  4326. * ListView.cs: Fixed signatures
  4327. * RichTextBox.cs: Removed unused vars
  4328. * TextBoxBase.cs: Removed unused vars
  4329. * XplatUIWin32.cs: Removed unused vars
  4330. * XplatUIX11.cs: Removed unused vars
  4331. * XplatUI.cs: Updated version and date to latest published
  4332. 2005-10-13 Peter Dennis Bartok <[email protected]>
  4333. * Cursor.cs: Added private .ctor to work around a bug in
  4334. resourceset (Thanks to Geoff Norton for the help on this)
  4335. * SplitterEventArgs.cs: Made fields accessible so we don't
  4336. waste boatloads of objects and can reuse the same one
  4337. in Splitter
  4338. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  4339. any captions and borders when generating screen coordinates
  4340. * Splitter.cs: Reimplemented control, now fully complete, uses
  4341. rubberband drawing, supports and obeys all properties, has
  4342. proper cursors
  4343. 2005-10-13 Miguel de Icaza <[email protected]>
  4344. * Form.cs (Form): Setup default values for autoscale and
  4345. autoscale_base_size; Make these instance variables, not static
  4346. variables.
  4347. (OnLoad): on the first load, adjust the size of the form.
  4348. 2005-10-13 Peter Dennis Bartok <[email protected]>
  4349. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  4350. width argument to DrawReversibleRectangle()
  4351. * XplatUIWin32.cs, XplatUIX11.cs:
  4352. - Implemented width for DrawReversibleRectangle()
  4353. - Added logic to DrawReversibleRectangle that recognizes a zero
  4354. width or height and only draws a line in that situation
  4355. 2005-10-12 Peter Dennis Bartok <[email protected]>
  4356. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  4357. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  4358. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  4359. method (it uses our FosterParent window to get a graphics context)
  4360. 2005-10-12 Peter Dennis Bartok <[email protected]>
  4361. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  4362. and SetWindowBackground methods
  4363. * Control.cs:
  4364. - Setting proper ControlStyles
  4365. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  4366. EraseWindowBackground, instead we draw the window background
  4367. ourselves in PaintControlBackground. This behaviour is
  4368. required to match MS, where, when OnPaintBackground is not
  4369. called, the background is not drawn.
  4370. - Removed unneeded Refresh() in set_Text
  4371. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  4372. * XplatUIX11.cs:
  4373. - Created DeriveStyles method to translate from CreateParams to
  4374. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  4375. matches FormBorderStyle enum values)
  4376. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  4377. style calculations into single DeriveStyles method
  4378. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  4379. from redrawing the whole window on any resize or expose.
  4380. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  4381. all styles were applied to our whole/client window appropriately
  4382. - Removed EraseWindowBackground() and SetWindowBackground() methods
  4383. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  4384. no longer clear/redraw the background through X
  4385. - Removed handling of erase_pending bit, we have no use for it (or
  4386. so it seems)
  4387. * XplatUIOSX.cs:
  4388. - Removed generation and handling of WM_ERASEBKGND message
  4389. - Removed EraseWindowBackground() and SetWindowBackground() methods
  4390. - Removed handling of hwnd.ErasePending flag
  4391. * XplatUIWin32.cs:
  4392. - Removed EraseWindowBackground() and SetWindowBackground() methods
  4393. - We no longer call EraseWindowBackground on PaintEventStart, we
  4394. ignore the fErase flag, erasing is handled in Control in the
  4395. background handler
  4396. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  4397. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  4398. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  4399. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  4400. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  4401. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  4402. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  4403. 2005-10-12 Jonathan Chambers <[email protected]>
  4404. * PropertyGrids.cs: Get sub properties
  4405. * PropertyGridView.cs: Fix drawing code
  4406. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  4407. * ListBox.cs: Fixes 76383
  4408. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  4409. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  4410. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  4411. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  4412. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  4413. * ComboBox.cs: Fixes border drawing
  4414. 2005-10-10 Miguel de Icaza <[email protected]>
  4415. * MimeIcon.cs: Ignore errors if the file can not be read.
  4416. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  4417. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  4418. - Fixed border calculations
  4419. - Fixed horizontal scrolling in single column listboxes
  4420. - Fixed drawing issues
  4421. 2005-10-10 Peter Dennis Bartok <[email protected]>
  4422. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  4423. FormBorderStyle enum
  4424. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  4425. code to determine FormBorderStyles from CreateParams
  4426. * Form.cs:
  4427. - Fixed bug where we'd set the wrong window styles if we were
  4428. not creating an MDI window
  4429. - Added call to XplatUI.SetBorderStyle when form borders are set
  4430. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  4431. * Hwnd.cs:
  4432. - Removed obsolete edge style
  4433. - Switched from BorderStyle to FormBorderStyle
  4434. 2005-10-10 Jackson Harper <[email protected]>
  4435. * Form.cs: Use the property to get the window handle instead of
  4436. accessing it directly. Prevents a null reference exception.
  4437. 2005-10-10 Jackson Harper <[email protected]>
  4438. * TreeView.cs: Don't adjust the rect given to DrawString now that
  4439. our libgdiplus draws correctly.
  4440. 2005-10-08 Jackson Harper <[email protected]>
  4441. * TreeView.cs: Don't try to find the clicked on node if there are
  4442. no nodes in the tree.
  4443. 2005-10-08 Alexander Olk <[email protected]>
  4444. * RichTextBox.cs:
  4445. restore
  4446. 2005-10-08 Alexander Olk <[email protected]>
  4447. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  4448. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  4449. ErrorProvider.cs:
  4450. Use ResPool for brushes and dispose System.Drawing objects that
  4451. are not used anymore.
  4452. 2005-10-07 Jackson Harper <[email protected]>
  4453. * MdiChildContext.cs: Use the new borders instead of drawing them
  4454. ourselves.
  4455. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  4456. * Calling UpdateBounds after changing the window's BorderStyle
  4457. since the style can change the ClientSize
  4458. 2005-10-06 Peter Dennis Bartok <[email protected]>
  4459. * Control.cs: Made PaintControlBackground virtual
  4460. * Panel.cs: Overriding PaintControlBackground instead of using paint
  4461. event; paint event method was interfering with 'real' users of the
  4462. event.
  4463. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  4464. * ThemeWin32Classic.cs: remove border drawing since it is handled
  4465. by the base control class now and was causing double border drawing.
  4466. 2005-10-06 Peter Dennis Bartok <[email protected]>
  4467. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  4468. but it does seem to match MS behaviour. This fixes bug #75324
  4469. 2005-10-06 Peter Dennis Bartok <[email protected]>
  4470. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  4471. somewhat hackish looking
  4472. 2005-10-06 Peter Dennis Bartok <[email protected]>
  4473. * TextBoxBase.cs:
  4474. - We now accept Enter even if AcceptEnter is false, if the containing
  4475. form does not have an AcceptButton configured (fixes bug #76355)
  4476. - Calculations are now fixed to no longer use Width/Height, but
  4477. ClientSize.Width/Height, since we now support borders (this was
  4478. a result of fixing borders and therefore bug #76166)
  4479. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  4480. true (fixes bug #76354)
  4481. 2005-10-06 Peter Dennis Bartok <[email protected]>
  4482. * Control.cs:
  4483. - Defaulting BorderStyle and setting it in XplatUI when our window
  4484. is created
  4485. - Added enum check to InternalBorderStyle setter
  4486. * XplatUIX11.cs:
  4487. - Added drawing of window borders
  4488. - Now properly calculates WM decorations offset for toplevel
  4489. windows (fixes bug #74763)
  4490. * XplatUIWin32.cs:
  4491. - Implemented BorderStyles for windows (we're letting win32 draw
  4492. the border for us)
  4493. - Fixed the signature for SetWindowLong
  4494. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  4495. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  4496. setting borders
  4497. * UpDownBase.cs: Remove drawing of borders, this is handled by
  4498. the driver, outside the client area
  4499. * ListView.cs: Removed bogus border calculations. The control should
  4500. be oblivious to borders, since those are not part of the client
  4501. area.
  4502. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  4503. * ThemeWin32Classic.cs: Removed border calculations from ListView
  4504. drawing code
  4505. 2005-10-06 Jackson Harper <[email protected]>
  4506. * MdiChildContext.cs: Clear out the old virtual position remove
  4507. all the unneeded calls to CreateGraphics.
  4508. 2005-10-06 Peter Dennis Bartok <[email protected]>
  4509. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  4510. 2005-10-06 Peter Dennis Bartok <[email protected]>
  4511. * Form.cs:
  4512. - Added loading and setting of our new default icon
  4513. - Only set icon if window is already created
  4514. 2005-10-06 Peter Dennis Bartok <[email protected]>
  4515. * Label.cs:
  4516. - Do not explicitly set the foreground and background colors, to
  4517. allow inheriting from parents (fixes #76302)
  4518. - Use Control's InternalBorderStyle property to deal with borders
  4519. 2005-10-06 Jackson Harper <[email protected]>
  4520. * MdiChildContext.cs: Use the new xplatui function to draw a
  4521. reversible rect.
  4522. 2005-10-06 Jackson Harper <[email protected]>
  4523. * Form.cs: Add the parent before creating the child context cause
  4524. we need the parent when setting up the child.
  4525. 2005-10-06 Jackson Harper <[email protected]>
  4526. * FolderBrowserDialog.cs: redo the tree population code so a
  4527. second thread isn't used. Should be a lot faster and more stable
  4528. now.
  4529. 2005-10-05 Jackson Harper <[email protected]>
  4530. * TreeView.cs: There are no expand/collapse boxes if the node has
  4531. no children.
  4532. 2005-10-05 Jackson Harper <[email protected]>
  4533. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  4534. 2005-10-05 Alexander Olk <[email protected]>
  4535. * FileDialog.cs: Fix InitialDirectory
  4536. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  4537. * ComboBox.cs:
  4538. - Fixes changing between styles
  4539. - Fixes simple mode
  4540. - Fixes last item crashing when navigating with keyboard
  4541. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  4542. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  4543. 2005-10-05 Jackson Harper <[email protected]>
  4544. * TreeView.cs: If updating the root node do a full refresh.
  4545. * TreeNode.cs: The root node should be expanded by default. Also
  4546. added a utility prop to tell if we are the root node.
  4547. * TreeNodeCollection.cs: Only refresh if the node we are being
  4548. added to is expanded. Also added a comment on a potential
  4549. optimization.
  4550. 2005-10-04 Peter Dennis Bartok <[email protected]>
  4551. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  4552. in dispose method. Fixes #76330
  4553. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  4554. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  4555. - Implements vertical and horizontal scrolling using XplatUI
  4556. - Fixes keyboard navagation
  4557. - Fixes EnsureVisible
  4558. - Drawing fixes
  4559. - Handles and draws focus properly
  4560. 2005-10-04 Kornél Pál <[email protected]>
  4561. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  4562. Create handle. NET_2_0: Destroy handle when value is null.
  4563. 2005-10-03 Jackson Harper <[email protected]>
  4564. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  4565. revert and a new patch to prevent the thumb from refreshing so
  4566. much.
  4567. 2005-10-02 Jackson Harper <[email protected]>
  4568. * ScrollBar.cs: Don't update position if it hasn't actually
  4569. changed. This occurs when you hold down the increment/decrement
  4570. buttons and the thumb gets to the max/min.
  4571. 2005-10-01 Jackson Harper <[email protected]>
  4572. * Form.cs:
  4573. * MdiChildContext.cs:
  4574. * MdiClient.cs: Implement ActiveMdiChild in Form.
  4575. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  4576. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  4577. 2005-10-01 Peter Dennis Bartok <[email protected]>
  4578. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  4579. be found
  4580. 2005-09-30 Jackson Harper <[email protected]>
  4581. * ListBox.cs: Don't do a full refresh unless some data has
  4582. actually changed.
  4583. 2005-09-30 Jackson Harper <[email protected]>
  4584. * TreeView.cs: Make sure that the checkboxes size is factored in
  4585. even when not visible.
  4586. 2005-09-30 Peter Dennis Bartok <[email protected]>
  4587. * FileDialog.cs: Fix Jordi's build break
  4588. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  4589. * FileDialog.cs:
  4590. - Use standard the Windows colours for the combobox as espected
  4591. - Dispose objects that use resouces when no longer need them
  4592. 2005-09-30 Peter Dennis Bartok <[email protected]>
  4593. * X11DesktopColors.cs: Initial incomplete implementation
  4594. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  4595. 2005-09-30 Peter Dennis Bartok <[email protected]>
  4596. * Theme.cs:
  4597. - Switched Theme color names to match the names defined in
  4598. System.Drawing.KnownColors. Life's hard enough, no need to make
  4599. it harder.
  4600. - Added setters to all theme color properties so themes can set
  4601. their color schemes. The setters also propagate the color changes
  4602. to System.Drawing.KnownColors via reflection
  4603. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  4604. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  4605. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  4606. use the new, more logical theme color names
  4607. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  4608. post-NT colors
  4609. * ThemeWin32Classic.cs:
  4610. - Removed code to set the old classic Windows colors. Instead it
  4611. now relies on the colors returned by System.Drawing.KnownColors
  4612. which will be either modern static colors (Unix) or colors
  4613. read from the user's configuration (Win32)
  4614. - Updated to use the new, more logical theme color names
  4615. - Switched DataGrid drawing code to use only Theme colors instead of
  4616. a mix of System.Drawing.KnownColors and Theme colors
  4617. - DrawFrameControl(): Removed code that fills the button area, the
  4618. fill would overwrite any previous fill done by a control. This
  4619. fixes bug #75338
  4620. - Added DrawReversibleRectangle() stub
  4621. * ScrollableControl.cs: Set visible state to false when scrollbars
  4622. are removed (pdn fix)
  4623. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  4624. DrawReversibleRectangle() method to allow drawing primitive
  4625. 'rubber bands'
  4626. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  4627. 2005-09-30 Kornél Pál <[email protected]>
  4628. * ImageList.cs: Add(Icon): Create handle.
  4629. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  4630. * ListView.cs:
  4631. * ThemeWin32Classic.cs:
  4632. - Fixes detail mode
  4633. - Sets clippings
  4634. - Issues with drawing
  4635. 2005-09-30 Kornél Pál <[email protected]>
  4636. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  4637. source has to be the ImageList.
  4638. 2005-09-30 Kornél Pál <[email protected]>
  4639. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  4640. 2005-09-30 Kornél Pál <[email protected]>
  4641. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  4642. 2005-09-30 Kornél Pál <[email protected]>
  4643. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  4644. 2005-09-29 Jonathan Chambers <[email protected]>
  4645. * GridItem.cs: Fixed TODOs
  4646. * GridItemCollection.cs: Added ICollection interface
  4647. 2005-09-30 Kornél Pál <[email protected]>
  4648. * ImageList.cs: Resize icons when needed.
  4649. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  4650. * ListViewItem.cs
  4651. - Fixes GetBounds and returns on screen rects
  4652. * ListView.cs:
  4653. - Fixes vertical and horzintal scrolling of items
  4654. * ThemeWin32Classic.cs:
  4655. - Fixes drawing
  4656. 2005-09-29 Raja R Harinath <[email protected]>
  4657. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  4658. 2005-09-29 Kornél Pál <[email protected]>
  4659. * ImageList.cs: Added comments about handle creation. Moved Handle,
  4660. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  4661. Handle is created in Add methods.
  4662. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  4663. * DataGridDrawingLogic.cs:
  4664. - Takes rows into account on Colum calculations
  4665. - Returns the column when clickig
  4666. * DataGrid.cs:
  4667. - Fixes default HitTestInfo values
  4668. - Fixes HitTestInfo.ToString
  4669. - Fixes ResetBackColor
  4670. 2005-09-28 Jackson Harper <[email protected]>
  4671. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  4672. sizing or cursor changes). Also added some temp code to draw the
  4673. titlebars text (Makes dev a little easier).
  4674. 2005-09-28 Kornél Pál <[email protected]>
  4675. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  4676. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  4677. * ListBox.cs: Fixes bug 76253
  4678. 2005-09-28 Kornél Pál <[email protected]>
  4679. * ImageList.cs: Added comments about the current implementation. Added
  4680. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  4681. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  4682. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  4683. with Bitmap.LockBits for better performance. Revised the whole file to
  4684. match MS.NET behaviour and provide better performance. Non-public
  4685. interface members are calling public members even when they throw
  4686. NotSupportedException for better maintainability. Moved ColorDepth,
  4687. ImageSize, ImageStream and TransparentColor implementations to
  4688. ImageCollection for better performance as these properties are not used
  4689. by ImageList.
  4690. * ImageListStreamer.cs: Added a new internal constructor that takes an
  4691. ImageList.ImageCollection and serializes Images based on
  4692. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  4693. match ImageList property name.
  4694. 2005-09-28 Kazuki Oikawa <[email protected]>
  4695. * ListBox.cs: Fixes IndexFromPoint for last item
  4696. 2005-09-27 Jackson Harper <[email protected]>
  4697. * Form.cs: Set the position of new mdi children correctly.
  4698. 2005-09-27 Jackson Harper <[email protected]>
  4699. * MdiClient.cs: New mdi children need to be added to the back of
  4700. the controls collection so the zorder is set correctly. Also add a
  4701. count of all the child windows that have been created.
  4702. 2005-09-27 Jackson Harper <[email protected]>
  4703. * Form.cs (CreateParams): Setup MDI forms correctly.
  4704. 2005-09-27 Jackson Harper <[email protected]>
  4705. * MdiChildContext.cs:
  4706. * MonthCalendar.cs:
  4707. * UpDownBase.cs:
  4708. * ListBox.cs:
  4709. * ListView.cs:
  4710. * TextBoxBase.cs:
  4711. * TreeView.cs:
  4712. * ScrollableControl.cs:
  4713. * ComboBox.cs: Add implicit controls using the new implict control
  4714. functionality in ControlCollection. Also try to block multiple
  4715. control add in a suspend/resume layout to save some cycles.
  4716. 2005-09-27 Jackson Harper <[email protected]>
  4717. * Control.cs: Add functionality to the controls collection to add
  4718. 'implicit controls' these are controls that are created by the
  4719. containing control but should not be exposed to the user. Such as
  4720. scrollbars in the treeview.
  4721. * Form.cs: The list var of the ControlsCollection is no longer
  4722. available because of the potential of implicit controls getting
  4723. ignored by someone accessing the list directly.
  4724. 2005-09-26 Peter Dennis Bartok <[email protected]>
  4725. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  4726. loose it's parent. (Fixed bug introduced in r49103 when we added
  4727. setting the child parent to null on Remove)
  4728. 2005-09-26 Gert Driesen <[email protected]>
  4729. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  4730. * Splitter.cs: Added missing attributes for BorderStyle property.
  4731. * TextBoxBase.cs: Marked Calculate* methods internal.
  4732. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  4733. MS.NET.
  4734. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  4735. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  4736. 2005-09-25 Jackson Harper <[email protected]>
  4737. * TreeView.cs: Update the node bounds correctly regardless of
  4738. whether the node is visible.
  4739. 2005-09-25 Jackson Harper <[email protected]>
  4740. * ImageList.cs: Don't dispose the image after it is added to the
  4741. image list. Only reformat images that need to be resized.
  4742. 2005-09-25 Jackson Harper <[email protected]>
  4743. * ImageList.cs: Don't set the format when changing the image.
  4744. 2005-09-25 Jackson Harper <[email protected]>
  4745. * TreeView.cs: We can't just assume the node has a font. Use the
  4746. treeviews font if no node font is available.
  4747. 2005-09-25 Jackson Harper <[email protected]>
  4748. * TreeView.cs: Allow the scrollbars to be reset with negative
  4749. values.
  4750. - Don't add scrollbars to negative sized windows.
  4751. 2005-09-23 Jackson Harper <[email protected]>
  4752. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  4753. old Mono.Posix. Also remove some stray code that shouldn't have
  4754. been committed.
  4755. 2005-09-23 Jackson Harper <[email protected]>
  4756. * TreeView.cs: Attempt at proper sizing of the horizontal
  4757. scrollbar. Also don't resize the scrollbars unless they are
  4758. visible.
  4759. 2005-09-23 Jackson Harper <[email protected]>
  4760. * TreeView.cs: We don't need to expand the invalid area when the
  4761. selection changes, as this is all drawn in the node's bounding
  4762. box. The area needs to be expanded (previous typo was contracting
  4763. it) when the focus rect moves.
  4764. 2005-09-23 Jackson Harper <[email protected]>
  4765. * TreeView.cs: Display the selection box under the correct
  4766. circumstances. We were rendering white text with no selection box
  4767. before.
  4768. 2005-09-23 Peter Dennis Bartok <[email protected]>
  4769. * TextControl.cs(Split): Now updates selection start/end if it points
  4770. into a line that's being split. Fixes a FIXME and bug #75258
  4771. 2005-09-23 Jackson Harper <[email protected]>
  4772. * Binding.cs:
  4773. * ListControl.cs: Don't use the path when retrieving binding
  4774. managers from the binding context. My bat sense tells me that the
  4775. path is only used on insertion.
  4776. 2005-09-22 Jackson Harper <[email protected]>
  4777. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  4778. 2005-09-22 Jackson Harper <[email protected]>
  4779. * Splitter.cs: There are special cursors used for splitting.
  4780. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  4781. 2005-09-22 Jackson Harper <[email protected]>
  4782. * Splitter.cs: Change the cursor appropriately when the splitter
  4783. is moused over, so the user actually knows there is a splitter
  4784. there.
  4785. 2005-09-22 Hisham Mardam Bey <[email protected]>
  4786. * Label.cs : Fix ToString method to give same output as MS.NET
  4787. 2005-09-22 Jackson Harper <[email protected]>
  4788. * TreeView.cs: Create the scrollbars when the handle is created
  4789. and add them right away, just make them invisble. Also account for
  4790. the window being shrunk vertically to the point that the vert
  4791. scrollbar needs to be added.
  4792. - Remove some 0.5 adjustments to get around anti aliasing issues.
  4793. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  4794. * MainMenu.cs: Fixes default value
  4795. * MenuItem.cs: Fixes default value
  4796. 2005-09-22 Kazuki Oikawa <[email protected]>
  4797. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  4798. 2005-09-21 Jackson Harper <[email protected]>
  4799. * Control.cs: Don't try to set the border style on the window if
  4800. it hasn't been created. When the window is created the border
  4801. style will be used.
  4802. 2005-09-21 Peter Dennis Bartok <[email protected]>
  4803. * Control.cs (Update): Don't call XplatUI if we don't have a
  4804. window handle yet
  4805. 2005-09-21 Peter Dennis Bartok <[email protected]>
  4806. * ContainerControl.cs: Instead of throwing an exception, print
  4807. a one-time warning about Validate not being implemented
  4808. * XplatUIWin32.cs: Removed debug output
  4809. 2005-09-21 Peter Dennis Bartok <[email protected]>
  4810. * Control.cs: Only set XplatUI background if we expect the windowing
  4811. system to handle the background. This stops controls that draw their
  4812. own background from flickering
  4813. * XplatUIX11.cs: Support custom visuals and colormaps for window
  4814. creation. This allows, amongst other things, using MWF X11 windows
  4815. with OpenGL.
  4816. 2005-09-21 Peter Dennis Bartok <[email protected]>
  4817. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  4818. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  4819. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  4820. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  4821. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  4822. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  4823. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  4824. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  4825. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  4826. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  4827. GridColumnStylesCollection.cs,
  4828. IDataGridColumnStyleEditingNotificationService.cs,
  4829. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  4830. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  4831. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  4832. TreeNodeCollection.cs, AmbientProperties.cs,
  4833. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  4834. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  4835. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  4836. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  4837. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  4838. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  4839. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  4840. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  4841. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  4842. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  4843. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  4844. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  4845. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  4846. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  4847. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  4848. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  4849. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  4850. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  4851. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  4852. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  4853. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  4854. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  4855. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  4856. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  4857. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  4858. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  4859. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  4860. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  4861. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  4862. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  4863. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  4864. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  4865. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  4866. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  4867. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  4868. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  4869. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  4870. 2005-09-21 Jackson Harper <[email protected]>
  4871. * TreeNode.cs: Call Before/After Expand not Collapse when
  4872. expanding.
  4873. 2005-09-20 Jackson Harper <[email protected]>
  4874. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  4875. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  4876. * ListViewItem.cs:
  4877. - Fixes bug 76120
  4878. - Fixes proper storing of subitems
  4879. - Fixes not updated items
  4880. 2005-09-20 Peter Dennis Bartok <[email protected]>
  4881. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  4882. things if our window handle isn't created yet. Also disabled
  4883. debug for TextBoxBase
  4884. 2005-09-20 Peter Dennis Bartok <[email protected]>
  4885. * MenuAPI.cs: Remove filtering of events to allow menu usage
  4886. 2005-09-20 Miguel de Icaza <[email protected]>
  4887. * Cursor.cs: Allow null to be passed to Cursor.Current.
  4888. 2005-09-20 Alexander Olk <[email protected]>
  4889. * ThemeWin32Classic.cs:
  4890. - Change some private methods/fields to protected virtual so that
  4891. they can be accessed and overriden in derived classes
  4892. - First refactoring of some methods. Derived themes now don't
  4893. need to duplicate the complete code from ThemeWin32Classic
  4894. * ThemeNice.cs:
  4895. - Added nice StatusBar
  4896. - Derive from ThemeWin32Classic and not Theme
  4897. - Removed duplicate ThemeWin32Classic code
  4898. 2005-09-20 Miguel de Icaza <[email protected]>
  4899. * Control.cs (ControlCollection.Add): If the value null is passed
  4900. the control is ignored.
  4901. Optimize this loop.
  4902. 2005-09-19 Peter Dennis Bartok <[email protected]>
  4903. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  4904. PostQuitMessage state.
  4905. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  4906. 2005-09-19 Peter Dennis Bartok <[email protected]>
  4907. * Application.cs: Our constructor will never get called, move
  4908. initialization to fields; fixes bug #75933
  4909. 2005-09-19 Hisham Mardam Bey <[email protected]>
  4910. * FileDialog.cs :
  4911. - Allow files to be selected properly using file name
  4912. combo box.
  4913. - Add ability to change diretory (absolute / relative)
  4914. using file name combo box.
  4915. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  4916. * ListBox.cs:
  4917. - Fixes Multicolumn listboxes item wrong calculations
  4918. - Allows to click when only one item is in the listbox
  4919. - Fixes crash when no items using keyboard navigation
  4920. 2005-09-16 Alexander Olk <[email protected]>
  4921. * ComboBox.cs: Reverted almost everything from the latest patch which
  4922. broke ComboBox
  4923. 2005-09-16 Kazuki Oikawa <[email protected]>
  4924. * ToolTip.cs:
  4925. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  4926. * ComboBox.cs:
  4927. - When DropDownStyle is Simple, it does not show scrollbar
  4928. to the last item of the list.
  4929. - When DropDownStyle is Simple, it crashed when the list was
  4930. scrolled down with the down cursor key.
  4931. - Fixed a bug that when DropDownStyle is DropDownList, the
  4932. selected item was not shown.
  4933. - The position of the selected item was not preserved when
  4934. the next dropdown happened.
  4935. * ThemeWin32Classic.cs:
  4936. - Items were wrapped at the right end.
  4937. * CheckedListBox.cs:
  4938. - Fixed Add method
  4939. * ListBox.cs:
  4940. - Items should be fully shown.
  4941. - When resizing and vertical scrollbar disappeared, the item
  4942. of index 0 should be on the top of the list.
  4943. - GetItemRectangle should consider the size of ver. scrollbar
  4944. * StatusBar.cs:
  4945. - SizingGrip area should not be allocated when it is not
  4946. displayed.
  4947. - Now it reflects MinWidth of the containing panel and
  4948. fixed a crash that happens when its width becomes so small.
  4949. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  4950. * CheckedListBox.cs: Fixes bug 76028
  4951. * ListBox.cs: Fixes bug 76028
  4952. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  4953. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  4954. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  4955. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  4956. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  4957. 2005-09-09 Jonathan Chambers <[email protected]>
  4958. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  4959. 2005-09-09 Jonathan Chambers <[email protected]>
  4960. * IRootGridEntry.cs: Added
  4961. * PropertyGridCommands.cs: Added
  4962. * PropertiesTab.cs: Added missing methods and property
  4963. * PropertyGridView.cs: Made class internal
  4964. * PropertyGridTextBox.cs: Made class internal
  4965. 2005-09-09 Alexander Olk <[email protected]>
  4966. * MimeIcon.cs: Try to check some other environment variables
  4967. if "DESKTOP_SESSION" returns "default"
  4968. 2005-09-09 Alexander Olk <[email protected]>
  4969. * ThemeNice.cs: Corrected background colors (e.g. menus)
  4970. * ColorDialog.cs: Use correct background colors for controls
  4971. 2005-09-09 Alexander Olk <[email protected]>
  4972. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  4973. 2005-09-08 Peter Dennis Bartok <[email protected]>
  4974. * RichTextBox.cs: Added initial implementation
  4975. * lang.cs: Removed. Was accidentally checked in long time ago
  4976. * TODO: Removed. Contents were obsolete
  4977. 2005-09-06 Jonathan Chambers <[email protected]>
  4978. * PropertiesTab.cs : Added
  4979. 2005-09-06 Jonathan Chambers <[email protected]>
  4980. * PropertyGrid.cs : Update
  4981. * PropertyGridView.cs : Update
  4982. * System.Windows.Forms.resx : Added images and strings
  4983. 2005-09-06 Peter Dennis Bartok <[email protected]>
  4984. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  4985. 2005-09-06 Peter Dennis Bartok <[email protected]>
  4986. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  4987. a busy loop right after the Ungrab the X11 display is otherwise
  4988. blocked
  4989. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  4990. * ThemeWin32Classic.cs: Optimise the use of clipping
  4991. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  4992. * DataGrid.cs: fixes recursion bug
  4993. 2005-09-03 Alexander Olk <[email protected]>
  4994. * ThemeNice.cs:
  4995. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  4996. - Cleanup
  4997. 2005-09-02 Alexander Olk <[email protected]>
  4998. * ThemeNice.cs: Draw nice ProgressBars
  4999. 2005-09-01 Miguel de Icaza <[email protected]>
  5000. * VScrollBar.cs: Another buglet found by Aaron's tool.
  5001. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  5002. bug finder.
  5003. 2005-08-30 Alexander Olk <[email protected]>
  5004. * ThemeNice.cs:
  5005. - Added nicer menu drawing
  5006. - Updated DrawTab
  5007. - some refactoring
  5008. 2005-08-30 Peter Dennis Bartok <[email protected]>
  5009. * CreateParams.cs (ToString): Made output match MS
  5010. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  5011. handle is already created (to avoid forcing window creation)
  5012. * XplatUIX11.cs: Set window text to caption after creating window,
  5013. in case Text was set before window was created
  5014. * Form.cs: Use this.Text instead of a static string as caption
  5015. 2005-08-30 Peter Dennis Bartok <[email protected]>
  5016. * NotifyIcon.cs: Don't set the window to visible; this screws
  5017. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  5018. OnPaint without a bitmap)
  5019. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  5020. happen very often anyway; we could add the check to the WM_PAINT
  5021. event generation code
  5022. 2005-08-30 Peter Dennis Bartok <[email protected]>
  5023. * NotifyIcon.cs: Fill the icon area with a background color, to
  5024. avoid 'residue' when transparent icons are drawn
  5025. * XplatUIX11.cs:
  5026. - Handle whole_window == client_window when destroying windows
  5027. - SystrayAdd(): Set client_window to whole_window value to
  5028. get mouse and other events passed to NotifyIcon
  5029. 2005-08-30 Peter Dennis Bartok <[email protected]>
  5030. * Form.cs: Set proper default for Opacity property
  5031. * NotifyIcon.cs:
  5032. - ShowSystray(): Don't bother creating telling the OS
  5033. about the systray item if no icon is provided
  5034. - Now handles WM_NCPAINT message to deal with whole/client window
  5035. split
  5036. - Create window as visible to not get caught by Expose optimization
  5037. * Hwnd.cs: Removed debug message
  5038. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  5039. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  5040. PaintEventStart/End to use new client argument
  5041. * TextBoxBase.cs:
  5042. - Commented out debug messages
  5043. - Switched PaintEventStart/End to use new client argument
  5044. * XplatUI.cs: Added client window bool to PaintEventStart()/
  5045. PaintEventEnd() calls, to support drawing in non-client areas
  5046. * XplatUIDriver.cs:
  5047. - Added client window bool to PaintEventStart()/PaintEventEnd()
  5048. calls, to support drawing in non-client areas
  5049. - Added conditional compile to allow using MWF BeginInvoke
  5050. on MS runtime
  5051. * XplatUIX11.cs:
  5052. - Added some conditional debug output
  5053. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  5054. whole/client window split
  5055. - Implemented handling of client argument to PaintEventStart()/End()
  5056. * Control.cs:
  5057. - Throw exception if BeginInvoke() is called and the window handle
  5058. or one of the window's parent handles is not created
  5059. - Added conditional compile to allow using MWF BeginInvoke on
  5060. MS runtime
  5061. - get_Parent(): Only sets parent if handle is created. This avoids
  5062. forcing window handle creation when parent is set.
  5063. - Now fires Layout and Parent changed events in proper order
  5064. - Switched to use Handle instead of window.Handle for Z-Order setting,
  5065. the get_Parent() patch above causes us to possibly get null for 'window'
  5066. - Implemented handling of client argument to PaintEventStart()/End()
  5067. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  5068. default handling)
  5069. - Now sends a Refresh() to all child windows when Refresh() is called
  5070. 2005-08-29 Peter Dennis Bartok <[email protected]>
  5071. * Form.cs: Added (non-functional) Opacity property
  5072. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  5073. 2005-08-29 Alexander Olk <[email protected]>
  5074. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  5075. use export MONO_THEME=nice to activate it.
  5076. Currently supported controls:
  5077. - Button
  5078. - ComboBox
  5079. - ScrollBar
  5080. - TabControl (TabAlignment.Top only, other will follow)
  5081. * ThemeEngine.cs: Add theme nice
  5082. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  5083. if enabled
  5084. 2005-08-25 Jonathan Chambers <[email protected]>
  5085. * Splitter.cs: Resize docked control and its neighbor.
  5086. 2005-08-24 Rafael Teixeira <[email protected]>
  5087. -- Making Windows with Menus layout correctly --
  5088. * Form.cs : The first leg of the fix
  5089. Menu setter - adjust Client Size as needed to make space for the menu
  5090. SetClientSizeCore - doesn't call base version to be able to pass the
  5091. menu handle to XplatUI.CalculateWindowRect
  5092. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  5093. * XplatUIX11.cs: The critical second leg of the fix
  5094. GetWindowPos needs to use a recalculated client_rect
  5095. so that resizing the window doesn't break layout of child controls.
  5096. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  5097. Lots of \t\n killed
  5098. 2005-08-23 Peter Dennis Bartok <[email protected]>
  5099. * Label.cs: Now properly recalculates width and height on Font and Text
  5100. changes if AutoSize is set
  5101. 2005-08-19 Rafael Teixeira <[email protected]>
  5102. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  5103. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  5104. * ImageList.cs: Makes ToString method compatible with MS
  5105. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  5106. * MenuAPI.cs: fixes bug 75716
  5107. 2005-08-11 Umadevi S <[email protected]>
  5108. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  5109. 2005-08-11 Umadevi S <[email protected]>
  5110. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  5111. 2005-08-10 Umadevi S <[email protected]>
  5112. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  5113. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  5114. * Menu.cs: fixes bug 75700
  5115. * MenuAPI.cs: fixes navigation issues
  5116. 2005-08-09 Umadevi S <[email protected]>
  5117. * CheckedListBox.cs - simple fix for GetItemChecked.
  5118. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  5119. * ComboBox.cs: Serveral fixes
  5120. * ListBox.cs: Serveral fixes
  5121. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  5122. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  5123. * ListBox.cs: Fixes FindString methods
  5124. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  5125. * DataGrid.cs: fixes bugs exposed by new tests
  5126. 2005-08-04 Peter Dennis Bartok <[email protected]>
  5127. * Mime.cs: Compile Mono assembly references only if compiling
  5128. with Mono (Allows to build with VS.Net again)
  5129. 2005-07-28 Marek Safar <[email protected]>
  5130. * Control.cs (PaintControlBackground): Draw background image
  5131. corrrectly.
  5132. (CheckForIllegalCrossThreadCalls): Stubbed.
  5133. * Form.cs (OnCreateControl): Center when should be centered.
  5134. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  5135. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  5136. * Binding.cs: Binding to properties should be case unsensitive
  5137. 2005-07-18 [email protected]
  5138. * DataGrid.cs: fixes setmember order
  5139. 2005-07-07 Alexander Olk <[email protected]>
  5140. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  5141. * FileDialog.cs: FileDialog is now resizable and uses the new
  5142. MimeIconEngine
  5143. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  5144. * DataGridTextBoxColumn.cs: default value
  5145. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  5146. * GridTableStylesCollection.cs: fixes checking MappingName
  5147. * DataGridDrawingLogic.cs: fixes drawing logic issues
  5148. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  5149. * DataGrid.cs: fixes
  5150. 2005-07-06 Alexander Olk <[email protected]>
  5151. * MimeGenerated.cs: Use case sensitive comparer for
  5152. NameValueCollections
  5153. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  5154. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  5155. * ThemeWin32Classic.cs: bug fixes, code refactoring
  5156. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  5157. * DataGrid.cs: bug fixes, code refactoring
  5158. * DataGridTextBox.cs: bug fixes, code refactoring
  5159. * DataGridColumnStyle.cs: bug fixes, code refactoring
  5160. * Theme.cs: bug fixes, code refactoring
  5161. 2005-07-01 Peter Bartok <[email protected]>
  5162. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  5163. and other text box usage
  5164. 2005-07-01 Jackson Harper <[email protected]>
  5165. * TabControl.cs: Make sure the bottom of the tab covers the pages
  5166. border.
  5167. 2005-06-30 Peter Bartok <[email protected]>
  5168. * Form.cs (ShowDialog): Assign owner of the dialog
  5169. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  5170. might have been moved to a tag with different height
  5171. 2005-06-30 Jackson Harper <[email protected]>
  5172. * Form.cs: Don't create an infinite loop when setting focus
  5173. * MenuItem.cs: Don't dirty the parents if we don't have any
  5174. 2005-06-29 Ben Maurer <[email protected]>
  5175. * LibSupport.cs: Rename
  5176. 2005-06-29 Peter Bartok <[email protected]>
  5177. * TextBoxBase.cs: Re-align caret after deleting a character
  5178. * TextControl.cs:
  5179. - DeleteChars(): Ensure that tag covers the provided position
  5180. - StreamLine(): Drop reference for dropped tag
  5181. 2005-06-29 Peter Bartok <[email protected]>
  5182. * TextControl.cs:
  5183. - Selections now work properly, anchoring at the initial location
  5184. and properly extending in either direction (SetSelectionToCaret(),
  5185. SetSelectionStart() and SetSelectionEnd())
  5186. - No longer redraws the whole control on selection change, now
  5187. calculates delta between previous and new selection and only
  5188. invalidates/redraws that area
  5189. - Fixed FindPos() math off-by-one errors
  5190. - Changed DeleteChars() to verify the provided tag covers the
  5191. provided position, selections may have a tag that doesn't cover
  5192. the position if the selection is at a tag border
  5193. - Fixed off-by-one errors in DeleteChars()
  5194. - Added missing streamlining check in DeleteChars() to remove
  5195. zero-length tags
  5196. - Implemented Invalidate() method, now properly calculates exposures
  5197. between two given lines/positions
  5198. - Implemented SetSelection()
  5199. - Obsoleted and removed FixupSelection()
  5200. - Improved RecalculateDocument() logic, removing code duplication
  5201. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  5202. * LibSupport.cs: changes to match different input/output arguments.
  5203. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  5204. * LibSupport.cs: added libsupport.so init routine.
  5205. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  5206. * ControlBindingsCollection.cs
  5207. - Throws an exception on null datasource when adding
  5208. - Checks for duplicated bindings when adding
  5209. 2005-06-28 Jackson Harper <[email protected]>
  5210. * TreeView.cs (OnKeyDown): Support left and right properly
  5211. (navigates as well as expanding and collapsing.
  5212. - Add support for Multiply, this expands all the selected nodes
  5213. children.
  5214. - Fix some tabbing.
  5215. 2005-06-28 Jackson Harper <[email protected]>
  5216. * TreeView.cs: Implement keyboard navigation, currently supports,
  5217. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  5218. support for toggling checkboxes with the space bar.
  5219. 2005-06-28 Jackson Harper <[email protected]>
  5220. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  5221. tree.
  5222. 2005-06-28 Jackson Harper <[email protected]>
  5223. * TreeView.cs: Add missing event.
  5224. 2005-06-27 Peter Bartok <[email protected]>
  5225. * TextControl.cs:
  5226. - Made line ending size configurable (now allows for counting
  5227. lineendings as \n or \r\n)
  5228. - Added margin to viewport to keep caret visible on right side
  5229. - Fixed translation routines for line/pos to documentpos to consider
  5230. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  5231. - Fixed some line-endings to be unix style
  5232. - Fixed Document.FormatText to perform it's calculations 1-based
  5233. - Added descriptions for a few methods that might otherwise get
  5234. used wrong
  5235. - Added NOTE section with some basic conventions to remember at
  5236. the top of the file
  5237. - Major fixup for RichTextBox selection drawing:
  5238. * Fixed crashes when multiple tags on a single line were selected
  5239. * fixed selection box drawing not overlaying text
  5240. * fixed bogus offset calculation for tags not starting at index 1
  5241. * Switched behaviour from using multiple Substrings of a
  5242. StringBuilder.ToString() to using multiple
  5243. StringBuilder.ToString(start, length) statements, hoping this is
  5244. faster (kept original version commented out in the code, in case
  5245. original version was faster)
  5246. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  5247. alignment != Left
  5248. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  5249. call it as well
  5250. 2005-06-27 Jackson Harper <[email protected]>
  5251. * TabControl.cs: Move to the left and right with the arrow
  5252. keys. These keys don't cycle beyond first and last like
  5253. tab. Refresh all the tabs when scrolling them to the left or
  5254. right.
  5255. 2005-06-27 Jackson Harper <[email protected]>
  5256. * TabControl.cs:
  5257. - ToString: Added method
  5258. - CreateParams: Remove TODO and comment
  5259. - OnKeyDown: Cycle through bounds properly.
  5260. - SelectedIndex: Scroll to the right or left if we need to
  5261. display the newly selected tab.
  5262. 2005-06-23 Jackson Harper <[email protected]>
  5263. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  5264. set.
  5265. 2005-06-23 Jackson Harper <[email protected]>
  5266. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  5267. CTRL-SHIFT-TAB, and HOME, END are there any others?
  5268. 2005-06-23 Jackson Harper <[email protected]>
  5269. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  5270. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  5271. * DataGridTextBoxColumn.cs: fixes and enhancements
  5272. * ThemeWin32Classic.cs: fixes and enhancements
  5273. * DataGridBoolColumn.cs: fixes and enhancements
  5274. * DataGridDrawingLogic.cs: fixes and enhancements
  5275. * CurrencyManager.cs: fixes and enhancements
  5276. * DataGrid.cs: fixes and enhancements
  5277. * DataGridColumnStyle.cs: fixes and enhancements
  5278. 2005-06-22 Jackson Harper <[email protected]>
  5279. * TabControl.cs: Add some missing methods that just call into the
  5280. base. Make the TabPageCollection's IList interface behave in the
  5281. same manner as the MS implementation.
  5282. 2005-06-22 Peter Bartok <[email protected]>
  5283. * TextControl.cs: Added sanity check
  5284. * TextBoxBase.cs:
  5285. - Fixed wrapping behaviour, don't set wrap on single line controls
  5286. (this fixes the breakage of colordialog introduced in an earlier
  5287. checkin)
  5288. - Added rudimentary support for autoscrolling right-aligned controls
  5289. (still needs fixing, also, center alignment scroll is missing)
  5290. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  5291. * ScrollBar.cs: Fixes thumbpos on Maximum values
  5292. 2005-06-21 Jonathan Chambers <[email protected]>
  5293. * PropertyGridView.cs: Pass context information to UITypeEditors
  5294. 2005-06-21 Peter Bartok <[email protected]>
  5295. * TextBoxBase.cs:
  5296. - Now calling PositionCaret with absolute space coordinates
  5297. - Enabled vertical scrolling
  5298. - Better tracking of scrollbar changes, tied into WidthChange
  5299. event
  5300. - Improved cursor tracking
  5301. - Removed debug output
  5302. * TextControl.cs:
  5303. - PositionCaret coordinates are now works in absolute space, not
  5304. the canvas
  5305. - Improved tracking of document size
  5306. - Added events for width and height changes
  5307. 2005-06-21 Peter Bartok <[email protected]>
  5308. * Form.cs: Set focus to active control when form is activated
  5309. * TextControl.cs:
  5310. - Added word-wrap functionality to RecalculateLine()
  5311. - Added some short function descriptions for VS.Net to aid in
  5312. writing dependent controls
  5313. - Added Caret property, returning the current coords of the caret
  5314. - Added ViewPortWidth and ViewPortHeight properties
  5315. - Added Wrap property
  5316. - Added CaretMoved event
  5317. - Removed some old debug code
  5318. - Split() can now create soft splits
  5319. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  5320. - Added method to format existing text
  5321. - Fixed size/alignment calculations to use viewport
  5322. - RecalculateDocument now can handle changing line-numbers while
  5323. calculating lines
  5324. * TextBox.cs:
  5325. - Added some wrap logic, we don't wrap if alignment is not left
  5326. - Added casts for scrollbar var, base class switched types to
  5327. also support RichTextBoxA
  5328. - Implemented handling of scrollbar visibility flags
  5329. * TextBoxBase.cs:
  5330. - Switched scrollbars type to RichTextBoxScrollBars to support
  5331. RichTextBox
  5332. - Added tracking of canvas width/height
  5333. - Switched scrollbars to be not selectable (to keep focus on text)
  5334. - Added central CalculateDocument() method to handle all redraw
  5335. requirements
  5336. - Added ReadOnly support
  5337. - Added WordWrap support
  5338. - Fixed handling of Enter key (we now treat it as a DialogKey)
  5339. - Fixed caret positioning when h or v scroll is not zero
  5340. - Fixed placing/generation of vertical scrollbar
  5341. - Added CalculateScrollBars() method to allow updating scrollbar
  5342. limits and visibility
  5343. - Fixed handling of horizontal scroll
  5344. - Added handling of vertical scroll
  5345. - Implemented auto-'jump' when caret moves to close to a left or
  5346. right border and there is text to be scrolled into view (currently
  5347. there's the potential for a stack overflow, until a bug in
  5348. scrollbar is fixed)
  5349. 2005-06-21 Geoff Norton <[email protected]>
  5350. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  5351. 2005-06-19 Alexander Olk <[email protected]>
  5352. * Mime.cs:
  5353. - added inodes.
  5354. - return application/x-zerosize for files with size zero
  5355. (if no extension pattern matches).
  5356. - check matches collection for strings too.
  5357. - return only the first mime type if the name value
  5358. collection has more than one mime type.
  5359. 2005-06-18 Jonathan Chambers <[email protected]>
  5360. * PropertyGrid.cs: Cleaned up some TODOs
  5361. * PropertyGridView.cs: Added support for UITypeEditors
  5362. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  5363. * DataGrid.cs: clears cached value
  5364. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  5365. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  5366. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  5367. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  5368. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  5369. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  5370. * ThemeWin32Classic.cs: fixes colour
  5371. 2005-06-15 Peter Bartok <[email protected]>
  5372. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  5373. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  5374. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  5375. * Control.cs: Added some MWFCategory and MWFDescription attributes
  5376. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  5377. 2005-06-15 Alexander Olk <[email protected]>
  5378. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  5379. usage
  5380. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  5381. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  5382. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  5383. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  5384. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  5385. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  5386. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  5387. 2005-06-13 Jackson Harper <[email protected]>
  5388. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  5389. isn't printed when the user enables dropping. (X11 does accept
  5390. drops).
  5391. 2005-06-13 Jackson Harper <[email protected]>
  5392. * TreeView.cs: Remove some TODOS.
  5393. 2005-06-13 Jackson Harper <[email protected]>
  5394. * Form.cs: Hook into the mdi framework.
  5395. * MdiClient.cs: Use the base control collections add method so
  5396. parents get setup correctly. Set the default back colour and dock
  5397. style.
  5398. * MdiChildContext.cs: New class, this bad actor handles an
  5399. instance of an MDI window. Right now there is only basic
  5400. support. You can drag, close, and resize windows. Minimize and
  5401. Maximize are partially implemented.
  5402. 2005-06-13 Jackson Harper <[email protected]>
  5403. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  5404. freaky when both vals are negative. NOTE: There are probably other
  5405. places in XplatUIX11 that this needs to be done.
  5406. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  5407. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  5408. * DataGridColumnStyle.cs: fixes signature
  5409. 2005-06-12 Jackson Harper <[email protected]>
  5410. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  5411. windows.
  5412. 2005-06-11 Jackson Harper <[email protected]>
  5413. * StatusBarPanel.cs: Signature cleanups. Implement
  5414. BeginInit/EndInit.
  5415. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  5416. * DataGridTextBoxColumn.cs: Honors aligment
  5417. * GridColumnStylesCollection.cs: Contains is case unsensitive
  5418. * GridTableStylesCollection.cs: several fixes
  5419. * DataGridTableStyle.cs: default column creation
  5420. * DataGridDrawingLogic.cs: fixes
  5421. * CurrencyManager.cs: ListName property
  5422. * DataGrid.cs: multiple styles support
  5423. * DataGridColumnStyle.cs: fixes
  5424. 2005-06-10 Peter Bartok <[email protected]>
  5425. * Control.cs(Select): Moved SetFocus call to avoid potential
  5426. loops if controls change the active control when getting focus
  5427. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  5428. the up/down buttons
  5429. 2005-06-10 Matthias Felgner <[email protected]>
  5430. * ImageListConverter.cs: Implemented
  5431. 2005-06-10 John BouAntoun <[email protected]>
  5432. * MonthCalendar.cs: Wired in NumericUpDown control for year
  5433. 2005-06-10 John BouAntoun <[email protected]>
  5434. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  5435. DoubleClick events, since they are not meant to be fired.
  5436. 2005-06-09 Peter Bartok <[email protected]>
  5437. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  5438. Jonathan's standalone controls into MWF, implemented missing
  5439. events, attributes and methods; added xxxAccessible classes
  5440. * AccessibleObject.cs: Made fields internal so other classes
  5441. can change them if needed
  5442. 2005-06-09 Jonathan Gilbert <[email protected]>
  5443. * UpDownBase.cs: Complete implementation
  5444. * NumericUpDown.cs: Complete implementation
  5445. * DomainUpDown.cs: Complete implementation
  5446. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  5447. * DataGridTextBoxColumn.cs: drawing fixes
  5448. * DataGridCell.cs: fixes ToString method to match MSNet
  5449. * DataGridTableStyle.cs: fixes
  5450. * DataGridBoolColumn.cs: fixes, drawing
  5451. * DataGridDrawingLogic.cs: fixes, new methods
  5452. * DataGridTextBox.cs: Keyboard and fixes
  5453. * DataGrid.cs:
  5454. - Keyboard navigation
  5455. - Scrolling fixes
  5456. - Row selection (single, multiple, deletion, etc)
  5457. - Lots of fixes
  5458. 2005-06-07 Jackson Harper <[email protected]>
  5459. * ThemeWin32Classic.cs: Clear the background area when drawing
  5460. buttons.
  5461. 2005-06-06 Peter Bartok <[email protected]>
  5462. * ImageListStreamer.cs: Fixed signature for GetData
  5463. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  5464. * ComboBox.cs:
  5465. - Added missing ChildAccessibleObject class
  5466. - Added missing OnXXXFocus overrides, switched to using those
  5467. instead of the event handler
  5468. * Control.cs:
  5469. - Added Parent property for ControlAccessibleObject
  5470. - Fixed signatures
  5471. - Fixed attributes
  5472. - Added ResetBindings()
  5473. * ListBindingConverter.cs: Implemented some methods
  5474. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  5475. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  5476. * ContainerControl.cs: Fixed signature, now subscribing to the
  5477. ControlRemoved event instead of overriding the handler, LAMESPEC
  5478. * CurrencyManager.cs: Added missing attribute
  5479. * MonthCalendar.cs: Added missing properties
  5480. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  5481. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  5482. 2005-06-06 Gaurav Vaish and Ankit Jain
  5483. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  5484. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  5485. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  5486. * Control.cs: fixes CreateParams Width / Height.
  5487. 2005-06-05 Peter Bartok <[email protected]>
  5488. * Win32DnD.cs: Removed compilation warnings
  5489. 2005-06-05 Peter Bartok <[email protected]>
  5490. * Control.cs (CreateParams): Since we don't know if one of the
  5491. properties we use is overridden, lets make sure if we fail accessing
  5492. we continue with a backup plan
  5493. 2005-06-05 Peter Bartok <[email protected]>
  5494. * Win32DnD.cs:
  5495. - Removed debug output
  5496. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  5497. struct
  5498. - Plugged resource leak
  5499. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  5500. MS size
  5501. 2005-06-05 Peter Bartok <[email protected]>
  5502. * XplatUIWin32.cs: Removed DnD code
  5503. * Win32DnD.cs: Implemented drop source and drop target functionality
  5504. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  5505. * UpDownBase.cs: remove duplicate addition of event, enable some code
  5506. that was commented out.
  5507. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  5508. Validate input when a key is pressed. It works fine now for every
  5509. combination of Hexadecimal. Only missing some drawing love when sharing
  5510. space with other controls.
  5511. 2005-06-04 Peter Bartok <[email protected]>
  5512. * Control.cs:
  5513. - We need to pass a window for DragDrop, so enable callback events
  5514. - Added DnD callback events when being a DragSource
  5515. * XplatUI.cs (StartDrag): Added window handle argument
  5516. * XplatUIDriver.cs (StartDrag): Added window handle argument
  5517. * QueryContinueDragEventArgs: Made fields internally accessible so
  5518. drivers can set them
  5519. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  5520. can set them
  5521. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  5522. * DataGridTextBoxColumn.cs: column text editing
  5523. * DataGridTableStyle.cs: Respect columns styles created by the user
  5524. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  5525. * DataGridBoolColumn.cs: bool column editing
  5526. * DataGrid.cs: fixes to scrolling, properties, etc
  5527. * DataGridTextBox.cs: handle keyboard
  5528. * DataGridColumnStyle.cs: fixes
  5529. 2005-06-02 Jackson Harper <[email protected]>
  5530. * ImageListStreamer.cs: Somewhat broken implementation of
  5531. GetObjectData. The RLE needs some work to match MS properly.
  5532. 2005-06-02 Jackson Harper <[email protected]>
  5533. * X11Dnd.cs: Attempting to keep at least one file in MWF
  5534. monostyled.
  5535. 2005-06-02 Peter Bartok <[email protected]>
  5536. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  5537. that way
  5538. 2005-06-02 Peter Bartok <[email protected]>
  5539. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  5540. * XplatUI.cs: Added DoDragDrop() method
  5541. * XplatUIDriver.cs: Added DoDragDrop() method
  5542. 2005-06-02 Jackson Harper <[email protected]>
  5543. * Splitter.cs: Implement BorderStyle.
  5544. 2005-06-02 Jackson Harper <[email protected]>
  5545. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  5546. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  5547. X11 using XDND.
  5548. 2005-06-02 Peter Bartok <[email protected]>
  5549. * DataObject.cs:
  5550. - Added Data setter
  5551. - Fixed broken insertion code for SetData, now also
  5552. overwrites any existing entry of the same format name
  5553. * Hwnd.cs: Added list of pointers that automatically gets
  5554. freed when the window is disposed
  5555. * XplatUI.cs: Call driver initialization method when loading
  5556. a driver
  5557. * Control.cs:
  5558. - OnDragLeave takes EventArgs, not DragEventArgs
  5559. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  5560. supported
  5561. - Forces style update when drop state changes
  5562. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  5563. not perfect since we cannot (yet) call the IDataObject.GetData()
  5564. method, we keep getting 0x80004005 error, dunno why)
  5565. 2005-06-02 Peter Bartok <[email protected]>
  5566. * DragEventArgs.cs: Make fields internal so we can cache the
  5567. object and re-set the fields from XplatUI
  5568. 2005-06-02 Jackson Harper <[email protected]>
  5569. * Control.cs: Add some internal methods so the DnD subsystem can
  5570. raise DnD events. Also call into the driver when AllowDrop is set.
  5571. * XplatUI.cs:
  5572. * XplatUIDriver.cs: New method for setting whether or not a window
  5573. is allowed to accept drag and drop messages.
  5574. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  5575. * ScrollBar.cs: Make sure that values sent in Scroll events
  5576. are always between Maximum and Minimum.
  5577. 2005-06-01 Marek Safar <[email protected]>
  5578. * Menu.cs: Call MenuChanged when menuitem visibility has been
  5579. changed.
  5580. * MenuItem.cs: Rebuild menu when item is (not) visible.
  5581. * MainMenu.cs: MainMenu has special MenuChanged.
  5582. * Theme.cs: Caption and FrameBorderSize are not fixed.
  5583. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  5584. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  5585. * XplatUIX11.cs,
  5586. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  5587. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  5588. 2005-05-30 Jackson Harper <[email protected]>
  5589. * DataFormat.cs: We can't statically initialize this stuff because
  5590. it calls into the xplatui and could create a loop. So we lazy init
  5591. it.
  5592. 2005-05-28 Jackson Harper <[email protected]>
  5593. * Control.cs: Proper implementation of Product(Name/Version).
  5594. 2005-05-27 Jackson Harper <[email protected]>
  5595. * DataObject.cs: Dont crash if no data is found.
  5596. 2005-05-26 Rafael Teixeira <[email protected]>
  5597. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  5598. as per status page, guessing it should be set to true
  5599. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  5600. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  5601. * DataGridTableStyle.cs: set proper formatting text, def header text
  5602. * ThemeWin32Classic.cs: new themable paramaters
  5603. * DataGridBoolColumn.cs: paint check box, get data, fixes
  5604. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  5605. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  5606. * DataGridColumnStyle.cs: fixes
  5607. * Theme.cs: new themable paramaters
  5608. 2005-05-26 Peter Bartok <[email protected]>
  5609. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  5610. 2005-05-24 Jonathan S. Chambers <[email protected]>
  5611. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  5612. 2005-05-24 Peter Bartok <[email protected]>
  5613. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  5614. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  5615. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  5616. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  5617. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  5618. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  5619. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  5620. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  5621. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  5622. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  5623. missing attributes, etc
  5624. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  5625. 2005-05-24 Peter Bartok <[email protected]>
  5626. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  5627. when user tries to get help
  5628. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  5629. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  5630. to suppress warnings
  5631. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  5632. avoid unreachable code warning
  5633. 2005-05-20 Peter Bartok <[email protected]>
  5634. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  5635. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  5636. * DataGridTextBoxColumn.cs: Basic painting methods
  5637. * DataGridTableStyle.cs: Set table style in the column
  5638. * ThemeWin32Classic.cs: Use Theme for colors
  5639. * DataGridDrawingLogic.cs: Implement more drawing
  5640. * DataGrid.cs: drawing, theming, enhacements, fixes
  5641. * DataGridColumnStyle.cs: fixes, drawing
  5642. * Theme.cs: theming for Datagrid
  5643. 2005-05-20 Peter Bartok <[email protected]>
  5644. * Cursor.cs: Implemented GetObjectData() method
  5645. 2005-05-20 Peter Bartok <[email protected]>
  5646. * Cursors.cs: Added setting of cursor name
  5647. * Cursor.cs:
  5648. - Implemented constructors
  5649. - Implemented Draw and DrawStretched
  5650. - Implemented Current property
  5651. - Implemented == and != operators
  5652. - Implemented Dispose()
  5653. - Implemented ToString
  5654. - Added missing attributes
  5655. * XplatUIX11.cs:
  5656. - Added missing reset for OverrideCursor when DoEvents is called
  5657. - Fixed creation of cursor, logic was wrong
  5658. * XplatUIWin32.cs:
  5659. - Added missing reset for OverrideCursor when DoEvents is called
  5660. - Fixed creation of cursor, bit arrays were swapped
  5661. * Clipboard.cs: Removed obsolete MonoTODO attribute
  5662. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  5663. * ComboBox.cs: fixes OnSelectedItemChanged
  5664. * ControlBindingsCollection.cs: fixes item range check
  5665. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  5666. * UpDownBase.cs:
  5667. - Calc preferred height properly
  5668. - Implement missing properties
  5669. * NumericUpDown.cs: Implement missing events
  5670. 2005-05-19 Jackson Harper <[email protected]>
  5671. * TabControl.cs: New method that resizes the tab pages before
  5672. redrawing them. This as needed as the control is double buffered
  5673. and sizing will not be recalculated unless ResizeTabPages is
  5674. called.
  5675. * TabPage.cs: Set base.Text instead of Text in the constructor so
  5676. that UpdateOwner does not get called. Use the new Redraw method of
  5677. TabControl instead of Refresh so the sizing is recalculated.
  5678. * ThemeWin32Classic.cs: Draw the text for button tabs.
  5679. 2005-05-19 Jackson Harper <[email protected]>
  5680. * Control.cs: Paint control background images. Fix typo where
  5681. PaintControlBackground was not getting called correctly.
  5682. 2005-05-19 Peter Bartok <[email protected]>
  5683. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  5684. I can investigate, apparently I broke FileDialog
  5685. 2005-05-19 Marek Safar <[email protected]>
  5686. * AxHost.cs: Some simple properties.
  5687. * Control.cs: window must be accessible after ctor.
  5688. * Form.cs: Added TransparencyKey property.
  5689. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  5690. * XplatUIWin32.cs: SetBorderStyle implemented.
  5691. 2005-05-18 Peter Bartok <[email protected]>
  5692. * DataObject.cs: Entries are not global but particular to the
  5693. DataObject, now it behaves that way
  5694. * XplatUIWin32.cs: Implemented Clipboard methods
  5695. * Clipboard.cs: Implemented
  5696. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  5697. * XplatUIOSX.cs: Updated to final clipboard prototypes
  5698. * XplatUIX11.cs: Implemented Clipboard methods
  5699. * XplatUIDriver.cs: Updated to final clipboard prototypes
  5700. * XplatUIStructs.cs:
  5701. - Added BITMAPINFOHEADER struct
  5702. - Added ClipboardFormats enum
  5703. * X11Structs.cs:
  5704. - Added ClipboardStruct
  5705. - Added Atom enum items for clipboard types
  5706. - Fixed atom types for Selection event structures
  5707. * DataFormats.cs:
  5708. - Added internal properties and methods for drivers to enumerate
  5709. all known formats
  5710. - Switched initialization method to allow drivers to assign their
  5711. own IDs even for the MS predefined clipboard IDs
  5712. * XplatUI.cs: Updated to final clipboard interface
  5713. 2005-05-18 Jonathan S. Chambers <[email protected]>
  5714. * PropertyGridView.cs: Fixed compiler warnings.
  5715. 2005-05-18 Jonathan S. Chambers <[email protected]>
  5716. * PropertyGrid.cs: Added some event calls
  5717. * PropertyGridView.cs: Change drawing code to use double buffering
  5718. * PropertyGridTextBox.cs: Changed Text property name
  5719. * GridItem.cs: Added Bounds property.
  5720. * GridEntry.cs: Added Bounds property.
  5721. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  5722. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  5723. since GetType() may not return the correct type if the object is
  5724. a remoting proxy.
  5725. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  5726. * TreeNodeCollection.cs: fixes get/set item ranges
  5727. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  5728. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  5729. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  5730. * ComboBox.cs: Fix item range comparation
  5731. * ListView.cs: Fix item range comparation
  5732. 2005-05-03 Alexander Olk <[email protected]>
  5733. * FontDialog.cs:
  5734. - Clear example panel when OnPaint is called
  5735. - Better solution for displaying the example panel text
  5736. - Select default indexes in the ListBoxes
  5737. 2005-05-11 Geoff Norton <[email protected]>
  5738. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  5739. 2005-05-11 Peter Bartok <[email protected]>
  5740. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  5741. * SelectionRangeConverter.cs: Implemented
  5742. * PropertyGrid.cs: Fixed attribute value
  5743. * Control.cs:
  5744. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  5745. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  5746. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  5747. that's common to all drivers. First methods to go there are
  5748. Sebastien Pouliot's CAS Stack Propagation helper methods
  5749. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  5750. Sebastien Pouliot for CAS Stack Propagation
  5751. 2005-05-11 Geoff Norton <[email protected]>
  5752. * OSXStructs.cs:
  5753. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  5754. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  5755. * DataGridTextBoxColumn.cs: fixed some members
  5756. * GridColumnStylesCollection.cs: indexed column is case insensitive
  5757. * DataGridTableStyle.cs: fixes
  5758. * ThemeWin32Classic.cs: add new theme parameter
  5759. * Theme.cs: add new theme parameter
  5760. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  5761. * DataGrid.cs: fixes, new internal properties, etc.
  5762. * DataGridColumnStyle.cs: allows to set grid value
  5763. *
  5764. 2005-05-10 Peter Bartok <[email protected]>
  5765. * AccessibleObject.cs:
  5766. - Removed MonoTODO attribute on help, method is correct
  5767. - Fixed Bounds property
  5768. * AxHost.cs: Moved MonoTODO
  5769. * ButtonBase.cs: Now setting AccessibleObject properties
  5770. * RadioButton.cs: Setting proper AccessibleObject role
  5771. * CheckBox.cs: Setting proper AccessibleObject role
  5772. * ControlBindingsCollection.cs: Added properties, methods and attributes
  5773. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  5774. userdefined DataFormats.Format items as well
  5775. * ListControl.cs: Removed data_member from the public eye
  5776. * OpenFileDialog.cs:
  5777. - Made class sealed
  5778. - Added missing attributes
  5779. * SaveFileDialog.cs: Added missing attributes
  5780. * ImageListStreamer.cs: Fixed code that caused warnings
  5781. * LinkLabel.cs: Removed unreachable code
  5782. * TreeView.cs: Fixed code that caused warnings
  5783. * PropertyGridView.cs: Fixed code that caused warnings
  5784. * GridColumnStylesCollection.cs: Added missing attributes
  5785. * GridTableStylesCollection: Added missing attribute
  5786. * PropertyManager: Added .ctor
  5787. * SecurityIDType: Added
  5788. * DataObject.cs: Implemented class
  5789. * LinkArea.cs: Added missing attribute
  5790. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  5791. * RadioButton.cs: call base method to allow to fire OnClick event
  5792. * UpDownBase.cs: OnMouseUp call base method
  5793. * CheckedListBox.cs: call base method before returning
  5794. * TrackBar.cs: call base method before returning
  5795. 2005-05-10 Peter Bartok <[email protected]>
  5796. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  5797. for messages
  5798. 2005-05-10 Peter Bartok <[email protected]>
  5799. * DataFormats.cs: Implemented
  5800. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  5801. XplatUIX11.cs: Added Clipboard APIs
  5802. * XplatUIWin32.cs: Implemented Clipboard APIs
  5803. * FolderBrowserDialog.cs: Added missing event, attributes
  5804. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  5805. * CheckBox.cs: call base method to allow to fire OnClick event
  5806. 2005-05-09 Sebastien Pouliot <[email protected]>
  5807. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  5808. 2005-05-06 Peter Bartok <[email protected]>
  5809. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  5810. * Screen.cs: Implemented
  5811. * HelpNavigator.cs: Added
  5812. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  5813. property
  5814. * HelpProvider.cs: Implemented all we can do until we have a CHM
  5815. help library (which means that "What's This" does work now)
  5816. 2005-05-06 Jackson Harper <[email protected]>
  5817. * XplatUIX11.cs: Fix waking up the main loop.
  5818. 2005-05-05 Peter Bartok <[email protected]>
  5819. * XplatUI.cs: Updated revision
  5820. * Form.cs: Removed enless loop
  5821. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  5822. * Label.cs (OnPaint): Added call to base.OnPaint()
  5823. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  5824. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  5825. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  5826. * AxHost.cs: Added
  5827. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  5828. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  5829. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  5830. reuse of ToolTipWindow by other controls
  5831. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  5832. * XplatUIX11.cs: Now clipping drawing area (experimental)
  5833. * PictureBox.cs: Moved base.OnPaint() call to end of method
  5834. * Theme.cs: Fixed ToolTip abstracts to match new format
  5835. * ErrorProvider.cs: Implemented
  5836. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  5837. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  5838. * LinkLabel.cs:
  5839. - Adds cursors
  5840. - Handles focus
  5841. - Implements LinkBehavior
  5842. - Fixes many issues
  5843. 2005-05-03 Jackson Harper <[email protected]>
  5844. * ListView.cs: Calculate the scrollbar positioning on resize and
  5845. paint, so they get put in the correct place.
  5846. 2005-05-03 Alexander Olk <[email protected]>
  5847. * ColorDialogs.cs: The small color panels are now handled by
  5848. SmallColorControl. This fixes drawing of the focus rectangle
  5849. and adds a 3D border.
  5850. 2005-05-03 Peter Bartok <[email protected]>
  5851. * Control.cs: Modified version of Jonathan Chamber's fix for
  5852. double-buffering
  5853. 2005-05-03 Jackson Harper <[email protected]>
  5854. * ListView.cs: Remove redraw variable. Control now handles whether
  5855. or not a redraw needs to be done, and will only raise the paint
  5856. event if redrawing is needed.
  5857. 2005-05-03 Jackson Harper <[email protected]>
  5858. * Splitter.cs: No decorations for the splitter form. Cache the
  5859. hatch brush.
  5860. 2005-05-03 Jackson Harper <[email protected]>
  5861. * TreeView.cs: Use dashed lines to connect nodes. Use the
  5862. ControlPaint method for drawing the focus rect instead of doing
  5863. that in treeview.
  5864. 2005-05-02 Peter Bartok <[email protected]>
  5865. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  5866. 2005-04-29 Jackson Harper <[email protected]>
  5867. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  5868. entire image buffer. Just clear the clipping rectangle.
  5869. 2005-04-29 Jackson Harper <[email protected]>
  5870. * ThemeWin32Classic.cs: Don't draw list view items that are
  5871. outside the clipping rectangle.
  5872. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  5873. * ListBox.cs: added horizontal item scroll
  5874. 2005-04-29 Jackson Harper <[email protected]>
  5875. * ThemeWin32Classic.cs: Remove some old debug code that was
  5876. causing flicker with the new double buffering code.
  5877. 2005-04-29 John BouAntoun <[email protected]>
  5878. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  5879. behave like combobox and comboboxlist (still not sure if this is
  5880. correct though).
  5881. 2005-04-28 Jackson Harper <[email protected]>
  5882. * ThemeWin32Classic.cs: Don't fill the middle of progress
  5883. bars. This fills areas outside of the clip bounds that don't need
  5884. to be filled.
  5885. 2005-04-28 Jackson Harper <[email protected]>
  5886. * Control.cs: Don't expose functionality to touch the image buffers.
  5887. * ProgressBar.cs:
  5888. * ListView.cs: We do not need to (and no longer can) manipulate
  5889. the image buffers directly. All of this is handled by Control.
  5890. 2005-04-28 Peter Bartok <[email protected]>
  5891. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  5892. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  5893. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  5894. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  5895. * Combobox:
  5896. - Adjust control's height for non-simple comboboxes (bug fix)
  5897. - Remove dead code
  5898. * MenuAPI.cs: remove unused var
  5899. * ScrollBar.cs: remove unsed var
  5900. * ListBox.cs: unselect items when clearing
  5901. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  5902. * ListControl.cs: honors OnPositionChanged and default Selected Item
  5903. * ListBox.cs: unselect items when clearing
  5904. 2005-04-27 Jackson Harper <[email protected]>
  5905. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  5906. if a "correct" keyboard is not found. This will make us not crash,
  5907. but might give some users bad keyboard layouts...seems to be the
  5908. same thing rewind does.
  5909. 2005-04-27 Jackson Harper <[email protected]>
  5910. * BindingManagerBase.cs: Attach the current/position changed
  5911. handlers to their respective events.
  5912. 2005-04-27 Jackson Harper <[email protected]>
  5913. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  5914. not just a blit.
  5915. * ThemeWin32Classic.cs: Don't fill the background for picture
  5916. boxes. This could overright user drawing.
  5917. * ComboBox.cs: Just fill the clipping rect not the entire client
  5918. rect when drawing the background. This prevents pieces of the
  5919. image buffer from getting overwritten and is theoretically faster.
  5920. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  5921. * ComboBox.cs: Databinding support fixes, fire missing events
  5922. * ListControl.cs: implement missing methods and properties, fixes
  5923. * ThemeWin32Classic.cs: Databiding support on Drawing
  5924. * CheckedListBox.cs: Databinding support fixes, fire missing events
  5925. * ListBox.cs: Databinding support fixes, fire missing events
  5926. 2005-04-25 Peter Bartok <[email protected]>
  5927. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  5928. 2005-04-25 Jackson Harper <[email protected]>
  5929. * TreeView.cs: Use the horizontal scrollbars height not width when
  5930. determining how much of the client area is available.
  5931. 2005-04-25 Jackson Harper <[email protected]>
  5932. * Control.cs: Double buffering is handled differently now. As per
  5933. the spec, the extra buffer is created in the WM_PAINT message and
  5934. passed down to the control's drawing code.
  5935. * GroupBox.cs:
  5936. * Label.cs:
  5937. * CheckBox.cs:
  5938. * ProgressBar.cs:
  5939. * RadioButton.cs:
  5940. * ColorDialog.cs:
  5941. * ComboBox.cs:
  5942. * PropertyGridView.cs:
  5943. * UpDownBase.cs:
  5944. * MessageBox.cs:
  5945. * MenuAPI.cs:
  5946. * ListView.cs:
  5947. * ButtonBase.cs:
  5948. * SizeGrip.cs:
  5949. * ScrollBar.cs:
  5950. * ListBox.cs:
  5951. * TrackBar.cs:
  5952. * ToolBar.cs:
  5953. * PictureBox.cs:
  5954. * DateTimePicker.cs:
  5955. * StatusBar.cs:
  5956. * TreeView.cs: Update to new double buffering system.
  5957. * MonthCalendar.cs: Uncomment block, as Capture is now
  5958. working. Update to new double buffering
  5959. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  5960. * PaintEventArgs.cs: New internal method allows us to set the
  5961. graphics object. This is used for double buffering.
  5962. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  5963. rectangle. The internal paint_area var has been removed from
  5964. StatusBar. The clipping rect should be used instead.
  5965. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  5966. * TabPage.cs: The RefreshTabs method was removed, so just call the
  5967. tab controls Refresh method now.
  5968. * TabControl.cs: Update to new double buffering. Make sure the
  5969. handle is created before sizing the tab pages, otherwise we will
  5970. get stuck in a loop.
  5971. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  5972. * LinkLabel.cs: Fix typo, bug #74719; patch
  5973. from Borja Sanchez Zamorano
  5974. 2005-04-22 Jackson Harper <[email protected]>
  5975. * TreeNode.cs: Implement Handle stuff.
  5976. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  5977. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  5978. * DataGridTextBoxColumn.cs: call base constructors, fixes
  5979. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  5980. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  5981. * DataGridTableStyle.cs: implements create default column styles
  5982. * DataGridBoolColumn.cs: which types can handle
  5983. * DataGrid.cs: missing methods, fixes, new functionality
  5984. * DataGridColumnStyle.cs: fixes
  5985. 2005-04-20 Alexander Olk <[email protected]>
  5986. * FolderBrowserDialog.cs:
  5987. - Use a thread to fill the TreeView
  5988. - Adjusted some sizes
  5989. 2005-04-19 Peter Bartok <[email protected]>
  5990. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  5991. property. Fixes #74360.
  5992. 2005-04-19 Jackson Harper <[email protected]>
  5993. * XEventQueue.cs: Lock when getting the lockqueue size.
  5994. * PictureBox.cs: Call base OnPaint
  5995. 2005-04-19 Peter Bartok <[email protected]>
  5996. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  5997. messages were no longer being processed (this broke BeginInvoke)
  5998. 2005-04-18 Jackson Harper <[email protected]>
  5999. * TreeView.cs: buglet that caused node images to get drawn
  6000. regardless of whether or not they were in the clipping rectangle.
  6001. 2005-04-18 Jackson Harper <[email protected]>
  6002. * CurrencyManager.cs: There are four rules for GetItemProperties:
  6003. - If the type is an array use the element type of the array
  6004. - If the type is a typed list, use the type
  6005. - If the list contains an Item property that is not an object, use
  6006. that property
  6007. - use the first element of the list if there are any elements in
  6008. the list.
  6009. 2005-04-17 Jackson Harper <[email protected]>
  6010. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  6011. click. This handles offsets for scrolling properly and reduces
  6012. memory. Also fixed GetNode to not offset now that TopNode works
  6013. properly.
  6014. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  6015. 2005-04-17 Jackson Harper <[email protected]>
  6016. * CursorConverter.cs: Initial implementation.
  6017. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  6018. * ListControl.cs: work towards complex data binding support on ListControl
  6019. * CurrencyManager.cs: work towards complex data binding support on ListControl
  6020. * ListBox.cs: work towards complex data binding support on ListControl
  6021. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  6022. * GridTableStylesCollection.cs: fixes name and constructor
  6023. * DataGridTableStyle.cs: fixes
  6024. * DataGridBoolColumn.cs: fixes names and constructors
  6025. * DataGrid.cs: define methods and properties. Some init implementations
  6026. * DataGridCell.cs: define methods and properties. Some init implementations
  6027. * GridTablesFactory.cs: Define methods and properties
  6028. 2005-04-15 Geoff Norton <[email protected]>
  6029. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  6030. graphics port changes. We still want the coordinates in global screen
  6031. coordinates.
  6032. 2005-04-14 Jackson Harper <[email protected]>
  6033. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  6034. check plus minus or checkbox clicks unless those features are enabled.
  6035. 2005-04-14 Jackson Harper <[email protected]>
  6036. * TreeView.cs: Add methods for setting the top and bottom visible
  6037. nodes. TreeNode::EnsureVisible uses these methods.
  6038. * TreeNode.cs: Implement EnsureVisible
  6039. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  6040. * Form.cs: Pospone menu assignation if the window has not been created yet
  6041. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  6042. size and position
  6043. 2005-04-12 Jackson Harper <[email protected]>
  6044. * TreeView.cs: Set the TopNode properly when scrolling
  6045. occurs. This has the added benifit of reducing the amount of
  6046. walking that needs to be done when drawing. Also removed an old
  6047. misleading TODO.
  6048. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  6049. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  6050. * Timer.cs: fixes interval setting when the timer is already enabled
  6051. 2005-04-10 Alexander Olk <[email protected]>
  6052. * FolderBrowserDialog.cs: First approach
  6053. 2005-04-09 Peter Bartok <[email protected]>
  6054. * FolderBrowserDialog: Added
  6055. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  6056. * LinkLabel.cs: move drawing code into the theme
  6057. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  6058. * Theme.cs: define DrawLinkLabel method
  6059. 2005-04-05 Jackson Harper <[email protected]>
  6060. * BindingContext.cs: Use weak references so these bad actors don't
  6061. stay alive longer then they need to.
  6062. 2005-04-05 Jackson Harper <[email protected]>
  6063. * ListControl.cs: Basic implementation of complex databinding.
  6064. * ComboBox.cs:
  6065. * ListBox.cs: Add calls to ListControl databinding methods.
  6066. 2005-04-05 Alexander Olk <[email protected]>
  6067. * FileDialog.cs:
  6068. - Don't change PopupButtonState to Normal when the
  6069. PopupButton gets pressed several times.
  6070. - Renamed ButtonPanel to PopupButtonPanel
  6071. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  6072. * ColorDialog.cs: Use cached objects instead of creating them
  6073. * LinkLabel.cs: Use cached objects instead of creating them
  6074. * Splitter.cs: Use cached objects instead of creating them
  6075. * FontDialog.cs: Use cached objects instead of creating them
  6076. * PropertyGridView.cs: Use cached objects instead of creating them
  6077. * MessageBox.cs: Use cached objects instead of creating them
  6078. * FileDialog.cs: Use cached objects instead of creating them
  6079. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  6080. * TreeView.cs: Use cached objects instead of creating them
  6081. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  6082. * Control.cs: use Equals to compare the font since no == op
  6083. * ScrollBar.cs: use Equals to compare the font since no == op
  6084. 2005-04-04 Alexander Olk <[email protected]>
  6085. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  6086. 2005-04-01 Jackson Harper <[email protected]>
  6087. * Binding.cs: Implement IsBinding.
  6088. * BindingManagerBase.cs:
  6089. * PropertyManager.cs:
  6090. * CurrencyManager.cs: Add IsSuspended property.
  6091. 2005-04-01 Jackson Harper <[email protected]>
  6092. * Binding.cs: Had some IsAssignableFrom calls backwards.
  6093. 2005-04-01 Jackson Harper <[email protected]>
  6094. * Binding.cs: Handle null data members when pulling data.
  6095. * PropertyManager.cs: Handle the data member being a property that
  6096. does not exist.
  6097. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  6098. * DataGridTextBoxColumn.cs: fixes signature
  6099. * DataGrid.cs: calls right constructor
  6100. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  6101. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  6102. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  6103. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  6104. * DataGridTableStyle.cs: implements DataGridTableStyle
  6105. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  6106. * DataGridTextBox.cs: implements DataGridTextBox
  6107. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  6108. 2005-03-31 Alexander Olk <[email protected]>
  6109. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  6110. 2005-03-29 Peter Bartok <[email protected]>
  6111. * Application.cs:
  6112. - Properly implemented CompanyName property
  6113. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  6114. returns a path that includes CompanyName, ProductName and
  6115. Version (fixes bug #70330)
  6116. 2005-03-29 Stefan Buehler <[email protected]>
  6117. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  6118. fixes bug #72588.
  6119. 2005-03-28 Alexander Olk <[email protected]>
  6120. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  6121. - Added ReadOnly CheckBox
  6122. - Further refactoring: moved some code from Open-/SaveFileDialog
  6123. to FileDialog
  6124. 2005-03-28 Alexander Olk <[email protected]>
  6125. * OpenFileDialog.cs: Fixed CheckFileExists
  6126. * FileDialog.cs:
  6127. Moved FileView and DirComboBox outside FileDialog class.
  6128. They can now be used outside FileDialog
  6129. 2005-03-27 Alexander Olk <[email protected]>
  6130. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  6131. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  6132. 2005-03-27 Alexander Olk <[email protected]>
  6133. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  6134. - Added missing CreatePrompt property in SaveDialog
  6135. - Overall SaveDialog handling should be better now
  6136. - Added non standard ShowHiddenFiles property
  6137. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  6138. - Added InitialDirectory and RestoreDirectory support
  6139. 2005-03-26 Alexander Olk <[email protected]>
  6140. * FileDialog.cs: Made dirComboBox usable
  6141. 2005-03-24 Alexander Olk <[email protected]>
  6142. * FileDialog.cs: Added Filter support (case sensitiv)
  6143. 2005-03-24 Jackson Harper <[email protected]>
  6144. * TabControl.cs: Need a couple more pixels for the lines.
  6145. 2005-03-23 Jackson Harper <[email protected]>
  6146. * TabControl.cs: Give the tab page focus when it is selected.
  6147. 2005-03-23 Jackson Harper <[email protected]>
  6148. * TabControl.cs: Account for the drawing of tabs borders when
  6149. invalidating. If the slider was clicked dont do click detection on
  6150. the tabs.
  6151. 2005-03-23 Jackson Harper <[email protected]>
  6152. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  6153. 2005-03-22 Jonathan Chambers <[email protected]>
  6154. * CategoryGridEntry.cs: Added
  6155. * GridItem.cs: Added helper properties
  6156. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  6157. * GridEntry.cs: Updated code for collection
  6158. * PropertyGrid.cs: Cleaned up some formatting
  6159. * PropertyGridView.cs: Added drop down functionality for enums.
  6160. * GridItemCollection.cs: Added enumerator logic
  6161. * PropertyGridEntry.cs: Added
  6162. 2005-03-19 Alexander Olk <[email protected]>
  6163. * FileDialog.cs:
  6164. - Removed unnecessary commented code
  6165. - Fixed handling for entering the filename manually in the combobox
  6166. 2005-03-19 Alexander Olk <[email protected]>
  6167. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  6168. 2005-03-18 Peter Bartok <[email protected]>
  6169. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  6170. them being touching the border
  6171. 2005-03-18 Peter Bartok <[email protected]>
  6172. * TextControl.cs: Quick hack to center text better
  6173. 2005-03-18 Peter Bartok <[email protected]>
  6174. * ControlPaint.cs:
  6175. - Don't throw NotImplemented exceptions, just print a notice once
  6176. instead (requested by Miguel). This makes running existing SWF
  6177. apps a bit easier
  6178. * Control.cs:
  6179. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  6180. - Added context menu trigger on right click
  6181. * Panel.cs: Trigger invalidate on resize
  6182. * StatusBar.cs:
  6183. - Removed old double-buffer drawing
  6184. - Added ResizeRedraw style to force proper update of statusbar
  6185. * ListView.cs:
  6186. - Removed debug output
  6187. * ThemeWin32Classic.cs:
  6188. - Fixed drawing of status bar, now draws Text property if there
  6189. are no defined panels
  6190. 2005-03-18 Jackson Harper <[email protected]>
  6191. * ImageList.cs: When the image stream is set pull all the images
  6192. from it.
  6193. * ImageListStreamer.cs: Implement reading image list streams.
  6194. 2005-03-18 Peter Bartok <[email protected]>
  6195. * ThemeWin32Classic.cs (DrawPictureBox):
  6196. - Fixed calculations for centered drawing
  6197. - Fixed drawing for normal mode, not scaling the image on normal
  6198. 2005-03-18 Peter Bartok <[email protected]>
  6199. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  6200. textbox
  6201. * FileDialog.cs:
  6202. - Made Open/Save button the accept button for FileDialog
  6203. - Tied the cancel button to the IButtonControl cancel button
  6204. - Save/Open now properly builds the pathname
  6205. - Now handles user-entered text
  6206. - Preventing crash on right-click if no item is selected
  6207. - Fixed Text property, now uses contents of textbox
  6208. - Fixed SelectedText property, now just returns the text part that
  6209. is selected in the text box
  6210. 2005-03-18 Jackson Harper <[email protected]>
  6211. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  6212. rect, make sure to de-adjust the interior rect after drawing the
  6213. tab text.
  6214. 2005-03-18 Peter Bartok <[email protected]>
  6215. * MenuAPI.cs: Remove menu *before* executing selected action to
  6216. prevent the menu from 'hanging around'
  6217. 2005-03-17 Geoff Norton <[email protected]>
  6218. * XplatUIOSX.cs: Implemented WorkingArea property
  6219. 2005-03-17 Peter Bartok <[email protected]>
  6220. * XplatUIX11.cs: Fixed menu coord calculations
  6221. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  6222. for calculating offsets
  6223. 2005-03-17 Peter Bartok <[email protected]>
  6224. * Hwnd.cs: Do not consider menu presence for default client
  6225. rectangle location/size
  6226. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  6227. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  6228. translation functions
  6229. * FileDialog.cs: Fixed (what I presume is a) typo
  6230. 2005-03-17 Jonathan Gilbert <[email protected]>
  6231. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  6232. X access (avoids X-Async errors)
  6233. 2005-03-16 Jackson Harper <[email protected]>
  6234. * TabControl.cs: Raise the SelectedIndexChanged event.
  6235. 2005-03-16 Alexander Olk <[email protected]>
  6236. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  6237. - Removed vertical ToolBar and replaced it with a custom panel
  6238. (desktop and home button already work)
  6239. - Added Help button (some controls get resized or relocated then)
  6240. - Draw correct text depending on Open or Save.
  6241. - Fixed some typos...
  6242. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  6243. * ScrollBar.cs:
  6244. - Only change Maximum and Minimum when need it (bug fix)
  6245. 2005-03-15 Peter Bartok <[email protected]>
  6246. * Form.cs: Use Handle for icon, to trigger creation if
  6247. the window does not yet exist
  6248. * Control.cs:
  6249. - CanSelect: Slight performance improvement
  6250. - Focus(): Preventing possible recursion
  6251. - Invalidate(): Removed ControlStyle based clear flag setting
  6252. - WM_PAINT: fixed logic for calling OnPaintBackground
  6253. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  6254. EraseWindowBackground if the control doesn't paint background
  6255. * XplatUIWin32.cs:
  6256. - Moved EraseWindowBackground() method to internal methods
  6257. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  6258. is sent via SendMessage on BeginPaint call on Win32
  6259. * XplatUIX11.cs:
  6260. - Added EraseWindowBackground() method
  6261. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  6262. PaintEventStart, which more closely matches Win32 behaviour
  6263. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  6264. - Fixed SetFocus() to properly deal with client and whole windows
  6265. * Hwnd.cs: Added ErasePending property
  6266. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  6267. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  6268. 2005-03-12 Geoff Norton <[email protected]>
  6269. * XplatUIOSX.cs:
  6270. - Fix hard loop when timers exist.
  6271. - Fix bugs with middle and right click for 3 button mice.
  6272. 2005-03-11 Peter Bartok <[email protected]>
  6273. * XplatUIX11.cs:
  6274. - get_WorkingArea: Need to call X directly, GetWindowPos only
  6275. returns cached data now
  6276. - Added sanity check to GetWindowPos hwnd usage
  6277. 2005-03-11 Jackson Harper <[email protected]>
  6278. * BindingManagerBase.cs: This method isn't used anymore as
  6279. PullData now updates the data in the control.
  6280. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  6281. * Form.cs: fixes menu drawing on X11
  6282. * MenuAPI.cs: fixes menu drawing on X11
  6283. 2005-03-11 Peter Bartok <[email protected]>
  6284. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  6285. from Jonathan Gilbert; should fix bug #73606
  6286. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  6287. in Screen coordinates. Thanks, Jordi.
  6288. * Form.cs: Added missing attribute
  6289. 2005-03-11 Peter Bartok <[email protected]>
  6290. * Form.cs:
  6291. - Rudimentary Mdi support
  6292. - Removed outdated FormParent code
  6293. - Implemented lots of missing properties and methods, still missing
  6294. transparency support
  6295. - Added missing attributes
  6296. - Implemented support for MaximumBounds
  6297. - Added firing of various events
  6298. * XplatUI.cs: Added SetIcon() method
  6299. * XplatUIDriver.cs: Added SetIcon() abstract
  6300. * XplatUIOSX.cs: Stubbed out SetIcon() method
  6301. * XplatUIX11.cs:
  6302. - Implemented SetIcon() support
  6303. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  6304. - Switched to unix line endings
  6305. * XplatUIWin32.cs:
  6306. - Made POINT internal so for can access it as part of MINMAX
  6307. - Implemented SetIcon() support
  6308. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  6309. native Mdi support again, might have to go managed)
  6310. * Control.cs: Now fires the StyleChanged event
  6311. * MdiClient.cs: Added; still mostly empty
  6312. 2005-03-10 Peter Bartok <[email protected]>
  6313. * SaveFileDialog.cs: Added emtpy file
  6314. 2005-03-08 Peter Bartok <[email protected]>
  6315. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  6316. in turn triggers OnCreateContro) when creating a handle for the
  6317. first time.
  6318. * TextControl.cs: Fixed endless loop in certain cases when
  6319. replacing the current selection
  6320. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  6321. * ScrollBar.cs:
  6322. - Honors NewValue changes in Scroll events allowing apps to change it
  6323. - Adds First and Last Scroll events
  6324. - Fixes Thumb events
  6325. 2005-03-07 Peter Bartok <[email protected]>
  6326. * Hwnd.cs: Added DefaultClientRectangle property
  6327. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  6328. more detailed debug information
  6329. * XplatUIX11.cs:
  6330. - Fixed size-change feedback loop, where we would pull an old size
  6331. off the queue and mistakenly change our window's size to an
  6332. earlier value
  6333. - Now compressing ConfigureNotify events, to reduce looping and
  6334. redraw issues
  6335. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  6336. is called
  6337. 2005-03-07 Jackson Harper <[email protected]>
  6338. * Binding.cs: Push data pushes from data -> property. Check if the
  6339. property is readonly when attempting to set it.
  6340. 2005-03-07 Jackson Harper <[email protected]>
  6341. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  6342. instead of IsSubclassOf. Pulling data now sets the value on the
  6343. control.
  6344. * PropertyManager.cs:
  6345. * CurrencyManager.cs: Just need to pull data when updating now,
  6346. because PullData will set the value on the control.
  6347. 2005-03-04 Jackson Harper <[email protected]>
  6348. * Binding.cs: Implement data type parsing and converting on pulled
  6349. data. TODO: Are there more ways the data can be converted?
  6350. 2005-03-04 Jackson Harper <[email protected]>
  6351. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  6352. controls Validating method so we can repull the data when the
  6353. control loses focus.
  6354. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  6355. * ColumnHeader.cs:
  6356. - Fixes null string format
  6357. * ListView.cs:
  6358. - Adds enum type checks
  6359. - Fixes redrawing and recalc need after changing some properties
  6360. - Fixes on focus_item set after the event
  6361. - Fixes adding columns after the control has been created
  6362. * ThemeWin32Classic.cs:
  6363. - Fixes CheckBox focus rectangle
  6364. - Fixes ColumnHeader drawing
  6365. 2005-03-03 Jackson Harper <[email protected]>
  6366. * Binding.cs: Bind to <Property>Changed events so we can detect
  6367. when properties are changed and update the data.
  6368. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  6369. * ImageList.cs:
  6370. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  6371. - Fixes ImageList constructor with ImageList container
  6372. - Fixes image scaling (wrong parameters at DrawImage)
  6373. 2005-02-02 Jackson Harper <[email protected]>
  6374. * Binding.cs: Make property searches case-insensitive. Eliminate
  6375. some duplicated code.
  6376. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  6377. * ComboBox.cs:
  6378. - Handle focus event
  6379. - Fix scrollbar events
  6380. - Discard highlighted item if remove it
  6381. - Fixes SelectedItem with strings
  6382. 2005-03-01 Peter Bartok <[email protected]>
  6383. * Control.cs:
  6384. - Fixed Visible property, now follows (once again) parent chain
  6385. to return false if any control in the chain is visible=false
  6386. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  6387. - Fixed several places where is_visible instead of Visible was used
  6388. - Implemented FIXME related to focus selection when setting focused
  6389. control to be invisible
  6390. * XplatUIWin32.cs: Now using proper method to find out if window is
  6391. visible. Thanks to Jordi for pointing it out
  6392. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  6393. * ComboBox.cs: show/hide scrollbar instead of creating it
  6394. 2005-02-27 Jackson Harper <[email protected]>
  6395. * CurrencyManager.cs: Add PositionChanged stuff.
  6396. 2005-02-27 Peter Bartok <[email protected]>
  6397. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  6398. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  6399. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  6400. * XplatUIX11.cs:
  6401. - Implemented GetMenuDC()
  6402. - Implemented GetMenuOrigin()
  6403. - Implemented ReleaseMenuDC()
  6404. - Implemented generation of WM_NCPAINT message
  6405. - Implemented generation and handling of WM_NCCALCSIZE message
  6406. * Form.cs: Added debug helper message for Jordi's menu work
  6407. * Hwnd.cs:
  6408. - Modified ClientRect property; added setter, fixed getter to handle
  6409. setting of ClientRect
  6410. - Added MenuOrigin property
  6411. 2005-02-26 Peter Bartok <[email protected]>
  6412. * XplatUIX11.cs:
  6413. - Destroys the caret if a window that's being destroyed contains it
  6414. - Ignores expose events coming from the X11 queue for windows that
  6415. already are destroyed
  6416. - Now uses the proper variable for handling DestroyNotify, before we
  6417. marked the wrong window as destroyed
  6418. - Improved/added some debug output
  6419. 2005-02-26 Peter Bartok <[email protected]>
  6420. * X11Keyboard.cs: Fixes to work on 64bit systems
  6421. 2005-02-26 Peter Bartok <[email protected]>
  6422. * Control.cs:
  6423. - Now calling OnHandleDestroyed from DestroyHandle()
  6424. instead of Dispose()
  6425. - Removed bogus call to controls.Remove() from DestroyHandle()
  6426. 2005-02-26 Peter Bartok <[email protected]>
  6427. * Control.cs: Properly destroy child windows when our handle is
  6428. destroyed
  6429. 2005-02-25 Peter Bartok <[email protected]>
  6430. * XplatUI.cs:
  6431. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  6432. - Alphabetized Static Methods and Subclasses
  6433. * XplatUIX11.cs:
  6434. - Added XException class to allow custom handling of X11 exceptions
  6435. - Created custom X11 error handler, tied into XException class
  6436. - Added support for MONO_XEXCEPTIONS env var to allow the user
  6437. to either throw an exception on X errors or continue running
  6438. after displaying the error
  6439. - Added handling of DestroyNotify message
  6440. - Added handler for CreateNotify message (still disabled)
  6441. - Improved (tried to at least) Where method to provide file and lineno
  6442. * X11Structs.cs:
  6443. - Added XErrorHandler delegate
  6444. - Added XRequest enumeration (to suppor translation of errors)
  6445. 2005-02-25 Jackson Harper <[email protected]>
  6446. * PropertyManager.cs: Implement editing features
  6447. * CurrencyManager.cs:
  6448. * Binding.cs: First attempt at UpdateIsBinding
  6449. * BindingManagerBase.cs: Call UpdateIsBinding before
  6450. pushing/pulling data.
  6451. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  6452. * MenuAPI.cs: Respect disabled items
  6453. * ThemeWin32Classic.cs
  6454. - Caches ImageAttributes creation for DrawImageDisabled
  6455. - Fixes vertical menu line drawing
  6456. - Draws disabled arrows in disable menu items
  6457. 2005-02-24 Peter Bartok <[email protected]>
  6458. * Hwnd.cs:
  6459. - Added UserData property to allow associating arbitrary objects
  6460. with the handle
  6461. - Fixed leak; now removing Hwnd references from static windows array
  6462. * XplatUIWin32.cs:
  6463. - Fixed Graphics leak in PaintEventEnd
  6464. - Removed usage of HandleData, switched over to Hwnd class
  6465. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  6466. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  6467. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  6468. * ScrollBar.cs: Fixes bug
  6469. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  6470. keyboard navigation enhancements
  6471. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  6472. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  6473. * GroupBox.cs: Add control styles
  6474. * Label.cs: Add control styles
  6475. * UpDownBase.cs: Add control styles
  6476. * ListBox.cs: Add control styles
  6477. * XplatUIWin32.cs: Fixes wrong parameter order
  6478. 2005-02-23 Chris Bacon <[email protected]>
  6479. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  6480. 2005-02-23 Jackson Harper <[email protected]>
  6481. * PropertyManager.cs: Implement property binding. This doesn't
  6482. seem to work yet though as (I think) there are some bugs in
  6483. System.ComponentModel.PropertyDescriptor.
  6484. * BindingContext.cs: Use new PropertyManager constructor.
  6485. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  6486. * ProgressBar.cs: use clip region in ProgressBar
  6487. * ThemeWin32Classic.cs: use clip region in ProgressBar
  6488. 2004-02-22 Jackson Harper <[email protected]>
  6489. * BindingsCollection.cs: Remove some debug code.
  6490. 2005-02-22 Jackson Harper <[email protected]>
  6491. * BindingContext.cs:
  6492. * ControlBindingsCollection.cs:
  6493. * CurrencyManager.cs:
  6494. * Binding.cs:
  6495. * BindingManagerBase.cs: Initial implementation
  6496. * BindingsCollection.cs: Add an internal contains method that the
  6497. BindingManagerBase uses to ensure bindings aren't added twice to
  6498. the collection.
  6499. * PropertyManager.cs: Stubbed out.
  6500. * Control.cs:
  6501. * ContainerControl.cs: Hook up databinding
  6502. 2005-02-22 Geoff Norton <[email protected]>
  6503. * XplatUIOSX.cs:
  6504. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  6505. Fixed Invalidate/Update chain.
  6506. Fixed tons of other minor bugs (this is almost a complete rewrite).
  6507. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  6508. * ComboBox.cs: do subcontrol creation when the control is created
  6509. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  6510. * Label.cs: fixes image drawing (image and imagelist)
  6511. * ThemeWin32Classic.cs: cache brushes
  6512. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  6513. * Form.cs: Move menu drawing code to Theme class
  6514. * ComboBox.cs: Move ComboBox drawing code to Theme class
  6515. * MenuItem.cs: Move menu drawing code to Theme class
  6516. * MenuAPI.cs: Move menu drawing code to Theme class
  6517. * ThemeWin32Classic.cs: New methods
  6518. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  6519. * ListBox.cs: Move Listbox drawing code to Theme class
  6520. * Theme.cs: New methods
  6521. 2005-02-20 Peter Bartok <[email protected]>
  6522. * Control.cs:
  6523. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  6524. only process mnemonics on those)
  6525. - Fixed event sequence for key handling; first calling
  6526. ProcessKeyEventArgs now
  6527. * TextBoxBase.cs:
  6528. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  6529. for processing non-character keys
  6530. - Fixed WM_CHAR to generate proper event sequence before processing
  6531. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  6532. generation
  6533. 2005-02-19 Peter Bartok <[email protected]>
  6534. * UserControl.cs: Added TextChanged event; added attributes
  6535. * SizeGrip.cs: Implemented resizing and optional display of grip
  6536. * Form.cs: Fixed attribute
  6537. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  6538. Changed meaning of ScrollWindow bool argument; instead of the
  6539. clear attribute (which will be true usually anyway), it gives the
  6540. option of moving child controls as well.
  6541. * XplatUIX11.cs:
  6542. - Changed to match new ScrollWindow argument
  6543. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  6544. now handles the implicit parent window a WM puts around us
  6545. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  6546. to work)
  6547. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  6548. * TreeView.cs: Adjusted to new ScrollWindow arguments
  6549. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  6550. * Form.cs: Menu integration with non-client area
  6551. * MenuItem.cs: Menu integration with non-client area
  6552. * MenuAPI.cs: Menu integration with non-client area
  6553. 2005-02-18 Peter Bartok <[email protected]>
  6554. * MethodInvoker.cs: Added
  6555. * MdiLayout.cs: Added
  6556. * SendKeys.cs: Started implementation
  6557. * ErrorIconAlignment.cs: Added
  6558. 2005-02-18 Peter Bartok <[email protected]>
  6559. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  6560. * Form.cs: Added handling for Menu-related Non-client messages
  6561. 2005-02-17 Peter Bartok <[email protected]>
  6562. * UpDownBase.cs: Fixed typo, compilation errors
  6563. * DomainUpDown.cs: Fixed attribute value
  6564. 2005-02-16 Miguel de Icaza <[email protected]>
  6565. * UpDownBase.cs: Attach entry events.
  6566. Propagate events.
  6567. Add ForeColor property, Focused, InterceptArrowKeys (interception
  6568. does not work yet).
  6569. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  6570. * Form.cs:
  6571. - Redraw non client are on Setmenu
  6572. - Calc proper menu starting point
  6573. 2005-02-17 Peter Bartok <[email protected]>
  6574. * Application.cs: Fixed message_filter check
  6575. 2005-02-17 Peter Bartok <[email protected]>
  6576. * Application.cs: Now calls registered message filters
  6577. * DockStyle.cs: Fixed attribute
  6578. * Form.cs: Fixed attribute
  6579. * Menu.cs: Fixed attribute
  6580. * ToolTip.cs: Fixed attribute
  6581. * TreeNode.cs: Added missing attributes and arranged in regions
  6582. * PropertyGrid.cs: Fixed signatures
  6583. * TreeNodeCollection.cs: Added attributes
  6584. * Splitter.cs: Added missing attributes; arranged into regions
  6585. * TabPage.cs: Added missing attributes; arranged into regions
  6586. * TextBoxBase.cs: Added missing attributes
  6587. * TextBox.cs: Added missing attributes
  6588. * ArrangeDirection.cs: Added missing attributes
  6589. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  6590. * ToolBarButton.cs: Fixed attributes
  6591. * AnchorStyles.cs: Fixed attribute
  6592. * TrackBar.cs: Fixed attributes
  6593. * TabControl.cs: Added missing attributes and arranged into regions
  6594. * ToolBar.cs: Fixed attribute
  6595. * StatusBar.cs: Fixed signature, organized into regions and added
  6596. attributes
  6597. * StatusBarPanel.cs: Fixed attributes
  6598. * ContentsResizedEventArgs.cs: Implemented
  6599. * ContentsResizedEventHandler.cs: Implemented
  6600. * DateBoldEventArgs.cs: Implemented
  6601. * DateBoldEventHandler.cs: Implemented
  6602. * UpDownEventArgs.cs: Implemented
  6603. * UpDownEventHandler.cs: Implemented
  6604. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  6605. * Form.cs: first Menu NC refactoring
  6606. * MenuAPI.cs: first Menu NC refactoring
  6607. 2005-02-16 Peter Bartok <[email protected]>
  6608. * ImeMode.cs: Added missing attributes
  6609. * Menu.cs: Fixed attribute
  6610. * GroupBox.cs: Fixed attribute
  6611. * Label.cs: Fixed attribute
  6612. * ColorDialog.cs (RunDialog): Removed TODO attribute
  6613. * ComboBox.cs: Fixed attributes
  6614. * ListControl.cs: Added missing attributes
  6615. * PropertyGrid.cs: Fixed attributes
  6616. * Control.cs: Fixed attributes
  6617. * ListViewItem.cs: Added TypeConverter attribute
  6618. * NotifyIcon.cs: Fixed attributes
  6619. * ListView.cs: Fixed attributes
  6620. * ButtonBase.cs: Fixed attribute
  6621. * ImageList.cs: Added missing attributes
  6622. * ContainerControl.cs: Fixed signature
  6623. * CheckedListBox.cs: Fixed attribute; added missing attributes
  6624. * Panel.cs: Fixed attributes
  6625. * PropertyTabChangedEventArgs.cs: Added missing attribute
  6626. * PropertyValueChangedEventArgs.cs: Added missing attribute
  6627. * Binding.cs: Fixed attribute
  6628. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  6629. * ListBox.cs: Fixed attribute; added missing attributes;
  6630. * ScrollableControl.cs: Added missing attributes
  6631. * PictureBox.cs: Added missing attributes; implemented missing property
  6632. * DateTimePicker.cs: Added missing attributes
  6633. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  6634. * MonthCalendar.cs: Fixed attributes
  6635. * StatusBarPanel.cs: Added missing attributes
  6636. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  6637. 2005-02-16 Peter Bartok <[email protected]>
  6638. * TextBoxBase.cs: The previous method to enforce height yet remember
  6639. the requested high was less than ideal, this is an attempt to do
  6640. it better.
  6641. * Control.cs: Added comment about possible problem
  6642. * Copyright: Updated format
  6643. * GridItemType.cs: Fixed swapped values
  6644. 2005-02-15 Jackson Harper <[email protected]>
  6645. * BaseCollection.cs: Use property so we never access an
  6646. uninitialized list. Also initialize the list in the property.
  6647. 2005-02-15 Peter Bartok <[email protected]>
  6648. * GroupBox.cs (ProcessMnemonic): Implemented
  6649. * Label.cs (ProcessMnemonic): Implemented
  6650. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  6651. hotkeys
  6652. 2005-02-15 Peter Bartok <[email protected]>
  6653. * RadioButton.cs (ProcessMnemonic): Implemented
  6654. * CheckBox.cs (ProcessMnemonic): Implemented
  6655. * Control.cs:
  6656. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  6657. handling
  6658. - Added internal method to allow calling ProcessMnemonic from other
  6659. controls
  6660. * ContainerControl.cs:
  6661. - Started support for handling validation chain handling
  6662. - Implemented ProcessMnemonic support
  6663. - Added Select() call to Active, to make sure the active control
  6664. receives focus
  6665. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  6666. FormParent rewrite)
  6667. * ThemeWin32Classic.cs:
  6668. - DrawCheckBox(): Fixed stringformat to show hotkeys
  6669. - DrawRadioButton(): Fixed stringformat to show hotkeys
  6670. * CommonDialog.cs: Removed WndProc override, not needed
  6671. 2005-02-14 Peter Bartok <[email protected]>
  6672. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  6673. missed those in the rewrite
  6674. 2005-02-14 Miguel de Icaza <[email protected]>
  6675. * NumericUpDown.cs (Increment, ToString): Add.
  6676. (DecimalPlaces): implement.
  6677. Add attributes.
  6678. * UpDownBase.cs: Add the designer attributes.
  6679. 2005-02-13 Peter Bartok <[email protected]>
  6680. * Panel.cs: Removed border_style, now in Control
  6681. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  6682. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  6683. 2005-02-13 Peter Bartok <[email protected]>
  6684. * MouseButtons.cs: Added missing attributes
  6685. * XplatUIStructs.cs: Added enumeration for title styles
  6686. * LeftRightAlignment.cs: Added missing attributes
  6687. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  6688. it compatible with Graphics.FromHwnd()
  6689. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  6690. * Keys.cs: Added missing attributes
  6691. * SelectionRange.cs: Added missing attributes
  6692. * SelectionRangeConverter.cs: Added
  6693. * XplatUI.cs:
  6694. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  6695. ReleaseMenuDC methods
  6696. - Renamed ReleaseWindow to UngrabWindow
  6697. - Added proper startup notice to allow version identification
  6698. * Form.cs:
  6699. - Added missing attributes
  6700. - Removed FormParent concept
  6701. * Label.cs: Removed border_style field, now in Control
  6702. * RadioButton.cs: Now properly selects RadioButton when focus is
  6703. received
  6704. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  6705. * Control.cs:
  6706. - Added missing attributes
  6707. - Added borderstyle handling
  6708. - Removed FormParent concept support
  6709. - Fixed calls to XplatUI to match changed APIs
  6710. - Fixed bug that would case us to use disposed Graphics objects
  6711. - Removed unneeded internal methods
  6712. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  6713. - SelectNextControl(): Fixed to properly check common parents
  6714. * TextBoxBase.cs: Removed border_style field (now in Control)
  6715. * MessageBox.cs:
  6716. - Patch by Robert Thompson ([email protected]): Added icon support,
  6717. fixed calculations for form size
  6718. - Added support for localized strings and icons
  6719. - Improved form size calculations, added border
  6720. * ListView.cs: Removed border_style field (now in Control)
  6721. * X11Structs.cs: Moved several structs from X11 driver here
  6722. * X11Keyboard.cs: Changed debug message
  6723. * Application.cs: Removed FormParent concept support
  6724. * CommonDialog.cs:
  6725. - Resetting end_modal flag
  6726. - Removed FormParent concept support
  6727. * NativeWindow.cs: Removed FormParent concept support
  6728. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  6729. Client area and Non-Client whole window to allow support for WM_NC
  6730. messages
  6731. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  6732. prevent using it until it supports Hwnd as per Geoff Norton's request
  6733. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  6734. * PictureBox.cs: Removed border_style field, now in Control
  6735. * XplatUIWin32.cs: Added new driver methods
  6736. 2005-02-12 Peter Bartok <[email protected]>
  6737. * OpacityConverter.cs: Implemented
  6738. * Hwnd.cs: Internal class to support drivers that need to emulate
  6739. client area/non-client area window behaviour
  6740. 2005-02-11 Peter Bartok <[email protected]>
  6741. * KeysConverter.cs: Implemented
  6742. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  6743. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  6744. * LinkLabel: Added missing attributes
  6745. * MainMenu.cs: fixes ToString
  6746. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  6747. * ListBox.cs: fixes event position
  6748. * TrackBar.cs: adds missing attributes and events
  6749. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  6750. * MenuItem.cs: Use SystemInformation and bug fixes
  6751. * MenuAPI.cs: Use SystemInformation and bug fixes
  6752. 2005-02-09 Jackson Harper <[email protected]>
  6753. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  6754. their keystate otherwise things like VK_MENU get stuck "on".
  6755. 2005-02-09 Kazuki Oikawa <[email protected]>
  6756. * ListBox.cs: Fixes AddRange bug
  6757. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  6758. * ProgressBar.cs
  6759. - Add missing attributes
  6760. - Add missing method
  6761. * CheckedListBox.cs: Added missing attributes
  6762. - Add missing attributes
  6763. - Remove extra method
  6764. * ComboBox.cs: Added missing attributes
  6765. * VScrollBar.cs: Added missing attributes
  6766. * ScrollBar.cs: Added missing attributes
  6767. * ListBox.cs: Fixes signature, add missing consts
  6768. * LinkArea.cs: Added missing attributes
  6769. 2005-02-08 Peter Bartok <[email protected]>
  6770. * Menu.cs: Added missing attributes
  6771. * MainMenu.cs: Added missing attributes
  6772. * GroupBox.cs: Added missing attributes
  6773. * Label.cs: Added missing attributes
  6774. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  6775. * ColorDialog.cs:
  6776. - Added Instance and Options properties
  6777. - Added missing attributes
  6778. * Cursor.cs: Made Serializable
  6779. * NotifyIcon: Added missing attributes
  6780. * MenuItem.cs: Added missing attributes
  6781. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  6782. * Panel.cs: Added Missing attributes
  6783. * MonthCalendar.cs: Fixed CreateParams
  6784. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  6785. * LinkLabel.cs:
  6786. - Fixes signature
  6787. - Fixes issues with links
  6788. - Adds the class attributes
  6789. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  6790. * ComboBox.cs:
  6791. - Fixes button when no items available in dropdown
  6792. - Fixes repainting problems
  6793. - Adds the class attributes
  6794. 2005-02-07 Geoff Norton <[email protected]>
  6795. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  6796. the current theme. Cache these on startup.
  6797. 2005-02-07 Jackson Harper <[email protected]>
  6798. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  6799. the scrollbar buttons when they are depressed.
  6800. 2005-02-07 Geoff Norton <[email protected]>
  6801. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  6802. Get the display size from the main displayid. We currently dont
  6803. support multiple display configurations.
  6804. 2005-02-07 Geoff Norton <[email protected]>
  6805. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  6806. 2005-02-07 Miguel de Icaza <[email protected]>
  6807. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  6808. 2005-02-05 Jonathan Chambers <[email protected]>
  6809. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  6810. 2005-02-04 Jackson Harper <[email protected]>
  6811. * ThemeWin32Classic.cs: Respect the clipping rect when
  6812. drawing. Only fill the intersection of clips and rects so there
  6813. isn't a lot of large fills.
  6814. * ScrollBar.cs: Pass the correct clipping rect to the theme
  6815. engine. Remove some debug code.
  6816. 2005-02-05 John BouAntoun <[email protected]>
  6817. * DateTimePicker.cs:
  6818. - Fixed crash on DateTime.Parse, use Constructor instead
  6819. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  6820. * MenuItem.cs:
  6821. * MenuAPI.cs:
  6822. - Owner draw support (MeasureItem and DrawItem)
  6823. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  6824. * Menu.cs:
  6825. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  6826. - Fixes MenuItems.Add range
  6827. * MenuItem.cs:
  6828. - MergeMenu and Clone and CloneMenu functions
  6829. 2005-02-03 Jackson Harper <[email protected]>
  6830. * ScrollBar.cs: Make abstract
  6831. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  6832. is abstract.
  6833. 2005-02-03 Jackson Harper <[email protected]>
  6834. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  6835. all the unneeded refreshes and uses invalidates with properly
  6836. computed rects.
  6837. 2005-02-03 Peter Bartok <[email protected]>
  6838. * ComponentModel.cs: Added
  6839. * IDataGridEditingService.cs: Added
  6840. * Timer.cs: Added missing attributes
  6841. * ToolTip.cs: Added missing attributes
  6842. 2005-02-03 Jonathan Chambers <[email protected]>
  6843. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  6844. 2005-02-03 Peter Bartok <[email protected]>
  6845. * ListBox.cs: Added missing attributes
  6846. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  6847. * ListBox.cs:
  6848. - Fixes font height after font change
  6849. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  6850. 2005-02-02 Peter Bartok <[email protected]>
  6851. * HandleData.cs: Introduced static methods to allow class
  6852. to be more self-contained and track it's own HandleData objects
  6853. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  6854. HandleData to use new static methods
  6855. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  6856. * Combobox.cs:
  6857. - Fixes default size and PreferredHeight
  6858. - Missing events
  6859. - ObjectCollection.Insert implementation
  6860. * ListControl.cs
  6861. - Fixes signature
  6862. * ListBox.cs:
  6863. - Several fixes
  6864. - ObjectCollection.Insert implementation
  6865. - No selection after clean
  6866. - Small fixes
  6867. 2005-01-31 John BouAntoun <[email protected]>
  6868. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  6869. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  6870. * Combobox.cs:
  6871. - Caches ItemHeight calculation for OwnerDrawVariable
  6872. - Handles dropdown properly
  6873. - Fixes several minor bugs
  6874. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  6875. * ListBox.cs:
  6876. - Fixes 71946 and 71950
  6877. - Fixes changing Multicolumn on the fly
  6878. - Fixes keyboard navigation on Multicolumn listboxes
  6879. 2005-01-31 Geoff Norton <[email protected]>
  6880. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  6881. crash reporter log.
  6882. 2005-01-31 Geoff Norton <[email protected]>
  6883. * XplatUIOSX.cs: Allow applications to actually exit.
  6884. 2005-01-31 Geoff Norton <[email protected]>
  6885. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  6886. their parent at creation time rather than lazily later. Fixes a major
  6887. regression we were experiencing.
  6888. 2005-01-31 John BouAntoun <[email protected]>
  6889. * ThemeWin32Classic.cs: more date time picker painting fixes
  6890. * DateTimePicker.cs: more monthcalendar drop down fixes
  6891. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  6892. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  6893. * ScrollBar.cs:
  6894. - When moving the thumb going outside the control should stop the moving
  6895. - Adds the firing of missing events
  6896. - Fixes no button show if Size is not specified
  6897. - End / Home keys for keyboard navigation
  6898. 2005-01-30 Peter Bartok <[email protected]>
  6899. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  6900. sanity check to prevent theoretical loop
  6901. * XplatUIWin32.cs (SetVisible): Removed debug output
  6902. * XplatUIX11.cs (SystrayChange): Added sanity check
  6903. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  6904. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  6905. behaviour, valid until the X11 client window rewrite is done
  6906. * TextBox.cs (ctor): Setting proper default foreground and background
  6907. colors
  6908. 2005-01-30 John BouAntoun <[email protected]>
  6909. * Theme: Added DrawDateTimePicker to interface
  6910. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  6911. * DateTimePicker.cs: Created (still needs keys and painting code)
  6912. * DateTimePickerFormat.cs: added
  6913. * MonthCalendar.cs: fixed CreateParams for popup window mode
  6914. 2005-01-29 Peter Bartok <[email protected]>
  6915. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  6916. this should also the calculations for ligher/darker
  6917. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  6918. 2005-01-29 Peter Bartok <[email protected]>
  6919. * ArrangeDirection.cs: Added
  6920. * ArrangeStartingPositon.cs: Added
  6921. * SystemInformation.cs: Implemented
  6922. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  6923. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  6924. used by SystemInformation class
  6925. * X11Strucs.cs: Added XSizeHints structure
  6926. * MenuAPI.cs:
  6927. - Fixed CreateParams to make sure the menu window is always visible
  6928. - TrackPopupMenu: Added check to make sure we don't draw the
  6929. menu offscreen
  6930. 2005-01-29 Peter Bartok <[email protected]>
  6931. * HandleData.cs: Added method for altering invalid area
  6932. * TextBoxBase.cs: Implemented TextLength
  6933. 2005-01-28 Peter Bartok <[email protected]>
  6934. * XplatUIX11.cs: Improvement over last patch, not sending
  6935. the WM_PAINT directly anymore, instead we scroll any pending
  6936. exposed areas and let the system pick out the WM_PAINT later
  6937. 2005-01-28 Peter Bartok <[email protected]>
  6938. * SWF.csproj: Deleted, no longer used. Instead,
  6939. Managed.Windows.Forms/SWF.csproj should be used
  6940. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  6941. directly, to avoid a potential race condition with the next
  6942. scroll
  6943. 2005-01-28 Peter Bartok <[email protected]>
  6944. * XplatUI.cs: Made class internal
  6945. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  6946. * CheckedListBox.cs:
  6947. - Draw focus
  6948. - Fixed Drawing
  6949. - Missing methods and events
  6950. 2005-01-27 Peter Bartok <[email protected]>
  6951. * Application.cs (Run): Don't use form if we don't have one
  6952. 2005-01-27 Peter Bartok <[email protected]>
  6953. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  6954. 2005-01-27 Peter Bartok <[email protected]>
  6955. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  6956. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  6957. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  6958. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  6959. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  6960. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  6961. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  6962. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  6963. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  6964. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  6965. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  6966. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  6967. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  6968. * Combobox.cs:
  6969. - Draw focus on Simple Combobox
  6970. - Fixes drawing issues
  6971. - fixes 71834
  6972. 2005-01-27 Peter Bartok <[email protected]>
  6973. * Form.cs:
  6974. - Place window in default location, instead of hardcoded 0/0
  6975. - Send initial LocationChanged event
  6976. * Control.cs:
  6977. - UpdateBounds after creation to find out where the WM placed us
  6978. - Make sure that if the ParentForm changes location the Form
  6979. is notified
  6980. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  6981. to the root, but to whatever the WM placed around us.
  6982. Translate to root coordinates before returning toplevel
  6983. coordinates
  6984. * XplatUIWin32.cs: Removed debug output
  6985. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  6986. flag to GetWindowPos, to allow translation of coordinates on X11
  6987. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  6988. * ListBox.cs: connect LostFocus Event
  6989. 2005-01-27 Peter Bartok <[email protected]>
  6990. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  6991. XplatUIX11.cs: Extended the Systray API
  6992. * Form.cs: Removed debug output
  6993. * Application.cs: Fixed focus assignment, always need to call
  6994. XplatUI.Activate() since Form.Activate() has rules that may
  6995. prevent activation
  6996. * NotifyIcon.cs: Should be complete now
  6997. * ToolTip.cs: Worked around possible timer bug
  6998. 2005-01-27 Jackson Harper <[email protected]>
  6999. * TabControl.cs:
  7000. - Only invalidate the effected tabs when the
  7001. selected index changes. This reduces drawing and gets rid of some
  7002. flicker.
  7003. - Only refresh if the tabs need to be shifted, otherwise only
  7004. invalidate the slider button.
  7005. - On windows the tabs are not filled to right if the slider is
  7006. visible.
  7007. 2005-01-27 Jackson Harper <[email protected]>
  7008. * TabControl.cs: Only refresh on mouseup if we are showing the
  7009. slider. Also only invalidate the button whose state has changed.
  7010. 2005-01-26 Peter Bartok <[email protected]>
  7011. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  7012. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  7013. and SystrayRemove() methods
  7014. * XplatUIOSX.cs: Stubbed Systray methods
  7015. * XplatUIX11.cs:
  7016. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  7017. methods
  7018. - Fixed broken XChangeProperty calls (marshalling messed up things)
  7019. * X11Structs.cs: Added enums and structs required for Size hinting
  7020. * NotifyIcon.cs: Added & implemented
  7021. 2005-01-26 Jackson Harper <[email protected]>
  7022. * TabControl.cs: Space vertically layed out tabs properly.
  7023. 2005-01-26 Peter Bartok <[email protected]>
  7024. * Form.cs (CreateClientParams): Always set the location to 0,0
  7025. since we're a child window.
  7026. * Control.cs (SetVisibleCore): Always explicitly setting the location
  7027. of a toplevel window, apparently X11 doesn't like to move windows
  7028. while they're not mapped.
  7029. 2005-01-26 Jackson Harper <[email protected]>
  7030. * TabControl.cs: Implement FillToRight size mode with vertically
  7031. rendered tabs.
  7032. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  7033. * ControlPaint.cs, ThemeWin32Classic.cs
  7034. - Fixes DrawFocusRectangle
  7035. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  7036. * MenuAPI.cs:
  7037. - MenuBar tracking only starts when item is first clicked
  7038. - Fixes menu hidding for multiple subitems
  7039. - Unselect item in MenuBar when item Executed
  7040. - Fixes bug 71495
  7041. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  7042. * ListControl.cs:
  7043. - IsInputKey for ListBox
  7044. * ListBox.cs:
  7045. - Focus item
  7046. - Shift and Control item selection
  7047. - Implement SelectionMode.MultiExtended
  7048. - Fixes RightToLeft
  7049. * ComboBox.cs:
  7050. - IsInputKey implemented
  7051. - Do not generate OnTextChangedEdit on internal txt changes
  7052. 2005-01-23 Peter Bartok <[email protected]>
  7053. * AccessibleObject.cs: Partially implemented Select()
  7054. * MonthCalendar.cs: Added missing attributes and events
  7055. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  7056. form can properly override CreateParams.
  7057. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  7058. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  7059. Control performs Invalidate & Update
  7060. * NativeWindow (CreateHandle): Added special handling for Form
  7061. and Form.FormParent classes to allow overriding of From.CreateParams
  7062. * Control.cs:
  7063. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  7064. name 'owner'
  7065. - ControlNativeWindow: Added Owner property
  7066. - Removed usage of Refresh() on property changes, changed into
  7067. Invalidate(), we need to wait until the queue is processed for
  7068. updates, direct calls might cause problems if not all vars for
  7069. Paint are initialized
  7070. - Added call to UpdateStyles() when creating the window, to set any
  7071. styles that CreateWindow might have ignored.
  7072. - Added support for Form CreateParent overrides to UpdateStyles()
  7073. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  7074. CreateParams are now properly overridable
  7075. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  7076. CreateParams are now properly overridable
  7077. 2005-01-23 Miguel de Icaza <[email protected]>
  7078. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  7079. OnTextBoxChanged.
  7080. Capture LostFocus and OnTextBoxChanged. The later introduces a
  7081. recursive invocation that I have not figured out yet.
  7082. Reset the timer when not using (it was accumulating).
  7083. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  7084. user has made changes that require validation.
  7085. Reset changing to avoid loops.
  7086. 2005-01-22 Miguel de Icaza <[email protected]>
  7087. * NumericUpDown.cs: Display value at startup.
  7088. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  7089. ValidateEditText.
  7090. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  7091. filled in. Added some basic parsing of text.
  7092. Still missing the OnXXX method overrides, and figuring out the
  7093. events that must be emitted.
  7094. * UpDownBase.cs: Handle UserEdit on the Text property.
  7095. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  7096. * ComboBox.cs:
  7097. - Fixes IntegralHeight
  7098. - ToString method
  7099. 2005-01-21 Jackson Harper <[email protected]>
  7100. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  7101. is set so that the page visibility is updated and the tabs are
  7102. sized correctly.
  7103. 2005-01-21 Jackson Harper <[email protected]>
  7104. * TabControl.cs: Use cliping rectangle for blitting. Give the
  7105. theme the clipping rect so we can do clipping while
  7106. drawing. Remove some debug code.
  7107. 2005-01-21 Jackson Harper <[email protected]>
  7108. * TabPage.cs: Add a new method so tab pages can force the tab
  7109. control to recalculate the tab page sizes.
  7110. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  7111. sizes.
  7112. 2005-01-20 Jackson Harper <[email protected]>
  7113. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  7114. 2005-01-20 Jackson Harper <[email protected]>
  7115. * TreeView.cs: Set the bounds for nodes properly. They were
  7116. getting screwed up when checkboxes were not enabled, but images
  7117. were.
  7118. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  7119. * ListBox.cs:
  7120. - Owner draw support
  7121. - Fixes
  7122. 2005-01-20 Jackson Harper <[email protected]>
  7123. * XplatUIStructs.cs: More misc keys
  7124. * X11Keyboard.cs: Ignore some control keys.
  7125. 2005-01-20 Jackson Harper <[email protected]>
  7126. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  7127. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  7128. 2005-01-19 Peter Bartok <[email protected]>
  7129. * Control.cs: Un-selecting the control when it is loosing focus
  7130. 2005-01-19 Jackson Harper <[email protected]>
  7131. * TreeView.cs: Hook up to the text controls leave event so we can
  7132. end editing when the users clicks outside the text box.
  7133. 2005-01-19 Jackson Harper <[email protected]>
  7134. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  7135. get set in the conversion array.
  7136. 2005-01-19 Peter Bartok <[email protected]>
  7137. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  7138. focus is properly set
  7139. * Button.cs:
  7140. - Added missing attributes
  7141. - removed styles, those are already set in the base class
  7142. * ButtonBase.cs:
  7143. - Added missing attributes
  7144. - Added clip window styles
  7145. * CheckBox.cs: Added missing attributes
  7146. * CommonDialog.cs:
  7147. - FormParentWindow.CreateParams: Added required clip styles
  7148. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  7149. also filters modifier keys
  7150. * MessageBox.cs:
  7151. - Added assignment of Accept and Cancel button to enable Enter
  7152. and Esc keys in MessageBox dialogs
  7153. - FormParentWindow.CreateParams: Added required clip styles
  7154. * RadioButton.cs: Added missing attributes
  7155. * TextControl.cs: No longer draws selection if control does not
  7156. have focus
  7157. * TextBoxBase.cs:
  7158. - Now draws simple rectangle around test area to make it obvious
  7159. there's a control. This is a hack until we properly support borders
  7160. - A few simple fixes to support selections better, now erases selected
  7161. text when typing, and resets selection when using movement keys
  7162. 2005-01-19 Miguel de Icaza <[email protected]>
  7163. * UpDownBase.cs: Added some new properties.
  7164. * DomainUpDown.cs: Implement a lot to get my test working.
  7165. 2005-01-19 Geoff Norton <[email protected]>
  7166. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  7167. 2005-01-19 Geoff Norton <[email protected]>
  7168. * OSXStructs (WindowAttributes): Fixed csc complaints
  7169. 2005-01-19 Geoff Norton <[email protected]>
  7170. * XplayUIOSX.cs:
  7171. OSXStructs.cs: Initial refactor to move enums and consts into
  7172. OSXStructs and use them in the driver for greater readability.
  7173. 2005-01-19 Geoff Norton <[email protected]>
  7174. * XplatUIOSX.cs: Initial support for Standard Cursors.
  7175. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  7176. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  7177. * ComboBox.cs: ability to change style when the ctrl is already
  7178. created, missing methods and events, bug fixes, signature fixes
  7179. 2005-01-19 Peter Bartok <[email protected]>
  7180. * Cursors.cs (ctor): Added ctor to fix signature
  7181. 2005-01-18 Peter Bartok <[email protected]>
  7182. * Button.cs: Implemented DoubleClick event
  7183. * ButtonBase.cs:
  7184. - Fixed keyboard handling to behave like MS, where the press of
  7185. Spacebar is equivalent to a mousedown, and the key release is
  7186. equivalent to mouseup. Now a spacebar push will give the same
  7187. visual feedback like a mouse click.
  7188. - Added missing attributes
  7189. - Added ImeModeChanged event
  7190. - Added support for generating DoubleClick event for derived classes
  7191. * CheckBox.cs:
  7192. - Implemented DoubleClick event
  7193. - Added missing attributes
  7194. * CommonDialog.cs: Added missing attribute
  7195. * ContextMenu.cs: Added missing attributes
  7196. * RadioButton.cs:
  7197. - AutoChecked buttons do not allow to be unselected when clicked
  7198. (otherwise we might end up with no selected buttons in a group)
  7199. - Added missing attributes
  7200. - Implemented DoubleClickEvent
  7201. * ThreadExceptionDialog.cs: Enabled TextBox code
  7202. 2005-01-18 Peter Bartok <[email protected]>
  7203. * Form.cs: Removed debug output
  7204. * Button.cs: Added support for DoubleClick method
  7205. 2005-01-18 Peter Bartok <[email protected]>
  7206. * Form.cs:
  7207. - Added method to parent window that allows triggering size
  7208. calculations when a menu is added/removed
  7209. - set_Menu: Cleaned up mess from early days of Form and Control,
  7210. now properly triggers a recalc when a menu is added/removed
  7211. - Added case to select form itself as focused form if no child
  7212. controls exist
  7213. - Added PerformLayout call when showing dialog, to ensure properly
  7214. placed controls
  7215. * Control.cs:
  7216. - Select(): Made internal so Form can access it
  7217. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  7218. status
  7219. * Application.cs (Run): Removed hack and calls PerformLayout instead
  7220. to trigger calculation when Form becomes visible
  7221. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  7222. * ComboBox.cs: fixes for ownerdraw
  7223. 2005-01-18 Peter Bartok <[email protected]>
  7224. * TextControl.cs:
  7225. - Sentinel is no longer static, each Document gets it's own, this
  7226. avoids locking or alternatively overwrite problems when more
  7227. than one text control is used simultaneously.
  7228. - Switched to use Hilight and HilightText brushes for text selection
  7229. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  7230. 2005-01-18 Peter Bartok <[email protected]>
  7231. * Control.cs:
  7232. - Hooked up the following events:
  7233. o ControlAdded
  7234. o ControlRemoved
  7235. o HandleDestroyed
  7236. o ImeModeChanged
  7237. o ParentChanged
  7238. o TabStopChanged
  7239. o Invalidated
  7240. o SystemColorsChanged
  7241. o ParentFontChanged
  7242. o Move
  7243. - Removed debug output
  7244. - Added a call to the current theme's ResetDefaults when a color change
  7245. is detected
  7246. * Form.cs: Now setting the proper ImeMode
  7247. * Theme.cs: Defined a method to force recreation of cached resources
  7248. and rereading of system defaults (ResetDefaults())
  7249. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  7250. 2005-01-17 Peter Bartok <[email protected]>
  7251. * Control.cs: Added missing attributes
  7252. 2005-01-17 Jackson Harper <[email protected]>
  7253. * TreeNode.cs: Implement editing. Add missing properties selected
  7254. and visible.
  7255. * TreeView.cs: Implement node editing. Also some fixes to use
  7256. Invalidate (invalid area) instead of Refresh when selecting.
  7257. 2005-01-17 Peter Bartok <[email protected]>
  7258. * Control.cs:
  7259. - Implemented InvokeGotFocus() method
  7260. - Implemented InvokeLostFocus() method
  7261. - Implemented InvokePaint() method
  7262. - Implemented InvokePaintBackground() method
  7263. - Implemented InvokeClick() method
  7264. - Implemented FindForm() method
  7265. - Implemented RectangleToClient() method
  7266. - Implemented ClientToRectangle() method
  7267. - Implemented ResetBackColor() method
  7268. - Implemented ResetCursor() method
  7269. - Implemented ResetFont() method
  7270. - Implemented ResteForeColor() method
  7271. - Implemented ResetImeMode() method
  7272. - Implemented ResetLeftToRight() method
  7273. - Implemented ResetText() method
  7274. - Implemented Scale() methods
  7275. - Implemented ScaleCore() method
  7276. - Implemented Update() method
  7277. - Removed unused variables
  7278. - Stubbed AccessibilityNotifyClients and
  7279. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  7280. with those yet)
  7281. - Now setting proper default for RightToLeft property
  7282. - Fixed bug in SetClientSizeCore that would cause windows to get
  7283. really big
  7284. - Now sending Click/DoubleClick events
  7285. - Now selecting controls when left mouse button is clicked on
  7286. selectable control
  7287. * AccessibleEvents.cs: Added
  7288. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  7289. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  7290. * XplatUIWin32.cs: Implemented UpdateWindow() method
  7291. * XplatUIX11.cs: Implemented UpdateWindow() method
  7292. * Form.cs: Removed stray semicolon causing CS0162 warning
  7293. * ThemeWin32Classic.cs: Fixed unused variable warnings
  7294. * ScrollableControl.cs: Now calls base method for ScaleCore
  7295. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  7296. style to avoid interference with internal click handler (which is
  7297. different than standard Control click handling)
  7298. * RadioButton.cs:
  7299. - Now unchecks all sibling radio buttons when control is
  7300. selected (Fixes #68756)
  7301. - Removed internal tabstop variable, using the one inherited from
  7302. Control
  7303. 2005-01-17 Jackson Harper <[email protected]>
  7304. * NavigateEventArgs.cs: Fix base type.
  7305. * LinkLabel.cs: Sig fix
  7306. 2005-01-17 Jackson Harper <[email protected]>
  7307. * TreeView.cs: Only invalidate the effected nodes bounds when
  7308. selecting nodes.
  7309. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  7310. * XplatUIWin32.cs: fixes Win32 marshaling
  7311. * XplatUIX11.cs: fixes method signature
  7312. 2005-01-17 Peter Bartok <[email protected]>
  7313. * XplatUIX11.cs: Clean up resources when we no longer need them
  7314. 2005-01-17 Peter Bartok <[email protected]>
  7315. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  7316. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  7317. and DestroyCursor() methods.
  7318. * Cursor.cs: Partially implemented, now supports standard cursors;
  7319. still contains some debug code
  7320. * Cursors.cs: Implemented class
  7321. * Control.cs:
  7322. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  7323. appropriate cursor
  7324. - Implemented Cursor property
  7325. - Replaced break; with return; more straightforwar and possibly
  7326. faster
  7327. - Now properly setting the result for WM_HELP
  7328. * X11Structs.cs: Added CursorFontShape enum
  7329. * XplatUIStructs.cs:
  7330. - Added StdCursor enum (to support DefineStdCursor() method)
  7331. - Added HitTest enum (to support sending WM_SETCURSOR message)
  7332. * XplatUIX11.cs:
  7333. - Now sends the WM_SETCURSOR message
  7334. - Implemented new cursor methods
  7335. * XplatUIOSX.cs: Stubbed new cursor methods
  7336. * XplatUIWin32.cs:
  7337. - Implemented new cursor methods
  7338. - Added GetSystemMetrics function and associated enumeration
  7339. 2005-01-15 Peter Bartok <[email protected]>
  7340. * Control.cs:
  7341. - WndProc(): Now handles EnableNotifyMessage
  7342. - SelectNextControl(): Fixed bug where if no child or sibling
  7343. controls exist we looped endlessly
  7344. 2005-01-14 Jackson Harper <[email protected]>
  7345. * TreeView.cs: Recalculate the tab pages when a new one is added
  7346. so that the proper bounding rects are created.
  7347. 2005-01-14 Jackson Harper <[email protected]>
  7348. * TreeView.cs: Draw a gray box instead of a grip in the lower
  7349. right hand corner when there are both horizontal and vertical
  7350. scroll bars.
  7351. 2005-01-14 Jackson Harper <[email protected]>
  7352. * Control.cs: When erasing backgrounds use FromHwnd instead of
  7353. FromHdc when there is a NULL wparam. This occurs on the X driver.
  7354. * XplatUIX11.cs: Set the wparam to NULL.
  7355. 2005-01-13 Jackson Harper <[email protected]>
  7356. * PictureBox.cs: Implement missing methods (except ToString, need
  7357. to test that on windows) and events. When visibility is changed we
  7358. need to redraw the image because the buffers are killed. When size
  7359. is changed refresh if the sizemode needs it.
  7360. 2005-01-13 Peter Bartok <[email protected]>
  7361. * Control.cs (SelectNextControl): Was using wrong method to select
  7362. a control
  7363. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  7364. * ComboBox.cs: fixes dropstyle
  7365. 2005-01-13 Peter Bartok <[email protected]>
  7366. * Form.cs:
  7367. - Implemented Select() override
  7368. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  7369. - Now sets keyboard focus on startup
  7370. * Control.cs (SelectNextControl): Now properly handles directed=true
  7371. * TextBoxBase.cs:
  7372. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  7373. - Added (really bad) focus rectangle (mostly for testing)
  7374. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  7375. to enforce redraw on focus changes
  7376. * ContainerControl.cs:
  7377. - Fixed detection of Shift-Tab key presses
  7378. - Fixed traversal with arrow keys
  7379. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  7380. gonna keep this or if it's complete yet
  7381. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  7382. * ComboBox.cs: missing properties, fixes
  7383. 2005-01-13 Peter Bartok <[email protected]>
  7384. * Panel.cs (ctor): Setting Selectable window style to off
  7385. * Splitter.cs (ctor): Setting Selectable window style to off
  7386. * GroupBox.cs (ctor): Setting Selectable window style to off
  7387. * Label.cs (ctor): Setting Selectable window style to off
  7388. 2005-01-12 Miguel de Icaza <[email protected]>
  7389. * UpDownBase.cs (InitTimer): If the timer has been already
  7390. created, enable it.
  7391. Use a TextBox instead of a Label.
  7392. 2005-01-12 Jackson Harper <[email protected]>
  7393. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  7394. draw the connecting node lines (when ShowLines is true).
  7395. * TreeNode.cs: The nodes index can now be updated. This is used
  7396. when a node collection is sorted.
  7397. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  7398. insert or an existing unsorted node collection can be sorted.
  7399. 2005-01-12 Peter Bartok <[email protected]>
  7400. * ContainerControl.cs: Implemented ProcessDialogKeys()
  7401. 2005-01-12 Peter Bartok <[email protected]>
  7402. * Control.cs:
  7403. - Implemented SelectNextControl() method
  7404. - Several focus related bug fixes
  7405. - Fixed Docking calculations to match MS documentation and
  7406. behaviour
  7407. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  7408. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  7409. bug fixes
  7410. 2005-01-12 Peter Bartok <[email protected]>
  7411. * Control.cs:
  7412. - Fixed broken Contains() method
  7413. - Implemented GetNextControl() method. Finally. This is the pre-
  7414. requisite for focus handling.
  7415. 2005-01-12 Peter Bartok <[email protected]>
  7416. * OSXStrucs.cs: Added
  7417. 2005-01-12 Peter Bartok <[email protected]>
  7418. * XplatUIWin32.cs:
  7419. - Removed PeekMessageFlags
  7420. - Implemented SetWindowStyle() method
  7421. * XplatUIStructs.cs: Added PeekMessageFlags
  7422. * X11Structs: Added missing border_width field to XWindowChanges struct
  7423. * XplatUIX11.cs:
  7424. - PeekMessage: Now throws exception if flags which are not yet
  7425. supported are passed
  7426. - Implemented SetWindowStyle() method
  7427. - Fixed SetZOrder to handle AfterHwnd properly
  7428. * XplatUI.cs: Added SetWindowStyle() method
  7429. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  7430. * Control.cs:
  7431. - Implemented UpdateStyles() method
  7432. - Implemented UpdateZOrder() method
  7433. * XplatUIOSX.cs: Added SetWindowStyle() stub
  7434. 2005-01-12 Geoff Norton <[email protected]>
  7435. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  7436. button mouse).
  7437. 2005-01-11 Jackson Harper <[email protected]>
  7438. * TreeView.cs: Still need to draw lines to siblings even if out of
  7439. the current node is out of the clip.
  7440. 2005-01-11 Jackson Harper <[email protected]>
  7441. * TreeView.cs: When setting the hbar/vbar/grip position use
  7442. SetBounds so that perform layout is only called once. Also suspend
  7443. and resume layout so layout is only done once for all controls.
  7444. - Removed some debug fluff
  7445. * SizeGrip.cs: Call base implmentation in overriding methods.
  7446. - When visibility is changed the drawing buffers are killed so we
  7447. need to redraw.
  7448. 2005-01-11 Jackson Harper <[email protected]>
  7449. * TreeView.cs: Calculate the open node count while drawing. This
  7450. saves us an entire tree traversal for every paint operation. Use
  7451. a member var for the open node count so less vars are passed around.
  7452. 2005-01-11 John BouAntoun <[email protected]>
  7453. * MonthCalendar.cs:
  7454. - fixed selection to use mousemove, not mouse polling on timer
  7455. * ThemeWin32Classic.cs
  7456. - removed redundant unused variable "no_more_content"
  7457. 2005-01-11 Peter Bartok <[email protected]>
  7458. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  7459. are pending, so it now calls PeekMessage instead of GetMessage;
  7460. implemented a incomplete version of PeekMessage
  7461. 2005-01-11 Peter Bartok <[email protected]>
  7462. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  7463. I18n issues
  7464. * TextBoxBase.cs: Added sending of TextChanged event
  7465. 2005-01-10 Jackson Harper <[email protected]>
  7466. * TreeView.cs: Try not to draw outside the clipping rectangle on
  7467. each node element.
  7468. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  7469. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  7470. 2005-01-10 Jackson Harper <[email protected]>
  7471. * TreeView.cs:
  7472. - Implement fast scrolling. Now only the newly
  7473. exposed nodes are drawn and the old image is moved using the
  7474. XplatUI::ScrollWindow method.
  7475. - Factor in height of nodes when calculating whether or not the
  7476. node is in the clipping rect.
  7477. 2005-01-10 Jackson Harper <[email protected]>
  7478. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  7479. 2005-01-10 Peter Bartok <[email protected]>
  7480. * Application.cs: Added temporary hack to resolve all our resize
  7481. required issues on startup. This will get fixed properly at
  7482. some point in the future
  7483. 2005-01-10 Jackson Harper <[email protected]>
  7484. * SizeGrip.cs: New internal class that is used as a sizing
  7485. grip control...hence the name.
  7486. 2005-01-10 Peter Bartok <[email protected]>
  7487. * Control.cs: Implemented proper TabIndex handling, now assigning
  7488. a tabindex when a control is added to a container
  7489. * GroupBox.cs (ctor): Now sets the Container style bit, required
  7490. for Control.GetNextControl()
  7491. 2005-01-09 Jackson Harper <[email protected]>
  7492. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  7493. 2005-01-09 Peter Bartok <[email protected]>
  7494. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  7495. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  7496. an overload for ScrollWindow to allow only scrolling a rectangle
  7497. 2005-01-09 Peter Bartok <[email protected]>
  7498. * Form.cs:
  7499. - Implemented SetDesktopBounds method
  7500. - Implemented SetDesktopLocation method
  7501. 2005-01-08 Jackson Harper <[email protected]>
  7502. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  7503. the node count has changed, this removes to VScroll::Refresh calls
  7504. when drawing.
  7505. 2005-01-08 Geoff Norton <[email protected]>
  7506. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  7507. 2005-01-07 Jackson Harper <[email protected]>
  7508. * TreeNode.cs: Just update the single node when it is
  7509. checked. Don't refresh after toggling, the Expand/Collapse already
  7510. handles this.
  7511. * TreeView.cs: Respect clipping a little more when drawing. Try
  7512. not to redraw things that don't need to be redrawn. Just hide the
  7513. scrollbars when they are no longer needed instead of removing
  7514. them, so they don't have to be created again and again.
  7515. 2005-01-07 Geoff Norton <[email protected]>
  7516. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  7517. coordinates to window space to place the caret properly, FIXED.
  7518. Implement GetWindowState & SetWindowState
  7519. 2005-01-06 Peter Bartok <[email protected]>
  7520. * Form.cs:
  7521. - Implemented ClientSize property
  7522. - Implemented DesktopBounds property
  7523. - Implemented DesktopLocation property
  7524. - Implemented IsRestrictedWindow property
  7525. - Implemented Size property
  7526. - Implemented TopLevel property
  7527. - Implemented FormWindowState property
  7528. * Control.cs:
  7529. - Implemented GetTopLevel() method
  7530. - Implemented SetTopLevel() method
  7531. * X11Structs.cs (Atom):
  7532. - Added AnyPropertyType definition
  7533. - Added MapState definiton and updated XWindowAttribute struct
  7534. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  7535. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  7536. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  7537. * XplatUIWin32.cs:
  7538. - Implemented GetWindowState() and SetWindowState() methods
  7539. - Fixed Win32GetWindowLong return type
  7540. * XplatUIX11.cs:
  7541. - Introduced central function for sending NET_WM messages
  7542. - Implemented GetWindowState() and SetWindowState() methods
  7543. * TextBoxBase.cs (set_Lines):
  7544. - Now uses Foreground color for text added via Text property (Duh!)
  7545. - Added code to remember programmatically requested size (fixes
  7546. behaviour when Multiline is set after Size)
  7547. - Added AutoSize logic
  7548. 2005-01-06 Jackson Harper <[email protected]>
  7549. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  7550. 2005-01-06 Jackson Harper <[email protected]>
  7551. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  7552. set to less then 0.
  7553. 2005-01-06 Jackson Harper <[email protected]>
  7554. * ScrollableControl.cs: Lazy init the scrollbars.
  7555. 2005-01-06 Jackson Harper <[email protected]>
  7556. * Theme.cs: Speed up getting pens and solid brushes, by using
  7557. their ARGB as a hash instead of tostring and not calling Contains.
  7558. 2005-01-06 Peter Bartok <[email protected]>
  7559. * Form.cs:
  7560. - Implemented OnActivated and OnDeactivate event trigger
  7561. - Implemented Activate() method
  7562. - Fixed ShowDialog() to activate the form that was active before
  7563. the dialog was shown
  7564. * XplatUIX11.cs:
  7565. - Added global active_window var that tracks the currently active
  7566. X11 window
  7567. - Now always grabs Property changes from the root window to always
  7568. catch changes on the active window property
  7569. - Added code to PropertyNotify handler to send Active/Inactive
  7570. messages when state changes. This puts X11 and Win32 en par on
  7571. WM_ACTIVATE notifications (except for double notifications when
  7572. the user clicks away from our modal window to another one of our
  7573. windows)
  7574. 2005-01-05 Jackson Harper <[email protected]>
  7575. * ImageList.cs: Implment ctor
  7576. 2005-01-05 Geoff Norton <[email protected]>
  7577. * XplatUIOSX.cs: Implement Activate/SetTopmost
  7578. 2005-01-05 Geoff Norton <[email protected]>
  7579. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  7580. 2005-01-05 Geoff Norton <[email protected]>
  7581. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  7582. 2005-01-05 Peter Bartok <[email protected]>
  7583. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  7584. XplatUIOSX.cs: Added GetActive method to return the currently
  7585. active window for the application (or null, if none is active)
  7586. * Form.cs:
  7587. - Implemented ActiveForm
  7588. - Commented out owner assignment for modal dialogs (causes problems
  7589. on Win32, since the owner will be disabled)
  7590. - Reworked some Active/Focus handling (still incomplete)
  7591. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  7592. (causes problems on Win32, since the owner will be disabled)
  7593. * IWin32Window: Added ComVisible attribute
  7594. 2005-01-05 Peter Bartok <[email protected]>
  7595. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  7596. required XplatUI functions.
  7597. 2005-01-05 Peter Bartok <[email protected]>
  7598. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  7599. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  7600. to implement focus and activation handling; still incomplete and
  7601. with debug output
  7602. 2005-01-04 Peter Bartok <[email protected]>
  7603. * TextBoxBase.cs: Changed access level for Document property to
  7604. match switch to internal for TextControl
  7605. 2005-01-04 Peter Bartok <[email protected]>
  7606. * AccessibleObject: Added ComVisible attribute
  7607. 2005-01-04 Jackson Harper <[email protected]>
  7608. * X11Keyboard.cs: Remove unneeded var.
  7609. 2005-01-04 Jackson Harper <[email protected]>
  7610. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  7611. but PAINT.
  7612. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  7613. ClientMessage. This makes apps exit cleanly (more often).
  7614. 2005-01-04 Jackson Harper <[email protected]>
  7615. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  7616. handling focus, return correct colors and fonts,
  7617. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  7618. handle selection, horizontal scrolling, and mouse interaction.
  7619. 2005-01-04 Peter Bartok <[email protected]>
  7620. * ICommandExecutor.cs: Added
  7621. * IDataGridColumnStyleEditingNotificationService.cs: Added
  7622. * IFeatureSupport.cs: Added
  7623. * IFileReaderService.cs: Added
  7624. * IDataObject.cs: Added ComVisible attribute
  7625. * AmbientProperties.cs: Added
  7626. * BaseCollection.cs: Added missing attributes
  7627. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  7628. * BaseCollection.cs: Added missing attributes
  7629. * Binding.cs: Added TypeConverter attribute
  7630. * BindingContext.cs: Added DefaultEvent attribute
  7631. * BindingsCollection.cs: Added DefaultEvent attribute
  7632. * Button.cs: Added DefaultValue attribute
  7633. * DragEventArgs.cs: Added ComVisible attribute
  7634. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  7635. * KeyEventArgs.cs: Added ComVisible attribute
  7636. * KeyPressEventArgs.cs: Added ComVisible attribute
  7637. * MouseEventArgs.cs: Added ComVisible attribute
  7638. * NavigateEventArgs.cs: Added
  7639. * NavigateEventHandler.cs: Added
  7640. * FeatureSupport.cs: Added
  7641. * OSFeature.cs: Added
  7642. * Theme.cs: Added abstract Version property to support OSFeature
  7643. * ThemeWin32Classic.cs: Added Version property to
  7644. support OSFeature.Themes
  7645. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  7646. the proper styles to avoid background drawing are set, also doesn't
  7647. match MS signature
  7648. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  7649. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  7650. * ScrollEventArgs.cs: Added ComVisible attribute
  7651. * SplitterEventArgs.cs: Added ComVisible attribute
  7652. * AccessibleSelection.cs: Added Flags attribute
  7653. * Appearance.cs: Added ComVisible attribute
  7654. * Border3DSide.cs: Added ComVisible attribute
  7655. * Border3DStyle.cs: Added ComVisible attribute
  7656. * BorderStyle.cs: Added ComVisible attribute
  7657. * DragAction.cs: Added ComVisible attribute
  7658. * ErrorBlinkStyle.cs: Added
  7659. * ScrollEventType.cs: Added ComVisible attribute
  7660. * AnchorStyles.cs: Added Editor attribute
  7661. * DockStyle.cs: Added Editor attribute
  7662. * HorizontalAlignment.cs: Added ComVisible attribute
  7663. * HelpEventArgs.cs: Added ComVisible attribute
  7664. * PaintEventArgs.cs: Added IDisposable
  7665. 2005-01-04 Peter Bartok <[email protected]>
  7666. * TextControl.cs: Switched Line, LineTag and Document classes to
  7667. internal
  7668. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  7669. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  7670. Simple mode, fixes, IntegralHeight, etc.
  7671. 2005-01-04 Peter Bartok <[email protected]>
  7672. * TextBoxBase.cs: Using proper font variable now
  7673. 2005-01-04 Peter Bartok <[email protected]>
  7674. * Form.cs (ShowDialog): Set parent to owner, if provided
  7675. * GroupBox.cs: Removed unused vars
  7676. * TextControl.cs:
  7677. - Added GetHashCode() for Document and LineTag classes
  7678. - Removed unused variables
  7679. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  7680. to allow translation between continuous char position and line/pos
  7681. * CheckBox.cs: Removed vars that are provided by base class
  7682. * RadioButton.cs: Removed vars that are provided by base class, added
  7683. new keyword where required
  7684. * LinkLabel.cs: Added new keyword where required
  7685. * Control.cs (WndProc): Removed unused variable
  7686. * TextBoxBase.cs:
  7687. - Finished SelectionLength property
  7688. - Implemented SelectionStart property
  7689. - Implemented Text property
  7690. - Removed unused vars
  7691. * MessageBox.cs: Added new keyword where required
  7692. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  7693. WndProc signature
  7694. * MenuAPI.cs: Added new keyword where required
  7695. * ButtonBase.cs: Removed vars that are provided by base class, added
  7696. new keyword where required
  7697. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  7698. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  7699. into this)
  7700. * Application.cs (Run): Now triggers the ThreadExit event
  7701. * CommonDialog.cs: Added new keyword where required; now properly sets
  7702. parent (owner) for dialog
  7703. * XplatUIX11.cs: Commented out unused vars
  7704. * StatusBar.cs: Fixed signature for Text property
  7705. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  7706. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  7707. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  7708. TrackBar.cs, MonthCalendar.cs: remove unused vars
  7709. 2005-01-03 Jackson Harper <[email protected]>
  7710. * ThemeWin32Classic.cs:
  7711. * X11Keyboard.cs: Remove unused vars.
  7712. 2005-01-03 Peter Bartok <[email protected]>
  7713. * TextBox.cs:
  7714. - set_Text: Tied into TextControl
  7715. - set_TextAlignment: Tied into TextControl
  7716. * TextControl.cs:
  7717. - Added alignment properties and implemented alignment handling
  7718. and drawing (still has a bug, not generating proper expose events)
  7719. - Added new Line() constructor to allow passing the line alignment
  7720. - Fixed selection setting, properly handling end<start now
  7721. - Added aligment considerations to RecalculateDocument()
  7722. * TextBoxBase.cs:
  7723. - Now properly enforces control height for single line controls
  7724. - Added support for CharacterCasing
  7725. - Added IsInputKey override
  7726. - Fixed Keys.Enter logic
  7727. - Added SetBoundsCore override
  7728. - Fixed mouse selection handling
  7729. 2005-01-03 Jackson Harper <[email protected]>
  7730. * TreeView.cs:
  7731. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  7732. - Checkboxes are always aligned to the bottom of the node,
  7733. regardless of item height.
  7734. - Use the node bounds to draw the text so we can center it when
  7735. the item height is greater then the font height.
  7736. - Node::Bounds are only the text part of the node.
  7737. * TreeNode.cs: New method to combine collapsing and unchecking all
  7738. nodes recursively.
  7739. 2005-01-02 Jackson Harper <[email protected]>
  7740. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  7741. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  7742. tree when a check is changed. TODO: Only refresh the checked node.
  7743. 2004-12-30 Jackson Harper <[email protected]>
  7744. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  7745. * TreeNode.cs: When collapsing make sure to never collapse the
  7746. root node.
  7747. 2004-12-29 Jackson Harper <[email protected]>
  7748. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  7749. 2004-12-28 Zoltan Varga <[email protected]>
  7750. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  7751. 2004-12-28 Peter Bartok <[email protected]>
  7752. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  7753. not yet assigned
  7754. 2004-12-28 Peter Bartok <[email protected]>
  7755. * Control.cs (WndProc): Added WM_HELP handler, now generates
  7756. HelpRequested event
  7757. * Form.cs: Added HelpButton property and required support code
  7758. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  7759. 2004-12-28 Peter Bartok <[email protected]>
  7760. * CommonDialog.cs:
  7761. - Made DialogForm.owner variable internal
  7762. - Added check to ensure owner form is set before setting
  7763. owner properties in CreateParams
  7764. 2004-12-28 Geoff Norton <[email protected]>
  7765. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  7766. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  7767. GetCursorPos. Fix major visibility issues. Rework the windowing
  7768. system to support borderless/titleless windows (implements menus).
  7769. Fix GetWindowPos. Implement initial background color support for
  7770. views.
  7771. 2004-12-28 Peter Bartok <[email protected]>
  7772. * Form.cs (get_CreateParams): Make sure we have an owner before using
  7773. the owner variable. Implement proper default if no owner exists
  7774. 2004-12-28 Peter Bartok <[email protected]>
  7775. * In preparation for making Managed.Windows.Forms the default build target
  7776. for System.Windows.Forms, the following stubbed files were added.
  7777. Dialogs are currently being implemented by contributors and are only
  7778. short-term place holders.
  7779. * ColorDialog.cs: Initial check-in (minmal stub)
  7780. * DataGrid.cs: Initial check-in (minimal stub)
  7781. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  7782. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  7783. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  7784. * FontDialog.cs: Initial check-in (minimal stub)
  7785. * FileDialog.cs: Initial check-in (minimal stub)
  7786. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  7787. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  7788. * OpenFileDialog: Initial check-in (minimal stub)
  7789. * IComponentEditorPageSite.cs: Initial check-in
  7790. * Splitter.cs: Initial check-in (for Jackson)
  7791. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  7792. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  7793. * TextBox.cs: Initial check-in; still needs some wiring to
  7794. TextControl backend
  7795. * Form.cs: Implemented ControlBox property
  7796. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  7797. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  7798. * TextControl.cs: Added selection functionality; added todo header
  7799. * TextBoxBase.cs:
  7800. - Implemented Lines property
  7801. - Implemented TextHeight property
  7802. - Implemented SelectedText property
  7803. - Implemented SelectionLength property
  7804. - Implemented SelectAll method
  7805. - Implemented ToString method
  7806. - Removed and cleaned up some debug code
  7807. - Implemented (still buggy) mouse text selection
  7808. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  7809. * ComboBox.cs: Complete DropDownList implementation, fixes.
  7810. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  7811. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  7812. * ComboBoxStyle.cs: ComboBoxStyle enum
  7813. * ComboBox.cs: Initial work on ComboBox control
  7814. 2004-12-21 Peter Bartok <[email protected]>
  7815. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  7816. forward so that anything that creates a window gets the default,
  7817. also no longer uses Visible property in CreateParams to avoid
  7818. walking up the parent chain and possibly get the wrong visible
  7819. status. Fixed IsVisible to no longer walk up to the parent.
  7820. 2004-12-21 Peter Bartok <[email protected]>
  7821. * Form.cs (ShowDialog): Unset modality for the proper window
  7822. 2004-12-20 Peter Bartok <[email protected]>
  7823. * CommonDialog.cs: Initial check-in
  7824. 2004-12-20 Peter Bartok <[email protected]>
  7825. * Control.cs (Visible): Now uses the parent window instead of the
  7826. client area window for the property
  7827. * Form.cs
  7828. - ShowDialog(): Now uses the proper window for modality
  7829. - The default visibility state for the form parent is now false. This
  7830. will prevent the user from seeing all the changes to the form and
  7831. its controls before the application hits Application.Run()
  7832. - Removed some stale commented out code
  7833. * NativeWindow.cs:
  7834. - Added FindWindow() method to have a method to check for existence
  7835. of a window handle
  7836. - Added ability to override default exception handling (for example
  7837. when debugging with VS.Net; to do this the ExternalExceptionHandler
  7838. define must be set
  7839. - Removed some useless debug output
  7840. * XplatUIX11.cs:
  7841. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  7842. not working as expected
  7843. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  7844. property to allow switching back to the modal window if focus is
  7845. given to another one of our windows (Application Modal)
  7846. - Now only sets override_redirect if we create a window
  7847. without WS_CAPTION
  7848. - Moved EventMask selection before mapping of newly created window
  7849. so we can catch the map event as well
  7850. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  7851. - Added various Atom related DllImports
  7852. - Implemented Exit() method
  7853. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  7854. in the CreateParams
  7855. * MessageBox.cs: Now properly deals with the FormParent window by
  7856. providing an override the FormParent CreateParams property to
  7857. set as POPUP instead of OVERLAPPED window.
  7858. 2004-12-19 Geoff Norton <[email protected]>
  7859. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  7860. Minor code cleanup.
  7861. 2004-12-19 Geoff Norton <[email protected]>
  7862. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  7863. 2004-12-18 Peter Bartok <[email protected]>
  7864. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  7865. implementing SetModal() method
  7866. 2004-12-18 Peter Bartok <[email protected]>
  7867. * X11Structs.cs (XGCValues): Fixed type of function element
  7868. * XplatUI.cs: Added ScrollWindow() method
  7869. * XplatUIDriver.cs: Added ScrollWindow() abstract
  7870. * XplatUIWin32.cs: Implemented ScrollWindow() method
  7871. * XplatUIX11.cs: Implemented ScrollWindow() method
  7872. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  7873. 2004-12-17 Geoff Norton <[email protected]>
  7874. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  7875. Some more keyboard support (INCOMPLETE)
  7876. 2004-12-17 Peter Bartok <[email protected]>
  7877. * TextControl.cs:
  7878. - Added color attribute to line tags.
  7879. - Added color argument to all functions dealing with tags
  7880. - Added color argument support to various functions
  7881. - Fixed miss-calculation of baseline/shift in certain circumstances
  7882. * TextBoxBase.cs: Added new color option to test code
  7883. 2004-12-17 Jackson Harper <[email protected]>
  7884. * TreeNode.cs:
  7885. * MonthCalendar.cs: Signature fixes
  7886. 2004-12-17 Geoff Norton <[email protected]>
  7887. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  7888. keyboard event moved it. Create a new graphics context for each paint resolves this
  7889. 2004-12-17 Geoff Norton <[email protected]>
  7890. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  7891. Make caret exist and go blink blink. Initial keyboard support.
  7892. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  7893. works.
  7894. 2004-12-17 Jackson Harper <[email protected]>
  7895. * XplatUIStructs.cs: Updated set of virtual keycodes.
  7896. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  7897. 2004-12-17 Jackson Harper <[email protected]>
  7898. * XplatUIX11.cs: Prune old keyboard code.
  7899. 2004-12-17 Jackson Harper <[email protected]>
  7900. * XplatUIX11.cs: When generating mouse wparams get the modifier
  7901. keys from the ModifierKeys property.
  7902. 2004-12-17 Jackson Harper <[email protected]>
  7903. * X11Keyboard.cs: Send up/down input when generating
  7904. messages. Remove some unused vars.
  7905. 2004-12-17 Jackson Harper <[email protected]>
  7906. * TabControl.cs:
  7907. * TreeView.cs: get rid of warnings.
  7908. 2004-12-17 Jackson Harper <[email protected]>
  7909. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  7910. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  7911. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  7912. CheckedListBox.cs: Implementation
  7913. 2004-12-17 Peter Bartok <[email protected]>
  7914. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  7915. 2004-12-16 Peter Bartok <[email protected]>
  7916. * TextControl.cs:
  7917. - InsertCharAtCaret(): Fixed start pos fixup
  7918. - CaretLine_get: No longer derives the line from the tag, the tag
  7919. could be stale if lines in the document have been added or deleted
  7920. - RebalanceAfterDelete(): Fixed bug in balancing code
  7921. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  7922. - Line.Streamline(): Now can also elminate leading empty tags
  7923. - DumpTree(): Added a few more tests and prevented exception on
  7924. uninitialized data
  7925. - Added Debug section for Combining lines
  7926. - Delete(): Now copies all remaining properties of a line
  7927. * TextBoxBase.cs:
  7928. - Left mousebutton now sets the caret (and middle button still acts
  7929. as formatting tester, which must go away soon)
  7930. - Added Debug section for Deleting/Combining lines
  7931. - Fixed calculations for UpdateView after Combining lines
  7932. 2004-12-16 Peter Bartok <[email protected]>
  7933. * TextControl.cs: Now properly aligns text on a baseline, using the
  7934. new XplatUI.GetFontMetrics() method. Simplified several calculations
  7935. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  7936. defined
  7937. 2004-12-16 Peter Bartok <[email protected]>
  7938. * XplatUI.cs: Added GetFontMetrics() method
  7939. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  7940. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  7941. into libgdiplus, our private GetFontMetrics function
  7942. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  7943. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  7944. 2004-12-16 Jackson Harper <[email protected]>
  7945. * XplatUIStruct.cs: Add enum for dead keys
  7946. * X11Keyboard.cs: Map and unmap dead keys.
  7947. 2004-12-16 Jackson Harper <[email protected]>
  7948. * X11Keyboard.cs: Detect and use the num lock mask.
  7949. 2004-12-16 Peter Bartok <[email protected]>
  7950. * Control.cs (CreateGraphics): Added check to make sure the
  7951. handle of the window exists before calling Graphics.FromHwnd()
  7952. 2004-12-16 Peter Bartok <[email protected]>
  7953. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  7954. contains a lot of code that's not supposed to be there for the
  7955. real thing, but required for developing/testing the textbox
  7956. backend.
  7957. 2004-12-16 Peter Bartok <[email protected]>
  7958. * TextControl.cs:
  7959. - Fixed Streamline method
  7960. - Added FindTag method to Line
  7961. - Added DumpTree method for debugging
  7962. - Added DecrementLines() method for deleting lines
  7963. - Fixed UpdateView to update the cursor to end-of-line on single-line
  7964. updates
  7965. - Added PositionCaret() method
  7966. - Fixed MoveCaret(LineDown) to move into the last line, too
  7967. - Added InsertChar overload
  7968. - Fixed InsertChar tag offset calculations
  7969. - Added DeleteChar() method
  7970. - Added Combine() method for folding lines
  7971. - Fixed Delete() method, no longer allocates wasted Line object and
  7972. now copies all properties when swapping nodes
  7973. - Delete() method now updates document line counter
  7974. 2004-12-15 Jackson Harper <[email protected]>
  7975. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  7976. * X11Keyboard.cs: Expose the currently selected modifier keys
  7977. through a property.
  7978. 2004-12-15 Peter Bartok <[email protected]>
  7979. * TextControl.cs: Initial check-in. Still incomplete
  7980. 2004-12-15 Jackson Harper <[email protected]>
  7981. * TreeNode.cs:
  7982. * TreeView.cs: Fix build on csc (second time today ;-))
  7983. 2004-12-15 Jackson Harper <[email protected]>
  7984. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  7985. is calculated and use this for click testing.
  7986. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  7987. 2004-12-15 Jackson Harper <[email protected]>
  7988. * TreeView.cs: Pass the nodes image index to the image list when
  7989. drawing that image.
  7990. 2004-12-15 Jackson Harper <[email protected]>
  7991. * X11Keyboard.cs: Set messages hwnd.
  7992. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  7993. post_message calls.
  7994. 2004-12-15 Jackson Harper <[email protected]>
  7995. * X11Keyboard.cs: Fix to compile with csc.
  7996. 2004-12-15 Jackson Harper <[email protected]>
  7997. * X11Structs.cs: Add key mask values
  7998. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  7999. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  8000. down/up foo into WM_CHAR foo
  8001. * KeyboardLayouts.cs: Common keyboard layouts
  8002. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  8003. post messages into the main queue.
  8004. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  8005. * Button.cs: implement ProcessMnemonic
  8006. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  8007. brushes everytime
  8008. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  8009. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  8010. 2004-12-12 John BouAntoun <[email protected]>
  8011. * MonthCalendar.cs: Implemented click-hold for next/previous month
  8012. and date selection
  8013. 2004-12-11 Peter Bartok <[email protected]>
  8014. * X11Structs.cs:
  8015. - Added XKeyboardState (moved from XplatUIX11.cs)
  8016. - Added XCreateGC related enums and structures
  8017. - Added GXFunction for XSetFunction
  8018. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  8019. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  8020. CaretVisible() calls
  8021. * ToolTip.cs: Added code to prevent stealing focus from app windows
  8022. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  8023. DestroyCaret, SetCaretPos and CaretVisible)
  8024. * XplatUIX11.cs:
  8025. - Added implementation for caret functions
  8026. - Moved hover variables into a struct, to make it a bit easier
  8027. on the eyes and to debug
  8028. - Removed XKeyboardState (moved to XplatUIX11.cs)
  8029. - Moved Keyboard properties into the properties region
  8030. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  8031. call to get a graphics context for our control
  8032. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  8033. * TreeView.cs: Fixed bug. No matter what color was set it would always
  8034. return SystemColors.Window
  8035. * XplatUIWin32.cs: Implemented caret overrides
  8036. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  8037. * ListBox.cs: fire events, implement missing methods and properties,
  8038. sorting.
  8039. 2004-12-10 John BouAntoun <[email protected]>
  8040. * MonthCalendar.cs: invalidation bug fixing
  8041. * ThemeWin32Classic.cs: paint fixing
  8042. 2004-12-09 Geoff Norton <[email protected]>
  8043. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  8044. prepare the CGContextRef there now.
  8045. 2004-12-09 John BouAntoun <[email protected]>
  8046. * MonthCalendar.cs:
  8047. - optimisationL only invalidate areas that have changed
  8048. * ThemeWin32Classic.cs:
  8049. - only paint parts that intersect with clip_area
  8050. 2004-12-09 Peter Bartok <[email protected]>
  8051. * Application.cs: Undid changes from r37004 which cause problems
  8052. on X11
  8053. 2004-12-09 Ravindra <[email protected]>
  8054. * ToolBar.cs: Added support for displaying ContextMenu
  8055. attached to a button on ToolBar.
  8056. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  8057. property.
  8058. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  8059. * Label.cs: autosize works in text change and removes unnecessary
  8060. invalidate
  8061. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  8062. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  8063. remove warnings
  8064. 2004-12-08 Geoff Norton <[email protected]>
  8065. * XplatUIOSX.cs: Added mouse move/click/grab support
  8066. Remove some debugging WriteLines not needed anymore.
  8067. Add window resizing/positioning.
  8068. Fix visibility on reparenting.
  8069. 2004-12-08 Peter Bartok <[email protected]>
  8070. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  8071. 2004-12-07 Geoff Norton <[email protected]>
  8072. * XplatUIOSX.cs: Initial checkin
  8073. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  8074. 2004-12-03 Ravindra <[email protected]>
  8075. * ListView.cs: Added some keybindings and fixed scrolling.
  8076. ScrollBars listen to ValueChanged event instead of Scroll
  8077. Event. This would let us take care of all changes being
  8078. done in the scrollbars' values programmatically or manually.
  8079. * ListView.cs (CanMultiselect): Added a check for shift key.
  8080. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  8081. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  8082. of ListViewSubItemCollection as well.
  8083. 2004-12-06 Peter Bartok <[email protected]>
  8084. * Control.cs (Parent): Added check and exception to prevent
  8085. circular parenting
  8086. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  8087. * ListBox.cs: implemented clipping, selection single and multiple,
  8088. bug fixing
  8089. 2004-12-03 Ravindra <[email protected]>
  8090. * ListView.cs (ListView_KeyDown):
  8091. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  8092. when CTRL key is pressed.
  8093. * ListViewItem.cs (Selected): Fixed setting the property.
  8094. 2004-12-03 Marek Safar <[email protected]>
  8095. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  8096. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  8097. MinimizeBox, ShowInTaskbar, TopMost properties.
  8098. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  8099. will be implemented).
  8100. 2004-12-03 Marek Safar <[email protected]>
  8101. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  8102. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  8103. tests.
  8104. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  8105. * TreeView.cs: BackColor is Colors.Window.
  8106. 2004-12-01 Jackson Harper <[email protected]>
  8107. * TreeView.cs: When resizing the tree if the user is making it
  8108. smaller we don't get expose events, so we need to handle adding
  8109. the horizontal scrollbar in the size changed handler as well as
  8110. the expose handler.
  8111. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  8112. * DrawItemState.cs: fixes wrong enum values
  8113. 2004-12-01 Jackson Harper <[email protected]>
  8114. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  8115. 2004-12-01 Jackson Harper <[email protected]>
  8116. * NodeLabelEditEventArgs.cs:
  8117. * NodeLabelEditEventHandler.cs:
  8118. * OpenTreeNodeEnumerator.cs:
  8119. * TreeNode.cs:
  8120. * TreeNodeCollection.cs:
  8121. * TreeView.cs:
  8122. * TreeViewAction.cs:
  8123. * TreeViewCancelEventArgs.cs:
  8124. * TreeViewCancelEventHandler.cs:
  8125. * TreeViewEventArgs.cs:
  8126. * TreeViewEventHandler.cs: Initial implementation.
  8127. 2004-12-01 Ravindra <[email protected]>
  8128. * ListView.cs (CalculateListView): Fixed scrolling related
  8129. calculations. Also, removed some debug statements from other
  8130. places.
  8131. * ListViewItem.cs: Changed access to 'selected' instance variable
  8132. from private to internal.
  8133. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  8134. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  8135. * ThemeWin32Classic.cs: remove cache of brush and pens for
  8136. specific controls and use the global system, fixes scrollbutton
  8137. bugs (for small sizes, disabled, etc)
  8138. * ScrollBar.cs: does not show the thumb for very small controls
  8139. (as MS) and allow smaller buttons that the regular size
  8140. 2004-12-01 Miguel de Icaza <[email protected]>
  8141. * UpDownBase.cs: Add abstract methods for the interface.
  8142. Add new virtual methods (need to be hooked up to TextEntry when it
  8143. exists).
  8144. Add override methods for most features.
  8145. Computes the size, forces the height of the text entry.
  8146. * NumericUpDown.cs: Put here the current testing code.
  8147. * Set eol-style property on all files that do not have mixed line
  8148. endings, to minimize the future problems. There are still a few
  8149. files with mixed endings, and someone should choose whether they
  8150. want to move it or not.
  8151. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  8152. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  8153. System.Colors
  8154. 2004-11-30 Ravindra <[email protected]>
  8155. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  8156. drawing and replaced use of SystemColors by theme colors.
  8157. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  8158. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  8159. same ListViewItem is being added more than once.
  8160. 2004-11-30 John BouAntoun <[email protected]>
  8161. * MonthCalendar.cs:
  8162. - ControlStyles love to make the control not flicker
  8163. 2004-11-30 Peter Bartok <[email protected]>
  8164. * CharacterCasing.cs: Added
  8165. 2004-11-29 Peter Bartok <[email protected]>
  8166. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  8167. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  8168. I am removing these files as they conflict with already completed
  8169. work. While it is fantastic to get contributions to MWF, I
  8170. respectfully ask that everyone please coordinate their contributions
  8171. through mono-winforms-list or #mono-winforms at this time. We're
  8172. explicitly avoiding stubbing and don't want controls that don't have
  8173. their basic functionality implemented in svn. Please also see
  8174. http://www.mono-project.com/contributing/winforms.html
  8175. 2004-11-29 Marek Safar <[email protected]>
  8176. * Application.cs (ModalRun): Don't hang after exit.
  8177. * Theme.cs: New TreeViewDefaultSize property.
  8178. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  8179. with less hardcoded SystemColors constant.
  8180. Implemented TreeViewDefaultSize.
  8181. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  8182. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  8183. 2004-11-29 John BouAntoun <[email protected]>
  8184. * MonthCalendar.cs:
  8185. - Fix NextMonthDate and PrevMonthDate click moving calendar
  8186. 2004-11-26 John BouAntoun <[email protected]>
  8187. * MonthCalendar.cs:
  8188. - Fix usage of ScrollChange Property when scrolling months
  8189. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  8190. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  8191. - Fixes menu destroying
  8192. - Support adding and removing items on already created menus
  8193. 2004-11-26 John BouAntoun <[email protected]>
  8194. * MonthCalendar.cs:
  8195. - Re-worked all bolded dates handling to match win32
  8196. * ThemeWin32Classic.cs:
  8197. - Fixed rendering with bolded dates
  8198. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  8199. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  8200. - Horizontal scroolbar
  8201. - Multicolumn
  8202. - Fixes
  8203. 2004-11-25 John BouAntoun <[email protected]>
  8204. * MonthCalendar.cs:
  8205. - Fix Usage of MaxSelectionCount from SelectionRange
  8206. - Fixed Shift + Cursor Selection
  8207. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  8208. - Fixed normal cursor selection to be compat with win32
  8209. - Fixed Shift + Mouse Click selection
  8210. 2004-11-24 Peter Bartok <[email protected]>
  8211. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  8212. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  8213. * XplatUIX11.cs:
  8214. - CreatedKeyBoardMsg now updates keystate with Alt key
  8215. - Added workaround for timer crash to CheckTimers, Jackson will
  8216. develop a proper fix and check in later
  8217. - Implemented DispatchMessage
  8218. - Removed calling the native window proc from GetMessage (call
  8219. now moved to DispatchMessage)
  8220. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  8221. the keydata (Fixes bug #69831)
  8222. * XplatUIWin32.cs:
  8223. - (DispatchMessage): Switched to return IntPtr
  8224. - Added DllImport for SetFocus
  8225. 2004-11-24 Ravindra <[email protected]>
  8226. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  8227. background drawing.
  8228. * ListViewItem.cs: Fixed various properties, calculations
  8229. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  8230. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  8231. and some internal properties. Fixed MouseDown handler and Paint
  8232. method.
  8233. 2004-11-24 John BouAntoun <[email protected]>
  8234. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  8235. 2004-11-24 John BouAntoun <[email protected]>
  8236. * ContainerControl.cs: correct accidental check in of local changes
  8237. 2004-11-24 John BouAntoun <[email protected]>
  8238. * ThemeWin32Classic.cs:
  8239. - Fixed Drawing Last month in grid (sometimes not showing)
  8240. * MonthCalendar.cs:
  8241. - Fixed title width calculation bug (makeing title small)
  8242. 2004-11-23 Peter Bartok <[email protected]>
  8243. * XplatUIX11.cs:
  8244. - Added generation of WM_MOUSEHOVER event
  8245. - Added missing assignment of async_method atom
  8246. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  8247. 2004-11-23 John BouAntoun <[email protected]>
  8248. * ThemeWin32Classic.cs:
  8249. - Fixed Drawing of today circle when showtodaycircle not set
  8250. - fixed drawing of first and last month in the grid (gay dates)
  8251. * MonthCalendar.cs:
  8252. - Fixed Drawing of today circle
  8253. - Fixed drawing of grady dates
  8254. - Fixed HitTest for today link when ShowToday set to false
  8255. - Fixed DefaultSize to obey ShowToday
  8256. 2004-11-23 John BouAntoun <[email protected]>
  8257. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  8258. * System.Windows.Forms/Theme.cs
  8259. * MonthCalendar.cs: added for MonthCalendar
  8260. * SelectionRange.cs: added for MonthCalendar
  8261. * Day.cs: added for MonthCalendar: added for MonthCalendar
  8262. * DateRangeEventArgs.cs: added for MonthCalendar
  8263. * DateRangeEventHandler.cs: added for MonthCalendar
  8264. 2004-11-22 Ravindra <[email protected]>
  8265. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  8266. property.
  8267. 2004-11-22 Miguel de Icaza <[email protected]>
  8268. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  8269. event handler.
  8270. * NumericUpDown.cs: Added new implementation.
  8271. * UpDownBase.cs: Added new implementation.
  8272. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  8273. implementations.
  8274. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  8275. implementations.
  8276. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  8277. methods.
  8278. 2004-11-21 Miguel de Icaza <[email protected]>
  8279. * Timer.cs (Dispose): Should call the base dispose when
  8280. overriding.
  8281. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  8282. * ScrollBar.cs: updates thumb position when max, min or increment
  8283. is changed
  8284. 2004-11-21 Ravindra <[email protected]>
  8285. * ListView.cs: Implemented item selection, activation and
  8286. column header style. Fixed properties to do a redraw, if
  8287. required. Added support for MouseHover, DoubleClick, KeyDown
  8288. and KeyUp event handling and some minor fixes.
  8289. * ListViewItem.cs: Fixed constructor.
  8290. * ThemeWin32Classic.cs: Improved drawing for ListView.
  8291. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  8292. * ThemeWin32Classic.cs: initial listbox drawing code
  8293. * DrawMode.cs: new enumerator
  8294. * ListControl.cs: stubbed class
  8295. * ListBox.cs: initial implementation
  8296. * Theme.cs: new methods definitions
  8297. * SelectionMode.cs: new enumerator
  8298. 2004-11-17 Peter Bartok <[email protected]>
  8299. * XplatUIWin32.cs: Added double-click events to the class style
  8300. * Control.cs (WndProc):
  8301. - Added handling of click-count to MouseDown/ MouseUp events.
  8302. - Added handling of middle and right mouse buttons
  8303. - Removed old debug code
  8304. 2004-11-17 Jackson Harper <[email protected]>
  8305. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  8306. 2004-11-17 Ravindra <[email protected]>
  8307. * ListView.cs: Added event handling for MouseMove/Up/Down.
  8308. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  8309. * ThemeWin32Classic.cs: We need to clear the graphics context and
  8310. draw column header in a proper state.
  8311. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  8312. * Menu.cs: fixes signature
  8313. 2004-11-16 Peter Bartok <[email protected]>
  8314. * XplatUIX11.cs (GetMessage): Implemented generation of
  8315. double click mouse messages
  8316. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  8317. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  8318. not by menu
  8319. 2004-11-11 Peter Bartok <[email protected]>
  8320. * HandleData.cs: Added Visible property
  8321. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  8322. HandleData
  8323. * XplatUIX11.cs: Removed old debug leftovers
  8324. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  8325. * Control.cs (WndProc): Removed old debug leftovers,
  8326. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  8327. needed WM_SIZE handling
  8328. 2004-11-11 Jackson Harper <[email protected]>
  8329. * OwnerDrawPropertyBag.cs:
  8330. * TreeViewImageIndexConverter.cs: Initial implementation
  8331. 2004-11-10 Jackson Harper <[email protected]>
  8332. * ThemeWin32Classic.cs:
  8333. * TabControl.cs: instead of moving tabs by the slider pos just
  8334. start drawing at the tab that is offset by the slider. This way
  8335. scrolling always moves by exactly one tab.
  8336. 2004-11-10 Jackson Harper <[email protected]>
  8337. * TabControl.cs: You can only scroll left when the slider has
  8338. already ben moved right.
  8339. 2004-11-10 Jackson Harper <[email protected]>
  8340. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  8341. the clip area.
  8342. 2004-11-10 Jackson Harper <[email protected]>
  8343. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  8344. clip area.
  8345. 2004-11-09 Jackson Harper <[email protected]>
  8346. * TabControl.cs (CalcXPos): New helper method so we can determine
  8347. the proper place to start drawing vertical tabs.
  8348. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  8349. 2004-11-09 Jackson Harper <[email protected]>
  8350. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  8351. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  8352. and Bottom, left and right are illegal values for this and
  8353. multiline is enabled when the alignment is set to left or right.
  8354. (DrawTab): Each alignment block should draw the text itself now
  8355. because Left requires special love. Also add rendering for Left
  8356. aligned tabs.
  8357. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  8358. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  8359. does not destroy the windows, removes debugging messages
  8360. 2004-11-09 jba <[email protected]>
  8361. * ThemeWin32Classic.cs
  8362. (DrawButtonBase): Fix verticle text rect clipping in windows
  8363. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  8364. rendering and incorrect text rect clipping
  8365. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  8366. rendering and incorrect text rect clipping
  8367. 2004-11-08 Jackson Harper <[email protected]>
  8368. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  8369. bottom when they are bottom aligned so the bottoms of the tabs get
  8370. displayed.
  8371. * TabControl.cs (DropRow): Move rows up instead of down when the
  8372. tab control is bottom aligned.
  8373. 2004-11-08 13:59 pbartok
  8374. * XplatUIX11.cs:
  8375. - Added handling for various window styles
  8376. - Added handling for popup windows
  8377. - Added SetTopmost handling
  8378. 2004-11-08 13:55 pbartok
  8379. * XplatUIWin32.cs:
  8380. - Added argument to SetTopmost method
  8381. - Fixed broken ClientToScreen function
  8382. 2004-11-08 13:53 pbartok
  8383. * XplatUIStructs.cs:
  8384. - Added missing WS_EX styles
  8385. 2004-11-08 13:53 pbartok
  8386. * XplatUI.cs, XplatUIDriver.cs:
  8387. - Added argument to SetTopmost
  8388. 2004-11-08 13:52 pbartok
  8389. * X11Structs.cs:
  8390. - Added XSetWindowAttributes structure
  8391. - Improved XWindowAttributes structure
  8392. - Added SetWindowValuemask enum
  8393. - Added window creation arguments enum
  8394. - Added gravity enum
  8395. - Added Motif hints structure
  8396. - Added various Motif flags and enums
  8397. - Added PropertyMode enum for property functions
  8398. 2004-11-08 13:50 pbartok
  8399. * Form.cs:
  8400. - Fixed arguments for updated SetTopmost method
  8401. 2004-11-08 13:49 pbartok
  8402. * ToolTip.cs:
  8403. - Fixed arguments for updated SetTopmost function
  8404. - Fixed usage of PointToClient
  8405. 2004-11-08 13:44 pbartok
  8406. * MenuAPI.cs:
  8407. - Added Clipping of children and siblings
  8408. 2004-11-08 13:41 pbartok
  8409. * MainMenu.cs:
  8410. - Removed SetMenuBarWindow call. We do this in Form.cs
  8411. 2004-11-08 13:40 jackson
  8412. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  8413. scrolling jimmi in the correct location with bottom aligned tabs
  8414. 2004-11-08 13:36 pbartok
  8415. * ContainerControl.cs:
  8416. - Implemented BindingContext
  8417. - Implemented ParentForm
  8418. 2004-11-08 12:46 jackson
  8419. * TabControl.cs: Put bottom rendered tabs in the right location
  8420. 2004-11-08 07:15 jordi
  8421. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  8422. removes dead code
  8423. 2004-11-05 17:30 jackson
  8424. * TabControl.cs: When selected tabs are expanded make sure they
  8425. don't go beyond the edges of the tab control
  8426. 2004-11-05 14:57 jackson
  8427. * TabControl.cs: Reset show_slider so if the control is resized to
  8428. a size where it is no longer needed it's not displayed anymore
  8429. 2004-11-05 13:16 jackson
  8430. * TabControl.cs: Make tab pages non visible when added to the
  8431. control
  8432. 2004-11-05 12:42 jackson
  8433. * TabControl.cs: Implement SizeMode.FillToRight
  8434. 2004-11-05 12:16 jackson
  8435. * Control.cs: Do not call CreateHandle if the handle is already
  8436. created
  8437. 2004-11-05 11:46 jackson
  8438. * TabControl.cs: Remove superflous call to CalcTabRows
  8439. 2004-11-05 09:07 jackson
  8440. * XplatUIX11.cs: Update for Mono.Posix changes
  8441. 2004-11-05 07:00 ravindra
  8442. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  8443. scrolling.
  8444. 2004-11-04 22:47 jba
  8445. * ThemeWin32Classic.cs:
  8446. - Fix Button rendering for FlatStyle = Flat or Popup
  8447. - Fix RadioButton and CheckBox rendering when Appearance = Button
  8448. (normal and flatstyle).
  8449. - Correct outer rectangle color when drawing focus rectangle
  8450. - Adjust button bounds to be 1 px smaller when focused
  8451. - Make button not draw sunken 3d border when pushed (windows compat)
  8452. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  8453. - Offset the text in RadioButton and Checkbox when being rendered as
  8454. a button.
  8455. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  8456. radiobuttons
  8457. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  8458. - Fixed disabled text rendering for normally rendered radiobuttons
  8459. 2004-11-04 10:26 jackson
  8460. * TabControl.cs: Recalculate tab rows when resizing
  8461. 2004-11-04 07:47 jordi
  8462. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  8463. collection completion, drawing issues, missing features
  8464. 2004-11-04 05:03 ravindra
  8465. * ScrollBar.cs:
  8466. - We need to recalculate the Thumb area when
  8467. LargeChange/maximum/minimum values are changed.
  8468. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  8469. than minimum. This is required to handle the case if large_change is
  8470. more than max, and use LargeChange property instead of large_change
  8471. variable.
  8472. - We return max+1 when large_change is more than max, like MS does.
  8473. 2004-11-04 04:29 ravindra
  8474. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  8475. - Changed default value signatures (prefixed all with ListView).
  8476. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  8477. ListView.
  8478. - Fixed calculations for ListViewItem and implemented Clone()
  8479. method.
  8480. 2004-11-04 04:26 ravindra
  8481. * Theme.cs, ThemeWin32Classic.cs:
  8482. - Changed default ListView values signatures (prefixed all with
  8483. ListView).
  8484. - Fixed default size values for VScrollBar and HScrollBar.
  8485. - Fixed DrawListViewItem method.
  8486. 2004-11-04 04:05 ravindra
  8487. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  8488. 2004-11-04 04:04 ravindra
  8489. * ImageList.cs: Implemented the missing overload for Draw method.
  8490. 2004-11-03 19:29 jackson
  8491. * TabControl.cs: Handle dropping rows on selection properly
  8492. 2004-11-03 11:59 jackson
  8493. * TabControl.cs: remove debug code
  8494. 2004-11-03 11:52 jackson
  8495. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  8496. the scrolly widgerywoo
  8497. 2004-11-02 13:52 jackson
  8498. * TabControl.cs: Resize the tab pages and tabs when the tab control
  8499. is resized
  8500. 2004-11-02 13:40 jackson
  8501. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  8502. selected tab to the bottom
  8503. 2004-11-02 13:39 jackson
  8504. * TabPage.cs: Store the tab pages row
  8505. 2004-11-02 12:33 jordi
  8506. * MenuItem.cs: fixes handle creation
  8507. 2004-11-02 11:42 jackson
  8508. * TabControl.cs: signature fix
  8509. 2004-11-02 08:56 jackson
  8510. * TabControl.cs: Calculate whether the tab is on an edge properly.
  8511. Remove top secret debugging code
  8512. 2004-11-01 19:57 jackson
  8513. * TabControl.cs: Add click handling, and proper sizing
  8514. 2004-11-01 19:47 jackson
  8515. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  8516. tab controls
  8517. 2004-11-01 19:39 jackson
  8518. * TabPage.cs: add internal property to store the bounds of a tab
  8519. page
  8520. 2004-10-30 04:23 ravindra
  8521. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  8522. values.
  8523. 2004-10-30 04:21 ravindra
  8524. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  8525. fixed calculations.
  8526. 2004-10-30 03:06 pbartok
  8527. * XplatUIX11.cs:
  8528. - Removed extension of DllImported libs
  8529. 2004-10-29 09:55 jordi
  8530. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  8531. navigation, itemcollection completion, menu fixes
  8532. 2004-10-27 22:58 pbartok
  8533. * XplatUIX11.cs:
  8534. - Now throws a nice error message when no X display could be opened
  8535. 2004-10-26 13:51 jordi
  8536. * ListView.cs: removes warning
  8537. 2004-10-26 03:55 ravindra
  8538. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  8539. ThemeWin32Classic.cs: Some formatting for my last checkins.
  8540. 2004-10-26 03:36 ravindra
  8541. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  8542. control and default values.
  8543. 2004-10-26 03:35 ravindra
  8544. * Theme.cs: Added some default values for ListView control.
  8545. 2004-10-26 03:33 ravindra
  8546. * ToolBar.cs: ToolBar should use the user specified button size, if
  8547. there is any. Added a size_specified flag for the same.
  8548. 2004-10-26 03:33 ravindra
  8549. * ColumnHeader.cs: Added some internal members and calculations for
  8550. ColumnHeader.
  8551. 2004-10-26 03:32 ravindra
  8552. * ListViewItem.cs: Calculations for ListViewItem.
  8553. 2004-10-26 03:31 ravindra
  8554. * ListView.cs: Added some internal members and calculations for
  8555. ListView.
  8556. 2004-10-22 13:31 jordi
  8557. * MenuAPI.cs: speedup menus drawing
  8558. 2004-10-22 13:16 jackson
  8559. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  8560. expose event
  8561. 2004-10-22 11:49 jackson
  8562. * Control.cs: oops
  8563. 2004-10-22 11:41 jackson
  8564. * Control.cs: Check to see if the window should have its background
  8565. repainted by X when drawing.
  8566. 2004-10-22 11:31 jackson
  8567. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  8568. clear is true, this way we do not get flicker from X repainting the
  8569. background
  8570. 2004-10-22 11:28 jackson
  8571. * XEventQueue.cs: Queue properly
  8572. 2004-10-21 09:38 jackson
  8573. * XEventQueue.cs: Fix access modifier
  8574. 2004-10-21 09:36 jackson
  8575. * XEventQueue.cs: Don't loose messages
  8576. 2004-10-21 09:22 jackson
  8577. * XEventQueue.cs: Don't loose messages
  8578. 2004-10-20 04:15 jordi
  8579. * BootMode.cs: enum need it by SystemInfo
  8580. 2004-10-19 21:58 pbartok
  8581. * XplatUIWin32.cs:
  8582. - Small sanity check
  8583. 2004-10-19 21:56 pbartok
  8584. * Form.cs:
  8585. - Added private FormParentWindow class which acts as the container
  8586. for our form and as the non-client area where menus are drawn
  8587. - Added/Moved required tie-ins to Jordi's menus
  8588. - Fixed/Implemented the FormStartPosition functionality
  8589. 2004-10-19 21:52 pbartok
  8590. * Control.cs:
  8591. - Removed unneeded locals
  8592. - Added code to all size and location properties to understand and
  8593. deal with the parent container of Form
  8594. 2004-10-19 21:33 pbartok
  8595. * Application.cs:
  8596. - Fixed to deal with new Form subclasses for menus
  8597. 2004-10-19 17:48 jackson
  8598. * XEventQueue.cs: commit correct version of file
  8599. 2004-10-19 16:50 jackson
  8600. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  8601. 2004-10-19 16:15 jordi
  8602. * MenuAPI.cs: MenuBarCalcSize returns the height
  8603. 2004-10-19 08:31 pbartok
  8604. * Control.cs:
  8605. - Added missing call to PreProcessMessage before calling OnXXXKey
  8606. methods
  8607. 2004-10-19 00:04 ravindra
  8608. * ToolTip.cs: Fixed constructor.
  8609. 2004-10-18 09:31 jordi
  8610. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  8611. 2004-10-18 09:26 jordi
  8612. * MenuItem.cs: fixes MenuItem class signature
  8613. 2004-10-18 08:56 jordi
  8614. * MenuAPI.cs: prevents windows from showing in the taskbar
  8615. 2004-10-18 00:28 ravindra
  8616. * ToolTip.cs: Suppressed a warning message.
  8617. 2004-10-18 00:27 ravindra
  8618. * Control.cs: Default value of visible property must be true.
  8619. 2004-10-17 23:19 pbartok
  8620. * ToolTip.cs:
  8621. - Complete implementation
  8622. 2004-10-17 23:19 pbartok
  8623. * XplatUIX11.cs:
  8624. - Added EnableWindow method
  8625. - Added SetModal stub
  8626. - Added generation of WM_ACTIVATE message (still needs testing)
  8627. - Added SetTopMost stub
  8628. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  8629. 2004-10-17 23:17 pbartok
  8630. * XplatUIWin32.cs:
  8631. - Removed VirtualKeys to XplatUIStructs
  8632. - Implemented SetTopMost method
  8633. - Implemented EnableWindow method
  8634. - Bugfix in ScreenToClient()
  8635. - Bugfixes in ClientToScreen()
  8636. 2004-10-17 22:51 pbartok
  8637. * XplatUIStructs.cs:
  8638. - Added WS_EX styles to WindowStyles enumeration
  8639. 2004-10-17 22:50 pbartok
  8640. * XplatUI.cs, XplatUIDriver.cs:
  8641. - Added method for enabling/disabling windows
  8642. - Added method for setting window modality
  8643. - Added method for setting topmost window
  8644. 2004-10-17 22:49 pbartok
  8645. * ThemeWin32Classic.cs:
  8646. - Added ToolTip drawing code
  8647. 2004-10-17 22:49 pbartok
  8648. * Theme.cs:
  8649. - Added ToolTip abstracts
  8650. 2004-10-17 22:47 pbartok
  8651. * Form.cs:
  8652. - Fixed Form.ControlCollection to handle owner relations
  8653. - Added Owner/OwnedForms handling
  8654. - Implemented Z-Ordering for owned forms
  8655. - Removed unneeded private overload of ShowDialog
  8656. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  8657. so I hope)
  8658. - Fixed Close(), had wrong default
  8659. - Added firing of OnLoad event
  8660. - Added some commented out debug code for Ownership handling
  8661. 2004-10-17 22:16 pbartok
  8662. * Control.cs:
  8663. - Fixed/implemented flat list of controls
  8664. 2004-10-17 22:14 pbartok
  8665. * Application.cs:
  8666. - Added code to simulate modal dialogs on Win32
  8667. 2004-10-17 16:11 jordi
  8668. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  8669. mouse event
  8670. 2004-10-17 13:39 jordi
  8671. * MenuAPI.cs: menu drawing fixes
  8672. 2004-10-15 09:10 ravindra
  8673. * StructFormat.cs: General Enum.
  8674. 2004-10-15 09:09 ravindra
  8675. * SizeGripStyle.cs: Enum for Form.
  8676. 2004-10-15 09:08 ravindra
  8677. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  8678. in Theme for ListView.
  8679. 2004-10-15 09:06 ravindra
  8680. * ColumnHeader.cs: Flushing some formatting changes.
  8681. 2004-10-15 09:05 ravindra
  8682. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  8683. style.
  8684. 2004-10-15 09:03 ravindra
  8685. * ListView.cs: Implemented Paint method and fixed coding style.
  8686. 2004-10-15 07:34 jordi
  8687. * MenuAPI.cs: fix for X11
  8688. 2004-10-15 07:32 ravindra
  8689. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  8690. - Renamed Paint() method to Draw() for clarity. Also, moved
  8691. DrawImage() to OnPaint().
  8692. 2004-10-15 07:25 ravindra
  8693. * CheckBox.cs, RadioButton.cs:
  8694. - Removed Redraw (), we get it from ButtonBase.
  8695. - Implemented Paint (), to do class specific painting.
  8696. 2004-10-15 07:16 ravindra
  8697. * ButtonBase.cs:
  8698. - Redraw () is not virtual now.
  8699. - Added an internal virtual method Paint (), so that
  8700. derived classes can do their painting on their own.
  8701. - Modified OnPaint () to call Paint ().
  8702. 2004-10-15 06:43 jordi
  8703. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  8704. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  8705. 2004-10-15 00:30 ravindra
  8706. * MessageBox.cs:
  8707. - MessageBox on windows does not have min/max buttons.
  8708. This change in CreateParams fixes this on Windows. We
  8709. still need to implement this windowstyle behavior in
  8710. our X11 driver.
  8711. 2004-10-14 05:14 ravindra
  8712. * ToolBar.cs:
  8713. - Changed Redraw () to do a Refresh () always.
  8714. - Fixed the MouseMove event handling when mouse is pressed,
  8715. ie drag event handling.
  8716. - Replaced the usage of ToolBarButton.Pressed property to
  8717. ToolBarButton.pressed internal variable.
  8718. 2004-10-14 05:10 ravindra
  8719. * ToolBarButton.cs:
  8720. - Added an internal member 'inside' to handle mouse move
  8721. with mouse pressed ie mouse drag event.
  8722. - Changed 'Pressed' property to return true only when
  8723. 'inside' and 'pressed' are both true.
  8724. - Some coding style love.
  8725. 2004-10-14 00:17 ravindra
  8726. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  8727. public method.
  8728. 2004-10-14 00:15 ravindra
  8729. * ButtonBase.cs: Redraw () related improvements.
  8730. 2004-10-14 00:14 ravindra
  8731. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  8732. removed unnecessary calls to Button.Show () method.
  8733. 2004-10-13 17:50 pbartok
  8734. * XplatUIX11.cs:
  8735. - Formatting fix
  8736. - Removed destroying of window until we solve the problem of X
  8737. destroying the window before us on shutdown
  8738. 2004-10-13 16:32 pbartok
  8739. * ButtonBase.cs:
  8740. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  8741. 2004-10-13 14:18 pbartok
  8742. * XplatUIX11.cs:
  8743. - Added code to destroy the X window
  8744. 2004-10-13 14:18 pbartok
  8745. * XplatUIWin32.cs:
  8746. - Added code to destroy a window
  8747. 2004-10-13 14:12 pbartok
  8748. * ButtonBase.cs:
  8749. - Added the Redraw on Resize that got dropped in the last rev
  8750. 2004-10-13 09:06 pbartok
  8751. * ThemeWin32Classic.cs:
  8752. - Path from John BouAntoun:
  8753. * Fix check rendering (centre correctly for normal style, offset
  8754. correctly for FlatStyle).
  8755. * Fix border color usage (use backcolor) for FlatStyle.Popup
  8756. * Use checkbox.Capture instead of checkbox.is_pressed when
  8757. rendering flatstyle states.
  8758. 2004-10-12 21:48 pbartok
  8759. * ThemeWin32Classic.cs:
  8760. - Removed all occurences of SystemColors and replaced them with the
  8761. matching theme color
  8762. 2004-10-12 21:41 pbartok
  8763. * ThemeWin32Classic.cs:
  8764. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  8765. him using the function for flatstyle drawing
  8766. - Changed functions to use the new version of CPDrawBorder3D
  8767. 2004-10-12 21:15 pbartok
  8768. * ControlPaint.cs:
  8769. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  8770. match MS documentation. They need to return defined colors if the
  8771. passed color matches the configured control color. Thanks to John
  8772. BouAntoun for pointing this out.
  8773. 2004-10-12 20:57 pbartok
  8774. * Control.cs:
  8775. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  8776. color is changed
  8777. 2004-10-12 20:46 pbartok
  8778. * CheckBox.cs:
  8779. - Fix from John BouAntoun: Now properly sets the Appearance property
  8780. 2004-10-12 20:45 pbartok
  8781. * ThemeWin32Classic.cs:
  8782. - Fixes from John BouAntoun: now handles forecolors and backcolors
  8783. for flatstyle rendered controls much better; It also fixes normal
  8784. checkbox rendering when pushed or disabled.
  8785. 2004-10-08 02:50 jordi
  8786. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  8787. work
  8788. 2004-10-07 08:56 jordi
  8789. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  8790. 2004-10-06 03:59 jordi
  8791. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  8792. XplatUIWin32.cs: removes warnings from compilation
  8793. 2004-10-05 12:23 jackson
  8794. * RadioButton.cs: Fix ctor
  8795. 2004-10-05 11:10 pbartok
  8796. * MessageBox.cs:
  8797. - Partial implementation by Benjamin Dasnois
  8798. 2004-10-05 10:15 jackson
  8799. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  8800. by John BouAntoun
  8801. 2004-10-05 03:07 ravindra
  8802. * ToolBar.cs:
  8803. - Removed a private method, Draw ().
  8804. - Fixed the ButtonDropDown event handling.
  8805. - Fixed MouseMove event handling.
  8806. 2004-10-05 03:04 ravindra
  8807. * ThemeWin32Classic.cs:
  8808. - Added DrawListView method and ListViewDefaultSize property.
  8809. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  8810. - Changed DOS style CRLF to Unix format (dos2unix).
  8811. 2004-10-05 03:03 ravindra
  8812. * Theme.cs:
  8813. - Added DrawListView method and ListViewDefaultSize property.
  8814. 2004-10-05 02:42 ravindra
  8815. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  8816. clicks on DropDown arrow.
  8817. 2004-10-04 22:56 jackson
  8818. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  8819. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  8820. Control handle the buffers, derived classes should not have to
  8821. CreateBuffers themselves.
  8822. 2004-10-04 21:20 jackson
  8823. * StatusBar.cs: The control handles resizing the buffers now.
  8824. 2004-10-04 21:18 jackson
  8825. * Control.cs: When resizing the buffers should be invalidated. This
  8826. should be handled in Control not in derived classes.
  8827. 2004-10-04 14:45 jackson
  8828. * TabPage.cs: oops
  8829. 2004-10-04 02:14 pbartok
  8830. * LeftRightAlignment.cs:
  8831. - Initial check-in
  8832. 2004-10-04 01:09 jordi
  8833. * ThemeWin32Classic.cs: fixes right button position causing right
  8834. button not showing on horizontal scrollbars
  8835. 2004-10-02 13:12 pbartok
  8836. * XplatUIX11.cs:
  8837. - Simplified the Invalidate method by using an X call instead of
  8838. generating the expose ourselves
  8839. - Added an expose when the window background is changed
  8840. - Implemented ClientToScreen method
  8841. 2004-10-02 13:08 pbartok
  8842. * XplatUIWin32.cs:
  8843. - Added Win32EnableWindow method (test for implementing modal
  8844. dialogs)
  8845. - Added ClientToScreen method and imports
  8846. 2004-10-02 13:07 pbartok
  8847. * XplatUI.cs, XplatUIDriver.cs:
  8848. - Added ClientToScreen coordinate translation method
  8849. 2004-10-02 13:06 pbartok
  8850. * KeyPressEventArgs.cs:
  8851. - Fixed access level for constructor
  8852. 2004-10-02 13:06 pbartok
  8853. * NativeWindow.cs:
  8854. - Changed access level for the window_collection hash table
  8855. 2004-10-02 13:05 pbartok
  8856. * Form.cs:
  8857. - Added KeyPreview property
  8858. - Added Menu property (still incomplete, pending Jordi's menu work)
  8859. - Implemented ProcessCmdKey
  8860. - Implemented ProcessDialogKey
  8861. - Implemented ProcessKeyPreview
  8862. 2004-10-02 13:02 pbartok
  8863. * Control.cs:
  8864. - Added private method to get the Control object from the window
  8865. handle
  8866. - Implemented ContextMenu property
  8867. - Implemented PointToScreen
  8868. - Implemented PreProcessMessage
  8869. - Implemented IsInputChar
  8870. - Implemented IsInputKey
  8871. - Implemented ProcessCmdKey
  8872. - Completed ProcessKeyEventArgs
  8873. - Fixed message loop to call the proper chain of functions on key
  8874. events
  8875. - Implemented ProcessDialogChar
  8876. - Implemented ProcessDialogKey
  8877. - Implemented ProcessKeyMessage
  8878. - Implemented ProcessKeyPreview
  8879. - Added RaiseDragEvent stub (MS internal method)
  8880. - Added RaiseKeyEvent stub (MS internal method)
  8881. - Added RaiseMouseEvent stub (MS Internal method)
  8882. - Added RaisePaintEvent stub (MS Internal method)
  8883. - Added ResetMouseEventArgs stub (MS Internal method)
  8884. - Implemented RtlTranslateAlignment
  8885. - Implemented RtlTranslateContent
  8886. - Implemented RtlTranslateHorizontal
  8887. - Implemented RtlTranslateLeftRight
  8888. - Added generation of KeyPress event
  8889. 2004-10-02 05:57 ravindra
  8890. * ListViewItem.cs: Added attributes.
  8891. 2004-10-02 05:32 ravindra
  8892. * ListView.cs: Added attributes.
  8893. 2004-10-01 11:53 jackson
  8894. * Form.cs: Implement the Close method so work on MessageBox can
  8895. continue.
  8896. 2004-09-30 14:06 pbartok
  8897. * XplatUIX11.cs:
  8898. - Bug fixes
  8899. 2004-09-30 11:34 jackson
  8900. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  8901. 2004-09-30 07:26 ravindra
  8902. * ListViewItemConverter.cs: Converter for ListViewItem.
  8903. 2004-09-30 07:26 ravindra
  8904. * SortOrder.cs: Enum for ListView control.
  8905. 2004-09-30 07:25 ravindra
  8906. * ColumnHeader.cs: Supporting class for ListView control.
  8907. 2004-09-30 07:24 ravindra
  8908. * ListView.cs, ListViewItem.cs: Initial implementation.
  8909. 2004-09-30 07:20 ravindra
  8910. * ItemActivation.cs: Enum for ListView Control.
  8911. 2004-09-29 20:29 pbartok
  8912. * XplatUIX11.cs:
  8913. - Added lookup of pixel value for background color; tries to get a
  8914. color 'close' to the requested color, it avoids having to create a
  8915. colormap. Depending on the display this could mean the used color
  8916. is slightly off the desired color. Might have to change it to a more
  8917. resource intensive colormap approach, but it will work as a
  8918. workaround to avoid red screens.
  8919. 2004-09-29 14:27 jackson
  8920. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  8921. 2004-09-28 12:44 pbartok
  8922. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  8923. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  8924. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  8925. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  8926. TrackBar.cs, VScrollBar.cs:
  8927. - Streamlined Theme interfaces:
  8928. * Each DrawXXX method for a control now is passed the object for
  8929. the control to be drawn in order to allow accessing any state the
  8930. theme might require
  8931. * ControlPaint methods for the theme now have a CP prefix to avoid
  8932. name clashes with the Draw methods for controls
  8933. * Every control now retrieves it's DefaultSize from the current
  8934. theme
  8935. 2004-09-28 12:17 jackson
  8936. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  8937. drawing
  8938. 2004-09-24 14:57 jackson
  8939. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  8940. Gives us a nice little performance boost.
  8941. 2004-09-24 12:02 jackson
  8942. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  8943. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  8944. Control and supporting classes. Initial checkin
  8945. 2004-09-23 13:08 jackson
  8946. * Form.cs: Temp build fixage
  8947. 2004-09-23 01:39 ravindra
  8948. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  8949. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  8950. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  8951. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  8952. EventHandlers needed by ListView Control.
  8953. 2004-09-22 14:12 pbartok
  8954. * ScrollableControl.cs:
  8955. - Implemented DockPadding property
  8956. - Implemented AutoScroll property
  8957. - Implemented AutoScrollMargin property
  8958. - Implemented AutoScrollMinSize property
  8959. - Implemented AutoScrollPosition property
  8960. - Implemented DisplayRectangle property (still incomplete)
  8961. - Implemented CreateParams property
  8962. - Implemented HScroll property
  8963. - Implemented VScroll property
  8964. - Implemented OnVisibleChanged property
  8965. 2004-09-22 14:09 pbartok
  8966. * Form.cs:
  8967. - Added Form.ControllCollection class
  8968. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  8969. RemoveOwnedForm (still incomplete, missing on-top and common
  8970. minimize/maximize behaviour)
  8971. - Added StartPosition property (still incomplete, does not use when
  8972. creating the form)
  8973. - Added ShowDialog() methods (still incomplete, missing forcing the
  8974. dialog modal)
  8975. 2004-09-22 14:05 pbartok
  8976. * Application.cs:
  8977. - Added message loop for modal dialogs
  8978. 2004-09-22 14:02 pbartok
  8979. * GroupBox.cs:
  8980. - Fixed wrong types for events
  8981. 2004-09-22 14:00 pbartok
  8982. * Shortcut.cs, FormWindowState.cs:
  8983. - Fixed wrong values
  8984. 2004-09-22 12:01 jackson
  8985. * Control.cs: Text is never null
  8986. 2004-09-20 22:14 pbartok
  8987. * XplatUIWin32.cs:
  8988. - Fixed accessibility level for Idle handler
  8989. 2004-09-20 18:54 jackson
  8990. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  8991. XplatUIX11.cs: New message loop that uses poll so we don't get a
  8992. busy loop
  8993. 2004-09-17 10:43 pbartok
  8994. * ScrollBar.cs:
  8995. - Fixed behaviour of arrow buttons. Now properly behaves like
  8996. Buttons (and like Microsoft's scrollbar arrow buttons)
  8997. 2004-09-17 10:14 pbartok
  8998. * ScrollBar.cs:
  8999. - Added missing release of keyboard/mouse capture
  9000. 2004-09-17 06:18 jordi
  9001. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  9002. Theme.cs: Very early menu support
  9003. 2004-09-16 17:45 pbartok
  9004. * XplatUIWin32.cs:
  9005. - Fixed sending a window to the front
  9006. - Added overload for SetWindowPos to avoid casting
  9007. 2004-09-16 17:44 pbartok
  9008. * Control.cs:
  9009. - Added SendToBack and BringToFront methods
  9010. 2004-09-16 07:00 ravindra
  9011. * Copyright: Added Novell URL.
  9012. 2004-09-16 07:00 ravindra
  9013. * ToolBar.cs: Invalidate should be done before redrawing.
  9014. 2004-09-15 21:19 ravindra
  9015. * ColumnHeaderStyle.cs: Enum for ListView Control.
  9016. 2004-09-15 21:18 ravindra
  9017. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  9018. ListView Control.
  9019. 2004-09-13 18:26 jackson
  9020. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  9021. properly
  9022. 2004-09-13 18:13 jackson
  9023. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  9024. a second thread and post messages into the main threads message
  9025. queue. This makes timing much more consistent. Both win2K and XP
  9026. have a minimum timer value of 15 milliseconds, so we now do this
  9027. too.
  9028. 2004-09-13 15:18 pbartok
  9029. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  9030. XplatUIX11.cs:
  9031. - Added Z-Ordering methods
  9032. 2004-09-13 10:56 pbartok
  9033. * Form.cs:
  9034. - Fixed #region names
  9035. - Moved properties and methods into their proper #regions
  9036. 2004-09-13 10:51 pbartok
  9037. * Form.cs:
  9038. - Added Accept and CancelButton properties
  9039. - Added ProcessDialogKey() method
  9040. 2004-09-13 08:18 pbartok
  9041. * IWindowTarget.cs:
  9042. - Initial check-in
  9043. 2004-09-10 21:50 pbartok
  9044. * Control.cs:
  9045. - Added DoDragDrop() [incomplete]
  9046. - Properly implemented 'Visible' handling
  9047. - Added SetVisibleCore()
  9048. - Implemented FindChildAtPoint()
  9049. - Implemented GetContainerControl()
  9050. - Implemented Hide()
  9051. 2004-09-10 19:28 pbartok
  9052. * Control.cs:
  9053. - Moved methods into their appropriate #regions
  9054. - Reordered methods within regions alphabetically
  9055. 2004-09-10 18:57 pbartok
  9056. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  9057. - Added method to retrieve text from window
  9058. 2004-09-10 18:56 pbartok
  9059. * Control.cs:
  9060. - Moved some internal functions into the internal region
  9061. - Implemented FontHeight
  9062. - Implemented RenderRightToLeft
  9063. - Implemented ResizeRedraw
  9064. - Implemented ShowFocusCues
  9065. - Implemented ShowKeyboardCues
  9066. - Implemented FromChildHandle
  9067. - Implemented FromHandle
  9068. - Implemented IsMnemonic
  9069. - Implemented ReflectMessage
  9070. - All public and protected Static Methods are now complete
  9071. 2004-09-10 16:54 pbartok
  9072. * Control.cs:
  9073. - Implemented remaining missing public instance properties
  9074. - Alphabetized some out of order properties
  9075. 2004-09-10 05:51 ravindra
  9076. * PictureBox.cs: Added a check for null image.
  9077. 2004-09-10 00:59 jordi
  9078. * GroupBox.cs: remove cvs tag
  9079. 2004-09-09 05:25 ravindra
  9080. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  9081. 2004-09-09 05:23 ravindra
  9082. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  9083. parent redraw.
  9084. 2004-09-09 02:28 pbartok
  9085. * ThemeWin32Classic.cs:
  9086. - Improve disabled string look
  9087. 2004-09-09 01:15 jordi
  9088. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  9089. args and handler
  9090. 2004-09-08 23:56 ravindra
  9091. * ItemBoundsPortion.cs: It's enum, not a class!
  9092. 2004-09-08 23:47 ravindra
  9093. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  9094. Enums for Form.
  9095. 2004-09-08 21:13 ravindra
  9096. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  9097. ListView control.
  9098. 2004-09-08 21:03 ravindra
  9099. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  9100. avoid crash.
  9101. 2004-09-08 21:01 ravindra
  9102. * ScrollableControl.cs: Removed unreachable code.
  9103. 2004-09-08 06:45 jordi
  9104. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  9105. 2004-09-08 01:00 jackson
  9106. * XplatUIX11.cs: Only run the timers when updating the message
  9107. queue. This effectively gives X messages a higher priority then
  9108. timer messages. Timers still need love though
  9109. 2004-09-07 14:01 jackson
  9110. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  9111. this for us and the handle is no longer valid.
  9112. 2004-09-07 13:59 jackson
  9113. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  9114. loop that manages to not crash. TODO: Add poll and cleanup timers
  9115. 2004-09-07 11:12 jordi
  9116. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  9117. 2004-09-07 03:40 jordi
  9118. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  9119. fixes, methods, multiple links
  9120. 2004-09-06 06:55 jordi
  9121. * Control.cs: Caches ClientRectangle rectangle value
  9122. 2004-09-05 02:03 jordi
  9123. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  9124. certain situations
  9125. 2004-09-04 11:10 jordi
  9126. * Label.cs: Refresh when font changed
  9127. 2004-09-02 16:24 pbartok
  9128. * Control.cs:
  9129. - Added sanity check to creation of double buffer bitmap
  9130. 2004-09-02 16:24 pbartok
  9131. * ButtonBase.cs:
  9132. - Fixed selection of text color
  9133. - Fixed handling of resize event; now properly recreates double
  9134. buffering bitmap
  9135. - Added missing assignment of TextAlignment
  9136. - Added proper default for TextAlignment
  9137. 2004-09-02 14:26 pbartok
  9138. * RadioButton.cs:
  9139. - Added missing RadioButton.RadioButtonAccessibleObject class
  9140. 2004-09-02 14:26 pbartok
  9141. * Control.cs:
  9142. - Added missing Control.ControlAccessibleObject class
  9143. - Started to implement Select()ion mechanisms, still very incomplete
  9144. 2004-09-02 14:25 pbartok
  9145. * AccessibleObject.cs:
  9146. - Added missing methods
  9147. 2004-09-02 14:23 pbartok
  9148. * AccessibleNavigation.cs, AccessibleSelection.cs:
  9149. - Initial check-in
  9150. 2004-09-02 10:32 jordi
  9151. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  9152. pool for pens, brushes, and hatchbruses
  9153. 2004-09-01 15:30 jackson
  9154. * StatusBar.cs: Fix typo
  9155. 2004-09-01 14:44 pbartok
  9156. * RadioButton.cs:
  9157. - Fixed state
  9158. 2004-09-01 14:39 pbartok
  9159. * Button.cs, RadioButton.cs:
  9160. - Functional initial check-in
  9161. 2004-09-01 14:01 pbartok
  9162. * CheckBox.cs:
  9163. - Added missing default
  9164. - Added missing region mark
  9165. 2004-09-01 09:10 jordi
  9166. * Label.cs: fixes method signatures, new methods, events, fixes
  9167. autosize
  9168. 2004-09-01 07:19 jordi
  9169. * Control.cs: Init string variables with an empty object
  9170. 2004-09-01 04:20 jordi
  9171. * Control.cs: fires OnFontChanged event
  9172. 2004-08-31 20:07 pbartok
  9173. * ButtonBase.cs:
  9174. - Enabled display of strings
  9175. 2004-08-31 20:05 pbartok
  9176. * Form.cs:
  9177. - Added (partial) implementation of DialogResult; rest needs to be
  9178. implemented when the modal loop code is done
  9179. 2004-08-31 19:55 pbartok
  9180. * CheckBox.cs:
  9181. - Fixed to match the removal of the needs_redraw concept
  9182. 2004-08-31 19:55 pbartok
  9183. * ButtonBase.cs:
  9184. - Removed the rather odd split between 'needs redraw' and redrawing
  9185. - Now handles the events that require regeneration (ambient
  9186. properties and size)
  9187. 2004-08-31 19:41 pbartok
  9188. * Control.cs:
  9189. - Added firing of BackColorChanged event
  9190. - Added TopLevelControl property
  9191. - Fixed handling of WM_ERASEBKGRND message
  9192. 2004-08-31 12:49 pbartok
  9193. * ButtonBase.cs:
  9194. - Removed debug
  9195. - Minor fixes
  9196. 2004-08-31 12:48 pbartok
  9197. * CheckBox.cs:
  9198. - Finished (famous last words)
  9199. 2004-08-31 04:35 jordi
  9200. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  9201. scrolling bugs, adds new methods
  9202. 2004-08-30 14:42 pbartok
  9203. * CheckBox.cs:
  9204. - Implemented CheckBox drawing code
  9205. 2004-08-30 14:42 pbartok
  9206. * ButtonBase.cs:
  9207. - Made Redraw() and CheckRedraw() virtual
  9208. - Improved mouse up/down/move logic to properly track buttons
  9209. 2004-08-30 09:44 pbartok
  9210. * CheckBox.cs:
  9211. - Updated to fix broken build. Not complete yet.
  9212. 2004-08-30 09:28 pbartok
  9213. * CheckState.cs:
  9214. - Initial checkin
  9215. 2004-08-30 09:17 pbartok
  9216. * Appearance.cs:
  9217. - Initial check-in
  9218. 2004-08-27 16:12 ravindra
  9219. * ToolBarButton.cs: Added TypeConverter attribute.
  9220. 2004-08-27 16:07 ravindra
  9221. * ImageIndexConverter.cs: Implemented.
  9222. 2004-08-27 14:17 pbartok
  9223. * Control.cs:
  9224. - Removed unneeded stack vars
  9225. - First attempt to fix sizing issues when layout is suspended
  9226. 2004-08-25 15:35 jordi
  9227. * ScrollBar.cs: more fixes to scrollbar
  9228. 2004-08-25 14:04 ravindra
  9229. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  9230. Added the missing divider code and grip for ToolBar Control.
  9231. 2004-08-25 13:20 pbartok
  9232. * Control.cs:
  9233. - Control now properly passes the ambient background color to child
  9234. controls
  9235. 2004-08-25 13:20 jordi
  9236. * ScrollBar.cs: small bug fix regarding bar position
  9237. 2004-08-25 12:33 pbartok
  9238. * Timer.cs:
  9239. - Now only calls SetTimer or KillTimer if the enabled state has
  9240. changed
  9241. 2004-08-25 12:33 pbartok
  9242. * XplatUIWin32.cs:
  9243. - Fixed timer handling, now seems to work
  9244. - Improved error message for window creation
  9245. 2004-08-25 12:32 pbartok
  9246. * Control.cs:
  9247. - Fixed generation of MouseUp message
  9248. 2004-08-25 12:29 jordi
  9249. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  9250. and fixes for progressbar
  9251. 2004-08-24 18:43 ravindra
  9252. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  9253. in ToolBar control.
  9254. 2004-08-24 17:15 pbartok
  9255. * Panel.cs:
  9256. - Added #region
  9257. - Added missing events
  9258. - Alphabetized
  9259. 2004-08-24 17:14 pbartok
  9260. * StatusBar.cs, PictureBox.cs:
  9261. - Now uses Control's CreateParams
  9262. 2004-08-24 16:36 pbartok
  9263. * XplatUIX11.cs:
  9264. - Fixed background color handling
  9265. - Fixed sending of enter/leave events on a grab
  9266. 2004-08-24 16:35 pbartok
  9267. * X11Structs.cs:
  9268. - Refined definitions for CrossingEvent
  9269. 2004-08-24 12:37 jordi
  9270. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  9271. formmating, methods signature, and adds missing events
  9272. 2004-08-24 12:24 jordi
  9273. * Control.cs: fire OnEnabledChanged event
  9274. 2004-08-24 11:17 pbartok
  9275. * XplatUIWin32.cs:
  9276. - Implemented SetTimer() and KillTimer()
  9277. 2004-08-24 11:16 pbartok
  9278. * XplatUIX11.cs:
  9279. - Now uses Remove instead of Add to kill the timer
  9280. 2004-08-24 10:16 jackson
  9281. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  9282. picture boxes in the theme now. Draw picture box borders and obey
  9283. sizing modes
  9284. 2004-08-24 05:49 jackson
  9285. * Timer.cs: Remove top secret debugging code
  9286. 2004-08-24 05:34 jackson
  9287. * PictureBox.cs: Temp hack to make picture boxes draw their full
  9288. image
  9289. 2004-08-24 05:29 jackson
  9290. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  9291. XplatUIX11.cs: Move timers to the driver level. On X they are
  9292. queued by the driver and checked on idle.
  9293. 2004-08-24 01:07 jackson
  9294. * XplatUIX11.cs: Use a queue for async messages instead of passing
  9295. them as ClientMessages since that was totally broken. Also simply
  9296. check for events and return an idle message if none are found. This
  9297. gives us an idle handler, and prevents deadlocking when no messages
  9298. are in the queue.
  9299. 2004-08-23 18:19 ravindra
  9300. * XplatUIWin32.cs: Removed the unwanted destructor.
  9301. 2004-08-23 17:27 pbartok
  9302. * ButtonBase.cs:
  9303. - Finishing touches. Works now, just needs some optimizations.
  9304. 2004-08-23 16:53 jordi
  9305. * ScrollBar.cs: small fix
  9306. 2004-08-23 16:45 pbartok
  9307. * Application.cs:
  9308. - Removed debug output
  9309. - Simplifications
  9310. 2004-08-23 16:43 jordi
  9311. * ScrollBar.cs: [no log message]
  9312. 2004-08-23 16:10 pbartok
  9313. * Form.cs:
  9314. - Fixed handling of WM_CLOSE message
  9315. - Removed debug output
  9316. 2004-08-23 16:09 pbartok
  9317. * Application.cs:
  9318. - Added handling of Idle event
  9319. - Added handling of form closing
  9320. - Fixed reporting of MessageLoop property
  9321. - Removed some unneeded code, should provide a bit of a speedup
  9322. 2004-08-23 15:22 pbartok
  9323. * Control.cs:
  9324. - Added InitLayout() method
  9325. - Added code to properly perform layout when Anchor or Dock property
  9326. is changed
  9327. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  9328. LAMESPEC, tried to do it in a way that makes sense
  9329. 2004-08-23 14:10 jordi
  9330. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  9331. properties and methods
  9332. 2004-08-23 13:55 pbartok
  9333. * Control.cs:
  9334. - Properly fixed Jordi's last fix
  9335. - Now uses Cursor's Position property instead of calling XplatUI
  9336. directly
  9337. 2004-08-23 13:44 jordi
  9338. * PaintEventHandler.cs: Adding missing attribute
  9339. 2004-08-23 13:39 pbartok
  9340. * Cursor.cs:
  9341. - Implemented Position property
  9342. 2004-08-23 13:39 pbartok
  9343. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  9344. - Added method to move mouse cursor
  9345. 2004-08-23 13:39 pbartok
  9346. * XplatUIX11.cs:
  9347. - Fixed setting of background color
  9348. - Added method to move mouse cursor
  9349. 2004-08-23 13:16 jordi
  9350. * Control.cs: avoids null exception
  9351. 2004-08-22 17:46 jackson
  9352. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  9353. PictureBox
  9354. 2004-08-22 17:40 jackson
  9355. * XplatUIX11.cs: Add some missing locks
  9356. 2004-08-22 15:10 pbartok
  9357. * Control.cs, Form.cs:
  9358. - Removed OverlappedWindow style from Control, instead it's default
  9359. now is child
  9360. - Made form windows OverlappedWindow by default
  9361. 2004-08-22 13:34 jackson
  9362. * ScrollBar.cs: Update the position through the Value property so
  9363. the OnValueChanged event is raised.
  9364. 2004-08-22 12:04 pbartok
  9365. * SWF.csproj:
  9366. - Added Cursor.cs and UserControl.cs
  9367. 2004-08-22 12:03 pbartok
  9368. * Cursor.cs:
  9369. - Started implementation, not usable yet
  9370. 2004-08-22 12:00 pbartok
  9371. * UserControl.cs:
  9372. - Implemented UserControl (complete)
  9373. 2004-08-21 19:20 ravindra
  9374. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  9375. 2004-08-21 18:49 ravindra
  9376. * ToolBar.cs: Probably this completes the missing attributes in
  9377. toolbar control.
  9378. 2004-08-21 18:03 ravindra
  9379. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  9380. Fixed toolbar control signatures.
  9381. 2004-08-21 16:32 pbartok
  9382. * LinkLabel.cs:
  9383. - Signature Fixes
  9384. 2004-08-21 16:30 pbartok
  9385. * Label.cs:
  9386. - Signature fixes
  9387. 2004-08-21 16:19 pbartok
  9388. * Control.cs, Label.cs:
  9389. - Signature fixes
  9390. 2004-08-21 15:57 pbartok
  9391. * ButtonBase.cs:
  9392. - Added loads of debug output for development
  9393. - Fixed typo in method name
  9394. 2004-08-21 15:52 pbartok
  9395. * ToolBarButtonClickEventArgs.cs:
  9396. - Added missing base class
  9397. 2004-08-21 14:53 pbartok
  9398. * Control.cs:
  9399. - Updated to match new GrabWindow signature
  9400. 2004-08-21 14:51 pbartok
  9401. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  9402. - Added method to get default display size
  9403. 2004-08-21 14:23 pbartok
  9404. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  9405. - Added method to query current grab state
  9406. - Added argument to allow confining a grab to a window
  9407. 2004-08-21 14:22 pbartok
  9408. * Keys.cs:
  9409. - Added [Flags] attribute so that modifiers can be used in bitwise
  9410. ops
  9411. 2004-08-21 14:21 pbartok
  9412. * TrackBar.cs, ScrollBar.cs:
  9413. - Replaced direct XplatUI calls with their Control counterpart
  9414. 2004-08-21 13:32 pbartok
  9415. * Control.cs:
  9416. - Implemented Created property
  9417. 2004-08-21 13:28 pbartok
  9418. * Control.cs:
  9419. - Implemented ContainsFocus
  9420. 2004-08-21 13:26 pbartok
  9421. * Control.cs:
  9422. - Implemented CausesValidation
  9423. 2004-08-21 13:21 pbartok
  9424. * Control.cs:
  9425. - Implemented CanFocus
  9426. - Implemented CanSelect
  9427. - Implemented Capture
  9428. 2004-08-21 12:35 pbartok
  9429. * XplatUIWin32.cs:
  9430. - Fixed bug with Async message handling
  9431. - Implemented getting the ModifierKeys
  9432. 2004-08-21 12:32 jackson
  9433. * AsyncMethodResult.cs: Make sure we have the mutex before we
  9434. release it. Fixes BeginInvoke on windows
  9435. 2004-08-21 11:31 pbartok
  9436. * XplatUIWin32.cs, XplatUIX11.cs:
  9437. - Drivers now return proper mouse state
  9438. 2004-08-21 10:54 jackson
  9439. * Control.cs: Implement EndInvoke
  9440. 2004-08-21 10:48 jackson
  9441. * Timer.cs: Remove unneeded finalizer
  9442. 2004-08-20 19:52 ravindra
  9443. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  9444. in mouse event handling in the ToolBar control.
  9445. 2004-08-20 19:50 ravindra
  9446. * ImageList.cs: Changed draw method to use the arguments passed in
  9447. to draw the image.
  9448. 2004-08-20 18:58 pbartok
  9449. * XplatUIStructs.cs:
  9450. - Added private message for async communication
  9451. 2004-08-20 17:38 ravindra
  9452. * Control.cs: Made RightToLeft property virtual and removed a
  9453. Console.WriteLine.
  9454. 2004-08-20 14:39 jordi
  9455. * ThemeGtk.cs: use style_attach
  9456. 2004-08-20 14:39 pbartok
  9457. * XplatUIWin32.cs:
  9458. - Added jackson's Async code from X11 to Win32
  9459. 2004-08-20 14:09 pbartok
  9460. * SWF.csproj:
  9461. - Added all new files
  9462. 2004-08-20 14:09 pbartok
  9463. * Control.cs:
  9464. - Added call to set window background color
  9465. 2004-08-20 14:03 pbartok
  9466. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  9467. - Added method for setting the window background
  9468. 2004-08-20 14:02 pbartok
  9469. * XplatUIWin32.cs:
  9470. - Added method for setting the background color
  9471. - Added handling for erasing the window background
  9472. 2004-08-20 13:45 jordi
  9473. * TrackBar.cs: fixes timer, new properties and methods
  9474. 2004-08-20 13:34 jackson
  9475. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  9476. correct thread
  9477. 2004-08-20 13:22 jackson
  9478. * Timer.cs: Timer Tick events are now handed through Controls Async
  9479. mechanism so the callbacks are executed in the same thread as X
  9480. 2004-08-20 13:19 jackson
  9481. * XplatUIDriver.cs: Expose functionality to send async messages
  9482. through the driver
  9483. 2004-08-20 13:18 jackson
  9484. * Control.cs: Implement Begininvoke
  9485. 2004-08-20 13:14 jackson
  9486. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  9487. messages through the driver
  9488. 2004-08-20 13:12 jackson
  9489. * XplatUIX11.cs: Lock before all X operations. Also added Async
  9490. method functionality through XSendEvent
  9491. 2004-08-20 13:11 jackson
  9492. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  9493. This will screw up on 64 bit systems)
  9494. 2004-08-20 13:10 jackson
  9495. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  9496. Async messages through X/Win32
  9497. 2004-08-19 19:39 pbartok
  9498. * XplatUIX11.cs:
  9499. - Updated code to match new HandleData.DeviceContext type
  9500. 2004-08-19 19:38 pbartok
  9501. * HandleData.cs:
  9502. - Made DeviceContext a generic object to allow usage from various
  9503. drivers
  9504. - Added support for queueing Windows messages
  9505. 2004-08-19 19:37 pbartok
  9506. * XplatUIWin32.cs:
  9507. - Added generation of MouseEnter, MouseLeave and MouseHover events
  9508. - Added cleanup on EndPaint
  9509. 2004-08-19 19:17 pbartok
  9510. * Control.cs:
  9511. - Added handling of WM_MOUSEHOVER
  9512. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  9513. code
  9514. 2004-08-19 18:55 jordi
  9515. * ThemeGtk.cs: fixes button order
  9516. 2004-08-19 18:12 jordi
  9517. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  9518. 2004-08-19 17:09 pbartok
  9519. * Control.cs:
  9520. - Added Right property
  9521. - Added RightToLeft property
  9522. 2004-08-19 16:27 jordi
  9523. * ThemeGtk.cs: experimental GTK theme support
  9524. 2004-08-19 16:26 jordi
  9525. * ITheme.cs, Theme.cs: move themes from an interface to a class
  9526. 2004-08-19 16:25 jordi
  9527. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  9528. theme enhancaments
  9529. 2004-08-19 16:04 pbartok
  9530. * XplatUIX11.cs:
  9531. - Added colormap basics
  9532. - Added a way to re-initialize with a different display handle
  9533. - Fixed setting of the window background color
  9534. - Added various X11 imports related to colors and colormaps
  9535. 2004-08-19 15:51 pbartok
  9536. * X11Structs.cs:
  9537. - Removed packing hints (Paolo suggested this a while back)
  9538. - fixed colormap type
  9539. - Added default Atom types
  9540. - Added Screen and color structs and enums
  9541. 2004-08-19 15:39 pbartok
  9542. * ImageList.cs:
  9543. - Added missing Draw() method
  9544. - Added missing RecreateHandle event
  9545. 2004-08-19 15:30 pbartok
  9546. * Form.cs:
  9547. - Added handling of WM_CLOSE
  9548. 2004-08-18 13:16 jordi
  9549. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  9550. a table
  9551. 2004-08-18 09:56 jordi
  9552. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  9553. 2004-08-17 15:31 ravindra
  9554. * SWF.csproj: Updated project.
  9555. 2004-08-17 15:25 pbartok
  9556. * Control.cs:
  9557. - Drawing improvement; don't call UpdateBounds if we are not visible
  9558. (or have been minimized)
  9559. 2004-08-17 15:24 pbartok
  9560. * XplatUIWin32.cs:
  9561. - Finished IsVisible
  9562. - Added Win32GetWindowPlacement
  9563. 2004-08-17 15:08 jackson
  9564. * Panel.cs: Initial checkin of the Panel
  9565. 2004-08-17 14:25 pbartok
  9566. * Control.cs:
  9567. - Fixed broken handling of default window sizes
  9568. 2004-08-17 13:29 jackson
  9569. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  9570. has a large startup time.
  9571. 2004-08-17 10:25 jackson
  9572. * HandleData.cs: union areas properly
  9573. 2004-08-17 10:12 jackson
  9574. * HandleData.cs: union areas properly
  9575. 2004-08-16 20:00 ravindra
  9576. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  9577. 2004-08-16 18:48 ravindra
  9578. * ToolBar.cs: Added attributes.
  9579. 2004-08-16 17:17 ravindra
  9580. * SWF.csproj: Updated project.
  9581. 2004-08-16 17:16 jackson
  9582. * XplatUIX11.cs: Check for more expose events before sending a
  9583. WM_PAINT so they can all be grouped together. This makes dragging a
  9584. window across another window redraw in a sane way.
  9585. 2004-08-16 15:47 pbartok
  9586. * Control.cs:
  9587. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  9588. support OnMouseEnter/Leave()
  9589. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  9590. exposure handling
  9591. 2004-08-16 15:46 pbartok
  9592. * XplatUIStructs.cs, XplatUIX11.cs:
  9593. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  9594. OnMouseEnter/Leave()
  9595. 2004-08-16 15:34 jackson
  9596. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  9597. sure messages get the message field set to WM_NULL if they are not
  9598. handled.
  9599. 2004-08-16 15:24 jackson
  9600. * HandleData.cs: HandleData is used for storing message information
  9601. for window handles
  9602. 2004-08-15 17:23 ravindra
  9603. * ColorDepth.cs: Added attribute.
  9604. 2004-08-15 17:23 ravindra
  9605. * SWF.csproj: Updated project for ToolBar Control.
  9606. 2004-08-15 17:20 ravindra
  9607. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  9608. control and also dos2unix format.
  9609. 2004-08-15 17:13 ravindra
  9610. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  9611. ToolBarButtonClickEventArgs.cs,
  9612. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  9613. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  9614. 2004-08-15 15:31 pbartok
  9615. * ButtonBase.cs:
  9616. - First (mostly) working version
  9617. 2004-08-13 16:15 pbartok
  9618. * Control.cs:
  9619. - Fixed Anchor default
  9620. 2004-08-13 15:43 pbartok
  9621. * Control.cs:
  9622. - Changed GetCursorPos signature
  9623. 2004-08-13 15:42 pbartok
  9624. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  9625. - Changed signature for GetCursorPos
  9626. 2004-08-13 15:25 pbartok
  9627. * XplatUIX11.cs:
  9628. - Cleanup
  9629. - Fixed resizing/exposure handling
  9630. 2004-08-13 15:22 jordi
  9631. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  9632. with tickposition
  9633. 2004-08-13 14:55 jordi
  9634. * TrackBar.cs: change from wndproc to events
  9635. 2004-08-13 13:00 jordi
  9636. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  9637. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  9638. 2004-08-13 12:53 pbartok
  9639. * XplatUIWin32.cs:
  9640. - Changed GetWindowPos to also provide client area size
  9641. - Fixed broken prototypes for several win32 functions
  9642. 2004-08-13 12:53 pbartok
  9643. * XplatUI.cs, XplatUIDriver.cs:
  9644. - Changed GetWindowPos to also provide client area size
  9645. 2004-08-13 12:52 pbartok
  9646. * XplatUIX11.cs:
  9647. - Added generation of WM_POSCHANGED
  9648. - Changed GetWindowPos to also provide client area size
  9649. 2004-08-13 12:52 pbartok
  9650. * Control.cs:
  9651. - Added Dispose() and destructor
  9652. - Fixed resizing and bounds calculation
  9653. - Fixed Layout
  9654. - Added memory savings for invisible windows
  9655. 2004-08-13 12:46 jordi
  9656. * TrackBar.cs: adds timer and grap window
  9657. 2004-08-13 10:25 jackson
  9658. * Timer.cs: SWF Timer
  9659. 2004-08-12 16:59 pbartok
  9660. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  9661. - Implemented method to get current mouse position
  9662. 2004-08-12 14:29 jordi
  9663. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  9664. enhancement, fix mouse problems, highli thumb, etc
  9665. 2004-08-12 13:31 pbartok
  9666. * Control.cs:
  9667. - Fixed Anchoring bugs
  9668. 2004-08-12 13:01 jackson
  9669. * StatusBar.cs: Don't forget things
  9670. 2004-08-12 12:54 jackson
  9671. * ThemeWin32Classic.cs: Handle owner draw status bars
  9672. 2004-08-12 12:54 jackson
  9673. * StatusBar.cs: Implement missing properties, events, and methods.
  9674. Handle mouse clicking
  9675. 2004-08-12 10:19 jackson
  9676. * StatusBarPanelClickEventArgs.cs,
  9677. StatusBarPanelClickEventHandler.cs: Classes for handling status
  9678. bar panel click events
  9679. 2004-08-12 10:10 jackson
  9680. * Control.cs: Add missing properties
  9681. 2004-08-12 09:46 pbartok
  9682. * BindingsManagerBase.cs:
  9683. - Name changed to BindingManagerBase.cs
  9684. 2004-08-12 09:25 jordi
  9685. * ScrollableControl.cs: calls ctrlbase instead of exeception
  9686. 2004-08-11 16:28 pbartok
  9687. * InputLanguageChangingEventArgs.cs:
  9688. - Never check in before compiling. Fixes the last check-in
  9689. 2004-08-11 16:26 pbartok
  9690. * InputLanguageChangingEventArgs.cs:
  9691. - More signature fixes
  9692. 2004-08-11 16:20 pbartok
  9693. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  9694. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  9695. ImageListStreamer.cs, InputLanguage.cs,
  9696. InputLanguageChangedEventArgs.cs,
  9697. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  9698. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  9699. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  9700. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  9701. - Signature fixes
  9702. 2004-08-11 16:16 pbartok
  9703. * Application.cs:
  9704. - Fixed Signature
  9705. - Added .Net 1.1 method
  9706. 2004-08-11 15:25 pbartok
  9707. * SWF.csproj:
  9708. - Fixed BindingManagerBase.cs filename
  9709. 2004-08-11 15:22 pbartok
  9710. * BindingManagerBase.cs:
  9711. - Was checked in with wrong filename
  9712. 2004-08-11 14:50 pbartok
  9713. * SWF.csproj:
  9714. - Updated
  9715. 2004-08-11 13:41 jordi
  9716. * XplatUIWin32.cs: Fixes ClientRect
  9717. 2004-08-11 13:19 pbartok
  9718. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  9719. XplatUIX11.cs:
  9720. - We had SetWindowPos and MoveWindow to set window positions and
  9721. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  9722. keep SetWindowPos as matching counterpart
  9723. - Added some X11 sanity checking
  9724. 2004-08-11 12:59 pbartok
  9725. * Control.cs:
  9726. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  9727. (It seems that SetBounds is just a front for SetBoundsCore and
  9728. SetBoundsCore updates the underlying window system and
  9729. UpdateBounds is responsible for updating the variables associated
  9730. with the Control and sending the events)
  9731. - Major cleanup of Size handling; we now have two sizes, client_size
  9732. and bounds. Bounds defines the window with decorations, client_size
  9733. without them.
  9734. 2004-08-11 12:55 pbartok
  9735. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  9736. - Added method to calculate difference between decorated window and
  9737. raw client area
  9738. 2004-08-11 12:54 pbartok
  9739. * Label.cs:
  9740. - Forcing redraw on resize
  9741. 2004-08-11 11:43 pbartok
  9742. * ImageList.cs:
  9743. - Removed disposing of the actual images when the list is disposed
  9744. 2004-08-11 09:13 pbartok
  9745. * Control.cs:
  9746. - Now properly reparents windows
  9747. 2004-08-11 08:37 pbartok
  9748. * Control.cs:
  9749. - Duh!
  9750. 2004-08-11 07:47 pbartok
  9751. * Control.cs:
  9752. - Rewrote the collection stuff. Might not be as fast now, not
  9753. keeping the number of children around and accessible directly, but
  9754. it's more straightforward
  9755. 2004-08-11 07:44 pbartok
  9756. * AccessibleObject.cs:
  9757. - Fixed to match ControlCollection rewrite
  9758. 2004-08-11 07:43 pbartok
  9759. * ImageList.cs:
  9760. - Added missing creation of the collection list
  9761. 2004-08-10 20:08 jackson
  9762. * StatusBar.cs: Get the paint message from WndProc
  9763. 2004-08-10 19:31 jackson
  9764. * ThemeWin32Classic.cs: Create Brushes as little as possible
  9765. 2004-08-10 19:20 jackson
  9766. * UICues.cs: Add Flags attribute
  9767. 2004-08-10 19:19 jackson
  9768. * StatusBarPanel.cs: Signature cleanup
  9769. 2004-08-10 19:10 jackson
  9770. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  9771. Initial implementation of status bar item drawing
  9772. 2004-08-10 17:27 jordi
  9773. * TrackBar.cs: add missing methods, properties, and restructure to
  9774. hide extra ones
  9775. 2004-08-10 16:24 jackson
  9776. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  9777. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  9778. attribute
  9779. 2004-08-10 13:21 jordi
  9780. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  9781. enhancements and standarize on win colors defaults
  9782. 2004-08-10 12:52 jackson
  9783. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  9784. ThemeWin32Classic.cs: Implement DrawItem functionality
  9785. 2004-08-10 12:47 jordi
  9786. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  9787. 2004-08-10 12:32 jordi
  9788. * Control.cs: throw ontextchange event
  9789. 2004-08-10 11:43 pbartok
  9790. * Control.cs:
  9791. - Added more to the still unfinished Dock/Anchor layout code
  9792. 2004-08-10 11:39 pbartok
  9793. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  9794. - Added GetWindowPos method
  9795. 2004-08-10 11:36 pbartok
  9796. * XplatUIWin32.cs:
  9797. - Implemented several methods
  9798. 2004-08-10 09:47 jackson
  9799. * TrackBar.cs: Allow control to handle buffering
  9800. 2004-08-10 09:41 jackson
  9801. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  9802. 2004-08-10 09:24 jackson
  9803. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  9804. 2004-08-10 09:09 jackson
  9805. * StatusBar.cs: Let Control handle all the buffering.
  9806. 2004-08-10 09:08 jackson
  9807. * Control.cs: Control will now handle the buffering code, so each
  9808. control does not have to implement this.
  9809. 2004-08-10 08:34 jackson
  9810. * XplatUIDriver.cs: Use default colors from the theme
  9811. 2004-08-09 17:12 pbartok
  9812. * ImageList.cs:
  9813. - Fixed several bugs Ravindra pointed out
  9814. 2004-08-09 16:11 pbartok
  9815. * Control.cs:
  9816. - Added incomplete dock layout code
  9817. - Added support for mouse wheel
  9818. 2004-08-09 16:09 pbartok
  9819. * XplatUIX11.cs:
  9820. - Added handling for middle and right mousebutton
  9821. - Added handling for mouse wheel
  9822. - Added handling for key state and mouse state and position
  9823. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  9824. messages
  9825. 2004-08-09 15:40 jackson
  9826. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  9827. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  9828. checkin
  9829. 2004-08-09 15:37 jackson
  9830. * StatusBar.cs: Initial implementation of StatusBar
  9831. 2004-08-09 15:36 jackson
  9832. * ITheme.cs: Add support for drawing status bar and getting status
  9833. bar item sizes
  9834. 2004-08-09 15:35 pbartok
  9835. * MouseButtons.cs:
  9836. - Fixed values
  9837. 2004-08-09 15:34 jackson
  9838. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  9839. status bar item sizes
  9840. 2004-08-09 15:21 jackson
  9841. * ThemeWin32Classic.cs: Use known colors for default control
  9842. colours
  9843. 2004-08-09 15:12 jackson
  9844. * ThemeWin32Classic.cs: Make the default font static, it is static
  9845. in control so this doesn't change functionality and creating fonts
  9846. is sloooooow.
  9847. 2004-08-09 14:56 pbartok
  9848. * X11Structs.cs:
  9849. - Added GrabMode enum
  9850. 2004-08-09 14:55 pbartok
  9851. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  9852. - Removed Run method, was only required for initial development
  9853. 2004-08-09 14:51 pbartok
  9854. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  9855. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  9856. capture
  9857. 2004-08-09 13:48 pbartok
  9858. * XplatUIX11.cs:
  9859. - Fixed default sizing for child windows
  9860. 2004-08-09 12:56 pbartok
  9861. * XplatUIX11.cs:
  9862. - Added generation of WM_DESTROY message
  9863. - Added handling of window manager induced shutdown
  9864. 2004-08-09 11:31 jackson
  9865. * ThemeWin32Classic.cs: New names for control properties
  9866. 2004-08-09 11:25 jackson
  9867. * Control.cs: Use new color names
  9868. 2004-08-09 11:02 jackson
  9869. * XplatUI.cs: Get default window properties from the theme
  9870. 2004-08-09 11:01 jackson
  9871. * ITheme.cs: The theme engine now controls default window
  9872. properties
  9873. 2004-08-09 11:00 jackson
  9874. * ThemeWin32Classic.cs: Add default window color properties
  9875. 2004-08-09 10:17 jackson
  9876. * ThemeWin32Classic.cs: Use correct default back color
  9877. 2004-08-09 10:05 jackson
  9878. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  9879. the theme now.
  9880. 2004-08-09 09:56 jackson
  9881. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  9882. 2004-08-09 09:54 jackson
  9883. * Control.cs: Get default properties from the theme.
  9884. 2004-08-09 09:53 jackson
  9885. * ITheme.cs: Themes now handle default control properties
  9886. 2004-08-09 09:53 jackson
  9887. * ThemeWin32Classic.cs: Themes now handle default control
  9888. properties so coloring will be consistent
  9889. 2004-08-08 16:54 jordi
  9890. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  9891. 2004-08-08 15:08 jordi
  9892. * XplatUIX11.cs: fixes keyboard crash
  9893. 2004-08-08 13:47 jordi
  9894. * Label.cs: add cvs header info
  9895. 2004-08-08 12:09 jackson
  9896. * ThemeWin32Classic.cs: Add pen_buttonface
  9897. 2004-08-08 11:52 jordi
  9898. * Label.cs, LinkLabel.cs: [no log message]
  9899. 2004-08-08 11:34 jordi
  9900. * ThemeWin32Classic.cs: Use Windows Standard Colours
  9901. 2004-08-07 17:32 jordi
  9902. * TrackBar.cs: throw exceptions of invalid enums values
  9903. 2004-08-07 17:31 jordi
  9904. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  9905. draw method name
  9906. 2004-08-07 16:56 jackson
  9907. * HorizontalAlignment.cs: Initial checkin
  9908. 2004-08-07 13:16 jordi
  9909. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  9910. methods
  9911. 2004-08-07 13:05 jordi
  9912. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  9913. GetSysColor defines
  9914. 2004-08-06 18:01 pbartok
  9915. * ThemeWin32Classic.cs:
  9916. - Fixed some rounding issues with float/int
  9917. 2004-08-06 18:00 jackson
  9918. * DockStyle.cs, AnchorStyles.cs:
  9919. Add flags and serializable attributes.
  9920. 2004-08-06 17:46 pbartok
  9921. * XplatUIX11.cs:
  9922. - Implemented GetParent
  9923. 2004-08-06 17:18 pbartok
  9924. * TrackBar.cs:
  9925. - Fixed some rounding issues with float/int
  9926. 2004-08-06 17:17 pbartok
  9927. * X11Structs.cs, XplatUIX11.cs:
  9928. - Fixed Refresh and Invalidate
  9929. 2004-08-06 15:30 pbartok
  9930. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  9931. - Fixed recursive loop when resizing
  9932. - Improved/fixed redrawing on expose messages
  9933. 2004-08-06 09:53 jordi
  9934. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  9935. keyboard navigation
  9936. 2004-08-06 08:02 pbartok
  9937. * X11Structs.cs, XplatUIX11.cs:
  9938. - Fixed reparenting
  9939. - Fixed window border creation
  9940. 2004-08-05 15:38 pbartok
  9941. * XplatUIX11.cs:
  9942. - Attempted fix for reparenting problems
  9943. 2004-08-04 15:14 pbartok
  9944. * Control.cs:
  9945. - Fixed Invalidation bug (calculated wrong client area)
  9946. - Added ClientSize setter
  9947. 2004-08-04 15:13 pbartok
  9948. * Form.cs:
  9949. - Added AutoScale properties
  9950. 2004-08-04 15:13 pbartok
  9951. * SWF.csproj:
  9952. - Added latest files
  9953. 2004-08-04 14:11 pbartok
  9954. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  9955. XplatUIX11.cs:
  9956. - Added Invalidate handling
  9957. 2004-08-03 17:09 jordi
  9958. * XplatUIDriver.cs: fixes spelling mistake
  9959. 2004-07-27 09:53 jordi
  9960. * TrackBar.cs: fixes trackbar events, def classname, methods
  9961. signature
  9962. 2004-07-27 09:29 jordi
  9963. * ScrollBar.cs: fixes scrollbar events
  9964. 2004-07-27 04:38 jordi
  9965. * Control.cs: changes to be able to run winforms samples
  9966. 2004-07-26 11:42 jordi
  9967. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  9968. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  9969. 2004-07-26 05:41 jordi
  9970. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  9971. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  9972. implementation
  9973. 2004-07-22 09:22 jordi
  9974. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  9975. check link overlapping, implement events, and fixes
  9976. 2004-07-21 10:28 jordi
  9977. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  9978. 2004-07-21 10:19 jordi
  9979. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  9980. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  9981. LinkLabelLinkClickedEventArgs.cs,
  9982. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  9983. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  9984. implementation
  9985. 2004-07-19 13:09 jordi
  9986. * Control.cs, Label.cs: label control re-written: added missing
  9987. functionlity, events, and properties
  9988. 2004-07-19 10:49 jordi
  9989. * Control.cs: fixes SetBounds logic
  9990. 2004-07-19 01:29 jordi
  9991. * Control.cs: Call RefreshWindow only if the window has created
  9992. 2004-07-15 14:05 pbartok
  9993. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  9994. - Implemented ImageList and ImageList.ImageCollection classes
  9995. - Added ColorDepth enumeration
  9996. - Updated SWF VS.Net project
  9997. 2004-07-15 11:06 jordi
  9998. * XplatUIStructs.cs: added MsgButons enum
  9999. 2004-07-15 11:03 jordi
  10000. * Control.cs: added basic mouse handeling events
  10001. 2004-07-15 03:38 jordi
  10002. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  10003. Vertical TrackBar control implementation
  10004. 2004-07-13 09:33 jordi
  10005. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  10006. 2004-07-13 09:31 jordi
  10007. * Control.cs, Form.cs: commit: new properties and fixes form size
  10008. problems
  10009. 2004-07-09 14:13 miguel
  10010. * ProgressBar.cs: Spelling
  10011. 2004-07-09 11:25 pbartok
  10012. * ProgressBar.cs:
  10013. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  10014. faster
  10015. 2004-07-09 11:17 miguel
  10016. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  10017. * ProgressBar.cs: Fixed spelling for `block'
  10018. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  10019. style guidelines.
  10020. Avoid using the += on rect.X, that exposed a bug in the compiler.
  10021. 2004-07-08 23:21 pbartok
  10022. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  10023. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  10024. BaseCollection.cs, Binding.cs, BindingContext.cs,
  10025. BindingMemberInfo.cs, BindingsCollection.cs,
  10026. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  10027. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  10028. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  10029. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  10030. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  10031. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  10032. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  10033. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  10034. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  10035. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  10036. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  10037. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  10038. InputLanguageChangedEventArgs.cs,
  10039. InputLanguageChangedEventHandler.cs,
  10040. InputLanguageChangingEventArgs.cs,
  10041. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  10042. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  10043. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  10044. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  10045. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  10046. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  10047. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  10048. QueryAccessibilityHelpEventArgs.cs,
  10049. QueryAccessibilityHelpEventHandler.cs,
  10050. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  10051. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  10052. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  10053. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  10054. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  10055. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  10056. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  10057. XplatUIX11.cs, lang.cs:
  10058. - Initial check-in