ChangeLog 574 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439
  1. 2006-09-01 Alexander Olk <[email protected]>
  2. * MimeIcon.cs: Improved handling for reading default icons when
  3. using gnome (2.16 made it necessary). Check and read svg icons
  4. first, then 48x48 and then 32x32 icons.
  5. 2006-08-31 Chris Toshok <[email protected]>
  6. * DataGridTextBoxColumn.cs: only hide the textbox if it's still
  7. visible.
  8. * DataGridTextBox.cs: Pass Tab's up to the datagrid by calling
  9. ProcessKeyPreview. Fixes part of #77806.
  10. * DataGrid.cs: big patch.
  11. - revert the queueing up of DataSource/DataMember if inside
  12. BeginInit/EndInit calls. That's not the way the datagrid achieves
  13. its delayed databinding. Instead, call SetDataSource in
  14. OnBindingContextChanged. This mimic's MS's behavior, and fixes
  15. #78811.
  16. - Also, it wasn't mentioned in #78811, but the test case exhibits
  17. behavior that was lacking in our datagrid implementation - Columns
  18. that have mapping names that don't exist in the datasource's
  19. properties aren't shown. Yuck. To fix this I added the bound
  20. field to the column style, and basically any calculation to figure
  21. out anything about columns uses a loop to find the bound columns.
  22. still need to investigate if I can cache an array of the bound
  23. columns or if the indices must be the same.
  24. - When setting CurrentCell, we no longer abort if the cell being
  25. edited was in the add row. This fixes the other part of #77806.
  26. - The new code also fixes #78807.
  27. * ThemeWin32Classic.cs: perpetrate the same disgusting
  28. column.bound field hack, and only render bound fields.
  29. 2006-08-31 Chris Toshok <[email protected]>
  30. * DataGridColumnStyle.cs: add bound field. this field is true if
  31. the datasource has a property corresponding to the mapping name.
  32. * DataGridTableStyle.cs: set the bound field on the column styles
  33. depending on whether or not we have a column for that property.
  34. 2006-08-31 Peter Dennis Bartok <[email protected]>
  35. * Splitter.cs (SetBoundsCore): Don't ignore width/height of the
  36. splitter control (fixes #79228)
  37. 2006-08-31 Chris Toshok <[email protected]>
  38. * DataGridColumnStyle.cs: we need to delay the assignment of
  39. property descriptor until the last possible moment due to the lazy
  40. databinding stuff in the datagrid. Also, fix the exceptions
  41. thrown by CheckValidDataSource to match MS.
  42. 2006-08-31 Jackson Harper <[email protected]>
  43. * Form.cs: When activated select the active control, if there is
  44. no active control, we select the first control.
  45. * XplatUIX11.cs: If there is no focus control when we get a
  46. FocusIn event, find the toplevel form and activate it. This
  47. occurs when you popup a window, it becomes the focus window, then
  48. you close that window, giving focus back to the main window.
  49. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  50. * MonthCalendar.cs:
  51. * ThemeWin32Classic.cs: Cache Font in bold style, as well
  52. as StringFormat with Center alignments in MonthCalendar,
  53. instead of creating new ones when drawing the control.
  54. Also, draw the month name in bold style.
  55. 2006-08-30 Peter Dennis Bartok <[email protected]>
  56. * Control.cs:
  57. - PerformLayout(): It would seem MS performs the fill even if the
  58. control is not visible (part of #79218 fix)
  59. - ResetBackColor(): Use the setter to reset the color, to allow
  60. overriders to catch the change.
  61. * Form.cs:
  62. - .ctor: Call UpdateBounds to adjust client rectangle (part of #79218 fix)
  63. - CreateHandle(): dito (part of $79218 fix)
  64. - Don't set an icon if we have a dialog
  65. * ScrollableControl.cs:
  66. - set_AutoScrollMinSize: Setting the property enables AutoScroll (#79218)
  67. - ScrollIntoView(): No need to scroll if control is already visible
  68. (resolves fixme and fixes #79218)
  69. 2006-08-30 Carlos Alberto Cortez <[email protected]>
  70. * MonthCalendar.cs: Change proportions in SingleMonthSize
  71. to match the aspect of the original control.
  72. 2006-08-29 Alexander Olk <[email protected]>
  73. * XplatUIX11.cs: Fix for a metacity/X problem where windows don't
  74. get updated when they get maximized.
  75. 2006-08-29 Peter Dennis Bartok <[email protected]>
  76. * XplatUIX11.cs: Handle windows with no border (Fixes part of #79160)
  77. 2006-08-29 Chris Toshok <[email protected]>
  78. * XplatUIX11.cs: when destroying the FocusWindow, send KILLFOCUS.
  79. 2006-08-29 Jackson Harper <[email protected]>
  80. * TreeView.cs: Need to track selected node and highlighted node,
  81. they aren't always the same thing, when the mouse is down on a
  82. node it is hilighted, but not selected yet.
  83. - Do the HideSelection stuff right
  84. - Need to focus on rbutton mouse down. And redraw selection when
  85. right click is mouse upped.
  86. 2006-08-29 Mike Kestner <[email protected]>
  87. * ThemeWin32Classic.cs: draw selections for columns in FullRowSelect
  88. when SubItems.Count < Columns.Count. [Fixes #79167]
  89. 2006-08-28 Peter Dennis Bartok <[email protected]>
  90. * TextControl.cs (FindCursor): Fix math error (Fixes #78402)
  91. 2006-08-28 Peter Dennis Bartok <[email protected]>
  92. * XplatUIX11.cs: Preempt the roundtrip for getting the location back
  93. from X. Only send based on ConfigureNotify if we don't have the
  94. correct location in hwnd (if the window manager moved us)
  95. 2006-08-28 Mike Kestner <[email protected]>
  96. * ListView.cs: remove a TODO.
  97. * ThemeWin32Classic.cs: implement HideSelection support for ListView.
  98. [Fixes ListView part of #79166]
  99. 2006-08-28 Mike Kestner <[email protected]>
  100. * ListView.cs: move wheel handler to parent since it is focused
  101. instead of the item_control now. [Fixes #79177]
  102. 2006-08-28 Mike Kestner <[email protected]>
  103. * ThemeWin32Classic.cs: only highlight subitems in fullrowselect
  104. when the control is focused. [Fixes #79171]
  105. 2006-08-28 Mike Kestner <[email protected]>
  106. * ListView.cs: size the item and header controls for empty and
  107. unscrollable views.
  108. * ThemeWin32Classic.cs: draw disabled backgrounds.
  109. [Fixes #79187]
  110. 2006-08-28 Chris Toshok <[email protected]>
  111. * Form.cs: remove unused "active_form" static field.
  112. * Hwnd.cs: lock around accesses to static windows collection.
  113. * Application.cs: lock threads in Exit ().
  114. 2006-08-28 Chris Toshok <[email protected]>
  115. * NativeWindow.cs: lock around accesses to window_collection.
  116. 2006-08-28 Chris Toshok <[email protected]>
  117. * Control.cs: err, fix this the right way, by locking on controls
  118. when using it. not by making it synchronized.
  119. 2006-08-28 Chris Toshok <[email protected]>
  120. * Control.cs: make the static "controls" field synchronized, as it
  121. gets updated from multiple threads.
  122. 2006-08-27 Peter Dennis Bartok <[email protected]>
  123. * XplatUIX11.cs: PostQuitMessage is thread-specific not app-specific.
  124. Prevent other threads from exiting when calling thread sets quit state.
  125. * XEventQueue.cs: Added PostQuitState property
  126. 2006-08-27 Chris Toshok <[email protected]>
  127. * AsyncMethodData.cs: add a slot for the window handle.
  128. * XplatUIX11.cs (SendAsyncMethod): send the event to the right
  129. window (the destination control's window, not the foster window).
  130. * Control.cs (BeginInvokeInternal): store the window's handle in
  131. the AsyncMethodData.
  132. 2006-08-27 Peter Dennis Bartok <[email protected]>
  133. * XplatUIX11.cs:
  134. - PostQuitMessage: Removed resetting S.D display handle, we might have
  135. another loop started after calling PostQuitMessage (Fixes #79119)
  136. - Created destructor to reset S.D handle
  137. 2006-08-27 Peter Dennis Bartok <[email protected]>
  138. * XplatUIX11.cs (SetCursor): Issue flush after setting the cursor (#79168)
  139. 2006-08-23 Peter Dennis Bartok <[email protected]>
  140. * TextControl.cs (Insert): Update the caret position even if we don't
  141. have a handle yet, just don't call the driver in that case.
  142. * TextBoxBase.cs (set_SelectedText): Set the Start and End selection
  143. to the end of the new selection text (Fixes #79184)
  144. 2006-08-23 Peter Dennis Bartok <[email protected]>
  145. * Form.cs (Activate): Only activate if the handle is created)
  146. * Control.c:
  147. - Mark window as invisible when it's disposed
  148. - Check if window handle is created when setting window visible,
  149. instead of relying just on the is_created variable
  150. - Check if object is disposed when creating the control (Fixes #79155)
  151. 2006-08-23 Peter Dennis Bartok <[email protected]>
  152. * ScrollableWindow.cs (ScrollWindow): Don't actually perform layouting
  153. when allowing layout again. Otherwise we re-generate the anchoring
  154. distance to the border again and actually alter what the user wanted
  155. This is ugly, it'd be better if we used DisplayRectangle instead of
  156. ClientRectangle for Control.UpdateDistances, but that causes us to
  157. have other problems (initial anchoring positons would be wrong)
  158. (Fixes #78835)
  159. 2006-08-23 Peter Dennis Bartok <[email protected]>
  160. * Control.cs:
  161. - The size and location setters shouldn't go directly to
  162. SetBoundsCore, but to SetBounds, which triggers layout on the
  163. parent, then calls SetBoundsCore. (Related to fix for #78835)
  164. - SetBounds: Moved actual location update code into this function
  165. from SetBoundsCore, to match MS. Added call to PerformLayout if
  166. we have a parent (to trigger resizing of anchored parents if the
  167. child size has changed (see testcase for #78835)
  168. * ListBox.cs, Form.cs: Call SetBounds instead of SetBoundsCore to match
  169. new control code
  170. * ScrollableControl.cs (CalculateCanvasSize): Use shortcut variable
  171. 2006-08-23 Peter Dennis Bartok <[email protected]>
  172. * XplatUIX11.cs: Don't reset the DisplayHandle that's stored in
  173. System.Drawing when a toplevel window gets closed; there might
  174. be other toplevel windows belonging to the same app (Fixes #78052)
  175. 2006-08-26 Alexander Olk <[email protected]>
  176. * FileDialog.cs: After reading FileDialog settings from mwf_config
  177. use Desktop prefix only if a real folder doesn't exist anymore.
  178. * FontDialog.cs: Added char sets.
  179. It is now possible to select the font, size or style with the
  180. textboxes.
  181. 2006-08-25 Kornél Pál <[email protected]>
  182. * PrintPreviewDialog.cs: Use assembly name constants.
  183. 2006-08-23 Peter Dennis Bartok <[email protected]>
  184. * XplatUIWin32.cs (ScrollWindow): Use clipping rectangle arg (prevents
  185. scrollbar from whacking it's buttons)
  186. 2006-08-24 Chris Toshok <[email protected]>
  187. * ScrollableControl.cs: fix #78271. There's a lot of misc stuff
  188. in this patch (aggregating setting Left/Top/Width/Height to
  189. setting Bounds on the scrollbars), but the crux of the fix is in
  190. Recalculate, where we scroll by the remaining scroll_position if
  191. we're hiding a scrollbar. The 2*$5 reward in the comment is
  192. serious.
  193. 2006-08-24 Jackson Harper <[email protected]>
  194. * MdiClient.cs:
  195. * MdiWindowManager.cs: If the form is made a non-mdi window we
  196. need to remove the form closed event so that closing forms works
  197. correctly.
  198. 2006-08-24 Jackson Harper <[email protected]>
  199. * Control.cs: Make IsRecreating internal so that the driver can
  200. check it
  201. - Temporarily remove the Hide when controls are removed, its
  202. making a whole bunch of things not work because visibility isn't
  203. getting reset elsewhere correctly
  204. * Form.cs: Need to do a full handle recreation when the mdi parent
  205. is set.
  206. * XplatUIX11.cs: If we are recreating handles don't dispose the
  207. HWNDs. What was happening is the handles were being recreated in
  208. SendWMDestroyMessages, but then flow continued on in that method
  209. and destroyed the new handles.
  210. 2006-08-23 Jackson Harper <[email protected]>
  211. * Form.cs: MdiClient is always at the back of the bus
  212. * Control.cs: When the order of items in the collection is changed
  213. we need to reset the all_controls array
  214. - do the same sorta setup thats done when adding a control when a
  215. control is set on the collection.
  216. 2006-08-23 Peter Dennis Bartok <[email protected]>
  217. * TextBoxBase.cs (get_Text): Return an empty array if our document
  218. is empty (fixes #79052)
  219. 2006-08-23 Peter Dennis Bartok <[email protected]>
  220. * Control.cs: We should call IsInputChar on only on WM_CHAR but not
  221. on WM_SYSCHAR messages (fixes #79053)
  222. 2006-08-23 Chris Toshok <[email protected]>
  223. * DataGrid.cs: fix flickering when scrolling vertically.
  224. 2006-08-23 Chris Toshok <[email protected]>
  225. * DataGrid.cs (EndEdit): only invalidate the row header when we
  226. need to.
  227. 2006-08-23 Chris Toshok <[email protected]>
  228. * ThemeWin32Classic.cs: fix the clip munging of the datagrid paint
  229. methods. fixes the flicker when scrolling around.
  230. 2006-08-23 Peter Dennis Bartok <[email protected]>
  231. * FileDialog.cs: Making sure the control is created before we get a
  232. chance to use it with BeginInvoke (Fixes #79096)
  233. 2006-08-23 Chris Toshok <[email protected]>
  234. * ThemeWin32Classic.cs (DataGridPaintRows): calculate the proper
  235. width to use when painting the rows.
  236. 2006-08-23 Peter Dennis Bartok <[email protected]>
  237. * TextBoxBase.cs:
  238. - Throw ArgumentException if a negative value is passed to SelectionLength
  239. - Update the selection end if start is moved. end needs to be always
  240. after start. (Fixes #79095)
  241. - Track selection length; MS keeps the selection length even if start
  242. is changed; reset on all other operations affection selection
  243. 2006-08-22 Jackson Harper <[email protected]>
  244. * TreeView.cs: Make sure both scrollbars get displayed and sized
  245. correctly when the other bar is visible.
  246. - Use the original clip rectangle for checking if the area between
  247. the two scrollbars is visible, not the viewport adjusted clipping
  248. rectangle.
  249. 2006-08-22 Jackson Harper <[email protected]>
  250. * Binding.cs: We don't use IsBinding because it requires the
  251. control to be created, which really shouldn't be necessary just to
  252. set a property on the control.
  253. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  254. * ComboBox.cs: Some CB.ObjectCollection methods must throw
  255. ArgumentNullReferenceException when the argument is null.
  256. 2006-08-21 Jackson Harper <[email protected]>
  257. * Timer.cs: Track the thread that the timer is started in (NOT
  258. CREATED), this way messages for it will only be triggered on its
  259. queue.
  260. * XEventQueue.cs: Track the timers here, this makes timers per
  261. thread, like MS.
  262. * XplatUIX11.cs: The timers are moved to the XEventQueue.
  263. 2006-08-19 Chris Toshok <[email protected]>
  264. * XplatUIX11.cs: after further communication with pdb, we get the
  265. best of both worlds. SetZOrder working for un-Mapped windows, and
  266. no X errors for un-mapped windows.
  267. 2006-08-19 Chris Toshok <[email protected]>
  268. * XplatUIX11.cs (SetZOrder): remove the if (!hwnd.mapped) check,
  269. as it was causing pdn toolbars to not have the correct stacking.
  270. 2006-08-18 Mike Kestner <[email protected]>
  271. * ListView.cs : guard against negative ClientArea.Width in scrollbar
  272. calculation. Not sure why control should ever be setting a negative
  273. width though. Fixes #78931.
  274. 2006-08-18 Carlos Alberto Cortez <[email protected]>
  275. * ComboBox.cs: Throw ArgumentNullException when adding/modifyng
  276. null items in ObjectCollection class.
  277. * ListBox.cs.: Likewise.
  278. 2006-08-18 Atsushi Enomoto <[email protected]>
  279. * ThemeNice.cs, ThemeClearlooks.cs : remove RadioButton_DrawFocus()
  280. as the base method in ThemeWin32Classic should work fine.
  281. Fixed bug #78607.
  282. 2006-08-18 Jackson Harper <[email protected]>
  283. * Binding.cs: When validating if the value entered doesn't convert
  284. properly reset to the old value.
  285. * RadioButton.cs: Don't fire click when we get focus.
  286. 2006-08-18 Jackson Harper <[email protected]>
  287. * FileDialog.cs: Paint the selection on the directory combobox the
  288. same way as on MS.
  289. 2006-08-17 Jackson Harper <[email protected]>
  290. * ErrorProvider.cs: Don't allow the error control to be selected.
  291. * Control.cs: Don't send the SetFocus messages, the control
  292. activation will do this, and if we do it blindly here validation
  293. does not work.
  294. 2006-08-17 Jackson Harper <[email protected]>
  295. * Control.cs:
  296. * ContainerControl.cs: Make validation events fire in the correct
  297. order. TODO: For some reason the first validation event is not
  298. getting fired.
  299. 2006-08-17 Mike Kestner <[email protected]>
  300. * ComboBox.cs : some null guarding for ComboListBox.Scroll.
  301. 2006-08-17 Mike Kestner <[email protected]>
  302. * ComboBox.cs : implement scroll wheel support for popped-down
  303. state. Fixes #78945.
  304. 2006-08-17 Jackson Harper <[email protected]>
  305. * TreeView.cs: Specify treeview actions (old patch that didn't get
  306. committed for some reason).
  307. - Don't let the mouse wheel scroll us too far. Just want to make
  308. the bottom node visible, not scroll it all the ways to the top.
  309. 2006-08-17 Jackson Harper <[email protected]>
  310. * XplatUIX11.cs: Mouse wheel events go to the focused window.
  311. 2006-08-17 Mike Kestner <[email protected]>
  312. * ComboBox.cs : don't do mouseover selection in simple mode.
  313. 2006-08-16 Jackson Harper <[email protected]>
  314. * Form.cs: Fire the closing events for all the mdi child windows
  315. when a window is closed. If the cancel args are set to true, the
  316. main window still gets the event fired, but it doesn't not close.
  317. * MdiWindowManager.cs: Do this closing cleanup in a Closed
  318. handler, instead of when the button is clicked, so cancelling the
  319. close works correctly.
  320. * ComboBox.cs: Send the mouse down to the scrollbar.
  321. 2006-08-16 Carlos Alberto Cortez <[email protected]>
  322. * ListBox.cs: When passing 'null' to SelectedItem,
  323. set SelectedIndex to -1, to unselect items. This is the
  324. observed behaviour in .Net.
  325. 2006-08-16 Peter Dennis Bartok <[email protected]>
  326. * TextBoxBase.cs: Overriding HandleClick to get clicks in spite of
  327. MS flags saying there won't be any. (fixes #78800)
  328. * Control.cs (HandleClick): Made virtual
  329. 2006-08-16 Atsushi Enomoto <[email protected]>
  330. * PageSetupDialog.cs : use Yard-Pound units only in en-GB and en-US
  331. cultures. Fixed bug #78399.
  332. 2006-08-16 Jackson Harper <[email protected]>
  333. * Form.cs: Use the MdiClients MdiChildren property to access
  334. MdiChildren instead of creating the array from the child controls.
  335. * MdiClient.cs: Maintain a separate array of the mdi children, so
  336. that insertion order is maintained when the Z-order is changed.
  337. 2006-08-16 Mike Kestner <[email protected]>
  338. * ListView.cs : add an ItemComparer and default to it for sorting.
  339. Fixes #79076, but sorting needs a complete overhaul to be compat with
  340. MS.
  341. 2006-08-15 Peter Dennis Bartok <[email protected]>
  342. * XplatUIX11.cs (SetZOrder): Fix debugging leftover (fixes #79080)
  343. 2006-08-15 Peter Dennis Bartok <[email protected]>
  344. * Hwnd.cs (Mapped): Properly traverse the tree
  345. 2006-08-15 Chris Toshok <[email protected]>
  346. * Binding.cs: fix PullData/SetPropertyValue. We don't want to
  347. pass manager.Current.GetType() to ParseData. It has to be the
  348. property type. So, hold off doing the ParseData until we're in
  349. SetPropertyValue where we know the type. This fixes the crash in
  350. #78821 but the textbox is still empty.
  351. 2006-08-15 Chris Toshok <[email protected]>
  352. * DataGrid.cs:
  353. - when we're scrolling, only call Edit() again if the
  354. current cell is still unobscured. Fixes bug #78927.
  355. - when handling mousedown on a cell, ensure the cell is visible
  356. before calling Edit.
  357. - remove the properties from DataGridRow, and remove the
  358. DataGridParentRow class altogether.
  359. 2006-08-15 Peter Dennis Bartok <[email protected]>
  360. * TextBoxBase.cs (set_Text): Don't use base.Text, instead just
  361. fire OnTextChanged by ourselves. There's no point calling base,
  362. we don't set the base value anywhere else. Fixes #78773.
  363. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  364. * ListBox.cs: Call CollectionChanged when modifying
  365. an item from Items indexer, to update the actual items
  366. in the list box.
  367. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  368. * PrintDialog.cs: Small fixes for focus and a pair of checks,
  369. to match .Net behaviour.
  370. 2006-08-15 Peter Dennis Bartok <[email protected]>
  371. * XplatUIX11.cs (SetZOrder): Handle raising toplevel windows
  372. 2006-08-15 Peter Dennis Bartok <[email protected]>
  373. * Control.cs: Handle BringToFront for toplevel windows (Fixes #78737)
  374. 2006-08-15 Peter Dennis Bartok <[email protected]>
  375. * MessageBox.cs: Prevent potential NRE exception.
  376. * TextBoxBase.cs: AutoSize only applies if MultiLine is false. Fixes #78889
  377. 2006-08-14 Peter Dennis Bartok <[email protected]>
  378. * MessageBox.cs: Calculate the owner of a messagebox, also make
  379. it topmost. Fixes #78753
  380. 2006-08-14 Chris Toshok <[email protected]>
  381. * XplatUIX11.cs: A couple of fixes so that metacity will let us
  382. programmatically move windows. first, set the PPosition hint as
  383. well as the USPosition hint. Second include some code from pdb
  384. that sets the window type to NORMAL when we set the transient for
  385. hint. This is because, in the absence of a window type, metacity
  386. thinks any window with TransientFor set is a dialog, and refuses
  387. to let us move it programmatically. fascists.
  388. 2006-08-14 Peter Dennis Bartok <[email protected]>
  389. * XplatUIX11.cs: When setting normal hints, take into consideration
  390. an different hints previously set so we don't delete them (fixes #78866)
  391. 2006-08-12 Chris Toshok <[email protected]>
  392. * ToolBarButton.cs: make Layout return a boolean, if something to
  393. do with the button's layout changed.
  394. * ToolBar.cs:
  395. - add another parameter to Redraw, @force, which all existing
  396. calls set to true.
  397. - make the Layout function return a boolean which is true if the
  398. layout has actually changed. Redraw now uses this (and @force)
  399. to determine when to invalidate. At present the only place
  400. where @force can be false is the call from OnResize, when
  401. background_image == null. So, resizing a toolbar when the
  402. layout doesn't change results in no drawing.
  403. 2006-08-12 Chris Toshok <[email protected]>
  404. * ThemeWin32Classic.cs: fix the bottom right corner painting. had
  405. the VScrollBar and HScrollbar reversed. oops.
  406. * DataGrid.cs: fix the logic that assigns sizes to the implicit
  407. scrollbars. we were assigning them twice (once in
  408. Calc{Horiz,Vertical}Scrollbar, and once in CalcGridAreas),
  409. therefore causing two scrollbar resizes (and redraws?) to happen
  410. per grid resize.
  411. 2006-08-12 Chris Toshok <[email protected]>
  412. * ToolBarButton.cs: redraw the entire button if the theme tells us
  413. to.
  414. * Theme.cs: add ToolBarInvalidateEntireButton.
  415. * ThemeWin32Classic.cs: we don't need to redraw the entire toolbar
  416. buttons, just the border.
  417. * ThemeNice.cs: redraw the entire toolbar button since we need to
  418. draw the highlight image.
  419. * ThemeClearlooks.cs: the rounded corners of toolbar buttons mean
  420. we need to redraw the entire button (not just the border).
  421. 2006-08-11 Peter Dennis Bartok <[email protected]>
  422. * TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
  423. for vertical bars. Fixes the mismatches shown by #78513
  424. 2006-08-11 Alexander Olk <[email protected]>
  425. * FileDialog.cs: If a saved/remembered path doesn't exist
  426. anymore, fall back to "Desktop".
  427. 2006-08-11 Peter Dennis Bartok <[email protected]>
  428. * Form.cs (CreateParams): Don't use Parent.Handle unless we have a
  429. parent. It's apparently legal to not have one
  430. * XplatUIX11.cs:
  431. - SetZOrder: Don't try to set Z-Order on an unmapped window
  432. - CreateWindow: 0,0 are legal coordinates for a window. don't move
  433. it unless the coordinates are negative
  434. 2006-08-10 Mike Kestner <[email protected]>
  435. * ListControl.cs: allow null for DataSource. Clear DisplayMember
  436. when setting to null per msdn docs. Fixes #78854.
  437. 2006-08-10 Chris Toshok <[email protected]>
  438. * Menu.cs, MainMenu.cs, MenuAPI.cs: get rid of most of the
  439. flickering by setting a clip rectangle on the Graphics when we
  440. need to redraw just a particular menuitem. Also, rename "OnClick"
  441. to "OnMouseDown" to reflect what it actually is.
  442. * Form.cs: track the OnMouseDown change.
  443. 2006-08-10 Peter Dennis Bartok <[email protected]>
  444. * CommonDialog.cs: Properly inherit the CreateParams from the form
  445. and only change what we need. Fixes #78865
  446. 2006-08-10 Chris Toshok <[email protected]>
  447. * ToolBar.cs, ToolBarButton.cs: fix the redraw-on-highlight
  448. flickering in flat mode (and most of the flickering in general) by
  449. only invalidating the button border (and not the entire rectangle)
  450. when the state changes. A couple of cases still flicker:
  451. ToggleButtons, and the dropdown arrow case when the user mouse
  452. ups.
  453. 2006-08-10 Alexander Olk <[email protected]>
  454. * X11Keyboard.cs: Fixed handling of the Del key on the cursorblock
  455. for german keyboards. Numlock state shouldn't affect the behaviour
  456. of the Del key. Fixes bug #78291.
  457. 2006-08-10 Chris Toshok <[email protected]>
  458. * ListControl.cs: remove the items.Clear line from BindDataItems,
  459. as this is the first thing done by both subclasses in their
  460. SetItemsCore overrides. Also, add a ItemChanged handler, and when
  461. passed -1, refresh the list. This gets databinding working when
  462. the datasource is set on the list before the datasource is
  463. populated (as in wf-apps/ReportBuilder.)
  464. * ComboBox.cs: remove the argument to BindDataItems. This call
  465. should really go away, and be initiated by the ListControl code.
  466. * ListBox.cs: same.
  467. 2006-08-09 Peter Dennis Bartok <[email protected]>
  468. * TextControl.cs (Document.ctor): Initialize caret so we don't crash
  469. if no data is in the document when the control is displayed
  470. 2006-08-09 Peter Dennis Bartok <[email protected]>
  471. * TextBoxBase.cs: Don't try moving the caret if we don't have a window
  472. yes (fixes #78806)
  473. * TextControl.cs:
  474. - PositionCaret: Allow positioning of caret but don't call methods
  475. requiring a handle if the window isn't created yet
  476. - CharIndexToLineTag: Fix ending loop early error. Lines is 1 based
  477. - owner_HandleCreated: Don't position the caret, just update it's
  478. location. User might have already set a different position
  479. 2006-08-09 Peter Dennis Bartok <[email protected]>
  480. * XplatUIWin32.cs: Don't use the desktop as basis for foster-parented
  481. windows. Screws up the returned coordinates for child windows.
  482. Fixes #78825. I'm hoping this doesn't break something, since the
  483. code was explicitly put in 8 months ago, but no bug was attached.
  484. Menus still seem to work properly.
  485. 2006-08-08 Chris Toshok <[email protected]>
  486. * DataGrid.cs: make BeginInit/EndInit actually do what they're
  487. supposed to do - delay data binding until the EndInit call. Also,
  488. make the table style collection's CollectionChangeAction.Refresh
  489. work properly.
  490. * GridTableStylesCollection.cs: raise a CollectionChangeEvent
  491. (with action = Refresh) when a consituent table's MappingName is
  492. changed.
  493. 2006-08-08 Chris Toshok <[email protected]>
  494. * ToolBarButton.cs: in set_Text, call Parent.Redraw, not
  495. Invalidate, since changing the text can change the size of the all
  496. toolbar buttons.
  497. 2006-08-08 Peter Dennis Bartok <[email protected]>
  498. * Form.cs (AddOwnedForm): Still need to add the form to our listif
  499. we don't have it yet
  500. 2006-08-08 Chris Toshok <[email protected]>
  501. * PrintControllerWithStatusDialog.cs: don't .Close() the status
  502. dialog, as this causes X errors later on, since we actually
  503. destroy the window. Instead, .Hide() it.
  504. 2006-08-08 Peter Dennis Bartok <[email protected]>
  505. * ComboBox.cs: Added focus reflection for popup window
  506. * XplatUIX11.cs:
  507. - Removed transient setting for non-app windows for now, not sure it
  508. was needed
  509. - Fixed logic checking if we have captions when deciding
  510. override_redirect, WS_CAPTION is two bits and a 0 check was not
  511. sufficient
  512. - Removed the WINDOW_TYPE stuff, it was unneeded and making things
  513. complicated
  514. * Form.cs:
  515. - AddOwnedForm: Don't just add the form to the list, call the property
  516. to ensure the driver is informed about the ownership as well
  517. - CreateHandle: Set the TopMost status in the driver if we have an owner
  518. * XplatUI.cs: Fixed debug statement
  519. 2006-08-08 Jonathan Pobst <[email protected]>
  520. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  521. GroupBoxRenderer.cs, ProgressBarRenderer.cs, RadioButtonRenderer.cs,
  522. ScrollBarRenderer.cs, TabRenderer.cs, TextBoxRenderer.cs,
  523. TrackBarRenderer.cs: Make constructor private.
  524. * ProfessionalColors.cs, ProfessionalColorTable.cs: Fix misnamed properties.
  525. * ProfessionalColorTable.cs: Make properties virtual.
  526. 2006-08-06 Duncan Mak <[email protected]>
  527. * NumericUpDown.cs (Value): Don't call OnValueChanged if the value
  528. is not changing.
  529. 2006-08-04 Jonathan Pobst <[email protected]>
  530. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  531. GroupBoxRenderer.cs, ProfessionalColors.cs, ProfessionalColorTable.cs,
  532. ProgressBarRenderer.cs, RadioButtonRenderer.cs, ScrollBarRenderer.cs,
  533. TabRenderer.cs, TextBoxRenderer.cs, TextRenderer.cs, TrackBarRenderer.cs:
  534. Initial import of new 2.0 classes.
  535. 2006-08-04 Jonathan Pobst <[email protected]>
  536. * Application.cs: Add 2.0 VisualStyles properties.
  537. 2006-08-04 Jonathan Pobst <[email protected]>
  538. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  539. XplatUIX11.cs: Create property to allow access to existing private
  540. variable "themes_enabled"
  541. 2006-08-04 Gonzalo Paniagua Javier <[email protected]>
  542. * ImageListStreamer.cs: generate the MemoryStreams with the exact BMP
  543. file size, as otherwise our class libraries fail using windows. Fixes
  544. bug #78759.
  545. 2006-08-04 Jackson Harper <[email protected]>
  546. * Form.cs:
  547. * XplatUIX11.cs: Move the toolwindow window manager creation into
  548. the X11 driver, this way on win32 we can let windows create/handle
  549. the toolwindows.
  550. 2006-08-04 Carlos Alberto Cortez <[email protected]>
  551. * PrintDialog.cs: Remove some redundant checks, add some others,
  552. clean some code, and move the focus to the text boxes when the
  553. values are incorrect.
  554. 2006-08-04 Alexander Olk <[email protected]>
  555. * FontDialog.cs: Remove Form.MinimumSize. It's not needed.
  556. 2006-08-03 Alexander Olk <[email protected]>
  557. * NumericUpDown.cs: Setting the Minimum and Maximum is now
  558. handled correctly. Fixes bug #79001.
  559. 2006-08-03 Carlos Alberto Cortez <[email protected]>
  560. * PrintDialog.cs: The "Copies" numeric up down must have
  561. set the Minimum property to 1; only if the value is bigger
  562. than 1, activate "Collate" check box. This is the behaviour of .Net.
  563. Also modify the Document elements only if it is not null.
  564. 2006-08-03 Jackson Harper <[email protected]>
  565. * TreeNodeCollection.cs: Fix copyto to use the correct nodes
  566. length. (We have a larger array then actual node count).
  567. 2006-08-03 Jackson Harper <[email protected]>
  568. * ComboBox.cs: Don't show selection by default.
  569. - The SelectAll isn't needed here, since the focus code should do
  570. that
  571. - DDL style lists to manual selection drawing, so when they
  572. get/lose focus they have to invalidate.
  573. 2006-08-03 Peter Dennis Bartok <[email protected]>
  574. * TextBoxBase.cs: Don't always show all selections by default.
  575. 2006-08-03 Jonathan Pobst <[email protected]>
  576. * ControlUpdateMode.cs, DataSourceUpdateMode.cs,
  577. HelpNavigator.cs, WebBrowserEncryptionLevel.cs:
  578. Fixed various typos.
  579. 2006-08-03 Alexander Olk <[email protected]>
  580. * Control.cs: Removing the controls in a ControlCollection with
  581. Clear now hides the controls as expected. Fixes bug #78804.
  582. 2006-08-03 Jackson Harper <[email protected]>
  583. * Control.cs: Revert previous focus patch, it breaks reflector.
  584. 2006-08-03 Jackson Harper <[email protected]>
  585. * ComboBox.cs: Cleanup selection and focus with the combobox.
  586. This also eliminates some duplicated keyboard code, since now
  587. everything is handled by the main class.
  588. - Make list selection work on mouse up instead of down, to match
  589. MS.
  590. 2006-08-02 Jackson Harper <[email protected]>
  591. * Control.cs: Setting focus needs to go through the whole
  592. selection mechanism.
  593. 2006-08-02 Chris Toshok <[email protected]>
  594. * PrintPreviewDialog.cs: change MinimumSize to use
  595. base.MinimumSize so it works.
  596. 2006-08-02 Peter Dennis Bartok <[email protected]>
  597. * TextControl.cs:
  598. - UpdateCaret: Added sanity check in case caret isn't defined yet
  599. - Line.Delete: Now updating selection and caret markers if we're
  600. transfering a node (Properly fixes #78323)
  601. - SetSelectionEnd: Added sanity check
  602. * TextBoxBase.cs: Removed broken attempt to fix #78323
  603. 2006-08-01 Chris Toshok <[email protected]>
  604. * PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
  605. Close() call is handled in Form, not here.
  606. 2006-08-01 Chris Toshok <[email protected]>
  607. * Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
  608. layout/rendering.
  609. * PrintPreviewDialog.cs: add scrollbars, and add an image cache
  610. for sizes < 100% zoom. The code now aggressively attempts to keep
  611. from calling document.Print (), and tries not to use the scaling
  612. g.DrawImage whenever possible (it still does if you scale to >
  613. 100%, since usually that involves huge images).
  614. * PrintPreviewControl.cs: hook up the close button.
  615. 2006-08-01 Jonathan Pobst <[email protected]>
  616. * ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
  617. ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
  618. ItemDragEventHandler.cs, LabelEditEventHandler.cs,
  619. LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
  620. MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
  621. PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
  622. SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
  623. Removed [Serializable] for 2.0 Event Handlers.
  624. 2006-07-31 Jackson Harper <[email protected]>
  625. * TextBoxBase.cs: Make ShowSelection invalidate when changed.
  626. * TextControl.cs: Uncomment out the body of this method.
  627. 2006-07-31 Alexander Olk <[email protected]>
  628. * XplatUIX11.cs: Use the correct cursor shapes for arrow and default
  629. standard cursors.
  630. 2006-07-31 Peter Dennis Bartok <[email protected]>
  631. * TextBoxBase.cs: Added internal property ShowSelection to allow controls
  632. that embed TextBox and need selections visible even if textbox is not
  633. focused to enforce that behaviour.
  634. * TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
  635. selection drawing
  636. 2006-07-31 Peter Dennis Bartok <[email protected]>
  637. * TextControl.cs:
  638. - Added new SetSelectionStart/SetSelectionEnd overloads
  639. - Fixed viewport width assignment to be accurate
  640. - Adjusted alignment line shift calculations to allow cursor on right
  641. aligned lines to be always visible at the right border (like MS)
  642. * TextBoxBase.cs:
  643. - SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
  644. - TextBoxBase_SizeChanged: recalculating canvas on size changes
  645. - CalculateScrollBars: Use ViewPort size instead of window size, to
  646. properly consider space occupied by the border and scrollbars
  647. (Fixes #78661)
  648. - hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
  649. calculations; no longer leaves artifacts
  650. - CaretMoved: Adjusted window scrolling to match MS and fixed several
  651. calculation bugs (Still missing right/center align calculations)
  652. 2006-07-31 Peter Dennis Bartok <[email protected]>
  653. * XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
  654. use of both scroll rect and clip rect, as they do the same.
  655. 2006-07-31 Peter Dennis Bartok <[email protected]>
  656. * Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
  657. in the event handler (fixes #78912)
  658. 2006-07-31 Chris Toshok <[email protected]>
  659. * ThemeWin32Classic.cs: use grid.RowsCount here instead of
  660. grid.ListManager.Count, since grid.ListManager might be null.
  661. This of course begs the question "why are we drawing rows for a
  662. grid with no list manager (and therefor no rows)?" Fixes the
  663. crash in bug #78929.
  664. 2006-07-31 Chris Toshok <[email protected]>
  665. * RelatedPropertyManager.cs: Don't always chain up to the parent
  666. ctor. instead, call SetDataSource if the parent's position is !=
  667. -1. Fixes the crash in #78822.
  668. 2006-07-31 Chris Toshok <[email protected]>
  669. * DataGrid.cs (get_ListManager): use field instead of property
  670. accessors for datasource and datamember.
  671. (RowsCount): make internal again.
  672. (OnMouseDown): end edits before resizing columns/rows.
  673. (OnMouseUp): restart edits after resizing columns/rows.
  674. 2006-07-30 Peter Dennis Bartok <[email protected]>
  675. * XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
  676. This fixes the situation where the last set cursor is displayed
  677. whenever the mouse is over scrollbars.
  678. 2006-07-30 Carlos Alberto Cortez <[email protected]>
  679. * PrintDialog.cs: Fix the behaviour of PrinterSettings and
  680. Document properties, as well as initial values.
  681. 2006-07-29 Peter Dennis Bartok <[email protected]>
  682. * XplatUIWin32.cs (SetBorderStyle): Setting both border
  683. and ClientEdge results in a 3-pixel border, which is
  684. wrong.
  685. 2006-07-28 Jackson Harper <[email protected]>
  686. * TreeNodeCollection.cs: Fix the clear method.
  687. - Fix the Shrink also
  688. 2006-07-27 Jackson Harper <[email protected]>
  689. * TreeView.cs: Make sure the visible order is computed when we
  690. attempt to size the scrollbars (for trees that mess with the
  691. scrolling when they shouldn't.
  692. - Make sure to give the scrollbars valid values.
  693. 2006-07-26 Peter Dennis Bartok <[email protected]>
  694. * XplatUIX11.cs: Move motion compression code to where it
  695. has less performance impact
  696. 2006-07-26 Jackson Harper <[email protected]>
  697. * UpDownBase.cs: When the control is selected make the child
  698. controls non selectable, so that a click on them won't do a
  699. focus/unfocus cycle.
  700. - Don't give focus to the text box when the spinner is selected.
  701. * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
  702. 2006-07-26 Chris Toshok <[email protected]>
  703. * ThemeWin32Classic.cs: add print preview rendering. I'm not
  704. satisfied with this solution. If the bitmaps are small, we should
  705. just cache them in the PrintPreviewDialog and draw them here.
  706. Also, the layout is broken for the 2-up and 3-up cases.
  707. * Theme.cs: add PrintPReviewControlPaint.
  708. * PrintPreviewDialog.cs: first pass implementation.
  709. * PrintPreviewControl.cs: first pass implementation. No
  710. scrollbars yet.
  711. * PrintDialog.cs: only validate fields if that particular portion
  712. of the UI is enabled. Also, set the document's controller to a
  713. PrintControllerWithStatusDialog wrapping the document's print
  714. controller.
  715. * PrintControllerWithStatusDialog.cs: if we're printing to a file,
  716. bring up a SaveFileDialog (i hope we don't want to match the
  717. behavior of the crappy windows file entry) and set the
  718. PrinterSettings.PrintFileName accordingly.
  719. 2006-07-26 Jackson Harper <[email protected]>
  720. * ContainerControl.cs: Add a field that disables auto selecting
  721. the next control in a container when the container is activated.
  722. * UpDownBase.cs: Don't select the text box when the up down is
  723. selected.
  724. 2006-07-26 Peter Dennis Bartok <[email protected]>
  725. * XEventQueue.cs: Added methods for peeking (used for compression
  726. of successive events)
  727. * XplatUIX11.cs (GetMessage): We're now compressing consecutive
  728. mouse move events (fixes #78732)
  729. 2006-07-25 Jackson Harper <[email protected]>
  730. * UpDownBase.cs: Use an internal class for the textbox so that we
  731. can control focus. the updown control should always have focus,
  732. if either the text area or the buttons are clicked.
  733. - Send the key messages to the textbox, since it never actually
  734. has focus
  735. - Activate and decativate the textbox caret.
  736. 2006-07-24 Jackson Harper <[email protected]>
  737. * Control.cs: Use the directed select when selecting a control,
  738. this way the container controls override will get called and the
  739. whole ActiveControl chain will get triggered. TODO: probably need
  740. to make sure this gets done everywhere instead of the old
  741. Select(Control).
  742. * ContainerControl.cs: Implement the directed Select method to
  743. find and activate the correct child control.
  744. 2006-07-22 Mike Kestner <[email protected]>
  745. * Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
  746. menu handling code so that clicks without a grab work too.
  747. [Fixes #78914]
  748. 2006-07-22 Alexander Olk <[email protected]>
  749. * FileDialog.cs: Enable the BackButton when dirstack has one element.
  750. Added some small optimizations.
  751. 2006-07-21 Matt Hargett <[email protected]>
  752. * Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties
  753. 2006-07-21 Peter Dennis Bartok <[email protected]>
  754. * Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  755. tests pass and match MS in some strange border cases.
  756. 2006-07-21 Chris Toshok <[email protected]>
  757. * ThemeWin32Classic.cs: handle drawing of the relation links and
  758. parent row buttons.
  759. * Theme.cs: change args to DataGridPaintParentRow.
  760. * DataGrid.cs: Don't use controls for the relation links and
  761. parent buttons, so we have to handle all their interactions in
  762. MouseMove, MouseDown, MouseUp, etc. Also, store a lot more stuff
  763. when we're navigating through child tables, so we can reinstate
  764. selection, expanded state, current cell, etc.
  765. 2006-07-20 Chris Toshok <[email protected]>
  766. * ToolBar.cs: When we redraw a button, for whatever reason,
  767. there's no reason to redraw the entire toolbar. Also, don't call
  768. Control.Refresh from within Redraw, as it's much heavier than
  769. Invalidate (which is really what we want).
  770. 2006-07-20 Chris Toshok <[email protected]>
  771. * DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
  772. DataGridTextBoxColumn.cs, DataGridTextBox.cs,
  773. ThemeWin32Classic.cs, ListControl.cs: After staring at stack
  774. traces from within a debug IBindingList datasource
  775. (in mono/winforms/datagrid) for *days*, I've finally gotten things
  776. to work in a similar fashion.
  777. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  778. * ListBox.cs: Don't call Sort () when setting
  779. the Sorted property to false (avoid an unnecessary sort).
  780. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  781. * ListControl.cs: DataSource should throw an ArgumentException
  782. instead of a normal exception when the argument is not of the
  783. correct type.
  784. 2006-07-20 Mike Kestner <[email protected]>
  785. * Control.cs: add InternalPreProcessMessage to allow us to steal
  786. key events before MWF gets its paws on them. Adapted from a
  787. suggestion by eno.
  788. * ToolBar.cs: add GotLostFocus handing for flat toolbars, with
  789. up/down/left/right navigation. Override the new internal control
  790. method to steal the events since they never make it to WndProc.
  791. * ToolBarButton.cs: don't worry about pushed when setting hilight
  792. since the drawing code prefers pushed to hilight. Invalidate on
  793. Hilight changes. Fixes #78547 and #78525.
  794. 2006-07-20 Peter Dennis Bartok <[email protected]>
  795. * ScrollableControl.cs: Consider AutoScrollMinSize when calculating
  796. the canvas size. Fixes #78868
  797. 2006-07-20 Peter Dennis Bartok <[email protected]>
  798. * Splitter.cs: Track requested split position until first layout
  799. is performed. Fixes #78871
  800. 2006-07-20 Peter Dennis Bartok <[email protected]>
  801. * Application.cs: Removed code that forces 1.x for the version
  802. number if the version started with 0. Not sure why that code was
  803. there and I couldn't find any bugs that indicated we needed it.
  804. Fixes #78869
  805. 2006-07-20 Alexander Olk <[email protected]>
  806. * ThemeWin32Classic.cs: Don't throw a NotImplementedException in
  807. ResetDefaults(), just write some output to the console until it's
  808. implemented. Fixes bug #78907 for now. Eliminated two warnings.
  809. 2006-07-19 Jonathan Chambers <[email protected]>
  810. * PropertyGridView.cs: set StartPosition of drop down forms
  811. so they appear in correct initial spot. Fixes #78190.
  812. 2006-07-19 Mike Kestner <[email protected]>
  813. * ThemeWin32Classic.cs: use parent background color when drawing
  814. flat toolbars. Restructure the conditionals to make sure non-flat
  815. non-Divider toolbars are filled too. Fixes #78837.
  816. 2006-07-19 Mike Kestner <[email protected]>
  817. * ListBox.cs: Sort on collection changes even if the handle
  818. isn't created yet. Fixes #78813.
  819. 2006-07-18 Carlos Alberto Cortez <[email protected]>
  820. * ListControl.cs: DisplayMember should never be null,
  821. and now we assign String.Empty when null is passed to it (this
  822. is the .Net way).
  823. 2006-07-17 Mike Kestner <[email protected]>
  824. * ListViewItem.cs: restructure Font and subitem Font handling
  825. to hold a specific font and refer back to owner on null.
  826. Fixes #78761.
  827. 2006-07-17 Mike Kestner <[email protected]>
  828. * ToolBar.cs: bandaid for side-effect of previous patch which was
  829. discarding explicit heights for non-AutoSize toolbars. Need to
  830. extend my format tester to deal with AutoSize=false. Fixes #78864.
  831. 2006-07-15 Jackson Harper <[email protected]>
  832. * LabelEditTextBox.cs:
  833. * TreeView.cs: Use a new LabelEdit class for node editing, this
  834. class automatically 'closes' itself when it gets the enter key or
  835. loses focus.
  836. - Use the client rectangle when setting the trees scrollbars, so
  837. border style is taken into account.
  838. 2006-07-14 Jackson Harper <[email protected]>
  839. * TreeNode.cs:
  840. * TreeView.cs: Make the editing work similar to MSs, firing the
  841. events correctly and ending edits correctly.
  842. 2006-07-14 Mike Kestner <[email protected]>
  843. * ToolBarButton.cs:
  844. * ToolBar.cs: layout restructuring and redraw enhancements to support
  845. formatting changes gracefully, like setting TextAlign, ImageList,
  846. ButtonSize, and Appearance. Handles explicit button sizing quirks
  847. of the MS controls. Things like flat toolbars ignoring button size
  848. but becoming constant sized at the largest button's size. Normal
  849. toolbars with an image set cannot be shrunk smaller than the image,
  850. but text can be clipped/ignored.
  851. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  852. is zero. Seems like DrawString should be smart enough to not put
  853. anything on screen though. Also trim labels and ellipsize at the char
  854. boundary, not word.
  855. Fixes #78711 and #78483.
  856. 2006-07-14 Alexander Olk <[email protected]>
  857. * FolderBrowserDialog.cs: Disable "New Folder" button and
  858. "New Folder" contextmenu menuitem if a folder like "My Computer"
  859. is selected.
  860. 2006-07-14 Alexander Olk <[email protected]>
  861. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  862. * FolderBrowserDialog.cs:
  863. - Use MWFConfig to store and read size and position settings
  864. - Added code to create a new folder (button or context menu).
  865. Use TreeView labeledit to change the name of the new folder.
  866. 2006-07-14 Jackson Harper <[email protected]>
  867. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  868. when the tree is scrolled we end editing.
  869. 2006-07-14 Alexander Olk <[email protected]>
  870. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  871. Down arrows
  872. 2006-07-14 Jonathan Pobst <[email protected]>
  873. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  874. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  875. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  876. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  877. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  878. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  879. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  880. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  881. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  882. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  883. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  884. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  885. ListViewItemSelectionChangedEventHandler.cs,
  886. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  887. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  888. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  889. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  890. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  891. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  892. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  893. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  894. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  895. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  896. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  897. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  898. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  899. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  900. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  901. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  902. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  903. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  904. WebBrowserNavigatingEventHandler.cs,
  905. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  906. 2006-07-14 Jonathan Pobst <[email protected]>
  907. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  908. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  909. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  910. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  911. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  912. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  913. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  914. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  915. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  916. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  917. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  918. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  919. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  920. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  921. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  922. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  923. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  924. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  925. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  926. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  927. ListViewItemStates.cs, MaskFormat.cs: Added
  928. 2006-07-13 Jonathan Chambers <[email protected]>
  929. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  930. Patch from eno for bug 78558.
  931. 2006-07-13 Jackson Harper <[email protected]>
  932. * TreeView.cs: When an edit is finished make sure that the
  933. selected node is visible.
  934. - When setting the top/bottom use the scrollbars is_visible, so
  935. everything will be set correctly even if the tree isn't visible
  936. yet.
  937. 2006-07-13 Jackson Harper <[email protected]>
  938. * ComboBox.cs: Revert the item->index part of my previous patch.
  939. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  940. the edit box has lost focus (duh).
  941. - Just make the edit box not visible when we get return, that will
  942. take the focus, which will call EndEdit
  943. * TreeNode.cs When we start editing, notify the treeview.
  944. 2006-07-12 Jackson Harper <[email protected]>
  945. * ComboBox.cs: Clear out old items before setting the item list.
  946. This prevents databound controls from having their items added
  947. twice.
  948. - Switch the combobox to use indices whereever possible instead of
  949. using Item's. This allows usto navigate through lists that have
  950. more then one item with the same string value (ie a, b, b, a).
  951. - Scroll the listboxes scrollbar when a non visible item is
  952. highlighted
  953. - Allow keypress to cycle through all the possible values. For
  954. example if you have b1, b2, b3 and hold down the B key all the
  955. values will be cycled through.
  956. 2006-07-12 Jackson Harper <[email protected]>
  957. * TextBoxBase.cs:
  958. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  959. this using the internal methods.
  960. * Control.cs: Add OnGotFocusInternal. A new method that allows
  961. controls to "override" OnGotFocus and change focus behavior if
  962. needed.
  963. - Same thing for LostFocus
  964. * ComboBox.cs: Pass off focus to the text control properly.
  965. 2006-07-12 Alexander Olk <[email protected]>
  966. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  967. * FolderBrowserDialog.cs: Almost a complete rewrite.
  968. - Better support for Environment.Specialfolders
  969. - Added support for MWFVFS
  970. - Made setting SelectedPath work
  971. 2006-07-12 Jackson Harper <[email protected]>
  972. * Control.cs: Optimze getting all the controls.
  973. 2006-07-11 Jackson Harper <[email protected]>
  974. * ContainerControl.cs: Override SETFOCUS in the container control,
  975. so that it is not selected on mouse click.
  976. 2006-07-11 Peter Dennis Bartok <[email protected]>
  977. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  978. Hopefully we will have a better way once all of focus is complete.
  979. 2006-07-11 Peter Dennis Bartok <[email protected]>
  980. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  981. a compile error with csc.
  982. 2006-07-11 Jackson Harper <[email protected]>
  983. * Control.cs: When hiding a control only select the next control
  984. if the current control was focused.
  985. - Don't handle enter/leave when setting/killing focus, this is
  986. done by the container control.
  987. - Remove is_selected, it's not needed anymore.
  988. - Add utility methods for selecting a child control, and for
  989. firing the Enter/Leave events.
  990. * ContainerControl.cs: When a control is activated fire the
  991. enter/leave events.
  992. - Don't wrap when processing the tab key, so that focus can be
  993. moved outside of the container.
  994. - Use the correct active control
  995. 2006-07-11 Jackson Harper <[email protected]>
  996. * ComboBox.cs: Remove some debug code that was blinding me.
  997. * UpDownBase.cs: These controls actually aren't implicit, they are
  998. visible to the user.
  999. 2006-07-10 Chris Toshok <[email protected]>
  1000. * DataGrid.cs: move back to the is_adding boolean field. god i
  1001. hate this is_editing/is_adding/is_changing stuff.
  1002. 2006-07-10 Chris Toshok <[email protected]>
  1003. * DataGridTableStyle.cs: just check if the property type is bool.
  1004. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  1005. Don't use CanRenderType.
  1006. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  1007. if our text == NullText. Remove CanRenderType.
  1008. * DataGridBoolColumn.cs: nuke CanRenderType.
  1009. * DataGrid.cs: reenable some code to end the current edit inside
  1010. of set_CurrentCell. This fixes the other 1.1.16 regression.
  1011. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  1012. Also, remove the visible_row_count arg from CalcRowHeaders, since
  1013. we don't need to worry about the actual height of the area.
  1014. 2006-07-10 Chris Toshok <[email protected]>
  1015. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  1016. mode, just return.
  1017. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  1018. the real sense of the IsInEditOrNavigateMode property (true =
  1019. navigate, false = edit). Also, update OnKeyPress to reflect this.
  1020. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  1021. column style exists, we still need to set its property descriptor
  1022. to match up with our list manager.
  1023. 2006-07-10 Chris Toshok <[email protected]>
  1024. * ThemeWin32Classic.cs: implement the new row/header painting
  1025. approach. The parent row painting will likely go away and
  1026. replaced with label controls, but the rest seems to work ok (and
  1027. efficiently).
  1028. * Theme.cs: change the way we draw datagrid rows. we don't draw
  1029. the row headers as a block now. Instead we draw them in the
  1030. normal draw-row loop. Add some calls for drawing parent rows and
  1031. relation rows.
  1032. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  1033. a default table style. Set the defaults from ThemeEngine.Current,
  1034. not SystemColors. Fix lots of misc issues with property setters.
  1035. * DataGrid.cs: move loads of style information out of this class
  1036. as it's being duplicated with DataGridTableStyle. keep track of a
  1037. special DataGridTableStyle for the properties we used to mirror
  1038. here. Switch all the style properties to access this table style
  1039. instead of instance fields of this class. Also add a internal
  1040. class to represent parent rows (more needs to be stored here, like
  1041. the selection state from the parent table, as well as the
  1042. expansion state.) Also, for datasources with relations, do the
  1043. right thing for collapse/expand, and add support for the
  1044. navigation/parent row buttons.
  1045. Lastly, fix the crash in the 1.1.16 build.
  1046. * GridTableStylesCollection.cs: make the explicit interface
  1047. implementations call the class's methods as opposed to duplicating
  1048. them.
  1049. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  1050. 0 so the text doesn't jump around when we move the cursor.
  1051. 2006-07-10 Jackson Harper <[email protected]>
  1052. * TextBoxBase.cs:
  1053. * ListBox.cs: Match MS's ToString (this makes debugging focus
  1054. stuff infinitely easier).
  1055. 2006-07-10 Jackson Harper <[email protected]>
  1056. * Control.cs (SelectNextControl): When checking the control's
  1057. parent use this instead of ctrl.parent so that null can be passed
  1058. to SelectNextControl. (I have unit tests for this).
  1059. - Remove unused var.
  1060. 2006-07-10 Chris Toshok <[email protected]>
  1061. * CurrencyManager.cs: correct one regression, the removal of the
  1062. finalType field. Also, add a MonoTODO on CanAddRows, implement
  1063. Refresh() correctly, and fix some event emission in
  1064. ListChangedHandler.
  1065. 2006-07-07 Alexander Olk <[email protected]>
  1066. * FileDialog.cs: Don't use brackets for new folders if they exist
  1067. under *nix. Instead use -(number of existing folders +1).
  1068. 2006-07-07 Alexander Olk <[email protected]>
  1069. * FileDialog.cs:
  1070. - Fixed really nasty bug #78771
  1071. - Don't block the whole GUI when reading directories with a lot of
  1072. entries. Use an other thread instead and call BeginInvoke to
  1073. update the ListView in MWFFileView
  1074. 2006-07-07 Chris Toshok <[email protected]>
  1075. * Control.cs (Dispose): release any Capture when disposing.
  1076. 2006-07-07 Chris Toshok <[email protected]>
  1077. * LinkLabel.cs (Select): if we chain up to the parent, set
  1078. focused_index to -1 so we'll search for the first available link
  1079. the next time the user tabs into us. Also, if the direction is
  1080. backward and focused_index == -1, start the search from the last
  1081. element.
  1082. 2006-07-07 Chris Toshok <[email protected]>
  1083. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  1084. is beyond the end of the text, don't do anything.
  1085. (CreateLinkPieces): set our ControlStyles.Selectable based on
  1086. whether or not we have any links.
  1087. (Link.Invalidate): use a loop instead of foreach.
  1088. (Link.set_Start): null out owner.sorted_links so it'll be
  1089. recreated by CreateLinkPieces.
  1090. 2006-07-06 Chris Toshok <[email protected]>
  1091. * LinkLabel.cs: revert the SetStyle change.
  1092. 2006-07-06 Chris Toshok <[email protected]>
  1093. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  1094. (OnEnableChanged): s/Refresh/Invalidate
  1095. (OnGotFocus): if we have a focused index already, refocus it (so
  1096. if we mouse out/in to the window it'll focus the right link).
  1097. (OnKeyDown): move the tab handling out of here.
  1098. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  1099. when we lose focus.
  1100. (OnMouseDown): don't Capture here - Control handles it. Also,
  1101. focus the active link.
  1102. (OnMouseUp): don't deal with Capture.
  1103. (OnPaintBackgroundInternal): remove.
  1104. (OnTextAlignChanged): CreateLinkPieces before calling the
  1105. superclass's method.
  1106. (OnTextChanged): call CreateLinkPieces before calling superclass's
  1107. method.
  1108. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  1109. move around.
  1110. (Select): implement this, moving the selection between different
  1111. links, and call parent.SelectNextControl if we don't have another
  1112. link to focus in the given direction.
  1113. (CreateLinkPieces): call Invalidate instead of Refresh.
  1114. 2006-07-06 Chris Toshok <[email protected]>
  1115. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  1116. new LinkLabel internals.
  1117. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  1118. over pieces looking for active/focused/etc links. also, deal with
  1119. runs of text (and links) with embedded \n's in them, and use
  1120. MeasureCharacterRanges instead of MeasureString to figure out the
  1121. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  1122. two-step.
  1123. 2006-07-04 Jackson Harper <[email protected]>
  1124. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  1125. XKB or key auto repeat, do it manually. Without key auto repeat,
  1126. when a key is held down we get key press, key release, key press,
  1127. key release, ... with auto repeat we get key press, key press, key
  1128. press ..., and then a release when the key is actually released.
  1129. 2006-07-03 Jackson Harper <[email protected]>
  1130. * TabControl.cs:
  1131. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  1132. rules, they are always control color regardless of the background
  1133. color.
  1134. 2006-07-02 Alexander Olk <[email protected]>
  1135. * FileDialog.cs: Added internal class MWFConfig.
  1136. Removed Registry support and replaced it with support for the new
  1137. MWFConfig class. See MWFConfig comments for more information.
  1138. 2006-06-30 Alexander Olk <[email protected]>
  1139. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  1140. rectangle. Added some patches from eno from bug #78490 and fixed
  1141. the arrow position for small up and down CPDrawScrollButtons.
  1142. 2006-06-30 Jackson Harper <[email protected]>
  1143. * InternalWindowManager.cs: Remove some debug code.
  1144. * Form.cs: When an MdiParent is set to null, the window is
  1145. "detatched" and becomes a normal window.
  1146. * MdiClient.cs: Don't bring the new child form to the front until
  1147. it is activated (setting it as active does this), this makes the
  1148. previously active forms titlebar get redrawn as inactive.
  1149. 2006-06-29 Peter Dennis Bartok <[email protected]>
  1150. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  1151. with later controls
  1152. 2006-06-29 Mike Kestner <[email protected]>
  1153. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  1154. arrow in keynav state. Fixes #78682.
  1155. 2006-06-28 Atsushi Enomoto <[email protected]>
  1156. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  1157. order (fixes #78393)
  1158. 2006-06-28 Jonathan Pobst <[email protected]>
  1159. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  1160. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  1161. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  1162. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  1163. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  1164. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  1165. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  1166. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  1167. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  1168. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  1169. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  1170. values)
  1171. 2006-06-28 Mike Kestner <[email protected]>
  1172. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  1173. 2006-06-28 Atsushi Enomoto <[email protected]>
  1174. * PropertyGrid.cs,
  1175. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  1176. item lines from other area (It also makes BackColor consistent and
  1177. compatible with .NET). Fixed bug #78564.
  1178. 2006-06-28 Jonathan Chambers <[email protected]>
  1179. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  1180. Patch from Eno for #78555.
  1181. 2006-06-27 Chris Toshok <[email protected]>
  1182. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  1183. * DataGridColumnStyle.cs: same.
  1184. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  1185. * DataGridDrawingLogic.cs: nuke.
  1186. 2006-06-27 Chris Toshok <[email protected]>
  1187. * DataGridTableStyle.cs: clean up the constructors, and build the
  1188. list of child relations for this table. I have no idea if this is
  1189. where we should be doing it (it probably isn't), but since we're
  1190. already iterating over the properties..
  1191. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  1192. struct and array for keeping track of row information, similar to
  1193. what's shown in a hack on
  1194. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  1195. * Theme.cs: be consistent about the naming of DataGrid methods,
  1196. prefering ColumnWidths and RowHeights over columnsWidths and
  1197. RowsHeights.
  1198. * ThemeWin32Classic.cs: same, and also add support for variable
  1199. sized rows (and the +/- expansion icons for related rows).
  1200. 2006-06-27 Peter Dennis Bartok <[email protected]>
  1201. * TextBoxBase.cs: Applied Eno's patch from #78660
  1202. 2006-06-27 Peter Dennis Bartok <[email protected]>
  1203. * Form.cs (ScaleCore): We don't want to scale our form if it's
  1204. state is minimized or maximized, but we still need to scale our
  1205. child windows. Also, added try/finally block to ensure layout
  1206. gets reset (Fixes #78697)
  1207. 2006-06-27 Peter Dennis Bartok <[email protected]>
  1208. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  1209. 2006-06-27 Peter Dennis Bartok <[email protected]>
  1210. * Form.cs: Fixed c+p error and added check to resize form if minimum
  1211. size is bigger than current size (Fixes #78709)
  1212. 2006-06-26 Peter Dennis Bartok <[email protected]>
  1213. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  1214. 2006-06-26 Mike Kestner <[email protected]>
  1215. * ComboBox.cs: only do Keypress handling in the combo when there
  1216. are items in the collection. Fixes #78710.
  1217. 2006-06-26 Chris Toshok <[email protected]>
  1218. * Binding.cs: make this work bi-directionally. also, clear up
  1219. other mixups between Push/Pull Data (e.g. we're supposed to pull
  1220. data when validating).
  1221. * BindingManagerBase.cs: trim some fully qualified collection
  1222. types.
  1223. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  1224. 2006-06-23 Chris Toshok <[email protected]>
  1225. * PropertyManager.cs: It appears (according to the unit tests)
  1226. that PropertyManager doesn't use
  1227. PropertyDescriptor.AddValueChanged to track propery value changes
  1228. in its datasource, but uses the same scheme as Binding, where it
  1229. looks for a <Property>Changed event and binds to it.
  1230. Also, according to the docs, IsSuspended always returns false for
  1231. a property manager with a non-null datasource.
  1232. 2006-06-22 Peter Dennis Bartok <[email protected]>
  1233. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  1234. need to update the actual DialogResult. (Fixes #78613)
  1235. 2006-06-22 Peter Dennis Bartok <[email protected]>
  1236. * Form.cs (ShowDialog): Release any captures before running the
  1237. new message pump (fixes #78680)
  1238. 2006-06-22 Mike Kestner <[email protected]>
  1239. * ListView.cs: Layout column widths properly in details mode even
  1240. if HeaderStyle.None is set. Fixes #78691.
  1241. 2006-06-21 Peter Dennis Bartok <[email protected]>
  1242. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  1243. 2006-06-21 Peter Dennis Bartok <[email protected]>
  1244. * Control.cs (ContainsFocus): Using new driver method to get focused
  1245. window, instead of trying to use internal tracking var, which can
  1246. recursion issues (Fixes #78685)
  1247. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  1248. XplatUIWin32.cs: Added GetFocus method to return focused window
  1249. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  1250. * ColorDialog.cs: when the mouse button is pressed inside the color
  1251. matrix, don't let the cursor move out of it until the button is
  1252. released, which is the behavior on windows. Changed 'colours' by
  1253. 'colors' to use the same word consistently.
  1254. 2006-06-21 Chris Toshok <[email protected]>
  1255. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  1256. child relation and back, using a stack). Also, remove
  1257. GetDataSource and the code that calls it - it's not needed. Also,
  1258. track CurrencyManager.ListName's removal.
  1259. 2006-06-21 Chris Toshok <[email protected]>
  1260. * CurrencyManager.cs: push some of the original type checking from
  1261. BindingContext.CreateBindingManager to here, and remove some of
  1262. the finalType stuff. Need more tests to make sure I've got the
  1263. ListName part right, and we might need more in SetDataSource.
  1264. * PropertyManager.cs: add a ctor that takes just the datasource,
  1265. and no property name. Make SetDataSource work with a null
  1266. property_name, and make Current return the data_source if the
  1267. property descriptor is null. this makes 'string foo = "hi";
  1268. BindingContext[foo].Current' return "hi" as it should.
  1269. * RelatedCurrencyManager.cs: make this code more generic - there's
  1270. no reason the parent manager has to be CurrencyManager, and
  1271. there's no reason to pass the DataRelation. It suffices to use a
  1272. BindingManagerBase and PropetyDescriptor.
  1273. * RelatedPropertyManager.cs: make a similar change here.
  1274. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  1275. flower I knew it could be.
  1276. 2006-06-20 Chris Toshok <[email protected]>
  1277. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  1278. data in the source has changed and we need to update the control,
  1279. so s/PullData/PushData.
  1280. * CurrencyManager.cs: Refresh is meant to update the control from
  1281. data in the datasource. So, s/PullData/PushData.
  1282. * BindingContext.cs: add more ugliness (we weren't handling the
  1283. case where data_source = DataTable and data_member = column_name).
  1284. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  1285. from the perspective of the datasource. PullData pulls from the
  1286. control, PushData pushes to the control.
  1287. 2006-06-20 Chris Toshok <[email protected]>
  1288. * BindingContext.cs: rewrite the CreateBindingManager code to
  1289. handle navigation paths more or less properly. This could
  1290. definitely stand some more work, in particular to push the
  1291. recursion up to the toplevel. But that relies on fixes in other
  1292. places (System.Data comes to mind).
  1293. Also, move to a flat hashtable (and encode the twolevel nature of
  1294. the dictionary into the hash key). This lets us implement the
  1295. IEnumerable.GetEnumerator method.
  1296. * RelatedCurrencyManager.cs: new class. Update our view based on
  1297. our relation and our parent CurrencyManager's position.
  1298. * CurrencyManager.cs: split out some logic from the ctor into
  1299. SetView, so it can be called from the new RelatedCurrencyManager
  1300. subclass.
  1301. * RelatedPropertyManager.cs: new class. Update our datasource
  1302. based on the position of our parent CurrencyManager.
  1303. * PropertyManager.cs: split out some logic from the ctor into
  1304. SetDataSource, so it can be called from the new RelatedDataSource
  1305. subclass. Also, make the Current getter return the value
  1306. of the PropertyDescriptor, not the data_source.
  1307. * Binding.cs: no need to duplicate the string splitting code here.
  1308. 2006-06-19 Peter Dennis Bartok <[email protected]>
  1309. * Control.cs:
  1310. - set_Enabled: OnEnabledChanged is not called if the inherited state
  1311. of the control is not altered, even though we might be changing the
  1312. internal state of the control (#78458)
  1313. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  1314. OnEnabledChanged, to allow easy altering of any child window state
  1315. - OnEnabledChanged: Added code to enable/disable driver window state
  1316. - OnParentEnabledChanged: Instead of firing the event, call
  1317. OnEnabledChanged, which will fire the event and also a) set driver
  1318. window state and pass the enabled state to any grandchildren (#78458)
  1319. 2006-06-19 Jackson Harper <[email protected]>
  1320. * InternalWindowManager.cs: We don't set the cursor explicitly
  1321. thats done via the response to NCHITTESTs.
  1322. - Don't need to adjust for titlebar heights anymore, the
  1323. coordinates are coming in the correct coordinates now (see peters
  1324. last patch).
  1325. 2006-06-19 Peter Dennis Bartok <[email protected]>
  1326. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  1327. being translated relative to whole window, instead of client window.
  1328. That caused broken offsets on mouseclick (and caused gas for our
  1329. InternalWindowManager)
  1330. 2006-06-15 Peter Dennis Bartok <[email protected]>
  1331. * TextControl.cs:
  1332. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  1333. - Undo(): Added replay of cursor move on DeleteChars action; added
  1334. calling Undo() again if a recorded cursor move is invalid (to
  1335. ensure that some action is performed on Undo)
  1336. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  1337. 2006-06-16 Jackson Harper <[email protected]>
  1338. * MdiClient.cs: Instead of just sizing maximized windows when
  1339. there is a resize we also have to adjust the Y of minimized
  1340. windows, so they stay pinned to the bottom of the mdi container.
  1341. - Eliminate separate tracking of the active control, we can just
  1342. get this from the controls collection.
  1343. - Paint the decorations for the newly activated titlebar so we get
  1344. a pretty blue bar.
  1345. * InternalWindowManager.cs:
  1346. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  1347. even if they are a tool window.
  1348. 2006-06-15 Peter Dennis Bartok <[email protected]>
  1349. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  1350. undo buffer, these can happen when text was deleted and the cursor
  1351. was recorded first. Since we will also have a recorded cursor
  1352. after the delete this is not an issue. (Fixes #78651)
  1353. 2006-06-14 Peter Dennis Bartok <[email protected]>
  1354. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  1355. instead properly track control states internally (allows us to
  1356. remove is_selected from Control)
  1357. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  1358. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  1359. whose width is not a multiple of 8.
  1360. 2006-06-13 Jackson Harper <[email protected]>
  1361. * MdiClient.cs: Only maximize the next child if the current one
  1362. is maximized.
  1363. 2006-06-13 Chris Toshok <[email protected]>
  1364. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  1365. modified. Also, guard against grid or grid_drawing being null in
  1366. Invalidate.
  1367. * DataGrid.cs: Reformat tons of getters/setters. In the
  1368. DataMember setter, just call SetNewDataSource instead of
  1369. duplicating some of its functionality. In SetNewDataSource, don't
  1370. check ListManager for null, since the property getter creates the
  1371. object if needed.
  1372. * DataGridTableStyle.cs: don't set TableStyle or call
  1373. SetDataGridInternal on the column here, it's done in
  1374. GridColumnStylesCollection.Add.
  1375. * GridColumnStylesCollection.cs: fix all the explicit interface
  1376. implementations to just call our methods. Nuke AddInternal() and
  1377. move the body of it to Add(). Also, add a call to
  1378. column.SetDataGridInternal to Add().
  1379. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  1380. base()+duplicate code. Also, use the Format property instead of
  1381. format to generate an Invalidate ala MS. Lastly, create the
  1382. textbox here, unconditionally.
  1383. (set_Format): call Invalidate.
  1384. (get_TextBox): no need to call EnsureTextBox.
  1385. (Commit): remove the message box.
  1386. (Edit) remove the call to EnsureTextBox.
  1387. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  1388. (EnterNullValue): no need to check textbox for null.
  1389. (HideEditBox): no need to check textbox for null.
  1390. (SetDataGridInColumn): add the textbox to the grid's controls.
  1391. (EnsureTextBox): nuke.
  1392. 2006-06-13 Jackson Harper <[email protected]>
  1393. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  1394. and redraw the buttons when needed. Unhook when the window is
  1395. unmaximized.
  1396. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  1397. needs this so that it can redraw its buttons when the menu is
  1398. repainted.
  1399. * InternalWindowManager.cs:
  1400. * Form.cs: The method order has changed for DrawMaximizedButtons,
  1401. so that it can be a PaintEventHandler.
  1402. 2006-06-13 Jackson Harper <[email protected]>
  1403. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  1404. window is activated and maximized, even if it wasn't before.
  1405. - When a new window is activated repaint the decorations of the
  1406. old one, so that it no longer has the Active "look" (the blue
  1407. titlebar).
  1408. * InternalWindowManager.cs: Open up CreateButtons to base classes
  1409. so they can recreate the buttons on state changes.
  1410. - If a window is maximized give it all three buttons
  1411. * MdiWindowManager.cs: Create the titlebar buttons when the state
  1412. is changed, this is needed because a toolwindow will not have all
  1413. three buttons until it is maximized.
  1414. 2006-06-13 Atsushi Enomoto <[email protected]>
  1415. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  1416. Fixed bug #78609.
  1417. 2006-06-12 Jackson Harper <[email protected]>
  1418. * KeysConverter.cs: Make sure we handle the Ctrl special case
  1419. if its the only key.
  1420. 2006-06-12 Jackson Harper <[email protected]>
  1421. * Theme.cs: Add a method to get the size of a managed window
  1422. toolbar button.
  1423. * InternalWindowManager.cs: Remove the ButtonSize property, this
  1424. should be retrieved from the theme.
  1425. * MdiWindowManager.cs: Get the button size from the theme
  1426. * ThemeWin32Classic.cs: Make the method to get the managed window
  1427. titlebar button size public.
  1428. - Handle the different button sizes of maximized toolwindows
  1429. (should match any maximized window).
  1430. - Get the titlebar height from the theme, not the WM (which gets
  1431. it from the theme).
  1432. 2006-06-12 Jackson Harper <[email protected]>
  1433. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  1434. event down to the mdi window manager.
  1435. - Expose some extra stuff to base classes
  1436. - Make sure to end the Capture on an NC Mouse up, so that we can
  1437. get double clicks properly, and the sizing doens't stick.
  1438. - When doing PointToClient contain it in the workable desktop
  1439. area, this prevents windows from changing size when the cursor is
  1440. pulled outside of the working area while sizing.
  1441. * MdiWindowManager.cs: When we get a double click maximize the
  1442. window.
  1443. - Reset the cursor after handling mode changes.
  1444. 2006-06-12 Peter Dennis Bartok <[email protected]>
  1445. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  1446. current desktop, instead of just assuming a 0, 0 origin. This
  1447. is needed for our internal window manager, to know the top
  1448. margin of the desktop
  1449. 2006-06-12 Chris Toshok <[email protected]>
  1450. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  1451. we need this to get rid of the selected background in the bool
  1452. column.
  1453. (CancelEditing): move the ConcedeFocus call to above the Abort
  1454. call. Also, set is_changing to false and invalidate the row
  1455. header if we were changing before.
  1456. (ProcessKeyPreviewInternal): remove, since noone outside this
  1457. class calls it anymore. Roll the code into ProcessKeyPreview.
  1458. (EndEdit): remove the internal version.
  1459. (InvalidateCurrentRowHeader): make private.
  1460. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  1461. Keys.Escape handling (and with it the last call to
  1462. DataGrid.EndEdit from outside the class.)
  1463. 2006-06-12 Chris Toshok <[email protected]>
  1464. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  1465. (OnKeyPress): set isedit to true.
  1466. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  1467. already handled by the grid.
  1468. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  1469. right. ugh.
  1470. (set_DataSource): SetDataSource always returns true, so stop
  1471. putting it in an if statement.
  1472. (EndEdit): get rid of some {}'s
  1473. (ProcessGridKey): return true in case Keys.Escape.
  1474. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  1475. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  1476. PositionChanged, stopped connecting to CurrentChanged.
  1477. (GetDataSource): simplify this a bunch.
  1478. (SetDataSource): change return type from bool to void.
  1479. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  1480. to this, and make sure we don't set ListManager.Position inside
  1481. set_CurrentCell.
  1482. (OnListManagerItemChanged): if we're passed an actual index,
  1483. redraw that row.
  1484. * CurrencyManager.cs (set_Position): don't call PullData here.
  1485. 2006-06-09 Jackson Harper <[email protected]>
  1486. * TreeNode.cs: Recalculate the visible order before doing the
  1487. Expand/Collapse Below calls, because those calls generate an
  1488. expose.
  1489. - Reduce calls to the TreeView property, which is mildly expensive
  1490. by using a local var.
  1491. * Form.cs: Layout the MDI child windows when creating the parent
  1492. form.
  1493. - Don't use the internal constructor anymore
  1494. * MdiClient.cs: use the parent form width/height (if available)
  1495. when laying out the child windows, we do this because the
  1496. mdiclient isn't docked yet when the initial layout is done.
  1497. - Don't need an internal constructor anymore.
  1498. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  1499. * FileDialog.cs: handle access errors when trying to create a folder
  1500. or changing to a directory. No need to initialize out parameters.
  1501. 2006-06-08 Alexander Olk <[email protected]>
  1502. * FileDialog.cs: Append a number when creating a new folder if the
  1503. folder already exists (use parenthesis instead of square brackets)
  1504. 2006-06-08 Alexander Olk <[email protected]>
  1505. * FileDialog.cs:
  1506. - Disabled registry support for windows and added better registry
  1507. error checking for other systems (need to investigate why it
  1508. works perfectly on my system)
  1509. - If a folder already exist show an error MessageBox instead of
  1510. trying to create an indexed name.
  1511. - Fixed a non intentional typo.
  1512. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  1513. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  1514. 2006-06-08 Alexander Olk <[email protected]>
  1515. * FileDialog.cs: When creating a new folder don't crash if the
  1516. folder already exists.
  1517. 2006-06-08 Alexander Olk <[email protected]>
  1518. * FileDialog.cs: Allmost a complete rewrite.
  1519. - added a "virtual" file system that handles the differences
  1520. between unix and windows file systems (especially the directory
  1521. structure). Moved most of the directory and file handling code
  1522. into the vfs.
  1523. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  1524. UnixFileSystem and FSEntry.
  1525. - Recently used folder/directory, size, location and used file names
  1526. (file name ComboBox) are now stored in the registry and get read
  1527. before the dialog shows up (fixes part 6 of bug #78446).
  1528. - Creation of new folders/directories is now possible (context menu
  1529. or ToolBar). Added TextEntryDialog for this that fills in the gap
  1530. until ListView.LabelEdit works.
  1531. - Fixed cursor handling (bug #78527) and focus handling for
  1532. PopupButtonPanel
  1533. - Various "Search in" ComboBox enhancements. The content of the
  1534. dropdown listbox now almost matches ms.
  1535. - Changed the behaviour when the user switches to SpecialFolder
  1536. Recent to show the ListView in View.Details.
  1537. - Beside using the ToolBar to change the View property of the
  1538. file ListView it is now possible to use the context menu too.
  1539. 2006-06-08 Alexander Olk <[email protected]>
  1540. * ComboBox.cs: Don't create a new ObjectCollection when an item
  1541. gets inserted. Just insert the item in the existing object_items
  1542. ArrayList.
  1543. 2006-06-08 Jackson Harper <[email protected]>
  1544. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  1545. that the treeview and root node checks are done also, this fixes a
  1546. regression i caused in the unit tests.
  1547. 2006-06-07 Wade Berrier <[email protected]>
  1548. * RichTextBox.cs: More ISO8859-1 -> unicode
  1549. 2006-06-07 Mike Kestner <[email protected]>
  1550. * ComboBox.cs : use items to hold highlight/selection so that
  1551. collection insertions don't require synchronization.
  1552. 2006-06-07 Jackson Harper <[email protected]>
  1553. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  1554. routine. We now always keep the sized edge at the cursor instead
  1555. of computing movement and adjusting rects. There is one buglet
  1556. with this method though when the cursor is moved over area that
  1557. the window can not expand too (such as the toolbars on the desktop).
  1558. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  1559. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  1560. here. Fixes crash on startup in AlbumSurfer.
  1561. 2006-06-07 Peter Dennis Bartok <[email protected]>
  1562. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  1563. values
  1564. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  1565. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  1566. statement to avoid calling XNextEvent which will block if another thread
  1567. took the event that we were expecting. Fixes bug #78605.
  1568. 2006-06-07 Mike Kestner <[email protected]>
  1569. * ListView.cs : isolated checkbox clicking from the selection logic.
  1570. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  1571. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  1572. * Form.cs: Check that the value passed to Form.DialogResult
  1573. is a valid enum value.
  1574. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  1575. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  1576. Computer'. Clicking it in the network view goes to 'My Computer'.
  1577. Added CIFS filesystem type. Display the mount point of filesystems.
  1578. Avoid duplicate mount points (happens for me with CIFS);
  1579. 2006-06-06 Jackson Harper <[email protected]>
  1580. * InternalWindowManager.cs: Draw the maximized windows buttons
  1581. when resizing.
  1582. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  1583. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  1584. all other dialogs. Fixes bug #78585.
  1585. 2006-06-06 Mike Kestner <[email protected]>
  1586. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  1587. Only invalidate checkbox on checkstate changes to avoid flicker.
  1588. * ListBox.cs : avoid unselect/select when clicking selected item.
  1589. avoid reselection flicker for already multiselected items.
  1590. Fixes #78382.
  1591. 2006-06-06 Jackson Harper <[email protected]>
  1592. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  1593. the parent form so that the menu is removed if needed.
  1594. 2006-06-06 Mike Kestner <[email protected]>
  1595. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  1596. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  1597. 2006-06-06 Mike Kestner <[email protected]>
  1598. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  1599. 2006-06-06 Jackson Harper <[email protected]>
  1600. * Control.cs: Use the property (instead of the field) to get the
  1601. default cursor so it is instantiated correctly.
  1602. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  1603. resizes so we need to manually repaint the window decorations here.
  1604. - Set the titlebar button locations as soon as they are created,
  1605. otherwise they are not set correctly on win32.
  1606. 2006-06-06 Chris Toshok <[email protected]>
  1607. * CurrencyManager.cs (set_Position): call PullData before
  1608. OnCurrentChanged.
  1609. (AddNew): after calling IBindingList.AddNew, update our
  1610. listposition, and call OnCurrentChanged/OnPositionChanged (without
  1611. calling PullData).
  1612. (OnCurrentChanged): remove the call to PullData from here.
  1613. (OnItemChanged): remove the call to PushData from here.
  1614. (OnPositionChanged): change the test from == null to != null to
  1615. match the other methods.
  1616. (ListChangedHandler): the grossest part of the patch. Implement
  1617. this such that it passes the unit tests in CurrencyManagerTest and
  1618. the output more or less matches that of MS's implementation.
  1619. 2006-06-06 Mike Kestner <[email protected]>
  1620. * ListView.cs : only update check state on single click.
  1621. * ThemeWin32Classic.cs : fix focus drawing for details view without
  1622. fullrowselect. Fixes #78454.
  1623. * XplatUIX11.cs : fix for double click emission.
  1624. 2006-06-05 Jonathan Chambers <[email protected]>
  1625. * PropertyGridView.cs : Applied Atsushi's patch to fix
  1626. font dialog bug (#78197).
  1627. 2006-06-05 Jackson Harper <[email protected]>
  1628. * TreeNode.cs: Compute the next node for expanding/collapsing
  1629. correctly. We now factor in nodes without a NextNode
  1630. correctly. (Fixes somes cases in nunit-gui).
  1631. * InternalWindowManager.cs: Set the bounds when updating the
  1632. virtual position of a tool window.
  1633. 2006-06-05 Chris Toshok <[email protected]>
  1634. * DataGrid.cs: rename cached_currencymgr to list_manager.
  1635. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  1636. some.
  1637. (CurrentRow, CurrentColumn): single accessors so we can make the
  1638. cursor movement code a lot easier to understand.
  1639. (CurrentRowIndex): implement this in terms of CurrentRow.
  1640. (BeginEdit): clean this up a bit.
  1641. (CancelEditing): sort out the is_editing/is_changing/is_adding
  1642. stuff a little.
  1643. (EndEdit): minor changes.
  1644. (OnKeyDown): add a comment about a (most likely) unnecessary
  1645. check.
  1646. (OnMouseDown): cancel editing when we click on a row header. And
  1647. use the CurrentRow setter, not CurrentCell.
  1648. (ProcessDialogKey): directly call ProcessGridKey.
  1649. (UpdateSelectionAfterCursorMove): factor out this common block of
  1650. code (it's used everywhere that we move the cursor by updating row
  1651. or column).
  1652. (ProcessGridKey): pretty substantial overhaul. Use the
  1653. CurrentRow/CurrentColumn properties to make the code a lot more
  1654. readable. Only use the CurrentCell property when we have to
  1655. modify both row and column at once. Tab behavior is still broken,
  1656. and Delete is untested.
  1657. (Select): if we have no selected rows, set selection_start to
  1658. @row.
  1659. (EditCurrentCell): rename EditCell this. It was only ever invoked
  1660. with CurrentCell as the arg, so drop the arg and rename it.
  1661. * DataGridColumnStyle.cs: clean up the constructors a little, and
  1662. drop CommonConstructor().
  1663. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  1664. actually get notified when the user hits it.
  1665. (ProcessKeyMessage): *substantially* simplify this method.
  1666. There's no reason (that I can see) for the textbox to be making
  1667. calls into the datagrid at all. Remove all of them but the ones
  1668. for Enter handling. those will take some more work.
  1669. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  1670. calling HideEditBox.
  1671. (HideEditBox): if we have an active textbox, render it invisible
  1672. without causing a re-layout of the datagrid.
  1673. 2006-06-05 Mike Kestner <[email protected]>
  1674. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  1675. collection changes by resetting it to Items[0]. Fixes #78587.
  1676. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  1677. * MessageBox.cs: if the height of the text is larger than the icon_size,
  1678. use that. Fixes bug #78575.
  1679. 2006-06-05 Jackson Harper <[email protected]>
  1680. * TreeView.cs: Fix line drawing when scrolling. To do this each
  1681. node is basically responsible for drawing its entire horizontal
  1682. area. When drawing a node it draws its parent node lines if
  1683. needed.
  1684. - Adjust the clip area to the viewport rectangle
  1685. - Fix Left/Right key handling to match MS. (It expand/collapses
  1686. and moves to parents/first child but does not move selection to
  1687. sibling nodes).
  1688. - Fix SetTop to work with new bound calculation code
  1689. - When scrollbars are no longer needed we need to reset scrolling
  1690. vars and recalculate the visible order so the redraw is correct
  1691. * TreeNode.cs: We can't expand/collapse nodes with no children.
  1692. 2006-06-03 John Luke <[email protected]>
  1693. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  1694. so the colors work without dev packages
  1695. 2006-06-02 Peter Dennis Bartok <[email protected]>
  1696. * Control.cs
  1697. - Select: Implemented to just use activate. Seems to match MS
  1698. behaviour closest. Documented to only do actual control walking
  1699. based on it's parameters if in a container control so I moved
  1700. the code there.
  1701. - Removed selection check logic from our internal Select() method
  1702. * ContainerControl.cs:
  1703. - Select: Moved selection logic from Control here, since MS documents
  1704. that containers obey the bool arguments. No longer calling base
  1705. 2006-06-02 Jackson Harper <[email protected]>
  1706. * TreeView.cs: If the selected node isn't changed when we get
  1707. focus update the previously selected node so that we see the
  1708. selection box.
  1709. 2006-06-02 Mike Kestner <[email protected]>
  1710. * ComboBox.cs: restructure grab and general mouse event handling.
  1711. Make the composite control raise mouse events like it was a single
  1712. control for leaves/enters/motion/up/down events. fix dropdown list
  1713. coordinate mangling and refactor it into the scrollbar subclass to
  1714. reduce code duplication. Fixes #78282 #78361 and #78457.
  1715. 2006-06-02 Mike Kestner <[email protected]>
  1716. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  1717. automatically in the Control.WndProc.
  1718. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  1719. * FileDialog.cs: fix crash when running SharpChess, which sets the
  1720. FilterIndex to 2 with only one Filter.
  1721. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  1722. * ToolBar.cs: add SizeSpecified property.
  1723. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  1724. try to figure out our real size, otherwise fallback to what the
  1725. container says.
  1726. 2006-06-01 Peter Dennis Bartok <[email protected]>
  1727. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  1728. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  1729. up the event
  1730. 2006-06-01 Mike Kestner <[email protected]>
  1731. * ListView.cs: revamp the focus management in ListView. It still
  1732. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  1733. better than not handling focus at all. Will revisit when pdb feels
  1734. the general focus handling is solid. Fixes #78526.
  1735. 2006-06-01 Jackson Harper <[email protected]>
  1736. * TreeView.cs: Set the default border style in the constructor.
  1737. - Move painting to use OnPaintInternal instead of capturing
  1738. WM_PAINT, this is the correct way of doing things
  1739. - UpdateBelow shouldn't invalidate the scrollbar area
  1740. - Cap the top on update below in case the node was above the top
  1741. of the viewport rectangle.
  1742. - ExpandBelow and Collapse below need to obey Begin/End Update.
  1743. * TreeNode.cs: Make is_expanded internal so the treenode
  1744. collection can change it without firing the whole event chain.
  1745. * TreeNodeCollection.cs: When clearing all the child nodes make
  1746. sure to recalc the visible order.
  1747. - Improve algo for remove the top node
  1748. 2006-06-01 Peter Dennis Bartok <[email protected]>
  1749. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  1750. SendMessage directly calling window procedures, which in turn might
  1751. call SetFocus()
  1752. 2006-06-01 Peter Dennis Bartok <[email protected]>
  1753. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  1754. has focus (works around X11 sending a FocusIn after our SetFocus)
  1755. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  1756. 2006-06-01 Alexander Olk <[email protected]>
  1757. * Mime.cs: Fix for the NET_2_0 build.
  1758. NameValueCollection needs StringComparer now.
  1759. 2006-05-31 Chris Toshok <[email protected]>
  1760. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  1761. return (via an out parameter) the starting X of the column.
  1762. (UpdateVisibleColumn): track change to FromPixelToColumn.
  1763. (HitTest): add a ColumnResize case here.
  1764. (DrawResizeLine): new function, probably poorly named.
  1765. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  1766. only need to keep one reference.
  1767. (set_ListManager): same.
  1768. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  1769. Also, add support for HitTestType.ColumnResize.
  1770. (OnMouseMove): add column resize behavior here, and change the
  1771. cursor to the correct one as we move around the datagrid.
  1772. (OnMouseUp): terminate the column resize if we're resizing.
  1773. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  1774. for the current cell.
  1775. (ConnectListManagerEvents): use cached_currencymgr.
  1776. (DisconnectListManagerEvents): fill this in, using
  1777. cached_currencymgr.
  1778. (SetCurrentCell): remove cached_currencymgr_events handling.
  1779. (SetDataMember): only call DisconnectListManagerEvents if
  1780. cached_currencymgr is != null.
  1781. (SetDataSource): same.
  1782. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  1783. cached_currencymgr.
  1784. 2006-05-31 Jackson Harper <[email protected]>
  1785. * BindingManagerBase.cs: Remove somedebug code that creeped into
  1786. SVN.
  1787. * TreeNode.cs: We get the indent level dynamically right now, so
  1788. don't track it as a member.
  1789. * TreeNodeCollection.cs: Make sure all nodes added to the list
  1790. have parents, treeviews/topnodes setup properly.
  1791. - Don't attempt to track indent level.
  1792. 2006-05-30 Jackson Harper <[email protected]>
  1793. * BindingContext.cs: Create the currency manager tables here.
  1794. This allows us to more easily create null tables (when bad data
  1795. members are used), and more easily create related currency
  1796. managers.
  1797. * CurrencyManager.cs: All the table creation stuff is done by the
  1798. binding context now.
  1799. - Current should throw an exception if listposition is -1.
  1800. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  1801. been bound yet.
  1802. 2006-05-30 Mike Kestner <[email protected]>
  1803. * ListView.cs: allow reexpansion of zero-width column headers.
  1804. Fixes #78528.
  1805. 2006-05-28 Chris Toshok <[email protected]>
  1806. * CurrencyManager.cs (get_Current): after the late binding
  1807. listposition = -1 fix, we need to guard against it here and return
  1808. null, otherwise we raise an exception (which is swallowed
  1809. elsewhere, and breaks datagrid databinding.)
  1810. 2006-05-26 Peter Dennis Bartok <[email protected]>
  1811. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  1812. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  1813. 2006-05-26 Jackson Harper <[email protected]>
  1814. * ControlPaint.cs:
  1815. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  1816. values, it's faster and it's all we care about (we don't care if
  1817. the names aren't equal).
  1818. * KeyboardLayouts.cs: Eliminate some dead code.
  1819. - Lazy init things
  1820. * X11Keyboard.cs: Lazy init keyboard detection.
  1821. - Cleanup access modifiers a little.
  1822. 2006-05-26 Peter Dennis Bartok <[email protected]>
  1823. * XplatUIX11.cs: Once again, attempting to get layout just right.
  1824. 2006-05-26 Peter Dennis Bartok <[email protected]>
  1825. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  1826. the sizes of each link section, that will result in sizes that
  1827. match DrawString's layout (Fixes #78391)
  1828. 2006-05-27 Alexander Olk <[email protected]>
  1829. * FileDialog.cs: If AddExtension property is true autocomplete the
  1830. extensions in SaveFileDialog correctly. Fixes bug #78453.
  1831. Set MyNetwork and MyComputer to "C:\" for windows. This should
  1832. fix part 8 of bug #78446 for now.
  1833. 2006-05-26 Chris Toshok <[email protected]>
  1834. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  1835. invalidate the current row header if we need to, but presumably
  1836. we'll invalidate the row corrsponding to the bounds or
  1837. editingControl.
  1838. (GridHScrolled): switch back to this method, as it's part of the
  1839. public api. *sigh*.
  1840. (GridVScrolled): same.
  1841. (OnMouseWheel): hack up something that more or less works. Call
  1842. GridHScrolled/GridVScrolled directly, instead of duplicating much
  1843. of their code here.
  1844. (EnsureCellVisibility): reinstate a bunch of this code, since we
  1845. can't just set the scrollbar Value and expect to do all the work
  1846. in the ValueChanged handler. Also, Call Update() after scrolling
  1847. in one direction so the other XplatX11.ScrollWindow call has the
  1848. proper stuff in the proper places.
  1849. (EditCell): set is_editing to true before calling .Edit.
  1850. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  1851. don't bother comparing first.
  1852. (OnKeyPress): call grid.ColumnStartedEditing before calling
  1853. base.OnKeyPress. this will set is_changing and invalidate the row
  1854. header if necessary.
  1855. (ProcessKeyMessage): for WM_CHAR messages, call
  1856. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  1857. and WM_KEYDOWN.
  1858. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  1859. it's done in the DataGrid.
  1860. (NextState): call grid.ColumnStartedEditing, which takes care of
  1861. invalidating the row header (and setting is_changing).
  1862. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  1863. here. it's done in the DataGrid.
  1864. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  1865. * Control.cs: allow changing the cursor when the mouse position is
  1866. out of bounds but Capture is set.
  1867. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  1868. linklabel but released somewhere else.
  1869. 2006-05-25 Jackson Harper <[email protected]>
  1870. * TreeView.cs: When we get focus if there is no selected node make
  1871. it the top node
  1872. - Remove some uneeded setup code from Draw.
  1873. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  1874. a new node is inserted make the new node the top.
  1875. * XplatUIX11.cs:
  1876. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  1877. be used (should be faster).
  1878. 2006-05-25 Chris Toshok <[email protected]>
  1879. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  1880. problem with the last commit.
  1881. 2006-05-25 Chris Toshok <[email protected]>
  1882. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  1883. need the invalidate call here, while scrolling right-to-left via
  1884. the left arrow key (i.e. moving the editing cell while scrolling).
  1885. * DataGrid.cs (.ctor): remove the initialization of
  1886. ctrl_pressed/shift_pressed. We no longer track them using key
  1887. up/down handlers, but by using Control.ModifierKeys. Also, switch
  1888. to using ValueChanged handlers on the scrollbars instead of
  1889. Scrolled event handlers. This simplifies a bunch of the scrolling
  1890. code.
  1891. (GridHValueChanged): rename from GridHScrolled, and change it to
  1892. work with the new event args.
  1893. (GridVValueChanged): same.
  1894. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  1895. (OnMouseWheel): actually scroll the datagrid. Don't change the
  1896. selected cell.
  1897. (ProcessGridKey): correct all the keyboard navigation stuff I
  1898. could find. Ctrl up/down/left/right/home/end work now.
  1899. (EnsureCellVisibility): correct method name spelling. Also,
  1900. simplify this a touch by not explicitly calling the
  1901. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  1902. scrollbar value.
  1903. (OnKeyUpDG): no need for this method now.
  1904. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  1905. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  1906. Fixes bug #78392.
  1907. 2006-05-25 Chris Toshok <[email protected]>
  1908. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  1909. r61019.
  1910. 2006-05-25 Peter Dennis Bartok <[email protected]>
  1911. * Application.cs: Moved setting of is_modal and closing to before
  1912. we create the control, to allow the event handlers called as a
  1913. result of creation affect closing. Also removed Gonzalo's previous
  1914. change to setting DialogResult, the behaviour has been moved to
  1915. Form.ShowDialog()
  1916. * Form.cs:
  1917. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  1918. handle it instead
  1919. - ShowDialog(): If no dialog result is set, we need to return Cancel
  1920. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  1921. the close is cancelled
  1922. 2006-05-25 Jackson Harper <[email protected]>
  1923. * StatusBar.cs: We only need to update the sizes of the other
  1924. panels when we have auto size contents. Also we are only updating
  1925. the contents of the panel, not the borders, so compensate for the
  1926. border width (TODO: get this width from the theme somehow).
  1927. * TreeView.cs: Scrollable is true by default
  1928. - Use invalidate instead of refresh where needed
  1929. - Factor the scrollable value into scrollbar updating
  1930. - Update the scrollbars if the Scrollable property is altered
  1931. - Update the selected node if its ImageIndex is changed
  1932. - Handle null nodes in UpdateNode (mainly so we don't have to
  1933. check if selected is null when updating it
  1934. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  1935. are factored into the visible count
  1936. - Use VisibleCount for clarity in the code
  1937. - When the font is changed we need to recurse through all the
  1938. nodes and invalidate their sizes
  1939. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  1940. * Application.cs: set the DialogResult to fixed when the main form is
  1941. hidden or destroyed while being modal.
  1942. 2006-05-25 Miguel de Icaza <[email protected]>
  1943. * Theme.cs: Use Tangoified messagebox icons.
  1944. (GetSizedResourceImage): Also cope with width = 0 and do not
  1945. trigger a warning in that case (0 means "give me your icon from
  1946. the resouce, no special size needed).
  1947. 2006-05-25 Peter Dennis Bartok <[email protected]>
  1948. * Application.cs: Leave runloop if the the main modal form is
  1949. hidden (fixes #78484)
  1950. 2006-05-25 Atsushi Enomoto <[email protected]>
  1951. * BindingContext.cs : reject null datasource in Contains() and
  1952. Item[].
  1953. * CurrencyManager.cs : check data_member validity when data_source
  1954. is dataset. When it is late binding, the initial position is -1.
  1955. 2006-05-24 Jackson Harper <[email protected]>
  1956. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  1957. inserted nodes that aren't visible. This changes the
  1958. max_visible_order which confuses scrollbar settings.
  1959. - Use the enumerator to get the prev node instead of duplicating
  1960. code.
  1961. * TreeView.cs: Use new method for setting scrollbar values
  1962. - Don't set the bounds every time the scrollbar is updated
  1963. - When updating below the root node use an invalidate instead of a
  1964. refresh to prevent the child controls (scrollbars) from being
  1965. refreshed. (UpdateBelow still needs to be reworked anyways).
  1966. - Reenable SetBottom now that visible orders are set correctly,
  1967. added some debug code incase we ever get bad values there again.
  1968. - Set the scrollbar max to 2 less then the max value, this
  1969. compensates for the max value being one above the node count, and
  1970. for scrollbars adding one extra "notch".
  1971. - When drawing image nodes if there is an imagelist we draw the
  1972. first image in the list if the supplied image index is out of the
  1973. image list's bounds.
  1974. 2006-05-24 Peter Dennis Bartok <[email protected]>
  1975. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  1976. we receive a size change from the WM (Fixes #78503)
  1977. 2006-05-24 Peter Dennis Bartok <[email protected]>
  1978. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  1979. rectangle (Fixes #78501)
  1980. 2006-05-24 Peter Dennis Bartok <[email protected]>
  1981. * ButtonBase.cs:
  1982. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  1983. as a bitfield.
  1984. - Fixed MouseMove to no longer switch pressed state unless the left
  1985. mouse button is pressed. Atsushi provided the original patch (#78485)
  1986. 2006-05-24 Jackson Harper <[email protected]>
  1987. * ScrollBar.cs: New internal methods that allow us to change a
  1988. couple values on the scrollbar (the most common case is maximum
  1989. and large change) without getting multiple invalidates.
  1990. 2006-05-24 Chris Toshok <[email protected]>
  1991. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  1992. (Edit): save off the original state in oldState, and set
  1993. grid.is_editing to true.
  1994. (OnKeyDown): abort editing if escape is pressed. also, call
  1995. NextState if space is pressed.
  1996. (OnMouseDown): call NextState.
  1997. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  1998. here. Also, only invalidate the row header once (on the initial
  1999. is_changing switch) to save on redraws.
  2000. 2006-05-24 Chris Toshok <[email protected]>
  2001. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  2002. if the value in the cell is different than it was before. This
  2003. keeps us from triggering a layout when we move around a datarid
  2004. with a highlighted cell.
  2005. (Edit): suspend layout when creating/positining the text box, and
  2006. resume passing false so we don't ever actually re-layout.
  2007. (ReleaseHostedControl): same.
  2008. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  2009. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  2010. control-key sequences should go to the datagrid - remove that
  2011. lock. Also, modify the conditions under which we move between
  2012. cells when moving the cursor within a cell, and remove the "this"
  2013. and "base" from field accesses. We weren't even consistent, given
  2014. they all were in the base class.
  2015. 2006-05-24 Atsushi Enomoto <[email protected]>
  2016. * Binding.cs : (.ctor)
  2017. An obvious NRE fix for BindingTest.CtorNullTest().
  2018. 2006-05-23 Chris Toshok <[email protected]>
  2019. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  2020. them between lines. This fixes some quirks editing cells in the
  2021. datagrid.
  2022. 2006-05-23 Jackson Harper <[email protected]>
  2023. * TreeView.cs: Use begin/end update when doing expand/collapse all
  2024. so that we don't get flicker on the scrollbar.
  2025. 2006-05-23 Jackson Harper <[email protected]>
  2026. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  2027. treenode calculations to be independant of the painting code. To
  2028. do this nodes track a visible order which is calculated by the
  2029. treeview.
  2030. - Call new methods for expanding/collapsing nodes. These methods
  2031. use scrollwindow so we don't have to update everything below the
  2032. node.
  2033. * TreeView.cs: Refactored drawing and scrolling code. We don't
  2034. need to update nodes when drawing anymore or calculate scrollbar
  2035. stuff.
  2036. - Added new methods for expanding/collapsing nodes. These methods
  2037. use ScrollWindow so as to not have to redraw all the nodes below.
  2038. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  2039. we add/remove nodes or sort.
  2040. - Handle removing the selected and the top node properly.
  2041. 2006-05-23 Chris Toshok <[email protected]>
  2042. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  2043. maybe this should actually happen in the datagrid code?
  2044. (EndEdit): no need to invalidate anything, given that
  2045. ReleaseHostedControl causes the datagrid to relayout, which
  2046. invalidates everything anyway.
  2047. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  2048. in SetCurrentCell).
  2049. (set_SelectionBackColor): call InvalidateSelection instead of
  2050. Refresh.
  2051. (set_SelectionForeColor): same.
  2052. (BeginEdit): Flesh this out a bit.
  2053. (CancelEditing): only do any of this if we're editing/adding.
  2054. (EndEdit): same.
  2055. (OnMouseDown): there's no need to cancel editing here, it's done
  2056. in SetCurrentCell.
  2057. (SetCurrentCell): only invalidate the current row header if it's a
  2058. different row than the new one.
  2059. (ShiftSelection): fix this to work like MS does.
  2060. (ResetSelection): factor out the invalidation of selected_rows to
  2061. InvalidateSelection.
  2062. (SetDataSource): cancel any editing that's going on.
  2063. * DataGridColumnStyle.cs
  2064. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  2065. call the non-interface version.
  2066. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  2067. header rectangle with the clip rectangle so we don't redraw the
  2068. entire header for just a small area. Gets rid of the last flicker
  2069. when horizontally scrolling.
  2070. (DataGridPaintRow): same.
  2071. 2006-05-23 Mike Kestner <[email protected]>
  2072. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  2073. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  2074. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  2075. Critical bug report.
  2076. 2006-05-23 Peter Dennis Bartok <[email protected]>
  2077. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  2078. and this fixes #78493
  2079. 2006-05-23 Miguel de Icaza <[email protected]>
  2080. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  2081. size is not found.
  2082. * FileDialog.cs: Do not change the background for the side bar as
  2083. it wont work nicely with the theme, and also reduces the artifacts
  2084. in rendering the icons (which I want to fix too).
  2085. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  2086. resources, not resgen resources.
  2087. (PlatformDefaultHandler): Pull images using the new API.
  2088. 2006-05-23 Peter Dennis Bartok <[email protected]>
  2089. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  2090. a reference to the hwnd and will not remove it unless there are
  2091. no pending exposures (fixes #78341)
  2092. * XplatUI.cs: Improved debug
  2093. 2006-05-23 Atsushi Enomoto <[email protected]>
  2094. * MenuAPI.cs : don't handle OnClick event when it was not the left
  2095. button. Fixed bug #78487.
  2096. 2006-05-23 Mike Kestner <[email protected]>
  2097. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  2098. prefer submenus to the top menu for item lookup, to avoid popping down
  2099. top-row items.
  2100. 2006-05-23 Alexander Olk <[email protected]>
  2101. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  2102. Graphics.FillRectangle as the visual results are really bad (even
  2103. on win). We now draw perfect arrows (and perfect shadows when the
  2104. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  2105. Pen.DashPattern to draw the dots of each line.
  2106. 2006-05-22 Alexander Olk <[email protected]>
  2107. * FileDialog.cs: Update the filename combobox when navigating through
  2108. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  2109. 2006-05-22 Mike Kestner <[email protected]>
  2110. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  2111. Fixes #78463.
  2112. 2006-05-22 Mike Kestner <[email protected]>
  2113. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  2114. requests. Fix a misspelled parameter and a copy paste exception error
  2115. in Select.
  2116. 2006-05-22 Peter Dennis Bartok <[email protected]>
  2117. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  2118. to get the same width/height (5/13) on X11 as the default font has on
  2119. win32. This means that our DefaultFont emSize is smaller than the
  2120. the MS SWF equivalent (even thought the width/height stays the same)
  2121. 2006-05-20 Jackson Harper <[email protected]>
  2122. * MdiClient.cs:
  2123. * MdiWindowManager.cs:
  2124. * InternalWindowManager.cs: Make sure to use the border width from
  2125. the theme.
  2126. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  2127. * PrintDialog.cs: Implements printer details
  2128. 2006-05-19 Alexander Olk <[email protected]>
  2129. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  2130. Fixes part 1 and 2 of bug #78446
  2131. 2006-05-19 Peter Dennis Bartok <[email protected]>
  2132. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  2133. instead of sticking to the first ever calculated value
  2134. 2006-05-19 Mike Kestner <[email protected]>
  2135. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  2136. PointToClient, since Capture is set. Fixes #78344.
  2137. 2006-05-19 Mike Kestner <[email protected]>
  2138. * ListView.cs: match MS behavior in Details view where items are not
  2139. drawn if Columns.Count == 0.
  2140. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  2141. Use a separate pen to draw the check, since changing the width affects
  2142. the box as well. Fixes #78454.
  2143. 2006-05-18 Miguel de Icaza <[email protected]>
  2144. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  2145. exception should throw the name of the invalid argument.
  2146. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  2147. there are no files listed.
  2148. 2006-05-18 Jackson Harper <[email protected]>
  2149. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  2150. up.
  2151. 2006-05-18 Peter Dennis Bartok <[email protected]>
  2152. * Control.cs: Brought back our old UpdateZOrder method as a private
  2153. function and switched our calls from UpdateZOrder to the new one.
  2154. This fixes the Paint.Net canvas disappearing bug.
  2155. 2006-05-18 Jackson Harper <[email protected]>
  2156. * Theme.cs:
  2157. * ThemeWin32Classic.cs:
  2158. * InternalWindowManager.cs: Move the drawing into the theme,
  2159. expose everything the theme should need from the window manager.
  2160. 2006-05-18 Peter Dennis Bartok <[email protected]>
  2161. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  2162. from the call to NativeWindow to avoid walking up the parent chain
  2163. further than needed (speeds up setting cursors and avoids setting
  2164. the wrong cursor if a parent has another cursor defined)
  2165. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  2166. the icon as hotspot, not what's contained as hotspot in the icon
  2167. file. This fixes the perceived drawing offset seen with Paint.Net
  2168. 2006-05-18 Peter Dennis Bartok <[email protected]>
  2169. * XplatUIX11.cs:
  2170. - Store the calculated rectangle in Hwnd object and use it when
  2171. setting the client size
  2172. - Force Toolwindows to always be type Dock, to ensure they're on top
  2173. 2006-05-18 Mike Kestner <[email protected]>
  2174. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  2175. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  2176. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  2177. Substantial refactoring to remove confusing nested classes. Coding
  2178. standard and Get+Set->property refactorings. Shift to index based
  2179. highlighting in ComboListBox instead of constantly using IndexOf and
  2180. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  2181. in FileDialog growth. Draw borders manually since Simple mode needs
  2182. to look like two independent controls. Make listbox border
  2183. conditional to DropDownStyle. Improved OwnerDraw support.
  2184. 2006-05-18 Sebastien Pouliot <[email protected]>
  2185. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  2186. Don't set the disposed graphics to null, so we can throw the "right"
  2187. exception if the graphics is reused later (added a flag to avoid
  2188. double disposing). Some behaviours are different under 2.0 and are
  2189. filled under bug #78448.
  2190. 2006-05-18 Peter Dennis Bartok <[email protected]>
  2191. * Control.cs: When double-buffering is enabled, we need to reset
  2192. our graphics context between paint calls. Otherwise, any
  2193. transformations and other alterations on the context will
  2194. become cumulative (#77734)
  2195. 2006-05-18 Mike Kestner <[email protected]>
  2196. * ListView.cs: do focused item selection like MS on clicks.
  2197. Rework focus handling for ItemControl so LostFocus invalidates as
  2198. well.
  2199. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  2200. the ListView ItemControl has focus.
  2201. 2006-05-17 Peter Dennis Bartok <[email protected]>
  2202. * XplatUIX11.cs: If client_window ends up being width or height zero
  2203. due to border settings, move it off window inside whole_window (#78433)
  2204. 2006-05-17 Alexander Olk <[email protected]>
  2205. * Mime.cs: Shrink the mime file cache correctly.
  2206. 2006-05-17 Alexander Olk <[email protected]>
  2207. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  2208. 2006-05-16 Peter Dennis Bartok <[email protected]>
  2209. * XplatUIX11.cs (AddExpose): More sanity checks
  2210. 2006-05-16 Peter Dennis Bartok <[email protected]>
  2211. * XplatUIX11.cs:
  2212. - AddExpose: Don't add expose ranges outside the size of our
  2213. window
  2214. - Cast opacity values to Int32 to avoid crashes with certain
  2215. values
  2216. - Added disabled code paths that protect against illegal cross-
  2217. thread painting (Developers.exe)
  2218. 2006-05-16 Peter Dennis Bartok <[email protected]>
  2219. * ProgressBar.cs: Invalidate the control when it's resized
  2220. since block size is based on control size. (#78388)
  2221. 2006-05-16 Miguel de Icaza <[email protected]>
  2222. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  2223. of setting the incoming argument to the "reset" value, we set the
  2224. this.datamember to string.empty (before we were invalidating the
  2225. incoming data).
  2226. Fixes 78420
  2227. 2006-05-16 Peter Dennis Bartok <[email protected]>
  2228. * Form.cs: Only apply transparency settings after the form
  2229. is created. (Fixes #77800)
  2230. 2006-05-16 Peter Dennis Bartok <[email protected]>
  2231. * ApplicationContext.cs: Grab the HandleDestroyed event so
  2232. we know when to fire OnMainFormClosed
  2233. 2006-05-16 Peter Dennis Bartok <[email protected]>
  2234. * Application.cs: Introduced sub-class to allow tracking of
  2235. threads and centralized triggering of the event mess for
  2236. ThreadExit, AppExit, etc.. (#76156)
  2237. 2006-05-16 Alexander Olk <[email protected]>
  2238. * MimeIcon.cs:
  2239. - Do not return a null icon index value for a mime subclass.
  2240. Instead try the main mime type class too.
  2241. - Seems that some newer distributions don't have a link to some
  2242. gnome default icons anymore. So check the default gnome dir too.
  2243. 2006-05-16 Jackson Harper <[email protected]>
  2244. * MdiClient.cs: Don't paint the parent background image if we have
  2245. our own background image.
  2246. 2006-05-16 Peter Dennis Bartok <[email protected]>
  2247. * Control.cs:
  2248. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  2249. controls, all filled controls are supposed to overlap (#78080)
  2250. - UpdateZOrder is supposed to update the control's z-order in the
  2251. parent's z-order chain. Fixed to behave like that
  2252. - BringToFront: Removed obsolete code
  2253. - SendToBack: Simplyfied
  2254. - SetChildIndex: Trigger layout calculations when Z-order changes
  2255. since layout is done by z-order
  2256. 2006-05-16 Chris Toshok <[email protected]>
  2257. [ fixes bug #78410 ]
  2258. * DataGrid.cs (set_AlternatingBackColor): use
  2259. grid_drawing.InvalidateCells instead of Refresh().
  2260. (set_BackColor): call grid_drawing.InvalidateCells.
  2261. (set_BackgroundColor): use Invalidate instead of Refresh.
  2262. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  2263. invalidate the cell area.
  2264. 2006-05-15 Chris Toshok <[email protected]>
  2265. [ fixes bug #78011 ]
  2266. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  2267. on to DataGridPaintRow.
  2268. (DataGridPaintRow): take a clip argument, and only draw the cells
  2269. which intersect it. same with the not_usedarea.
  2270. * Theme.cs (DataGridPaintRow) add @clip parameter.
  2271. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  2272. XplatUI.ScrollWindow.
  2273. (ScrollToRow): same.
  2274. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  2275. with last column which was causing a gray swath to appear with the
  2276. XplatUI.ScrollWindow code.
  2277. 2006-05-15 Chris Toshok <[email protected]>
  2278. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  2279. use XplatUI.ScrollWindow.
  2280. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  2281. 2006-05-15 Peter Dennis Bartok <[email protected]>
  2282. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  2283. 2006-05-15 Peter Dennis Bartok <[email protected]>
  2284. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  2285. file since there are no equivalent X11 cursors
  2286. 2006-05-15 Atsushi Enomoto <[email protected]>
  2287. * MonthCalendar.cs : DateTimePicker should reflect selected date
  2288. on mouse*up*, not mouse*down*. Fixed originally reported part of
  2289. bug #76474.
  2290. 2006-05-15 Atsushi Enomoto <[email protected]>
  2291. * TabControl.cs : When argument index is equal or more than tab
  2292. count, just ignore. Fixed bug #78395.
  2293. 2006-05-15 Peter Dennis Bartok <[email protected]>
  2294. * Control.cs: Dispose all child controls when control is diposed (#78394)
  2295. 2006-05-14 Alexander Olk <[email protected]>
  2296. * ColorDialog.cs: Finally it is possible to select the color with
  2297. the text boxes
  2298. 2006-05-14 Alexander Olk <[email protected]>
  2299. * PrintDialog.cs: Fix typo
  2300. 2006-05-14 Alexander Olk <[email protected]>
  2301. * PrintDialog.cs: PrintDialog is not resizable
  2302. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  2303. color. Made some ToolBar drawing methods protected virtual.
  2304. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  2305. * PrintDialog.cs: Implementation of the PrintDialog
  2306. 2006-05-12 Chris Toshok <[email protected]>
  2307. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  2308. thumb, instead use MoveThumb. This has the side effect of making
  2309. most of the other thumb moving machinery use MoveThumb as well.
  2310. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  2311. need to actually invalidate the rectangle where the new thumb will
  2312. go.
  2313. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  2314. We force an Update() after, so it's not as fast as it could be,
  2315. but at least there's zero flicker and no droppings.
  2316. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  2317. (UpdateThumbPos): add another argument (dirty), which says whether
  2318. or not to calculate/add dirty regions which we later invalidate.
  2319. For cases where we know we're going to use MoveThumb, we pass
  2320. false for this. Otherwise, pass true.
  2321. 2006-05-12 Jackson Harper <[email protected]>
  2322. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  2323. the status bar.
  2324. 2006-05-12 Peter Dennis Bartok <[email protected]>
  2325. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  2326. and GetClipRegion methods and UserClipWontExposeParent property.
  2327. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  2328. overriding UserClipWontExposeParent property, setting to false, since
  2329. Win32 handles the required expose messages to draw our clipped parent
  2330. areas internally
  2331. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  2332. PaintEventStart to set the user clip region if set.
  2333. * Control.cs:
  2334. - Now internally tracking the Region for the control since we need to
  2335. store it if the handle is not yet created and only set it when it
  2336. becomes created. Before setting the region forced handle creation
  2337. - Added code to draw the parents underneath a user-clipped region
  2338. * Hwnd.cs: Added UserClip property
  2339. 2006-05-12 Chris Toshok <[email protected]>
  2340. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  2341. (set_Maximum): same.
  2342. (set_Minimum): same.
  2343. (set_SmallChange): same.
  2344. (OnMouseUpSB): remove the call to refresh when releasing the
  2345. thumb. We shouldn't need it.
  2346. 2006-05-12 Miguel de Icaza <[email protected]>
  2347. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  2348. AutoSize set to None, we do not need to relayout everything, we
  2349. just need to invalidate the current region.
  2350. (Draw): Do not draw the entire ClientArea, just redraw the
  2351. clip area being passed.
  2352. * MdiClient.cs: Make MdiClient constructor with the Form argument
  2353. internal.
  2354. 2006-05-12 Jackson Harper <[email protected]>
  2355. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  2356. parents background image, but strangely not their own.
  2357. - (DrawStatusBarPanel): Take into account horizontal alignment
  2358. when drawing the strings and icons.
  2359. 2006-05-12 Mike Kestner <[email protected]>
  2360. * ListBox.cs: avoid invalidations for focus when the collection is
  2361. empty.
  2362. 2006-05-12 Chris Toshok <[email protected]>
  2363. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  2364. invalidate the entire thumb area. Call InvalidateDirty which
  2365. limits the redraw to the thumb itself and surrounding pixels.
  2366. * XplatUIX11.cs (ScrollWindow): optimize copying.
  2367. 2006-05-12 Chris Toshok <[email protected]>
  2368. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  2369. Figure out the positioning/layout in a single pass instead of
  2370. multiple recursive invocations. Speeds up the initial display of
  2371. the data grid. Also, make many things private that were
  2372. originally public but unused outside this class.
  2373. 2006-05-11 Jackson Harper <[email protected]>
  2374. * MdiClient.cs: Improved layout code.
  2375. 2006-05-11 Jonathan Chambers <[email protected]>
  2376. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  2377. not SelectedObject.
  2378. 2006-05-11 Chris Toshok <[email protected]>
  2379. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  2380. union of that will always be {0,0,width,height}.
  2381. 2006-05-11 Jackson Harper <[email protected]>
  2382. * Form.cs: Match MS's DefaultSize for forms (they must have
  2383. changed the size in sp2).
  2384. 2006-05-11 Atsushi Enomoto <[email protected]>
  2385. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  2386. 2006-05-11 Atsushi Enomoto <[email protected]>
  2387. * TextControl.cs : Fixed bug #78109. This incorrect position
  2388. comparison caused crash on automatic line split.
  2389. * TextBoxBase.cs : reduce duplicate code.
  2390. 2006-05-10 Jackson Harper <[email protected]>
  2391. * MdiClient.cs: Active form is only sent to the back when using
  2392. the Next form functionality, when a form is clicked the current
  2393. active shouldn't be sent to the back.
  2394. - Layout the mdi windows when the container is first made visible.
  2395. * Form.cs: Give the MdiClient a ref to the containing form when we
  2396. create it.
  2397. 2006-05-10 Atsushi Enomoto <[email protected]>
  2398. * LinkLabel.cs : link_font could be uninitialized, so populate one
  2399. before actual use. Fixed bug #78340.
  2400. 2006-05-10 Atsushi Enomoto <[email protected]>
  2401. * XplatUIX11.cs : clipboard format native value is IntPtr.
  2402. Fixed bug #78283.
  2403. 2006-05-10 Peter Dennis Bartok <[email protected]>
  2404. * Control.cs:
  2405. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  2406. which is passed up the parent chain by DefWndProc
  2407. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  2408. to DefWndProc (#77956)
  2409. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  2410. 2006-05-10 Jackson Harper <[email protected]>
  2411. * MdiClient.cs: We need to remove the controls from the mdi
  2412. collection, when we close the window.
  2413. * MdiWindowManager.cs: Special handling of closing mdi windows.
  2414. * InternalWindowManager.cs: Make the close method virtual so the
  2415. mdi window manager can handle it specially.
  2416. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  2417. * DataGrid.cs:
  2418. - Recalculate grid when the data source has changed
  2419. - Matches styles provided by user from all data sources types
  2420. * DataGridTableStyle.cs: For columns that provided by the user set the
  2421. with the preferred value is there was unassigned.
  2422. * CurrencyManager.cs: throw OnItemChanged event
  2423. 2006-05-10 Peter Dennis Bartok <[email protected]>
  2424. * PictureBox.cs: Don't animate until handle is created. Start animation
  2425. when handle is created.
  2426. 2006-05-10 Peter Dennis Bartok <[email protected]>
  2427. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  2428. current codebase.
  2429. * XEventQueue.cs: We don't need to provide the extra info
  2430. 2006-05-10 Jackson Harper <[email protected]>
  2431. * MdiClient.cs: If the mdi clients parent form has a background
  2432. image set, we draw that background image for the mdi area's
  2433. background.
  2434. 2006-05-10 Peter Dennis Bartok <[email protected]>
  2435. * TextBoxBase.cs: Set IBeam cursor (#78347)
  2436. 2006-05-10 Mike Kestner <[email protected]>
  2437. * ToolBar.cs: fix some text padding issues with ButtonSize
  2438. calculation. Update the default size to match MS documentation.
  2439. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  2440. button size. Fixes #78296.
  2441. 2006-05-10 Mike Kestner <[email protected]>
  2442. * ListBox.cs: use is_visible for scrollbar positioning in case the
  2443. control isn't on screen yet. Fix off by one with Right vs Width
  2444. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  2445. 2006-05-10 Jackson Harper <[email protected]>
  2446. * X11Dnd.cs: Drop to a control with another control on top of it.
  2447. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  2448. be modified in click handlers. TODO: Look for similar problems in
  2449. other controls.
  2450. 2006-05-09 Jackson Harper <[email protected]>
  2451. * Form.cs: Window managers need the old window state when setting
  2452. window state now.
  2453. * InternalWindowManager.cs: Allow the base mdi window manager to
  2454. handle more of the MDI only stuff (like maximize buttons).
  2455. * MdiWindowManager.cs: Fix some snafus in changing the window
  2456. state. Add all the menu functionality, for both popup and
  2457. maximized menus.
  2458. * MdiClient.cs: When a new form is selected the currently
  2459. activated form is sent to the back, this matches MS.
  2460. - Implement a new method to activate the next mdi child window.
  2461. 2006-05-08 Peter Dennis Bartok <[email protected]>
  2462. * Control.cs:
  2463. - Added new InternalCapture method to allow controls to prevent
  2464. the capture behaviour on the click handlers
  2465. - Switched to use InternalCapture
  2466. * ComboBox.cs:
  2467. - Using InternalCapture to prevent mouse captures from being released
  2468. on mouse button release (Fixes #78100)
  2469. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  2470. returns Form borders if a caption is present. (Fixes #78310)
  2471. 2006-05-08 Peter Dennis Bartok <[email protected]>
  2472. * TreeNode.cs: Changed serialization .ctor to not require every field
  2473. to be present. (#78265)
  2474. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  2475. 2006-05-05 Alexander Olk <[email protected]>
  2476. * MimeIcon.cs: for is faster than foreach for strings.
  2477. 2006-05-05 Mike Kestner <[email protected]>
  2478. * CheckedListBox.cs: update check handling code to not use selected.
  2479. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  2480. behavior for visual feedback, motion response, shift/ctrl handling,
  2481. and properly deal with all 4 selection modes. Updates to bounds
  2482. handling logic. Add scroll wheel support. [Fixes #77842]
  2483. 2006-05-05 Peter Dennis Bartok <[email protected]>
  2484. * ListView.cs:
  2485. - Moved adding of Implicit controls into .ctor. That way, subsequent
  2486. creation of the controls will not cause them to think they are
  2487. toplevel windows (fixes #78200 header problem)
  2488. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  2489. - Switched visibility setting of header control to use internal field
  2490. to avoid triggering handle creation
  2491. - Now checking if handle is created before causing a refresh when items
  2492. are added (This makes us now match handle creation time with MS)
  2493. * Splitter.cs: Removed loading of private splitter cursor, switched to
  2494. Cursors version now that that is loading the right ones
  2495. * Cursors.cs: Load proper splitter cursors from resources
  2496. * Cursor.cs: Added second method of loading resource cursors for the
  2497. VS.Net users amongst us
  2498. 2006-05-05 Mike Kestner <[email protected]>
  2499. * ListView.cs: give header_control a minimum size based on the
  2500. ListView size.
  2501. 2006-05-05 Peter Dennis Bartok <[email protected]>
  2502. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  2503. window seems to do that with metacity, so set that type. (#78120)
  2504. 2006-05-05 Mike Kestner <[email protected]>
  2505. * ListViewItem.cs: fix Details mode checkbox layout bug.
  2506. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  2507. at the end of the header, if it exists. [Fixes for #78200]
  2508. 2006-05-04 Jackson Harper <[email protected]>
  2509. * MdiClient.cs: Add a helper property to get the container form.
  2510. * MdiWindowManager.cs: We have to make sure to use the menu origin
  2511. when drawing the icons and buttons, this fixes maximized window
  2512. icons/buttons on win32.
  2513. * InternalWindowManager.cs: Reset the restore captions when a
  2514. window goes from Maximized to Minimized and vice versa. Move the
  2515. DrawMaximizedButtons into the MdiWindowManager source, tool
  2516. windows can't be maximized. NOTE: This could use a little
  2517. refactoring if time ever permits.
  2518. 2006-05-03 Jonathan Chambers <[email protected]>
  2519. * TextBox.cs: Add MWFCategoryAttributes
  2520. * TextBoxBase.cs: Add MWFCategoryAttributes
  2521. * Form.cs: Add MWFCategoryAttributes
  2522. 2006-05-03 Jonathan Chambers <[email protected]>
  2523. * Control.cs: Add MWFCategoryAttributes
  2524. * ScrollableControl.cs: Add MWFCategoryAttributes
  2525. 2006-05-03 Alexander Olk <[email protected]>
  2526. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  2527. Divider is true. Fix a little glitch in PropertyToolBar
  2528. drawing code
  2529. 2006-05-02 Peter Dennis Bartok <[email protected]>
  2530. * Control.cs:
  2531. - Dispose: Call base.Dispose, this causes the disposed event
  2532. to be fired (and probably other, more important stuff)
  2533. - SetVisibleCore: Set is_visible to true after creating the
  2534. window so that the window still gets created invisible (if
  2535. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  2536. to generate a WM_ACTIVE message
  2537. * Form.cs: Call Dispose when we want to destroy the window, instead of
  2538. just destroying the handle (Dispose will do that for us)
  2539. * XplatUIX11.cs:
  2540. - RootWindow also needs a queue, so we can properly process the
  2541. property change events from RootWindow (like Activate)
  2542. - Generatic synthetic WM_ACTIVE message when the active window is
  2543. being destroyed
  2544. 2006-05-01 Peter Dennis Bartok <[email protected]>
  2545. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  2546. bounds are changed
  2547. 2006-05-01 Peter Dennis Bartok <[email protected]>
  2548. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  2549. for determining width and height (image might not be assigned if
  2550. we're drawing an imagelist)
  2551. 2006-05-01 Peter Dennis Bartok <[email protected]>
  2552. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  2553. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  2554. height from system
  2555. * Theme.cs: No longer returns hardcoded menu height, instead calls
  2556. new driver method
  2557. * Form.cs (OnLoad): Scaling happens before triggering Load events
  2558. on MS (# 78257)
  2559. 2006-05-01 Mike Kestner <[email protected]>
  2560. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  2561. 2006-04-30 Peter Dennis Bartok <[email protected]>
  2562. * TextBoxBase.cs: Removed Fixme
  2563. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  2564. 2006-04-30 Peter Dennis Bartok <[email protected]>
  2565. * XplatUIX11.cs:
  2566. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  2567. the rectangle relative to the parent, considering borders. We
  2568. don't really want that.
  2569. - ScrollWindow: Fixed warning to be more understandable
  2570. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  2571. scrollbars and scroll only the visible area
  2572. * RichTextBox.cs: Removed debug output
  2573. 2006-04-29 Peter Dennis Bartok <[email protected]>
  2574. * NumericUpDown.cs (Text): Just use base
  2575. * UpDownBase.cs: Ensure txtView is created before using it
  2576. 2006-04-29 Peter Dennis Bartok <[email protected]>
  2577. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  2578. casting to IntPtr to avoid 64bit overflow errors
  2579. 2006-04-29 Peter Dennis Bartok <[email protected]>
  2580. * Control.cs:
  2581. - AllowDrop: Don't force handle creation.
  2582. - CreateHandle: Added call to tell driver if we're allowed to drop
  2583. 2006-04-27 Alexander Olk <[email protected]>
  2584. * FileDialog.cs: Remember the last directory not only for the
  2585. current instance but also for new FileDialog instances.
  2586. 2006-04-29 Peter Dennis Bartok <[email protected]>
  2587. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  2588. broke sending async messages
  2589. 2006-04-29 Peter Dennis Bartok <[email protected]>
  2590. * XplatUIX11.cs:
  2591. - ScrollWindow: Fixed method. We finally generate expose events again
  2592. for scrolled areas. This was causing 'garbage' when scrolling
  2593. textbox and other controls that used ScrollWindow
  2594. - Switched from using the regular queue for paint events to the MS
  2595. model of 'generating' paint events when the queue is empty.
  2596. We use the new XQueueEvent.Paint subclass to store which windows
  2597. need painting.
  2598. - AddExpose now takes the x/y/width/height of the exposed area
  2599. and inserts the window into the paint queue if not already there
  2600. - InvalidateWholeWindow: Switched to use new AddExpose method
  2601. - UpdateMessageQueue: Added which queue to monitor for paint events
  2602. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  2603. the unlikely case nothing above handles it. We reset the expose
  2604. pending states to get them off the queue.
  2605. - GetMessage: Now pulls a paint event if no other events are in the
  2606. queue
  2607. - Invalidate: Switched to new AddExpose method
  2608. - PeekMessage: Updated to understand pending paint events
  2609. - UpdateWindow: Fixed logic bug. We were only updating if the window
  2610. didn't need updating. Also switched to sending WM_PAINT directly,
  2611. like MS does.
  2612. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  2613. and random access Remove(). The random access is needed to handle
  2614. UpdateWindow() where a WM_PAINT is sent directly without accessing
  2615. the queue.
  2616. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  2617. allow for better feedback when scrolling. Scrollbars are small and
  2618. the immediate update should make it 'feel' more responsive without
  2619. slowing things down. ScrollBar still needs it's invaliate logic
  2620. updated to not always invalidate the whole bar on certain changes.
  2621. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  2622. * Control.cs:
  2623. (BackColor): if the control does not support a transparent background,
  2624. return the default backcolor when the parent backcolor is transparent.
  2625. 2006-04-28 Peter Dennis Bartok <[email protected]>
  2626. * Application.cs: Updated to new StartLoop/GetMessage API
  2627. * RichTextBox.cs: Provide some output on RTF parsing errors
  2628. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  2629. new queue_id argument to GetMessage and PeekMessage to allow faster
  2630. handling of per-thread queues in drivers.
  2631. * Hwnd.cs: Added Queue tracking and property
  2632. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  2633. * XEventQueue.cs: Added thread trackingA
  2634. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  2635. * XplatUIX11.cs:
  2636. - Implemented new per-thread queue
  2637. - GetMessage: Fixed return/break behaviour on several cases. We were
  2638. returning stale messages in some cases, instead of just processing
  2639. the next message
  2640. 2006-04-27 Jonathan Chambers <[email protected]>
  2641. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  2642. 2006-04-27 Peter Dennis Bartok <[email protected]>
  2643. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  2644. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  2645. 2006-04-27 Jonathan Chambers <[email protected]>
  2646. * PropertyGridView.cs: Fix drop down width.
  2647. 2006-04-27 Alexander Olk <[email protected]>
  2648. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  2649. a mess in DrawToolBar, so I removed one of them.
  2650. 2006-04-27 Alexander Olk <[email protected]>
  2651. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  2652. needed (clip). Otherwise we get artifacts.
  2653. 2006-04-26 Peter Dennis Bartok <[email protected]>
  2654. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  2655. dimension is fixed
  2656. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  2657. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  2658. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  2659. if it matches the scale base font (avoids unneeded scaling)
  2660. 2006-04-26 Alexander Olk <[email protected]>
  2661. * X11DesktopColors.cs: One gtk_init_check should be enough
  2662. 2006-04-26 Peter Dennis Bartok <[email protected]>
  2663. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  2664. match MS behaviour
  2665. 2006-04-26 Peter Dennis Bartok <[email protected]>
  2666. * TextBoxBase.cs:
  2667. - Generate OnTextChanged for Backspace even if we're only deleting
  2668. the current selection
  2669. - When setting the Text property, only select all text if the
  2670. control does not have focus when it is being set. Otherwise
  2671. just place the cursor at the beginning of the control
  2672. 2006-04-26 Alexander Olk <[email protected]>
  2673. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  2674. Added a little helper to draw PropertyGrid ToolBar with a different
  2675. border and a different BackColor.
  2676. * PropertyGrid.cs: Some background parts didn't get painted with the
  2677. correct background color. Added a class that helps us to draw the
  2678. correct border for PropertyGridView and a class that helps us to
  2679. draw ToolBars with a different backcolor
  2680. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  2681. 2006-04-25 Jonathan Chambers <[email protected]>
  2682. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  2683. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  2684. 2006-04-25 Peter Dennis Bartok <[email protected]>
  2685. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  2686. into the palette entries. Also, since we're working on a copy
  2687. we needed to copy the palette back onto the bitmap.
  2688. * Cursor.cs: Same fix as XplatUIWin32.cs.
  2689. 2006-04-25 Peter Dennis Bartok <[email protected]>
  2690. * ImageListStreamer.cs: Need to read the var (or we're off)
  2691. 2006-04-25 Peter Dennis Bartok <[email protected]>
  2692. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  2693. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  2694. TextBoxBase.cs: Unused var fixes
  2695. * AxHost.cs: Small 2.0 fix
  2696. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  2697. as it seems that is what at least Metacity expects. This will make
  2698. icons show up on 64bit platforms. We still have some 64bit size
  2699. issues, though, since the startup app window size still won't match.
  2700. 2006-04-25 Mike Kestner <[email protected]>
  2701. * *.cs: cleanup newly reported exception var unused warnings.
  2702. 2006-04-25 Alexander Olk <[email protected]>
  2703. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  2704. ms
  2705. 2006-04-25 Alexander Olk <[email protected]>
  2706. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  2707. image. The image position is always the same, no matter if the
  2708. button is pressed or not.
  2709. 2006-04-25 Alexander Olk <[email protected]>
  2710. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  2711. selection and set the correct filename for SaveFileDialog.
  2712. Patch by Emery Conrad.
  2713. 2006-04-24 Mike Kestner <[email protected]>
  2714. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  2715. check for item.X outside the ClientRect instead of item.Y. Fixes
  2716. #78151.
  2717. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  2718. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  2719. trust that value blindly and do some sanity check. Fixes bug #77814.
  2720. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  2721. * ImageListStreamer.cs: save the mask as a 1bpp image.
  2722. 2006-04-21 Mike Kestner <[email protected]>
  2723. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  2724. pass Checked and Indeterminate to the Theme Engine. Improve
  2725. encapsulation with ListBox.
  2726. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  2727. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  2728. nested types. Move all CheckState functionality to CheckedListBox.
  2729. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  2730. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  2731. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  2732. single base list. Fix scrollbar sizing and placement to mirror MS.
  2733. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  2734. used.
  2735. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  2736. for CheckedListBox by using new DrawItemState info. Center the
  2737. checkboxes on the items. Use new StringFormat property.
  2738. 2006-04-18 Jackson Harper <[email protected]>
  2739. * Form.cs: MdiChildren don't do default locations the same way as
  2740. regular forms. This prevents a crash when trying to position the
  2741. mdi windows.
  2742. 2006-04-17 Jonathan Chambers <[email protected]>
  2743. * PropertyGridTextBox.cs: Formatting, copyright
  2744. * PropertiesTab.cs: Formatting
  2745. * PropertyGrid.cs: Formatting
  2746. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  2747. click toggling of values
  2748. 2006-04-17 Peter Dennis Bartok <[email protected]>
  2749. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  2750. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  2751. every time a control is created
  2752. * Application.cs: Removed obsolete EnableRTLMirroring method
  2753. 2006-04-18 Gert Driesen <[email protected]>
  2754. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  2755. SelectedIndex to -1. Fixes bug #78121.
  2756. 2006-04-17 Jackson Harper <[email protected]>
  2757. * Binding.cs: Handle null values for Current and BindingContext.
  2758. This occurs when binding is a little delayed.
  2759. * CurrencyManager.cs: return null for Current when there are no
  2760. items in the list.
  2761. - Hookup to the listchanged event on the DataView and update
  2762. bindings when the list is changed. This fixes late binding of
  2763. controls.
  2764. 2006-04-17 Jackson Harper <[email protected]>
  2765. * X11Dnd.cs:
  2766. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  2767. Ringenbach.
  2768. 2006-04-15 Alexander Olk <[email protected]>
  2769. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  2770. place
  2771. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  2772. with the correct ButtonState
  2773. 2006-04-14 Peter Dennis Bartok <[email protected]>
  2774. * XplatUIX11.cs: Improved distinguishing between window types to
  2775. tell the WM a type closer to what the app wants (Fixes #78107)
  2776. 2006-04-14 Alexander Olk <[email protected]>
  2777. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  2778. GrabHandle
  2779. 2006-04-14 Alexander Olk <[email protected]>
  2780. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  2781. drawing code to reflect the size grip changes
  2782. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  2783. * ImageListStreamer.cs: fix handling of the mask that follows the main
  2784. bitmap when deserializing and serialize it properly. The generated mask
  2785. should better be a 1bpp image, but I'll do that later.
  2786. 2006-04-13 Alexander Olk <[email protected]>
  2787. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  2788. path doesn't fit into some of our Current.Places
  2789. 2006-04-13 Jackson Harper <[email protected]>
  2790. * ComboBox.cs: Use borders instead of drawing our own decorations,
  2791. try to obey correct rules for heights.
  2792. * Theme.cs:
  2793. * ThemeNice.cs:
  2794. * ThemeClearLooks.cs:
  2795. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  2796. this is now handled by borders.
  2797. - Remove unused DrawListBoxDecorationSize method.
  2798. 2006-04-13 Mike Kestner <[email protected]>
  2799. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  2800. reported by Alex.
  2801. 2006-04-13 Alexander Olk <[email protected]>
  2802. * ThemeWin32Classic.cs:
  2803. - Fixed CPDrawStringDisabled
  2804. - Corrected drawing of disabled menu items
  2805. - Fixed drawing of disabled radio buttons (bug #78095)
  2806. - Draw check in a disabled CheckBox with color ControlDark
  2807. 2006-04-12 Peter Dennis Bartok <[email protected]>
  2808. * Form.cs: Use the provided width when calculating the menu size;
  2809. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  2810. and ClientSize.Width won't be updated yet
  2811. * Application.cs: Use Visible instead of Show() to make form visible,
  2812. this way we create the handle later and menusize is considered
  2813. 2006-04-12 Mike Kestner <[email protected]>
  2814. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  2815. reporting.
  2816. 2006-04-12 Peter Dennis Bartok <[email protected]>
  2817. * TextBox.cs: Implemented context menu
  2818. 2006-04-12 Mike Kestner <[email protected]>
  2819. * ListView.cs: implement box selection. fixes #77838.
  2820. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  2821. 2006-04-12 Peter Dennis Bartok <[email protected]>
  2822. * XplatUIX11.cs: Added setting of window type when transient window
  2823. is created (metacity would move it otherwise)
  2824. * X11Structs.cs: Added WINDOW_TYPE atoms
  2825. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  2826. background (the control is Opaque but still wants transparent
  2827. backgrounds)
  2828. 2006-04-12 Peter Dennis Bartok <[email protected]>
  2829. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  2830. that set Opaque but don't mean it (like all ButtonBase-derived
  2831. controls) to still draw their background
  2832. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  2833. the background
  2834. 2006-04-12 Peter Dennis Bartok <[email protected]>
  2835. * Control.cs (PaintControlBackground): Set the graphics object
  2836. on our PaintEvent to null to prevent it from being disposed
  2837. when the PaintEvent gets disposed
  2838. 2006-04-12 Alexander Olk <[email protected]>
  2839. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  2840. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  2841. 2006-04-12 Peter Dennis Bartok <[email protected]>
  2842. * Control.cs:
  2843. - Added transparency check to BackColor property. Transparent
  2844. backgrounds are only allowed if the control styles permit it
  2845. - Added recursive painting of parent control background and
  2846. foreground if a control with a transparent backcolor is drawn
  2847. (Thanks to Tim Ringenback for providing his 'hack' as a base
  2848. for this patch) Fixes #77985 and #78026.
  2849. - Added Opaque style check before calling OnPaintBackground, no
  2850. need to draw the background if the control is opaque
  2851. - Removed ControlAccessibleObject owner variable (inherited from
  2852. base, no need to define again)
  2853. - Added some documentation links explaining the drawing events
  2854. and styles
  2855. 2006-04-11 Peter Dennis Bartok <[email protected]>
  2856. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  2857. that the affected control is the located at the left border of our
  2858. parent (Fixes #77936)
  2859. 2006-04-11 Peter Dennis Bartok <[email protected]>
  2860. * TextBoxBase.cs: When rendering disabled or readonly controls,
  2861. draw the background with 'Control' instead of 'Window' color as
  2862. long as the user hasn't specifically set a color
  2863. 2006-04-11 Peter Dennis Bartok <[email protected]>
  2864. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  2865. since that won't be updated if the user types text (only if it's
  2866. programatically set)
  2867. 2006-04-11 Peter Dennis Bartok <[email protected]>
  2868. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  2869. layout changes do to app-triggered resizes will have the proper
  2870. display rectangle for layout
  2871. 2006-04-11 Alexander Olk <[email protected]>
  2872. * ThemeWin32Classic.cs:
  2873. - Make use of the SystemBrushes and SystemPens wherever possible
  2874. - Corrected some highlight colors
  2875. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  2876. drawing
  2877. * Theme.cs: Added Empty field to CPColor struct
  2878. 2006-04-11 Peter Dennis Bartok <[email protected]>
  2879. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  2880. is displayed when calculating the display rectangle. Thanks to Mike
  2881. for teaching me the err of my ways.
  2882. 2006-04-10 Peter Dennis Bartok <[email protected]>
  2883. * ScrollableControl.cs:
  2884. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  2885. (instead of 0,0) and we now return the real width/height instead of
  2886. just the clientrectangle, adjusted for padding. The rectangle is
  2887. now cached and created by the new CalculateDisplayRectangle method.
  2888. - Created new CalculateDisplayRectange method, which basically does
  2889. what get_DisplayRectangle() did originally, but now using the
  2890. right edge instead of DisplayRectangle to determine the size of
  2891. our scrollbars
  2892. - get_Canvas(): Fixed it to properly calculate canvas for
  2893. right/bottom controls which seem to be placed to the right/bottom
  2894. of any controls that have a fixed location
  2895. - Removed TODO that's taken care of
  2896. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  2897. and SetDisplayRectLocation according to new MSDN2 docs
  2898. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  2899. event when that is called, this is added for compatibility
  2900. - ScrollControlIntoView(): Implemented.
  2901. - Switched scrollbars to be implicit, they shouldn't be selectable
  2902. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  2903. call it when the active control is set/changed
  2904. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  2905. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  2906. implicit_control variable (used for native Win32 message generation)
  2907. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  2908. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  2909. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  2910. * XplatUIStructs.cs: Added ScrollBarCommands enum
  2911. 2006-04-10 Jackson Harper <[email protected]>
  2912. * ButtonBase.cs:
  2913. * CheckedListBox.cs:
  2914. * ComboBox.cs:
  2915. * DataGrid.cs:
  2916. * DataGridView.cs:
  2917. * Form.cs:
  2918. * GroupBox.cs:
  2919. * ListBox.cs:
  2920. * PrintPreviewControl.cs:
  2921. * ProgressBar.cs:
  2922. * PropertyGrid.cs:
  2923. * Splitter.cs:
  2924. * StatusBar.cs:
  2925. * TrackBar.cs:
  2926. * UpDownBase.cs: Fixup base event overrides.
  2927. 2006-04-06 Mike Kestner <[email protected]>
  2928. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  2929. all user-initiated value changes to min <= value <= max-thumbsz+1.
  2930. (set_Value): check for vert/horiz when calculating new thumb position.
  2931. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  2932. like MS does.
  2933. (OnMouseMoveSB): refactor the thumb dragging code and refine
  2934. invalidation logic to reduce flicker.
  2935. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  2936. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  2937. (UpdateThumbPosition): small code readability cleanup
  2938. 2006-04-10 Alexander Olk <[email protected]>
  2939. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  2940. different
  2941. 2006-04-08 Alexander Olk <[email protected]>
  2942. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  2943. 2006-04-08 Alexander Olk <[email protected]>
  2944. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  2945. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  2946. This dramatically reduces the number of Pen.Dispose calls.
  2947. Where possible call ResPool methods only once instead of calling it
  2948. over and over again (for example for the same color).
  2949. 2006-04-06 Mike Kestner <[email protected]>
  2950. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  2951. Also remove an unused private field on the collection. Fixes #77972.
  2952. 2006-04-06 Alexander Olk <[email protected]>
  2953. * ThemeNice.cs: Added ToolBar drawing code
  2954. 2006-04-06 Mike Kestner <[email protected]>
  2955. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  2956. I'm assuming that means we need to look up the toplevel for the
  2957. provided control. Fixes the crash trace in #77911 but exposes another
  2958. crash in some strange reflection usage in NDocGui.
  2959. 2006-04-06 Alexander Olk <[email protected]>
  2960. * ThemeNice.cs: Gave it a little silver touch and added Images
  2961. method
  2962. * FontDialog.cs: FontDialog is not resizable
  2963. * FileDialg.cs: Added SizeGripStyle.Show
  2964. 2006-04-05 Jackson Harper <[email protected]>
  2965. * KeyboardLayouts.cs: Remove warning.
  2966. 2006-04-05 Jackson Harper <[email protected]>
  2967. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  2968. all of our controls instead of Paint +=.
  2969. * ListBox.cs:
  2970. * ListView.cs:
  2971. * MenuAPI.cs:
  2972. * MessageBox.cs:
  2973. * NotifyIcon.cs:
  2974. * ProgressBar.cs:
  2975. * ScrollBar.cs:
  2976. * Splitter.cs:
  2977. * StatusBar.cs:
  2978. * TabControl.cs:
  2979. * TextBoxBase.cs:
  2980. * ToolBar.cs:
  2981. * TrackBar.cs:
  2982. * UpDownBase.cs:
  2983. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  2984. use OnPaintInternal. Remove Width/Height and Visible checks in
  2985. paint handler, this is done at a higher level now.
  2986. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  2987. * PaintEventArgs.cs: Add a handled flag so controls that don't
  2988. want anymore painting after OnPaintInternal can make sure OnPaint
  2989. isn't called.
  2990. 2006-04-05 Mike Kestner <[email protected]>
  2991. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  2992. state of the form, so that we don't process events when Modal dialogs
  2993. are up. Fixes #77922.
  2994. 2006-04-05 Alexander Olk <[email protected]>
  2995. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  2996. checking is done.
  2997. 2006-04-05 Mike Kestner <[email protected]>
  2998. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  2999. 2006-04-05 Mike Kestner <[email protected]>
  3000. * ListView.cs (HeaderMouseMove): null guarding for the over column
  3001. when setting up the drag_to_index. Fixes #78015.
  3002. 2006-04-04 Peter Dennis Bartok <[email protected]>
  3003. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  3004. in the taskbar. Transient windows seem to accomplish that.
  3005. 2006-04-04 Peter Dennis Bartok <[email protected]>
  3006. * Form.cs:
  3007. - Re-enabled CreateParams.X/Y code for FormStartPosition
  3008. - Added code for manual placement when creating the Control
  3009. - Incomplete patch to treat MDI forms differently when
  3010. setting the ClientSizeCore. (Still need to figure out handling
  3011. x/y coords there)
  3012. * XplatUIX11.cs:
  3013. - When we're explicitly setting the X/Y position of a non-Child
  3014. window, let the WM know. Metacity really wants this.
  3015. 2006-04-04 Alexander Olk <[email protected]>
  3016. * ThemeNice.cs: Added CPDrawButton
  3017. 2006-04-04 Alexander Olk <[email protected]>
  3018. * ThemeNice.cs: Changed the color for focused buttons and activated
  3019. the arrows for small scroll buttons.
  3020. 2006-04-04 Alexander Olk <[email protected]>
  3021. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  3022. anymore. Changed some method modifiers to protected (virtual)
  3023. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  3024. changes
  3025. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  3026. Updated drawing of menus, buttons and progressbars; added
  3027. CPDrawBorder3D
  3028. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  3029. * ImageListStreamer.cs: implemented serialization/deserialization
  3030. of the images.
  3031. 2006-04-03 Alexander Olk <[email protected]>
  3032. * ThemeWin32Classic.cs:
  3033. - Removed all the DrawFrameControl stuff; CPDrawButton,
  3034. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  3035. inside the methods
  3036. - Updated and corrected the drawing code of CPDrawButton,
  3037. CPDrawCheckBox and CPDrawRadioButton to better match ms
  3038. - Updated theme checkbox and radiobutton code to use the CP*
  3039. methods
  3040. 2006-03-31 Peter Dennis Bartok <[email protected]>
  3041. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  3042. bug is fixed
  3043. 2006-03-31 Jackson Harper <[email protected]>
  3044. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  3045. sometimes.
  3046. * UpDownBase.cs: Don't CreateGraphics manually, use a
  3047. Refresh. Ideally we would invalidate the correct areas here.
  3048. 2006-03-31 Peter Dennis Bartok <[email protected]>
  3049. * XplatUIX11.cs:
  3050. - We now track the mapping state of windows. If a window (or
  3051. one of it's parents) is not mapped we no longer permit
  3052. WM_PAINT messages to be generated since we'd otherwise get
  3053. lots of BadMatch X errors. Jackson did all the work figuring
  3054. out the problem.
  3055. - Destroying the caret if the window it's contained in is
  3056. destroyed. Can't use regular DestroyCaret method since it
  3057. might fall into a drawing function (trying to remove the
  3058. caret) and with that generate new BadMatch errors. Again,
  3059. Jackson tracked this down.
  3060. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  3061. make sure we send the messages to all windows. (The old code
  3062. would send the WM_DESTROY to the window, and then all child
  3063. windows would be 'gone' because the WM_DESTROY handle lookup
  3064. would no longer find the destroyed window)
  3065. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  3066. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  3067. 2006-03-31 Jackson Harper <[email protected]>
  3068. * ScrollableControl.cs: Dont recalc if we are not visible.
  3069. 2006-03-31 Mike Kestner <[email protected]>
  3070. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  3071. the visibility branch.
  3072. 2006-03-31 Jackson Harper <[email protected]>
  3073. * ScrollBar.cs: Cap values when incrementing/decrementing.
  3074. 2006-03-31 Mike Kestner <[email protected]>
  3075. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  3076. * ToolTip.cs: guard against timer expirations with no active control.
  3077. Not sure why it happened.
  3078. 2006-03-31 Mike Kestner <[email protected]>
  3079. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  3080. text.
  3081. * ToolTip.cs: Position the tooltip based on where the cursor is at
  3082. popup time, not at MouseEnter time. Add a Down state so that we don't
  3083. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  3084. positioning offset. Lookup DisplaySize at positioning time, since it
  3085. can theoretically change during invocation.
  3086. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  3087. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  3088. 2006-03-31 Alexander Olk <[email protected]>
  3089. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  3090. Fixes behaviour when the Text property of the box is String.Empty
  3091. 2006-03-31 Peter Dennis Bartok <[email protected]>
  3092. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  3093. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  3094. a window)
  3095. 2006-03-31 Alexander Olk <[email protected]>
  3096. * FileDialog.cs: Visual enhancement for the popup buttons in
  3097. PopupButtonPanel
  3098. 2006-03-31 Alexander Olk <[email protected]>
  3099. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  3100. code
  3101. 2006-03-30 Alexander Olk <[email protected]>
  3102. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  3103. highlighted menu items to match ms
  3104. 2006-03-30 Peter Dennis Bartok <[email protected]>
  3105. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  3106. 2006-03-30 Mike Kestner <[email protected]>
  3107. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  3108. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  3109. go active to account for HotLight to Selected transition.
  3110. * MenuItem.cs: add internal Selected prop. Fill out the Status
  3111. property by calculating it from item info. Add HotLight,
  3112. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  3113. 2006-03-30 Mike Kestner <[email protected]>
  3114. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  3115. 2006-03-29 Jackson Harper <[email protected]>
  3116. * Form.cs: Implement TODO.
  3117. 2006-03-29 Peter Dennis Bartok <[email protected]>
  3118. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  3119. missing proper dialog setup in the constructor
  3120. 2006-03-29 Peter Dennis Bartok <[email protected]>
  3121. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  3122. * Control.cs:
  3123. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  3124. - Fixed ResetBindings and removed TODO
  3125. - Added check for cross-thread calls to get_Handle()
  3126. - Added Marshaller attribute for set_Font to satisfy class status
  3127. * FontDialog.cs: Removed TODOs that seemed implemented
  3128. * UpDownBase.cs: Removed unneeded TODO and Fixme
  3129. * MessageBox.cs: Implemented support for Default button and removed TODO
  3130. * FileDialog.cs: Removed obsolete TODO
  3131. * DomainUpDown.cs: Removed obsolete TODO
  3132. * ButtonBase.cs: Removed obsolete TODO
  3133. * XplatUIWin32.cs: Removed obsolete TODO
  3134. * Form.cs:
  3135. - Removed obsolete TODO
  3136. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  3137. internal status updates
  3138. - Making sure the active control is selected when the control is created
  3139. * CurrencyManager.cs: Removed obsolete TODO
  3140. 2006-03-29 Mike Kestner <[email protected]>
  3141. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  3142. of PrintPreviewDialog and RichTextBox.
  3143. 2006-03-29 Alexander Olk <[email protected]>
  3144. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  3145. DarkDark, Light and LightLight colors for a specific color
  3146. * ThemeWin32Classic.cs:
  3147. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  3148. Appearance = Button
  3149. - Make use of the new ResPool helper CPColor
  3150. - Draw ProgressBar and StatusBar with correct 3D borders
  3151. 2006-03-29 Alexander Olk <[email protected]>
  3152. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  3153. 2006-03-28 Mike Kestner <[email protected]>
  3154. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  3155. calculating col/row counts.
  3156. 2006-03-28 Mike Kestner <[email protected]>
  3157. * ColumnHeader.cs:
  3158. * ListView.cs:
  3159. * ListViewItem.cs:
  3160. * Menu.cs:
  3161. switch to explicit interface method implementation for some methods
  3162. corcompare identifies as inconsistent with MS.
  3163. 2006-03-28 Mike Kestner <[email protected]>
  3164. * MainMenu.cs:
  3165. * Menu.cs:
  3166. add a few missing methods from the class status output.
  3167. 2006-03-28 Alexander Olk <[email protected]>
  3168. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  3169. correct.
  3170. 2006-03-28 Mike Kestner <[email protected]>
  3171. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  3172. 2006-03-27 Mike Kestner <[email protected]>
  3173. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  3174. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  3175. 2006-03-27 Alexander Olk <[email protected]>
  3176. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  3177. 2006-03-25 Alexander Olk <[email protected]>
  3178. * ThemeWin32Classic.cs:
  3179. - GroupBox: Inserted a little gap between the text and the lines
  3180. on the right side
  3181. - Made the code in CPDrawBorder3D more readable
  3182. - Corrected the drawing location of the up and down arrows in
  3183. CPDrawScrollButton
  3184. 2006-03-25 Alexander Olk <[email protected]>
  3185. * ControlPaint.cs: Corrected line widths in DrawBorder for
  3186. ButtonBorderStyle Inset and Outset
  3187. 2006-03-25 Alexander Olk <[email protected]>
  3188. * ThemeWin32Classic.cs:
  3189. - Rewrote the totally broken CPDrawBorder3D method. That was
  3190. one of the main problems for the terrific ThemeWin32Classic
  3191. look
  3192. - Updated and corrected Button drawing
  3193. - Correct the dimensions of the SizeGrip to match ms ones
  3194. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  3195. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  3196. Border3DStyle.Sunken to match ms.
  3197. 2006-03-25 Alexander Olk <[email protected]>
  3198. * ThemeWin32Classic.cs: First small part of the "de-uglify
  3199. ThemeWin32Classic" effort, SizeGrip
  3200. 2006-03-24 Jackson Harper <[email protected]>
  3201. * XplatUIX11.cs: Give a max idle time of one second, this matches
  3202. MS and forces an Idle event every second when there are no other
  3203. events in the queue.
  3204. 2006-03-24 Mike Kestner <[email protected]>
  3205. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  3206. * ListView.Item.cs: fix layout issues with null image lists and images
  3207. smaller than checkbox size.
  3208. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  3209. mode like MS does. It's weird, but consistent. ;-)
  3210. Fixes #77890.
  3211. 2006-03-24 Mike Kestner <[email protected]>
  3212. * ListView.cs: Scroll wheel support for the item control. Fixes
  3213. #77839.
  3214. 2006-03-23 Jackson Harper <[email protected]>
  3215. * ScrollableControl.cs: Special case negative sized areas, not
  3216. zero.
  3217. * MonthCalendar.cs: Save the rect of the clicked date so we can
  3218. use it for invalidation.
  3219. - Try to cut down on the number of invalidates
  3220. - Invalidate the rect the mouse is over and was over when moving
  3221. the mouse, so we get the focus box following the cursor.
  3222. 2006-03-23 Mike Kestner <[email protected]>
  3223. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  3224. focus rectangle drawing. Fixes #77835.
  3225. 2006-03-23 Mike Kestner <[email protected]>
  3226. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  3227. the if and else if and reverting back to the original == check on the
  3228. None conditional.
  3229. 2006-03-23 Alexander Olk <[email protected]>
  3230. * FontDialog.cs: Update the example panel if the selected index of
  3231. the fontListBox changes.
  3232. 2006-03-23 Alexander Olk <[email protected]>
  3233. * FileDialog.cs: Make FileDialog remember which directory it was in
  3234. last in the same execution.
  3235. 2006-03-22 Mike Kestner <[email protected]>
  3236. * FileDialog.cs: make the DropDownMenu on the toolbar display
  3237. RadioChecks since they are mutually exclusive and that's what MS does.
  3238. 2006-03-22 Mike Kestner <[email protected]>
  3239. * Theme.cs: add Color param to CPDrawMenuGlyph.
  3240. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  3241. checks and radio marks and arrows are visible on highlighted items.
  3242. * ControlPaint.cs: update to use new Theme signature.
  3243. 2006-03-22 Mike Kestner <[email protected]>
  3244. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  3245. is active. Fixes #77870.
  3246. 2006-03-22 Alexander Olk <[email protected]>
  3247. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  3248. to be focused/selected after startup
  3249. 2006-03-22 Alexander Olk <[email protected]>
  3250. * ColorDialog.cs:
  3251. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  3252. CustomColors and ShowHelp properties
  3253. - Some internal rewrites to get better results when using the
  3254. ColorMatrix
  3255. 2006-03-22 Mike Kestner <[email protected]>
  3256. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  3257. HoverSelection. Fixes #77836.
  3258. 2006-03-22 Mike Kestner <[email protected]>
  3259. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  3260. ToggleButtons. (De)Sensitize the Back button around a stack count of
  3261. 1, not 0. Update ButtonSize based on a pixel count of the win32
  3262. control. Adjust the toolbar size/location for new button size.
  3263. 2006-03-22 Jackson Harper <[email protected]>
  3264. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  3265. true.
  3266. * ScrollBar.cs: When doing increments and decrements we need to
  3267. set the Value property so that ValueChanged gets raised. A
  3268. possible optimization here would be to make an internal SetValue
  3269. that doesn't invalidate immediately.
  3270. * ToolTip.cs: Tooltips get added to their container (when
  3271. supplied) so they get disposed when the container is disposed.
  3272. - Don't create tooltips for String.Empty. This prevents all these
  3273. little 2-3 pixel windows from showing up when running nunit-gui
  3274. and driving me mad.
  3275. * Form.cs: Don't set topmost when setting the owner if the handles
  3276. haven't been created yet. The topmost set will happen when the
  3277. handles are created.
  3278. 2006-03-22 Peter Dennis Bartok <[email protected]>
  3279. * XplatUIX11.cs:
  3280. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  3281. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  3282. visible (to allow them to recalculate their sizes)
  3283. 2006-03-21 Mike Kestner <[email protected]>
  3284. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  3285. methods. Removed a ton of redundant code. Still not really happy with
  3286. the border rendering, but I think that's mainly because of the
  3287. ControlDarkDark being black instead of a dark grey. Depending on how
  3288. close we want to be, we might want to revisit those color choices.
  3289. Among the new features added during the refactor were DropDownArrow
  3290. pressed rendering, Disabled image rendering. Proper flat appearance
  3291. boundary rendering. Removed the Divider and Wrapping dividers since I
  3292. can't figure out any combination of themes and conditions to make the
  3293. MS control draw a horizontal line on a toolbar despite what the
  3294. Divider property docs indicate.
  3295. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  3296. conditions and incorrect layout. Updated to coding standard.
  3297. * ToolBarButton.cs: refactored layout and positioning code from
  3298. ToolBar to here. Invalidate wherever possible instead of forcing
  3299. redraws of the whole toolbar.
  3300. (Known remaining issues: explicit ButtonSize smaller than provided
  3301. images.)
  3302. 2006-03-21 Mike Kestner <[email protected]>
  3303. * ContextMenu.cs (Show): use the position parameter instead of just
  3304. showing at the MousePosition.
  3305. 2006-03-21 Jackson Harper <[email protected]>
  3306. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  3307. control handle this.
  3308. * TreeNodeCollection.cs: If we are clearing the root node we need
  3309. to reset top_node so calcs can still happen.
  3310. * ThemeWin32Classic.cs: This is a Flags so we need to check
  3311. properly.
  3312. 2006-03-21 Jackson Harper <[email protected]>
  3313. * DataGrid.cs: Create columns when the binding context has been
  3314. changed.
  3315. * X11Structs.cs: Keysyms are uints.
  3316. - Add size to fix build.
  3317. 2006-03-21 Peter Dennis Bartok <[email protected]>
  3318. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  3319. XplatUIOSX.cs:
  3320. - Added ResetMouseHover method to allow controls to retrigger
  3321. hovering if they need it more than once
  3322. - Implemented MouseHoverTime and MouseHoverSize properties
  3323. * Timer.cs: Start() must reset the interval
  3324. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  3325. properties
  3326. 2006-03-21 Jackson Harper <[email protected]>
  3327. * X11Keyboard.cs: improved layout detection. Move the nonchar
  3328. tables into this file.
  3329. * KeyboardLayouts.cs: Move the tables into resource files.
  3330. 2006-03-21 Mike Kestner <[email protected]>
  3331. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  3332. 2006-03-21 Alexander Olk <[email protected]>
  3333. * Mime.cs: Various speed optimizations. Looking up mime types
  3334. is now 2 times faster than before
  3335. 2006-03-17 Peter Dennis Bartok <[email protected]>
  3336. * CreateParams.cs: Added internal menu field
  3337. * Control.cs:
  3338. - Switched call order for UpdateBounds; now we always call
  3339. the one that also takes ClientSize, and we're calculating the
  3340. client size via driver method in the others. The previous
  3341. method of tracking client size by difference wasn't working
  3342. for forms where even the starting client size wouldn't match
  3343. the overall form size (due to borders) (Part of fix for #77729)
  3344. - CreateParams(): Do not use parent.Handle unless the handle is
  3345. already created. Causes havoc with Nexxia and throws off our
  3346. creation of controls
  3347. * XplatUIX11.cs:
  3348. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  3349. - Switched handling of ConfigureNotify over to new PerformNCCalc
  3350. method (consolidates code)
  3351. - Changed RequestNCRecalc to use new PerformNCCalc method
  3352. - Added calls to RequestNCRecalc when menus and borders are changed
  3353. to allow app to set NC size. (Part of fix for #77729) This matches
  3354. when MS send a WM_NCRECALC on Win32 windows.
  3355. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  3356. (Part of fix for #77729). This matches what MS does, they also
  3357. send that message when the form is made visible.
  3358. - XException.GetMessage: Improved usability of X errors by including
  3359. a translation of the window into Hwnd and Control class
  3360. - Improved debug info for window creation, reparenting and destruction
  3361. - Created helper method WindowIsMapped() [Currently not used]
  3362. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  3363. * Form.cs:
  3364. - CreateParams: Now setting our menu on the new internal menu field
  3365. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  3366. avoid calculating the same property twice
  3367. * Hwnd.cs:
  3368. - Improved usability of ToString() for debugging purposes
  3369. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  3370. determine the height of the menu, instead of just the font. This
  3371. required to also create a graphics context and to keep a bmp
  3372. around (for performance reasons)
  3373. 2006-03-17 Peter Dennis Bartok <[email protected]>
  3374. * MenuAPI.cs: Added OnMouseUp method
  3375. * Form.cs:
  3376. - Now remembering the requested client size, avoids size errors
  3377. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  3378. instead of base if the menu is active. This is required due to
  3379. control now capturing and releasing on down/up and it would
  3380. prematurely release our menu capture
  3381. 2006-03-17 Jackson Harper <[email protected]>
  3382. * KeyboardLayouts.cs: Add the czech layouts.
  3383. 2006-03-16 Jackson Harper <[email protected]>
  3384. * Control.cs: Use the viewport space when sizing not the controls
  3385. client size, so things like ScrollableControl that effect the
  3386. viewport size (when scrollbars are added) are computed correctly.
  3387. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  3388. of ManagerEntrys.
  3389. - Handle creating BindingManagers for null data sources.
  3390. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  3391. source, otherwise when rows are added they are added to the 'fake'
  3392. datasource and we will crash when trying to set the position in
  3393. those rows.
  3394. - Use Implicit scrollbars on the datagrid so they arent
  3395. selectable.
  3396. 2006-03-16 Jackson Harper <[email protected]>
  3397. * Binding.cs:
  3398. * InternalWindowManager.cs:
  3399. * MdiWindowManager.cs:
  3400. * X11Keyboard.cs: I really want Mike to love me again (fix
  3401. compiler warnings).
  3402. 2006-03-16 Peter Dennis Bartok <[email protected]>
  3403. * DataGrid.cs:
  3404. - OnMouseDown: Switch to editing mode when clicking on the cell
  3405. even if we're clicking on the cell that's currently
  3406. selected
  3407. - ProcessGridKey: Left/Right now wrap like MS.Net does
  3408. - ProcessGridKey: Tab now knows to add a new row when tab is
  3409. pressed in the cell of the last column of the
  3410. last row
  3411. - ProcessGridKey: Enter now adds another row if pressed in the last
  3412. row and selectes the new row, same column cell
  3413. - ProcessGridKey: Home/End navigate columns, not rows, like
  3414. originally implemented
  3415. - Broke ProcessKeyPreview code out into an extra Internal method
  3416. so it can be called from the edit code
  3417. * DataGridTextBox.cs (ProcessKeyMessage):
  3418. - Switched to accept Tab keypresses
  3419. - Added F2 handling to allow jumping to the end of the edited cell
  3420. - Added logic to allow moving caret left/right inside edited cell
  3421. and making the edited cell jump when the caret hits cell borders
  3422. - Tab and Enter are now passed to the datagrid after being handled
  3423. * TextBoxBase.cs:
  3424. - Removed capture code now that Control handles it
  3425. - set_SelectionStart now ensures caret is visible
  3426. 2006-03-16 Jackson Harper <[email protected]>
  3427. * TrackBar.cs: Debackwards the increment/decrement for handling
  3428. mouse clicks on the bar with vertical trackbars.
  3429. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  3430. bottom to match MS.
  3431. 2006-03-16 Mike Kestner <[email protected]>
  3432. * ListView.cs: make shift/ctrl keyboard and mouse selection
  3433. consistent with the MS control. Fix a bug in
  3434. SelectedListViewItemCollection.Clear that was pissing me off for the
  3435. better part of a day because the collection was being altered
  3436. underneath us as we walked the list.
  3437. 2006-03-16 Peter Dennis Bartok <[email protected]>
  3438. * Control.cs: Not sure how we could miss this so long, but it seems
  3439. that MS.Net has Capture set all the way from before calling
  3440. OnMouseDown through sending the mouse events until after
  3441. OnMouseUp. This will fix DataGrid's selection being set to end
  3442. at the location of the MouseUp.
  3443. 2006-03-15 Jackson Harper <[email protected]>
  3444. * BindingContext.cs: Check the binding after its added so that it
  3445. can initialize the binding managers and hookup to events.
  3446. * Binding.cs: Data members seem to sometimes include rows/cols in
  3447. the format Row.Column we now take this into account.
  3448. - Hookup to the position changed event so we can update the
  3449. control when the position has changed in the data set.
  3450. * CurrencyManager.cs: Take into account the row/col naming
  3451. convention when creating dataset tables.
  3452. * BindingContext.cs: Using a newer better way of storing
  3453. datasource/datamember pairs. Hopefully this better matches MS for
  3454. looking up binding managers.
  3455. 2006-03-15 Jackson Harper <[email protected]>
  3456. * BindingContext.cs: The currency manager needs the data member
  3457. name, if the member is a data set we use the name to find the
  3458. correct table.
  3459. * CurrencyManager.cs: When creating the list prefer an IList over
  3460. an IListSource.
  3461. - Attempt to create a DataTable from a DataSet (TODO: might need
  3462. some better error checking here, although MS doesn't seem to have much)
  3463. - If we have a DataTable create a view and use it as our list.
  3464. 2006-03-15 Mike Kestner <[email protected]>
  3465. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  3466. keyboard navigation. Support Up/Down/Left/Right selection correctly
  3467. for all 4 View modes.
  3468. * ListViewItem.cs: add internal row/col fields for icon layouts.
  3469. 2006-03-15 Jackson Harper <[email protected]>
  3470. * TabControl.cs: Redraw the tabs when we resize so their newly
  3471. calculated sizes are drawn on screen.
  3472. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  3473. composite characters.
  3474. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  3475. - filter events so that composite characters can be created
  3476. patches by peter
  3477. * X11Structs.cs: Add XIMProperties enum.
  3478. 2006-03-14 Peter Dennis Bartok <[email protected]>
  3479. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  3480. unless it's created
  3481. 2006-03-14 Peter Dennis Bartok <[email protected]>
  3482. * Control.cs (PerformLayout): We don't need to consider visiblity
  3483. for anchoring, only for docking. This fixes 'whacky' alignment
  3484. in listbox and other controls that use implicit scrollbars after
  3485. the previous PerformLayout patch
  3486. * ListBox.cs: Switched to use implicit scrollbars
  3487. 2006-03-14 Mike Kestner <[email protected]>
  3488. * ToolBar.cs:
  3489. * VScrollBar.cs:
  3490. - chain up the "new event" overrides to base and use
  3491. OnEvent to raise them. Part of fix for bug #76509.
  3492. 2006-03-14 Alexander Olk <[email protected]>
  3493. * FileDialog.cs: Do not select an item in the parent directory
  3494. on backspace
  3495. 2006-03-14 Peter Dennis Bartok <[email protected]>
  3496. * Control.cs (PerformLayout): It would seem that we considered
  3497. invisible windows for our layout. Not quite the right thing
  3498. to do. Now we don't any longer, thereby fixing bug #76889.
  3499. 2006-03-14 Peter Dennis Bartok <[email protected]>
  3500. * Control.cs (CanFocus): I goofed. A control can have focus
  3501. even though it's not selectable. Made it match MS docs.
  3502. 2006-03-13 Peter Dennis Bartok <[email protected]>
  3503. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  3504. center by default (fixes #76895)
  3505. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  3506. all uses of Border3DSides.All with the explicit ORd together
  3507. Left|Right|Top|Bottom because I assume that nobody was aware
  3508. that All also implies a center fill. Most places I checked had
  3509. a fill right above.
  3510. * ProgressBarStyle.cs: Added
  3511. 2006-03-13 Mike Kestner <[email protected]>
  3512. * ListView.cs: fix breakage in drag shadow header positioning
  3513. from Peter's csc compilation fix.
  3514. 2006-03-13 Mike Kestner <[email protected]>
  3515. * ListView.cs: fix NRE produced by backspacing twice in a focused
  3516. FileDialog.
  3517. 2006-03-13 Mike Kestner <[email protected]>
  3518. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  3519. 2006-03-13 Peter Dennis Bartok <[email protected]>
  3520. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  3521. be changed
  3522. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  3523. the allowed size before making programmatic size changes
  3524. 2006-03-13 Peter Dennis Bartok <[email protected]>
  3525. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  3526. set, metacity is broken and will still use the emty sizes in
  3527. the struct. (Fix for #77089)
  3528. 2006-03-13 Peter Dennis Bartok <[email protected]>
  3529. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  3530. WindowExStyles and marked both enums as Flags
  3531. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  3532. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  3533. to match WindowStyles split
  3534. * XplatUIX11.cs:
  3535. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  3536. - Updated to match WindowStyles split
  3537. * XplatUIWin32.cs:
  3538. - Fixed FosterParent creation, was using ExStyle on the Style field
  3539. (This should help with Popup focus issues)
  3540. - Updated to match WindowStyles split
  3541. 2006-03-13 Jackson Harper <[email protected]>
  3542. * MdiWindowManager.cs: Use the system menu height. Fixes some
  3543. strange sizing issues.
  3544. 2006-03-12 Peter Dennis Bartok <[email protected]>
  3545. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  3546. * TextBoxBase.cs:
  3547. - Scroll to caret after inserting text (#77672)
  3548. - Make scroll range one pixel higher, fixes off-by-one error (and
  3549. makes underlines visible on the last line)
  3550. 2006-03-12 Peter Dennis Bartok <[email protected]>
  3551. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  3552. the keyboard state from being stuck with keys in 'pressed' state when
  3553. focus is switched away via keyboard
  3554. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  3555. reset the keyboard if no X11 KeyUp events are expected to come
  3556. * X11Structs.cs: Switched type of Visible to bool to match driver
  3557. 2006-03-12 Peter Dennis Bartok <[email protected]>
  3558. * TextControl.cs:
  3559. - Switched caret to be just 1 pixel wide, matches MS and looks less
  3560. clunky
  3561. - Moved caret display 1 pixel down from the top of the control
  3562. to improve view
  3563. - InsertCharAtCharet: Update the selection start if moving the caret
  3564. (fixes bug #77696; based on patch suggested by [email protected])
  3565. - No longer always creating the caret when the caret methods are
  3566. called. Only the actual ShowCaret/HideCaret will do that now
  3567. - Only setting caret visible if the owner control has focus
  3568. - UpdateView: Added invalidation-shortcut logic for center and right
  3569. aligned text. Previously we'd update all according to the left
  3570. logic which caused drawing errors. Also fixed height of invalidated
  3571. areas, now properly invalidating the whole area (was off-by-one)
  3572. - owner_HandleCreated: Always generate the document when the
  3573. handle is created; this ensures that
  3574. * TextBoxBase.cs:
  3575. - Fixed situation where caret would disappear under the right
  3576. window border, also improved scrolling behaviour on left-
  3577. aligned textboxes
  3578. - Fixed right-aligned textboxes to have a border to the
  3579. right instead of the caret being under the right border
  3580. * XplatUIX11.cs:
  3581. - Switched from 'nested' to simple visible/not visible tracking
  3582. for caret (part of fix for #77671)
  3583. - No longer passing through translated FocusIn/FocusOut messages
  3584. since we were notifying too often and the wrong windows. Instead
  3585. we just notify our focussed window of receiving or loosing focus
  3586. * XplatUIWin32.cs: Switched from 'nested' show/hide
  3587. counting for caret to simple visible yes/no behaviour (part of
  3588. fix for #77671)
  3589. 2006-03-11 Alexander Olk <[email protected]>
  3590. * Mime.cs: Remove debug code...
  3591. 2006-03-11 Alexander Olk <[email protected]>
  3592. * MimeGenerated.cs: Removed
  3593. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  3594. and subclasses) from /usr/(local/)share/mime and
  3595. $HOME/.local/share/mime.
  3596. 2006-03-10 Jackson Harper <[email protected]>
  3597. * MdiWindowManager.cs: Recalc the NC area when a window is
  3598. maximized/restored so that the menu area is drawn on forms that
  3599. don't have a menu.
  3600. 2006-03-10 Peter Dennis Bartok <[email protected]>
  3601. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  3602. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  3603. us to force a WM_NCCALCRESIZE message being sent. This is needed
  3604. for MDI maximizing.
  3605. 2006-03-10 Jackson Harper <[email protected]>
  3606. * Form.cs: We need to use the ActiveMenu when calculating menu
  3607. height.
  3608. - Fix nullref when the window manager hasn't been created yet.
  3609. * Control.cs: Fix nullref when we try to bring a control to the
  3610. front that has no parent.
  3611. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  3612. height.
  3613. - Add a dummy item to the maximized menu so it always has the
  3614. correct height. Otherwise when there are no menus we don't get our
  3615. icon and buttons.
  3616. 2006-03-10 Jackson Harper <[email protected]>
  3617. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  3618. stuff.
  3619. * Form.cs: Make the window_state internal so the window managers
  3620. can track it.
  3621. - When an MDI child is maximized let its window manager create the
  3622. main menu (so it can add its icon).
  3623. - Notify the window managers of state changes
  3624. - Let the window manager paint its buttons and handle button
  3625. clicks on the menu when it is maximized.
  3626. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  3627. window manager, since tool windows don't use it, only mdi windows.
  3628. - Tell the main form that we don't want it to handle NCPAINT
  3629. itself to avoid extra painting.
  3630. - Handle clicks on a maximized windows menu.
  3631. - Handle window state changes
  3632. - Handle minimize/maximize clicks correctly by setting the window state.
  3633. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  3634. when clicking on the forms icon).
  3635. - New method to create a forms maximized menu. This is its normal
  3636. menu + an icon.
  3637. - Handle window state changes.
  3638. - Handle sizing of maximized windows. Maximized windows are just
  3639. drawn bigger then the parent visible area. All controls are still
  3640. there, they are just outside the visible area (this matches windows).
  3641. * MdiClient.cs: No scrollbars when a child window is maximized.
  3642. - Let the children windows figure out how big they should be when
  3643. sizing maximized windows.
  3644. - Implement a version of ArrangeIconicWindows somewhat similar to
  3645. Windows version. There are some little differences, but I don't
  3646. think any app will rely on the layout of minimized mdi windows.
  3647. 2006-03-10 Peter Dennis Bartok <[email protected]>
  3648. * Padding.cs: Several fixes to allow compiling with csc 2.0
  3649. 2006-03-09 Jackson Harper <[email protected]>
  3650. * Menu.cs:
  3651. * MenuItem.cs: Cheap hack so we can add items to the list without
  3652. the events being raised. This allows adding mdi items during
  3653. drawing. TODO: Should probably find a better time to add the items.
  3654. 2006-03-10 Peter Dennis Bartok <[email protected]>
  3655. * ThemeWin32Classic.cs:
  3656. - CheckBox_DrawText: Added logic to not wrap if not enough space
  3657. is available (Fix for bug #77727)
  3658. - RadioButton_DrawText: Added logic not to wrap if not enough
  3659. space is available (Fix for bug #77727). Also removed some
  3660. duplicate code, DrawString always drawing the regular text
  3661. before hitting the if statement.
  3662. 2006-03-10 Peter Dennis Bartok <[email protected]>
  3663. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  3664. 2006-03-10 Peter Dennis Bartok <[email protected]>
  3665. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  3666. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  3667. methods. Moved the new 2.0 properties into alphabetical order with
  3668. other properties and added MonoTODO tags
  3669. 2006-03-09 Peter Dennis Bartok <[email protected]>
  3670. * AutoScaleMode.cs: Added. Fix build.
  3671. 2006-03-09 Peter Dennis Bartok <[email protected]>
  3672. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  3673. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  3674. and was requiring premature handle creation for calls from above
  3675. * Form.cs, Control.cs: Removed handle arguments from calls to
  3676. CalculateClientRect()
  3677. 2006-03-09 Peter Dennis Bartok <[email protected]>
  3678. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  3679. drag_column.column_rect is MarshalByRef and can't be used that way
  3680. 2006-03-09 Peter Dennis Bartok <[email protected]>
  3681. * AxHost.cs: Added deserialization constructor for
  3682. AxHost+State (fixes 77743)
  3683. 2006-03-09 Mike Kestner <[email protected]>
  3684. * ListView.cs:
  3685. - Added column drag reordering for details view.
  3686. - fixed behavior when mouse is dragged off column and
  3687. AllowColumnReorder is false.
  3688. * ColumnHeader.cs: clone the format too in Clone.
  3689. * Theme.cs: add DrawListViewHeaderDragDetails method.
  3690. * ThemeWin32Classic.cs:
  3691. - impl new method for drawing drag column shadows and targets.
  3692. - support column offset for details mode in DrawListViewItem.
  3693. 2006-03-09 Peter Dennis Bartok <[email protected]>
  3694. * TextControl.cs: Reset the char_count when the document is cleared
  3695. (Fixes bug reported on mono-winforms mailing list)
  3696. 2006-03-09 Peter Dennis Bartok <[email protected]>
  3697. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  3698. of calling base we simply process the key ourselves, since both
  3699. DefWindowProc and the handled method would set m.Result.
  3700. (Fixes #77732)
  3701. 2006-03-09 Peter Dennis Bartok <[email protected]>
  3702. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  3703. method also moves the window; instead implemented a copy of
  3704. Control.ScaleCore (Part of fix for #77456)
  3705. * TextBoxBase.cs:
  3706. - Created new CreateGraphicsInternal method to allow providing
  3707. a graphics context when no handle is created without triggering
  3708. handle creation. (Part of fix for #77456)
  3709. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  3710. * TextControl.cs:
  3711. - Switched Constructor to require TextBoxBase instead of Control (to
  3712. allow uncast access to CreateGraphicsInternal)
  3713. - Safeguarded use of owner.Handle property. No longer accessing it
  3714. unless the handle is already created.
  3715. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  3716. - Now triggering a recalc when owning control becomes visible
  3717. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  3718. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  3719. premature handle creation (Part of fix for #77456)
  3720. * Control.cs:
  3721. - We now only destroy our double-buffering buffers when the
  3722. control is resized or disposed, but not when visibility
  3723. changes. (The code even re-created them twice every time)
  3724. - Now requiring a redraw of the buffer on visibility changes
  3725. (fixes bug 77654 part 2)
  3726. - Not passing OnParentVisibleChanged up unless the control
  3727. is visible
  3728. - CanFocus: Fixed to match MS documentation
  3729. - Focus: Fixed to return actual focus state and to check if
  3730. setting focus is legal before setting it
  3731. 2006-03-08 Peter Dennis Bartok <[email protected]>
  3732. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  3733. when to draw focus rectangle by looking at parent focus and
  3734. selected state instead. This fixes TabPages on Linux sometimes
  3735. having none or multiple focus rectangles.
  3736. * XplatUIX11.cs (SetFocus):
  3737. - Don't set the focus if the same window already has focus
  3738. - Use SendMessage instead of PostMessage (like it's Win32
  3739. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  3740. to match MS behaviour
  3741. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  3742. are not selectable.
  3743. 2006-03-07 Jackson Harper <[email protected]>
  3744. * PictureBox.cs: Revert line I accidently committed last week.
  3745. 2006-03-07 Peter Dennis Bartok <[email protected]>
  3746. * Control.cs:
  3747. - Added new IsRecreating and ParentIsRecreating properties to
  3748. allow testing if RecreateHandle has been called on ourselves
  3749. or one of our parents
  3750. - WndProc(WM_DESTROY): If our control handle is being recreated
  3751. we immediately need to create the handle when receiving the
  3752. destroy, that way our child windows find a valid parent handle
  3753. when they themselves are being recreated upon WM_DESTROY receipt
  3754. (fix for bug #77654 part 1)
  3755. * XplatUIX11.cs:
  3756. - DestroyWindow: WM_DESTROY must be sent to our own window before
  3757. notifying any child windows. MS documents that child windows
  3758. are still valid when WM_DESTROY is received. (Control now relies on
  3759. this behaviour)
  3760. - Added some fine-grain debug options
  3761. 2006-03-06 Jackson Harper <[email protected]>
  3762. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  3763. box and base calculations off this.
  3764. * MdiChildContext.cs:
  3765. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  3766. anymore.
  3767. 2006-03-06 Peter Dennis Bartok <[email protected]>
  3768. * Splitter.cs: In situations where the affected control is added
  3769. to the parent's control list after the splitter, we would not
  3770. populate affected. Now we try populating it on mousedown, if
  3771. it's not already set, and force it to be re-set whenever our
  3772. parent changes.
  3773. 2006-03-03 Matt Hargett <[email protected]>
  3774. * Control.cs: implement Control.Padding
  3775. * Padding.cs: -Padding.All returns -1 when constructing with the
  3776. implicit default ctor
  3777. -Padding.ToString() matches MS.NET
  3778. * ContainerControl.cs: implement
  3779. ContainerControl.AutoScaleDimensions
  3780. * ListControl.cs: implement ListControl.FormattingEnabled
  3781. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  3782. * ButtonBase.cs:
  3783. * TabPage.cs: Implement UseVisualStyleBackColor.
  3784. * PictureBox.cs: Implement PictureBox.InitialImage.
  3785. 2006-03-03 Mike Kestner <[email protected]>
  3786. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  3787. event declarations to proxy to base event.
  3788. * ListViewItem.cs: update to use ItemControl.
  3789. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  3790. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  3791. column header label rendering for 0 width columns.
  3792. 2006-03-03 Peter Dennis Bartok <[email protected]>
  3793. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  3794. that causes the control to be created. Fixes #77476.
  3795. 2006-03-02 Jackson Harper <[email protected]>
  3796. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  3797. expose_pending.
  3798. 2006-03-02 Peter Dennis Bartok <[email protected]>
  3799. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  3800. passed in for the EventArgs (fixes #77690)
  3801. 2006-03-01 Jackson Harper <[email protected]>
  3802. * ScrollBar.cs: Refresh afterbeing resized.
  3803. 2006-02-28 Mike Kestner <[email protected]>
  3804. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  3805. Clean up a tracker compile warning.
  3806. * MenuItem.cs: add internal PerformPopup method.
  3807. [Fixes #77457]
  3808. 2006-02-28 Peter Dennis Bartok <[email protected]>
  3809. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  3810. implicit expose) when the text is set to null
  3811. 2006-02-28 Peter Dennis Bartok <[email protected]>
  3812. * RichTextBox.cs (FlushText): When newline is true, we always
  3813. need to split the line, even if no text is on it and we may
  3814. never eat newlines. (Fixes #77669)
  3815. 2006-02-28 Mike Kestner <[email protected]>
  3816. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  3817. and set Selected instead.
  3818. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  3819. collections.
  3820. 2006-02-28 Peter Dennis Bartok <[email protected]>
  3821. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  3822. 2006-02-28 Alexander Olk <[email protected]>
  3823. * FontDialog.cs:
  3824. - Got rid of the panel. All controls are now directly added to
  3825. the dialog form
  3826. - It is now possible to set a font with the Font property
  3827. - MinSize and MaxSize property do now what they should
  3828. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  3829. - Searching and selecting a font with the font textbox works now,
  3830. the same applies to the style and size textbox
  3831. - Draw the correct 3D border in the example panel
  3832. - Fixed a little mem leak (unused fonts didn't get disposed)
  3833. - Many other internal updates/rewrites...
  3834. - Fix typo
  3835. 2006-02-27 Peter Dennis Bartok <[email protected]>
  3836. * TextControl.cs:
  3837. - InsertRTFFromStream: Added 'number of characters inserted' argument
  3838. - set_SelectedRTF: Now using the number of characters to calculate
  3839. the new location for the selection and cursor (x/y cannot be used
  3840. due to potentially already wrapped text)
  3841. 2006-02-27 Peter Dennis Bartok <[email protected]>
  3842. * TextControl.cs: Added property and implemented means to allow
  3843. disabling recalculation of a document (can be used to speed up
  3844. multiple inserts and is needed to make RTF inserts predictable, see
  3845. bug #77659)
  3846. * RichTextBox.cs: Using the new NoRecalc property of Document to
  3847. keep x/y insert locations predictable. Also makes it faster inserting
  3848. large chunks of RTF
  3849. 2006-02-27 Peter Dennis Bartok <[email protected]>
  3850. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  3851. it's easier for a child control to handle the other messages without
  3852. having to duplicate the special functionality
  3853. * TextBoxBase.cs
  3854. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  3855. code to handle processing the key ourselves, in order to get
  3856. access to the result of KeyEventArgs.Handled. We now only call
  3857. ProcessKey if they key hasn't been handled already. Fixes #77526.
  3858. - set_Text: If null or empty string is given, just clear the
  3859. document. Fixes part of #77526
  3860. 2006-02-27 Jackson Harper <[email protected]>
  3861. * SizeGrip.cs: Paint the background color before painting the grip
  3862. so things look right.
  3863. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  3864. 2006-02-27 Mike Kestner <[email protected]>
  3865. * ListView.cs:
  3866. - Restructure layout and invalidation model to remove a ton of
  3867. flicker from the control and speed up performance in general.
  3868. - Add manual column resize, flickers like crazy, but I already have
  3869. some ideas on how I'll fix that. (#76822)
  3870. - Merge the three Icon-based views into a single layout method.
  3871. - Move item selection interaction logic from the item since
  3872. interaction with the collections is more appropriate to the view.
  3873. - Deselection on non-item clicks.
  3874. * ListViewItem.cs:
  3875. - Encapsulate most of the layout. Add some internal props to trigger
  3876. layout. Move to a model where Items invalidate themselves instead
  3877. of just invalidating the whole control every time something changes.
  3878. - Invalidate on Text/Caption changes.
  3879. - switch to an offset based layout model to avoid having to absolute
  3880. position every element on item moves.
  3881. - correct checkbox layout to conform to MS layout.
  3882. * ThemeWin32Classic.cs:
  3883. - refactor some column header drawing code.
  3884. - fix string justification for column headers (#76821)
  3885. - make SmallIcon labels top justified for compat with MS impl.
  3886. * ThemeClearlooks.cs:
  3887. - adjust to new ListViewItem internal checkbox bounds api.
  3888. 2006-02-27 Jackson Harper <[email protected]>
  3889. * Control.cs: Change where implicit controls fall in the zorder.
  3890. They are now on top of all children.
  3891. - Synced AddImplicit code with Add
  3892. - Removed unused enumerator.
  3893. * SizeGrip.cs: Remove the TODO as its been TODONE.
  3894. 2006-02-26 Peter Dennis Bartok <[email protected]>
  3895. * TextControl.cs(Insert): Combine the last lines unless the insertion
  3896. string ends with \n\n, otherwise we leave one line too many (Fixes
  3897. something I noticed with the testapp for #77526; the bug itself was
  3898. already fixed in the previous checkin)
  3899. 2006-02-26 Peter Dennis Bartok <[email protected]>
  3900. * RichTextBox.cs:
  3901. - SelectionColor and SelectionFont methods no longer set absolute
  3902. styles. Instead, the keep font or color respectively (This
  3903. resolves a long-standing FIXME in the code)
  3904. - When flushing RTF text, the insert code now considers text trailing
  3905. behind the insertion point (Fixes the bug where when replacing
  3906. the selected text via SelectedRTF the remainder of the line behind
  3907. the selection would stay on the first insertion line)
  3908. * TextBoxBase.cs:
  3909. - AppendText now updates the selection points after inserting text
  3910. - AppendText now ensures that the last tag (sometimes 0-length) of
  3911. the document is used for the style information (Fixes part of
  3912. bug #77220)
  3913. * TextControl.cs:
  3914. - Created new FontDefiniton class to allow describing partial style
  3915. changes
  3916. - StreamLine() now takes a lines argument, to allow it to decide
  3917. whether an encountered zero-length tag is the last in the document
  3918. (which must be kept to not loose the font/color contained in it,
  3919. for later appends)
  3920. - Created Combine() and Split() methods for Marker structs, to
  3921. support marker updates due to reformatted documents (soft line
  3922. wraps)
  3923. - Implemented Document.CaretTag setter
  3924. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  3925. of the last line (Not the cause, but also exposed by bug #77220)
  3926. - Added LineTag argument to InsertString method, to allow callers
  3927. to force a certain tag to be used (required to force use of the
  3928. trailing zero-length tag of a document)
  3929. - Now updating markers in Combine(), to avoid stale tag markers
  3930. - Added some method descriptions to aid maintenance
  3931. - Implemented new FormatText concept, allowing additive/subtractive
  3932. formatting by only specifying the components that are to be
  3933. changed. This was needed for resolving the RTB.SelectedColor/
  3934. RTB.SelectedFont fixmes
  3935. - Added Break() support method to allow breaking up linetags (used
  3936. for partial formatting)
  3937. - Added GenerateTextFormat() method. It is used for partial
  3938. formatting and allows to generate a full font/color from given
  3939. attributes and an existing tag.
  3940. 2006-02-26 Jackson Harper <[email protected]>
  3941. * XplatUIX11.cs: Use the correct caption height.
  3942. - Translate hittest coordinates to screen coords to match MS.
  3943. * XplatUIWin32.cs: When we create MDI windows we need to reset
  3944. some of the style flags, so we get a nice blank window, and can
  3945. draw all the decorations ourselves.
  3946. - Set a clipping rectangle on the non client paint event, the
  3947. window manager drawing code needs one.
  3948. * Form.cs: The window manager needs to know when the window state
  3949. has been updated.
  3950. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  3951. don't need to factor in border and title sizes in these
  3952. methods. TODO: Remove the args and fix the call points.
  3953. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  3954. properly.
  3955. - Let the driver set the cursors.
  3956. - Improve active window handling
  3957. - Correct sizes for title bars and buttons.
  3958. - Match MS drawing better
  3959. * MdiWindowManager.cs: We don't need to handle border style
  3960. updates specially anymore.
  3961. - Check for scrollbars when windows are done moving
  3962. - Handle Active properly.
  3963. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  3964. correctly. I am spewing the exception though, so we don't hide the
  3965. bugs.
  3966. 2006-02-26 Pedro Martinez Julia <[email protected]>
  3967. * DataGridViewRowPostPaintEventArgs.cs,
  3968. DataGridViewCellPaintingEventArgs.cs,
  3969. DataGridViewRowCollection.cs,
  3970. DataGridViewRowPrePaintEventArgs.cs,
  3971. DataGridViewCell.cs: Clear a few warnings and implement a few
  3972. exceptions that should be thrown.
  3973. 2006-02-22 Peter Dennis Bartok <[email protected]>
  3974. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  3975. 'inheriting' our parent's (non-default) cursor. (Part of
  3976. the fix for #77479)
  3977. 2006-02-22 Peter Dennis Bartok <[email protected]>
  3978. * XplatUIX11.cs: Fixed cast to make csc happy
  3979. 2006-02-22 Peter Dennis Bartok <[email protected]>
  3980. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  3981. it's for the client area (part of fix for #77479 and needed
  3982. for MDI window cursor handling)
  3983. * XplatUIX11.cs
  3984. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  3985. the appropriate default cursors and also passing the message
  3986. up the parent chain
  3987. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  3988. for non-client areas
  3989. 2006-02-15 Jackson Harper <[email protected]>
  3990. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  3991. is a real MDI window
  3992. 2006-02-14 Alexander Olk <[email protected]>
  3993. * X11DesktopColors.cs: Instead of checking the desktop session
  3994. string for "KDE" check if it starts with "KDE"
  3995. 2006-02-10 Jackson Harper <[email protected]>
  3996. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  3997. systems).
  3998. 2006-02-10 Alexander Olk <[email protected]>
  3999. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  4000. errors
  4001. * ColorDialog.cs:
  4002. - Got rid of the panel. All controls are now directly added to
  4003. the dialog form
  4004. - Changed to mono coding style
  4005. 2006-02-10 Jackson Harper <[email protected]>
  4006. * InternalWindowManager.cs: We don't need the set visibility to
  4007. false hack anymore now that peter has written beautiful shutdown
  4008. code.
  4009. 2006-02-10 Peter Dennis Bartok <[email protected]>
  4010. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  4011. where already explicitly destroyed
  4012. 2006-02-10 Jackson Harper <[email protected]>
  4013. * MdiClient.cs: Handle the case where windows are too high or to
  4014. the left and we need scrollbars.
  4015. 2006-02-10 Alexander Olk <[email protected]>
  4016. * MimeIcon.cs: Added some icons
  4017. * FileDialog.cs:
  4018. - Fixed bug #77477
  4019. - Got rid of the panel. All controls are now directly added to
  4020. the dialog form
  4021. - Changed to mono coding style
  4022. - On Linux "My Computer" and "My Network" will now show some
  4023. more usefull information. A new class, MasterMount, gathers
  4024. this information from /proc/mount. Updated MWFFileView to make
  4025. use of this information
  4026. - Fixed a bug that caused FileDialog to crash when
  4027. ".recently_used" file had a zero size
  4028. - FilterIndex does now what it should
  4029. - Some Refactoring
  4030. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  4031. FileDialog changes
  4032. 2006-02-09 Jackson Harper <[email protected]>
  4033. * ComboBox.cs: Don't touch if null.
  4034. 2006-02-09 Peter Dennis Bartok <[email protected]>
  4035. * Cursor.cs: 64bit safeness fix
  4036. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  4037. 2006-02-09 Jackson Harper <[email protected]>
  4038. * Form.cs: If a form is made into an MDI form update the styles so
  4039. all the props can get set correctly.
  4040. - Kill the mdi_container when we dont need it anymore.
  4041. * InternalWindowManager.cs: Add missing NOT
  4042. 2006-02-08 Jackson Harper <[email protected]>
  4043. * InternalWindowManager.cs: Respek clipping when drawing MDi
  4044. decorations.
  4045. 2006-02-08 Jackson Harper <[email protected]>
  4046. * Hwnd.cs: Add bits to track non client expose events.
  4047. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  4048. gives us a proper invalid rect and will allow for some nice
  4049. optimizations with NC client drawing
  4050. - MDI windows are children windows, so move their style handling
  4051. into the child window block.
  4052. * InternalWindowManager.cs: Remove a state reset that was
  4053. getting invoked at the wrong time. Fixes managed windows getting
  4054. into a 'stuck' captured state.
  4055. 2006-02-07 Peter Dennis Bartok <[email protected]>
  4056. * TextControl.cs (Document.ctor): Now initializing
  4057. selection_anchor. Fixes #77493
  4058. 2006-02-07 Jackson Harper <[email protected]>
  4059. * TrackBar.cs: The increment/decrements were backwards.
  4060. 2006-02-07 Mike Kestner <[email protected]>
  4061. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  4062. to the instance itself.
  4063. 2006-02-07 Peter Dennis Bartok <[email protected]>
  4064. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  4065. on ulongs and pointers, the size differs between 32bit and 64bit
  4066. systems.
  4067. 2006-02-07 Mike Kestner <[email protected]>
  4068. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  4069. for 64 bit platforms to work around a metacity bug.
  4070. 2006-02-07 Jackson Harper <[email protected]>
  4071. * TrackBar.cs: Process the input keys we need, and hookup to
  4072. KeyDown instead of using WndProc, so we get key messages.
  4073. 2006-02-06 Peter Dennis Bartok <[email protected]>
  4074. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  4075. machine we're on.
  4076. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  4077. we need to translate the XdndVersion atoms array before sending it
  4078. 2006-02-06 Peter Dennis Bartok <[email protected]>
  4079. * XplatUIX11.cs:
  4080. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  4081. number of bits for the property, not the number of bytes. The
  4082. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  4083. but would not crash since it specified 8 bits instead of 4 bits)
  4084. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  4085. defined as XID -> long in the C headers)
  4086. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  4087. references since those are now IntPtr to begin with
  4088. - Switched all Atom.XXX 'int' casts to IntPtr casts
  4089. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  4090. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  4091. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  4092. * X11Structs.cs:
  4093. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  4094. - Changed atom in HoverStruct to be IntPtr
  4095. * X11DnD.cs:
  4096. - Removed local DllImports, switched code to use those from XplatUIX11
  4097. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  4098. 2006-02-06 Mike Kestner <[email protected]>
  4099. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  4100. method signatures in the import region. There may still be some
  4101. lingering struct marshaling issues, as I didn't drill down into those.
  4102. Yet.
  4103. 2006-02-06 Jackson Harper <[email protected]>
  4104. * ComboBox.cs: Dont manually set the top_item, this is computed
  4105. when the scrollbar position is set.
  4106. 2006-02-06 Mike Kestner <[email protected]>
  4107. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  4108. startup crashes on amd64. There's other fixes needed. All pinvoke
  4109. usage of Atom needs to be mapped to IntPtr for example. And there are
  4110. likely other int/long issues to be addressed.
  4111. 2006-02-04 Alexander Olk <[email protected]>
  4112. * FileDialog.cs: One more...
  4113. 2006-02-03 Alexander Olk <[email protected]>
  4114. * FileDialog.cs: Next try
  4115. 2006-02-03 Alexander Olk <[email protected]>
  4116. * FileDialog.cs: First part of fix for #77464
  4117. 2006-02-03 Alexander Olk <[email protected]>
  4118. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  4119. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  4120. AcceptButton border drawing.
  4121. 2006-02-03 Peter Dennis Bartok <[email protected]>
  4122. * Form.cs: Moved positioning of form after auto scaling is applied,
  4123. otherwise it would possibly use wrong form size.
  4124. 2006-02-03 Peter Dennis Bartok <[email protected]>
  4125. * Control.cs (RecreateHandle): No need to re-create any child
  4126. controls, the child windows will get destroyed automatically by
  4127. the windowing system or driver, and re-created when the handle
  4128. is being accessed the first time. Fixes #77456
  4129. * Form.cs: No longer setting the form to closing if the handle is
  4130. being recreated. This seems like the right thing to do, don't
  4131. have a bug or testcase for this, though.
  4132. 2006-02-02 Peter Dennis Bartok <[email protected]>
  4133. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  4134. controls to avoid unwanted side effects
  4135. 2006-02-02 Peter Dennis Bartok <[email protected]>
  4136. * Control.cs:
  4137. - ScaleCore needs to scale the bounds, not the ClientSize of the
  4138. control. Fixes #77416.
  4139. - DefaultSize is 0,0 for control
  4140. * TextBoxBase.cs:
  4141. - DefaultSize is 100, 20
  4142. - SetBoundsCore: Now enforcing the height, no matter if the provided
  4143. height is more or less than the preferred one, as long as AutoSize
  4144. is on
  4145. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  4146. 2006-02-02 Peter Dennis Bartok <[email protected]>
  4147. * Control.cs:
  4148. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  4149. call unless both performLayout is true *and* we have a pending
  4150. layout change
  4151. - ResumeLayout: MS does not completely nest Suspend and Resume,
  4152. they bottom out at 0, fixed our code to match that.
  4153. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  4154. SetBoundsCore, we were updating even when we shouldn't. This fixes
  4155. swf-anchors mis-anchoring when resizing the app fast and lots.
  4156. - UpdateDistances: Now only setting the left and top distance if
  4157. we have a parent and are not suspended, this is based on
  4158. a suggestion by Don Edvaldson in bug #77355.
  4159. - OnVisibleChanged: Fixed logic when to create the control. We may
  4160. not create the control if we have no parent or if it's not visible;
  4161. switched to using Visible property instead of is_visible field
  4162. since the property also considers parent states. This fixes a bug
  4163. when starting Paint.Net
  4164. 2006-02-02 Jackson Harper <[email protected]>
  4165. * Form.cs: If the forms handle hasn't been created yet don't call
  4166. into xplatui to make it top most, just set the topmost flag on the
  4167. form in CreateParams
  4168. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  4169. 2006-02-01 Jackson Harper <[email protected]>
  4170. * ScrollableControl.cs: Refactored the Recalculate method a
  4171. little, this wasn't handling all the variants of bottom and right
  4172. bars needed to be added and added/removed based on their
  4173. counterparts being added/removed (which changes the drawable
  4174. size). Also we special case client widths and heights of 0 and
  4175. don't add the scrollbar for those.
  4176. 2006-02-01 Peter Dennis Bartok <[email protected]>
  4177. * XplatUIX11.cs:
  4178. - Added method to get AbsoluteGeometry(); currently unused, but might
  4179. be used in the future, if we try again to figure out toplevel
  4180. coordinates with some more crappy window managers
  4181. - Added FrameExtents() method to retrieve the WM set decoration size
  4182. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  4183. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  4184. * Hwnd.cs:
  4185. - Added whacky_wm tracking var for metacity
  4186. - Added logic to have default menu height if the actual menu height
  4187. has not yet been calculated (part of fix for #77426)
  4188. * Form.cs: Keep track whether client size has been set and re-set
  4189. it if a menu is added/removed afterwards (Fixes #77426)
  4190. 2006-01-31 Jackson Harper <[email protected]>
  4191. * Control.cs: When a new Site is set on the component attempt to
  4192. pull the AmbientProperties from it.
  4193. 2006-01-31 Peter Dennis Bartok <[email protected]>
  4194. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  4195. in the background of the owning form. Fixes #77332
  4196. 2006-01-31 Alexander Olk <[email protected]>
  4197. * MimeIcon.cs: Fix for #77409
  4198. 2006-01-31 Alexander Olk <[email protected]>
  4199. * XplatUIX11GTK.cs: Initial import
  4200. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  4201. * FixedSizeTextBox: fixes class signature
  4202. 2006-01-30 Jackson Harper <[email protected]>
  4203. * FixedSizeTextBox.cs: New internal class that represents a
  4204. textBox that will not be scaled.
  4205. * TreeView.cs:
  4206. * ComboBox.cs:
  4207. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  4208. standard TextBox.
  4209. 2006-01-30 Peter Dennis Bartok <[email protected]>
  4210. * XplatUIX11.cs: Retrieve default screen number instead of
  4211. assuming 0. Attempted fix for #77318
  4212. 2006-01-30 Peter Dennis Bartok <[email protected]>
  4213. * XplatUIWin32.cs:
  4214. - GetWindowPos: When a window is parented by FosterParent, use
  4215. the desktop instead of FosterParent as the base to get coordinates
  4216. - CreateWindow: Don't make FosterParent the parent window for Popups
  4217. if we don't want a taskbar entry, Popups automatically don't get one
  4218. * Hwnd.cs: Need to call remove to actually remove the key from the
  4219. hash table
  4220. 2006-01-30 Mike Kestner <[email protected]>
  4221. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  4222. 2006-01-30 Jackson Harper <[email protected]>
  4223. * TreeView.cs:
  4224. * TreeNode.cs: Raise events no matter how the treenode is
  4225. checked. Patch by Don Edvalson.
  4226. 2006-01-30 Jackson Harper <[email protected]>
  4227. * TreeNode.cs: Signature fix.
  4228. 2006-01-29 Alexander Olk <[email protected]>
  4229. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  4230. 2006-01-20 Mike Kestner <[email protected]>
  4231. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  4232. event forwarding when menus are active.
  4233. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  4234. Most of the patch is pdb's with a little rework.
  4235. 2006-01-26 Peter Dennis Bartok <[email protected]>
  4236. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  4237. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  4238. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  4239. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  4240. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  4241. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  4242. the PaintWindowDecorations method
  4243. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  4244. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  4245. * MenuAPI.cs: Made tracker window invisible
  4246. * XplatUIWin32.cs:
  4247. - Removed GetMenuDC and ReleaseMenuDC methods
  4248. - Implemented the client=false path for PaintEventStart and
  4249. PaintEventEnd
  4250. 2006-01-26 Peter Dennis Bartok <[email protected]>
  4251. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  4252. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  4253. styles
  4254. * Form.cs:
  4255. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  4256. the style
  4257. - CreateParams: Reworked the styles to match MS look'n'feel,
  4258. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  4259. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  4260. 2006-01-26 Peter Dennis Bartok <[email protected]>
  4261. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  4262. window is not mapped, since otherwise every form that's being
  4263. created is considered minimized, which is wrong.
  4264. * Form.cs: Catching the exception and returning our internal value
  4265. instead
  4266. 2006-01-26 Peter Dennis Bartok <[email protected]>
  4267. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  4268. SetWindowMinMax() to have means to tell the driver about the minimum,
  4269. maximum and maximized state window sizes. (Part of the fix for #76485)
  4270. * Form.cs:
  4271. - Implemented tracking of minimum and maximum window size, now calling
  4272. new SetWindowMinMax() driver method to tell the driver (Part of the
  4273. fix for #76485)
  4274. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  4275. (Completes fix for #76485)
  4276. - Calling new SetWindowMinMax driver method when the handle for a
  4277. form is created, to make sure the driver knows about it even if
  4278. the values have been set before the window was created
  4279. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  4280. to avoid messing up our anchoring calculations (partial fix
  4281. for #77355)
  4282. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  4283. * XplatUIX11.cs:
  4284. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  4285. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  4286. (and presumably other freedesktop.org compliant WMs). Left the
  4287. assumption unmapped=minimized, needed for SetVisible to work.
  4288. - Now setting the window state when creating windows
  4289. - Fixed SetVisible to consider/set the window state when mapping
  4290. a Form. We cannot set the state before it's mapped, and we cannot
  4291. use Form.WindowState once it's mapped (since it would ask the
  4292. driver and get 'normal'. Therefore, we grab the state before
  4293. mapping, map, and then set state.
  4294. - Implmemented SetWindowMinMax method; Metacity does not seem to
  4295. honor the ZoomHints, though.
  4296. * XplatUIWin32.cs:
  4297. - Removed MINMAXINFO (moved to XplatUIStructs)
  4298. - Added SetWindowMinMax stub (on Win32 the only way to set that
  4299. information is in response to the WM_GETMINMAXINFO message, which
  4300. is handled in Form.cs)
  4301. - Added logic to SetVisible to set the proper window state when a
  4302. form is made visible (fixes #75720)
  4303. 2006-01-26 Jackson Harper <[email protected]>
  4304. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  4305. same way we handle them with Invoke.
  4306. 2006-01-25 Peter Dennis Bartok <[email protected]>
  4307. * Form.cs:
  4308. - Added tracking of window state so CreateParams can return
  4309. the appropriate style
  4310. - Moved setting of WS_CAPTION style in CreateParams to allow
  4311. styles without caption
  4312. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  4313. control if the TextBox property is accessed. Fixes #77345
  4314. * Control.cs:
  4315. - get_Created: now uses is_disposed and is_created to determine
  4316. return value (suggested by Jackson)
  4317. - CreateHandle: No longer exits if the handle is being recreated
  4318. - RecreateHandle: If the handle is not yet created call the
  4319. appropriate method to create either control or handle. If the
  4320. control is already created CreateHandle will simply exit instead
  4321. of just creating the handle
  4322. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  4323. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  4324. is called.
  4325. * XplatUIX11.cs:
  4326. - When DestroyWindow is called, instead of waiting for the
  4327. DestroyNotification from X11, we directly post it to the WndProc
  4328. and immediately dispose the hwnd object.
  4329. Same applies to DestroyChildWindows, and this obsoletes the
  4330. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  4331. child windows before our own, to avoid X11 errors.
  4332. - Removed the direct sending of WM_PAINT on UpdateWindow
  4333. * XplatUIWin32.cs:
  4334. - Reworked DoEvents and GetMessage to allow access to internal queue
  4335. even when trying non-blocking access to the queue. Fixes #77335.
  4336. Based on a patch suggestion by Don Edvalson. The new private
  4337. GetMessage can now also be used as a backend for a PeekMessage
  4338. frontend version.
  4339. * XplatUI.cs: Improved debug output for CreateWindow
  4340. 2006-01-25 Jackson Harper <[email protected]>
  4341. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  4342. 2006-01-24 Jackson Harper <[email protected]>
  4343. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  4344. when we have a MaxDropItems lower then the selected index.
  4345. 2006-01-24 Jackson Harper <[email protected]>
  4346. * Control.cs: Don't allow selection of non visible controls, allow
  4347. selection of controls without parents.
  4348. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  4349. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  4350. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  4351. 2006-01-23 Jackson Harper <[email protected]>
  4352. * UpDownBase.cs: Make the textbox handle all the selection and
  4353. tabbing. This fixes tabing to updown controls.
  4354. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  4355. * TextBoxBase.cs: fixes exception thown the object was null
  4356. 2006-01-23 Jackson Harper <[email protected]>
  4357. * ButtonBase.cs: Just use the base CreateParams. They set
  4358. visibility and enabled correctly.
  4359. * ComboBox.cs:
  4360. * TrackBar.cs:
  4361. * MonthCalendar.cs: Lets let the base set as much of the
  4362. createparams as possible so we don't have duplicate code all over
  4363. the place.
  4364. 2006-01-22 Alexander Olk <[email protected]>
  4365. * ThemeGtk.cs: Added TrackBar and some experimental code to
  4366. get double buffering back
  4367. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  4368. * DataGrid.cs: Allows row number set internally higher than the last
  4369. when creating a new row. Restores the editing functionality.
  4370. 2006-01-20 Mike Kestner <[email protected]>
  4371. * MimeIcon.cs: delay Image creation until the icons are accessed
  4372. instead of creating 190 scaled images on GnomeHandler startup.
  4373. 2006-01-19 Peter Dennis Bartok <[email protected]>
  4374. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  4375. first call base before processing the event. Fixes #77279
  4376. 2006-01-19 Peter Dennis Bartok <[email protected]>
  4377. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  4378. that the stride for the GDI bitmap would match the stride of
  4379. a DIB or a Cursor.
  4380. 2006-01-19 Alexander Olk <[email protected]>
  4381. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  4382. 2006-01-19 Jackson Harper <[email protected]>
  4383. * ComboBox.cs: Hookup the text controls keydown event so we get
  4384. those when the text control has the focus.
  4385. 2006-01-18 Peter Dennis Bartok <[email protected]>
  4386. * Label.cs: Now using the base events instead of defining new ones;
  4387. this allows us to just call the base properties without having to
  4388. duplicate all base property logic
  4389. 2006-01-18 Peter Dennis Bartok <[email protected]>
  4390. * Label.cs: A label by default is not a tabstop (Fixes one of our
  4391. failing nunit tests)
  4392. 2006-01-18 Peter Dennis Bartok <[email protected]>
  4393. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  4394. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  4395. 2006-01-18 Peter Dennis Bartok <[email protected]>
  4396. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  4397. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  4398. This fixes #77218
  4399. * XplatUIWin32.cs:
  4400. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  4401. constructor creates images that can't be saved. Part of the fix
  4402. for #76103
  4403. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  4404. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  4405. bug fix for handling window state in forms properly)
  4406. 2006-01-18 Alexander Olk <[email protected]>
  4407. * ThemeGtk.cs: Simplify ScrollBar drawing
  4408. 2006-01-18 Jackson Harper <[email protected]>
  4409. * Splitter.cs: Set the default dock style for the splitter control
  4410. in the constructor.
  4411. 2006-01-18 Alexander Olk <[email protected]>
  4412. * ThemeGtk.cs: Corrected StateType and ShadowType for
  4413. gtk_paint_box
  4414. 2006-01-18 Alexander Olk <[email protected]>
  4415. * Control.cs: Make use of Theme.DoubleBufferingSupported
  4416. * ThemeGtk.cs:
  4417. - Added drawing for flat style buttons
  4418. - Added ScrollBar drawing
  4419. 2006-01-18 Alexander Olk <[email protected]>
  4420. * ThemeClearlooks.cs: Removed some unneeded code.
  4421. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  4422. 2006-01-17 Peter Dennis Bartok <[email protected]>
  4423. * LinkLabel.cs: We need to update the hover drawing when
  4424. leaving the control as well.
  4425. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  4426. * DataGrid.cs: Clicking on non empty areas in the columns
  4427. area was giving an exception
  4428. 2006-01-17 Jackson Harper <[email protected]>
  4429. * ThemeWin32Classic.cs:
  4430. * ListView.cs: Do not draw/clip the headers when the header style
  4431. is None.
  4432. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  4433. * DataGrid.cs: Fixes 77260
  4434. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  4435. * DataGrid.cs: Clicking on a column on a empty grid was giving
  4436. an exception
  4437. 2006-01-17 Peter Dennis Bartok <[email protected]>
  4438. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  4439. or any keypress will crash the grid.
  4440. 2006-01-17 Mike Kestner <[email protected]>
  4441. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  4442. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  4443. invisible/previously-visible items.
  4444. [Fixes #76909]
  4445. 2006-01-17 Alexander Olk <[email protected]>
  4446. * ThemeClearlooks.cs:
  4447. - Added CL_Draw_Button method; now other theme controls that are
  4448. not derived from button or do not have a button can draw buttons
  4449. too
  4450. - Updated ComboBox drawing
  4451. - Beautified RadioButton drawing
  4452. - Corrected drawing of bottom and left tabs
  4453. - Beautified DateTimePicker and MonthCalendar
  4454. - Added CPDrawButton and CPDrawRadioButton
  4455. 2006-01-16 Jackson Harper <[email protected]>
  4456. * ComboBox.cs: Set the initial value of the scrollbar to the
  4457. current index. Reduce the numbers of refreshs and IndexOfs called.
  4458. 2006-01-14 Alexander Olk <[email protected]>
  4459. * FileDialog.cs: When the file listview is focused hitting the
  4460. backspace key moves the fileview to the parent directory
  4461. 2006-01-13 Peter Dennis Bartok <[email protected]>
  4462. * Form.cs:
  4463. - Added RecreateHandle call when changing taskbar visibility to
  4464. trigger reparenting in Win32 driver (Fixes #75719)
  4465. - If a window has minimize or maximize buttons, it cannot have
  4466. a help button
  4467. * XplatUIWin32.cs:
  4468. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  4469. the toplevel form with FosterParent (A toolwindow not on the
  4470. taskbar) (Fixes #75719)
  4471. - Made FosterParent a toolwindow
  4472. 2006-01-13 Alexander Olk <[email protected]>
  4473. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  4474. 2006-01-13 Alexander Olk <[email protected]>
  4475. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  4476. is currently over that control, make sure that tooltip_window.Text
  4477. gets updated
  4478. 2006-01-13 Mike Kestner <[email protected]>
  4479. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  4480. 2006-01-13 Jackson Harper <[email protected]>
  4481. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  4482. value passed. Also redraw the selected node when we recieve
  4483. focus, so tabbing between trees works correctly.
  4484. 2006-01-13 Alexander Olk <[email protected]>
  4485. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  4486. ~/.gconf/%gconf-tree.xml, so use
  4487. .gconf/desktop/gnome/interface/%gconf.xml
  4488. 2006-01-13 Peter Dennis Bartok <[email protected]>
  4489. * TextControl.cs: Draw text in gray if control is disabled
  4490. 2006-01-13 Peter Dennis Bartok <[email protected]>
  4491. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  4492. make sure it's always visible. Fixes #76680.
  4493. 2006-01-13 Peter Dennis Bartok <[email protected]>
  4494. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  4495. 2006-01-13 Jonathan Chambers <[email protected]>
  4496. * PageSetupDialog.cs: Added.
  4497. * PrintDialog.cs: Attributes.
  4498. * PrintPreviewControl.cs: Updates.
  4499. * PrintPreviewDialog.cs: Updates.
  4500. 2006-01-12 Peter Dennis Bartok <[email protected]>
  4501. * Control.cs: Undid my selection check fix, since it's not needed
  4502. * TextBoxBase.cs:
  4503. - Now considering the presence of hscroll/vscroll when sizing
  4504. vscroll/hscroll respectively. Fixed bug #77077
  4505. - Added Left/Up/Down/Right to IsInputKey list to prevent
  4506. ContainerControl from stealing them. This fixes what I broke
  4507. with my last checkin.
  4508. 2006-01-12 Peter Dennis Bartok <[email protected]>
  4509. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  4510. I finally understand how the property can be set without a setter :-)
  4511. 2006-01-12 Peter Dennis Bartok <[email protected]>
  4512. * Application.cs:
  4513. - Switched RunLoop to use static Message.Create to create a
  4514. Message object
  4515. - Added PreProcessMessage call in runloop for keyboard events; this
  4516. is part of the fix for #77219, I overlooked this originally in the
  4517. MSDN doc for PreProcessMessage
  4518. * Control.cs:
  4519. - Removed call to PreProcessMessage from handling of keyboard
  4520. messages; it's supposed to be done in the message pump
  4521. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  4522. per MSDN documentation.
  4523. - IsInputChar: All chars are input chars by default; removed the
  4524. parent calling chain, MS does not document that
  4525. - PreProcessMessage: If IsInputChar is true, we want to return false
  4526. to allow dispatching of the message
  4527. - When selecting the next control, now also check that we're not
  4528. selecting ourselves again and therefore return a false positive.
  4529. * TextBoxBase.cs:
  4530. - Tried to match return values for IsInputKey and ProcessDialogKey
  4531. to what MS returns; moved processing of our special keys outside
  4532. ProcessDialogKey since MS does not seem to return true on those.
  4533. - Moved code that previously was in ProcessDialogKey into new private
  4534. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  4535. - Reworked handling of WM_CHAR to not have to duplicate code from
  4536. Control.cs anymore, instead we simply call down to base.
  4537. 2006-01-12 Jackson Harper <[email protected]>
  4538. * ComboBox.cs: We always need to refresh the text area when
  4539. EndUpdate is called. Fixes the combobox in the file dialog.
  4540. * Control.cs: Don't create the creator_thread until the controls
  4541. handle is created. Also in InvokeRequired we check if the
  4542. creator_thread is null. This gives the effect of InvokeRequired
  4543. returning true if the controls handle is not created yet, and
  4544. matches MS.
  4545. 2006-01-12 Peter Dennis Bartok <[email protected]>
  4546. * XplatUI.cs:
  4547. - Added StartLoop() driver method. This is used to allow drivers to
  4548. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  4549. loop for a particular thread
  4550. - Added EndLoop() driver method. This is called once the message
  4551. pump for the thread is shut down
  4552. - Added SupportsTransparency method to allow the driver to indicate
  4553. opacity support for windows
  4554. * Form.cs:
  4555. - Removed TODO attribute, completed AllowTransparency property
  4556. - Added documented logic to Opacity
  4557. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  4558. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  4559. versions of CompatibleTextRendering
  4560. * X11Structs.cs: Added opacity atom to our atom enumeration
  4561. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  4562. of a form might be set before it's reparented by the WM, and we need
  4563. the opacity value without calling up to Form)
  4564. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  4565. SupportsTransparency() driver methods
  4566. * Application.cs: Now calling StartLoop and EndLoop driver methods
  4567. * XplatUIX11.cs:
  4568. - Added opacity atom registration
  4569. - Added StartLoop()/EndLoop() methods. They're empty right now but
  4570. will need to get implemented when we switch to a per-thread queue
  4571. - Implemented SupportsTransparency() method
  4572. - Implemented SetWindowTransparency() method
  4573. - Added support for setting the opacity value when a window is
  4574. reparented (since the opacity needs to be set on the WM frame)
  4575. * XplatUIOSX.cs, XplatUIWin32.cs:
  4576. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  4577. 2006-01-12 Alexander Olk <[email protected]>
  4578. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  4579. 2006-01-12 Alexander Olk <[email protected]>
  4580. * FileDialog.cs: Added ToolTip for MWFFileView
  4581. * MimeIcon.cs: Rewrote GnomeHandler.
  4582. - Get currently used gnome icon theme from
  4583. ($HOME)/.gconf/%gconf-tree.xml
  4584. - Make use of inherited icon themes
  4585. - Support SVG icon themes like Tango via librsvg
  4586. 2006-01-12 Miguel de Icaza <[email protected]>
  4587. Revert's Jackson's revert which broke 2.0 builds. Fix both
  4588. builds.
  4589. * Application.cs: Move the use_compatible_text_rendering outside
  4590. the NET_2_0 define. If we ever need to use the
  4591. use_compatible_text_rendering on the individual controls they will
  4592. access the variable from the common shared code paths.
  4593. 2006-01-12 Peter Dennis Bartok <[email protected]>
  4594. * XplatUI.cs:
  4595. - Added more granular debug options
  4596. - Added method to print both window text and id
  4597. - Switched debug output to use new Window() debug method
  4598. - Added IsEnabled() driver method
  4599. - Added EnableWindow() driver method
  4600. * Form.cs:
  4601. - Removed end_modal; no longer needed, new loop handles termination
  4602. via 'closing' variable
  4603. - If form is modal, setting DialogResult will now initiate loop
  4604. termination via 'closing' variable
  4605. - Added support for is_enabled/WS_DISABLED to CreateParams
  4606. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  4607. does all the work
  4608. - Removed code that's now in RunLoop from ShowDialog()
  4609. - Added various documented sanity checks to ShowDialog()
  4610. - Added handling of WM_DESTROY message; we set 'closing' on getting
  4611. the message to indicate the message pump to terminate
  4612. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  4613. send by the Application.ExitThread method. (We send the message
  4614. to destroy the window after all other events have been
  4615. processed through the queue, instead of destroying the handle
  4616. directly)
  4617. - Moved code from Close() method to WM_CLOSE handler; added logic
  4618. to only send close-related events if the form is not displayed
  4619. modal
  4620. * Splitter.cs (..ctor): Fixed typo in resource name
  4621. * Control.cs:
  4622. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  4623. brush now
  4624. - set_Cursor: Now only setting calling into XplatUI if the handle for
  4625. the control is already created; this avoids implict handle creation
  4626. or crashes if it's not created
  4627. - set_Enabled: Now setting the enabled state via the new driver method
  4628. instead of just tracking it
  4629. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  4630. - CreateControl: Reordered event firing and method calls to more
  4631. closely fire events in the order MS does. Now setting the
  4632. enabled state in the driver when creating the control.
  4633. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  4634. match MS order
  4635. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  4636. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  4637. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  4638. * Hwnd.cs:
  4639. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  4640. - Added EnabledHwnd property to easily allow a driver to find the
  4641. handle of the first enabled window in the parent chain (this is
  4642. used by drivers to pass up input events of disabled windows)
  4643. * XplatUIDriver.cs: Added IsEnabled() method
  4644. * Application.cs:
  4645. - Removed crude and obsolete exiting tracking variable
  4646. - Removed internal ModalRun(); replaced by RunLoop()
  4647. - Implemented private CloseForms() method to allow closing all
  4648. windows owned by a particular (or all) threads
  4649. - Exit() now properly closes all windows without forcing the message
  4650. pump to quit
  4651. - Removed obsolete InternalExit() method
  4652. - Changed Run() methods to use new RunLoop() message pump
  4653. - Implemented new RunLoop() method for both modal and non-modal forms
  4654. * CommonDialog.cs:
  4655. - get_CreateParams: Added setting of WS_DISABLED
  4656. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  4657. invoked via Form.ShowDialog()
  4658. * NativeWindow.cs: We don't remove the window from the collection when
  4659. the handle is destroyed; there might still be messages for it in the
  4660. queue (mainly the resulting WM_DESTROY); instead it will be removed
  4661. when Control calls InvalidateHandle in the WM_DESTROY handler
  4662. * XplatUIX11.cs:
  4663. - CreateWindow: Added logic to handle the WS_DISABLED window style
  4664. - EnableWindow: Implemented based on Hwnd.Enabled
  4665. - GetMessage: Reset PostQuitState so the method can be called again
  4666. - Implemented support for disabled windows (passing messages to the
  4667. first enabled parent) in handling all input messages
  4668. - Added optimizations for handling Expose events
  4669. - Implemeted new driver method IsEnabled()
  4670. - Now always resetting paint pending tracking vars when we start paint
  4671. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  4672. * XplatUIOSX.cs: Added IsEnabled method stub
  4673. * XplatUIWin32.cs: Implemented new IsEnabled() method
  4674. 2006-01-11 Jackson Harper <[email protected]>
  4675. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  4676. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  4677. variables a little.
  4678. * ColorDialog.cs: Clear out the old form before adding the new
  4679. panel.
  4680. 2006-01-11 Jackson Harper <[email protected]>
  4681. * X11Dnd.cs: Make sure to add all the text formats when adding
  4682. strings to the data object.
  4683. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  4684. do some redrawing too. Also change the UpdateNode to an
  4685. UpdateBelow so the newly added node gets painted.
  4686. 2006-01-11 Miguel de Icaza <[email protected]>
  4687. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  4688. LinkLabel.cs, PropertyGrid.cs: Implement the
  4689. UseCompatibleTextRendering property for 2.x
  4690. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  4691. 2006-01-11 Jackson Harper <[email protected]>
  4692. * TreeView.cs: Use the property for setting the selected node so
  4693. the correct events get raised.
  4694. * TreeNode.cs: Update the tree when the fore/back colours of a
  4695. node are set.
  4696. 2006-01-10 Jackson Harper <[email protected]>
  4697. * TreeView.cs: Allow setting SelectedNode to null.
  4698. 2006-01-9 Jonathan Chambers <[email protected]>
  4699. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  4700. 2006-01-9 Jonathan Chambers <[email protected]>
  4701. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  4702. 2006-01-9 Jonathan Chambers <[email protected]>
  4703. * PrintDialog.cs: Added attributes and set default property values.
  4704. 2006-01-9 Jonathan Chambers <[email protected]>
  4705. * PrintControllerWithStatusDialog.cs:
  4706. Added PrintControllerWithStatusDialog.
  4707. 2006-01-9 Jonathan Chambers <[email protected]>
  4708. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  4709. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  4710. 2006-01-9 Jonathan Chambers <[email protected]>
  4711. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  4712. 2006-01-09 Jonathan Chambers <[email protected]>
  4713. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  4714. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  4715. 2006-01-08 Alexander Olk <[email protected]>
  4716. * MimeIcon.cs: Added internal class SVGUtil.
  4717. 2006-01-08 Alexander Olk <[email protected]>
  4718. * FileDialog.cs: Don't crash if there are two files with the
  4719. same name but different locations.
  4720. 2006-01-08 John BouAntoun <[email protected]>
  4721. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  4722. dates across multiple month grids. Used to not highlight entire
  4723. month, but does now.
  4724. 2006-01-06 Jackson Harper <[email protected]>
  4725. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  4726. message loop. Change timer intervals to numbers that seem more
  4727. natural.
  4728. 2006-01-06 John BouAntoun <[email protected]>
  4729. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  4730. object for location info since screen object is now implemented.
  4731. 2006-01-05 Jackson Harper <[email protected]>
  4732. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  4733. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  4734. AsyncMethodResult, this is because we ALWAYS want the
  4735. ManualResetEvent to get set.
  4736. * Control.cs: When disposing use an async invoke to call shutdown
  4737. code, so that thigns don't block on the finalizer thread. Also
  4738. check if we even have a message loop before trying to send
  4739. messages, if we don't then don't bother sending messages.
  4740. - No more weak references for async methods
  4741. * XplatUIDriver.cs: No more weak references for async methods.
  4742. 2006-01-04 Alexander Olk <[email protected]>
  4743. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  4744. returns two FontFamily with the same name
  4745. 2006-01-04 Peter Dennis Bartok <[email protected]>
  4746. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  4747. drawing disabled text. Instead using the ColorGrayText color
  4748. 2006-01-04 Jackson Harper <[email protected]>
  4749. * TreeNode.cs: redraw the node when its image index is changed.
  4750. 2006-01-04 Peter Dennis Bartok <[email protected]>
  4751. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  4752. time I checked there are no others like it.
  4753. 2006-01-04 Jackson Harper <[email protected]>
  4754. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  4755. this gives the behavoir I was looking for.
  4756. * Control.cs: Special case Invoking EventHandlers, this matches MS
  4757. and fixes part of bug #76326.
  4758. 2006-01-04 Alexander Olk <[email protected]>
  4759. * ThemeClearlooks.cs, FileDialog.cs:
  4760. - Reflect the latest Theme class changes
  4761. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  4762. with DateTime
  4763. 2006-01-04 Alexander Olk <[email protected]>
  4764. * Theme.cs: Cache UI resource images and resize them if needed
  4765. 2006-01-03 Peter Dennis Bartok <[email protected]>
  4766. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  4767. is called. This fixes the crash in Nexxia when setting the font
  4768. attributes in the chat. [However, RTF needs a look-over to make sure
  4769. that all SelectionXXX methods handle the special case that selection
  4770. is empty and therefore the change must be applied to all text starting
  4771. at the cursor/selection start]
  4772. 2006-01-03 Peter Dennis Bartok <[email protected]>
  4773. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  4774. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  4775. * X11Keyboard.cs: Switched to new way of calling PostMessage
  4776. 2006-01-03 Peter Dennis Bartok <[email protected]>
  4777. * Theme.cs: Added theme interface for images to allow the theme to
  4778. control what images are used for things like FileDialog, MessageBox
  4779. icons, etc.
  4780. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  4781. 2006-01-03 Alexander Olk <[email protected]>
  4782. * FileDialog.cs:
  4783. - Removed some dead code
  4784. - Opening a recently used file does work now
  4785. - Small UI enhancements
  4786. - Refactoring
  4787. 2006-01-02 Alexander Olk <[email protected]>
  4788. * FileDialog.cs: Forgot too add __MonoCS__
  4789. 2006-01-02 Alexander Olk <[email protected]>
  4790. * FileDialog.cs: We are able to read recently used files now let's
  4791. go on and write them.
  4792. 2006-01-01 Alexander Olk <[email protected]>
  4793. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  4794. button
  4795. * MimeIcon.cs: Do a check for the top level media type also
  4796. 2005-12-31 Alexander Olk <[email protected]>
  4797. * ThemeClearlooks.cs:
  4798. - Added CPDrawStringDisabled
  4799. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  4800. some chars if the text doesn't fit into text_rect
  4801. - DrawListViewItem: If View = View.LargeIcon center the image;
  4802. rewrote the drawing of ListViewItem.Text if View =
  4803. View.LargeIcon
  4804. 2005-12-31 Alexander Olk <[email protected]>
  4805. * MimeIcon.cs: Use default KDE icon theme if there is no
  4806. "48x48" directory for the current icon theme, fixes #77114
  4807. * Mime.cs: Disable not working and actually not used code.
  4808. * ThemeWin32Classic.cs:
  4809. - Replace "new SolidBrush" in GetControlBackBrush and
  4810. GetControlForeBrush with ResPool.GetSolidBrush
  4811. - Changed DrawListViewItem from private to protected virtual
  4812. * FileDialog.cs:
  4813. - Added form.MaximizeBox = true
  4814. - Don't throw an exception if there is a broken symbolic link
  4815. 2005-12-23 Jackson Harper <[email protected]>
  4816. * TabControl.cs: Give the panels focus, keyboard navigation is
  4817. fixed so this works correctly now.
  4818. - We need these key events also.
  4819. * ToolBar.cs: Remove some of the poor mans double buffering.
  4820. 2005-12-24 Alexander Olk <[email protected]>
  4821. * ComboBox.cs: The internal TextBox now returns the focus.
  4822. 2005-12-23 Jackson Harper <[email protected]>
  4823. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  4824. 2005-12-23 Peter Dennis Bartok <[email protected]>
  4825. * Control.cs: Removed debug code
  4826. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  4827. implicit children
  4828. 2005-12-23 Peter Dennis Bartok <[email protected]>
  4829. * Control.cs: When creating the control, update the Z-order after
  4830. all it's children are created, too. (Fixes nexxia not showing
  4831. picturebox bug)
  4832. 2005-12-23 Peter Dennis Bartok <[email protected]>
  4833. * Control.cs: Do not update the anchoring distances if layout is
  4834. suspended, instead do it once layout is resumed
  4835. 2005-12-22 Peter Dennis Bartok <[email protected]>
  4836. * Control.cs:
  4837. - After many hours of debugging, for both Jackson and
  4838. myself, it turns out that it helps to set the parent of a control
  4839. if you want to actually see it onscreen. In the spirit of that
  4840. discovery, we're now setting the parent of the control and
  4841. it's children when the control's handle is created. This fix
  4842. will make Lutz Roeder's Reflector run happily.
  4843. - now just creating the handle instead of the whole control when
  4844. getting a graphics context for the control.
  4845. 2005-12-22 Peter Dennis Bartok <[email protected]>
  4846. * ScrollableControl.cs: When calculating the canvas, don't consider
  4847. the scrollbar widths. Instead, predict if horizontal scrollbar
  4848. will affect canvas when deciding on vertical display and vice versa.
  4849. 2005-12-22 Peter Dennis Bartok <[email protected]>
  4850. * RichTextBox.cs: Set default RTF font for documents that don't
  4851. have a font table (Fixes #77076)
  4852. 2005-12-22 Jackson Harper <[email protected]>
  4853. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  4854. clipboard. This prevents a NullRef in that case.
  4855. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  4856. clipboard. PRIMARY is for the currently selected text only. (We
  4857. should implement PRIMARY at some point.
  4858. 2005-12-21 Peter Dennis Bartok <[email protected]>
  4859. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  4860. a Unicode function with a structure that was defined in Ansi way.
  4861. This fixes #76942.
  4862. 2005-12-21 Jackson Harper <[email protected]>
  4863. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  4864. on. Because thats how it rolls. (and this avoids it using ambient
  4865. colours).
  4866. * ThemeWin32Classic.cs: Use the proper back color for filling.
  4867. * Menu.cs: Use the system menu bar color for drawing menu
  4868. bars. Using the window back color will bring ambient colours into
  4869. the picture.
  4870. 2005-12-21 Alexander Olk <[email protected]>
  4871. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  4872. Bitmaps were created and not disposed.
  4873. 2005-12-21 Peter Dennis Bartok <[email protected]>
  4874. * Control.cs (CreateControl): Don't do anything if the control is
  4875. already created, otherwise we'd fire the OnCreated event more than
  4876. once
  4877. 2005-12-21 Peter Dennis Bartok <[email protected]>
  4878. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  4879. will always match. Instead return -1. Fixes #76464.
  4880. 2005-12-21 Peter Dennis Bartok <[email protected]>
  4881. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  4882. neither the beginning nor the end of the line (Fixes bug #76479)
  4883. 2005-12-21 Peter Dennis Bartok <[email protected]>
  4884. * Control.cs:
  4885. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  4886. where handle is invalid
  4887. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  4888. instead of slower linear search
  4889. * NativeWindow.cs: Don't remove the window from the hashtable until
  4890. after the driver has destroyed it (since the driver might use
  4891. Control.FromHandle to lookup the control object
  4892. * Hwnd.cs: Added DestroyPending property to track if a window is
  4893. already destroyed as far as the driver is concerned and only hasn't
  4894. yet notified the control
  4895. * XplatUIX11.cs:
  4896. - Activate(): Check if the window is still valid before using the
  4897. handle
  4898. - Implemented DestroyChildWindow() method to mark child windows as
  4899. destroyed when a window is destroyed. This prevents situations
  4900. where we might call an X method based on queued events for a
  4901. window that already has been destroyed but we haven't yet pulled
  4902. the destroy method from the queue.
  4903. - Added a call to the new DestroyChildWindow() method to the drivers
  4904. DestroyWindow code. Also now marking the destroyed window itself
  4905. as pending
  4906. 2005-12-20 Jackson Harper <[email protected]>
  4907. * StatusBar.cs:
  4908. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  4909. anymore. Just do them when needed, also track the rects of panels
  4910. so that we can optimize refreshing more in the future.
  4911. 2005-12-20 Alexander Olk <[email protected]>
  4912. * ColorDialog.cs: Fixed focus drawing in small color controls
  4913. 2005-12-19 Jackson Harper <[email protected]>
  4914. * InternalWindowManager.cs:
  4915. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  4916. moving windows works properly.
  4917. 2005-12-19 Peter Dennis Bartok <[email protected]>
  4918. * Control.cs:
  4919. - Removed call to InitLayout() from SetBoundsCore(); doc says
  4920. it's only called when a control is added to a container
  4921. - Split InitLayout logic, moved to separate UpdateDistances() method
  4922. since we need to perform those calculations more often than just
  4923. when adding the control to a container. (Needed to fix #77022)
  4924. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  4925. - Reduced the OnBindingContextChanged events count, don't send them
  4926. unless the control is created, we still aren't totally matching
  4927. MS, but I can't quite figure out some of their rules
  4928. 2005-12-18 Alexander Olk <[email protected]>
  4929. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  4930. stripes
  4931. 2005-12-18 Alexander Olk <[email protected]>
  4932. * ThemeClearlooks.cs:
  4933. - Updated ProgressBar drawing
  4934. - Corrected drawing of ScrollBars and scroll buttons
  4935. - Some temporary fixes for minor pixel artefacts
  4936. 2005-12-18 Peter Dennis Bartok <[email protected]>
  4937. * Control.cs:
  4938. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  4939. cause events to be sent in the same order as MS does.
  4940. - Added ChangeParent() method to trigger various OnXXXChanged events
  4941. that need to be fired when a parent changes (This is a reworking
  4942. of the patch from r54254, with the X11 errors fixed)
  4943. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  4944. since on MS we get OnLayoutChanged events when calling Clear()
  4945. - Changed Enabled property to consider parent state as well, if a
  4946. parent is not enabled, the control will not be either
  4947. - Changed Parent property to simply call Controls.Add() since that
  4948. now does all the work required, this way we avoid code duplication
  4949. - Threw in a few OnBindingsContextChanged calls to try and match
  4950. when MS sends them. We seem to send a few too many, though.
  4951. - Added call to CreateControl when adding the control to a parent.
  4952. We were never calling CreateControl. Still needs some work, in
  4953. some places we treat HandleCreated and ControlCreated as equal,
  4954. which is wrong
  4955. - Removed obsolete commented out code from UpdateZOrder()
  4956. 2005-12-18 Alexander Olk <[email protected]>
  4957. * ThemeClearlooks.cs: Updated TrackBar drawing.
  4958. 2005-12-17 Alexander Olk <[email protected]>
  4959. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  4960. 2005-12-17 Alexander Olk <[email protected]>
  4961. * FileDialog.cs: Add the Help button and the open readonly
  4962. checkbox only if needed
  4963. 2005-12-16 Jackson Harper <[email protected]>
  4964. * Control.cs: Make sure we have an active menu before trying to
  4965. process commands on it. Prevents menu-less forms from crashing
  4966. when Alt is pressed.
  4967. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  4968. Dieter Bremes.
  4969. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  4970. 2.0 build.
  4971. 2005-12-16 Jackson Harper <[email protected]>
  4972. * InternalWindowManager.cs: Don't translate tool windows screen
  4973. coordinates. This fixes windows 'bouncing' around when being moved.
  4974. 2005-12-15 Peter Dennis Bartok <[email protected]>
  4975. * TextBoxBase.cs:
  4976. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  4977. not quite MS compatible, MS uses that number only for single line
  4978. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  4979. the limit at 2GB)
  4980. - Now enforcing the MaxLength limit when entering characters
  4981. - Added argument to internal Paste() method to track if it's called
  4982. from programatically or via keyboard, since keyboard driven pastes
  4983. need to enforce max-length
  4984. - Added logic to Paste to only paste as many chars as MaxLength
  4985. allows
  4986. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  4987. * TextControl.cs:
  4988. - Added Length property to return number of characters in document
  4989. - Added private CharCount property which only tracks actual chars
  4990. in the document (no linefeeds) and fires event when CharCount
  4991. changes
  4992. - Added tracking of character count to all methods that alter it
  4993. - Added LengthChanged event to allow applications to subscribe
  4994. to any changes to the document
  4995. 2005-12-15 Peter Dennis Bartok <[email protected]>
  4996. * TextBox.cs:
  4997. - Removed local password_char field (moved to TextBoxBase)
  4998. - Now setting the document's password var when password is
  4999. set
  5000. * TextBoxBase.cs:
  5001. - Added password_char field (needed here so MultiLine can
  5002. access it)
  5003. - Added logic to MultiLine property setter to set the document's
  5004. variable when password display is allowed
  5005. - Removed debug code and made some debug code conditional
  5006. * TextControl.cs:
  5007. - Added RecalculatePasswordLine() method to handle special password
  5008. char only lines
  5009. - Added PasswordChar property, also added related tracking vars
  5010. - Draw() method now uses local text var for grabbing text to draw,
  5011. this var is set to line.text unless we're doing password display,
  5012. then it is set to the pre-generated all-password-chars line
  5013. - Added calling RecalculatePasswordLine() method for password lines
  5014. 2005-12-14 Peter Dennis Bartok <[email protected]>
  5015. * Hwnd.cs:
  5016. - Added Reparented property to allow tracking of Window Manager
  5017. reparenting actions (which affect X/Y calculations of toplevel
  5018. windows)
  5019. - Made ToString() print window handles in hex
  5020. * XplatUIX11.cs:
  5021. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  5022. determine if X/Y needs offsetting
  5023. - AddConfigureNotify(): Fixed offset calculations
  5024. - Now adds ReparentNotify messages into the queue
  5025. - Now processes ReparentNotify messages and causes a
  5026. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  5027. is reparented (as most likely it's X/Y coordinates are changed
  5028. due to that)
  5029. 2005-12-14 Jackson Harper <[email protected]>
  5030. * XplatUIX11.cs: Tool windows still need to respek focus.
  5031. 2005-12-14 Peter Dennis Bartok <[email protected]>
  5032. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  5033. have a working release
  5034. 2005-12-13 Jackson Harper <[email protected]>
  5035. * Form.cs: Update styles after setting the border style regardless
  5036. of whether or not the window is using a window manager.
  5037. 2005-12-13 Jackson Harper <[email protected]>
  5038. * Form.cs: We now hook into an internal window manager instead of just an
  5039. MDI subsystem, this is so we can have properly behaving tool windows.
  5040. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  5041. * InternalWindowManager.cs: New internal class that acts as a
  5042. window manager for tool windows and as a base for mdi windows.
  5043. * MdiWindowManager.cs: New class that acts as a window manager for
  5044. mdi windows.
  5045. 2005-12-12 Jackson Harper <[email protected]>
  5046. * Control.cs: Updates so we match behavoir for for implicit
  5047. controls. Fixes explosions in MDI.
  5048. 2005-12-12 Jackson Harper <[email protected]>
  5049. * Control.cs: Implement Invalidate (Region).
  5050. 2005-12-12 Peter Dennis Bartok <[email protected]>
  5051. * Control.cs:
  5052. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  5053. the same events as MS does. MS fires events for each property
  5054. except, for unknown reasons, Cursor, when the control is reparented.
  5055. I can't seem to totally match add/remove since MS also fires some
  5056. VisibleChanged events, which makes no sense. Consolidated the
  5057. parenting code into a separate method so it can be called from
  5058. both Add and Remove. set_Parent no longer needs any special logic
  5059. as it calls the parent's add method which implicitly fires
  5060. all events
  5061. - Removed some obsolete code and debug output
  5062. - Enabled state is inherited from parents, if this is enabled
  5063. 2005-12-08 Peter Dennis Bartok <[email protected]>
  5064. * Form.cs: Removed commented out code
  5065. 2005-12-08 Peter Dennis Bartok <[email protected]>
  5066. * Control.cs:
  5067. - Added internal version of Invoke, with additional argument
  5068. indicating if we're calling it from a Dispose() handler. That
  5069. way we can avoid BeginInvoke throwing an exception if we're
  5070. calling for an already destroyed window.
  5071. - Added a dispose argument to BeginInvokeInternal, and made the
  5072. check if a valid window handle chain exists conditional on
  5073. it not being a dispose call
  5074. - Removed code in DestroyHandle to destroy our children. Since we
  5075. now handle the WM_DESTROY message we will catch all our children
  5076. being destroyed.
  5077. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  5078. * Form.cs:
  5079. - Added a field to track the application context of the form.
  5080. - No need to set closing variable as response to WM_CLOSE, instead
  5081. we destroy the window. We also call PostQuitMessage if the form
  5082. has an application context (which makes it the main app form,
  5083. which, when closed terminates the app)
  5084. * XplatUI.cs:
  5085. - Dropped Exit() method, it's naming was confusing
  5086. - Added PostQuitMessage() which causes GetMessage to return false
  5087. once the message queue is empty
  5088. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  5089. PostQuitMessage()
  5090. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  5091. no longer a valid XplatUI method, but left it in since it's used
  5092. internally. Added empty PostQuitMessage() method.
  5093. * MenuAPI.cs: Replaced call to Exit() with call to
  5094. PostQuitMessage, even though this is probably no longer needed.
  5095. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  5096. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  5097. * Application.cs:
  5098. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  5099. - Removed old debug code that would call XplatUI for exception
  5100. display, enabled standard exception handling (Still not enabled
  5101. though, until NativeWindow's ExternalExceptionHandler define
  5102. is removed
  5103. * NativeWindow.cs:
  5104. - Added internal method to allow control to update NativeWindow
  5105. after a window has been destroyed
  5106. - Added handling of already destroyed windows when calling i
  5107. DestroyWindow
  5108. - Added removal of handle from list on ReleaseHandle
  5109. * XplatUIX11.cs:
  5110. - Dropped GetMessageResult var and related code
  5111. - Added PostQuitState to field to track if PostQuitMessage has been
  5112. called
  5113. - Dropped Exit() method
  5114. - Added PostQuitMessage() method
  5115. - GetMessage now will return false if PostQuitState is set and no
  5116. more messages are in the queue.
  5117. - Expose handler will no longer generate WM_PAINT messages if we are
  5118. in PostQuitState since it's very likely any windows have already
  5119. been destroyed, and since Hwnd won't get updated until we have
  5120. processed the DestroyNotify we'd be causing X errors.
  5121. 2005-12-07 Peter Dennis Bartok <[email protected]>
  5122. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  5123. Thanks to Mike for pointing out the err of my ways.
  5124. 2005-12-07 Peter Dennis Bartok <[email protected]>
  5125. * Control.cs(PreProcessMessage): Moved menu handling back, but
  5126. after all other key handling, to match MS (who handles Menu in
  5127. DefWndProc)
  5128. * Menu.cs (WndProc): Removed my brainfart
  5129. 2005-12-07 Peter Dennis Bartok <[email protected]>
  5130. * Control.cs(PreProcessMessage): Removed special menu handling
  5131. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  5132. 2005-12-07 Mike Kestner <[email protected]>
  5133. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  5134. state according in tracker.
  5135. * Menu.cs : promote tracker field to base class and provide a tracker
  5136. lookup capability. Add/Remove shortcuts dynamically if the top menu
  5137. has a tracker. Unparent items that are removed from the collection.
  5138. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  5139. * Theme*.cs: add always_show_hotkeys field to support configurability
  5140. of mnemonic display. win32 doesn't show mnemonics until Alt is
  5141. pressed.
  5142. 2005-12-07 Jackson Harper <[email protected]>
  5143. * MdiChildContext.cs: Use Control.ResetCursor.
  5144. * Control.cs: ResetCursor needs to set the property so that the
  5145. correct XplatUI call gets made.
  5146. 2005-12-07 Peter Dennis Bartok <[email protected]>
  5147. * Control.cs: More fixes to make our key events match MS. We
  5148. were not setting the modifier state on KeyData, and we were
  5149. not generating any events when Alt was pressed with a key
  5150. since handling of WM_SYSxxx was missing for the OnKey methods.
  5151. 2005-12-07 Jackson Harper <[email protected]>
  5152. * MdiChildContext.cs: reenable the sizing code.
  5153. - When the mouse leaves a window reset its cursor.
  5154. 2005-12-07 Alexander Olk <[email protected]>
  5155. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  5156. 2005-12-07 Peter Dennis Bartok <[email protected]>
  5157. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  5158. widths of Fixed3D borders
  5159. 2005-12-07 Jackson Harper <[email protected]>
  5160. * MdiClient.cs: Fix warnings. Earn Mike's love.
  5161. 2005-12-07 Alexander Olk <[email protected]>
  5162. * ThemeClearlooks.cs:
  5163. - Adjusted mouse over button color
  5164. - Added first parts of CheckBox drawing
  5165. - Added correct color for selected text background
  5166. - Fixed ComboBox drawing
  5167. - Added CPDrawBorder3D and CPDrawBorder
  5168. 2005-12-06 Peter Dennis Bartok <[email protected]>
  5169. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  5170. 2005-12-06 Peter Dennis Bartok <[email protected]>
  5171. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  5172. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  5173. alert users via sound. We could add an enum arg with different
  5174. types of alerts in the future
  5175. 2005-12-06 Peter Dennis Bartok <[email protected]>
  5176. * Control.cs: Fix behaviour problems pointed out by Mike
  5177. 2005-12-05 Mike Kestner <[email protected]>
  5178. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  5179. prop setters. Calls parent.Refresh for now, but could be maybe be
  5180. optimized with an internal method on StatusBar at some point.
  5181. [Fixes #76513]
  5182. 2005-12-05 Peter Dennis Bartok <[email protected]>
  5183. * RichTextBox.cs: Implemented get_SelectionColor
  5184. 2005-12-05 Alexander Olk <[email protected]>
  5185. * ThemeClearlooks.cs:
  5186. - Removed dead code
  5187. - Draw black button border only if button is Form.AcceptButton
  5188. - Draw correct button color for pressed RadioButton if the mouse
  5189. has entered the button
  5190. - Updated ProgressBar drawing!
  5191. - Updated CPDrawSizeGrip drawing
  5192. - Updated StatusBarPanel drawing
  5193. 2005-12-05 Mike Kestner <[email protected]>
  5194. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  5195. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  5196. 2005-12-04 Alexander Olk <[email protected]>
  5197. * ThemeClearlooks.cs: Initial check-in, activate with
  5198. export MONO_THEME=clearlooks
  5199. * ThemeEngine.cs: Added ThemeClearlooks
  5200. 2005-12-03 Mike Kestner <[email protected]>
  5201. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  5202. [Fixes #76897]
  5203. 2005-12-02 Jackson Harper <[email protected]>
  5204. * Form.cs: If the child form has no menu the default main menu is
  5205. used as the active menu.
  5206. 2005-12-02 Peter Dennis Bartok <[email protected]>
  5207. * ListBox.cs: Check if any items exist before trying to resolve
  5208. coordinates into items
  5209. 2005-12-02 Peter Dennis Bartok <[email protected]>
  5210. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  5211. as the second color for the background hatch
  5212. 2005-12-02 Peter Dennis Bartok <[email protected]>
  5213. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  5214. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  5215. sure that what we pass to FormatText is always 1-based. Fixes #76885
  5216. 2005-11-29 Miguel de Icaza <[email protected]>
  5217. * NumericUpDown.cs (EndInit): When we are done initializing,
  5218. reflect any updates on the UI.
  5219. 2005-12-02 Jackson Harper <[email protected]>
  5220. * ImplicitHScrollBar.cs:
  5221. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  5222. their container controls.
  5223. * TreeView.cs: Use the new implicit scrollbars.
  5224. 2005-12-02 Jackson Harper <[email protected]>
  5225. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  5226. can play with it.
  5227. * TreeNodeCollection.cs: If we remove the topnode we need to
  5228. update topnode to the next node in line.
  5229. - When clearing nodes go through the same process as removing
  5230. them, so they get depareneted and checked if they are top node.
  5231. 2005-12-01 Jackson Harper <[email protected]>
  5232. * TreeView.cs: When imagelists are used the image area is
  5233. selectable as well as the text.
  5234. - If there are no selected nodes select the first one.
  5235. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  5236. so don't do it more then we need to.
  5237. 2005-12-01 Jackson Harper <[email protected]>
  5238. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  5239. that arrows can be scaled.
  5240. 2005-12-01 Jackson Harper <[email protected]>
  5241. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  5242. fail. Patch by Dieter Bremes
  5243. 2005-11-30 Jackson Harper <[email protected]>
  5244. * Form.cs: Property is 2.0 only
  5245. * PrintDialog.cs: Signature fix.
  5246. 2005-11-30 Peter Dennis Bartok <[email protected]>
  5247. * TextControl.cs:
  5248. - No longer artificially moves text 2 pixels down (now that we have
  5249. borders this is no longer needed)
  5250. - Added calcs for left, hanging and right indent
  5251. 2005-11-23 Mike Kestner <[email protected]>
  5252. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  5253. 2005-11-30 Jackson Harper <[email protected]>
  5254. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  5255. get cloned as part of CloneMenu ().
  5256. * Menu.cs: Make sure the parent of the items get set correctly
  5257. when they are added. And the owners are notified of the changes.
  5258. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  5259. we can change the menu being displayed/handled by the form without
  5260. changing the menu assosciated with the form.
  5261. - Don't let Mdi children draw/handle menus.
  5262. 2005-11-30 Jackson Harper <[email protected]>
  5263. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  5264. a MenuChanged event. Just to make the API a little more
  5265. consistent.
  5266. * MainMenu.cs:
  5267. * MenuItem.cs: Use the new OnMenuChanged
  5268. * MdiChildContext.cs: Handle menu merging.
  5269. * Form.cs: Implement MergedMenu.
  5270. 2005-11-30 Jackson Harper <[email protected]>
  5271. * Menu.cs: We were misusing Add. Add goes behind the specified
  5272. index according to the docs, and does not replace the specified
  5273. index. So I added an Insert method.
  5274. 2005-11-30 Peter Dennis Bartok <[email protected]>
  5275. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  5276. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  5277. is for Jackson
  5278. * RichTextBox.cs: Added calls to base for DnD events
  5279. 2005-11-28 Peter Dennis Bartok <[email protected]>
  5280. * TextControl.cs:
  5281. - Fixed drag-selection related crash; style fixes
  5282. - Implemented undo class
  5283. o Implemented method to capture document state for specified
  5284. range in document tree
  5285. o Implemented method to restore captured document state
  5286. o Implemented cursor tracking
  5287. o Implemented basic undo stack
  5288. - Added undo cursor tracking to methods altering cursor location
  5289. - Added undo tracking to selection deletion (still missing
  5290. other text-altering hookups)
  5291. * RichTextBox.cs:
  5292. - Added SelectionLength property
  5293. - Implemented CanPaste()
  5294. - Implemented Paste()
  5295. - Added missing protected methods
  5296. - Fixed RTF->Document conversion; now uses font index 0 and color
  5297. index 0 as the default font for the parsed text
  5298. - Fixed RTF<->Document font size translation
  5299. - Fixed RTF generation, now properly handles cross-tag boundaries
  5300. for single line selection
  5301. - No longer always appends blank line to generated RTF
  5302. - Removed TODOs
  5303. - Added missing attributes
  5304. - Hooked up undo-related methods
  5305. * TextBoxBase.cs:
  5306. - Implemented Copy()
  5307. - Implemented Paste()
  5308. - Implemented Cut()
  5309. - Fixed caret mis-behaviour on backspace across line-boundaries
  5310. 2005-11-29 Jackson Harper <[email protected]>
  5311. * MdiClient.cs: Add a method for activating mdi children. Very
  5312. basic right now. I imagine someday it might need more girth.
  5313. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  5314. children windows names are added to the menu item.
  5315. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  5316. mdilist. This happens regardless of whether or not there are any
  5317. mdi windows to see in the list, and according to my tests happens
  5318. before the items are even added. Also happens if there isn't even
  5319. an mdi client to get windows from.
  5320. 2005-11-29 Alexander Olk <[email protected]>
  5321. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  5322. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  5323. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  5324. * DataGridTableStyle.cs:
  5325. - Create always the styles for the missing columns even if they are
  5326. provided by the user (not default table style)
  5327. * DataGrid.cs:
  5328. - Fixes bug 76770
  5329. - Fixes SetDataBinding (always re-attach source)
  5330. - Fixes SetNewDataSource (only clear styles if they are not for
  5331. this source)
  5332. - Expands OnTableStylesCollectionChanged to handle style refresh
  5333. and remove properly
  5334. 2005-11-29 Jackson Harper <[email protected]>
  5335. * FileDialog.cs: Implement missing bits, remove some dead
  5336. code.
  5337. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  5338. creation of the panel so that the options set on the dialog are
  5339. seen when the panel is created.
  5340. * TreeView.cs: raise a click when items are clicked.
  5341. 2005-11-29 Jackson Harper <[email protected]>
  5342. * MdiClient.cs: Pass some signature methods through to base.
  5343. 2005-11-28 Jackson Harper <[email protected]>
  5344. * ListView.cs: Raise the click event when items are clicked.
  5345. 2005-11-28 Jackson Harper <[email protected]>
  5346. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  5347. a nullref.
  5348. 2005-11-27 Alexander Olk <[email protected]>
  5349. * ThemeNice.cs: - Removed 1 pixel bitmaps
  5350. - Use SmoothingMode.AntiAlias where it makes sense
  5351. (ScrollButton arrow for example)
  5352. - Enhanced Button focus drawing
  5353. - Fixed ComboBox drawing (no artefacts anymore, focus
  5354. rectangle is back again, reduced size of ComboButton, etc.)
  5355. - Fixed RadioButton focus drawing for Appearence.Button
  5356. - Slight ScrollButton redesign
  5357. - Some LinearGradientBrush size fixes
  5358. - GroupBoxes have now rounded edges
  5359. - Fixed StatusBar drawing
  5360. 2005-11-25 Alexander Olk <[email protected]>
  5361. * ThemeNice.cs: - Remove dead code
  5362. - use correct background colors for menus, etc.
  5363. - Fake pixel drawing with 1 pixel bitmaps
  5364. 2005-11-24 Jackson Harper <[email protected]>
  5365. * MdiClient.cs: Size the scrollbars when resizing the window.
  5366. - Resize the maximized windows when the client is resized
  5367. * Form.cs: Make the child context available
  5368. 2005-11-23 Jackson Harper <[email protected]>
  5369. * MdiChildContext.cs: Don't size windows if they are maximized.
  5370. 2005-11-23 Mike Kestner <[email protected]>
  5371. * ContextMenu.cs: use MenuTracker.
  5372. * Control.cs: remove menu handle usage.
  5373. * Form.cs: remove menu handle usage.
  5374. * Hwnd.cs: remove menu handle usage.
  5375. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  5376. motion and clicks to the new Tracker handlers.
  5377. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  5378. and handle usage.
  5379. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  5380. Killed the MENU and MENUITEM data types and associated collections
  5381. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  5382. MenuTracker class that exposes the leftovers from the old MenuAPI
  5383. static methods. Restructured Capture handling so that only one grab is
  5384. done for the entire menu hierarchy instead of handing off grabs to
  5385. submenus. Tracker now has an invisible control to Capture when active.
  5386. * MenuItem.cs: add sizing accessors, kill Create
  5387. and handle usage.
  5388. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  5389. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  5390. MENU(ITEM). remove menu handle usage, use Menu directly.
  5391. * XplatUIDriver.cs: remove menu handle usage.
  5392. * XplatUIOSX.cs: remove menu handle usage.
  5393. * XplatUIWin32.cs: remove menu handle usage.
  5394. * XplatUIX11.cs: remove menu handle usage.
  5395. 2005-11-22 Jackson Harper <[email protected]>
  5396. * Hwnd.cs: Don't compute the menu size for
  5397. DefaultClientRectangle.
  5398. - Reenable menu sizes being computed for GetClienRectangle.
  5399. * Form.cs: Remove comment of trechery
  5400. 2005-11-22 Jackson Harper <[email protected]>
  5401. * Hwnd.cs: The adjustments for the menu bar are made when it is
  5402. attached to the form.
  5403. 2005-11-19 Jackson Harper <[email protected]>
  5404. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  5405. (just like on windows).
  5406. 2005-11-19 Jackson Harper <[email protected]>
  5407. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  5408. use real buttons anymore because they are in non client area. The
  5409. one TODO here is that I need to somehow invalidate a section of
  5410. the non client area.
  5411. 2005-11-18 Jackson Harper <[email protected]>
  5412. * Control.cs: Put the enum check back in now that MDI doesnt have
  5413. to use this to set border styles.
  5414. * Form.cs: Only set mdi child windows borders if the handle has
  5415. been created.
  5416. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  5417. this directly on to the driver.
  5418. - Get the move start position before adjusting for the titlebar
  5419. height, this fixes the windows "skipping" when they are first
  5420. moved.
  5421. 2005-11-18 Jackson Harper <[email protected]>
  5422. * XplatUIX11.cs: Just compute the mdi borders separately as they
  5423. don't totally match up with normal form borders.
  5424. 2005-11-18 Jackson Harper <[email protected]>
  5425. * Control.cs: Set WS_ styles for borders, so that the driver does
  5426. not have to retrieve the control instance to figure out what kind
  5427. of borders it should have.
  5428. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  5429. driver can know its an mdi child easily.
  5430. * XplatUIX11.cs: Get the border styles and whether the window is
  5431. MDI from the Styles and ExStyles params instead of having to get a
  5432. control. This prevents a chicken and egg problem.
  5433. 2005-11-18 Jackson Harper <[email protected]>
  5434. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  5435. 2005-11-18 Jackson Harper <[email protected]>
  5436. * MdiClient.cs: Calculate when to add and remove scrollbars
  5437. correctly.
  5438. * MdiChildContext.cs: Adjust the y position to take the titlebar
  5439. into account.
  5440. - No height for FormBorderStyle.None
  5441. 2005-11-18 Jackson Harper <[email protected]>
  5442. * Control.cs: Allow non enum values to be used for
  5443. InternalBorderStyle. MDI does this to set a special border style.
  5444. - New utility methods for converting points to/from client coords
  5445. - Add the newly created control to the Controls collection before
  5446. updating its style. This way UpdateStyle can walk the control
  5447. heirarchy to find the control if needed.
  5448. so I don't need to create a new Point object all the time.
  5449. * Form.cs: Let MDI windows handle their border styles.
  5450. - Set styles on MDI windows so the correct title style is derived.
  5451. * MdiChildContext.cs: Move all the painting and window handling
  5452. into the non client area.
  5453. - Use correct sizing and put correct buttons on frames based on
  5454. the FormBorderStyle.
  5455. - Notify the mdi client about scrolling
  5456. - Need to handle the buttons ourselves now, because they are all
  5457. in non client areas and we can't add controls there.
  5458. * MdiClient.cs: Halfway to scrolling, this implementation is
  5459. somewhat broken though, we need to check to make sure other
  5460. windows aren't causing scrolling before removing the bars. Also
  5461. the bars need to be drawn on top, maybe I can switch implicit
  5462. controls to be on top.
  5463. * Hwnd.cs: caption_height and tool_caption_height are now
  5464. properties of an hwnd, this way they can be set by the driver
  5465. based on the type of window they are. In X11 the window manager
  5466. handles the decorations so caption_height is zero unless its an
  5467. MDI window.
  5468. - Add 3 pixel borders for MDI windows (0xFFFF).
  5469. - Get rid of some code duplication, have DefaultClientRectanle
  5470. just call GetClientRectangle.
  5471. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  5472. Hwnd now.
  5473. - Set border styles differently for mdi windows.
  5474. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  5475. Hwnd now.
  5476. 2005-11-15 Mike Kestner <[email protected]>
  5477. * Menu.cs: when adding an item to the collection, if item is already
  5478. parented, remove it from the parent.
  5479. 2005-11-13 Alexander Olk <[email protected]>
  5480. * X11DesktopColors.cs: Added KDE support
  5481. 2005-11-11 Peter Dennis Bartok <[email protected]>
  5482. * XplatUIWin32.cs:
  5483. - Clipboard methods now can translate Rtf format
  5484. - No longer removes clipboard contents whenever a new format is added
  5485. to allow placing multiple formats on the clipboard
  5486. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  5487. will place all formats contained in it onto the clipboard. Also
  5488. now cleans the clipboard before placing a new object onto it
  5489. * RichTextBox.cs:
  5490. - Implemented set_Rtf
  5491. - Implemented set_SelectedRtf
  5492. - Created InsertRTFFromStream() method to allow single code base
  5493. for all properties and methods that insert RTF into document
  5494. - Removed debug output
  5495. * TextControl.cs:
  5496. - Fixed Delete(int) to fix up line numbers
  5497. - Fixed ReplaceSelection to combine start and end line
  5498. - Fixed serious DeleteChars bug that would leave the document tree
  5499. broken
  5500. - Improved DumpTree with several logic checks to detect broken
  5501. document trees
  5502. - Removed debug lines
  5503. - Fixed Caret.WordForward/WordBack moving code, now always also
  5504. updates caret.tag (fixes crash when word-selecting across tag
  5505. boundaries via keyboard)
  5506. - Added Insert() method for inserting multiline text into documents
  5507. - Fixed DeleteChars() calculation errors that would cause a broken
  5508. tag chain with multiple tag lines
  5509. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  5510. - Split() no longer moves caret if split is at caret location
  5511. - ReplaceSelection() now updates the cursor and re-displays it
  5512. - ReplaceSelection() now uses new Insert() method to avoid code
  5513. duplication
  5514. - FormatText() can now handle formatting partial lines
  5515. * TextBoxBase.cs:
  5516. - Append now uses new TextControl.Insert() method (this avoids
  5517. duplicate code)
  5518. - Implemented Ctrl-X (Cut) (
  5519. - Implemented Ctrl-C (Copy)
  5520. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  5521. regeneration when pasting text; roundtripping Copy&Paste within
  5522. edit control still fails due to some calculation bugs in GenerateRTF)
  5523. - The Delete key will now remove the current selection if it is visible
  5524. * TextBox.cs: Removed debug lines
  5525. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  5526. driver to be initialized and can't therefore be done via a static ctor)
  5527. 2005-11-10 Peter Dennis Bartok <[email protected]>
  5528. * TextControl.cs: Added backend code for finding char arrays and strings
  5529. * TextBoxBase.cs:
  5530. - Added mouse wheel scroll support
  5531. - Added support for VScroll and HScroll events
  5532. * RichTextBox.cs:
  5533. - Implemented all seven Find() variants
  5534. - Implemented GetCharFromPosition()
  5535. - Implemented GetCharIndexFromPosition()
  5536. - Implemented GetLineFromIndex()
  5537. - Implemented GetPositionFromCharIndex();
  5538. - Implemented SaveFile for PlainText and UnicodeText
  5539. - Fixed set_Font, now setting a new font applies that font to
  5540. the whole document
  5541. - Implemented generic Document to RTF converter
  5542. - Implemented SaveFile for RichText format (still missing unicode
  5543. conversion for non-ansi chars)
  5544. - Implemented get_Rtf
  5545. - Implemented get_SelectedRtf
  5546. 2005-11-09 Peter Dennis Bartok <[email protected]>
  5547. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  5548. to allow any captures to be released before triggering OnClick. This
  5549. way a click handler may capture the mouse without interference.
  5550. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  5551. This way we send them even though X may not allow a grab (if the window
  5552. isn't visible, for example)
  5553. 2005-11-08 Pedro Martinez Julia <[email protected]>
  5554. * DataGridViewRowEventArgs.cs: DataGridView implementation
  5555. * DataGridViewElement.cs: DataGridView implementation
  5556. * DataGridViewComboBoxCell.cs: DataGridView implementation
  5557. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  5558. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  5559. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  5560. * ImageLayout.cs: DataGridView implementation
  5561. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  5562. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  5563. * DataGridViewSelectionMode.cs: DataGridView implementation
  5564. * IDataGridViewEditingControl.cs: DataGridView implementation
  5565. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  5566. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  5567. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  5568. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  5569. * DataGridViewColumnSortMode.cs: DataGridView implementation
  5570. * DataGridView.cs: DataGridView implementation
  5571. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  5572. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  5573. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  5574. * Padding.cs: DataGridView implementation
  5575. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  5576. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  5577. * DataGridViewRowEventHandler.cs: DataGridView implementation
  5578. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  5579. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  5580. * DataGridViewButtonCell.cs: DataGridView implementation
  5581. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  5582. * DataGridViewEditMode.cs: DataGridView implementation
  5583. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  5584. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  5585. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  5586. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  5587. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  5588. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  5589. * DataGridViewCellEventHandler.cs: DataGridView implementation
  5590. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  5591. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  5592. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  5593. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  5594. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  5595. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  5596. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  5597. * QuestionEventArgs.cs: DataGridView implementation
  5598. * IDataGridViewEditingCell.cs: DataGridView implementation
  5599. * DataGridViewTriState.cs: DataGridView implementation
  5600. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  5601. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  5602. * DataGridViewColumnCollection.cs: DataGridView implementation
  5603. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  5604. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  5605. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  5606. * DataGridViewColumn.cs: DataGridView implementation
  5607. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  5608. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  5609. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  5610. * DataGridViewRow.cs: DataGridView implementation
  5611. * DataGridViewImageCellLayout.cs: DataGridView implementation
  5612. * DataGridViewImageCell.cs: DataGridView implementation
  5613. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  5614. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  5615. * DataGridViewHeaderCell.cs: DataGridView implementation
  5616. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  5617. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  5618. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  5619. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  5620. * QuestionEventHandler.cs: DataGridView implementation
  5621. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  5622. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  5623. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  5624. * DataGridViewCell.cs: DataGridView implementation
  5625. * DataGridViewCellEventArgs.cs: DataGridView implementation
  5626. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  5627. * DataGridViewCellStyle.cs: DataGridView implementation
  5628. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  5629. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  5630. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  5631. * TextFormatFlags.cs: DataGridView implementation
  5632. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  5633. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  5634. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  5635. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  5636. * DataGridViewButtonColumn.cs: DataGridView implementation
  5637. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  5638. * HandledMouseEventArgs.cs: DataGridView implementation
  5639. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  5640. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  5641. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  5642. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  5643. * DataGridViewRowCollection.cs: DataGridView implementation
  5644. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  5645. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  5646. * DataGridViewHitTestType.cs: DataGridView implementation
  5647. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  5648. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  5649. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  5650. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  5651. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  5652. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  5653. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  5654. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  5655. * DataGridViewContentAlignment.cs: DataGridView implementation
  5656. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  5657. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  5658. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  5659. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  5660. * DataGridViewPaintParts.cs: DataGridView implementation
  5661. * DataGridViewCellCollection.cs: DataGridView implementation
  5662. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  5663. * DataGridViewImageColumn.cs: DataGridView implementation
  5664. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  5665. * DataGridViewElementStates.cs: DataGridView implementation
  5666. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  5667. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  5668. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  5669. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  5670. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  5671. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  5672. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  5673. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  5674. * DataGridViewTextBoxCell.cs: DataGridView implementation
  5675. * DataGridViewBand.cs: DataGridView implementation
  5676. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  5677. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  5678. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  5679. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  5680. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  5681. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  5682. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  5683. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  5684. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  5685. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  5686. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  5687. 2005-11-08 Peter Dennis Bartok <[email protected]>
  5688. * ThemeWin32Classic.cs:
  5689. - Draw the outside focus rectangle around buttons
  5690. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  5691. doesn't use end caps for every dash of a line anymore. This
  5692. workaround ignores the forecolor.
  5693. 2005-11-08 Kornél Pál <[email protected]>
  5694. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  5695. endian safe.
  5696. 2005-11-07 Jackson Harper <[email protected]>
  5697. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  5698. 2005-11-07 Jackson Harper <[email protected]>
  5699. * ScrollableControl.cs: Calculate the maximum and change vars
  5700. (more) correctly so that scrollbars appear as a sensible size.
  5701. 2005-11-04 Jackson Harper <[email protected]>
  5702. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  5703. collection.
  5704. * TreeView.cs: When the tree is sorted null out the top_node so
  5705. that it is recalculated.
  5706. - Use dotted lines instead of dashed lines to match MS better.
  5707. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  5708. * ListView.cs:
  5709. - Implements key search for items. Useful when browsing files with FileDialog
  5710. - When changing view mode or when clear the items reset scrollbar positions
  5711. 2005-11-04 Jackson Harper <[email protected]>
  5712. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  5713. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  5714. as to what the method may do as there is no real way of creating a
  5715. derived CurrencyManager and calling the method.
  5716. 2005-11-03 Jackson Harper <[email protected]>
  5717. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  5718. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  5719. method which seems to just be used internally to refresh the tabs.
  5720. 2005-11-03 Jackson Harper <[email protected]>
  5721. * TabControl.cs: Implement the remove method. Fix some broken
  5722. comments.
  5723. 2005-11-03 Peter Dennis Bartok <[email protected]>
  5724. * DateTimePicker.cs:
  5725. - Added missing DateTimePickerAccessibleObject class
  5726. - Added missing events
  5727. - Added OnFontChanged method
  5728. * Form.cs: Added missing attributes
  5729. * TreeView.cs: Added missing attributes
  5730. 2005-11-03 Peter Dennis Bartok <[email protected]>
  5731. * GridItemCollection.cs: Fix signatures
  5732. 2005-11-03 Peter Dennis Bartok <[email protected]>
  5733. * XplatUI.cs: Updated build rev/date
  5734. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  5735. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  5736. * Application.cs: Trigger context-specific ExitThread events
  5737. 2005-11-03 Jackson Harper <[email protected]>
  5738. * Menu.cs:
  5739. * MainMenu.cs:
  5740. * GridTableStylesCollection.cs:
  5741. * Timer.cs:
  5742. * TabPage.cs:
  5743. * HelpProvider.cs:
  5744. * StatusBar.cs:
  5745. * MonthCalendar.cs: Signature fixes
  5746. 2005-11-03 Jackson Harper <[email protected]>
  5747. * TreeNodeCollection.cs: Remove should not be virtual.
  5748. * TreeView.cs: Implement the last of the missing methods.
  5749. 2005-11-03 Jackson Harper <[email protected]>
  5750. * TreeNodeConverter.cs: Implement to get off my class-status back.
  5751. 2005-11-03 Jackson Harper <[email protected]>
  5752. * TreeView.cs: Hookup the bits for drag and drop.
  5753. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  5754. that nodes can be moved from tree to tree easily this just causes
  5755. all sorts of problems.
  5756. * TreeNodeCollection: Don't need to give treenodes an index and
  5757. treeview anymore when they are added, these are computed on the
  5758. fly. Also make sure to remove a node before its added.
  5759. 2005-11-03 Peter Dennis Bartok <[email protected]>
  5760. * TextControl.cs:
  5761. - Added CaretSelection enum
  5762. - Added comparison methods to Marker struct, makes selection code
  5763. more readable
  5764. - Added SelectionStart and SelectionEnd as 'moveable' location for
  5765. the CaretDirection enum and handler
  5766. - Added selection_prev variable to track optimized invalidation for
  5767. word and line selection
  5768. - Added SelectionVisible property (returns true if there is a valid
  5769. selection)
  5770. - Switched CaretHasFocus to only display the caret if there is no
  5771. visible selection
  5772. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  5773. using the direct character index; should be much faster
  5774. - Added various conditional debug statements
  5775. - Fixed invalidation calculation for selection ranges
  5776. - Added ExpandSelection() method to support word and line selection
  5777. - Switched SetSelectionToCaret to use new Marker compare overloads
  5778. - Added central IsWordSeparator() method to determine word
  5779. separators/whitespace and FindWordSeparator() to streamline common
  5780. usage of IsWordSeparator()
  5781. * TextBoxBase.cs:
  5782. - Removed unneeded grabbed variable, it was just mirroring
  5783. Control.Capture
  5784. - No longer firing OnTextChanged event when Text setter is called,
  5785. since the base will fire the event for us
  5786. - Added handling of Ctrl-Up/Down selection
  5787. - Added handling of Shift-Cursorkey selection
  5788. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  5789. words
  5790. - Added handling of Shift and Ctrl-Shift-Home/End selection
  5791. - Removed some debug output
  5792. - Added handling for single/double/tripple-click to place caret/
  5793. select word/select line respectively (Fixes bug #76031)
  5794. - Added support for drag expansion of word/line selection
  5795. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  5796. current selection
  5797. 2005-11-02 Jackson Harper <[email protected]>
  5798. * X11Dnd.cs: If the drag is going to and from a MWF window just
  5799. copy the data instead of sending it out through the X Selection
  5800. mechanism.
  5801. 2005-11-02 Jackson Harper <[email protected]>
  5802. * X11Dnd.cs:
  5803. * XplatUIX11.cs: When in a drag we don't want motion notify
  5804. messages to get passed on to the other controls. This prevents
  5805. mouse move messages from showing up in the drag source.
  5806. 2005-11-02 Jackson Harper <[email protected]>
  5807. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  5808. the correct button is release to end a drag.
  5809. * XplatUIX11.cs: Make the button state internal so the drag system
  5810. can access it. Dragging needs to know about all button releases,
  5811. not just left button.
  5812. 2005-11-02 Miguel de Icaza <[email protected]>
  5813. * Form.cs (Icon): If the icon is null, reset the icon to the
  5814. default value.
  5815. * Cursor.cs: When writing the AND-mask bitmap do not include the
  5816. number of colors, but hardcode those to two (black and white),
  5817. fixes the loading of color cursors (Paint Dot Net).
  5818. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  5819. turn off autoscaling.
  5820. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  5821. 2005-11-02 Jackson Harper <[email protected]>
  5822. * X11Dnd.cs: Make sure to send a status message if the pointer
  5823. enters a control that can not accept a drop, otherwise the cursor
  5824. isn't updated correctly. Also tried to compress the lines of code
  5825. a bit.
  5826. 2005-11-02 Jackson Harper <[email protected]>
  5827. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  5828. set actions correctly. This isn't perfect as XDND and win32 have
  5829. some differences on how you allow actions. I'll clear this up by
  5830. adding a path for drag from MWF to MWF windows.
  5831. * XplatUIX11.cs: Hook into the dnd system.
  5832. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  5833. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  5834. previously shown but they are no longer need it. Very obvious when
  5835. browsing files with FileDialog.
  5836. 2005-11-01 Peter Dennis Bartok <[email protected]>
  5837. * Control.cs: We always need to call OnPaintBackground. We pretty much
  5838. ignore AllPaintingInWmPaint and always do the painting there, whether
  5839. it's set or not, since we always ignore the WM_ERASEBKGND message
  5840. (which we don't generate on X11). This fixes #76616.
  5841. * Panel.cs: Removed unneeded background painting. This happens properly
  5842. in Control.cs already
  5843. 2005-10-31 Mike Kestner <[email protected]>
  5844. * Menu.cs: Add items to collection before setting their index.
  5845. * MenuItem.cs : add range checking with ArgumentException like MS.
  5846. [Fixes #76510]
  5847. 2005-10-31 Jackson Harper <[email protected]>
  5848. * ListBox.cs: Invalidate if the area is visible at all not just
  5849. contained in the visible rect. Fixes unselection of semi visible
  5850. items.
  5851. 2005-10-31 Jackson Harper <[email protected]>
  5852. * Control.cs: Consistently name the dnd methods. Make them
  5853. internal so we can override them to match some MS behavoir
  5854. internally.
  5855. * Win32DnD.cs: Use the new consistent names.
  5856. 2005-10-31 Jackson Harper <[email protected]>
  5857. * TreeView.cs: Don't draw the selected node when we lose focus.
  5858. 2005-10-31 Jackson Harper <[email protected]>
  5859. * X11Dnd.cs: We still need to reset the state even though a full
  5860. reset isn't being done, otherwise status's still get sent all over
  5861. the place.
  5862. 2005-10-31 Jackson Harper <[email protected]>
  5863. * Control.cs: Make the dnd_aware flag internal so the dnd
  5864. subsystem can check it. Catch exceptions thrown in dnd handlers to
  5865. match MS behavoir.
  5866. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  5867. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  5868. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  5869. flags to reduce the number of dnd enters/status's sent.
  5870. 2005-10-31 Jackson Harper <[email protected]>
  5871. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  5872. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  5873. * PictureBox.cs: Fixes 76512
  5874. 2005-10-28 Jackson Harper <[email protected]>
  5875. * X11Dnd.cs: Early implementation to support winforms being a drag
  5876. source for data on X11. Also restructured the converters so they
  5877. can go both ways now.
  5878. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  5879. 2005-10-27 Peter Dennis Bartok <[email protected]>
  5880. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  5881. clipboard requests
  5882. 2005-10-27 Jackson Harper <[email protected]>
  5883. * TreeNode.cs: Implement serialization so my DnD examples will work.
  5884. 2005-10-24 Kornél Pál <[email protected]>
  5885. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  5886. TreeView.cs: Don't dispose objects that are not owned.
  5887. 2005-10-24 Peter Dennis Bartok <[email protected]>
  5888. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  5889. should retrieve the current cursor and report that, but XplatUI
  5890. doesn't (yet) have an interface for that (and I'm not sure I even
  5891. can, on X11)
  5892. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  5893. until any message loop processing is done (and the WM_SETCURSOR
  5894. replaces the cursor to the proper one)
  5895. * XplatUIX11.cs:
  5896. - Fixed override behaviour, we can't set the cursor globally on X11,
  5897. just for our windows.
  5898. - Invalidating the System.Drawing X11 display handle when we are
  5899. shutting down
  5900. * Control.cs: Fix to make csc happy
  5901. 2005-10-23 Peter Dennis Bartok <[email protected]>
  5902. * TextBoxBase.cs:
  5903. - get_Text: Add last line (without trailing newline) to returned
  5904. value (Fixes 76212)
  5905. - get_TextLength: Count last line in returned length
  5906. - ToString: Call Text property instead of duplicating code
  5907. 2005-10-23 Kornél Pál <[email protected]>
  5908. * ImageList.cs: Dispose ImageAttributes objects.
  5909. 2005-10-22 Kornél Pál <[email protected]>
  5910. * ImageList.cs: Use attribute constructors with less arguments where
  5911. possible.
  5912. 2005-10-22 Kornél Pál <[email protected]>
  5913. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  5914. Use typeof instead of strings when assembly is referenced. Added
  5915. some more comments.
  5916. 2005-10-21 Jackson Harper <[email protected]>
  5917. * ListView.cs: Raise a double click event. Also tried to somewhat
  5918. fix when the selectedindexchanged event is raised. Its still
  5919. broken though.
  5920. 2005-10-21 Jackson Harper <[email protected]>
  5921. * TreeView.cs: New method to invalidate the plus minus area of a
  5922. node without invalidating the whole node (maybe this can be used
  5923. in some more places).
  5924. * TreeNodeCollection.cs: When adding to an empty node we need to
  5925. invalidate its plus minus area so the little block shows up.
  5926. 2005-10-21 Jackson Harper <[email protected]>
  5927. * TreeView.cs: Make sure that when we invalidate a node the bounds
  5928. are big enough to cover the selected box and the focus
  5929. rectangle. Use a different colour for the lines connecting nodes
  5930. so they show up with all themes.
  5931. 2005-10-21 Peter Dennis Bartok <[email protected]>
  5932. * NativeWindow.cs: Don't call anything that could call into the driver,
  5933. we might be on a different thread.
  5934. 2005-10-21 Peter Dennis Bartok <[email protected]>
  5935. * Control.cs(Dispose): Since Dispose might run on a different thread,
  5936. make sure that we call methods that could call into the driver via
  5937. invoke, to avoid thread issues
  5938. 2005-10-21 Peter Dennis Bartok <[email protected]>
  5939. * XplatUI.cs: Removed finalizer
  5940. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  5941. not allowing to be called on the finalizer thread.
  5942. 2005-10-21 Kornél Pál <[email protected]>
  5943. * ImageList.cs:
  5944. - Reverted r51889 and r51891.
  5945. - Added ImageListItem class that stores unmodified image items and image
  5946. properties required to create list images until handle is created.
  5947. - Added AddItem and moved image creation logic to AddItemInternal.
  5948. - Added CreateHandle method that creates images based on unmodified items.
  5949. - Added DestroyHandle that changes state to store unmodified items.
  5950. - Add and AddStrip methods no more create handle.
  5951. - ReduceColorDepth has no return value.
  5952. - Dispose destroys handle.
  5953. - Modified other methods to reflect the above changes.
  5954. - Implemented key support.
  5955. - Added profile 2.0 members and attributes.
  5956. - Added private Reset and ShouldSerialize methods that provide the same
  5957. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  5958. them as they are private.
  5959. - Added some more comments about implementation details.
  5960. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  5961. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  5962. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  5963. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  5964. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  5965. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  5966. * DataGridColumnStyle.cs: Remove debug message
  5967. 2005-10-20 Jackson Harper <[email protected]>
  5968. * TreeView.cs: We can always get input keys regardless of whether
  5969. or not editing is enabled. They are used for navigation.
  5970. 2005-10-20 Jackson Harper <[email protected]>
  5971. * TreeNode.cs: Use the viewport rect for determining if a node
  5972. needs to be moved for visibility. Don't use Begin/End edit. This
  5973. calls a full refresh when its done.
  5974. * TreeView.cs: New SetBottom works correctly. Make the viewport
  5975. rect property internal so the treenodes can see it. When clicking
  5976. on a node we need to ensure that its visible because it might just
  5977. be partly visible when clicked.
  5978. 2005-10-20 Jackson Harper <[email protected]>
  5979. * TreeNodeCollection.cs: Remove debug code.
  5980. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  5981. * Datagrid.cs: Implements column sorting in Datagrid
  5982. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  5983. 2005-10-20 Jackson Harper <[email protected]>
  5984. * TreeNodeCollection.cs: Remove items properly. Update the correct
  5985. area after removing them.
  5986. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  5987. * Datagrid.cs: Should not call base.OnPaintBackground
  5988. 2005-10-20 Peter Dennis Bartok <[email protected]>
  5989. * XplatUIX11.cs (GetMessage):
  5990. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  5991. window instead of client window
  5992. - Now properly calculates NC_xBUTTONUP message coordinates
  5993. - ScreenToMenu now properly calculates it's coordinates of whole
  5994. window, since menus are in the whole window, not in the client
  5995. window
  5996. - Added WholeToScreen coordinate translation method
  5997. 2005-10-20 Peter Dennis Bartok <[email protected]>
  5998. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  5999. want to return a message, loop back to the beginning of the function
  6000. and grab the next real message to process instead.
  6001. 2005-10-20 Peter Dennis Bartok <[email protected]>
  6002. * Splitter.cs: Properly set limits if no filler control is used
  6003. 2005-10-19 Jackson Harper <[email protected]>
  6004. * ColorDialog.cs: Don't show the help button if it is not enabled
  6005. instead of disabling it (this is what MS does). Don't create the
  6006. panel until the dialog is run, otherwise the vars (such as
  6007. ShowHelp) are not set yet.
  6008. 2005-10-19 Jackson Harper <[email protected]>
  6009. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  6010. are reduced when adding nodes.
  6011. * TreeNode.cs:
  6012. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  6013. tree.
  6014. 2005-10-19 Jackson Harper <[email protected]>
  6015. * FolderBrowserDialog.cs: End editing our treeview so the window
  6016. actually gets refreshed.
  6017. 2005-10-18 Peter Dennis Bartok <[email protected]>
  6018. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  6019. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  6020. inside of WM_PAINT
  6021. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  6022. * MenuAPI.cs: Returns after Hidding window
  6023. * XplatUIX11.cs: Added TODO found while debugging menu issues
  6024. 2005-10-18 Peter Dennis Bartok <[email protected]>
  6025. * XplatUIX11.cs: Do not re-map the whole window when it's size
  6026. becomes non-zero unless it's supposed to be actually visible
  6027. 2005-10-18 Jackson Harper <[email protected]>
  6028. * TreeView.cs: We don't need to keep a count anymore.
  6029. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  6030. use the Grow method.
  6031. 2005-10-18 Jackson Harper <[email protected]>
  6032. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  6033. implement it manually here.
  6034. 2005-10-18 Jackson Harper <[email protected]>
  6035. * ImageList.cs: Dont kill the list when the colour depth is
  6036. changed, just change the colour depth of all the images.
  6037. - Same goes for setting the image size. Just resize them all
  6038. instead of killing the list softly.
  6039. 2005-10-18 Jackson Harper <[email protected]>
  6040. * Control.cs: Don't invalidate empty rectangles.
  6041. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  6042. * ListViewItem.cs:
  6043. - Adds checked item to the Checked/Item lists (where empty before)
  6044. - Do not add items to the Selected lists if they are already present
  6045. * ListView.cs:
  6046. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  6047. - When deleting items make sure that we delete them for the Selected
  6048. and Checked list also.
  6049. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  6050. * Label.cs: Dispose objects no longer used
  6051. * ThemeWin32Classic.cs: Dispose objects no longer used
  6052. 2005-10-18 Jackson Harper <[email protected]>
  6053. * TabControl.cs: Don't refresh the whole control when the tabs are
  6054. scrolled, we just need to refresh the tab area.
  6055. 2005-10-17 Jackson Harper <[email protected]>
  6056. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  6057. after handle when we need it.
  6058. 2005-10-17 Peter Dennis Bartok <[email protected]>
  6059. * Control.cs: When the parent size changes, recalculate anchor
  6060. positions. Partial fix for #76462
  6061. 2005-10-17 Peter Dennis Bartok <[email protected]>
  6062. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  6063. drawn. Fixes #76462
  6064. 2005-10-17 Jackson Harper <[email protected]>
  6065. * MonthCalendar.cs: Don't create the numeric up down until our
  6066. handle is created. Otherwise our handle is created in the
  6067. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  6068. yet.
  6069. 2005-10-17 Jackson Harper <[email protected]>
  6070. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  6071. correctly.
  6072. 2005-10-17 Rafael Teixeira <[email protected]>
  6073. * TreeNode.cs : small logical fix (was using local var instead of field)
  6074. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  6075. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  6076. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  6077. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  6078. 2005-10-16 Peter Dennis Bartok <[email protected]>
  6079. * Control.cs:
  6080. - Re-implemented anchoring code. My first version was really broken.
  6081. This fixes bug #76033. Unlike the previous implementation we will
  6082. no longer have round errors since all numbers are calculated from
  6083. scratch every time. Removed various anchor-related obsolete vars.
  6084. - InitLayout no longer causes layout event firing and layout to be
  6085. performed
  6086. 2005-10-16 Jackson Harper <[email protected]>
  6087. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  6088. which was broken).
  6089. 2005-10-16 Jackson Harper <[email protected]>
  6090. * TabControl.cs: Remove debug code.
  6091. 2005-10-16 Jackson Harper <[email protected]>
  6092. * XEventQueue.cs: Increase the default queue size (very simple
  6093. apps needed to grow the queue).
  6094. * Hwnd.cs: No finalizer so we don't need to suppress
  6095. finalization. Compute the invalid area manually so a new rectangle
  6096. does not newto be created.
  6097. * ScrollableControl.cs: Don't set any params (otherwise visibility
  6098. isn't set correctly).
  6099. * MdiChildContext.cs: New constructor takes the mdi parent so it
  6100. doesn't have to be computed and avoids a crash on windows. Draw
  6101. the window icon properly, and allow the text to be seen.
  6102. * Form.cs: Use new MdiChildContext constructor. Make sure the
  6103. child context isn't null in wndproc.
  6104. * TabControl.cs: Don't set focus, this is muddling keyboard
  6105. behavoir. Expand the tab rows when a window size increase will
  6106. allow extra tabs to be seen. Don't allow tabs smaller than the
  6107. width of a window to be scrolled out of view.
  6108. * TreeNode.cs:
  6109. * TreeView.cs: Use measure string to calculate a nodes width, the
  6110. width is cached and only updated when the text or the font is
  6111. changed. Don't check for expand/collapse clicks on the first level
  6112. nodes if root lines are disabled.
  6113. 2005-10-16 Ritvik Mayank <[email protected]>
  6114. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  6115. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  6116. * DataGridBoolColumn.cs: fixes warning
  6117. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  6118. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  6119. to match more to match more precisely the MS Net behavior
  6120. 2005-10-13 Peter Dennis Bartok <[email protected]>
  6121. * Hwnd.cs: Added field to track if window is mapped
  6122. * XplatUIX11.cs:
  6123. - Unmap windows if they become 0-size, re-map when
  6124. they are >0 again; fixes #76035
  6125. - Re-set our error handler after initializing X11Desktop
  6126. to override any error handlers Gtk or whatever was called
  6127. may have set.
  6128. 2005-10-13 Peter Dennis Bartok <[email protected]>
  6129. * CheckedListBox.cs: Removed unused vars
  6130. * ListView.cs: Fixed signatures
  6131. * RichTextBox.cs: Removed unused vars
  6132. * TextBoxBase.cs: Removed unused vars
  6133. * XplatUIWin32.cs: Removed unused vars
  6134. * XplatUIX11.cs: Removed unused vars
  6135. * XplatUI.cs: Updated version and date to latest published
  6136. 2005-10-13 Peter Dennis Bartok <[email protected]>
  6137. * Cursor.cs: Added private .ctor to work around a bug in
  6138. resourceset (Thanks to Geoff Norton for the help on this)
  6139. * SplitterEventArgs.cs: Made fields accessible so we don't
  6140. waste boatloads of objects and can reuse the same one
  6141. in Splitter
  6142. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  6143. any captions and borders when generating screen coordinates
  6144. * Splitter.cs: Reimplemented control, now fully complete, uses
  6145. rubberband drawing, supports and obeys all properties, has
  6146. proper cursors
  6147. 2005-10-13 Miguel de Icaza <[email protected]>
  6148. * Form.cs (Form): Setup default values for autoscale and
  6149. autoscale_base_size; Make these instance variables, not static
  6150. variables.
  6151. (OnLoad): on the first load, adjust the size of the form.
  6152. 2005-10-13 Peter Dennis Bartok <[email protected]>
  6153. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  6154. width argument to DrawReversibleRectangle()
  6155. * XplatUIWin32.cs, XplatUIX11.cs:
  6156. - Implemented width for DrawReversibleRectangle()
  6157. - Added logic to DrawReversibleRectangle that recognizes a zero
  6158. width or height and only draws a line in that situation
  6159. 2005-10-12 Peter Dennis Bartok <[email protected]>
  6160. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  6161. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  6162. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  6163. method (it uses our FosterParent window to get a graphics context)
  6164. 2005-10-12 Peter Dennis Bartok <[email protected]>
  6165. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  6166. and SetWindowBackground methods
  6167. * Control.cs:
  6168. - Setting proper ControlStyles
  6169. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  6170. EraseWindowBackground, instead we draw the window background
  6171. ourselves in PaintControlBackground. This behaviour is
  6172. required to match MS, where, when OnPaintBackground is not
  6173. called, the background is not drawn.
  6174. - Removed unneeded Refresh() in set_Text
  6175. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  6176. * XplatUIX11.cs:
  6177. - Created DeriveStyles method to translate from CreateParams to
  6178. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  6179. matches FormBorderStyle enum values)
  6180. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  6181. style calculations into single DeriveStyles method
  6182. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  6183. from redrawing the whole window on any resize or expose.
  6184. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  6185. all styles were applied to our whole/client window appropriately
  6186. - Removed EraseWindowBackground() and SetWindowBackground() methods
  6187. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  6188. no longer clear/redraw the background through X
  6189. - Removed handling of erase_pending bit, we have no use for it (or
  6190. so it seems)
  6191. * XplatUIOSX.cs:
  6192. - Removed generation and handling of WM_ERASEBKGND message
  6193. - Removed EraseWindowBackground() and SetWindowBackground() methods
  6194. - Removed handling of hwnd.ErasePending flag
  6195. * XplatUIWin32.cs:
  6196. - Removed EraseWindowBackground() and SetWindowBackground() methods
  6197. - We no longer call EraseWindowBackground on PaintEventStart, we
  6198. ignore the fErase flag, erasing is handled in Control in the
  6199. background handler
  6200. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  6201. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  6202. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  6203. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  6204. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  6205. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  6206. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  6207. 2005-10-12 Jonathan Chambers <[email protected]>
  6208. * PropertyGrids.cs: Get sub properties
  6209. * PropertyGridView.cs: Fix drawing code
  6210. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  6211. * ListBox.cs: Fixes 76383
  6212. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  6213. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  6214. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  6215. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  6216. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  6217. * ComboBox.cs: Fixes border drawing
  6218. 2005-10-10 Miguel de Icaza <[email protected]>
  6219. * MimeIcon.cs: Ignore errors if the file can not be read.
  6220. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  6221. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  6222. - Fixed border calculations
  6223. - Fixed horizontal scrolling in single column listboxes
  6224. - Fixed drawing issues
  6225. 2005-10-10 Peter Dennis Bartok <[email protected]>
  6226. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  6227. FormBorderStyle enum
  6228. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  6229. code to determine FormBorderStyles from CreateParams
  6230. * Form.cs:
  6231. - Fixed bug where we'd set the wrong window styles if we were
  6232. not creating an MDI window
  6233. - Added call to XplatUI.SetBorderStyle when form borders are set
  6234. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  6235. * Hwnd.cs:
  6236. - Removed obsolete edge style
  6237. - Switched from BorderStyle to FormBorderStyle
  6238. 2005-10-10 Jackson Harper <[email protected]>
  6239. * Form.cs: Use the property to get the window handle instead of
  6240. accessing it directly. Prevents a null reference exception.
  6241. 2005-10-10 Jackson Harper <[email protected]>
  6242. * TreeView.cs: Don't adjust the rect given to DrawString now that
  6243. our libgdiplus draws correctly.
  6244. 2005-10-08 Jackson Harper <[email protected]>
  6245. * TreeView.cs: Don't try to find the clicked on node if there are
  6246. no nodes in the tree.
  6247. 2005-10-08 Alexander Olk <[email protected]>
  6248. * RichTextBox.cs:
  6249. restore
  6250. 2005-10-08 Alexander Olk <[email protected]>
  6251. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  6252. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  6253. ErrorProvider.cs:
  6254. Use ResPool for brushes and dispose System.Drawing objects that
  6255. are not used anymore.
  6256. 2005-10-07 Jackson Harper <[email protected]>
  6257. * MdiChildContext.cs: Use the new borders instead of drawing them
  6258. ourselves.
  6259. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  6260. * Calling UpdateBounds after changing the window's BorderStyle
  6261. since the style can change the ClientSize
  6262. 2005-10-06 Peter Dennis Bartok <[email protected]>
  6263. * Control.cs: Made PaintControlBackground virtual
  6264. * Panel.cs: Overriding PaintControlBackground instead of using paint
  6265. event; paint event method was interfering with 'real' users of the
  6266. event.
  6267. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  6268. * ThemeWin32Classic.cs: remove border drawing since it is handled
  6269. by the base control class now and was causing double border drawing.
  6270. 2005-10-06 Peter Dennis Bartok <[email protected]>
  6271. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  6272. but it does seem to match MS behaviour. This fixes bug #75324
  6273. 2005-10-06 Peter Dennis Bartok <[email protected]>
  6274. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  6275. somewhat hackish looking
  6276. 2005-10-06 Peter Dennis Bartok <[email protected]>
  6277. * TextBoxBase.cs:
  6278. - We now accept Enter even if AcceptEnter is false, if the containing
  6279. form does not have an AcceptButton configured (fixes bug #76355)
  6280. - Calculations are now fixed to no longer use Width/Height, but
  6281. ClientSize.Width/Height, since we now support borders (this was
  6282. a result of fixing borders and therefore bug #76166)
  6283. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  6284. true (fixes bug #76354)
  6285. 2005-10-06 Peter Dennis Bartok <[email protected]>
  6286. * Control.cs:
  6287. - Defaulting BorderStyle and setting it in XplatUI when our window
  6288. is created
  6289. - Added enum check to InternalBorderStyle setter
  6290. * XplatUIX11.cs:
  6291. - Added drawing of window borders
  6292. - Now properly calculates WM decorations offset for toplevel
  6293. windows (fixes bug #74763)
  6294. * XplatUIWin32.cs:
  6295. - Implemented BorderStyles for windows (we're letting win32 draw
  6296. the border for us)
  6297. - Fixed the signature for SetWindowLong
  6298. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  6299. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  6300. setting borders
  6301. * UpDownBase.cs: Remove drawing of borders, this is handled by
  6302. the driver, outside the client area
  6303. * ListView.cs: Removed bogus border calculations. The control should
  6304. be oblivious to borders, since those are not part of the client
  6305. area.
  6306. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  6307. * ThemeWin32Classic.cs: Removed border calculations from ListView
  6308. drawing code
  6309. 2005-10-06 Jackson Harper <[email protected]>
  6310. * MdiChildContext.cs: Clear out the old virtual position remove
  6311. all the unneeded calls to CreateGraphics.
  6312. 2005-10-06 Peter Dennis Bartok <[email protected]>
  6313. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  6314. 2005-10-06 Peter Dennis Bartok <[email protected]>
  6315. * Form.cs:
  6316. - Added loading and setting of our new default icon
  6317. - Only set icon if window is already created
  6318. 2005-10-06 Peter Dennis Bartok <[email protected]>
  6319. * Label.cs:
  6320. - Do not explicitly set the foreground and background colors, to
  6321. allow inheriting from parents (fixes #76302)
  6322. - Use Control's InternalBorderStyle property to deal with borders
  6323. 2005-10-06 Jackson Harper <[email protected]>
  6324. * MdiChildContext.cs: Use the new xplatui function to draw a
  6325. reversible rect.
  6326. 2005-10-06 Jackson Harper <[email protected]>
  6327. * Form.cs: Add the parent before creating the child context cause
  6328. we need the parent when setting up the child.
  6329. 2005-10-06 Jackson Harper <[email protected]>
  6330. * FolderBrowserDialog.cs: redo the tree population code so a
  6331. second thread isn't used. Should be a lot faster and more stable
  6332. now.
  6333. 2005-10-05 Jackson Harper <[email protected]>
  6334. * TreeView.cs: There are no expand/collapse boxes if the node has
  6335. no children.
  6336. 2005-10-05 Jackson Harper <[email protected]>
  6337. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  6338. 2005-10-05 Alexander Olk <[email protected]>
  6339. * FileDialog.cs: Fix InitialDirectory
  6340. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  6341. * ComboBox.cs:
  6342. - Fixes changing between styles
  6343. - Fixes simple mode
  6344. - Fixes last item crashing when navigating with keyboard
  6345. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  6346. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  6347. 2005-10-05 Jackson Harper <[email protected]>
  6348. * TreeView.cs: If updating the root node do a full refresh.
  6349. * TreeNode.cs: The root node should be expanded by default. Also
  6350. added a utility prop to tell if we are the root node.
  6351. * TreeNodeCollection.cs: Only refresh if the node we are being
  6352. added to is expanded. Also added a comment on a potential
  6353. optimization.
  6354. 2005-10-04 Peter Dennis Bartok <[email protected]>
  6355. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  6356. in dispose method. Fixes #76330
  6357. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  6358. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  6359. - Implements vertical and horizontal scrolling using XplatUI
  6360. - Fixes keyboard navagation
  6361. - Fixes EnsureVisible
  6362. - Drawing fixes
  6363. - Handles and draws focus properly
  6364. 2005-10-04 Kornél Pál <[email protected]>
  6365. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  6366. Create handle. NET_2_0: Destroy handle when value is null.
  6367. 2005-10-03 Jackson Harper <[email protected]>
  6368. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  6369. revert and a new patch to prevent the thumb from refreshing so
  6370. much.
  6371. 2005-10-02 Jackson Harper <[email protected]>
  6372. * ScrollBar.cs: Don't update position if it hasn't actually
  6373. changed. This occurs when you hold down the increment/decrement
  6374. buttons and the thumb gets to the max/min.
  6375. 2005-10-01 Jackson Harper <[email protected]>
  6376. * Form.cs:
  6377. * MdiChildContext.cs:
  6378. * MdiClient.cs: Implement ActiveMdiChild in Form.
  6379. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  6380. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  6381. 2005-10-01 Peter Dennis Bartok <[email protected]>
  6382. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  6383. be found
  6384. 2005-09-30 Jackson Harper <[email protected]>
  6385. * ListBox.cs: Don't do a full refresh unless some data has
  6386. actually changed.
  6387. 2005-09-30 Jackson Harper <[email protected]>
  6388. * TreeView.cs: Make sure that the checkboxes size is factored in
  6389. even when not visible.
  6390. 2005-09-30 Peter Dennis Bartok <[email protected]>
  6391. * FileDialog.cs: Fix Jordi's build break
  6392. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  6393. * FileDialog.cs:
  6394. - Use standard the Windows colours for the combobox as espected
  6395. - Dispose objects that use resouces when no longer need them
  6396. 2005-09-30 Peter Dennis Bartok <[email protected]>
  6397. * X11DesktopColors.cs: Initial incomplete implementation
  6398. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  6399. 2005-09-30 Peter Dennis Bartok <[email protected]>
  6400. * Theme.cs:
  6401. - Switched Theme color names to match the names defined in
  6402. System.Drawing.KnownColors. Life's hard enough, no need to make
  6403. it harder.
  6404. - Added setters to all theme color properties so themes can set
  6405. their color schemes. The setters also propagate the color changes
  6406. to System.Drawing.KnownColors via reflection
  6407. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  6408. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  6409. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  6410. use the new, more logical theme color names
  6411. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  6412. post-NT colors
  6413. * ThemeWin32Classic.cs:
  6414. - Removed code to set the old classic Windows colors. Instead it
  6415. now relies on the colors returned by System.Drawing.KnownColors
  6416. which will be either modern static colors (Unix) or colors
  6417. read from the user's configuration (Win32)
  6418. - Updated to use the new, more logical theme color names
  6419. - Switched DataGrid drawing code to use only Theme colors instead of
  6420. a mix of System.Drawing.KnownColors and Theme colors
  6421. - DrawFrameControl(): Removed code that fills the button area, the
  6422. fill would overwrite any previous fill done by a control. This
  6423. fixes bug #75338
  6424. - Added DrawReversibleRectangle() stub
  6425. * ScrollableControl.cs: Set visible state to false when scrollbars
  6426. are removed (pdn fix)
  6427. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  6428. DrawReversibleRectangle() method to allow drawing primitive
  6429. 'rubber bands'
  6430. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  6431. 2005-09-30 Kornél Pál <[email protected]>
  6432. * ImageList.cs: Add(Icon): Create handle.
  6433. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  6434. * ListView.cs:
  6435. * ThemeWin32Classic.cs:
  6436. - Fixes detail mode
  6437. - Sets clippings
  6438. - Issues with drawing
  6439. 2005-09-30 Kornél Pál <[email protected]>
  6440. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  6441. source has to be the ImageList.
  6442. 2005-09-30 Kornél Pál <[email protected]>
  6443. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  6444. 2005-09-30 Kornél Pál <[email protected]>
  6445. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  6446. 2005-09-30 Kornél Pál <[email protected]>
  6447. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  6448. 2005-09-29 Jonathan Chambers <[email protected]>
  6449. * GridItem.cs: Fixed TODOs
  6450. * GridItemCollection.cs: Added ICollection interface
  6451. 2005-09-30 Kornél Pál <[email protected]>
  6452. * ImageList.cs: Resize icons when needed.
  6453. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  6454. * ListViewItem.cs
  6455. - Fixes GetBounds and returns on screen rects
  6456. * ListView.cs:
  6457. - Fixes vertical and horzintal scrolling of items
  6458. * ThemeWin32Classic.cs:
  6459. - Fixes drawing
  6460. 2005-09-29 Raja R Harinath <[email protected]>
  6461. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  6462. 2005-09-29 Kornél Pál <[email protected]>
  6463. * ImageList.cs: Added comments about handle creation. Moved Handle,
  6464. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  6465. Handle is created in Add methods.
  6466. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  6467. * DataGridDrawingLogic.cs:
  6468. - Takes rows into account on Colum calculations
  6469. - Returns the column when clickig
  6470. * DataGrid.cs:
  6471. - Fixes default HitTestInfo values
  6472. - Fixes HitTestInfo.ToString
  6473. - Fixes ResetBackColor
  6474. 2005-09-28 Jackson Harper <[email protected]>
  6475. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  6476. sizing or cursor changes). Also added some temp code to draw the
  6477. titlebars text (Makes dev a little easier).
  6478. 2005-09-28 Kornél Pál <[email protected]>
  6479. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  6480. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  6481. * ListBox.cs: Fixes bug 76253
  6482. 2005-09-28 Kornél Pál <[email protected]>
  6483. * ImageList.cs: Added comments about the current implementation. Added
  6484. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  6485. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  6486. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  6487. with Bitmap.LockBits for better performance. Revised the whole file to
  6488. match MS.NET behaviour and provide better performance. Non-public
  6489. interface members are calling public members even when they throw
  6490. NotSupportedException for better maintainability. Moved ColorDepth,
  6491. ImageSize, ImageStream and TransparentColor implementations to
  6492. ImageCollection for better performance as these properties are not used
  6493. by ImageList.
  6494. * ImageListStreamer.cs: Added a new internal constructor that takes an
  6495. ImageList.ImageCollection and serializes Images based on
  6496. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  6497. match ImageList property name.
  6498. 2005-09-28 Kazuki Oikawa <[email protected]>
  6499. * ListBox.cs: Fixes IndexFromPoint for last item
  6500. 2005-09-27 Jackson Harper <[email protected]>
  6501. * Form.cs: Set the position of new mdi children correctly.
  6502. 2005-09-27 Jackson Harper <[email protected]>
  6503. * MdiClient.cs: New mdi children need to be added to the back of
  6504. the controls collection so the zorder is set correctly. Also add a
  6505. count of all the child windows that have been created.
  6506. 2005-09-27 Jackson Harper <[email protected]>
  6507. * Form.cs (CreateParams): Setup MDI forms correctly.
  6508. 2005-09-27 Jackson Harper <[email protected]>
  6509. * MdiChildContext.cs:
  6510. * MonthCalendar.cs:
  6511. * UpDownBase.cs:
  6512. * ListBox.cs:
  6513. * ListView.cs:
  6514. * TextBoxBase.cs:
  6515. * TreeView.cs:
  6516. * ScrollableControl.cs:
  6517. * ComboBox.cs: Add implicit controls using the new implict control
  6518. functionality in ControlCollection. Also try to block multiple
  6519. control add in a suspend/resume layout to save some cycles.
  6520. 2005-09-27 Jackson Harper <[email protected]>
  6521. * Control.cs: Add functionality to the controls collection to add
  6522. 'implicit controls' these are controls that are created by the
  6523. containing control but should not be exposed to the user. Such as
  6524. scrollbars in the treeview.
  6525. * Form.cs: The list var of the ControlsCollection is no longer
  6526. available because of the potential of implicit controls getting
  6527. ignored by someone accessing the list directly.
  6528. 2005-09-26 Peter Dennis Bartok <[email protected]>
  6529. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  6530. loose it's parent. (Fixed bug introduced in r49103 when we added
  6531. setting the child parent to null on Remove)
  6532. 2005-09-26 Gert Driesen <[email protected]>
  6533. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  6534. * Splitter.cs: Added missing attributes for BorderStyle property.
  6535. * TextBoxBase.cs: Marked Calculate* methods internal.
  6536. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  6537. MS.NET.
  6538. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  6539. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  6540. 2005-09-25 Jackson Harper <[email protected]>
  6541. * TreeView.cs: Update the node bounds correctly regardless of
  6542. whether the node is visible.
  6543. 2005-09-25 Jackson Harper <[email protected]>
  6544. * ImageList.cs: Don't dispose the image after it is added to the
  6545. image list. Only reformat images that need to be resized.
  6546. 2005-09-25 Jackson Harper <[email protected]>
  6547. * ImageList.cs: Don't set the format when changing the image.
  6548. 2005-09-25 Jackson Harper <[email protected]>
  6549. * TreeView.cs: We can't just assume the node has a font. Use the
  6550. treeviews font if no node font is available.
  6551. 2005-09-25 Jackson Harper <[email protected]>
  6552. * TreeView.cs: Allow the scrollbars to be reset with negative
  6553. values.
  6554. - Don't add scrollbars to negative sized windows.
  6555. 2005-09-23 Jackson Harper <[email protected]>
  6556. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  6557. old Mono.Posix. Also remove some stray code that shouldn't have
  6558. been committed.
  6559. 2005-09-23 Jackson Harper <[email protected]>
  6560. * TreeView.cs: Attempt at proper sizing of the horizontal
  6561. scrollbar. Also don't resize the scrollbars unless they are
  6562. visible.
  6563. 2005-09-23 Jackson Harper <[email protected]>
  6564. * TreeView.cs: We don't need to expand the invalid area when the
  6565. selection changes, as this is all drawn in the node's bounding
  6566. box. The area needs to be expanded (previous typo was contracting
  6567. it) when the focus rect moves.
  6568. 2005-09-23 Jackson Harper <[email protected]>
  6569. * TreeView.cs: Display the selection box under the correct
  6570. circumstances. We were rendering white text with no selection box
  6571. before.
  6572. 2005-09-23 Peter Dennis Bartok <[email protected]>
  6573. * TextControl.cs(Split): Now updates selection start/end if it points
  6574. into a line that's being split. Fixes a FIXME and bug #75258
  6575. 2005-09-23 Jackson Harper <[email protected]>
  6576. * Binding.cs:
  6577. * ListControl.cs: Don't use the path when retrieving binding
  6578. managers from the binding context. My bat sense tells me that the
  6579. path is only used on insertion.
  6580. 2005-09-22 Jackson Harper <[email protected]>
  6581. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  6582. 2005-09-22 Jackson Harper <[email protected]>
  6583. * Splitter.cs: There are special cursors used for splitting.
  6584. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  6585. 2005-09-22 Jackson Harper <[email protected]>
  6586. * Splitter.cs: Change the cursor appropriately when the splitter
  6587. is moused over, so the user actually knows there is a splitter
  6588. there.
  6589. 2005-09-22 Hisham Mardam Bey <[email protected]>
  6590. * Label.cs : Fix ToString method to give same output as MS.NET
  6591. 2005-09-22 Jackson Harper <[email protected]>
  6592. * TreeView.cs: Create the scrollbars when the handle is created
  6593. and add them right away, just make them invisble. Also account for
  6594. the window being shrunk vertically to the point that the vert
  6595. scrollbar needs to be added.
  6596. - Remove some 0.5 adjustments to get around anti aliasing issues.
  6597. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  6598. * MainMenu.cs: Fixes default value
  6599. * MenuItem.cs: Fixes default value
  6600. 2005-09-22 Kazuki Oikawa <[email protected]>
  6601. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  6602. 2005-09-21 Jackson Harper <[email protected]>
  6603. * Control.cs: Don't try to set the border style on the window if
  6604. it hasn't been created. When the window is created the border
  6605. style will be used.
  6606. 2005-09-21 Peter Dennis Bartok <[email protected]>
  6607. * Control.cs (Update): Don't call XplatUI if we don't have a
  6608. window handle yet
  6609. 2005-09-21 Peter Dennis Bartok <[email protected]>
  6610. * ContainerControl.cs: Instead of throwing an exception, print
  6611. a one-time warning about Validate not being implemented
  6612. * XplatUIWin32.cs: Removed debug output
  6613. 2005-09-21 Peter Dennis Bartok <[email protected]>
  6614. * Control.cs: Only set XplatUI background if we expect the windowing
  6615. system to handle the background. This stops controls that draw their
  6616. own background from flickering
  6617. * XplatUIX11.cs: Support custom visuals and colormaps for window
  6618. creation. This allows, amongst other things, using MWF X11 windows
  6619. with OpenGL.
  6620. 2005-09-21 Peter Dennis Bartok <[email protected]>
  6621. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  6622. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  6623. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  6624. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  6625. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  6626. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  6627. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  6628. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  6629. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  6630. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  6631. GridColumnStylesCollection.cs,
  6632. IDataGridColumnStyleEditingNotificationService.cs,
  6633. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  6634. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  6635. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  6636. TreeNodeCollection.cs, AmbientProperties.cs,
  6637. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  6638. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  6639. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  6640. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  6641. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  6642. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  6643. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  6644. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  6645. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  6646. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  6647. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  6648. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  6649. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  6650. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  6651. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  6652. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  6653. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  6654. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  6655. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  6656. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  6657. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  6658. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  6659. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  6660. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  6661. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  6662. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  6663. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  6664. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  6665. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  6666. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  6667. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  6668. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  6669. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  6670. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  6671. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  6672. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  6673. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  6674. 2005-09-21 Jackson Harper <[email protected]>
  6675. * TreeNode.cs: Call Before/After Expand not Collapse when
  6676. expanding.
  6677. 2005-09-20 Jackson Harper <[email protected]>
  6678. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  6679. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  6680. * ListViewItem.cs:
  6681. - Fixes bug 76120
  6682. - Fixes proper storing of subitems
  6683. - Fixes not updated items
  6684. 2005-09-20 Peter Dennis Bartok <[email protected]>
  6685. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  6686. things if our window handle isn't created yet. Also disabled
  6687. debug for TextBoxBase
  6688. 2005-09-20 Peter Dennis Bartok <[email protected]>
  6689. * MenuAPI.cs: Remove filtering of events to allow menu usage
  6690. 2005-09-20 Miguel de Icaza <[email protected]>
  6691. * Cursor.cs: Allow null to be passed to Cursor.Current.
  6692. 2005-09-20 Alexander Olk <[email protected]>
  6693. * ThemeWin32Classic.cs:
  6694. - Change some private methods/fields to protected virtual so that
  6695. they can be accessed and overriden in derived classes
  6696. - First refactoring of some methods. Derived themes now don't
  6697. need to duplicate the complete code from ThemeWin32Classic
  6698. * ThemeNice.cs:
  6699. - Added nice StatusBar
  6700. - Derive from ThemeWin32Classic and not Theme
  6701. - Removed duplicate ThemeWin32Classic code
  6702. 2005-09-20 Miguel de Icaza <[email protected]>
  6703. * Control.cs (ControlCollection.Add): If the value null is passed
  6704. the control is ignored.
  6705. Optimize this loop.
  6706. 2005-09-19 Peter Dennis Bartok <[email protected]>
  6707. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  6708. PostQuitMessage state.
  6709. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  6710. 2005-09-19 Peter Dennis Bartok <[email protected]>
  6711. * Application.cs: Our constructor will never get called, move
  6712. initialization to fields; fixes bug #75933
  6713. 2005-09-19 Hisham Mardam Bey <[email protected]>
  6714. * FileDialog.cs :
  6715. - Allow files to be selected properly using file name
  6716. combo box.
  6717. - Add ability to change diretory (absolute / relative)
  6718. using file name combo box.
  6719. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  6720. * ListBox.cs:
  6721. - Fixes Multicolumn listboxes item wrong calculations
  6722. - Allows to click when only one item is in the listbox
  6723. - Fixes crash when no items using keyboard navigation
  6724. 2005-09-16 Alexander Olk <[email protected]>
  6725. * ComboBox.cs: Reverted almost everything from the latest patch which
  6726. broke ComboBox
  6727. 2005-09-16 Kazuki Oikawa <[email protected]>
  6728. * ToolTip.cs:
  6729. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  6730. * ComboBox.cs:
  6731. - When DropDownStyle is Simple, it does not show scrollbar
  6732. to the last item of the list.
  6733. - When DropDownStyle is Simple, it crashed when the list was
  6734. scrolled down with the down cursor key.
  6735. - Fixed a bug that when DropDownStyle is DropDownList, the
  6736. selected item was not shown.
  6737. - The position of the selected item was not preserved when
  6738. the next dropdown happened.
  6739. * ThemeWin32Classic.cs:
  6740. - Items were wrapped at the right end.
  6741. * CheckedListBox.cs:
  6742. - Fixed Add method
  6743. * ListBox.cs:
  6744. - Items should be fully shown.
  6745. - When resizing and vertical scrollbar disappeared, the item
  6746. of index 0 should be on the top of the list.
  6747. - GetItemRectangle should consider the size of ver. scrollbar
  6748. * StatusBar.cs:
  6749. - SizingGrip area should not be allocated when it is not
  6750. displayed.
  6751. - Now it reflects MinWidth of the containing panel and
  6752. fixed a crash that happens when its width becomes so small.
  6753. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  6754. * CheckedListBox.cs: Fixes bug 76028
  6755. * ListBox.cs: Fixes bug 76028
  6756. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  6757. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  6758. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  6759. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  6760. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  6761. 2005-09-09 Jonathan Chambers <[email protected]>
  6762. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  6763. 2005-09-09 Jonathan Chambers <[email protected]>
  6764. * IRootGridEntry.cs: Added
  6765. * PropertyGridCommands.cs: Added
  6766. * PropertiesTab.cs: Added missing methods and property
  6767. * PropertyGridView.cs: Made class internal
  6768. * PropertyGridTextBox.cs: Made class internal
  6769. 2005-09-09 Alexander Olk <[email protected]>
  6770. * MimeIcon.cs: Try to check some other environment variables
  6771. if "DESKTOP_SESSION" returns "default"
  6772. 2005-09-09 Alexander Olk <[email protected]>
  6773. * ThemeNice.cs: Corrected background colors (e.g. menus)
  6774. * ColorDialog.cs: Use correct background colors for controls
  6775. 2005-09-09 Alexander Olk <[email protected]>
  6776. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  6777. 2005-09-08 Peter Dennis Bartok <[email protected]>
  6778. * RichTextBox.cs: Added initial implementation
  6779. * lang.cs: Removed. Was accidentally checked in long time ago
  6780. * TODO: Removed. Contents were obsolete
  6781. 2005-09-06 Jonathan Chambers <[email protected]>
  6782. * PropertiesTab.cs : Added
  6783. 2005-09-06 Jonathan Chambers <[email protected]>
  6784. * PropertyGrid.cs : Update
  6785. * PropertyGridView.cs : Update
  6786. * System.Windows.Forms.resx : Added images and strings
  6787. 2005-09-06 Peter Dennis Bartok <[email protected]>
  6788. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  6789. 2005-09-06 Peter Dennis Bartok <[email protected]>
  6790. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  6791. a busy loop right after the Ungrab the X11 display is otherwise
  6792. blocked
  6793. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  6794. * ThemeWin32Classic.cs: Optimise the use of clipping
  6795. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  6796. * DataGrid.cs: fixes recursion bug
  6797. 2005-09-03 Alexander Olk <[email protected]>
  6798. * ThemeNice.cs:
  6799. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  6800. - Cleanup
  6801. 2005-09-02 Alexander Olk <[email protected]>
  6802. * ThemeNice.cs: Draw nice ProgressBars
  6803. 2005-09-01 Miguel de Icaza <[email protected]>
  6804. * VScrollBar.cs: Another buglet found by Aaron's tool.
  6805. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  6806. bug finder.
  6807. 2005-08-30 Alexander Olk <[email protected]>
  6808. * ThemeNice.cs:
  6809. - Added nicer menu drawing
  6810. - Updated DrawTab
  6811. - some refactoring
  6812. 2005-08-30 Peter Dennis Bartok <[email protected]>
  6813. * CreateParams.cs (ToString): Made output match MS
  6814. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  6815. handle is already created (to avoid forcing window creation)
  6816. * XplatUIX11.cs: Set window text to caption after creating window,
  6817. in case Text was set before window was created
  6818. * Form.cs: Use this.Text instead of a static string as caption
  6819. 2005-08-30 Peter Dennis Bartok <[email protected]>
  6820. * NotifyIcon.cs: Don't set the window to visible; this screws
  6821. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  6822. OnPaint without a bitmap)
  6823. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  6824. happen very often anyway; we could add the check to the WM_PAINT
  6825. event generation code
  6826. 2005-08-30 Peter Dennis Bartok <[email protected]>
  6827. * NotifyIcon.cs: Fill the icon area with a background color, to
  6828. avoid 'residue' when transparent icons are drawn
  6829. * XplatUIX11.cs:
  6830. - Handle whole_window == client_window when destroying windows
  6831. - SystrayAdd(): Set client_window to whole_window value to
  6832. get mouse and other events passed to NotifyIcon
  6833. 2005-08-30 Peter Dennis Bartok <[email protected]>
  6834. * Form.cs: Set proper default for Opacity property
  6835. * NotifyIcon.cs:
  6836. - ShowSystray(): Don't bother creating telling the OS
  6837. about the systray item if no icon is provided
  6838. - Now handles WM_NCPAINT message to deal with whole/client window
  6839. split
  6840. - Create window as visible to not get caught by Expose optimization
  6841. * Hwnd.cs: Removed debug message
  6842. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  6843. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  6844. PaintEventStart/End to use new client argument
  6845. * TextBoxBase.cs:
  6846. - Commented out debug messages
  6847. - Switched PaintEventStart/End to use new client argument
  6848. * XplatUI.cs: Added client window bool to PaintEventStart()/
  6849. PaintEventEnd() calls, to support drawing in non-client areas
  6850. * XplatUIDriver.cs:
  6851. - Added client window bool to PaintEventStart()/PaintEventEnd()
  6852. calls, to support drawing in non-client areas
  6853. - Added conditional compile to allow using MWF BeginInvoke
  6854. on MS runtime
  6855. * XplatUIX11.cs:
  6856. - Added some conditional debug output
  6857. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  6858. whole/client window split
  6859. - Implemented handling of client argument to PaintEventStart()/End()
  6860. * Control.cs:
  6861. - Throw exception if BeginInvoke() is called and the window handle
  6862. or one of the window's parent handles is not created
  6863. - Added conditional compile to allow using MWF BeginInvoke on
  6864. MS runtime
  6865. - get_Parent(): Only sets parent if handle is created. This avoids
  6866. forcing window handle creation when parent is set.
  6867. - Now fires Layout and Parent changed events in proper order
  6868. - Switched to use Handle instead of window.Handle for Z-Order setting,
  6869. the get_Parent() patch above causes us to possibly get null for 'window'
  6870. - Implemented handling of client argument to PaintEventStart()/End()
  6871. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  6872. default handling)
  6873. - Now sends a Refresh() to all child windows when Refresh() is called
  6874. 2005-08-29 Peter Dennis Bartok <[email protected]>
  6875. * Form.cs: Added (non-functional) Opacity property
  6876. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  6877. 2005-08-29 Alexander Olk <[email protected]>
  6878. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  6879. use export MONO_THEME=nice to activate it.
  6880. Currently supported controls:
  6881. - Button
  6882. - ComboBox
  6883. - ScrollBar
  6884. - TabControl (TabAlignment.Top only, other will follow)
  6885. * ThemeEngine.cs: Add theme nice
  6886. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  6887. if enabled
  6888. 2005-08-25 Jonathan Chambers <[email protected]>
  6889. * Splitter.cs: Resize docked control and its neighbor.
  6890. 2005-08-24 Rafael Teixeira <[email protected]>
  6891. -- Making Windows with Menus layout correctly --
  6892. * Form.cs : The first leg of the fix
  6893. Menu setter - adjust Client Size as needed to make space for the menu
  6894. SetClientSizeCore - doesn't call base version to be able to pass the
  6895. menu handle to XplatUI.CalculateWindowRect
  6896. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  6897. * XplatUIX11.cs: The critical second leg of the fix
  6898. GetWindowPos needs to use a recalculated client_rect
  6899. so that resizing the window doesn't break layout of child controls.
  6900. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  6901. Lots of \t\n killed
  6902. 2005-08-23 Peter Dennis Bartok <[email protected]>
  6903. * Label.cs: Now properly recalculates width and height on Font and Text
  6904. changes if AutoSize is set
  6905. 2005-08-19 Rafael Teixeira <[email protected]>
  6906. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  6907. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  6908. * ImageList.cs: Makes ToString method compatible with MS
  6909. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  6910. * MenuAPI.cs: fixes bug 75716
  6911. 2005-08-11 Umadevi S <[email protected]>
  6912. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  6913. 2005-08-11 Umadevi S <[email protected]>
  6914. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  6915. 2005-08-10 Umadevi S <[email protected]>
  6916. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  6917. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  6918. * Menu.cs: fixes bug 75700
  6919. * MenuAPI.cs: fixes navigation issues
  6920. 2005-08-09 Umadevi S <[email protected]>
  6921. * CheckedListBox.cs - simple fix for GetItemChecked.
  6922. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  6923. * ComboBox.cs: Serveral fixes
  6924. * ListBox.cs: Serveral fixes
  6925. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  6926. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  6927. * ListBox.cs: Fixes FindString methods
  6928. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  6929. * DataGrid.cs: fixes bugs exposed by new tests
  6930. 2005-08-04 Peter Dennis Bartok <[email protected]>
  6931. * Mime.cs: Compile Mono assembly references only if compiling
  6932. with Mono (Allows to build with VS.Net again)
  6933. 2005-07-28 Marek Safar <[email protected]>
  6934. * Control.cs (PaintControlBackground): Draw background image
  6935. corrrectly.
  6936. (CheckForIllegalCrossThreadCalls): Stubbed.
  6937. * Form.cs (OnCreateControl): Center when should be centered.
  6938. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  6939. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  6940. * Binding.cs: Binding to properties should be case unsensitive
  6941. 2005-07-18 [email protected]
  6942. * DataGrid.cs: fixes setmember order
  6943. 2005-07-07 Alexander Olk <[email protected]>
  6944. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  6945. * FileDialog.cs: FileDialog is now resizable and uses the new
  6946. MimeIconEngine
  6947. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  6948. * DataGridTextBoxColumn.cs: default value
  6949. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  6950. * GridTableStylesCollection.cs: fixes checking MappingName
  6951. * DataGridDrawingLogic.cs: fixes drawing logic issues
  6952. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  6953. * DataGrid.cs: fixes
  6954. 2005-07-06 Alexander Olk <[email protected]>
  6955. * MimeGenerated.cs: Use case sensitive comparer for
  6956. NameValueCollections
  6957. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  6958. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  6959. * ThemeWin32Classic.cs: bug fixes, code refactoring
  6960. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  6961. * DataGrid.cs: bug fixes, code refactoring
  6962. * DataGridTextBox.cs: bug fixes, code refactoring
  6963. * DataGridColumnStyle.cs: bug fixes, code refactoring
  6964. * Theme.cs: bug fixes, code refactoring
  6965. 2005-07-01 Peter Bartok <[email protected]>
  6966. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  6967. and other text box usage
  6968. 2005-07-01 Jackson Harper <[email protected]>
  6969. * TabControl.cs: Make sure the bottom of the tab covers the pages
  6970. border.
  6971. 2005-06-30 Peter Bartok <[email protected]>
  6972. * Form.cs (ShowDialog): Assign owner of the dialog
  6973. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  6974. might have been moved to a tag with different height
  6975. 2005-06-30 Jackson Harper <[email protected]>
  6976. * Form.cs: Don't create an infinite loop when setting focus
  6977. * MenuItem.cs: Don't dirty the parents if we don't have any
  6978. 2005-06-29 Ben Maurer <[email protected]>
  6979. * LibSupport.cs: Rename
  6980. 2005-06-29 Peter Bartok <[email protected]>
  6981. * TextBoxBase.cs: Re-align caret after deleting a character
  6982. * TextControl.cs:
  6983. - DeleteChars(): Ensure that tag covers the provided position
  6984. - StreamLine(): Drop reference for dropped tag
  6985. 2005-06-29 Peter Bartok <[email protected]>
  6986. * TextControl.cs:
  6987. - Selections now work properly, anchoring at the initial location
  6988. and properly extending in either direction (SetSelectionToCaret(),
  6989. SetSelectionStart() and SetSelectionEnd())
  6990. - No longer redraws the whole control on selection change, now
  6991. calculates delta between previous and new selection and only
  6992. invalidates/redraws that area
  6993. - Fixed FindPos() math off-by-one errors
  6994. - Changed DeleteChars() to verify the provided tag covers the
  6995. provided position, selections may have a tag that doesn't cover
  6996. the position if the selection is at a tag border
  6997. - Fixed off-by-one errors in DeleteChars()
  6998. - Added missing streamlining check in DeleteChars() to remove
  6999. zero-length tags
  7000. - Implemented Invalidate() method, now properly calculates exposures
  7001. between two given lines/positions
  7002. - Implemented SetSelection()
  7003. - Obsoleted and removed FixupSelection()
  7004. - Improved RecalculateDocument() logic, removing code duplication
  7005. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  7006. * LibSupport.cs: changes to match different input/output arguments.
  7007. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  7008. * LibSupport.cs: added libsupport.so init routine.
  7009. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  7010. * ControlBindingsCollection.cs
  7011. - Throws an exception on null datasource when adding
  7012. - Checks for duplicated bindings when adding
  7013. 2005-06-28 Jackson Harper <[email protected]>
  7014. * TreeView.cs (OnKeyDown): Support left and right properly
  7015. (navigates as well as expanding and collapsing.
  7016. - Add support for Multiply, this expands all the selected nodes
  7017. children.
  7018. - Fix some tabbing.
  7019. 2005-06-28 Jackson Harper <[email protected]>
  7020. * TreeView.cs: Implement keyboard navigation, currently supports,
  7021. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  7022. support for toggling checkboxes with the space bar.
  7023. 2005-06-28 Jackson Harper <[email protected]>
  7024. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  7025. tree.
  7026. 2005-06-28 Jackson Harper <[email protected]>
  7027. * TreeView.cs: Add missing event.
  7028. 2005-06-27 Peter Bartok <[email protected]>
  7029. * TextControl.cs:
  7030. - Made line ending size configurable (now allows for counting
  7031. lineendings as \n or \r\n)
  7032. - Added margin to viewport to keep caret visible on right side
  7033. - Fixed translation routines for line/pos to documentpos to consider
  7034. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  7035. - Fixed some line-endings to be unix style
  7036. - Fixed Document.FormatText to perform it's calculations 1-based
  7037. - Added descriptions for a few methods that might otherwise get
  7038. used wrong
  7039. - Added NOTE section with some basic conventions to remember at
  7040. the top of the file
  7041. - Major fixup for RichTextBox selection drawing:
  7042. * Fixed crashes when multiple tags on a single line were selected
  7043. * fixed selection box drawing not overlaying text
  7044. * fixed bogus offset calculation for tags not starting at index 1
  7045. * Switched behaviour from using multiple Substrings of a
  7046. StringBuilder.ToString() to using multiple
  7047. StringBuilder.ToString(start, length) statements, hoping this is
  7048. faster (kept original version commented out in the code, in case
  7049. original version was faster)
  7050. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  7051. alignment != Left
  7052. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  7053. call it as well
  7054. 2005-06-27 Jackson Harper <[email protected]>
  7055. * TabControl.cs: Move to the left and right with the arrow
  7056. keys. These keys don't cycle beyond first and last like
  7057. tab. Refresh all the tabs when scrolling them to the left or
  7058. right.
  7059. 2005-06-27 Jackson Harper <[email protected]>
  7060. * TabControl.cs:
  7061. - ToString: Added method
  7062. - CreateParams: Remove TODO and comment
  7063. - OnKeyDown: Cycle through bounds properly.
  7064. - SelectedIndex: Scroll to the right or left if we need to
  7065. display the newly selected tab.
  7066. 2005-06-23 Jackson Harper <[email protected]>
  7067. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  7068. set.
  7069. 2005-06-23 Jackson Harper <[email protected]>
  7070. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  7071. CTRL-SHIFT-TAB, and HOME, END are there any others?
  7072. 2005-06-23 Jackson Harper <[email protected]>
  7073. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  7074. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  7075. * DataGridTextBoxColumn.cs: fixes and enhancements
  7076. * ThemeWin32Classic.cs: fixes and enhancements
  7077. * DataGridBoolColumn.cs: fixes and enhancements
  7078. * DataGridDrawingLogic.cs: fixes and enhancements
  7079. * CurrencyManager.cs: fixes and enhancements
  7080. * DataGrid.cs: fixes and enhancements
  7081. * DataGridColumnStyle.cs: fixes and enhancements
  7082. 2005-06-22 Jackson Harper <[email protected]>
  7083. * TabControl.cs: Add some missing methods that just call into the
  7084. base. Make the TabPageCollection's IList interface behave in the
  7085. same manner as the MS implementation.
  7086. 2005-06-22 Peter Bartok <[email protected]>
  7087. * TextControl.cs: Added sanity check
  7088. * TextBoxBase.cs:
  7089. - Fixed wrapping behaviour, don't set wrap on single line controls
  7090. (this fixes the breakage of colordialog introduced in an earlier
  7091. checkin)
  7092. - Added rudimentary support for autoscrolling right-aligned controls
  7093. (still needs fixing, also, center alignment scroll is missing)
  7094. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  7095. * ScrollBar.cs: Fixes thumbpos on Maximum values
  7096. 2005-06-21 Jonathan Chambers <[email protected]>
  7097. * PropertyGridView.cs: Pass context information to UITypeEditors
  7098. 2005-06-21 Peter Bartok <[email protected]>
  7099. * TextBoxBase.cs:
  7100. - Now calling PositionCaret with absolute space coordinates
  7101. - Enabled vertical scrolling
  7102. - Better tracking of scrollbar changes, tied into WidthChange
  7103. event
  7104. - Improved cursor tracking
  7105. - Removed debug output
  7106. * TextControl.cs:
  7107. - PositionCaret coordinates are now works in absolute space, not
  7108. the canvas
  7109. - Improved tracking of document size
  7110. - Added events for width and height changes
  7111. 2005-06-21 Peter Bartok <[email protected]>
  7112. * Form.cs: Set focus to active control when form is activated
  7113. * TextControl.cs:
  7114. - Added word-wrap functionality to RecalculateLine()
  7115. - Added some short function descriptions for VS.Net to aid in
  7116. writing dependent controls
  7117. - Added Caret property, returning the current coords of the caret
  7118. - Added ViewPortWidth and ViewPortHeight properties
  7119. - Added Wrap property
  7120. - Added CaretMoved event
  7121. - Removed some old debug code
  7122. - Split() can now create soft splits
  7123. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  7124. - Added method to format existing text
  7125. - Fixed size/alignment calculations to use viewport
  7126. - RecalculateDocument now can handle changing line-numbers while
  7127. calculating lines
  7128. * TextBox.cs:
  7129. - Added some wrap logic, we don't wrap if alignment is not left
  7130. - Added casts for scrollbar var, base class switched types to
  7131. also support RichTextBoxA
  7132. - Implemented handling of scrollbar visibility flags
  7133. * TextBoxBase.cs:
  7134. - Switched scrollbars type to RichTextBoxScrollBars to support
  7135. RichTextBox
  7136. - Added tracking of canvas width/height
  7137. - Switched scrollbars to be not selectable (to keep focus on text)
  7138. - Added central CalculateDocument() method to handle all redraw
  7139. requirements
  7140. - Added ReadOnly support
  7141. - Added WordWrap support
  7142. - Fixed handling of Enter key (we now treat it as a DialogKey)
  7143. - Fixed caret positioning when h or v scroll is not zero
  7144. - Fixed placing/generation of vertical scrollbar
  7145. - Added CalculateScrollBars() method to allow updating scrollbar
  7146. limits and visibility
  7147. - Fixed handling of horizontal scroll
  7148. - Added handling of vertical scroll
  7149. - Implemented auto-'jump' when caret moves to close to a left or
  7150. right border and there is text to be scrolled into view (currently
  7151. there's the potential for a stack overflow, until a bug in
  7152. scrollbar is fixed)
  7153. 2005-06-21 Geoff Norton <[email protected]>
  7154. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  7155. 2005-06-19 Alexander Olk <[email protected]>
  7156. * Mime.cs:
  7157. - added inodes.
  7158. - return application/x-zerosize for files with size zero
  7159. (if no extension pattern matches).
  7160. - check matches collection for strings too.
  7161. - return only the first mime type if the name value
  7162. collection has more than one mime type.
  7163. 2005-06-18 Jonathan Chambers <[email protected]>
  7164. * PropertyGrid.cs: Cleaned up some TODOs
  7165. * PropertyGridView.cs: Added support for UITypeEditors
  7166. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  7167. * DataGrid.cs: clears cached value
  7168. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  7169. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  7170. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  7171. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  7172. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  7173. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  7174. * ThemeWin32Classic.cs: fixes colour
  7175. 2005-06-15 Peter Bartok <[email protected]>
  7176. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  7177. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  7178. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  7179. * Control.cs: Added some MWFCategory and MWFDescription attributes
  7180. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  7181. 2005-06-15 Alexander Olk <[email protected]>
  7182. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  7183. usage
  7184. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  7185. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  7186. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  7187. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  7188. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  7189. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  7190. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  7191. 2005-06-13 Jackson Harper <[email protected]>
  7192. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  7193. isn't printed when the user enables dropping. (X11 does accept
  7194. drops).
  7195. 2005-06-13 Jackson Harper <[email protected]>
  7196. * TreeView.cs: Remove some TODOS.
  7197. 2005-06-13 Jackson Harper <[email protected]>
  7198. * Form.cs: Hook into the mdi framework.
  7199. * MdiClient.cs: Use the base control collections add method so
  7200. parents get setup correctly. Set the default back colour and dock
  7201. style.
  7202. * MdiChildContext.cs: New class, this bad actor handles an
  7203. instance of an MDI window. Right now there is only basic
  7204. support. You can drag, close, and resize windows. Minimize and
  7205. Maximize are partially implemented.
  7206. 2005-06-13 Jackson Harper <[email protected]>
  7207. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  7208. freaky when both vals are negative. NOTE: There are probably other
  7209. places in XplatUIX11 that this needs to be done.
  7210. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  7211. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  7212. * DataGridColumnStyle.cs: fixes signature
  7213. 2005-06-12 Jackson Harper <[email protected]>
  7214. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  7215. windows.
  7216. 2005-06-11 Jackson Harper <[email protected]>
  7217. * StatusBarPanel.cs: Signature cleanups. Implement
  7218. BeginInit/EndInit.
  7219. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  7220. * DataGridTextBoxColumn.cs: Honors aligment
  7221. * GridColumnStylesCollection.cs: Contains is case unsensitive
  7222. * GridTableStylesCollection.cs: several fixes
  7223. * DataGridTableStyle.cs: default column creation
  7224. * DataGridDrawingLogic.cs: fixes
  7225. * CurrencyManager.cs: ListName property
  7226. * DataGrid.cs: multiple styles support
  7227. * DataGridColumnStyle.cs: fixes
  7228. 2005-06-10 Peter Bartok <[email protected]>
  7229. * Control.cs(Select): Moved SetFocus call to avoid potential
  7230. loops if controls change the active control when getting focus
  7231. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  7232. the up/down buttons
  7233. 2005-06-10 Matthias Felgner <[email protected]>
  7234. * ImageListConverter.cs: Implemented
  7235. 2005-06-10 John BouAntoun <[email protected]>
  7236. * MonthCalendar.cs: Wired in NumericUpDown control for year
  7237. 2005-06-10 John BouAntoun <[email protected]>
  7238. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  7239. DoubleClick events, since they are not meant to be fired.
  7240. 2005-06-09 Peter Bartok <[email protected]>
  7241. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  7242. Jonathan's standalone controls into MWF, implemented missing
  7243. events, attributes and methods; added xxxAccessible classes
  7244. * AccessibleObject.cs: Made fields internal so other classes
  7245. can change them if needed
  7246. 2005-06-09 Jonathan Gilbert <[email protected]>
  7247. * UpDownBase.cs: Complete implementation
  7248. * NumericUpDown.cs: Complete implementation
  7249. * DomainUpDown.cs: Complete implementation
  7250. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  7251. * DataGridTextBoxColumn.cs: drawing fixes
  7252. * DataGridCell.cs: fixes ToString method to match MSNet
  7253. * DataGridTableStyle.cs: fixes
  7254. * DataGridBoolColumn.cs: fixes, drawing
  7255. * DataGridDrawingLogic.cs: fixes, new methods
  7256. * DataGridTextBox.cs: Keyboard and fixes
  7257. * DataGrid.cs:
  7258. - Keyboard navigation
  7259. - Scrolling fixes
  7260. - Row selection (single, multiple, deletion, etc)
  7261. - Lots of fixes
  7262. 2005-06-07 Jackson Harper <[email protected]>
  7263. * ThemeWin32Classic.cs: Clear the background area when drawing
  7264. buttons.
  7265. 2005-06-06 Peter Bartok <[email protected]>
  7266. * ImageListStreamer.cs: Fixed signature for GetData
  7267. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  7268. * ComboBox.cs:
  7269. - Added missing ChildAccessibleObject class
  7270. - Added missing OnXXXFocus overrides, switched to using those
  7271. instead of the event handler
  7272. * Control.cs:
  7273. - Added Parent property for ControlAccessibleObject
  7274. - Fixed signatures
  7275. - Fixed attributes
  7276. - Added ResetBindings()
  7277. * ListBindingConverter.cs: Implemented some methods
  7278. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  7279. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  7280. * ContainerControl.cs: Fixed signature, now subscribing to the
  7281. ControlRemoved event instead of overriding the handler, LAMESPEC
  7282. * CurrencyManager.cs: Added missing attribute
  7283. * MonthCalendar.cs: Added missing properties
  7284. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  7285. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  7286. 2005-06-06 Gaurav Vaish and Ankit Jain
  7287. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  7288. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  7289. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  7290. * Control.cs: fixes CreateParams Width / Height.
  7291. 2005-06-05 Peter Bartok <[email protected]>
  7292. * Win32DnD.cs: Removed compilation warnings
  7293. 2005-06-05 Peter Bartok <[email protected]>
  7294. * Control.cs (CreateParams): Since we don't know if one of the
  7295. properties we use is overridden, lets make sure if we fail accessing
  7296. we continue with a backup plan
  7297. 2005-06-05 Peter Bartok <[email protected]>
  7298. * Win32DnD.cs:
  7299. - Removed debug output
  7300. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  7301. struct
  7302. - Plugged resource leak
  7303. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  7304. MS size
  7305. 2005-06-05 Peter Bartok <[email protected]>
  7306. * XplatUIWin32.cs: Removed DnD code
  7307. * Win32DnD.cs: Implemented drop source and drop target functionality
  7308. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  7309. * UpDownBase.cs: remove duplicate addition of event, enable some code
  7310. that was commented out.
  7311. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  7312. Validate input when a key is pressed. It works fine now for every
  7313. combination of Hexadecimal. Only missing some drawing love when sharing
  7314. space with other controls.
  7315. 2005-06-04 Peter Bartok <[email protected]>
  7316. * Control.cs:
  7317. - We need to pass a window for DragDrop, so enable callback events
  7318. - Added DnD callback events when being a DragSource
  7319. * XplatUI.cs (StartDrag): Added window handle argument
  7320. * XplatUIDriver.cs (StartDrag): Added window handle argument
  7321. * QueryContinueDragEventArgs: Made fields internally accessible so
  7322. drivers can set them
  7323. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  7324. can set them
  7325. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  7326. * DataGridTextBoxColumn.cs: column text editing
  7327. * DataGridTableStyle.cs: Respect columns styles created by the user
  7328. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  7329. * DataGridBoolColumn.cs: bool column editing
  7330. * DataGrid.cs: fixes to scrolling, properties, etc
  7331. * DataGridTextBox.cs: handle keyboard
  7332. * DataGridColumnStyle.cs: fixes
  7333. 2005-06-02 Jackson Harper <[email protected]>
  7334. * ImageListStreamer.cs: Somewhat broken implementation of
  7335. GetObjectData. The RLE needs some work to match MS properly.
  7336. 2005-06-02 Jackson Harper <[email protected]>
  7337. * X11Dnd.cs: Attempting to keep at least one file in MWF
  7338. monostyled.
  7339. 2005-06-02 Peter Bartok <[email protected]>
  7340. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  7341. that way
  7342. 2005-06-02 Peter Bartok <[email protected]>
  7343. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  7344. * XplatUI.cs: Added DoDragDrop() method
  7345. * XplatUIDriver.cs: Added DoDragDrop() method
  7346. 2005-06-02 Jackson Harper <[email protected]>
  7347. * Splitter.cs: Implement BorderStyle.
  7348. 2005-06-02 Jackson Harper <[email protected]>
  7349. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  7350. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  7351. X11 using XDND.
  7352. 2005-06-02 Peter Bartok <[email protected]>
  7353. * DataObject.cs:
  7354. - Added Data setter
  7355. - Fixed broken insertion code for SetData, now also
  7356. overwrites any existing entry of the same format name
  7357. * Hwnd.cs: Added list of pointers that automatically gets
  7358. freed when the window is disposed
  7359. * XplatUI.cs: Call driver initialization method when loading
  7360. a driver
  7361. * Control.cs:
  7362. - OnDragLeave takes EventArgs, not DragEventArgs
  7363. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  7364. supported
  7365. - Forces style update when drop state changes
  7366. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  7367. not perfect since we cannot (yet) call the IDataObject.GetData()
  7368. method, we keep getting 0x80004005 error, dunno why)
  7369. 2005-06-02 Peter Bartok <[email protected]>
  7370. * DragEventArgs.cs: Make fields internal so we can cache the
  7371. object and re-set the fields from XplatUI
  7372. 2005-06-02 Jackson Harper <[email protected]>
  7373. * Control.cs: Add some internal methods so the DnD subsystem can
  7374. raise DnD events. Also call into the driver when AllowDrop is set.
  7375. * XplatUI.cs:
  7376. * XplatUIDriver.cs: New method for setting whether or not a window
  7377. is allowed to accept drag and drop messages.
  7378. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  7379. * ScrollBar.cs: Make sure that values sent in Scroll events
  7380. are always between Maximum and Minimum.
  7381. 2005-06-01 Marek Safar <[email protected]>
  7382. * Menu.cs: Call MenuChanged when menuitem visibility has been
  7383. changed.
  7384. * MenuItem.cs: Rebuild menu when item is (not) visible.
  7385. * MainMenu.cs: MainMenu has special MenuChanged.
  7386. * Theme.cs: Caption and FrameBorderSize are not fixed.
  7387. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  7388. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  7389. * XplatUIX11.cs,
  7390. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  7391. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  7392. 2005-05-30 Jackson Harper <[email protected]>
  7393. * DataFormat.cs: We can't statically initialize this stuff because
  7394. it calls into the xplatui and could create a loop. So we lazy init
  7395. it.
  7396. 2005-05-28 Jackson Harper <[email protected]>
  7397. * Control.cs: Proper implementation of Product(Name/Version).
  7398. 2005-05-27 Jackson Harper <[email protected]>
  7399. * DataObject.cs: Dont crash if no data is found.
  7400. 2005-05-26 Rafael Teixeira <[email protected]>
  7401. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  7402. as per status page, guessing it should be set to true
  7403. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  7404. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  7405. * DataGridTableStyle.cs: set proper formatting text, def header text
  7406. * ThemeWin32Classic.cs: new themable paramaters
  7407. * DataGridBoolColumn.cs: paint check box, get data, fixes
  7408. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  7409. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  7410. * DataGridColumnStyle.cs: fixes
  7411. * Theme.cs: new themable paramaters
  7412. 2005-05-26 Peter Bartok <[email protected]>
  7413. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  7414. 2005-05-24 Jonathan S. Chambers <[email protected]>
  7415. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  7416. 2005-05-24 Peter Bartok <[email protected]>
  7417. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  7418. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  7419. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  7420. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  7421. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  7422. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  7423. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  7424. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  7425. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  7426. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  7427. missing attributes, etc
  7428. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  7429. 2005-05-24 Peter Bartok <[email protected]>
  7430. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  7431. when user tries to get help
  7432. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  7433. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  7434. to suppress warnings
  7435. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  7436. avoid unreachable code warning
  7437. 2005-05-20 Peter Bartok <[email protected]>
  7438. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  7439. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  7440. * DataGridTextBoxColumn.cs: Basic painting methods
  7441. * DataGridTableStyle.cs: Set table style in the column
  7442. * ThemeWin32Classic.cs: Use Theme for colors
  7443. * DataGridDrawingLogic.cs: Implement more drawing
  7444. * DataGrid.cs: drawing, theming, enhacements, fixes
  7445. * DataGridColumnStyle.cs: fixes, drawing
  7446. * Theme.cs: theming for Datagrid
  7447. 2005-05-20 Peter Bartok <[email protected]>
  7448. * Cursor.cs: Implemented GetObjectData() method
  7449. 2005-05-20 Peter Bartok <[email protected]>
  7450. * Cursors.cs: Added setting of cursor name
  7451. * Cursor.cs:
  7452. - Implemented constructors
  7453. - Implemented Draw and DrawStretched
  7454. - Implemented Current property
  7455. - Implemented == and != operators
  7456. - Implemented Dispose()
  7457. - Implemented ToString
  7458. - Added missing attributes
  7459. * XplatUIX11.cs:
  7460. - Added missing reset for OverrideCursor when DoEvents is called
  7461. - Fixed creation of cursor, logic was wrong
  7462. * XplatUIWin32.cs:
  7463. - Added missing reset for OverrideCursor when DoEvents is called
  7464. - Fixed creation of cursor, bit arrays were swapped
  7465. * Clipboard.cs: Removed obsolete MonoTODO attribute
  7466. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  7467. * ComboBox.cs: fixes OnSelectedItemChanged
  7468. * ControlBindingsCollection.cs: fixes item range check
  7469. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  7470. * UpDownBase.cs:
  7471. - Calc preferred height properly
  7472. - Implement missing properties
  7473. * NumericUpDown.cs: Implement missing events
  7474. 2005-05-19 Jackson Harper <[email protected]>
  7475. * TabControl.cs: New method that resizes the tab pages before
  7476. redrawing them. This as needed as the control is double buffered
  7477. and sizing will not be recalculated unless ResizeTabPages is
  7478. called.
  7479. * TabPage.cs: Set base.Text instead of Text in the constructor so
  7480. that UpdateOwner does not get called. Use the new Redraw method of
  7481. TabControl instead of Refresh so the sizing is recalculated.
  7482. * ThemeWin32Classic.cs: Draw the text for button tabs.
  7483. 2005-05-19 Jackson Harper <[email protected]>
  7484. * Control.cs: Paint control background images. Fix typo where
  7485. PaintControlBackground was not getting called correctly.
  7486. 2005-05-19 Peter Bartok <[email protected]>
  7487. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  7488. I can investigate, apparently I broke FileDialog
  7489. 2005-05-19 Marek Safar <[email protected]>
  7490. * AxHost.cs: Some simple properties.
  7491. * Control.cs: window must be accessible after ctor.
  7492. * Form.cs: Added TransparencyKey property.
  7493. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  7494. * XplatUIWin32.cs: SetBorderStyle implemented.
  7495. 2005-05-18 Peter Bartok <[email protected]>
  7496. * DataObject.cs: Entries are not global but particular to the
  7497. DataObject, now it behaves that way
  7498. * XplatUIWin32.cs: Implemented Clipboard methods
  7499. * Clipboard.cs: Implemented
  7500. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  7501. * XplatUIOSX.cs: Updated to final clipboard prototypes
  7502. * XplatUIX11.cs: Implemented Clipboard methods
  7503. * XplatUIDriver.cs: Updated to final clipboard prototypes
  7504. * XplatUIStructs.cs:
  7505. - Added BITMAPINFOHEADER struct
  7506. - Added ClipboardFormats enum
  7507. * X11Structs.cs:
  7508. - Added ClipboardStruct
  7509. - Added Atom enum items for clipboard types
  7510. - Fixed atom types for Selection event structures
  7511. * DataFormats.cs:
  7512. - Added internal properties and methods for drivers to enumerate
  7513. all known formats
  7514. - Switched initialization method to allow drivers to assign their
  7515. own IDs even for the MS predefined clipboard IDs
  7516. * XplatUI.cs: Updated to final clipboard interface
  7517. 2005-05-18 Jonathan S. Chambers <[email protected]>
  7518. * PropertyGridView.cs: Fixed compiler warnings.
  7519. 2005-05-18 Jonathan S. Chambers <[email protected]>
  7520. * PropertyGrid.cs: Added some event calls
  7521. * PropertyGridView.cs: Change drawing code to use double buffering
  7522. * PropertyGridTextBox.cs: Changed Text property name
  7523. * GridItem.cs: Added Bounds property.
  7524. * GridEntry.cs: Added Bounds property.
  7525. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  7526. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  7527. since GetType() may not return the correct type if the object is
  7528. a remoting proxy.
  7529. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  7530. * TreeNodeCollection.cs: fixes get/set item ranges
  7531. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  7532. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  7533. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  7534. * ComboBox.cs: Fix item range comparation
  7535. * ListView.cs: Fix item range comparation
  7536. 2005-05-03 Alexander Olk <[email protected]>
  7537. * FontDialog.cs:
  7538. - Clear example panel when OnPaint is called
  7539. - Better solution for displaying the example panel text
  7540. - Select default indexes in the ListBoxes
  7541. 2005-05-11 Geoff Norton <[email protected]>
  7542. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  7543. 2005-05-11 Peter Bartok <[email protected]>
  7544. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  7545. * SelectionRangeConverter.cs: Implemented
  7546. * PropertyGrid.cs: Fixed attribute value
  7547. * Control.cs:
  7548. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  7549. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  7550. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  7551. that's common to all drivers. First methods to go there are
  7552. Sebastien Pouliot's CAS Stack Propagation helper methods
  7553. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  7554. Sebastien Pouliot for CAS Stack Propagation
  7555. 2005-05-11 Geoff Norton <[email protected]>
  7556. * OSXStructs.cs:
  7557. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  7558. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  7559. * DataGridTextBoxColumn.cs: fixed some members
  7560. * GridColumnStylesCollection.cs: indexed column is case insensitive
  7561. * DataGridTableStyle.cs: fixes
  7562. * ThemeWin32Classic.cs: add new theme parameter
  7563. * Theme.cs: add new theme parameter
  7564. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  7565. * DataGrid.cs: fixes, new internal properties, etc.
  7566. * DataGridColumnStyle.cs: allows to set grid value
  7567. *
  7568. 2005-05-10 Peter Bartok <[email protected]>
  7569. * AccessibleObject.cs:
  7570. - Removed MonoTODO attribute on help, method is correct
  7571. - Fixed Bounds property
  7572. * AxHost.cs: Moved MonoTODO
  7573. * ButtonBase.cs: Now setting AccessibleObject properties
  7574. * RadioButton.cs: Setting proper AccessibleObject role
  7575. * CheckBox.cs: Setting proper AccessibleObject role
  7576. * ControlBindingsCollection.cs: Added properties, methods and attributes
  7577. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  7578. userdefined DataFormats.Format items as well
  7579. * ListControl.cs: Removed data_member from the public eye
  7580. * OpenFileDialog.cs:
  7581. - Made class sealed
  7582. - Added missing attributes
  7583. * SaveFileDialog.cs: Added missing attributes
  7584. * ImageListStreamer.cs: Fixed code that caused warnings
  7585. * LinkLabel.cs: Removed unreachable code
  7586. * TreeView.cs: Fixed code that caused warnings
  7587. * PropertyGridView.cs: Fixed code that caused warnings
  7588. * GridColumnStylesCollection.cs: Added missing attributes
  7589. * GridTableStylesCollection: Added missing attribute
  7590. * PropertyManager: Added .ctor
  7591. * SecurityIDType: Added
  7592. * DataObject.cs: Implemented class
  7593. * LinkArea.cs: Added missing attribute
  7594. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  7595. * RadioButton.cs: call base method to allow to fire OnClick event
  7596. * UpDownBase.cs: OnMouseUp call base method
  7597. * CheckedListBox.cs: call base method before returning
  7598. * TrackBar.cs: call base method before returning
  7599. 2005-05-10 Peter Bartok <[email protected]>
  7600. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  7601. for messages
  7602. 2005-05-10 Peter Bartok <[email protected]>
  7603. * DataFormats.cs: Implemented
  7604. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  7605. XplatUIX11.cs: Added Clipboard APIs
  7606. * XplatUIWin32.cs: Implemented Clipboard APIs
  7607. * FolderBrowserDialog.cs: Added missing event, attributes
  7608. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  7609. * CheckBox.cs: call base method to allow to fire OnClick event
  7610. 2005-05-09 Sebastien Pouliot <[email protected]>
  7611. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  7612. 2005-05-06 Peter Bartok <[email protected]>
  7613. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  7614. * Screen.cs: Implemented
  7615. * HelpNavigator.cs: Added
  7616. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  7617. property
  7618. * HelpProvider.cs: Implemented all we can do until we have a CHM
  7619. help library (which means that "What's This" does work now)
  7620. 2005-05-06 Jackson Harper <[email protected]>
  7621. * XplatUIX11.cs: Fix waking up the main loop.
  7622. 2005-05-05 Peter Bartok <[email protected]>
  7623. * XplatUI.cs: Updated revision
  7624. * Form.cs: Removed enless loop
  7625. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  7626. * Label.cs (OnPaint): Added call to base.OnPaint()
  7627. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  7628. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  7629. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  7630. * AxHost.cs: Added
  7631. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  7632. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  7633. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  7634. reuse of ToolTipWindow by other controls
  7635. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  7636. * XplatUIX11.cs: Now clipping drawing area (experimental)
  7637. * PictureBox.cs: Moved base.OnPaint() call to end of method
  7638. * Theme.cs: Fixed ToolTip abstracts to match new format
  7639. * ErrorProvider.cs: Implemented
  7640. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  7641. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  7642. * LinkLabel.cs:
  7643. - Adds cursors
  7644. - Handles focus
  7645. - Implements LinkBehavior
  7646. - Fixes many issues
  7647. 2005-05-03 Jackson Harper <[email protected]>
  7648. * ListView.cs: Calculate the scrollbar positioning on resize and
  7649. paint, so they get put in the correct place.
  7650. 2005-05-03 Alexander Olk <[email protected]>
  7651. * ColorDialogs.cs: The small color panels are now handled by
  7652. SmallColorControl. This fixes drawing of the focus rectangle
  7653. and adds a 3D border.
  7654. 2005-05-03 Peter Bartok <[email protected]>
  7655. * Control.cs: Modified version of Jonathan Chamber's fix for
  7656. double-buffering
  7657. 2005-05-03 Jackson Harper <[email protected]>
  7658. * ListView.cs: Remove redraw variable. Control now handles whether
  7659. or not a redraw needs to be done, and will only raise the paint
  7660. event if redrawing is needed.
  7661. 2005-05-03 Jackson Harper <[email protected]>
  7662. * Splitter.cs: No decorations for the splitter form. Cache the
  7663. hatch brush.
  7664. 2005-05-03 Jackson Harper <[email protected]>
  7665. * TreeView.cs: Use dashed lines to connect nodes. Use the
  7666. ControlPaint method for drawing the focus rect instead of doing
  7667. that in treeview.
  7668. 2005-05-02 Peter Bartok <[email protected]>
  7669. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  7670. 2005-04-29 Jackson Harper <[email protected]>
  7671. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  7672. entire image buffer. Just clear the clipping rectangle.
  7673. 2005-04-29 Jackson Harper <[email protected]>
  7674. * ThemeWin32Classic.cs: Don't draw list view items that are
  7675. outside the clipping rectangle.
  7676. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  7677. * ListBox.cs: added horizontal item scroll
  7678. 2005-04-29 Jackson Harper <[email protected]>
  7679. * ThemeWin32Classic.cs: Remove some old debug code that was
  7680. causing flicker with the new double buffering code.
  7681. 2005-04-29 John BouAntoun <[email protected]>
  7682. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  7683. behave like combobox and comboboxlist (still not sure if this is
  7684. correct though).
  7685. 2005-04-28 Jackson Harper <[email protected]>
  7686. * ThemeWin32Classic.cs: Don't fill the middle of progress
  7687. bars. This fills areas outside of the clip bounds that don't need
  7688. to be filled.
  7689. 2005-04-28 Jackson Harper <[email protected]>
  7690. * Control.cs: Don't expose functionality to touch the image buffers.
  7691. * ProgressBar.cs:
  7692. * ListView.cs: We do not need to (and no longer can) manipulate
  7693. the image buffers directly. All of this is handled by Control.
  7694. 2005-04-28 Peter Bartok <[email protected]>
  7695. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  7696. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  7697. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  7698. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  7699. * Combobox:
  7700. - Adjust control's height for non-simple comboboxes (bug fix)
  7701. - Remove dead code
  7702. * MenuAPI.cs: remove unused var
  7703. * ScrollBar.cs: remove unsed var
  7704. * ListBox.cs: unselect items when clearing
  7705. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  7706. * ListControl.cs: honors OnPositionChanged and default Selected Item
  7707. * ListBox.cs: unselect items when clearing
  7708. 2005-04-27 Jackson Harper <[email protected]>
  7709. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  7710. if a "correct" keyboard is not found. This will make us not crash,
  7711. but might give some users bad keyboard layouts...seems to be the
  7712. same thing rewind does.
  7713. 2005-04-27 Jackson Harper <[email protected]>
  7714. * BindingManagerBase.cs: Attach the current/position changed
  7715. handlers to their respective events.
  7716. 2005-04-27 Jackson Harper <[email protected]>
  7717. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  7718. not just a blit.
  7719. * ThemeWin32Classic.cs: Don't fill the background for picture
  7720. boxes. This could overright user drawing.
  7721. * ComboBox.cs: Just fill the clipping rect not the entire client
  7722. rect when drawing the background. This prevents pieces of the
  7723. image buffer from getting overwritten and is theoretically faster.
  7724. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  7725. * ComboBox.cs: Databinding support fixes, fire missing events
  7726. * ListControl.cs: implement missing methods and properties, fixes
  7727. * ThemeWin32Classic.cs: Databiding support on Drawing
  7728. * CheckedListBox.cs: Databinding support fixes, fire missing events
  7729. * ListBox.cs: Databinding support fixes, fire missing events
  7730. 2005-04-25 Peter Bartok <[email protected]>
  7731. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  7732. 2005-04-25 Jackson Harper <[email protected]>
  7733. * TreeView.cs: Use the horizontal scrollbars height not width when
  7734. determining how much of the client area is available.
  7735. 2005-04-25 Jackson Harper <[email protected]>
  7736. * Control.cs: Double buffering is handled differently now. As per
  7737. the spec, the extra buffer is created in the WM_PAINT message and
  7738. passed down to the control's drawing code.
  7739. * GroupBox.cs:
  7740. * Label.cs:
  7741. * CheckBox.cs:
  7742. * ProgressBar.cs:
  7743. * RadioButton.cs:
  7744. * ColorDialog.cs:
  7745. * ComboBox.cs:
  7746. * PropertyGridView.cs:
  7747. * UpDownBase.cs:
  7748. * MessageBox.cs:
  7749. * MenuAPI.cs:
  7750. * ListView.cs:
  7751. * ButtonBase.cs:
  7752. * SizeGrip.cs:
  7753. * ScrollBar.cs:
  7754. * ListBox.cs:
  7755. * TrackBar.cs:
  7756. * ToolBar.cs:
  7757. * PictureBox.cs:
  7758. * DateTimePicker.cs:
  7759. * StatusBar.cs:
  7760. * TreeView.cs: Update to new double buffering system.
  7761. * MonthCalendar.cs: Uncomment block, as Capture is now
  7762. working. Update to new double buffering
  7763. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  7764. * PaintEventArgs.cs: New internal method allows us to set the
  7765. graphics object. This is used for double buffering.
  7766. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  7767. rectangle. The internal paint_area var has been removed from
  7768. StatusBar. The clipping rect should be used instead.
  7769. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  7770. * TabPage.cs: The RefreshTabs method was removed, so just call the
  7771. tab controls Refresh method now.
  7772. * TabControl.cs: Update to new double buffering. Make sure the
  7773. handle is created before sizing the tab pages, otherwise we will
  7774. get stuck in a loop.
  7775. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  7776. * LinkLabel.cs: Fix typo, bug #74719; patch
  7777. from Borja Sanchez Zamorano
  7778. 2005-04-22 Jackson Harper <[email protected]>
  7779. * TreeNode.cs: Implement Handle stuff.
  7780. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  7781. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  7782. * DataGridTextBoxColumn.cs: call base constructors, fixes
  7783. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  7784. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  7785. * DataGridTableStyle.cs: implements create default column styles
  7786. * DataGridBoolColumn.cs: which types can handle
  7787. * DataGrid.cs: missing methods, fixes, new functionality
  7788. * DataGridColumnStyle.cs: fixes
  7789. 2005-04-20 Alexander Olk <[email protected]>
  7790. * FolderBrowserDialog.cs:
  7791. - Use a thread to fill the TreeView
  7792. - Adjusted some sizes
  7793. 2005-04-19 Peter Bartok <[email protected]>
  7794. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  7795. property. Fixes #74360.
  7796. 2005-04-19 Jackson Harper <[email protected]>
  7797. * XEventQueue.cs: Lock when getting the lockqueue size.
  7798. * PictureBox.cs: Call base OnPaint
  7799. 2005-04-19 Peter Bartok <[email protected]>
  7800. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  7801. messages were no longer being processed (this broke BeginInvoke)
  7802. 2005-04-18 Jackson Harper <[email protected]>
  7803. * TreeView.cs: buglet that caused node images to get drawn
  7804. regardless of whether or not they were in the clipping rectangle.
  7805. 2005-04-18 Jackson Harper <[email protected]>
  7806. * CurrencyManager.cs: There are four rules for GetItemProperties:
  7807. - If the type is an array use the element type of the array
  7808. - If the type is a typed list, use the type
  7809. - If the list contains an Item property that is not an object, use
  7810. that property
  7811. - use the first element of the list if there are any elements in
  7812. the list.
  7813. 2005-04-17 Jackson Harper <[email protected]>
  7814. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  7815. click. This handles offsets for scrolling properly and reduces
  7816. memory. Also fixed GetNode to not offset now that TopNode works
  7817. properly.
  7818. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  7819. 2005-04-17 Jackson Harper <[email protected]>
  7820. * CursorConverter.cs: Initial implementation.
  7821. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  7822. * ListControl.cs: work towards complex data binding support on ListControl
  7823. * CurrencyManager.cs: work towards complex data binding support on ListControl
  7824. * ListBox.cs: work towards complex data binding support on ListControl
  7825. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  7826. * GridTableStylesCollection.cs: fixes name and constructor
  7827. * DataGridTableStyle.cs: fixes
  7828. * DataGridBoolColumn.cs: fixes names and constructors
  7829. * DataGrid.cs: define methods and properties. Some init implementations
  7830. * DataGridCell.cs: define methods and properties. Some init implementations
  7831. * GridTablesFactory.cs: Define methods and properties
  7832. 2005-04-15 Geoff Norton <[email protected]>
  7833. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  7834. graphics port changes. We still want the coordinates in global screen
  7835. coordinates.
  7836. 2005-04-14 Jackson Harper <[email protected]>
  7837. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  7838. check plus minus or checkbox clicks unless those features are enabled.
  7839. 2005-04-14 Jackson Harper <[email protected]>
  7840. * TreeView.cs: Add methods for setting the top and bottom visible
  7841. nodes. TreeNode::EnsureVisible uses these methods.
  7842. * TreeNode.cs: Implement EnsureVisible
  7843. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  7844. * Form.cs: Pospone menu assignation if the window has not been created yet
  7845. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  7846. size and position
  7847. 2005-04-12 Jackson Harper <[email protected]>
  7848. * TreeView.cs: Set the TopNode properly when scrolling
  7849. occurs. This has the added benifit of reducing the amount of
  7850. walking that needs to be done when drawing. Also removed an old
  7851. misleading TODO.
  7852. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  7853. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  7854. * Timer.cs: fixes interval setting when the timer is already enabled
  7855. 2005-04-10 Alexander Olk <[email protected]>
  7856. * FolderBrowserDialog.cs: First approach
  7857. 2005-04-09 Peter Bartok <[email protected]>
  7858. * FolderBrowserDialog: Added
  7859. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  7860. * LinkLabel.cs: move drawing code into the theme
  7861. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  7862. * Theme.cs: define DrawLinkLabel method
  7863. 2005-04-05 Jackson Harper <[email protected]>
  7864. * BindingContext.cs: Use weak references so these bad actors don't
  7865. stay alive longer then they need to.
  7866. 2005-04-05 Jackson Harper <[email protected]>
  7867. * ListControl.cs: Basic implementation of complex databinding.
  7868. * ComboBox.cs:
  7869. * ListBox.cs: Add calls to ListControl databinding methods.
  7870. 2005-04-05 Alexander Olk <[email protected]>
  7871. * FileDialog.cs:
  7872. - Don't change PopupButtonState to Normal when the
  7873. PopupButton gets pressed several times.
  7874. - Renamed ButtonPanel to PopupButtonPanel
  7875. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  7876. * ColorDialog.cs: Use cached objects instead of creating them
  7877. * LinkLabel.cs: Use cached objects instead of creating them
  7878. * Splitter.cs: Use cached objects instead of creating them
  7879. * FontDialog.cs: Use cached objects instead of creating them
  7880. * PropertyGridView.cs: Use cached objects instead of creating them
  7881. * MessageBox.cs: Use cached objects instead of creating them
  7882. * FileDialog.cs: Use cached objects instead of creating them
  7883. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  7884. * TreeView.cs: Use cached objects instead of creating them
  7885. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  7886. * Control.cs: use Equals to compare the font since no == op
  7887. * ScrollBar.cs: use Equals to compare the font since no == op
  7888. 2005-04-04 Alexander Olk <[email protected]>
  7889. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  7890. 2005-04-01 Jackson Harper <[email protected]>
  7891. * Binding.cs: Implement IsBinding.
  7892. * BindingManagerBase.cs:
  7893. * PropertyManager.cs:
  7894. * CurrencyManager.cs: Add IsSuspended property.
  7895. 2005-04-01 Jackson Harper <[email protected]>
  7896. * Binding.cs: Had some IsAssignableFrom calls backwards.
  7897. 2005-04-01 Jackson Harper <[email protected]>
  7898. * Binding.cs: Handle null data members when pulling data.
  7899. * PropertyManager.cs: Handle the data member being a property that
  7900. does not exist.
  7901. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  7902. * DataGridTextBoxColumn.cs: fixes signature
  7903. * DataGrid.cs: calls right constructor
  7904. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  7905. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  7906. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  7907. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  7908. * DataGridTableStyle.cs: implements DataGridTableStyle
  7909. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  7910. * DataGridTextBox.cs: implements DataGridTextBox
  7911. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  7912. 2005-03-31 Alexander Olk <[email protected]>
  7913. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  7914. 2005-03-29 Peter Bartok <[email protected]>
  7915. * Application.cs:
  7916. - Properly implemented CompanyName property
  7917. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  7918. returns a path that includes CompanyName, ProductName and
  7919. Version (fixes bug #70330)
  7920. 2005-03-29 Stefan Buehler <[email protected]>
  7921. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  7922. fixes bug #72588.
  7923. 2005-03-28 Alexander Olk <[email protected]>
  7924. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  7925. - Added ReadOnly CheckBox
  7926. - Further refactoring: moved some code from Open-/SaveFileDialog
  7927. to FileDialog
  7928. 2005-03-28 Alexander Olk <[email protected]>
  7929. * OpenFileDialog.cs: Fixed CheckFileExists
  7930. * FileDialog.cs:
  7931. Moved FileView and DirComboBox outside FileDialog class.
  7932. They can now be used outside FileDialog
  7933. 2005-03-27 Alexander Olk <[email protected]>
  7934. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  7935. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  7936. 2005-03-27 Alexander Olk <[email protected]>
  7937. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  7938. - Added missing CreatePrompt property in SaveDialog
  7939. - Overall SaveDialog handling should be better now
  7940. - Added non standard ShowHiddenFiles property
  7941. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  7942. - Added InitialDirectory and RestoreDirectory support
  7943. 2005-03-26 Alexander Olk <[email protected]>
  7944. * FileDialog.cs: Made dirComboBox usable
  7945. 2005-03-24 Alexander Olk <[email protected]>
  7946. * FileDialog.cs: Added Filter support (case sensitiv)
  7947. 2005-03-24 Jackson Harper <[email protected]>
  7948. * TabControl.cs: Need a couple more pixels for the lines.
  7949. 2005-03-23 Jackson Harper <[email protected]>
  7950. * TabControl.cs: Give the tab page focus when it is selected.
  7951. 2005-03-23 Jackson Harper <[email protected]>
  7952. * TabControl.cs: Account for the drawing of tabs borders when
  7953. invalidating. If the slider was clicked dont do click detection on
  7954. the tabs.
  7955. 2005-03-23 Jackson Harper <[email protected]>
  7956. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  7957. 2005-03-22 Jonathan Chambers <[email protected]>
  7958. * CategoryGridEntry.cs: Added
  7959. * GridItem.cs: Added helper properties
  7960. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  7961. * GridEntry.cs: Updated code for collection
  7962. * PropertyGrid.cs: Cleaned up some formatting
  7963. * PropertyGridView.cs: Added drop down functionality for enums.
  7964. * GridItemCollection.cs: Added enumerator logic
  7965. * PropertyGridEntry.cs: Added
  7966. 2005-03-19 Alexander Olk <[email protected]>
  7967. * FileDialog.cs:
  7968. - Removed unnecessary commented code
  7969. - Fixed handling for entering the filename manually in the combobox
  7970. 2005-03-19 Alexander Olk <[email protected]>
  7971. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  7972. 2005-03-18 Peter Bartok <[email protected]>
  7973. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  7974. them being touching the border
  7975. 2005-03-18 Peter Bartok <[email protected]>
  7976. * TextControl.cs: Quick hack to center text better
  7977. 2005-03-18 Peter Bartok <[email protected]>
  7978. * ControlPaint.cs:
  7979. - Don't throw NotImplemented exceptions, just print a notice once
  7980. instead (requested by Miguel). This makes running existing SWF
  7981. apps a bit easier
  7982. * Control.cs:
  7983. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  7984. - Added context menu trigger on right click
  7985. * Panel.cs: Trigger invalidate on resize
  7986. * StatusBar.cs:
  7987. - Removed old double-buffer drawing
  7988. - Added ResizeRedraw style to force proper update of statusbar
  7989. * ListView.cs:
  7990. - Removed debug output
  7991. * ThemeWin32Classic.cs:
  7992. - Fixed drawing of status bar, now draws Text property if there
  7993. are no defined panels
  7994. 2005-03-18 Jackson Harper <[email protected]>
  7995. * ImageList.cs: When the image stream is set pull all the images
  7996. from it.
  7997. * ImageListStreamer.cs: Implement reading image list streams.
  7998. 2005-03-18 Peter Bartok <[email protected]>
  7999. * ThemeWin32Classic.cs (DrawPictureBox):
  8000. - Fixed calculations for centered drawing
  8001. - Fixed drawing for normal mode, not scaling the image on normal
  8002. 2005-03-18 Peter Bartok <[email protected]>
  8003. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  8004. textbox
  8005. * FileDialog.cs:
  8006. - Made Open/Save button the accept button for FileDialog
  8007. - Tied the cancel button to the IButtonControl cancel button
  8008. - Save/Open now properly builds the pathname
  8009. - Now handles user-entered text
  8010. - Preventing crash on right-click if no item is selected
  8011. - Fixed Text property, now uses contents of textbox
  8012. - Fixed SelectedText property, now just returns the text part that
  8013. is selected in the text box
  8014. 2005-03-18 Jackson Harper <[email protected]>
  8015. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  8016. rect, make sure to de-adjust the interior rect after drawing the
  8017. tab text.
  8018. 2005-03-18 Peter Bartok <[email protected]>
  8019. * MenuAPI.cs: Remove menu *before* executing selected action to
  8020. prevent the menu from 'hanging around'
  8021. 2005-03-17 Geoff Norton <[email protected]>
  8022. * XplatUIOSX.cs: Implemented WorkingArea property
  8023. 2005-03-17 Peter Bartok <[email protected]>
  8024. * XplatUIX11.cs: Fixed menu coord calculations
  8025. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  8026. for calculating offsets
  8027. 2005-03-17 Peter Bartok <[email protected]>
  8028. * Hwnd.cs: Do not consider menu presence for default client
  8029. rectangle location/size
  8030. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  8031. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  8032. translation functions
  8033. * FileDialog.cs: Fixed (what I presume is a) typo
  8034. 2005-03-17 Jonathan Gilbert <[email protected]>
  8035. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  8036. X access (avoids X-Async errors)
  8037. 2005-03-16 Jackson Harper <[email protected]>
  8038. * TabControl.cs: Raise the SelectedIndexChanged event.
  8039. 2005-03-16 Alexander Olk <[email protected]>
  8040. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  8041. - Removed vertical ToolBar and replaced it with a custom panel
  8042. (desktop and home button already work)
  8043. - Added Help button (some controls get resized or relocated then)
  8044. - Draw correct text depending on Open or Save.
  8045. - Fixed some typos...
  8046. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  8047. * ScrollBar.cs:
  8048. - Only change Maximum and Minimum when need it (bug fix)
  8049. 2005-03-15 Peter Bartok <[email protected]>
  8050. * Form.cs: Use Handle for icon, to trigger creation if
  8051. the window does not yet exist
  8052. * Control.cs:
  8053. - CanSelect: Slight performance improvement
  8054. - Focus(): Preventing possible recursion
  8055. - Invalidate(): Removed ControlStyle based clear flag setting
  8056. - WM_PAINT: fixed logic for calling OnPaintBackground
  8057. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  8058. EraseWindowBackground if the control doesn't paint background
  8059. * XplatUIWin32.cs:
  8060. - Moved EraseWindowBackground() method to internal methods
  8061. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  8062. is sent via SendMessage on BeginPaint call on Win32
  8063. * XplatUIX11.cs:
  8064. - Added EraseWindowBackground() method
  8065. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  8066. PaintEventStart, which more closely matches Win32 behaviour
  8067. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  8068. - Fixed SetFocus() to properly deal with client and whole windows
  8069. * Hwnd.cs: Added ErasePending property
  8070. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  8071. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  8072. 2005-03-12 Geoff Norton <[email protected]>
  8073. * XplatUIOSX.cs:
  8074. - Fix hard loop when timers exist.
  8075. - Fix bugs with middle and right click for 3 button mice.
  8076. 2005-03-11 Peter Bartok <[email protected]>
  8077. * XplatUIX11.cs:
  8078. - get_WorkingArea: Need to call X directly, GetWindowPos only
  8079. returns cached data now
  8080. - Added sanity check to GetWindowPos hwnd usage
  8081. 2005-03-11 Jackson Harper <[email protected]>
  8082. * BindingManagerBase.cs: This method isn't used anymore as
  8083. PullData now updates the data in the control.
  8084. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  8085. * Form.cs: fixes menu drawing on X11
  8086. * MenuAPI.cs: fixes menu drawing on X11
  8087. 2005-03-11 Peter Bartok <[email protected]>
  8088. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  8089. from Jonathan Gilbert; should fix bug #73606
  8090. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  8091. in Screen coordinates. Thanks, Jordi.
  8092. * Form.cs: Added missing attribute
  8093. 2005-03-11 Peter Bartok <[email protected]>
  8094. * Form.cs:
  8095. - Rudimentary Mdi support
  8096. - Removed outdated FormParent code
  8097. - Implemented lots of missing properties and methods, still missing
  8098. transparency support
  8099. - Added missing attributes
  8100. - Implemented support for MaximumBounds
  8101. - Added firing of various events
  8102. * XplatUI.cs: Added SetIcon() method
  8103. * XplatUIDriver.cs: Added SetIcon() abstract
  8104. * XplatUIOSX.cs: Stubbed out SetIcon() method
  8105. * XplatUIX11.cs:
  8106. - Implemented SetIcon() support
  8107. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  8108. - Switched to unix line endings
  8109. * XplatUIWin32.cs:
  8110. - Made POINT internal so for can access it as part of MINMAX
  8111. - Implemented SetIcon() support
  8112. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  8113. native Mdi support again, might have to go managed)
  8114. * Control.cs: Now fires the StyleChanged event
  8115. * MdiClient.cs: Added; still mostly empty
  8116. 2005-03-10 Peter Bartok <[email protected]>
  8117. * SaveFileDialog.cs: Added emtpy file
  8118. 2005-03-08 Peter Bartok <[email protected]>
  8119. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  8120. in turn triggers OnCreateContro) when creating a handle for the
  8121. first time.
  8122. * TextControl.cs: Fixed endless loop in certain cases when
  8123. replacing the current selection
  8124. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  8125. * ScrollBar.cs:
  8126. - Honors NewValue changes in Scroll events allowing apps to change it
  8127. - Adds First and Last Scroll events
  8128. - Fixes Thumb events
  8129. 2005-03-07 Peter Bartok <[email protected]>
  8130. * Hwnd.cs: Added DefaultClientRectangle property
  8131. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  8132. more detailed debug information
  8133. * XplatUIX11.cs:
  8134. - Fixed size-change feedback loop, where we would pull an old size
  8135. off the queue and mistakenly change our window's size to an
  8136. earlier value
  8137. - Now compressing ConfigureNotify events, to reduce looping and
  8138. redraw issues
  8139. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  8140. is called
  8141. 2005-03-07 Jackson Harper <[email protected]>
  8142. * Binding.cs: Push data pushes from data -> property. Check if the
  8143. property is readonly when attempting to set it.
  8144. 2005-03-07 Jackson Harper <[email protected]>
  8145. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  8146. instead of IsSubclassOf. Pulling data now sets the value on the
  8147. control.
  8148. * PropertyManager.cs:
  8149. * CurrencyManager.cs: Just need to pull data when updating now,
  8150. because PullData will set the value on the control.
  8151. 2005-03-04 Jackson Harper <[email protected]>
  8152. * Binding.cs: Implement data type parsing and converting on pulled
  8153. data. TODO: Are there more ways the data can be converted?
  8154. 2005-03-04 Jackson Harper <[email protected]>
  8155. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  8156. controls Validating method so we can repull the data when the
  8157. control loses focus.
  8158. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  8159. * ColumnHeader.cs:
  8160. - Fixes null string format
  8161. * ListView.cs:
  8162. - Adds enum type checks
  8163. - Fixes redrawing and recalc need after changing some properties
  8164. - Fixes on focus_item set after the event
  8165. - Fixes adding columns after the control has been created
  8166. * ThemeWin32Classic.cs:
  8167. - Fixes CheckBox focus rectangle
  8168. - Fixes ColumnHeader drawing
  8169. 2005-03-03 Jackson Harper <[email protected]>
  8170. * Binding.cs: Bind to <Property>Changed events so we can detect
  8171. when properties are changed and update the data.
  8172. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  8173. * ImageList.cs:
  8174. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  8175. - Fixes ImageList constructor with ImageList container
  8176. - Fixes image scaling (wrong parameters at DrawImage)
  8177. 2005-02-02 Jackson Harper <[email protected]>
  8178. * Binding.cs: Make property searches case-insensitive. Eliminate
  8179. some duplicated code.
  8180. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  8181. * ComboBox.cs:
  8182. - Handle focus event
  8183. - Fix scrollbar events
  8184. - Discard highlighted item if remove it
  8185. - Fixes SelectedItem with strings
  8186. 2005-03-01 Peter Bartok <[email protected]>
  8187. * Control.cs:
  8188. - Fixed Visible property, now follows (once again) parent chain
  8189. to return false if any control in the chain is visible=false
  8190. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  8191. - Fixed several places where is_visible instead of Visible was used
  8192. - Implemented FIXME related to focus selection when setting focused
  8193. control to be invisible
  8194. * XplatUIWin32.cs: Now using proper method to find out if window is
  8195. visible. Thanks to Jordi for pointing it out
  8196. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  8197. * ComboBox.cs: show/hide scrollbar instead of creating it
  8198. 2005-02-27 Jackson Harper <[email protected]>
  8199. * CurrencyManager.cs: Add PositionChanged stuff.
  8200. 2005-02-27 Peter Bartok <[email protected]>
  8201. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  8202. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  8203. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  8204. * XplatUIX11.cs:
  8205. - Implemented GetMenuDC()
  8206. - Implemented GetMenuOrigin()
  8207. - Implemented ReleaseMenuDC()
  8208. - Implemented generation of WM_NCPAINT message
  8209. - Implemented generation and handling of WM_NCCALCSIZE message
  8210. * Form.cs: Added debug helper message for Jordi's menu work
  8211. * Hwnd.cs:
  8212. - Modified ClientRect property; added setter, fixed getter to handle
  8213. setting of ClientRect
  8214. - Added MenuOrigin property
  8215. 2005-02-26 Peter Bartok <[email protected]>
  8216. * XplatUIX11.cs:
  8217. - Destroys the caret if a window that's being destroyed contains it
  8218. - Ignores expose events coming from the X11 queue for windows that
  8219. already are destroyed
  8220. - Now uses the proper variable for handling DestroyNotify, before we
  8221. marked the wrong window as destroyed
  8222. - Improved/added some debug output
  8223. 2005-02-26 Peter Bartok <[email protected]>
  8224. * X11Keyboard.cs: Fixes to work on 64bit systems
  8225. 2005-02-26 Peter Bartok <[email protected]>
  8226. * Control.cs:
  8227. - Now calling OnHandleDestroyed from DestroyHandle()
  8228. instead of Dispose()
  8229. - Removed bogus call to controls.Remove() from DestroyHandle()
  8230. 2005-02-26 Peter Bartok <[email protected]>
  8231. * Control.cs: Properly destroy child windows when our handle is
  8232. destroyed
  8233. 2005-02-25 Peter Bartok <[email protected]>
  8234. * XplatUI.cs:
  8235. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  8236. - Alphabetized Static Methods and Subclasses
  8237. * XplatUIX11.cs:
  8238. - Added XException class to allow custom handling of X11 exceptions
  8239. - Created custom X11 error handler, tied into XException class
  8240. - Added support for MONO_XEXCEPTIONS env var to allow the user
  8241. to either throw an exception on X errors or continue running
  8242. after displaying the error
  8243. - Added handling of DestroyNotify message
  8244. - Added handler for CreateNotify message (still disabled)
  8245. - Improved (tried to at least) Where method to provide file and lineno
  8246. * X11Structs.cs:
  8247. - Added XErrorHandler delegate
  8248. - Added XRequest enumeration (to suppor translation of errors)
  8249. 2005-02-25 Jackson Harper <[email protected]>
  8250. * PropertyManager.cs: Implement editing features
  8251. * CurrencyManager.cs:
  8252. * Binding.cs: First attempt at UpdateIsBinding
  8253. * BindingManagerBase.cs: Call UpdateIsBinding before
  8254. pushing/pulling data.
  8255. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  8256. * MenuAPI.cs: Respect disabled items
  8257. * ThemeWin32Classic.cs
  8258. - Caches ImageAttributes creation for DrawImageDisabled
  8259. - Fixes vertical menu line drawing
  8260. - Draws disabled arrows in disable menu items
  8261. 2005-02-24 Peter Bartok <[email protected]>
  8262. * Hwnd.cs:
  8263. - Added UserData property to allow associating arbitrary objects
  8264. with the handle
  8265. - Fixed leak; now removing Hwnd references from static windows array
  8266. * XplatUIWin32.cs:
  8267. - Fixed Graphics leak in PaintEventEnd
  8268. - Removed usage of HandleData, switched over to Hwnd class
  8269. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  8270. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  8271. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  8272. * ScrollBar.cs: Fixes bug
  8273. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  8274. keyboard navigation enhancements
  8275. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  8276. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  8277. * GroupBox.cs: Add control styles
  8278. * Label.cs: Add control styles
  8279. * UpDownBase.cs: Add control styles
  8280. * ListBox.cs: Add control styles
  8281. * XplatUIWin32.cs: Fixes wrong parameter order
  8282. 2005-02-23 Chris Bacon <[email protected]>
  8283. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  8284. 2005-02-23 Jackson Harper <[email protected]>
  8285. * PropertyManager.cs: Implement property binding. This doesn't
  8286. seem to work yet though as (I think) there are some bugs in
  8287. System.ComponentModel.PropertyDescriptor.
  8288. * BindingContext.cs: Use new PropertyManager constructor.
  8289. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  8290. * ProgressBar.cs: use clip region in ProgressBar
  8291. * ThemeWin32Classic.cs: use clip region in ProgressBar
  8292. 2004-02-22 Jackson Harper <[email protected]>
  8293. * BindingsCollection.cs: Remove some debug code.
  8294. 2005-02-22 Jackson Harper <[email protected]>
  8295. * BindingContext.cs:
  8296. * ControlBindingsCollection.cs:
  8297. * CurrencyManager.cs:
  8298. * Binding.cs:
  8299. * BindingManagerBase.cs: Initial implementation
  8300. * BindingsCollection.cs: Add an internal contains method that the
  8301. BindingManagerBase uses to ensure bindings aren't added twice to
  8302. the collection.
  8303. * PropertyManager.cs: Stubbed out.
  8304. * Control.cs:
  8305. * ContainerControl.cs: Hook up databinding
  8306. 2005-02-22 Geoff Norton <[email protected]>
  8307. * XplatUIOSX.cs:
  8308. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  8309. Fixed Invalidate/Update chain.
  8310. Fixed tons of other minor bugs (this is almost a complete rewrite).
  8311. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  8312. * ComboBox.cs: do subcontrol creation when the control is created
  8313. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  8314. * Label.cs: fixes image drawing (image and imagelist)
  8315. * ThemeWin32Classic.cs: cache brushes
  8316. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  8317. * Form.cs: Move menu drawing code to Theme class
  8318. * ComboBox.cs: Move ComboBox drawing code to Theme class
  8319. * MenuItem.cs: Move menu drawing code to Theme class
  8320. * MenuAPI.cs: Move menu drawing code to Theme class
  8321. * ThemeWin32Classic.cs: New methods
  8322. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  8323. * ListBox.cs: Move Listbox drawing code to Theme class
  8324. * Theme.cs: New methods
  8325. 2005-02-20 Peter Bartok <[email protected]>
  8326. * Control.cs:
  8327. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  8328. only process mnemonics on those)
  8329. - Fixed event sequence for key handling; first calling
  8330. ProcessKeyEventArgs now
  8331. * TextBoxBase.cs:
  8332. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  8333. for processing non-character keys
  8334. - Fixed WM_CHAR to generate proper event sequence before processing
  8335. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  8336. generation
  8337. 2005-02-19 Peter Bartok <[email protected]>
  8338. * UserControl.cs: Added TextChanged event; added attributes
  8339. * SizeGrip.cs: Implemented resizing and optional display of grip
  8340. * Form.cs: Fixed attribute
  8341. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  8342. Changed meaning of ScrollWindow bool argument; instead of the
  8343. clear attribute (which will be true usually anyway), it gives the
  8344. option of moving child controls as well.
  8345. * XplatUIX11.cs:
  8346. - Changed to match new ScrollWindow argument
  8347. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  8348. now handles the implicit parent window a WM puts around us
  8349. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  8350. to work)
  8351. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  8352. * TreeView.cs: Adjusted to new ScrollWindow arguments
  8353. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  8354. * Form.cs: Menu integration with non-client area
  8355. * MenuItem.cs: Menu integration with non-client area
  8356. * MenuAPI.cs: Menu integration with non-client area
  8357. 2005-02-18 Peter Bartok <[email protected]>
  8358. * MethodInvoker.cs: Added
  8359. * MdiLayout.cs: Added
  8360. * SendKeys.cs: Started implementation
  8361. * ErrorIconAlignment.cs: Added
  8362. 2005-02-18 Peter Bartok <[email protected]>
  8363. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  8364. * Form.cs: Added handling for Menu-related Non-client messages
  8365. 2005-02-17 Peter Bartok <[email protected]>
  8366. * UpDownBase.cs: Fixed typo, compilation errors
  8367. * DomainUpDown.cs: Fixed attribute value
  8368. 2005-02-16 Miguel de Icaza <[email protected]>
  8369. * UpDownBase.cs: Attach entry events.
  8370. Propagate events.
  8371. Add ForeColor property, Focused, InterceptArrowKeys (interception
  8372. does not work yet).
  8373. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  8374. * Form.cs:
  8375. - Redraw non client are on Setmenu
  8376. - Calc proper menu starting point
  8377. 2005-02-17 Peter Bartok <[email protected]>
  8378. * Application.cs: Fixed message_filter check
  8379. 2005-02-17 Peter Bartok <[email protected]>
  8380. * Application.cs: Now calls registered message filters
  8381. * DockStyle.cs: Fixed attribute
  8382. * Form.cs: Fixed attribute
  8383. * Menu.cs: Fixed attribute
  8384. * ToolTip.cs: Fixed attribute
  8385. * TreeNode.cs: Added missing attributes and arranged in regions
  8386. * PropertyGrid.cs: Fixed signatures
  8387. * TreeNodeCollection.cs: Added attributes
  8388. * Splitter.cs: Added missing attributes; arranged into regions
  8389. * TabPage.cs: Added missing attributes; arranged into regions
  8390. * TextBoxBase.cs: Added missing attributes
  8391. * TextBox.cs: Added missing attributes
  8392. * ArrangeDirection.cs: Added missing attributes
  8393. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  8394. * ToolBarButton.cs: Fixed attributes
  8395. * AnchorStyles.cs: Fixed attribute
  8396. * TrackBar.cs: Fixed attributes
  8397. * TabControl.cs: Added missing attributes and arranged into regions
  8398. * ToolBar.cs: Fixed attribute
  8399. * StatusBar.cs: Fixed signature, organized into regions and added
  8400. attributes
  8401. * StatusBarPanel.cs: Fixed attributes
  8402. * ContentsResizedEventArgs.cs: Implemented
  8403. * ContentsResizedEventHandler.cs: Implemented
  8404. * DateBoldEventArgs.cs: Implemented
  8405. * DateBoldEventHandler.cs: Implemented
  8406. * UpDownEventArgs.cs: Implemented
  8407. * UpDownEventHandler.cs: Implemented
  8408. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  8409. * Form.cs: first Menu NC refactoring
  8410. * MenuAPI.cs: first Menu NC refactoring
  8411. 2005-02-16 Peter Bartok <[email protected]>
  8412. * ImeMode.cs: Added missing attributes
  8413. * Menu.cs: Fixed attribute
  8414. * GroupBox.cs: Fixed attribute
  8415. * Label.cs: Fixed attribute
  8416. * ColorDialog.cs (RunDialog): Removed TODO attribute
  8417. * ComboBox.cs: Fixed attributes
  8418. * ListControl.cs: Added missing attributes
  8419. * PropertyGrid.cs: Fixed attributes
  8420. * Control.cs: Fixed attributes
  8421. * ListViewItem.cs: Added TypeConverter attribute
  8422. * NotifyIcon.cs: Fixed attributes
  8423. * ListView.cs: Fixed attributes
  8424. * ButtonBase.cs: Fixed attribute
  8425. * ImageList.cs: Added missing attributes
  8426. * ContainerControl.cs: Fixed signature
  8427. * CheckedListBox.cs: Fixed attribute; added missing attributes
  8428. * Panel.cs: Fixed attributes
  8429. * PropertyTabChangedEventArgs.cs: Added missing attribute
  8430. * PropertyValueChangedEventArgs.cs: Added missing attribute
  8431. * Binding.cs: Fixed attribute
  8432. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  8433. * ListBox.cs: Fixed attribute; added missing attributes;
  8434. * ScrollableControl.cs: Added missing attributes
  8435. * PictureBox.cs: Added missing attributes; implemented missing property
  8436. * DateTimePicker.cs: Added missing attributes
  8437. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  8438. * MonthCalendar.cs: Fixed attributes
  8439. * StatusBarPanel.cs: Added missing attributes
  8440. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  8441. 2005-02-16 Peter Bartok <[email protected]>
  8442. * TextBoxBase.cs: The previous method to enforce height yet remember
  8443. the requested high was less than ideal, this is an attempt to do
  8444. it better.
  8445. * Control.cs: Added comment about possible problem
  8446. * Copyright: Updated format
  8447. * GridItemType.cs: Fixed swapped values
  8448. 2005-02-15 Jackson Harper <[email protected]>
  8449. * BaseCollection.cs: Use property so we never access an
  8450. uninitialized list. Also initialize the list in the property.
  8451. 2005-02-15 Peter Bartok <[email protected]>
  8452. * GroupBox.cs (ProcessMnemonic): Implemented
  8453. * Label.cs (ProcessMnemonic): Implemented
  8454. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  8455. hotkeys
  8456. 2005-02-15 Peter Bartok <[email protected]>
  8457. * RadioButton.cs (ProcessMnemonic): Implemented
  8458. * CheckBox.cs (ProcessMnemonic): Implemented
  8459. * Control.cs:
  8460. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  8461. handling
  8462. - Added internal method to allow calling ProcessMnemonic from other
  8463. controls
  8464. * ContainerControl.cs:
  8465. - Started support for handling validation chain handling
  8466. - Implemented ProcessMnemonic support
  8467. - Added Select() call to Active, to make sure the active control
  8468. receives focus
  8469. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  8470. FormParent rewrite)
  8471. * ThemeWin32Classic.cs:
  8472. - DrawCheckBox(): Fixed stringformat to show hotkeys
  8473. - DrawRadioButton(): Fixed stringformat to show hotkeys
  8474. * CommonDialog.cs: Removed WndProc override, not needed
  8475. 2005-02-14 Peter Bartok <[email protected]>
  8476. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  8477. missed those in the rewrite
  8478. 2005-02-14 Miguel de Icaza <[email protected]>
  8479. * NumericUpDown.cs (Increment, ToString): Add.
  8480. (DecimalPlaces): implement.
  8481. Add attributes.
  8482. * UpDownBase.cs: Add the designer attributes.
  8483. 2005-02-13 Peter Bartok <[email protected]>
  8484. * Panel.cs: Removed border_style, now in Control
  8485. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  8486. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  8487. 2005-02-13 Peter Bartok <[email protected]>
  8488. * MouseButtons.cs: Added missing attributes
  8489. * XplatUIStructs.cs: Added enumeration for title styles
  8490. * LeftRightAlignment.cs: Added missing attributes
  8491. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  8492. it compatible with Graphics.FromHwnd()
  8493. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  8494. * Keys.cs: Added missing attributes
  8495. * SelectionRange.cs: Added missing attributes
  8496. * SelectionRangeConverter.cs: Added
  8497. * XplatUI.cs:
  8498. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  8499. ReleaseMenuDC methods
  8500. - Renamed ReleaseWindow to UngrabWindow
  8501. - Added proper startup notice to allow version identification
  8502. * Form.cs:
  8503. - Added missing attributes
  8504. - Removed FormParent concept
  8505. * Label.cs: Removed border_style field, now in Control
  8506. * RadioButton.cs: Now properly selects RadioButton when focus is
  8507. received
  8508. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  8509. * Control.cs:
  8510. - Added missing attributes
  8511. - Added borderstyle handling
  8512. - Removed FormParent concept support
  8513. - Fixed calls to XplatUI to match changed APIs
  8514. - Fixed bug that would case us to use disposed Graphics objects
  8515. - Removed unneeded internal methods
  8516. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  8517. - SelectNextControl(): Fixed to properly check common parents
  8518. * TextBoxBase.cs: Removed border_style field (now in Control)
  8519. * MessageBox.cs:
  8520. - Patch by Robert Thompson ([email protected]): Added icon support,
  8521. fixed calculations for form size
  8522. - Added support for localized strings and icons
  8523. - Improved form size calculations, added border
  8524. * ListView.cs: Removed border_style field (now in Control)
  8525. * X11Structs.cs: Moved several structs from X11 driver here
  8526. * X11Keyboard.cs: Changed debug message
  8527. * Application.cs: Removed FormParent concept support
  8528. * CommonDialog.cs:
  8529. - Resetting end_modal flag
  8530. - Removed FormParent concept support
  8531. * NativeWindow.cs: Removed FormParent concept support
  8532. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  8533. Client area and Non-Client whole window to allow support for WM_NC
  8534. messages
  8535. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  8536. prevent using it until it supports Hwnd as per Geoff Norton's request
  8537. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  8538. * PictureBox.cs: Removed border_style field, now in Control
  8539. * XplatUIWin32.cs: Added new driver methods
  8540. 2005-02-12 Peter Bartok <[email protected]>
  8541. * OpacityConverter.cs: Implemented
  8542. * Hwnd.cs: Internal class to support drivers that need to emulate
  8543. client area/non-client area window behaviour
  8544. 2005-02-11 Peter Bartok <[email protected]>
  8545. * KeysConverter.cs: Implemented
  8546. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  8547. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  8548. * LinkLabel: Added missing attributes
  8549. * MainMenu.cs: fixes ToString
  8550. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  8551. * ListBox.cs: fixes event position
  8552. * TrackBar.cs: adds missing attributes and events
  8553. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  8554. * MenuItem.cs: Use SystemInformation and bug fixes
  8555. * MenuAPI.cs: Use SystemInformation and bug fixes
  8556. 2005-02-09 Jackson Harper <[email protected]>
  8557. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  8558. their keystate otherwise things like VK_MENU get stuck "on".
  8559. 2005-02-09 Kazuki Oikawa <[email protected]>
  8560. * ListBox.cs: Fixes AddRange bug
  8561. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  8562. * ProgressBar.cs
  8563. - Add missing attributes
  8564. - Add missing method
  8565. * CheckedListBox.cs: Added missing attributes
  8566. - Add missing attributes
  8567. - Remove extra method
  8568. * ComboBox.cs: Added missing attributes
  8569. * VScrollBar.cs: Added missing attributes
  8570. * ScrollBar.cs: Added missing attributes
  8571. * ListBox.cs: Fixes signature, add missing consts
  8572. * LinkArea.cs: Added missing attributes
  8573. 2005-02-08 Peter Bartok <[email protected]>
  8574. * Menu.cs: Added missing attributes
  8575. * MainMenu.cs: Added missing attributes
  8576. * GroupBox.cs: Added missing attributes
  8577. * Label.cs: Added missing attributes
  8578. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  8579. * ColorDialog.cs:
  8580. - Added Instance and Options properties
  8581. - Added missing attributes
  8582. * Cursor.cs: Made Serializable
  8583. * NotifyIcon: Added missing attributes
  8584. * MenuItem.cs: Added missing attributes
  8585. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  8586. * Panel.cs: Added Missing attributes
  8587. * MonthCalendar.cs: Fixed CreateParams
  8588. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  8589. * LinkLabel.cs:
  8590. - Fixes signature
  8591. - Fixes issues with links
  8592. - Adds the class attributes
  8593. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  8594. * ComboBox.cs:
  8595. - Fixes button when no items available in dropdown
  8596. - Fixes repainting problems
  8597. - Adds the class attributes
  8598. 2005-02-07 Geoff Norton <[email protected]>
  8599. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  8600. the current theme. Cache these on startup.
  8601. 2005-02-07 Jackson Harper <[email protected]>
  8602. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  8603. the scrollbar buttons when they are depressed.
  8604. 2005-02-07 Geoff Norton <[email protected]>
  8605. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  8606. Get the display size from the main displayid. We currently dont
  8607. support multiple display configurations.
  8608. 2005-02-07 Geoff Norton <[email protected]>
  8609. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  8610. 2005-02-07 Miguel de Icaza <[email protected]>
  8611. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  8612. 2005-02-05 Jonathan Chambers <[email protected]>
  8613. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  8614. 2005-02-04 Jackson Harper <[email protected]>
  8615. * ThemeWin32Classic.cs: Respect the clipping rect when
  8616. drawing. Only fill the intersection of clips and rects so there
  8617. isn't a lot of large fills.
  8618. * ScrollBar.cs: Pass the correct clipping rect to the theme
  8619. engine. Remove some debug code.
  8620. 2005-02-05 John BouAntoun <[email protected]>
  8621. * DateTimePicker.cs:
  8622. - Fixed crash on DateTime.Parse, use Constructor instead
  8623. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  8624. * MenuItem.cs:
  8625. * MenuAPI.cs:
  8626. - Owner draw support (MeasureItem and DrawItem)
  8627. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  8628. * Menu.cs:
  8629. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  8630. - Fixes MenuItems.Add range
  8631. * MenuItem.cs:
  8632. - MergeMenu and Clone and CloneMenu functions
  8633. 2005-02-03 Jackson Harper <[email protected]>
  8634. * ScrollBar.cs: Make abstract
  8635. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  8636. is abstract.
  8637. 2005-02-03 Jackson Harper <[email protected]>
  8638. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  8639. all the unneeded refreshes and uses invalidates with properly
  8640. computed rects.
  8641. 2005-02-03 Peter Bartok <[email protected]>
  8642. * ComponentModel.cs: Added
  8643. * IDataGridEditingService.cs: Added
  8644. * Timer.cs: Added missing attributes
  8645. * ToolTip.cs: Added missing attributes
  8646. 2005-02-03 Jonathan Chambers <[email protected]>
  8647. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  8648. 2005-02-03 Peter Bartok <[email protected]>
  8649. * ListBox.cs: Added missing attributes
  8650. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  8651. * ListBox.cs:
  8652. - Fixes font height after font change
  8653. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  8654. 2005-02-02 Peter Bartok <[email protected]>
  8655. * HandleData.cs: Introduced static methods to allow class
  8656. to be more self-contained and track it's own HandleData objects
  8657. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  8658. HandleData to use new static methods
  8659. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  8660. * Combobox.cs:
  8661. - Fixes default size and PreferredHeight
  8662. - Missing events
  8663. - ObjectCollection.Insert implementation
  8664. * ListControl.cs
  8665. - Fixes signature
  8666. * ListBox.cs:
  8667. - Several fixes
  8668. - ObjectCollection.Insert implementation
  8669. - No selection after clean
  8670. - Small fixes
  8671. 2005-01-31 John BouAntoun <[email protected]>
  8672. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  8673. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  8674. * Combobox.cs:
  8675. - Caches ItemHeight calculation for OwnerDrawVariable
  8676. - Handles dropdown properly
  8677. - Fixes several minor bugs
  8678. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  8679. * ListBox.cs:
  8680. - Fixes 71946 and 71950
  8681. - Fixes changing Multicolumn on the fly
  8682. - Fixes keyboard navigation on Multicolumn listboxes
  8683. 2005-01-31 Geoff Norton <[email protected]>
  8684. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  8685. crash reporter log.
  8686. 2005-01-31 Geoff Norton <[email protected]>
  8687. * XplatUIOSX.cs: Allow applications to actually exit.
  8688. 2005-01-31 Geoff Norton <[email protected]>
  8689. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  8690. their parent at creation time rather than lazily later. Fixes a major
  8691. regression we were experiencing.
  8692. 2005-01-31 John BouAntoun <[email protected]>
  8693. * ThemeWin32Classic.cs: more date time picker painting fixes
  8694. * DateTimePicker.cs: more monthcalendar drop down fixes
  8695. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  8696. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  8697. * ScrollBar.cs:
  8698. - When moving the thumb going outside the control should stop the moving
  8699. - Adds the firing of missing events
  8700. - Fixes no button show if Size is not specified
  8701. - End / Home keys for keyboard navigation
  8702. 2005-01-30 Peter Bartok <[email protected]>
  8703. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  8704. sanity check to prevent theoretical loop
  8705. * XplatUIWin32.cs (SetVisible): Removed debug output
  8706. * XplatUIX11.cs (SystrayChange): Added sanity check
  8707. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  8708. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  8709. behaviour, valid until the X11 client window rewrite is done
  8710. * TextBox.cs (ctor): Setting proper default foreground and background
  8711. colors
  8712. 2005-01-30 John BouAntoun <[email protected]>
  8713. * Theme: Added DrawDateTimePicker to interface
  8714. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  8715. * DateTimePicker.cs: Created (still needs keys and painting code)
  8716. * DateTimePickerFormat.cs: added
  8717. * MonthCalendar.cs: fixed CreateParams for popup window mode
  8718. 2005-01-29 Peter Bartok <[email protected]>
  8719. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  8720. this should also the calculations for ligher/darker
  8721. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  8722. 2005-01-29 Peter Bartok <[email protected]>
  8723. * ArrangeDirection.cs: Added
  8724. * ArrangeStartingPositon.cs: Added
  8725. * SystemInformation.cs: Implemented
  8726. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  8727. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  8728. used by SystemInformation class
  8729. * X11Strucs.cs: Added XSizeHints structure
  8730. * MenuAPI.cs:
  8731. - Fixed CreateParams to make sure the menu window is always visible
  8732. - TrackPopupMenu: Added check to make sure we don't draw the
  8733. menu offscreen
  8734. 2005-01-29 Peter Bartok <[email protected]>
  8735. * HandleData.cs: Added method for altering invalid area
  8736. * TextBoxBase.cs: Implemented TextLength
  8737. 2005-01-28 Peter Bartok <[email protected]>
  8738. * XplatUIX11.cs: Improvement over last patch, not sending
  8739. the WM_PAINT directly anymore, instead we scroll any pending
  8740. exposed areas and let the system pick out the WM_PAINT later
  8741. 2005-01-28 Peter Bartok <[email protected]>
  8742. * SWF.csproj: Deleted, no longer used. Instead,
  8743. Managed.Windows.Forms/SWF.csproj should be used
  8744. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  8745. directly, to avoid a potential race condition with the next
  8746. scroll
  8747. 2005-01-28 Peter Bartok <[email protected]>
  8748. * XplatUI.cs: Made class internal
  8749. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  8750. * CheckedListBox.cs:
  8751. - Draw focus
  8752. - Fixed Drawing
  8753. - Missing methods and events
  8754. 2005-01-27 Peter Bartok <[email protected]>
  8755. * Application.cs (Run): Don't use form if we don't have one
  8756. 2005-01-27 Peter Bartok <[email protected]>
  8757. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  8758. 2005-01-27 Peter Bartok <[email protected]>
  8759. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  8760. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  8761. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  8762. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  8763. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  8764. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  8765. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  8766. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  8767. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  8768. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  8769. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  8770. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  8771. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  8772. * Combobox.cs:
  8773. - Draw focus on Simple Combobox
  8774. - Fixes drawing issues
  8775. - fixes 71834
  8776. 2005-01-27 Peter Bartok <[email protected]>
  8777. * Form.cs:
  8778. - Place window in default location, instead of hardcoded 0/0
  8779. - Send initial LocationChanged event
  8780. * Control.cs:
  8781. - UpdateBounds after creation to find out where the WM placed us
  8782. - Make sure that if the ParentForm changes location the Form
  8783. is notified
  8784. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  8785. to the root, but to whatever the WM placed around us.
  8786. Translate to root coordinates before returning toplevel
  8787. coordinates
  8788. * XplatUIWin32.cs: Removed debug output
  8789. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  8790. flag to GetWindowPos, to allow translation of coordinates on X11
  8791. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  8792. * ListBox.cs: connect LostFocus Event
  8793. 2005-01-27 Peter Bartok <[email protected]>
  8794. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  8795. XplatUIX11.cs: Extended the Systray API
  8796. * Form.cs: Removed debug output
  8797. * Application.cs: Fixed focus assignment, always need to call
  8798. XplatUI.Activate() since Form.Activate() has rules that may
  8799. prevent activation
  8800. * NotifyIcon.cs: Should be complete now
  8801. * ToolTip.cs: Worked around possible timer bug
  8802. 2005-01-27 Jackson Harper <[email protected]>
  8803. * TabControl.cs:
  8804. - Only invalidate the effected tabs when the
  8805. selected index changes. This reduces drawing and gets rid of some
  8806. flicker.
  8807. - Only refresh if the tabs need to be shifted, otherwise only
  8808. invalidate the slider button.
  8809. - On windows the tabs are not filled to right if the slider is
  8810. visible.
  8811. 2005-01-27 Jackson Harper <[email protected]>
  8812. * TabControl.cs: Only refresh on mouseup if we are showing the
  8813. slider. Also only invalidate the button whose state has changed.
  8814. 2005-01-26 Peter Bartok <[email protected]>
  8815. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  8816. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  8817. and SystrayRemove() methods
  8818. * XplatUIOSX.cs: Stubbed Systray methods
  8819. * XplatUIX11.cs:
  8820. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  8821. methods
  8822. - Fixed broken XChangeProperty calls (marshalling messed up things)
  8823. * X11Structs.cs: Added enums and structs required for Size hinting
  8824. * NotifyIcon.cs: Added & implemented
  8825. 2005-01-26 Jackson Harper <[email protected]>
  8826. * TabControl.cs: Space vertically layed out tabs properly.
  8827. 2005-01-26 Peter Bartok <[email protected]>
  8828. * Form.cs (CreateClientParams): Always set the location to 0,0
  8829. since we're a child window.
  8830. * Control.cs (SetVisibleCore): Always explicitly setting the location
  8831. of a toplevel window, apparently X11 doesn't like to move windows
  8832. while they're not mapped.
  8833. 2005-01-26 Jackson Harper <[email protected]>
  8834. * TabControl.cs: Implement FillToRight size mode with vertically
  8835. rendered tabs.
  8836. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  8837. * ControlPaint.cs, ThemeWin32Classic.cs
  8838. - Fixes DrawFocusRectangle
  8839. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  8840. * MenuAPI.cs:
  8841. - MenuBar tracking only starts when item is first clicked
  8842. - Fixes menu hidding for multiple subitems
  8843. - Unselect item in MenuBar when item Executed
  8844. - Fixes bug 71495
  8845. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  8846. * ListControl.cs:
  8847. - IsInputKey for ListBox
  8848. * ListBox.cs:
  8849. - Focus item
  8850. - Shift and Control item selection
  8851. - Implement SelectionMode.MultiExtended
  8852. - Fixes RightToLeft
  8853. * ComboBox.cs:
  8854. - IsInputKey implemented
  8855. - Do not generate OnTextChangedEdit on internal txt changes
  8856. 2005-01-23 Peter Bartok <[email protected]>
  8857. * AccessibleObject.cs: Partially implemented Select()
  8858. * MonthCalendar.cs: Added missing attributes and events
  8859. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  8860. form can properly override CreateParams.
  8861. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  8862. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  8863. Control performs Invalidate & Update
  8864. * NativeWindow (CreateHandle): Added special handling for Form
  8865. and Form.FormParent classes to allow overriding of From.CreateParams
  8866. * Control.cs:
  8867. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  8868. name 'owner'
  8869. - ControlNativeWindow: Added Owner property
  8870. - Removed usage of Refresh() on property changes, changed into
  8871. Invalidate(), we need to wait until the queue is processed for
  8872. updates, direct calls might cause problems if not all vars for
  8873. Paint are initialized
  8874. - Added call to UpdateStyles() when creating the window, to set any
  8875. styles that CreateWindow might have ignored.
  8876. - Added support for Form CreateParent overrides to UpdateStyles()
  8877. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  8878. CreateParams are now properly overridable
  8879. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  8880. CreateParams are now properly overridable
  8881. 2005-01-23 Miguel de Icaza <[email protected]>
  8882. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  8883. OnTextBoxChanged.
  8884. Capture LostFocus and OnTextBoxChanged. The later introduces a
  8885. recursive invocation that I have not figured out yet.
  8886. Reset the timer when not using (it was accumulating).
  8887. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  8888. user has made changes that require validation.
  8889. Reset changing to avoid loops.
  8890. 2005-01-22 Miguel de Icaza <[email protected]>
  8891. * NumericUpDown.cs: Display value at startup.
  8892. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  8893. ValidateEditText.
  8894. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  8895. filled in. Added some basic parsing of text.
  8896. Still missing the OnXXX method overrides, and figuring out the
  8897. events that must be emitted.
  8898. * UpDownBase.cs: Handle UserEdit on the Text property.
  8899. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  8900. * ComboBox.cs:
  8901. - Fixes IntegralHeight
  8902. - ToString method
  8903. 2005-01-21 Jackson Harper <[email protected]>
  8904. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  8905. is set so that the page visibility is updated and the tabs are
  8906. sized correctly.
  8907. 2005-01-21 Jackson Harper <[email protected]>
  8908. * TabControl.cs: Use cliping rectangle for blitting. Give the
  8909. theme the clipping rect so we can do clipping while
  8910. drawing. Remove some debug code.
  8911. 2005-01-21 Jackson Harper <[email protected]>
  8912. * TabPage.cs: Add a new method so tab pages can force the tab
  8913. control to recalculate the tab page sizes.
  8914. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  8915. sizes.
  8916. 2005-01-20 Jackson Harper <[email protected]>
  8917. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  8918. 2005-01-20 Jackson Harper <[email protected]>
  8919. * TreeView.cs: Set the bounds for nodes properly. They were
  8920. getting screwed up when checkboxes were not enabled, but images
  8921. were.
  8922. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  8923. * ListBox.cs:
  8924. - Owner draw support
  8925. - Fixes
  8926. 2005-01-20 Jackson Harper <[email protected]>
  8927. * XplatUIStructs.cs: More misc keys
  8928. * X11Keyboard.cs: Ignore some control keys.
  8929. 2005-01-20 Jackson Harper <[email protected]>
  8930. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  8931. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  8932. 2005-01-19 Peter Bartok <[email protected]>
  8933. * Control.cs: Un-selecting the control when it is loosing focus
  8934. 2005-01-19 Jackson Harper <[email protected]>
  8935. * TreeView.cs: Hook up to the text controls leave event so we can
  8936. end editing when the users clicks outside the text box.
  8937. 2005-01-19 Jackson Harper <[email protected]>
  8938. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  8939. get set in the conversion array.
  8940. 2005-01-19 Peter Bartok <[email protected]>
  8941. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  8942. focus is properly set
  8943. * Button.cs:
  8944. - Added missing attributes
  8945. - removed styles, those are already set in the base class
  8946. * ButtonBase.cs:
  8947. - Added missing attributes
  8948. - Added clip window styles
  8949. * CheckBox.cs: Added missing attributes
  8950. * CommonDialog.cs:
  8951. - FormParentWindow.CreateParams: Added required clip styles
  8952. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  8953. also filters modifier keys
  8954. * MessageBox.cs:
  8955. - Added assignment of Accept and Cancel button to enable Enter
  8956. and Esc keys in MessageBox dialogs
  8957. - FormParentWindow.CreateParams: Added required clip styles
  8958. * RadioButton.cs: Added missing attributes
  8959. * TextControl.cs: No longer draws selection if control does not
  8960. have focus
  8961. * TextBoxBase.cs:
  8962. - Now draws simple rectangle around test area to make it obvious
  8963. there's a control. This is a hack until we properly support borders
  8964. - A few simple fixes to support selections better, now erases selected
  8965. text when typing, and resets selection when using movement keys
  8966. 2005-01-19 Miguel de Icaza <[email protected]>
  8967. * UpDownBase.cs: Added some new properties.
  8968. * DomainUpDown.cs: Implement a lot to get my test working.
  8969. 2005-01-19 Geoff Norton <[email protected]>
  8970. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  8971. 2005-01-19 Geoff Norton <[email protected]>
  8972. * OSXStructs (WindowAttributes): Fixed csc complaints
  8973. 2005-01-19 Geoff Norton <[email protected]>
  8974. * XplayUIOSX.cs:
  8975. OSXStructs.cs: Initial refactor to move enums and consts into
  8976. OSXStructs and use them in the driver for greater readability.
  8977. 2005-01-19 Geoff Norton <[email protected]>
  8978. * XplatUIOSX.cs: Initial support for Standard Cursors.
  8979. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  8980. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  8981. * ComboBox.cs: ability to change style when the ctrl is already
  8982. created, missing methods and events, bug fixes, signature fixes
  8983. 2005-01-19 Peter Bartok <[email protected]>
  8984. * Cursors.cs (ctor): Added ctor to fix signature
  8985. 2005-01-18 Peter Bartok <[email protected]>
  8986. * Button.cs: Implemented DoubleClick event
  8987. * ButtonBase.cs:
  8988. - Fixed keyboard handling to behave like MS, where the press of
  8989. Spacebar is equivalent to a mousedown, and the key release is
  8990. equivalent to mouseup. Now a spacebar push will give the same
  8991. visual feedback like a mouse click.
  8992. - Added missing attributes
  8993. - Added ImeModeChanged event
  8994. - Added support for generating DoubleClick event for derived classes
  8995. * CheckBox.cs:
  8996. - Implemented DoubleClick event
  8997. - Added missing attributes
  8998. * CommonDialog.cs: Added missing attribute
  8999. * ContextMenu.cs: Added missing attributes
  9000. * RadioButton.cs:
  9001. - AutoChecked buttons do not allow to be unselected when clicked
  9002. (otherwise we might end up with no selected buttons in a group)
  9003. - Added missing attributes
  9004. - Implemented DoubleClickEvent
  9005. * ThreadExceptionDialog.cs: Enabled TextBox code
  9006. 2005-01-18 Peter Bartok <[email protected]>
  9007. * Form.cs: Removed debug output
  9008. * Button.cs: Added support for DoubleClick method
  9009. 2005-01-18 Peter Bartok <[email protected]>
  9010. * Form.cs:
  9011. - Added method to parent window that allows triggering size
  9012. calculations when a menu is added/removed
  9013. - set_Menu: Cleaned up mess from early days of Form and Control,
  9014. now properly triggers a recalc when a menu is added/removed
  9015. - Added case to select form itself as focused form if no child
  9016. controls exist
  9017. - Added PerformLayout call when showing dialog, to ensure properly
  9018. placed controls
  9019. * Control.cs:
  9020. - Select(): Made internal so Form can access it
  9021. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  9022. status
  9023. * Application.cs (Run): Removed hack and calls PerformLayout instead
  9024. to trigger calculation when Form becomes visible
  9025. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  9026. * ComboBox.cs: fixes for ownerdraw
  9027. 2005-01-18 Peter Bartok <[email protected]>
  9028. * TextControl.cs:
  9029. - Sentinel is no longer static, each Document gets it's own, this
  9030. avoids locking or alternatively overwrite problems when more
  9031. than one text control is used simultaneously.
  9032. - Switched to use Hilight and HilightText brushes for text selection
  9033. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  9034. 2005-01-18 Peter Bartok <[email protected]>
  9035. * Control.cs:
  9036. - Hooked up the following events:
  9037. o ControlAdded
  9038. o ControlRemoved
  9039. o HandleDestroyed
  9040. o ImeModeChanged
  9041. o ParentChanged
  9042. o TabStopChanged
  9043. o Invalidated
  9044. o SystemColorsChanged
  9045. o ParentFontChanged
  9046. o Move
  9047. - Removed debug output
  9048. - Added a call to the current theme's ResetDefaults when a color change
  9049. is detected
  9050. * Form.cs: Now setting the proper ImeMode
  9051. * Theme.cs: Defined a method to force recreation of cached resources
  9052. and rereading of system defaults (ResetDefaults())
  9053. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  9054. 2005-01-17 Peter Bartok <[email protected]>
  9055. * Control.cs: Added missing attributes
  9056. 2005-01-17 Jackson Harper <[email protected]>
  9057. * TreeNode.cs: Implement editing. Add missing properties selected
  9058. and visible.
  9059. * TreeView.cs: Implement node editing. Also some fixes to use
  9060. Invalidate (invalid area) instead of Refresh when selecting.
  9061. 2005-01-17 Peter Bartok <[email protected]>
  9062. * Control.cs:
  9063. - Implemented InvokeGotFocus() method
  9064. - Implemented InvokeLostFocus() method
  9065. - Implemented InvokePaint() method
  9066. - Implemented InvokePaintBackground() method
  9067. - Implemented InvokeClick() method
  9068. - Implemented FindForm() method
  9069. - Implemented RectangleToClient() method
  9070. - Implemented ClientToRectangle() method
  9071. - Implemented ResetBackColor() method
  9072. - Implemented ResetCursor() method
  9073. - Implemented ResetFont() method
  9074. - Implemented ResteForeColor() method
  9075. - Implemented ResetImeMode() method
  9076. - Implemented ResetLeftToRight() method
  9077. - Implemented ResetText() method
  9078. - Implemented Scale() methods
  9079. - Implemented ScaleCore() method
  9080. - Implemented Update() method
  9081. - Removed unused variables
  9082. - Stubbed AccessibilityNotifyClients and
  9083. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  9084. with those yet)
  9085. - Now setting proper default for RightToLeft property
  9086. - Fixed bug in SetClientSizeCore that would cause windows to get
  9087. really big
  9088. - Now sending Click/DoubleClick events
  9089. - Now selecting controls when left mouse button is clicked on
  9090. selectable control
  9091. * AccessibleEvents.cs: Added
  9092. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  9093. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  9094. * XplatUIWin32.cs: Implemented UpdateWindow() method
  9095. * XplatUIX11.cs: Implemented UpdateWindow() method
  9096. * Form.cs: Removed stray semicolon causing CS0162 warning
  9097. * ThemeWin32Classic.cs: Fixed unused variable warnings
  9098. * ScrollableControl.cs: Now calls base method for ScaleCore
  9099. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  9100. style to avoid interference with internal click handler (which is
  9101. different than standard Control click handling)
  9102. * RadioButton.cs:
  9103. - Now unchecks all sibling radio buttons when control is
  9104. selected (Fixes #68756)
  9105. - Removed internal tabstop variable, using the one inherited from
  9106. Control
  9107. 2005-01-17 Jackson Harper <[email protected]>
  9108. * NavigateEventArgs.cs: Fix base type.
  9109. * LinkLabel.cs: Sig fix
  9110. 2005-01-17 Jackson Harper <[email protected]>
  9111. * TreeView.cs: Only invalidate the effected nodes bounds when
  9112. selecting nodes.
  9113. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  9114. * XplatUIWin32.cs: fixes Win32 marshaling
  9115. * XplatUIX11.cs: fixes method signature
  9116. 2005-01-17 Peter Bartok <[email protected]>
  9117. * XplatUIX11.cs: Clean up resources when we no longer need them
  9118. 2005-01-17 Peter Bartok <[email protected]>
  9119. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  9120. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  9121. and DestroyCursor() methods.
  9122. * Cursor.cs: Partially implemented, now supports standard cursors;
  9123. still contains some debug code
  9124. * Cursors.cs: Implemented class
  9125. * Control.cs:
  9126. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  9127. appropriate cursor
  9128. - Implemented Cursor property
  9129. - Replaced break; with return; more straightforwar and possibly
  9130. faster
  9131. - Now properly setting the result for WM_HELP
  9132. * X11Structs.cs: Added CursorFontShape enum
  9133. * XplatUIStructs.cs:
  9134. - Added StdCursor enum (to support DefineStdCursor() method)
  9135. - Added HitTest enum (to support sending WM_SETCURSOR message)
  9136. * XplatUIX11.cs:
  9137. - Now sends the WM_SETCURSOR message
  9138. - Implemented new cursor methods
  9139. * XplatUIOSX.cs: Stubbed new cursor methods
  9140. * XplatUIWin32.cs:
  9141. - Implemented new cursor methods
  9142. - Added GetSystemMetrics function and associated enumeration
  9143. 2005-01-15 Peter Bartok <[email protected]>
  9144. * Control.cs:
  9145. - WndProc(): Now handles EnableNotifyMessage
  9146. - SelectNextControl(): Fixed bug where if no child or sibling
  9147. controls exist we looped endlessly
  9148. 2005-01-14 Jackson Harper <[email protected]>
  9149. * TreeView.cs: Recalculate the tab pages when a new one is added
  9150. so that the proper bounding rects are created.
  9151. 2005-01-14 Jackson Harper <[email protected]>
  9152. * TreeView.cs: Draw a gray box instead of a grip in the lower
  9153. right hand corner when there are both horizontal and vertical
  9154. scroll bars.
  9155. 2005-01-14 Jackson Harper <[email protected]>
  9156. * Control.cs: When erasing backgrounds use FromHwnd instead of
  9157. FromHdc when there is a NULL wparam. This occurs on the X driver.
  9158. * XplatUIX11.cs: Set the wparam to NULL.
  9159. 2005-01-13 Jackson Harper <[email protected]>
  9160. * PictureBox.cs: Implement missing methods (except ToString, need
  9161. to test that on windows) and events. When visibility is changed we
  9162. need to redraw the image because the buffers are killed. When size
  9163. is changed refresh if the sizemode needs it.
  9164. 2005-01-13 Peter Bartok <[email protected]>
  9165. * Control.cs (SelectNextControl): Was using wrong method to select
  9166. a control
  9167. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  9168. * ComboBox.cs: fixes dropstyle
  9169. 2005-01-13 Peter Bartok <[email protected]>
  9170. * Form.cs:
  9171. - Implemented Select() override
  9172. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  9173. - Now sets keyboard focus on startup
  9174. * Control.cs (SelectNextControl): Now properly handles directed=true
  9175. * TextBoxBase.cs:
  9176. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  9177. - Added (really bad) focus rectangle (mostly for testing)
  9178. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  9179. to enforce redraw on focus changes
  9180. * ContainerControl.cs:
  9181. - Fixed detection of Shift-Tab key presses
  9182. - Fixed traversal with arrow keys
  9183. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  9184. gonna keep this or if it's complete yet
  9185. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  9186. * ComboBox.cs: missing properties, fixes
  9187. 2005-01-13 Peter Bartok <[email protected]>
  9188. * Panel.cs (ctor): Setting Selectable window style to off
  9189. * Splitter.cs (ctor): Setting Selectable window style to off
  9190. * GroupBox.cs (ctor): Setting Selectable window style to off
  9191. * Label.cs (ctor): Setting Selectable window style to off
  9192. 2005-01-12 Miguel de Icaza <[email protected]>
  9193. * UpDownBase.cs (InitTimer): If the timer has been already
  9194. created, enable it.
  9195. Use a TextBox instead of a Label.
  9196. 2005-01-12 Jackson Harper <[email protected]>
  9197. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  9198. draw the connecting node lines (when ShowLines is true).
  9199. * TreeNode.cs: The nodes index can now be updated. This is used
  9200. when a node collection is sorted.
  9201. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  9202. insert or an existing unsorted node collection can be sorted.
  9203. 2005-01-12 Peter Bartok <[email protected]>
  9204. * ContainerControl.cs: Implemented ProcessDialogKeys()
  9205. 2005-01-12 Peter Bartok <[email protected]>
  9206. * Control.cs:
  9207. - Implemented SelectNextControl() method
  9208. - Several focus related bug fixes
  9209. - Fixed Docking calculations to match MS documentation and
  9210. behaviour
  9211. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  9212. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  9213. bug fixes
  9214. 2005-01-12 Peter Bartok <[email protected]>
  9215. * Control.cs:
  9216. - Fixed broken Contains() method
  9217. - Implemented GetNextControl() method. Finally. This is the pre-
  9218. requisite for focus handling.
  9219. 2005-01-12 Peter Bartok <[email protected]>
  9220. * OSXStrucs.cs: Added
  9221. 2005-01-12 Peter Bartok <[email protected]>
  9222. * XplatUIWin32.cs:
  9223. - Removed PeekMessageFlags
  9224. - Implemented SetWindowStyle() method
  9225. * XplatUIStructs.cs: Added PeekMessageFlags
  9226. * X11Structs: Added missing border_width field to XWindowChanges struct
  9227. * XplatUIX11.cs:
  9228. - PeekMessage: Now throws exception if flags which are not yet
  9229. supported are passed
  9230. - Implemented SetWindowStyle() method
  9231. - Fixed SetZOrder to handle AfterHwnd properly
  9232. * XplatUI.cs: Added SetWindowStyle() method
  9233. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  9234. * Control.cs:
  9235. - Implemented UpdateStyles() method
  9236. - Implemented UpdateZOrder() method
  9237. * XplatUIOSX.cs: Added SetWindowStyle() stub
  9238. 2005-01-12 Geoff Norton <[email protected]>
  9239. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  9240. button mouse).
  9241. 2005-01-11 Jackson Harper <[email protected]>
  9242. * TreeView.cs: Still need to draw lines to siblings even if out of
  9243. the current node is out of the clip.
  9244. 2005-01-11 Jackson Harper <[email protected]>
  9245. * TreeView.cs: When setting the hbar/vbar/grip position use
  9246. SetBounds so that perform layout is only called once. Also suspend
  9247. and resume layout so layout is only done once for all controls.
  9248. - Removed some debug fluff
  9249. * SizeGrip.cs: Call base implmentation in overriding methods.
  9250. - When visibility is changed the drawing buffers are killed so we
  9251. need to redraw.
  9252. 2005-01-11 Jackson Harper <[email protected]>
  9253. * TreeView.cs: Calculate the open node count while drawing. This
  9254. saves us an entire tree traversal for every paint operation. Use
  9255. a member var for the open node count so less vars are passed around.
  9256. 2005-01-11 John BouAntoun <[email protected]>
  9257. * MonthCalendar.cs:
  9258. - fixed selection to use mousemove, not mouse polling on timer
  9259. * ThemeWin32Classic.cs
  9260. - removed redundant unused variable "no_more_content"
  9261. 2005-01-11 Peter Bartok <[email protected]>
  9262. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  9263. are pending, so it now calls PeekMessage instead of GetMessage;
  9264. implemented a incomplete version of PeekMessage
  9265. 2005-01-11 Peter Bartok <[email protected]>
  9266. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  9267. I18n issues
  9268. * TextBoxBase.cs: Added sending of TextChanged event
  9269. 2005-01-10 Jackson Harper <[email protected]>
  9270. * TreeView.cs: Try not to draw outside the clipping rectangle on
  9271. each node element.
  9272. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  9273. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  9274. 2005-01-10 Jackson Harper <[email protected]>
  9275. * TreeView.cs:
  9276. - Implement fast scrolling. Now only the newly
  9277. exposed nodes are drawn and the old image is moved using the
  9278. XplatUI::ScrollWindow method.
  9279. - Factor in height of nodes when calculating whether or not the
  9280. node is in the clipping rect.
  9281. 2005-01-10 Jackson Harper <[email protected]>
  9282. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  9283. 2005-01-10 Peter Bartok <[email protected]>
  9284. * Application.cs: Added temporary hack to resolve all our resize
  9285. required issues on startup. This will get fixed properly at
  9286. some point in the future
  9287. 2005-01-10 Jackson Harper <[email protected]>
  9288. * SizeGrip.cs: New internal class that is used as a sizing
  9289. grip control...hence the name.
  9290. 2005-01-10 Peter Bartok <[email protected]>
  9291. * Control.cs: Implemented proper TabIndex handling, now assigning
  9292. a tabindex when a control is added to a container
  9293. * GroupBox.cs (ctor): Now sets the Container style bit, required
  9294. for Control.GetNextControl()
  9295. 2005-01-09 Jackson Harper <[email protected]>
  9296. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  9297. 2005-01-09 Peter Bartok <[email protected]>
  9298. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  9299. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  9300. an overload for ScrollWindow to allow only scrolling a rectangle
  9301. 2005-01-09 Peter Bartok <[email protected]>
  9302. * Form.cs:
  9303. - Implemented SetDesktopBounds method
  9304. - Implemented SetDesktopLocation method
  9305. 2005-01-08 Jackson Harper <[email protected]>
  9306. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  9307. the node count has changed, this removes to VScroll::Refresh calls
  9308. when drawing.
  9309. 2005-01-08 Geoff Norton <[email protected]>
  9310. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  9311. 2005-01-07 Jackson Harper <[email protected]>
  9312. * TreeNode.cs: Just update the single node when it is
  9313. checked. Don't refresh after toggling, the Expand/Collapse already
  9314. handles this.
  9315. * TreeView.cs: Respect clipping a little more when drawing. Try
  9316. not to redraw things that don't need to be redrawn. Just hide the
  9317. scrollbars when they are no longer needed instead of removing
  9318. them, so they don't have to be created again and again.
  9319. 2005-01-07 Geoff Norton <[email protected]>
  9320. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  9321. coordinates to window space to place the caret properly, FIXED.
  9322. Implement GetWindowState & SetWindowState
  9323. 2005-01-06 Peter Bartok <[email protected]>
  9324. * Form.cs:
  9325. - Implemented ClientSize property
  9326. - Implemented DesktopBounds property
  9327. - Implemented DesktopLocation property
  9328. - Implemented IsRestrictedWindow property
  9329. - Implemented Size property
  9330. - Implemented TopLevel property
  9331. - Implemented FormWindowState property
  9332. * Control.cs:
  9333. - Implemented GetTopLevel() method
  9334. - Implemented SetTopLevel() method
  9335. * X11Structs.cs (Atom):
  9336. - Added AnyPropertyType definition
  9337. - Added MapState definiton and updated XWindowAttribute struct
  9338. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  9339. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  9340. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  9341. * XplatUIWin32.cs:
  9342. - Implemented GetWindowState() and SetWindowState() methods
  9343. - Fixed Win32GetWindowLong return type
  9344. * XplatUIX11.cs:
  9345. - Introduced central function for sending NET_WM messages
  9346. - Implemented GetWindowState() and SetWindowState() methods
  9347. * TextBoxBase.cs (set_Lines):
  9348. - Now uses Foreground color for text added via Text property (Duh!)
  9349. - Added code to remember programmatically requested size (fixes
  9350. behaviour when Multiline is set after Size)
  9351. - Added AutoSize logic
  9352. 2005-01-06 Jackson Harper <[email protected]>
  9353. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  9354. 2005-01-06 Jackson Harper <[email protected]>
  9355. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  9356. set to less then 0.
  9357. 2005-01-06 Jackson Harper <[email protected]>
  9358. * ScrollableControl.cs: Lazy init the scrollbars.
  9359. 2005-01-06 Jackson Harper <[email protected]>
  9360. * Theme.cs: Speed up getting pens and solid brushes, by using
  9361. their ARGB as a hash instead of tostring and not calling Contains.
  9362. 2005-01-06 Peter Bartok <[email protected]>
  9363. * Form.cs:
  9364. - Implemented OnActivated and OnDeactivate event trigger
  9365. - Implemented Activate() method
  9366. - Fixed ShowDialog() to activate the form that was active before
  9367. the dialog was shown
  9368. * XplatUIX11.cs:
  9369. - Added global active_window var that tracks the currently active
  9370. X11 window
  9371. - Now always grabs Property changes from the root window to always
  9372. catch changes on the active window property
  9373. - Added code to PropertyNotify handler to send Active/Inactive
  9374. messages when state changes. This puts X11 and Win32 en par on
  9375. WM_ACTIVATE notifications (except for double notifications when
  9376. the user clicks away from our modal window to another one of our
  9377. windows)
  9378. 2005-01-05 Jackson Harper <[email protected]>
  9379. * ImageList.cs: Implment ctor
  9380. 2005-01-05 Geoff Norton <[email protected]>
  9381. * XplatUIOSX.cs: Implement Activate/SetTopmost
  9382. 2005-01-05 Geoff Norton <[email protected]>
  9383. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  9384. 2005-01-05 Geoff Norton <[email protected]>
  9385. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  9386. 2005-01-05 Peter Bartok <[email protected]>
  9387. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  9388. XplatUIOSX.cs: Added GetActive method to return the currently
  9389. active window for the application (or null, if none is active)
  9390. * Form.cs:
  9391. - Implemented ActiveForm
  9392. - Commented out owner assignment for modal dialogs (causes problems
  9393. on Win32, since the owner will be disabled)
  9394. - Reworked some Active/Focus handling (still incomplete)
  9395. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  9396. (causes problems on Win32, since the owner will be disabled)
  9397. * IWin32Window: Added ComVisible attribute
  9398. 2005-01-05 Peter Bartok <[email protected]>
  9399. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  9400. required XplatUI functions.
  9401. 2005-01-05 Peter Bartok <[email protected]>
  9402. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  9403. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  9404. to implement focus and activation handling; still incomplete and
  9405. with debug output
  9406. 2005-01-04 Peter Bartok <[email protected]>
  9407. * TextBoxBase.cs: Changed access level for Document property to
  9408. match switch to internal for TextControl
  9409. 2005-01-04 Peter Bartok <[email protected]>
  9410. * AccessibleObject: Added ComVisible attribute
  9411. 2005-01-04 Jackson Harper <[email protected]>
  9412. * X11Keyboard.cs: Remove unneeded var.
  9413. 2005-01-04 Jackson Harper <[email protected]>
  9414. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  9415. but PAINT.
  9416. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  9417. ClientMessage. This makes apps exit cleanly (more often).
  9418. 2005-01-04 Jackson Harper <[email protected]>
  9419. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  9420. handling focus, return correct colors and fonts,
  9421. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  9422. handle selection, horizontal scrolling, and mouse interaction.
  9423. 2005-01-04 Peter Bartok <[email protected]>
  9424. * ICommandExecutor.cs: Added
  9425. * IDataGridColumnStyleEditingNotificationService.cs: Added
  9426. * IFeatureSupport.cs: Added
  9427. * IFileReaderService.cs: Added
  9428. * IDataObject.cs: Added ComVisible attribute
  9429. * AmbientProperties.cs: Added
  9430. * BaseCollection.cs: Added missing attributes
  9431. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  9432. * BaseCollection.cs: Added missing attributes
  9433. * Binding.cs: Added TypeConverter attribute
  9434. * BindingContext.cs: Added DefaultEvent attribute
  9435. * BindingsCollection.cs: Added DefaultEvent attribute
  9436. * Button.cs: Added DefaultValue attribute
  9437. * DragEventArgs.cs: Added ComVisible attribute
  9438. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  9439. * KeyEventArgs.cs: Added ComVisible attribute
  9440. * KeyPressEventArgs.cs: Added ComVisible attribute
  9441. * MouseEventArgs.cs: Added ComVisible attribute
  9442. * NavigateEventArgs.cs: Added
  9443. * NavigateEventHandler.cs: Added
  9444. * FeatureSupport.cs: Added
  9445. * OSFeature.cs: Added
  9446. * Theme.cs: Added abstract Version property to support OSFeature
  9447. * ThemeWin32Classic.cs: Added Version property to
  9448. support OSFeature.Themes
  9449. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  9450. the proper styles to avoid background drawing are set, also doesn't
  9451. match MS signature
  9452. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  9453. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  9454. * ScrollEventArgs.cs: Added ComVisible attribute
  9455. * SplitterEventArgs.cs: Added ComVisible attribute
  9456. * AccessibleSelection.cs: Added Flags attribute
  9457. * Appearance.cs: Added ComVisible attribute
  9458. * Border3DSide.cs: Added ComVisible attribute
  9459. * Border3DStyle.cs: Added ComVisible attribute
  9460. * BorderStyle.cs: Added ComVisible attribute
  9461. * DragAction.cs: Added ComVisible attribute
  9462. * ErrorBlinkStyle.cs: Added
  9463. * ScrollEventType.cs: Added ComVisible attribute
  9464. * AnchorStyles.cs: Added Editor attribute
  9465. * DockStyle.cs: Added Editor attribute
  9466. * HorizontalAlignment.cs: Added ComVisible attribute
  9467. * HelpEventArgs.cs: Added ComVisible attribute
  9468. * PaintEventArgs.cs: Added IDisposable
  9469. 2005-01-04 Peter Bartok <[email protected]>
  9470. * TextControl.cs: Switched Line, LineTag and Document classes to
  9471. internal
  9472. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  9473. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  9474. Simple mode, fixes, IntegralHeight, etc.
  9475. 2005-01-04 Peter Bartok <[email protected]>
  9476. * TextBoxBase.cs: Using proper font variable now
  9477. 2005-01-04 Peter Bartok <[email protected]>
  9478. * Form.cs (ShowDialog): Set parent to owner, if provided
  9479. * GroupBox.cs: Removed unused vars
  9480. * TextControl.cs:
  9481. - Added GetHashCode() for Document and LineTag classes
  9482. - Removed unused variables
  9483. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  9484. to allow translation between continuous char position and line/pos
  9485. * CheckBox.cs: Removed vars that are provided by base class
  9486. * RadioButton.cs: Removed vars that are provided by base class, added
  9487. new keyword where required
  9488. * LinkLabel.cs: Added new keyword where required
  9489. * Control.cs (WndProc): Removed unused variable
  9490. * TextBoxBase.cs:
  9491. - Finished SelectionLength property
  9492. - Implemented SelectionStart property
  9493. - Implemented Text property
  9494. - Removed unused vars
  9495. * MessageBox.cs: Added new keyword where required
  9496. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  9497. WndProc signature
  9498. * MenuAPI.cs: Added new keyword where required
  9499. * ButtonBase.cs: Removed vars that are provided by base class, added
  9500. new keyword where required
  9501. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  9502. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  9503. into this)
  9504. * Application.cs (Run): Now triggers the ThreadExit event
  9505. * CommonDialog.cs: Added new keyword where required; now properly sets
  9506. parent (owner) for dialog
  9507. * XplatUIX11.cs: Commented out unused vars
  9508. * StatusBar.cs: Fixed signature for Text property
  9509. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  9510. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  9511. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  9512. TrackBar.cs, MonthCalendar.cs: remove unused vars
  9513. 2005-01-03 Jackson Harper <[email protected]>
  9514. * ThemeWin32Classic.cs:
  9515. * X11Keyboard.cs: Remove unused vars.
  9516. 2005-01-03 Peter Bartok <[email protected]>
  9517. * TextBox.cs:
  9518. - set_Text: Tied into TextControl
  9519. - set_TextAlignment: Tied into TextControl
  9520. * TextControl.cs:
  9521. - Added alignment properties and implemented alignment handling
  9522. and drawing (still has a bug, not generating proper expose events)
  9523. - Added new Line() constructor to allow passing the line alignment
  9524. - Fixed selection setting, properly handling end<start now
  9525. - Added aligment considerations to RecalculateDocument()
  9526. * TextBoxBase.cs:
  9527. - Now properly enforces control height for single line controls
  9528. - Added support for CharacterCasing
  9529. - Added IsInputKey override
  9530. - Fixed Keys.Enter logic
  9531. - Added SetBoundsCore override
  9532. - Fixed mouse selection handling
  9533. 2005-01-03 Jackson Harper <[email protected]>
  9534. * TreeView.cs:
  9535. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  9536. - Checkboxes are always aligned to the bottom of the node,
  9537. regardless of item height.
  9538. - Use the node bounds to draw the text so we can center it when
  9539. the item height is greater then the font height.
  9540. - Node::Bounds are only the text part of the node.
  9541. * TreeNode.cs: New method to combine collapsing and unchecking all
  9542. nodes recursively.
  9543. 2005-01-02 Jackson Harper <[email protected]>
  9544. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  9545. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  9546. tree when a check is changed. TODO: Only refresh the checked node.
  9547. 2004-12-30 Jackson Harper <[email protected]>
  9548. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  9549. * TreeNode.cs: When collapsing make sure to never collapse the
  9550. root node.
  9551. 2004-12-29 Jackson Harper <[email protected]>
  9552. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  9553. 2004-12-28 Zoltan Varga <[email protected]>
  9554. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  9555. 2004-12-28 Peter Bartok <[email protected]>
  9556. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  9557. not yet assigned
  9558. 2004-12-28 Peter Bartok <[email protected]>
  9559. * Control.cs (WndProc): Added WM_HELP handler, now generates
  9560. HelpRequested event
  9561. * Form.cs: Added HelpButton property and required support code
  9562. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  9563. 2004-12-28 Peter Bartok <[email protected]>
  9564. * CommonDialog.cs:
  9565. - Made DialogForm.owner variable internal
  9566. - Added check to ensure owner form is set before setting
  9567. owner properties in CreateParams
  9568. 2004-12-28 Geoff Norton <[email protected]>
  9569. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  9570. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  9571. GetCursorPos. Fix major visibility issues. Rework the windowing
  9572. system to support borderless/titleless windows (implements menus).
  9573. Fix GetWindowPos. Implement initial background color support for
  9574. views.
  9575. 2004-12-28 Peter Bartok <[email protected]>
  9576. * Form.cs (get_CreateParams): Make sure we have an owner before using
  9577. the owner variable. Implement proper default if no owner exists
  9578. 2004-12-28 Peter Bartok <[email protected]>
  9579. * In preparation for making Managed.Windows.Forms the default build target
  9580. for System.Windows.Forms, the following stubbed files were added.
  9581. Dialogs are currently being implemented by contributors and are only
  9582. short-term place holders.
  9583. * ColorDialog.cs: Initial check-in (minmal stub)
  9584. * DataGrid.cs: Initial check-in (minimal stub)
  9585. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  9586. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  9587. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  9588. * FontDialog.cs: Initial check-in (minimal stub)
  9589. * FileDialog.cs: Initial check-in (minimal stub)
  9590. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  9591. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  9592. * OpenFileDialog: Initial check-in (minimal stub)
  9593. * IComponentEditorPageSite.cs: Initial check-in
  9594. * Splitter.cs: Initial check-in (for Jackson)
  9595. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  9596. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  9597. * TextBox.cs: Initial check-in; still needs some wiring to
  9598. TextControl backend
  9599. * Form.cs: Implemented ControlBox property
  9600. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  9601. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  9602. * TextControl.cs: Added selection functionality; added todo header
  9603. * TextBoxBase.cs:
  9604. - Implemented Lines property
  9605. - Implemented TextHeight property
  9606. - Implemented SelectedText property
  9607. - Implemented SelectionLength property
  9608. - Implemented SelectAll method
  9609. - Implemented ToString method
  9610. - Removed and cleaned up some debug code
  9611. - Implemented (still buggy) mouse text selection
  9612. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  9613. * ComboBox.cs: Complete DropDownList implementation, fixes.
  9614. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  9615. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  9616. * ComboBoxStyle.cs: ComboBoxStyle enum
  9617. * ComboBox.cs: Initial work on ComboBox control
  9618. 2004-12-21 Peter Bartok <[email protected]>
  9619. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  9620. forward so that anything that creates a window gets the default,
  9621. also no longer uses Visible property in CreateParams to avoid
  9622. walking up the parent chain and possibly get the wrong visible
  9623. status. Fixed IsVisible to no longer walk up to the parent.
  9624. 2004-12-21 Peter Bartok <[email protected]>
  9625. * Form.cs (ShowDialog): Unset modality for the proper window
  9626. 2004-12-20 Peter Bartok <[email protected]>
  9627. * CommonDialog.cs: Initial check-in
  9628. 2004-12-20 Peter Bartok <[email protected]>
  9629. * Control.cs (Visible): Now uses the parent window instead of the
  9630. client area window for the property
  9631. * Form.cs
  9632. - ShowDialog(): Now uses the proper window for modality
  9633. - The default visibility state for the form parent is now false. This
  9634. will prevent the user from seeing all the changes to the form and
  9635. its controls before the application hits Application.Run()
  9636. - Removed some stale commented out code
  9637. * NativeWindow.cs:
  9638. - Added FindWindow() method to have a method to check for existence
  9639. of a window handle
  9640. - Added ability to override default exception handling (for example
  9641. when debugging with VS.Net; to do this the ExternalExceptionHandler
  9642. define must be set
  9643. - Removed some useless debug output
  9644. * XplatUIX11.cs:
  9645. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  9646. not working as expected
  9647. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  9648. property to allow switching back to the modal window if focus is
  9649. given to another one of our windows (Application Modal)
  9650. - Now only sets override_redirect if we create a window
  9651. without WS_CAPTION
  9652. - Moved EventMask selection before mapping of newly created window
  9653. so we can catch the map event as well
  9654. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  9655. - Added various Atom related DllImports
  9656. - Implemented Exit() method
  9657. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  9658. in the CreateParams
  9659. * MessageBox.cs: Now properly deals with the FormParent window by
  9660. providing an override the FormParent CreateParams property to
  9661. set as POPUP instead of OVERLAPPED window.
  9662. 2004-12-19 Geoff Norton <[email protected]>
  9663. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  9664. Minor code cleanup.
  9665. 2004-12-19 Geoff Norton <[email protected]>
  9666. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  9667. 2004-12-18 Peter Bartok <[email protected]>
  9668. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  9669. implementing SetModal() method
  9670. 2004-12-18 Peter Bartok <[email protected]>
  9671. * X11Structs.cs (XGCValues): Fixed type of function element
  9672. * XplatUI.cs: Added ScrollWindow() method
  9673. * XplatUIDriver.cs: Added ScrollWindow() abstract
  9674. * XplatUIWin32.cs: Implemented ScrollWindow() method
  9675. * XplatUIX11.cs: Implemented ScrollWindow() method
  9676. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  9677. 2004-12-17 Geoff Norton <[email protected]>
  9678. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  9679. Some more keyboard support (INCOMPLETE)
  9680. 2004-12-17 Peter Bartok <[email protected]>
  9681. * TextControl.cs:
  9682. - Added color attribute to line tags.
  9683. - Added color argument to all functions dealing with tags
  9684. - Added color argument support to various functions
  9685. - Fixed miss-calculation of baseline/shift in certain circumstances
  9686. * TextBoxBase.cs: Added new color option to test code
  9687. 2004-12-17 Jackson Harper <[email protected]>
  9688. * TreeNode.cs:
  9689. * MonthCalendar.cs: Signature fixes
  9690. 2004-12-17 Geoff Norton <[email protected]>
  9691. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  9692. keyboard event moved it. Create a new graphics context for each paint resolves this
  9693. 2004-12-17 Geoff Norton <[email protected]>
  9694. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  9695. Make caret exist and go blink blink. Initial keyboard support.
  9696. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  9697. works.
  9698. 2004-12-17 Jackson Harper <[email protected]>
  9699. * XplatUIStructs.cs: Updated set of virtual keycodes.
  9700. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  9701. 2004-12-17 Jackson Harper <[email protected]>
  9702. * XplatUIX11.cs: Prune old keyboard code.
  9703. 2004-12-17 Jackson Harper <[email protected]>
  9704. * XplatUIX11.cs: When generating mouse wparams get the modifier
  9705. keys from the ModifierKeys property.
  9706. 2004-12-17 Jackson Harper <[email protected]>
  9707. * X11Keyboard.cs: Send up/down input when generating
  9708. messages. Remove some unused vars.
  9709. 2004-12-17 Jackson Harper <[email protected]>
  9710. * TabControl.cs:
  9711. * TreeView.cs: get rid of warnings.
  9712. 2004-12-17 Jackson Harper <[email protected]>
  9713. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  9714. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  9715. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  9716. CheckedListBox.cs: Implementation
  9717. 2004-12-17 Peter Bartok <[email protected]>
  9718. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  9719. 2004-12-16 Peter Bartok <[email protected]>
  9720. * TextControl.cs:
  9721. - InsertCharAtCaret(): Fixed start pos fixup
  9722. - CaretLine_get: No longer derives the line from the tag, the tag
  9723. could be stale if lines in the document have been added or deleted
  9724. - RebalanceAfterDelete(): Fixed bug in balancing code
  9725. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  9726. - Line.Streamline(): Now can also elminate leading empty tags
  9727. - DumpTree(): Added a few more tests and prevented exception on
  9728. uninitialized data
  9729. - Added Debug section for Combining lines
  9730. - Delete(): Now copies all remaining properties of a line
  9731. * TextBoxBase.cs:
  9732. - Left mousebutton now sets the caret (and middle button still acts
  9733. as formatting tester, which must go away soon)
  9734. - Added Debug section for Deleting/Combining lines
  9735. - Fixed calculations for UpdateView after Combining lines
  9736. 2004-12-16 Peter Bartok <[email protected]>
  9737. * TextControl.cs: Now properly aligns text on a baseline, using the
  9738. new XplatUI.GetFontMetrics() method. Simplified several calculations
  9739. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  9740. defined
  9741. 2004-12-16 Peter Bartok <[email protected]>
  9742. * XplatUI.cs: Added GetFontMetrics() method
  9743. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  9744. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  9745. into libgdiplus, our private GetFontMetrics function
  9746. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  9747. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  9748. 2004-12-16 Jackson Harper <[email protected]>
  9749. * XplatUIStruct.cs: Add enum for dead keys
  9750. * X11Keyboard.cs: Map and unmap dead keys.
  9751. 2004-12-16 Jackson Harper <[email protected]>
  9752. * X11Keyboard.cs: Detect and use the num lock mask.
  9753. 2004-12-16 Peter Bartok <[email protected]>
  9754. * Control.cs (CreateGraphics): Added check to make sure the
  9755. handle of the window exists before calling Graphics.FromHwnd()
  9756. 2004-12-16 Peter Bartok <[email protected]>
  9757. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  9758. contains a lot of code that's not supposed to be there for the
  9759. real thing, but required for developing/testing the textbox
  9760. backend.
  9761. 2004-12-16 Peter Bartok <[email protected]>
  9762. * TextControl.cs:
  9763. - Fixed Streamline method
  9764. - Added FindTag method to Line
  9765. - Added DumpTree method for debugging
  9766. - Added DecrementLines() method for deleting lines
  9767. - Fixed UpdateView to update the cursor to end-of-line on single-line
  9768. updates
  9769. - Added PositionCaret() method
  9770. - Fixed MoveCaret(LineDown) to move into the last line, too
  9771. - Added InsertChar overload
  9772. - Fixed InsertChar tag offset calculations
  9773. - Added DeleteChar() method
  9774. - Added Combine() method for folding lines
  9775. - Fixed Delete() method, no longer allocates wasted Line object and
  9776. now copies all properties when swapping nodes
  9777. - Delete() method now updates document line counter
  9778. 2004-12-15 Jackson Harper <[email protected]>
  9779. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  9780. * X11Keyboard.cs: Expose the currently selected modifier keys
  9781. through a property.
  9782. 2004-12-15 Peter Bartok <[email protected]>
  9783. * TextControl.cs: Initial check-in. Still incomplete
  9784. 2004-12-15 Jackson Harper <[email protected]>
  9785. * TreeNode.cs:
  9786. * TreeView.cs: Fix build on csc (second time today ;-))
  9787. 2004-12-15 Jackson Harper <[email protected]>
  9788. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  9789. is calculated and use this for click testing.
  9790. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  9791. 2004-12-15 Jackson Harper <[email protected]>
  9792. * TreeView.cs: Pass the nodes image index to the image list when
  9793. drawing that image.
  9794. 2004-12-15 Jackson Harper <[email protected]>
  9795. * X11Keyboard.cs: Set messages hwnd.
  9796. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  9797. post_message calls.
  9798. 2004-12-15 Jackson Harper <[email protected]>
  9799. * X11Keyboard.cs: Fix to compile with csc.
  9800. 2004-12-15 Jackson Harper <[email protected]>
  9801. * X11Structs.cs: Add key mask values
  9802. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  9803. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  9804. down/up foo into WM_CHAR foo
  9805. * KeyboardLayouts.cs: Common keyboard layouts
  9806. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  9807. post messages into the main queue.
  9808. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  9809. * Button.cs: implement ProcessMnemonic
  9810. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  9811. brushes everytime
  9812. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  9813. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  9814. 2004-12-12 John BouAntoun <[email protected]>
  9815. * MonthCalendar.cs: Implemented click-hold for next/previous month
  9816. and date selection
  9817. 2004-12-11 Peter Bartok <[email protected]>
  9818. * X11Structs.cs:
  9819. - Added XKeyboardState (moved from XplatUIX11.cs)
  9820. - Added XCreateGC related enums and structures
  9821. - Added GXFunction for XSetFunction
  9822. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  9823. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  9824. CaretVisible() calls
  9825. * ToolTip.cs: Added code to prevent stealing focus from app windows
  9826. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  9827. DestroyCaret, SetCaretPos and CaretVisible)
  9828. * XplatUIX11.cs:
  9829. - Added implementation for caret functions
  9830. - Moved hover variables into a struct, to make it a bit easier
  9831. on the eyes and to debug
  9832. - Removed XKeyboardState (moved to XplatUIX11.cs)
  9833. - Moved Keyboard properties into the properties region
  9834. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  9835. call to get a graphics context for our control
  9836. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  9837. * TreeView.cs: Fixed bug. No matter what color was set it would always
  9838. return SystemColors.Window
  9839. * XplatUIWin32.cs: Implemented caret overrides
  9840. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  9841. * ListBox.cs: fire events, implement missing methods and properties,
  9842. sorting.
  9843. 2004-12-10 John BouAntoun <[email protected]>
  9844. * MonthCalendar.cs: invalidation bug fixing
  9845. * ThemeWin32Classic.cs: paint fixing
  9846. 2004-12-09 Geoff Norton <[email protected]>
  9847. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  9848. prepare the CGContextRef there now.
  9849. 2004-12-09 John BouAntoun <[email protected]>
  9850. * MonthCalendar.cs:
  9851. - optimisationL only invalidate areas that have changed
  9852. * ThemeWin32Classic.cs:
  9853. - only paint parts that intersect with clip_area
  9854. 2004-12-09 Peter Bartok <[email protected]>
  9855. * Application.cs: Undid changes from r37004 which cause problems
  9856. on X11
  9857. 2004-12-09 Ravindra <[email protected]>
  9858. * ToolBar.cs: Added support for displaying ContextMenu
  9859. attached to a button on ToolBar.
  9860. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  9861. property.
  9862. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  9863. * Label.cs: autosize works in text change and removes unnecessary
  9864. invalidate
  9865. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  9866. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  9867. remove warnings
  9868. 2004-12-08 Geoff Norton <[email protected]>
  9869. * XplatUIOSX.cs: Added mouse move/click/grab support
  9870. Remove some debugging WriteLines not needed anymore.
  9871. Add window resizing/positioning.
  9872. Fix visibility on reparenting.
  9873. 2004-12-08 Peter Bartok <[email protected]>
  9874. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  9875. 2004-12-07 Geoff Norton <[email protected]>
  9876. * XplatUIOSX.cs: Initial checkin
  9877. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  9878. 2004-12-03 Ravindra <[email protected]>
  9879. * ListView.cs: Added some keybindings and fixed scrolling.
  9880. ScrollBars listen to ValueChanged event instead of Scroll
  9881. Event. This would let us take care of all changes being
  9882. done in the scrollbars' values programmatically or manually.
  9883. * ListView.cs (CanMultiselect): Added a check for shift key.
  9884. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  9885. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  9886. of ListViewSubItemCollection as well.
  9887. 2004-12-06 Peter Bartok <[email protected]>
  9888. * Control.cs (Parent): Added check and exception to prevent
  9889. circular parenting
  9890. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  9891. * ListBox.cs: implemented clipping, selection single and multiple,
  9892. bug fixing
  9893. 2004-12-03 Ravindra <[email protected]>
  9894. * ListView.cs (ListView_KeyDown):
  9895. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  9896. when CTRL key is pressed.
  9897. * ListViewItem.cs (Selected): Fixed setting the property.
  9898. 2004-12-03 Marek Safar <[email protected]>
  9899. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  9900. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  9901. MinimizeBox, ShowInTaskbar, TopMost properties.
  9902. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  9903. will be implemented).
  9904. 2004-12-03 Marek Safar <[email protected]>
  9905. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  9906. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  9907. tests.
  9908. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  9909. * TreeView.cs: BackColor is Colors.Window.
  9910. 2004-12-01 Jackson Harper <[email protected]>
  9911. * TreeView.cs: When resizing the tree if the user is making it
  9912. smaller we don't get expose events, so we need to handle adding
  9913. the horizontal scrollbar in the size changed handler as well as
  9914. the expose handler.
  9915. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  9916. * DrawItemState.cs: fixes wrong enum values
  9917. 2004-12-01 Jackson Harper <[email protected]>
  9918. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  9919. 2004-12-01 Jackson Harper <[email protected]>
  9920. * NodeLabelEditEventArgs.cs:
  9921. * NodeLabelEditEventHandler.cs:
  9922. * OpenTreeNodeEnumerator.cs:
  9923. * TreeNode.cs:
  9924. * TreeNodeCollection.cs:
  9925. * TreeView.cs:
  9926. * TreeViewAction.cs:
  9927. * TreeViewCancelEventArgs.cs:
  9928. * TreeViewCancelEventHandler.cs:
  9929. * TreeViewEventArgs.cs:
  9930. * TreeViewEventHandler.cs: Initial implementation.
  9931. 2004-12-01 Ravindra <[email protected]>
  9932. * ListView.cs (CalculateListView): Fixed scrolling related
  9933. calculations. Also, removed some debug statements from other
  9934. places.
  9935. * ListViewItem.cs: Changed access to 'selected' instance variable
  9936. from private to internal.
  9937. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  9938. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  9939. * ThemeWin32Classic.cs: remove cache of brush and pens for
  9940. specific controls and use the global system, fixes scrollbutton
  9941. bugs (for small sizes, disabled, etc)
  9942. * ScrollBar.cs: does not show the thumb for very small controls
  9943. (as MS) and allow smaller buttons that the regular size
  9944. 2004-12-01 Miguel de Icaza <[email protected]>
  9945. * UpDownBase.cs: Add abstract methods for the interface.
  9946. Add new virtual methods (need to be hooked up to TextEntry when it
  9947. exists).
  9948. Add override methods for most features.
  9949. Computes the size, forces the height of the text entry.
  9950. * NumericUpDown.cs: Put here the current testing code.
  9951. * Set eol-style property on all files that do not have mixed line
  9952. endings, to minimize the future problems. There are still a few
  9953. files with mixed endings, and someone should choose whether they
  9954. want to move it or not.
  9955. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  9956. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  9957. System.Colors
  9958. 2004-11-30 Ravindra <[email protected]>
  9959. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  9960. drawing and replaced use of SystemColors by theme colors.
  9961. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  9962. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  9963. same ListViewItem is being added more than once.
  9964. 2004-11-30 John BouAntoun <[email protected]>
  9965. * MonthCalendar.cs:
  9966. - ControlStyles love to make the control not flicker
  9967. 2004-11-30 Peter Bartok <[email protected]>
  9968. * CharacterCasing.cs: Added
  9969. 2004-11-29 Peter Bartok <[email protected]>
  9970. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  9971. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  9972. I am removing these files as they conflict with already completed
  9973. work. While it is fantastic to get contributions to MWF, I
  9974. respectfully ask that everyone please coordinate their contributions
  9975. through mono-winforms-list or #mono-winforms at this time. We're
  9976. explicitly avoiding stubbing and don't want controls that don't have
  9977. their basic functionality implemented in svn. Please also see
  9978. http://www.mono-project.com/contributing/winforms.html
  9979. 2004-11-29 Marek Safar <[email protected]>
  9980. * Application.cs (ModalRun): Don't hang after exit.
  9981. * Theme.cs: New TreeViewDefaultSize property.
  9982. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  9983. with less hardcoded SystemColors constant.
  9984. Implemented TreeViewDefaultSize.
  9985. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  9986. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  9987. 2004-11-29 John BouAntoun <[email protected]>
  9988. * MonthCalendar.cs:
  9989. - Fix NextMonthDate and PrevMonthDate click moving calendar
  9990. 2004-11-26 John BouAntoun <[email protected]>
  9991. * MonthCalendar.cs:
  9992. - Fix usage of ScrollChange Property when scrolling months
  9993. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  9994. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  9995. - Fixes menu destroying
  9996. - Support adding and removing items on already created menus
  9997. 2004-11-26 John BouAntoun <[email protected]>
  9998. * MonthCalendar.cs:
  9999. - Re-worked all bolded dates handling to match win32
  10000. * ThemeWin32Classic.cs:
  10001. - Fixed rendering with bolded dates
  10002. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  10003. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  10004. - Horizontal scroolbar
  10005. - Multicolumn
  10006. - Fixes
  10007. 2004-11-25 John BouAntoun <[email protected]>
  10008. * MonthCalendar.cs:
  10009. - Fix Usage of MaxSelectionCount from SelectionRange
  10010. - Fixed Shift + Cursor Selection
  10011. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  10012. - Fixed normal cursor selection to be compat with win32
  10013. - Fixed Shift + Mouse Click selection
  10014. 2004-11-24 Peter Bartok <[email protected]>
  10015. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  10016. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  10017. * XplatUIX11.cs:
  10018. - CreatedKeyBoardMsg now updates keystate with Alt key
  10019. - Added workaround for timer crash to CheckTimers, Jackson will
  10020. develop a proper fix and check in later
  10021. - Implemented DispatchMessage
  10022. - Removed calling the native window proc from GetMessage (call
  10023. now moved to DispatchMessage)
  10024. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  10025. the keydata (Fixes bug #69831)
  10026. * XplatUIWin32.cs:
  10027. - (DispatchMessage): Switched to return IntPtr
  10028. - Added DllImport for SetFocus
  10029. 2004-11-24 Ravindra <[email protected]>
  10030. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  10031. background drawing.
  10032. * ListViewItem.cs: Fixed various properties, calculations
  10033. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  10034. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  10035. and some internal properties. Fixed MouseDown handler and Paint
  10036. method.
  10037. 2004-11-24 John BouAntoun <[email protected]>
  10038. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  10039. 2004-11-24 John BouAntoun <[email protected]>
  10040. * ContainerControl.cs: correct accidental check in of local changes
  10041. 2004-11-24 John BouAntoun <[email protected]>
  10042. * ThemeWin32Classic.cs:
  10043. - Fixed Drawing Last month in grid (sometimes not showing)
  10044. * MonthCalendar.cs:
  10045. - Fixed title width calculation bug (makeing title small)
  10046. 2004-11-23 Peter Bartok <[email protected]>
  10047. * XplatUIX11.cs:
  10048. - Added generation of WM_MOUSEHOVER event
  10049. - Added missing assignment of async_method atom
  10050. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  10051. 2004-11-23 John BouAntoun <[email protected]>
  10052. * ThemeWin32Classic.cs:
  10053. - Fixed Drawing of today circle when showtodaycircle not set
  10054. - fixed drawing of first and last month in the grid (gay dates)
  10055. * MonthCalendar.cs:
  10056. - Fixed Drawing of today circle
  10057. - Fixed drawing of grady dates
  10058. - Fixed HitTest for today link when ShowToday set to false
  10059. - Fixed DefaultSize to obey ShowToday
  10060. 2004-11-23 John BouAntoun <[email protected]>
  10061. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  10062. * System.Windows.Forms/Theme.cs
  10063. * MonthCalendar.cs: added for MonthCalendar
  10064. * SelectionRange.cs: added for MonthCalendar
  10065. * Day.cs: added for MonthCalendar: added for MonthCalendar
  10066. * DateRangeEventArgs.cs: added for MonthCalendar
  10067. * DateRangeEventHandler.cs: added for MonthCalendar
  10068. 2004-11-22 Ravindra <[email protected]>
  10069. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  10070. property.
  10071. 2004-11-22 Miguel de Icaza <[email protected]>
  10072. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  10073. event handler.
  10074. * NumericUpDown.cs: Added new implementation.
  10075. * UpDownBase.cs: Added new implementation.
  10076. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  10077. implementations.
  10078. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  10079. implementations.
  10080. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  10081. methods.
  10082. 2004-11-21 Miguel de Icaza <[email protected]>
  10083. * Timer.cs (Dispose): Should call the base dispose when
  10084. overriding.
  10085. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  10086. * ScrollBar.cs: updates thumb position when max, min or increment
  10087. is changed
  10088. 2004-11-21 Ravindra <[email protected]>
  10089. * ListView.cs: Implemented item selection, activation and
  10090. column header style. Fixed properties to do a redraw, if
  10091. required. Added support for MouseHover, DoubleClick, KeyDown
  10092. and KeyUp event handling and some minor fixes.
  10093. * ListViewItem.cs: Fixed constructor.
  10094. * ThemeWin32Classic.cs: Improved drawing for ListView.
  10095. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  10096. * ThemeWin32Classic.cs: initial listbox drawing code
  10097. * DrawMode.cs: new enumerator
  10098. * ListControl.cs: stubbed class
  10099. * ListBox.cs: initial implementation
  10100. * Theme.cs: new methods definitions
  10101. * SelectionMode.cs: new enumerator
  10102. 2004-11-17 Peter Bartok <[email protected]>
  10103. * XplatUIWin32.cs: Added double-click events to the class style
  10104. * Control.cs (WndProc):
  10105. - Added handling of click-count to MouseDown/ MouseUp events.
  10106. - Added handling of middle and right mouse buttons
  10107. - Removed old debug code
  10108. 2004-11-17 Jackson Harper <[email protected]>
  10109. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  10110. 2004-11-17 Ravindra <[email protected]>
  10111. * ListView.cs: Added event handling for MouseMove/Up/Down.
  10112. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  10113. * ThemeWin32Classic.cs: We need to clear the graphics context and
  10114. draw column header in a proper state.
  10115. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  10116. * Menu.cs: fixes signature
  10117. 2004-11-16 Peter Bartok <[email protected]>
  10118. * XplatUIX11.cs (GetMessage): Implemented generation of
  10119. double click mouse messages
  10120. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  10121. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  10122. not by menu
  10123. 2004-11-11 Peter Bartok <[email protected]>
  10124. * HandleData.cs: Added Visible property
  10125. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  10126. HandleData
  10127. * XplatUIX11.cs: Removed old debug leftovers
  10128. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  10129. * Control.cs (WndProc): Removed old debug leftovers,
  10130. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  10131. needed WM_SIZE handling
  10132. 2004-11-11 Jackson Harper <[email protected]>
  10133. * OwnerDrawPropertyBag.cs:
  10134. * TreeViewImageIndexConverter.cs: Initial implementation
  10135. 2004-11-10 Jackson Harper <[email protected]>
  10136. * ThemeWin32Classic.cs:
  10137. * TabControl.cs: instead of moving tabs by the slider pos just
  10138. start drawing at the tab that is offset by the slider. This way
  10139. scrolling always moves by exactly one tab.
  10140. 2004-11-10 Jackson Harper <[email protected]>
  10141. * TabControl.cs: You can only scroll left when the slider has
  10142. already ben moved right.
  10143. 2004-11-10 Jackson Harper <[email protected]>
  10144. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  10145. the clip area.
  10146. 2004-11-10 Jackson Harper <[email protected]>
  10147. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  10148. clip area.
  10149. 2004-11-09 Jackson Harper <[email protected]>
  10150. * TabControl.cs (CalcXPos): New helper method so we can determine
  10151. the proper place to start drawing vertical tabs.
  10152. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  10153. 2004-11-09 Jackson Harper <[email protected]>
  10154. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  10155. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  10156. and Bottom, left and right are illegal values for this and
  10157. multiline is enabled when the alignment is set to left or right.
  10158. (DrawTab): Each alignment block should draw the text itself now
  10159. because Left requires special love. Also add rendering for Left
  10160. aligned tabs.
  10161. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  10162. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  10163. does not destroy the windows, removes debugging messages
  10164. 2004-11-09 jba <[email protected]>
  10165. * ThemeWin32Classic.cs
  10166. (DrawButtonBase): Fix verticle text rect clipping in windows
  10167. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  10168. rendering and incorrect text rect clipping
  10169. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  10170. rendering and incorrect text rect clipping
  10171. 2004-11-08 Jackson Harper <[email protected]>
  10172. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  10173. bottom when they are bottom aligned so the bottoms of the tabs get
  10174. displayed.
  10175. * TabControl.cs (DropRow): Move rows up instead of down when the
  10176. tab control is bottom aligned.
  10177. 2004-11-08 13:59 pbartok
  10178. * XplatUIX11.cs:
  10179. - Added handling for various window styles
  10180. - Added handling for popup windows
  10181. - Added SetTopmost handling
  10182. 2004-11-08 13:55 pbartok
  10183. * XplatUIWin32.cs:
  10184. - Added argument to SetTopmost method
  10185. - Fixed broken ClientToScreen function
  10186. 2004-11-08 13:53 pbartok
  10187. * XplatUIStructs.cs:
  10188. - Added missing WS_EX styles
  10189. 2004-11-08 13:53 pbartok
  10190. * XplatUI.cs, XplatUIDriver.cs:
  10191. - Added argument to SetTopmost
  10192. 2004-11-08 13:52 pbartok
  10193. * X11Structs.cs:
  10194. - Added XSetWindowAttributes structure
  10195. - Improved XWindowAttributes structure
  10196. - Added SetWindowValuemask enum
  10197. - Added window creation arguments enum
  10198. - Added gravity enum
  10199. - Added Motif hints structure
  10200. - Added various Motif flags and enums
  10201. - Added PropertyMode enum for property functions
  10202. 2004-11-08 13:50 pbartok
  10203. * Form.cs:
  10204. - Fixed arguments for updated SetTopmost method
  10205. 2004-11-08 13:49 pbartok
  10206. * ToolTip.cs:
  10207. - Fixed arguments for updated SetTopmost function
  10208. - Fixed usage of PointToClient
  10209. 2004-11-08 13:44 pbartok
  10210. * MenuAPI.cs:
  10211. - Added Clipping of children and siblings
  10212. 2004-11-08 13:41 pbartok
  10213. * MainMenu.cs:
  10214. - Removed SetMenuBarWindow call. We do this in Form.cs
  10215. 2004-11-08 13:40 jackson
  10216. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  10217. scrolling jimmi in the correct location with bottom aligned tabs
  10218. 2004-11-08 13:36 pbartok
  10219. * ContainerControl.cs:
  10220. - Implemented BindingContext
  10221. - Implemented ParentForm
  10222. 2004-11-08 12:46 jackson
  10223. * TabControl.cs: Put bottom rendered tabs in the right location
  10224. 2004-11-08 07:15 jordi
  10225. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  10226. removes dead code
  10227. 2004-11-05 17:30 jackson
  10228. * TabControl.cs: When selected tabs are expanded make sure they
  10229. don't go beyond the edges of the tab control
  10230. 2004-11-05 14:57 jackson
  10231. * TabControl.cs: Reset show_slider so if the control is resized to
  10232. a size where it is no longer needed it's not displayed anymore
  10233. 2004-11-05 13:16 jackson
  10234. * TabControl.cs: Make tab pages non visible when added to the
  10235. control
  10236. 2004-11-05 12:42 jackson
  10237. * TabControl.cs: Implement SizeMode.FillToRight
  10238. 2004-11-05 12:16 jackson
  10239. * Control.cs: Do not call CreateHandle if the handle is already
  10240. created
  10241. 2004-11-05 11:46 jackson
  10242. * TabControl.cs: Remove superflous call to CalcTabRows
  10243. 2004-11-05 09:07 jackson
  10244. * XplatUIX11.cs: Update for Mono.Posix changes
  10245. 2004-11-05 07:00 ravindra
  10246. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  10247. scrolling.
  10248. 2004-11-04 22:47 jba
  10249. * ThemeWin32Classic.cs:
  10250. - Fix Button rendering for FlatStyle = Flat or Popup
  10251. - Fix RadioButton and CheckBox rendering when Appearance = Button
  10252. (normal and flatstyle).
  10253. - Correct outer rectangle color when drawing focus rectangle
  10254. - Adjust button bounds to be 1 px smaller when focused
  10255. - Make button not draw sunken 3d border when pushed (windows compat)
  10256. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  10257. - Offset the text in RadioButton and Checkbox when being rendered as
  10258. a button.
  10259. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  10260. radiobuttons
  10261. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  10262. - Fixed disabled text rendering for normally rendered radiobuttons
  10263. 2004-11-04 10:26 jackson
  10264. * TabControl.cs: Recalculate tab rows when resizing
  10265. 2004-11-04 07:47 jordi
  10266. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  10267. collection completion, drawing issues, missing features
  10268. 2004-11-04 05:03 ravindra
  10269. * ScrollBar.cs:
  10270. - We need to recalculate the Thumb area when
  10271. LargeChange/maximum/minimum values are changed.
  10272. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  10273. than minimum. This is required to handle the case if large_change is
  10274. more than max, and use LargeChange property instead of large_change
  10275. variable.
  10276. - We return max+1 when large_change is more than max, like MS does.
  10277. 2004-11-04 04:29 ravindra
  10278. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  10279. - Changed default value signatures (prefixed all with ListView).
  10280. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  10281. ListView.
  10282. - Fixed calculations for ListViewItem and implemented Clone()
  10283. method.
  10284. 2004-11-04 04:26 ravindra
  10285. * Theme.cs, ThemeWin32Classic.cs:
  10286. - Changed default ListView values signatures (prefixed all with
  10287. ListView).
  10288. - Fixed default size values for VScrollBar and HScrollBar.
  10289. - Fixed DrawListViewItem method.
  10290. 2004-11-04 04:05 ravindra
  10291. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  10292. 2004-11-04 04:04 ravindra
  10293. * ImageList.cs: Implemented the missing overload for Draw method.
  10294. 2004-11-03 19:29 jackson
  10295. * TabControl.cs: Handle dropping rows on selection properly
  10296. 2004-11-03 11:59 jackson
  10297. * TabControl.cs: remove debug code
  10298. 2004-11-03 11:52 jackson
  10299. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  10300. the scrolly widgerywoo
  10301. 2004-11-02 13:52 jackson
  10302. * TabControl.cs: Resize the tab pages and tabs when the tab control
  10303. is resized
  10304. 2004-11-02 13:40 jackson
  10305. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  10306. selected tab to the bottom
  10307. 2004-11-02 13:39 jackson
  10308. * TabPage.cs: Store the tab pages row
  10309. 2004-11-02 12:33 jordi
  10310. * MenuItem.cs: fixes handle creation
  10311. 2004-11-02 11:42 jackson
  10312. * TabControl.cs: signature fix
  10313. 2004-11-02 08:56 jackson
  10314. * TabControl.cs: Calculate whether the tab is on an edge properly.
  10315. Remove top secret debugging code
  10316. 2004-11-01 19:57 jackson
  10317. * TabControl.cs: Add click handling, and proper sizing
  10318. 2004-11-01 19:47 jackson
  10319. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  10320. tab controls
  10321. 2004-11-01 19:39 jackson
  10322. * TabPage.cs: add internal property to store the bounds of a tab
  10323. page
  10324. 2004-10-30 04:23 ravindra
  10325. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  10326. values.
  10327. 2004-10-30 04:21 ravindra
  10328. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  10329. fixed calculations.
  10330. 2004-10-30 03:06 pbartok
  10331. * XplatUIX11.cs:
  10332. - Removed extension of DllImported libs
  10333. 2004-10-29 09:55 jordi
  10334. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  10335. navigation, itemcollection completion, menu fixes
  10336. 2004-10-27 22:58 pbartok
  10337. * XplatUIX11.cs:
  10338. - Now throws a nice error message when no X display could be opened
  10339. 2004-10-26 13:51 jordi
  10340. * ListView.cs: removes warning
  10341. 2004-10-26 03:55 ravindra
  10342. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  10343. ThemeWin32Classic.cs: Some formatting for my last checkins.
  10344. 2004-10-26 03:36 ravindra
  10345. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  10346. control and default values.
  10347. 2004-10-26 03:35 ravindra
  10348. * Theme.cs: Added some default values for ListView control.
  10349. 2004-10-26 03:33 ravindra
  10350. * ToolBar.cs: ToolBar should use the user specified button size, if
  10351. there is any. Added a size_specified flag for the same.
  10352. 2004-10-26 03:33 ravindra
  10353. * ColumnHeader.cs: Added some internal members and calculations for
  10354. ColumnHeader.
  10355. 2004-10-26 03:32 ravindra
  10356. * ListViewItem.cs: Calculations for ListViewItem.
  10357. 2004-10-26 03:31 ravindra
  10358. * ListView.cs: Added some internal members and calculations for
  10359. ListView.
  10360. 2004-10-22 13:31 jordi
  10361. * MenuAPI.cs: speedup menus drawing
  10362. 2004-10-22 13:16 jackson
  10363. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  10364. expose event
  10365. 2004-10-22 11:49 jackson
  10366. * Control.cs: oops
  10367. 2004-10-22 11:41 jackson
  10368. * Control.cs: Check to see if the window should have its background
  10369. repainted by X when drawing.
  10370. 2004-10-22 11:31 jackson
  10371. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  10372. clear is true, this way we do not get flicker from X repainting the
  10373. background
  10374. 2004-10-22 11:28 jackson
  10375. * XEventQueue.cs: Queue properly
  10376. 2004-10-21 09:38 jackson
  10377. * XEventQueue.cs: Fix access modifier
  10378. 2004-10-21 09:36 jackson
  10379. * XEventQueue.cs: Don't loose messages
  10380. 2004-10-21 09:22 jackson
  10381. * XEventQueue.cs: Don't loose messages
  10382. 2004-10-20 04:15 jordi
  10383. * BootMode.cs: enum need it by SystemInfo
  10384. 2004-10-19 21:58 pbartok
  10385. * XplatUIWin32.cs:
  10386. - Small sanity check
  10387. 2004-10-19 21:56 pbartok
  10388. * Form.cs:
  10389. - Added private FormParentWindow class which acts as the container
  10390. for our form and as the non-client area where menus are drawn
  10391. - Added/Moved required tie-ins to Jordi's menus
  10392. - Fixed/Implemented the FormStartPosition functionality
  10393. 2004-10-19 21:52 pbartok
  10394. * Control.cs:
  10395. - Removed unneeded locals
  10396. - Added code to all size and location properties to understand and
  10397. deal with the parent container of Form
  10398. 2004-10-19 21:33 pbartok
  10399. * Application.cs:
  10400. - Fixed to deal with new Form subclasses for menus
  10401. 2004-10-19 17:48 jackson
  10402. * XEventQueue.cs: commit correct version of file
  10403. 2004-10-19 16:50 jackson
  10404. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  10405. 2004-10-19 16:15 jordi
  10406. * MenuAPI.cs: MenuBarCalcSize returns the height
  10407. 2004-10-19 08:31 pbartok
  10408. * Control.cs:
  10409. - Added missing call to PreProcessMessage before calling OnXXXKey
  10410. methods
  10411. 2004-10-19 00:04 ravindra
  10412. * ToolTip.cs: Fixed constructor.
  10413. 2004-10-18 09:31 jordi
  10414. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  10415. 2004-10-18 09:26 jordi
  10416. * MenuItem.cs: fixes MenuItem class signature
  10417. 2004-10-18 08:56 jordi
  10418. * MenuAPI.cs: prevents windows from showing in the taskbar
  10419. 2004-10-18 00:28 ravindra
  10420. * ToolTip.cs: Suppressed a warning message.
  10421. 2004-10-18 00:27 ravindra
  10422. * Control.cs: Default value of visible property must be true.
  10423. 2004-10-17 23:19 pbartok
  10424. * ToolTip.cs:
  10425. - Complete implementation
  10426. 2004-10-17 23:19 pbartok
  10427. * XplatUIX11.cs:
  10428. - Added EnableWindow method
  10429. - Added SetModal stub
  10430. - Added generation of WM_ACTIVATE message (still needs testing)
  10431. - Added SetTopMost stub
  10432. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  10433. 2004-10-17 23:17 pbartok
  10434. * XplatUIWin32.cs:
  10435. - Removed VirtualKeys to XplatUIStructs
  10436. - Implemented SetTopMost method
  10437. - Implemented EnableWindow method
  10438. - Bugfix in ScreenToClient()
  10439. - Bugfixes in ClientToScreen()
  10440. 2004-10-17 22:51 pbartok
  10441. * XplatUIStructs.cs:
  10442. - Added WS_EX styles to WindowStyles enumeration
  10443. 2004-10-17 22:50 pbartok
  10444. * XplatUI.cs, XplatUIDriver.cs:
  10445. - Added method for enabling/disabling windows
  10446. - Added method for setting window modality
  10447. - Added method for setting topmost window
  10448. 2004-10-17 22:49 pbartok
  10449. * ThemeWin32Classic.cs:
  10450. - Added ToolTip drawing code
  10451. 2004-10-17 22:49 pbartok
  10452. * Theme.cs:
  10453. - Added ToolTip abstracts
  10454. 2004-10-17 22:47 pbartok
  10455. * Form.cs:
  10456. - Fixed Form.ControlCollection to handle owner relations
  10457. - Added Owner/OwnedForms handling
  10458. - Implemented Z-Ordering for owned forms
  10459. - Removed unneeded private overload of ShowDialog
  10460. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  10461. so I hope)
  10462. - Fixed Close(), had wrong default
  10463. - Added firing of OnLoad event
  10464. - Added some commented out debug code for Ownership handling
  10465. 2004-10-17 22:16 pbartok
  10466. * Control.cs:
  10467. - Fixed/implemented flat list of controls
  10468. 2004-10-17 22:14 pbartok
  10469. * Application.cs:
  10470. - Added code to simulate modal dialogs on Win32
  10471. 2004-10-17 16:11 jordi
  10472. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  10473. mouse event
  10474. 2004-10-17 13:39 jordi
  10475. * MenuAPI.cs: menu drawing fixes
  10476. 2004-10-15 09:10 ravindra
  10477. * StructFormat.cs: General Enum.
  10478. 2004-10-15 09:09 ravindra
  10479. * SizeGripStyle.cs: Enum for Form.
  10480. 2004-10-15 09:08 ravindra
  10481. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  10482. in Theme for ListView.
  10483. 2004-10-15 09:06 ravindra
  10484. * ColumnHeader.cs: Flushing some formatting changes.
  10485. 2004-10-15 09:05 ravindra
  10486. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  10487. style.
  10488. 2004-10-15 09:03 ravindra
  10489. * ListView.cs: Implemented Paint method and fixed coding style.
  10490. 2004-10-15 07:34 jordi
  10491. * MenuAPI.cs: fix for X11
  10492. 2004-10-15 07:32 ravindra
  10493. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  10494. - Renamed Paint() method to Draw() for clarity. Also, moved
  10495. DrawImage() to OnPaint().
  10496. 2004-10-15 07:25 ravindra
  10497. * CheckBox.cs, RadioButton.cs:
  10498. - Removed Redraw (), we get it from ButtonBase.
  10499. - Implemented Paint (), to do class specific painting.
  10500. 2004-10-15 07:16 ravindra
  10501. * ButtonBase.cs:
  10502. - Redraw () is not virtual now.
  10503. - Added an internal virtual method Paint (), so that
  10504. derived classes can do their painting on their own.
  10505. - Modified OnPaint () to call Paint ().
  10506. 2004-10-15 06:43 jordi
  10507. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  10508. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  10509. 2004-10-15 00:30 ravindra
  10510. * MessageBox.cs:
  10511. - MessageBox on windows does not have min/max buttons.
  10512. This change in CreateParams fixes this on Windows. We
  10513. still need to implement this windowstyle behavior in
  10514. our X11 driver.
  10515. 2004-10-14 05:14 ravindra
  10516. * ToolBar.cs:
  10517. - Changed Redraw () to do a Refresh () always.
  10518. - Fixed the MouseMove event handling when mouse is pressed,
  10519. ie drag event handling.
  10520. - Replaced the usage of ToolBarButton.Pressed property to
  10521. ToolBarButton.pressed internal variable.
  10522. 2004-10-14 05:10 ravindra
  10523. * ToolBarButton.cs:
  10524. - Added an internal member 'inside' to handle mouse move
  10525. with mouse pressed ie mouse drag event.
  10526. - Changed 'Pressed' property to return true only when
  10527. 'inside' and 'pressed' are both true.
  10528. - Some coding style love.
  10529. 2004-10-14 00:17 ravindra
  10530. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  10531. public method.
  10532. 2004-10-14 00:15 ravindra
  10533. * ButtonBase.cs: Redraw () related improvements.
  10534. 2004-10-14 00:14 ravindra
  10535. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  10536. removed unnecessary calls to Button.Show () method.
  10537. 2004-10-13 17:50 pbartok
  10538. * XplatUIX11.cs:
  10539. - Formatting fix
  10540. - Removed destroying of window until we solve the problem of X
  10541. destroying the window before us on shutdown
  10542. 2004-10-13 16:32 pbartok
  10543. * ButtonBase.cs:
  10544. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  10545. 2004-10-13 14:18 pbartok
  10546. * XplatUIX11.cs:
  10547. - Added code to destroy the X window
  10548. 2004-10-13 14:18 pbartok
  10549. * XplatUIWin32.cs:
  10550. - Added code to destroy a window
  10551. 2004-10-13 14:12 pbartok
  10552. * ButtonBase.cs:
  10553. - Added the Redraw on Resize that got dropped in the last rev
  10554. 2004-10-13 09:06 pbartok
  10555. * ThemeWin32Classic.cs:
  10556. - Path from John BouAntoun:
  10557. * Fix check rendering (centre correctly for normal style, offset
  10558. correctly for FlatStyle).
  10559. * Fix border color usage (use backcolor) for FlatStyle.Popup
  10560. * Use checkbox.Capture instead of checkbox.is_pressed when
  10561. rendering flatstyle states.
  10562. 2004-10-12 21:48 pbartok
  10563. * ThemeWin32Classic.cs:
  10564. - Removed all occurences of SystemColors and replaced them with the
  10565. matching theme color
  10566. 2004-10-12 21:41 pbartok
  10567. * ThemeWin32Classic.cs:
  10568. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  10569. him using the function for flatstyle drawing
  10570. - Changed functions to use the new version of CPDrawBorder3D
  10571. 2004-10-12 21:15 pbartok
  10572. * ControlPaint.cs:
  10573. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  10574. match MS documentation. They need to return defined colors if the
  10575. passed color matches the configured control color. Thanks to John
  10576. BouAntoun for pointing this out.
  10577. 2004-10-12 20:57 pbartok
  10578. * Control.cs:
  10579. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  10580. color is changed
  10581. 2004-10-12 20:46 pbartok
  10582. * CheckBox.cs:
  10583. - Fix from John BouAntoun: Now properly sets the Appearance property
  10584. 2004-10-12 20:45 pbartok
  10585. * ThemeWin32Classic.cs:
  10586. - Fixes from John BouAntoun: now handles forecolors and backcolors
  10587. for flatstyle rendered controls much better; It also fixes normal
  10588. checkbox rendering when pushed or disabled.
  10589. 2004-10-08 02:50 jordi
  10590. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  10591. work
  10592. 2004-10-07 08:56 jordi
  10593. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  10594. 2004-10-06 03:59 jordi
  10595. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  10596. XplatUIWin32.cs: removes warnings from compilation
  10597. 2004-10-05 12:23 jackson
  10598. * RadioButton.cs: Fix ctor
  10599. 2004-10-05 11:10 pbartok
  10600. * MessageBox.cs:
  10601. - Partial implementation by Benjamin Dasnois
  10602. 2004-10-05 10:15 jackson
  10603. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  10604. by John BouAntoun
  10605. 2004-10-05 03:07 ravindra
  10606. * ToolBar.cs:
  10607. - Removed a private method, Draw ().
  10608. - Fixed the ButtonDropDown event handling.
  10609. - Fixed MouseMove event handling.
  10610. 2004-10-05 03:04 ravindra
  10611. * ThemeWin32Classic.cs:
  10612. - Added DrawListView method and ListViewDefaultSize property.
  10613. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  10614. - Changed DOS style CRLF to Unix format (dos2unix).
  10615. 2004-10-05 03:03 ravindra
  10616. * Theme.cs:
  10617. - Added DrawListView method and ListViewDefaultSize property.
  10618. 2004-10-05 02:42 ravindra
  10619. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  10620. clicks on DropDown arrow.
  10621. 2004-10-04 22:56 jackson
  10622. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  10623. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  10624. Control handle the buffers, derived classes should not have to
  10625. CreateBuffers themselves.
  10626. 2004-10-04 21:20 jackson
  10627. * StatusBar.cs: The control handles resizing the buffers now.
  10628. 2004-10-04 21:18 jackson
  10629. * Control.cs: When resizing the buffers should be invalidated. This
  10630. should be handled in Control not in derived classes.
  10631. 2004-10-04 14:45 jackson
  10632. * TabPage.cs: oops
  10633. 2004-10-04 02:14 pbartok
  10634. * LeftRightAlignment.cs:
  10635. - Initial check-in
  10636. 2004-10-04 01:09 jordi
  10637. * ThemeWin32Classic.cs: fixes right button position causing right
  10638. button not showing on horizontal scrollbars
  10639. 2004-10-02 13:12 pbartok
  10640. * XplatUIX11.cs:
  10641. - Simplified the Invalidate method by using an X call instead of
  10642. generating the expose ourselves
  10643. - Added an expose when the window background is changed
  10644. - Implemented ClientToScreen method
  10645. 2004-10-02 13:08 pbartok
  10646. * XplatUIWin32.cs:
  10647. - Added Win32EnableWindow method (test for implementing modal
  10648. dialogs)
  10649. - Added ClientToScreen method and imports
  10650. 2004-10-02 13:07 pbartok
  10651. * XplatUI.cs, XplatUIDriver.cs:
  10652. - Added ClientToScreen coordinate translation method
  10653. 2004-10-02 13:06 pbartok
  10654. * KeyPressEventArgs.cs:
  10655. - Fixed access level for constructor
  10656. 2004-10-02 13:06 pbartok
  10657. * NativeWindow.cs:
  10658. - Changed access level for the window_collection hash table
  10659. 2004-10-02 13:05 pbartok
  10660. * Form.cs:
  10661. - Added KeyPreview property
  10662. - Added Menu property (still incomplete, pending Jordi's menu work)
  10663. - Implemented ProcessCmdKey
  10664. - Implemented ProcessDialogKey
  10665. - Implemented ProcessKeyPreview
  10666. 2004-10-02 13:02 pbartok
  10667. * Control.cs:
  10668. - Added private method to get the Control object from the window
  10669. handle
  10670. - Implemented ContextMenu property
  10671. - Implemented PointToScreen
  10672. - Implemented PreProcessMessage
  10673. - Implemented IsInputChar
  10674. - Implemented IsInputKey
  10675. - Implemented ProcessCmdKey
  10676. - Completed ProcessKeyEventArgs
  10677. - Fixed message loop to call the proper chain of functions on key
  10678. events
  10679. - Implemented ProcessDialogChar
  10680. - Implemented ProcessDialogKey
  10681. - Implemented ProcessKeyMessage
  10682. - Implemented ProcessKeyPreview
  10683. - Added RaiseDragEvent stub (MS internal method)
  10684. - Added RaiseKeyEvent stub (MS internal method)
  10685. - Added RaiseMouseEvent stub (MS Internal method)
  10686. - Added RaisePaintEvent stub (MS Internal method)
  10687. - Added ResetMouseEventArgs stub (MS Internal method)
  10688. - Implemented RtlTranslateAlignment
  10689. - Implemented RtlTranslateContent
  10690. - Implemented RtlTranslateHorizontal
  10691. - Implemented RtlTranslateLeftRight
  10692. - Added generation of KeyPress event
  10693. 2004-10-02 05:57 ravindra
  10694. * ListViewItem.cs: Added attributes.
  10695. 2004-10-02 05:32 ravindra
  10696. * ListView.cs: Added attributes.
  10697. 2004-10-01 11:53 jackson
  10698. * Form.cs: Implement the Close method so work on MessageBox can
  10699. continue.
  10700. 2004-09-30 14:06 pbartok
  10701. * XplatUIX11.cs:
  10702. - Bug fixes
  10703. 2004-09-30 11:34 jackson
  10704. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  10705. 2004-09-30 07:26 ravindra
  10706. * ListViewItemConverter.cs: Converter for ListViewItem.
  10707. 2004-09-30 07:26 ravindra
  10708. * SortOrder.cs: Enum for ListView control.
  10709. 2004-09-30 07:25 ravindra
  10710. * ColumnHeader.cs: Supporting class for ListView control.
  10711. 2004-09-30 07:24 ravindra
  10712. * ListView.cs, ListViewItem.cs: Initial implementation.
  10713. 2004-09-30 07:20 ravindra
  10714. * ItemActivation.cs: Enum for ListView Control.
  10715. 2004-09-29 20:29 pbartok
  10716. * XplatUIX11.cs:
  10717. - Added lookup of pixel value for background color; tries to get a
  10718. color 'close' to the requested color, it avoids having to create a
  10719. colormap. Depending on the display this could mean the used color
  10720. is slightly off the desired color. Might have to change it to a more
  10721. resource intensive colormap approach, but it will work as a
  10722. workaround to avoid red screens.
  10723. 2004-09-29 14:27 jackson
  10724. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  10725. 2004-09-28 12:44 pbartok
  10726. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  10727. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  10728. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  10729. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  10730. TrackBar.cs, VScrollBar.cs:
  10731. - Streamlined Theme interfaces:
  10732. * Each DrawXXX method for a control now is passed the object for
  10733. the control to be drawn in order to allow accessing any state the
  10734. theme might require
  10735. * ControlPaint methods for the theme now have a CP prefix to avoid
  10736. name clashes with the Draw methods for controls
  10737. * Every control now retrieves it's DefaultSize from the current
  10738. theme
  10739. 2004-09-28 12:17 jackson
  10740. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  10741. drawing
  10742. 2004-09-24 14:57 jackson
  10743. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  10744. Gives us a nice little performance boost.
  10745. 2004-09-24 12:02 jackson
  10746. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  10747. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  10748. Control and supporting classes. Initial checkin
  10749. 2004-09-23 13:08 jackson
  10750. * Form.cs: Temp build fixage
  10751. 2004-09-23 01:39 ravindra
  10752. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  10753. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  10754. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  10755. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  10756. EventHandlers needed by ListView Control.
  10757. 2004-09-22 14:12 pbartok
  10758. * ScrollableControl.cs:
  10759. - Implemented DockPadding property
  10760. - Implemented AutoScroll property
  10761. - Implemented AutoScrollMargin property
  10762. - Implemented AutoScrollMinSize property
  10763. - Implemented AutoScrollPosition property
  10764. - Implemented DisplayRectangle property (still incomplete)
  10765. - Implemented CreateParams property
  10766. - Implemented HScroll property
  10767. - Implemented VScroll property
  10768. - Implemented OnVisibleChanged property
  10769. 2004-09-22 14:09 pbartok
  10770. * Form.cs:
  10771. - Added Form.ControllCollection class
  10772. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  10773. RemoveOwnedForm (still incomplete, missing on-top and common
  10774. minimize/maximize behaviour)
  10775. - Added StartPosition property (still incomplete, does not use when
  10776. creating the form)
  10777. - Added ShowDialog() methods (still incomplete, missing forcing the
  10778. dialog modal)
  10779. 2004-09-22 14:05 pbartok
  10780. * Application.cs:
  10781. - Added message loop for modal dialogs
  10782. 2004-09-22 14:02 pbartok
  10783. * GroupBox.cs:
  10784. - Fixed wrong types for events
  10785. 2004-09-22 14:00 pbartok
  10786. * Shortcut.cs, FormWindowState.cs:
  10787. - Fixed wrong values
  10788. 2004-09-22 12:01 jackson
  10789. * Control.cs: Text is never null
  10790. 2004-09-20 22:14 pbartok
  10791. * XplatUIWin32.cs:
  10792. - Fixed accessibility level for Idle handler
  10793. 2004-09-20 18:54 jackson
  10794. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  10795. XplatUIX11.cs: New message loop that uses poll so we don't get a
  10796. busy loop
  10797. 2004-09-17 10:43 pbartok
  10798. * ScrollBar.cs:
  10799. - Fixed behaviour of arrow buttons. Now properly behaves like
  10800. Buttons (and like Microsoft's scrollbar arrow buttons)
  10801. 2004-09-17 10:14 pbartok
  10802. * ScrollBar.cs:
  10803. - Added missing release of keyboard/mouse capture
  10804. 2004-09-17 06:18 jordi
  10805. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  10806. Theme.cs: Very early menu support
  10807. 2004-09-16 17:45 pbartok
  10808. * XplatUIWin32.cs:
  10809. - Fixed sending a window to the front
  10810. - Added overload for SetWindowPos to avoid casting
  10811. 2004-09-16 17:44 pbartok
  10812. * Control.cs:
  10813. - Added SendToBack and BringToFront methods
  10814. 2004-09-16 07:00 ravindra
  10815. * Copyright: Added Novell URL.
  10816. 2004-09-16 07:00 ravindra
  10817. * ToolBar.cs: Invalidate should be done before redrawing.
  10818. 2004-09-15 21:19 ravindra
  10819. * ColumnHeaderStyle.cs: Enum for ListView Control.
  10820. 2004-09-15 21:18 ravindra
  10821. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  10822. ListView Control.
  10823. 2004-09-13 18:26 jackson
  10824. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  10825. properly
  10826. 2004-09-13 18:13 jackson
  10827. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  10828. a second thread and post messages into the main threads message
  10829. queue. This makes timing much more consistent. Both win2K and XP
  10830. have a minimum timer value of 15 milliseconds, so we now do this
  10831. too.
  10832. 2004-09-13 15:18 pbartok
  10833. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  10834. XplatUIX11.cs:
  10835. - Added Z-Ordering methods
  10836. 2004-09-13 10:56 pbartok
  10837. * Form.cs:
  10838. - Fixed #region names
  10839. - Moved properties and methods into their proper #regions
  10840. 2004-09-13 10:51 pbartok
  10841. * Form.cs:
  10842. - Added Accept and CancelButton properties
  10843. - Added ProcessDialogKey() method
  10844. 2004-09-13 08:18 pbartok
  10845. * IWindowTarget.cs:
  10846. - Initial check-in
  10847. 2004-09-10 21:50 pbartok
  10848. * Control.cs:
  10849. - Added DoDragDrop() [incomplete]
  10850. - Properly implemented 'Visible' handling
  10851. - Added SetVisibleCore()
  10852. - Implemented FindChildAtPoint()
  10853. - Implemented GetContainerControl()
  10854. - Implemented Hide()
  10855. 2004-09-10 19:28 pbartok
  10856. * Control.cs:
  10857. - Moved methods into their appropriate #regions
  10858. - Reordered methods within regions alphabetically
  10859. 2004-09-10 18:57 pbartok
  10860. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  10861. - Added method to retrieve text from window
  10862. 2004-09-10 18:56 pbartok
  10863. * Control.cs:
  10864. - Moved some internal functions into the internal region
  10865. - Implemented FontHeight
  10866. - Implemented RenderRightToLeft
  10867. - Implemented ResizeRedraw
  10868. - Implemented ShowFocusCues
  10869. - Implemented ShowKeyboardCues
  10870. - Implemented FromChildHandle
  10871. - Implemented FromHandle
  10872. - Implemented IsMnemonic
  10873. - Implemented ReflectMessage
  10874. - All public and protected Static Methods are now complete
  10875. 2004-09-10 16:54 pbartok
  10876. * Control.cs:
  10877. - Implemented remaining missing public instance properties
  10878. - Alphabetized some out of order properties
  10879. 2004-09-10 05:51 ravindra
  10880. * PictureBox.cs: Added a check for null image.
  10881. 2004-09-10 00:59 jordi
  10882. * GroupBox.cs: remove cvs tag
  10883. 2004-09-09 05:25 ravindra
  10884. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  10885. 2004-09-09 05:23 ravindra
  10886. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  10887. parent redraw.
  10888. 2004-09-09 02:28 pbartok
  10889. * ThemeWin32Classic.cs:
  10890. - Improve disabled string look
  10891. 2004-09-09 01:15 jordi
  10892. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  10893. args and handler
  10894. 2004-09-08 23:56 ravindra
  10895. * ItemBoundsPortion.cs: It's enum, not a class!
  10896. 2004-09-08 23:47 ravindra
  10897. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  10898. Enums for Form.
  10899. 2004-09-08 21:13 ravindra
  10900. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  10901. ListView control.
  10902. 2004-09-08 21:03 ravindra
  10903. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  10904. avoid crash.
  10905. 2004-09-08 21:01 ravindra
  10906. * ScrollableControl.cs: Removed unreachable code.
  10907. 2004-09-08 06:45 jordi
  10908. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  10909. 2004-09-08 01:00 jackson
  10910. * XplatUIX11.cs: Only run the timers when updating the message
  10911. queue. This effectively gives X messages a higher priority then
  10912. timer messages. Timers still need love though
  10913. 2004-09-07 14:01 jackson
  10914. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  10915. this for us and the handle is no longer valid.
  10916. 2004-09-07 13:59 jackson
  10917. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  10918. loop that manages to not crash. TODO: Add poll and cleanup timers
  10919. 2004-09-07 11:12 jordi
  10920. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  10921. 2004-09-07 03:40 jordi
  10922. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  10923. fixes, methods, multiple links
  10924. 2004-09-06 06:55 jordi
  10925. * Control.cs: Caches ClientRectangle rectangle value
  10926. 2004-09-05 02:03 jordi
  10927. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  10928. certain situations
  10929. 2004-09-04 11:10 jordi
  10930. * Label.cs: Refresh when font changed
  10931. 2004-09-02 16:24 pbartok
  10932. * Control.cs:
  10933. - Added sanity check to creation of double buffer bitmap
  10934. 2004-09-02 16:24 pbartok
  10935. * ButtonBase.cs:
  10936. - Fixed selection of text color
  10937. - Fixed handling of resize event; now properly recreates double
  10938. buffering bitmap
  10939. - Added missing assignment of TextAlignment
  10940. - Added proper default for TextAlignment
  10941. 2004-09-02 14:26 pbartok
  10942. * RadioButton.cs:
  10943. - Added missing RadioButton.RadioButtonAccessibleObject class
  10944. 2004-09-02 14:26 pbartok
  10945. * Control.cs:
  10946. - Added missing Control.ControlAccessibleObject class
  10947. - Started to implement Select()ion mechanisms, still very incomplete
  10948. 2004-09-02 14:25 pbartok
  10949. * AccessibleObject.cs:
  10950. - Added missing methods
  10951. 2004-09-02 14:23 pbartok
  10952. * AccessibleNavigation.cs, AccessibleSelection.cs:
  10953. - Initial check-in
  10954. 2004-09-02 10:32 jordi
  10955. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  10956. pool for pens, brushes, and hatchbruses
  10957. 2004-09-01 15:30 jackson
  10958. * StatusBar.cs: Fix typo
  10959. 2004-09-01 14:44 pbartok
  10960. * RadioButton.cs:
  10961. - Fixed state
  10962. 2004-09-01 14:39 pbartok
  10963. * Button.cs, RadioButton.cs:
  10964. - Functional initial check-in
  10965. 2004-09-01 14:01 pbartok
  10966. * CheckBox.cs:
  10967. - Added missing default
  10968. - Added missing region mark
  10969. 2004-09-01 09:10 jordi
  10970. * Label.cs: fixes method signatures, new methods, events, fixes
  10971. autosize
  10972. 2004-09-01 07:19 jordi
  10973. * Control.cs: Init string variables with an empty object
  10974. 2004-09-01 04:20 jordi
  10975. * Control.cs: fires OnFontChanged event
  10976. 2004-08-31 20:07 pbartok
  10977. * ButtonBase.cs:
  10978. - Enabled display of strings
  10979. 2004-08-31 20:05 pbartok
  10980. * Form.cs:
  10981. - Added (partial) implementation of DialogResult; rest needs to be
  10982. implemented when the modal loop code is done
  10983. 2004-08-31 19:55 pbartok
  10984. * CheckBox.cs:
  10985. - Fixed to match the removal of the needs_redraw concept
  10986. 2004-08-31 19:55 pbartok
  10987. * ButtonBase.cs:
  10988. - Removed the rather odd split between 'needs redraw' and redrawing
  10989. - Now handles the events that require regeneration (ambient
  10990. properties and size)
  10991. 2004-08-31 19:41 pbartok
  10992. * Control.cs:
  10993. - Added firing of BackColorChanged event
  10994. - Added TopLevelControl property
  10995. - Fixed handling of WM_ERASEBKGRND message
  10996. 2004-08-31 12:49 pbartok
  10997. * ButtonBase.cs:
  10998. - Removed debug
  10999. - Minor fixes
  11000. 2004-08-31 12:48 pbartok
  11001. * CheckBox.cs:
  11002. - Finished (famous last words)
  11003. 2004-08-31 04:35 jordi
  11004. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  11005. scrolling bugs, adds new methods
  11006. 2004-08-30 14:42 pbartok
  11007. * CheckBox.cs:
  11008. - Implemented CheckBox drawing code
  11009. 2004-08-30 14:42 pbartok
  11010. * ButtonBase.cs:
  11011. - Made Redraw() and CheckRedraw() virtual
  11012. - Improved mouse up/down/move logic to properly track buttons
  11013. 2004-08-30 09:44 pbartok
  11014. * CheckBox.cs:
  11015. - Updated to fix broken build. Not complete yet.
  11016. 2004-08-30 09:28 pbartok
  11017. * CheckState.cs:
  11018. - Initial checkin
  11019. 2004-08-30 09:17 pbartok
  11020. * Appearance.cs:
  11021. - Initial check-in
  11022. 2004-08-27 16:12 ravindra
  11023. * ToolBarButton.cs: Added TypeConverter attribute.
  11024. 2004-08-27 16:07 ravindra
  11025. * ImageIndexConverter.cs: Implemented.
  11026. 2004-08-27 14:17 pbartok
  11027. * Control.cs:
  11028. - Removed unneeded stack vars
  11029. - First attempt to fix sizing issues when layout is suspended
  11030. 2004-08-25 15:35 jordi
  11031. * ScrollBar.cs: more fixes to scrollbar
  11032. 2004-08-25 14:04 ravindra
  11033. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  11034. Added the missing divider code and grip for ToolBar Control.
  11035. 2004-08-25 13:20 pbartok
  11036. * Control.cs:
  11037. - Control now properly passes the ambient background color to child
  11038. controls
  11039. 2004-08-25 13:20 jordi
  11040. * ScrollBar.cs: small bug fix regarding bar position
  11041. 2004-08-25 12:33 pbartok
  11042. * Timer.cs:
  11043. - Now only calls SetTimer or KillTimer if the enabled state has
  11044. changed
  11045. 2004-08-25 12:33 pbartok
  11046. * XplatUIWin32.cs:
  11047. - Fixed timer handling, now seems to work
  11048. - Improved error message for window creation
  11049. 2004-08-25 12:32 pbartok
  11050. * Control.cs:
  11051. - Fixed generation of MouseUp message
  11052. 2004-08-25 12:29 jordi
  11053. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  11054. and fixes for progressbar
  11055. 2004-08-24 18:43 ravindra
  11056. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  11057. in ToolBar control.
  11058. 2004-08-24 17:15 pbartok
  11059. * Panel.cs:
  11060. - Added #region
  11061. - Added missing events
  11062. - Alphabetized
  11063. 2004-08-24 17:14 pbartok
  11064. * StatusBar.cs, PictureBox.cs:
  11065. - Now uses Control's CreateParams
  11066. 2004-08-24 16:36 pbartok
  11067. * XplatUIX11.cs:
  11068. - Fixed background color handling
  11069. - Fixed sending of enter/leave events on a grab
  11070. 2004-08-24 16:35 pbartok
  11071. * X11Structs.cs:
  11072. - Refined definitions for CrossingEvent
  11073. 2004-08-24 12:37 jordi
  11074. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  11075. formmating, methods signature, and adds missing events
  11076. 2004-08-24 12:24 jordi
  11077. * Control.cs: fire OnEnabledChanged event
  11078. 2004-08-24 11:17 pbartok
  11079. * XplatUIWin32.cs:
  11080. - Implemented SetTimer() and KillTimer()
  11081. 2004-08-24 11:16 pbartok
  11082. * XplatUIX11.cs:
  11083. - Now uses Remove instead of Add to kill the timer
  11084. 2004-08-24 10:16 jackson
  11085. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  11086. picture boxes in the theme now. Draw picture box borders and obey
  11087. sizing modes
  11088. 2004-08-24 05:49 jackson
  11089. * Timer.cs: Remove top secret debugging code
  11090. 2004-08-24 05:34 jackson
  11091. * PictureBox.cs: Temp hack to make picture boxes draw their full
  11092. image
  11093. 2004-08-24 05:29 jackson
  11094. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  11095. XplatUIX11.cs: Move timers to the driver level. On X they are
  11096. queued by the driver and checked on idle.
  11097. 2004-08-24 01:07 jackson
  11098. * XplatUIX11.cs: Use a queue for async messages instead of passing
  11099. them as ClientMessages since that was totally broken. Also simply
  11100. check for events and return an idle message if none are found. This
  11101. gives us an idle handler, and prevents deadlocking when no messages
  11102. are in the queue.
  11103. 2004-08-23 18:19 ravindra
  11104. * XplatUIWin32.cs: Removed the unwanted destructor.
  11105. 2004-08-23 17:27 pbartok
  11106. * ButtonBase.cs:
  11107. - Finishing touches. Works now, just needs some optimizations.
  11108. 2004-08-23 16:53 jordi
  11109. * ScrollBar.cs: small fix
  11110. 2004-08-23 16:45 pbartok
  11111. * Application.cs:
  11112. - Removed debug output
  11113. - Simplifications
  11114. 2004-08-23 16:43 jordi
  11115. * ScrollBar.cs: [no log message]
  11116. 2004-08-23 16:10 pbartok
  11117. * Form.cs:
  11118. - Fixed handling of WM_CLOSE message
  11119. - Removed debug output
  11120. 2004-08-23 16:09 pbartok
  11121. * Application.cs:
  11122. - Added handling of Idle event
  11123. - Added handling of form closing
  11124. - Fixed reporting of MessageLoop property
  11125. - Removed some unneeded code, should provide a bit of a speedup
  11126. 2004-08-23 15:22 pbartok
  11127. * Control.cs:
  11128. - Added InitLayout() method
  11129. - Added code to properly perform layout when Anchor or Dock property
  11130. is changed
  11131. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  11132. LAMESPEC, tried to do it in a way that makes sense
  11133. 2004-08-23 14:10 jordi
  11134. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  11135. properties and methods
  11136. 2004-08-23 13:55 pbartok
  11137. * Control.cs:
  11138. - Properly fixed Jordi's last fix
  11139. - Now uses Cursor's Position property instead of calling XplatUI
  11140. directly
  11141. 2004-08-23 13:44 jordi
  11142. * PaintEventHandler.cs: Adding missing attribute
  11143. 2004-08-23 13:39 pbartok
  11144. * Cursor.cs:
  11145. - Implemented Position property
  11146. 2004-08-23 13:39 pbartok
  11147. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  11148. - Added method to move mouse cursor
  11149. 2004-08-23 13:39 pbartok
  11150. * XplatUIX11.cs:
  11151. - Fixed setting of background color
  11152. - Added method to move mouse cursor
  11153. 2004-08-23 13:16 jordi
  11154. * Control.cs: avoids null exception
  11155. 2004-08-22 17:46 jackson
  11156. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  11157. PictureBox
  11158. 2004-08-22 17:40 jackson
  11159. * XplatUIX11.cs: Add some missing locks
  11160. 2004-08-22 15:10 pbartok
  11161. * Control.cs, Form.cs:
  11162. - Removed OverlappedWindow style from Control, instead it's default
  11163. now is child
  11164. - Made form windows OverlappedWindow by default
  11165. 2004-08-22 13:34 jackson
  11166. * ScrollBar.cs: Update the position through the Value property so
  11167. the OnValueChanged event is raised.
  11168. 2004-08-22 12:04 pbartok
  11169. * SWF.csproj:
  11170. - Added Cursor.cs and UserControl.cs
  11171. 2004-08-22 12:03 pbartok
  11172. * Cursor.cs:
  11173. - Started implementation, not usable yet
  11174. 2004-08-22 12:00 pbartok
  11175. * UserControl.cs:
  11176. - Implemented UserControl (complete)
  11177. 2004-08-21 19:20 ravindra
  11178. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  11179. 2004-08-21 18:49 ravindra
  11180. * ToolBar.cs: Probably this completes the missing attributes in
  11181. toolbar control.
  11182. 2004-08-21 18:03 ravindra
  11183. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  11184. Fixed toolbar control signatures.
  11185. 2004-08-21 16:32 pbartok
  11186. * LinkLabel.cs:
  11187. - Signature Fixes
  11188. 2004-08-21 16:30 pbartok
  11189. * Label.cs:
  11190. - Signature fixes
  11191. 2004-08-21 16:19 pbartok
  11192. * Control.cs, Label.cs:
  11193. - Signature fixes
  11194. 2004-08-21 15:57 pbartok
  11195. * ButtonBase.cs:
  11196. - Added loads of debug output for development
  11197. - Fixed typo in method name
  11198. 2004-08-21 15:52 pbartok
  11199. * ToolBarButtonClickEventArgs.cs:
  11200. - Added missing base class
  11201. 2004-08-21 14:53 pbartok
  11202. * Control.cs:
  11203. - Updated to match new GrabWindow signature
  11204. 2004-08-21 14:51 pbartok
  11205. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  11206. - Added method to get default display size
  11207. 2004-08-21 14:23 pbartok
  11208. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  11209. - Added method to query current grab state
  11210. - Added argument to allow confining a grab to a window
  11211. 2004-08-21 14:22 pbartok
  11212. * Keys.cs:
  11213. - Added [Flags] attribute so that modifiers can be used in bitwise
  11214. ops
  11215. 2004-08-21 14:21 pbartok
  11216. * TrackBar.cs, ScrollBar.cs:
  11217. - Replaced direct XplatUI calls with their Control counterpart
  11218. 2004-08-21 13:32 pbartok
  11219. * Control.cs:
  11220. - Implemented Created property
  11221. 2004-08-21 13:28 pbartok
  11222. * Control.cs:
  11223. - Implemented ContainsFocus
  11224. 2004-08-21 13:26 pbartok
  11225. * Control.cs:
  11226. - Implemented CausesValidation
  11227. 2004-08-21 13:21 pbartok
  11228. * Control.cs:
  11229. - Implemented CanFocus
  11230. - Implemented CanSelect
  11231. - Implemented Capture
  11232. 2004-08-21 12:35 pbartok
  11233. * XplatUIWin32.cs:
  11234. - Fixed bug with Async message handling
  11235. - Implemented getting the ModifierKeys
  11236. 2004-08-21 12:32 jackson
  11237. * AsyncMethodResult.cs: Make sure we have the mutex before we
  11238. release it. Fixes BeginInvoke on windows
  11239. 2004-08-21 11:31 pbartok
  11240. * XplatUIWin32.cs, XplatUIX11.cs:
  11241. - Drivers now return proper mouse state
  11242. 2004-08-21 10:54 jackson
  11243. * Control.cs: Implement EndInvoke
  11244. 2004-08-21 10:48 jackson
  11245. * Timer.cs: Remove unneeded finalizer
  11246. 2004-08-20 19:52 ravindra
  11247. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  11248. in mouse event handling in the ToolBar control.
  11249. 2004-08-20 19:50 ravindra
  11250. * ImageList.cs: Changed draw method to use the arguments passed in
  11251. to draw the image.
  11252. 2004-08-20 18:58 pbartok
  11253. * XplatUIStructs.cs:
  11254. - Added private message for async communication
  11255. 2004-08-20 17:38 ravindra
  11256. * Control.cs: Made RightToLeft property virtual and removed a
  11257. Console.WriteLine.
  11258. 2004-08-20 14:39 jordi
  11259. * ThemeGtk.cs: use style_attach
  11260. 2004-08-20 14:39 pbartok
  11261. * XplatUIWin32.cs:
  11262. - Added jackson's Async code from X11 to Win32
  11263. 2004-08-20 14:09 pbartok
  11264. * SWF.csproj:
  11265. - Added all new files
  11266. 2004-08-20 14:09 pbartok
  11267. * Control.cs:
  11268. - Added call to set window background color
  11269. 2004-08-20 14:03 pbartok
  11270. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  11271. - Added method for setting the window background
  11272. 2004-08-20 14:02 pbartok
  11273. * XplatUIWin32.cs:
  11274. - Added method for setting the background color
  11275. - Added handling for erasing the window background
  11276. 2004-08-20 13:45 jordi
  11277. * TrackBar.cs: fixes timer, new properties and methods
  11278. 2004-08-20 13:34 jackson
  11279. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  11280. correct thread
  11281. 2004-08-20 13:22 jackson
  11282. * Timer.cs: Timer Tick events are now handed through Controls Async
  11283. mechanism so the callbacks are executed in the same thread as X
  11284. 2004-08-20 13:19 jackson
  11285. * XplatUIDriver.cs: Expose functionality to send async messages
  11286. through the driver
  11287. 2004-08-20 13:18 jackson
  11288. * Control.cs: Implement Begininvoke
  11289. 2004-08-20 13:14 jackson
  11290. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  11291. messages through the driver
  11292. 2004-08-20 13:12 jackson
  11293. * XplatUIX11.cs: Lock before all X operations. Also added Async
  11294. method functionality through XSendEvent
  11295. 2004-08-20 13:11 jackson
  11296. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  11297. This will screw up on 64 bit systems)
  11298. 2004-08-20 13:10 jackson
  11299. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  11300. Async messages through X/Win32
  11301. 2004-08-19 19:39 pbartok
  11302. * XplatUIX11.cs:
  11303. - Updated code to match new HandleData.DeviceContext type
  11304. 2004-08-19 19:38 pbartok
  11305. * HandleData.cs:
  11306. - Made DeviceContext a generic object to allow usage from various
  11307. drivers
  11308. - Added support for queueing Windows messages
  11309. 2004-08-19 19:37 pbartok
  11310. * XplatUIWin32.cs:
  11311. - Added generation of MouseEnter, MouseLeave and MouseHover events
  11312. - Added cleanup on EndPaint
  11313. 2004-08-19 19:17 pbartok
  11314. * Control.cs:
  11315. - Added handling of WM_MOUSEHOVER
  11316. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  11317. code
  11318. 2004-08-19 18:55 jordi
  11319. * ThemeGtk.cs: fixes button order
  11320. 2004-08-19 18:12 jordi
  11321. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  11322. 2004-08-19 17:09 pbartok
  11323. * Control.cs:
  11324. - Added Right property
  11325. - Added RightToLeft property
  11326. 2004-08-19 16:27 jordi
  11327. * ThemeGtk.cs: experimental GTK theme support
  11328. 2004-08-19 16:26 jordi
  11329. * ITheme.cs, Theme.cs: move themes from an interface to a class
  11330. 2004-08-19 16:25 jordi
  11331. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  11332. theme enhancaments
  11333. 2004-08-19 16:04 pbartok
  11334. * XplatUIX11.cs:
  11335. - Added colormap basics
  11336. - Added a way to re-initialize with a different display handle
  11337. - Fixed setting of the window background color
  11338. - Added various X11 imports related to colors and colormaps
  11339. 2004-08-19 15:51 pbartok
  11340. * X11Structs.cs:
  11341. - Removed packing hints (Paolo suggested this a while back)
  11342. - fixed colormap type
  11343. - Added default Atom types
  11344. - Added Screen and color structs and enums
  11345. 2004-08-19 15:39 pbartok
  11346. * ImageList.cs:
  11347. - Added missing Draw() method
  11348. - Added missing RecreateHandle event
  11349. 2004-08-19 15:30 pbartok
  11350. * Form.cs:
  11351. - Added handling of WM_CLOSE
  11352. 2004-08-18 13:16 jordi
  11353. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  11354. a table
  11355. 2004-08-18 09:56 jordi
  11356. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  11357. 2004-08-17 15:31 ravindra
  11358. * SWF.csproj: Updated project.
  11359. 2004-08-17 15:25 pbartok
  11360. * Control.cs:
  11361. - Drawing improvement; don't call UpdateBounds if we are not visible
  11362. (or have been minimized)
  11363. 2004-08-17 15:24 pbartok
  11364. * XplatUIWin32.cs:
  11365. - Finished IsVisible
  11366. - Added Win32GetWindowPlacement
  11367. 2004-08-17 15:08 jackson
  11368. * Panel.cs: Initial checkin of the Panel
  11369. 2004-08-17 14:25 pbartok
  11370. * Control.cs:
  11371. - Fixed broken handling of default window sizes
  11372. 2004-08-17 13:29 jackson
  11373. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  11374. has a large startup time.
  11375. 2004-08-17 10:25 jackson
  11376. * HandleData.cs: union areas properly
  11377. 2004-08-17 10:12 jackson
  11378. * HandleData.cs: union areas properly
  11379. 2004-08-16 20:00 ravindra
  11380. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  11381. 2004-08-16 18:48 ravindra
  11382. * ToolBar.cs: Added attributes.
  11383. 2004-08-16 17:17 ravindra
  11384. * SWF.csproj: Updated project.
  11385. 2004-08-16 17:16 jackson
  11386. * XplatUIX11.cs: Check for more expose events before sending a
  11387. WM_PAINT so they can all be grouped together. This makes dragging a
  11388. window across another window redraw in a sane way.
  11389. 2004-08-16 15:47 pbartok
  11390. * Control.cs:
  11391. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  11392. support OnMouseEnter/Leave()
  11393. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  11394. exposure handling
  11395. 2004-08-16 15:46 pbartok
  11396. * XplatUIStructs.cs, XplatUIX11.cs:
  11397. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  11398. OnMouseEnter/Leave()
  11399. 2004-08-16 15:34 jackson
  11400. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  11401. sure messages get the message field set to WM_NULL if they are not
  11402. handled.
  11403. 2004-08-16 15:24 jackson
  11404. * HandleData.cs: HandleData is used for storing message information
  11405. for window handles
  11406. 2004-08-15 17:23 ravindra
  11407. * ColorDepth.cs: Added attribute.
  11408. 2004-08-15 17:23 ravindra
  11409. * SWF.csproj: Updated project for ToolBar Control.
  11410. 2004-08-15 17:20 ravindra
  11411. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  11412. control and also dos2unix format.
  11413. 2004-08-15 17:13 ravindra
  11414. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  11415. ToolBarButtonClickEventArgs.cs,
  11416. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  11417. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  11418. 2004-08-15 15:31 pbartok
  11419. * ButtonBase.cs:
  11420. - First (mostly) working version
  11421. 2004-08-13 16:15 pbartok
  11422. * Control.cs:
  11423. - Fixed Anchor default
  11424. 2004-08-13 15:43 pbartok
  11425. * Control.cs:
  11426. - Changed GetCursorPos signature
  11427. 2004-08-13 15:42 pbartok
  11428. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  11429. - Changed signature for GetCursorPos
  11430. 2004-08-13 15:25 pbartok
  11431. * XplatUIX11.cs:
  11432. - Cleanup
  11433. - Fixed resizing/exposure handling
  11434. 2004-08-13 15:22 jordi
  11435. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  11436. with tickposition
  11437. 2004-08-13 14:55 jordi
  11438. * TrackBar.cs: change from wndproc to events
  11439. 2004-08-13 13:00 jordi
  11440. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  11441. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  11442. 2004-08-13 12:53 pbartok
  11443. * XplatUIWin32.cs:
  11444. - Changed GetWindowPos to also provide client area size
  11445. - Fixed broken prototypes for several win32 functions
  11446. 2004-08-13 12:53 pbartok
  11447. * XplatUI.cs, XplatUIDriver.cs:
  11448. - Changed GetWindowPos to also provide client area size
  11449. 2004-08-13 12:52 pbartok
  11450. * XplatUIX11.cs:
  11451. - Added generation of WM_POSCHANGED
  11452. - Changed GetWindowPos to also provide client area size
  11453. 2004-08-13 12:52 pbartok
  11454. * Control.cs:
  11455. - Added Dispose() and destructor
  11456. - Fixed resizing and bounds calculation
  11457. - Fixed Layout
  11458. - Added memory savings for invisible windows
  11459. 2004-08-13 12:46 jordi
  11460. * TrackBar.cs: adds timer and grap window
  11461. 2004-08-13 10:25 jackson
  11462. * Timer.cs: SWF Timer
  11463. 2004-08-12 16:59 pbartok
  11464. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  11465. - Implemented method to get current mouse position
  11466. 2004-08-12 14:29 jordi
  11467. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  11468. enhancement, fix mouse problems, highli thumb, etc
  11469. 2004-08-12 13:31 pbartok
  11470. * Control.cs:
  11471. - Fixed Anchoring bugs
  11472. 2004-08-12 13:01 jackson
  11473. * StatusBar.cs: Don't forget things
  11474. 2004-08-12 12:54 jackson
  11475. * ThemeWin32Classic.cs: Handle owner draw status bars
  11476. 2004-08-12 12:54 jackson
  11477. * StatusBar.cs: Implement missing properties, events, and methods.
  11478. Handle mouse clicking
  11479. 2004-08-12 10:19 jackson
  11480. * StatusBarPanelClickEventArgs.cs,
  11481. StatusBarPanelClickEventHandler.cs: Classes for handling status
  11482. bar panel click events
  11483. 2004-08-12 10:10 jackson
  11484. * Control.cs: Add missing properties
  11485. 2004-08-12 09:46 pbartok
  11486. * BindingsManagerBase.cs:
  11487. - Name changed to BindingManagerBase.cs
  11488. 2004-08-12 09:25 jordi
  11489. * ScrollableControl.cs: calls ctrlbase instead of exeception
  11490. 2004-08-11 16:28 pbartok
  11491. * InputLanguageChangingEventArgs.cs:
  11492. - Never check in before compiling. Fixes the last check-in
  11493. 2004-08-11 16:26 pbartok
  11494. * InputLanguageChangingEventArgs.cs:
  11495. - More signature fixes
  11496. 2004-08-11 16:20 pbartok
  11497. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  11498. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  11499. ImageListStreamer.cs, InputLanguage.cs,
  11500. InputLanguageChangedEventArgs.cs,
  11501. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  11502. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  11503. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  11504. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  11505. - Signature fixes
  11506. 2004-08-11 16:16 pbartok
  11507. * Application.cs:
  11508. - Fixed Signature
  11509. - Added .Net 1.1 method
  11510. 2004-08-11 15:25 pbartok
  11511. * SWF.csproj:
  11512. - Fixed BindingManagerBase.cs filename
  11513. 2004-08-11 15:22 pbartok
  11514. * BindingManagerBase.cs:
  11515. - Was checked in with wrong filename
  11516. 2004-08-11 14:50 pbartok
  11517. * SWF.csproj:
  11518. - Updated
  11519. 2004-08-11 13:41 jordi
  11520. * XplatUIWin32.cs: Fixes ClientRect
  11521. 2004-08-11 13:19 pbartok
  11522. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  11523. XplatUIX11.cs:
  11524. - We had SetWindowPos and MoveWindow to set window positions and
  11525. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  11526. keep SetWindowPos as matching counterpart
  11527. - Added some X11 sanity checking
  11528. 2004-08-11 12:59 pbartok
  11529. * Control.cs:
  11530. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  11531. (It seems that SetBounds is just a front for SetBoundsCore and
  11532. SetBoundsCore updates the underlying window system and
  11533. UpdateBounds is responsible for updating the variables associated
  11534. with the Control and sending the events)
  11535. - Major cleanup of Size handling; we now have two sizes, client_size
  11536. and bounds. Bounds defines the window with decorations, client_size
  11537. without them.
  11538. 2004-08-11 12:55 pbartok
  11539. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  11540. - Added method to calculate difference between decorated window and
  11541. raw client area
  11542. 2004-08-11 12:54 pbartok
  11543. * Label.cs:
  11544. - Forcing redraw on resize
  11545. 2004-08-11 11:43 pbartok
  11546. * ImageList.cs:
  11547. - Removed disposing of the actual images when the list is disposed
  11548. 2004-08-11 09:13 pbartok
  11549. * Control.cs:
  11550. - Now properly reparents windows
  11551. 2004-08-11 08:37 pbartok
  11552. * Control.cs:
  11553. - Duh!
  11554. 2004-08-11 07:47 pbartok
  11555. * Control.cs:
  11556. - Rewrote the collection stuff. Might not be as fast now, not
  11557. keeping the number of children around and accessible directly, but
  11558. it's more straightforward
  11559. 2004-08-11 07:44 pbartok
  11560. * AccessibleObject.cs:
  11561. - Fixed to match ControlCollection rewrite
  11562. 2004-08-11 07:43 pbartok
  11563. * ImageList.cs:
  11564. - Added missing creation of the collection list
  11565. 2004-08-10 20:08 jackson
  11566. * StatusBar.cs: Get the paint message from WndProc
  11567. 2004-08-10 19:31 jackson
  11568. * ThemeWin32Classic.cs: Create Brushes as little as possible
  11569. 2004-08-10 19:20 jackson
  11570. * UICues.cs: Add Flags attribute
  11571. 2004-08-10 19:19 jackson
  11572. * StatusBarPanel.cs: Signature cleanup
  11573. 2004-08-10 19:10 jackson
  11574. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  11575. Initial implementation of status bar item drawing
  11576. 2004-08-10 17:27 jordi
  11577. * TrackBar.cs: add missing methods, properties, and restructure to
  11578. hide extra ones
  11579. 2004-08-10 16:24 jackson
  11580. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  11581. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  11582. attribute
  11583. 2004-08-10 13:21 jordi
  11584. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  11585. enhancements and standarize on win colors defaults
  11586. 2004-08-10 12:52 jackson
  11587. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  11588. ThemeWin32Classic.cs: Implement DrawItem functionality
  11589. 2004-08-10 12:47 jordi
  11590. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  11591. 2004-08-10 12:32 jordi
  11592. * Control.cs: throw ontextchange event
  11593. 2004-08-10 11:43 pbartok
  11594. * Control.cs:
  11595. - Added more to the still unfinished Dock/Anchor layout code
  11596. 2004-08-10 11:39 pbartok
  11597. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  11598. - Added GetWindowPos method
  11599. 2004-08-10 11:36 pbartok
  11600. * XplatUIWin32.cs:
  11601. - Implemented several methods
  11602. 2004-08-10 09:47 jackson
  11603. * TrackBar.cs: Allow control to handle buffering
  11604. 2004-08-10 09:41 jackson
  11605. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  11606. 2004-08-10 09:24 jackson
  11607. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  11608. 2004-08-10 09:09 jackson
  11609. * StatusBar.cs: Let Control handle all the buffering.
  11610. 2004-08-10 09:08 jackson
  11611. * Control.cs: Control will now handle the buffering code, so each
  11612. control does not have to implement this.
  11613. 2004-08-10 08:34 jackson
  11614. * XplatUIDriver.cs: Use default colors from the theme
  11615. 2004-08-09 17:12 pbartok
  11616. * ImageList.cs:
  11617. - Fixed several bugs Ravindra pointed out
  11618. 2004-08-09 16:11 pbartok
  11619. * Control.cs:
  11620. - Added incomplete dock layout code
  11621. - Added support for mouse wheel
  11622. 2004-08-09 16:09 pbartok
  11623. * XplatUIX11.cs:
  11624. - Added handling for middle and right mousebutton
  11625. - Added handling for mouse wheel
  11626. - Added handling for key state and mouse state and position
  11627. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  11628. messages
  11629. 2004-08-09 15:40 jackson
  11630. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  11631. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  11632. checkin
  11633. 2004-08-09 15:37 jackson
  11634. * StatusBar.cs: Initial implementation of StatusBar
  11635. 2004-08-09 15:36 jackson
  11636. * ITheme.cs: Add support for drawing status bar and getting status
  11637. bar item sizes
  11638. 2004-08-09 15:35 pbartok
  11639. * MouseButtons.cs:
  11640. - Fixed values
  11641. 2004-08-09 15:34 jackson
  11642. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  11643. status bar item sizes
  11644. 2004-08-09 15:21 jackson
  11645. * ThemeWin32Classic.cs: Use known colors for default control
  11646. colours
  11647. 2004-08-09 15:12 jackson
  11648. * ThemeWin32Classic.cs: Make the default font static, it is static
  11649. in control so this doesn't change functionality and creating fonts
  11650. is sloooooow.
  11651. 2004-08-09 14:56 pbartok
  11652. * X11Structs.cs:
  11653. - Added GrabMode enum
  11654. 2004-08-09 14:55 pbartok
  11655. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  11656. - Removed Run method, was only required for initial development
  11657. 2004-08-09 14:51 pbartok
  11658. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  11659. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  11660. capture
  11661. 2004-08-09 13:48 pbartok
  11662. * XplatUIX11.cs:
  11663. - Fixed default sizing for child windows
  11664. 2004-08-09 12:56 pbartok
  11665. * XplatUIX11.cs:
  11666. - Added generation of WM_DESTROY message
  11667. - Added handling of window manager induced shutdown
  11668. 2004-08-09 11:31 jackson
  11669. * ThemeWin32Classic.cs: New names for control properties
  11670. 2004-08-09 11:25 jackson
  11671. * Control.cs: Use new color names
  11672. 2004-08-09 11:02 jackson
  11673. * XplatUI.cs: Get default window properties from the theme
  11674. 2004-08-09 11:01 jackson
  11675. * ITheme.cs: The theme engine now controls default window
  11676. properties
  11677. 2004-08-09 11:00 jackson
  11678. * ThemeWin32Classic.cs: Add default window color properties
  11679. 2004-08-09 10:17 jackson
  11680. * ThemeWin32Classic.cs: Use correct default back color
  11681. 2004-08-09 10:05 jackson
  11682. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  11683. the theme now.
  11684. 2004-08-09 09:56 jackson
  11685. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  11686. 2004-08-09 09:54 jackson
  11687. * Control.cs: Get default properties from the theme.
  11688. 2004-08-09 09:53 jackson
  11689. * ITheme.cs: Themes now handle default control properties
  11690. 2004-08-09 09:53 jackson
  11691. * ThemeWin32Classic.cs: Themes now handle default control
  11692. properties so coloring will be consistent
  11693. 2004-08-08 16:54 jordi
  11694. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  11695. 2004-08-08 15:08 jordi
  11696. * XplatUIX11.cs: fixes keyboard crash
  11697. 2004-08-08 13:47 jordi
  11698. * Label.cs: add cvs header info
  11699. 2004-08-08 12:09 jackson
  11700. * ThemeWin32Classic.cs: Add pen_buttonface
  11701. 2004-08-08 11:52 jordi
  11702. * Label.cs, LinkLabel.cs: [no log message]
  11703. 2004-08-08 11:34 jordi
  11704. * ThemeWin32Classic.cs: Use Windows Standard Colours
  11705. 2004-08-07 17:32 jordi
  11706. * TrackBar.cs: throw exceptions of invalid enums values
  11707. 2004-08-07 17:31 jordi
  11708. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  11709. draw method name
  11710. 2004-08-07 16:56 jackson
  11711. * HorizontalAlignment.cs: Initial checkin
  11712. 2004-08-07 13:16 jordi
  11713. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  11714. methods
  11715. 2004-08-07 13:05 jordi
  11716. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  11717. GetSysColor defines
  11718. 2004-08-06 18:01 pbartok
  11719. * ThemeWin32Classic.cs:
  11720. - Fixed some rounding issues with float/int
  11721. 2004-08-06 18:00 jackson
  11722. * DockStyle.cs, AnchorStyles.cs:
  11723. Add flags and serializable attributes.
  11724. 2004-08-06 17:46 pbartok
  11725. * XplatUIX11.cs:
  11726. - Implemented GetParent
  11727. 2004-08-06 17:18 pbartok
  11728. * TrackBar.cs:
  11729. - Fixed some rounding issues with float/int
  11730. 2004-08-06 17:17 pbartok
  11731. * X11Structs.cs, XplatUIX11.cs:
  11732. - Fixed Refresh and Invalidate
  11733. 2004-08-06 15:30 pbartok
  11734. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  11735. - Fixed recursive loop when resizing
  11736. - Improved/fixed redrawing on expose messages
  11737. 2004-08-06 09:53 jordi
  11738. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  11739. keyboard navigation
  11740. 2004-08-06 08:02 pbartok
  11741. * X11Structs.cs, XplatUIX11.cs:
  11742. - Fixed reparenting
  11743. - Fixed window border creation
  11744. 2004-08-05 15:38 pbartok
  11745. * XplatUIX11.cs:
  11746. - Attempted fix for reparenting problems
  11747. 2004-08-04 15:14 pbartok
  11748. * Control.cs:
  11749. - Fixed Invalidation bug (calculated wrong client area)
  11750. - Added ClientSize setter
  11751. 2004-08-04 15:13 pbartok
  11752. * Form.cs:
  11753. - Added AutoScale properties
  11754. 2004-08-04 15:13 pbartok
  11755. * SWF.csproj:
  11756. - Added latest files
  11757. 2004-08-04 14:11 pbartok
  11758. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  11759. XplatUIX11.cs:
  11760. - Added Invalidate handling
  11761. 2004-08-03 17:09 jordi
  11762. * XplatUIDriver.cs: fixes spelling mistake
  11763. 2004-07-27 09:53 jordi
  11764. * TrackBar.cs: fixes trackbar events, def classname, methods
  11765. signature
  11766. 2004-07-27 09:29 jordi
  11767. * ScrollBar.cs: fixes scrollbar events
  11768. 2004-07-27 04:38 jordi
  11769. * Control.cs: changes to be able to run winforms samples
  11770. 2004-07-26 11:42 jordi
  11771. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  11772. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  11773. 2004-07-26 05:41 jordi
  11774. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  11775. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  11776. implementation
  11777. 2004-07-22 09:22 jordi
  11778. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  11779. check link overlapping, implement events, and fixes
  11780. 2004-07-21 10:28 jordi
  11781. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  11782. 2004-07-21 10:19 jordi
  11783. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  11784. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  11785. LinkLabelLinkClickedEventArgs.cs,
  11786. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  11787. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  11788. implementation
  11789. 2004-07-19 13:09 jordi
  11790. * Control.cs, Label.cs: label control re-written: added missing
  11791. functionlity, events, and properties
  11792. 2004-07-19 10:49 jordi
  11793. * Control.cs: fixes SetBounds logic
  11794. 2004-07-19 01:29 jordi
  11795. * Control.cs: Call RefreshWindow only if the window has created
  11796. 2004-07-15 14:05 pbartok
  11797. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  11798. - Implemented ImageList and ImageList.ImageCollection classes
  11799. - Added ColorDepth enumeration
  11800. - Updated SWF VS.Net project
  11801. 2004-07-15 11:06 jordi
  11802. * XplatUIStructs.cs: added MsgButons enum
  11803. 2004-07-15 11:03 jordi
  11804. * Control.cs: added basic mouse handeling events
  11805. 2004-07-15 03:38 jordi
  11806. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  11807. Vertical TrackBar control implementation
  11808. 2004-07-13 09:33 jordi
  11809. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  11810. 2004-07-13 09:31 jordi
  11811. * Control.cs, Form.cs: commit: new properties and fixes form size
  11812. problems
  11813. 2004-07-09 14:13 miguel
  11814. * ProgressBar.cs: Spelling
  11815. 2004-07-09 11:25 pbartok
  11816. * ProgressBar.cs:
  11817. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  11818. faster
  11819. 2004-07-09 11:17 miguel
  11820. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  11821. * ProgressBar.cs: Fixed spelling for `block'
  11822. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  11823. style guidelines.
  11824. Avoid using the += on rect.X, that exposed a bug in the compiler.
  11825. 2004-07-08 23:21 pbartok
  11826. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  11827. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  11828. BaseCollection.cs, Binding.cs, BindingContext.cs,
  11829. BindingMemberInfo.cs, BindingsCollection.cs,
  11830. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  11831. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  11832. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  11833. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  11834. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  11835. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  11836. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  11837. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  11838. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  11839. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  11840. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  11841. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  11842. InputLanguageChangedEventArgs.cs,
  11843. InputLanguageChangedEventHandler.cs,
  11844. InputLanguageChangingEventArgs.cs,
  11845. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  11846. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  11847. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  11848. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  11849. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  11850. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  11851. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  11852. QueryAccessibilityHelpEventArgs.cs,
  11853. QueryAccessibilityHelpEventHandler.cs,
  11854. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  11855. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  11856. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  11857. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  11858. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  11859. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  11860. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  11861. XplatUIX11.cs, lang.cs:
  11862. - Initial check-in