ChangeLog 530 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235
  1. 2006-07-15 Jackson Harper <[email protected]>
  2. * LabelEditTextBox.cs:
  3. * TreeView.cs: Use a new LabelEdit class for node editing, this
  4. class automatically 'closes' itself when it gets the enter key or
  5. loses focus.
  6. 2006-07-14 Jackson Harper <[email protected]>
  7. * TreeNode.cs:
  8. * TreeView.cs: Make the editing work similar to MSs, firing the
  9. events correctly and ending edits correctly.
  10. 2006-07-14 Mike Kestner <[email protected]>
  11. * ToolBarButton.cs:
  12. * ToolBar.cs: layout restructuring and redraw enhancements to support
  13. formatting changes gracefully, like setting TextAlign, ImageList,
  14. ButtonSize, and Appearance. Handles explicit button sizing quirks
  15. of the MS controls. Things like flat toolbars ignoring button size
  16. but becoming constant sized at the largest button's size. Normal
  17. toolbars with an image set cannot be shrunk smaller than the image,
  18. but text can be clipped/ignored.
  19. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  20. is zero. Seems like DrawString should be smart enough to not put
  21. anything on screen though. Also trim labels and ellipsize at the char
  22. boundary, not word.
  23. Fixes #78711 and #78483.
  24. 2006-07-14 Alexander Olk <[email protected]>
  25. * FolderBrowserDialog.cs: Disable "New Folder" button and
  26. "New Folder" contextmenu menuitem if a folder like "My Computer"
  27. is selected.
  28. 2006-07-14 Alexander Olk <[email protected]>
  29. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  30. * FolderBrowserDialog.cs:
  31. - Use MWFConfig to store and read size and position settings
  32. - Added code to create a new folder (button or context menu).
  33. Use TreeView labeledit to change the name of the new folder.
  34. 2006-07-14 Jackson Harper <[email protected]>
  35. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  36. when the tree is scrolled we end editing.
  37. 2006-07-14 Alexander Olk <[email protected]>
  38. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  39. Down arrows
  40. 2006-07-14 Jonathan Pobst <[email protected]>
  41. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  42. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  43. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  44. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  45. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  46. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  47. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  48. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  49. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  50. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  51. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  52. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  53. ListViewItemSelectionChangedEventHandler.cs,
  54. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  55. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  56. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  57. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  58. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  59. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  60. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  61. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  62. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  63. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  64. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  65. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  66. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  67. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  68. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  69. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  70. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  71. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  72. WebBrowserNavigatingEventHandler.cs,
  73. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  74. 2006-07-14 Jonathan Pobst <[email protected]>
  75. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  76. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  77. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  78. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  79. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  80. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  81. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  82. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  83. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  84. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  85. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  86. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  87. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  88. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  89. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  90. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  91. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  92. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  93. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  94. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  95. ListViewItemStates.cs, MaskFormat.cs: Added
  96. 2006-07-13 Jonathan Chambers <[email protected]>
  97. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  98. Patch from eno for bug 78558.
  99. 2006-07-13 Jackson Harper <[email protected]>
  100. * TreeView.cs: When an edit is finished make sure that the
  101. selected node is visible.
  102. - When setting the top/bottom use the scrollbars is_visible, so
  103. everything will be set correctly even if the tree isn't visible
  104. yet.
  105. 2006-07-13 Jackson Harper <[email protected]>
  106. * ComboBox.cs: Revert the item->index part of my previous patch.
  107. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  108. the edit box has lost focus (duh).
  109. - Just make the edit box not visible when we get return, that will
  110. take the focus, which will call EndEdit
  111. * TreeNode.cs When we start editing, notify the treeview.
  112. 2006-07-12 Jackson Harper <[email protected]>
  113. * ComboBox.cs: Clear out old items before setting the item list.
  114. This prevents databound controls from having their items added
  115. twice.
  116. - Switch the combobox to use indices whereever possible instead of
  117. using Item's. This allows usto navigate through lists that have
  118. more then one item with the same string value (ie a, b, b, a).
  119. - Scroll the listboxes scrollbar when a non visible item is
  120. highlighted
  121. - Allow keypress to cycle through all the possible values. For
  122. example if you have b1, b2, b3 and hold down the B key all the
  123. values will be cycled through.
  124. 2006-07-12 Jackson Harper <[email protected]>
  125. * TextBoxBase.cs:
  126. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  127. this using the internal methods.
  128. * Control.cs: Add OnGotFocusInternal. A new method that allows
  129. controls to "override" OnGotFocus and change focus behavior if
  130. needed.
  131. - Same thing for LostFocus
  132. * ComboBox.cs: Pass off focus to the text control properly.
  133. 2006-07-12 Alexander Olk <[email protected]>
  134. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  135. * FolderBrowserDialog.cs: Almost a complete rewrite.
  136. - Better support for Environment.Specialfolders
  137. - Added support for MWFVFS
  138. - Made setting SelectedPath work
  139. 2006-07-12 Jackson Harper <[email protected]>
  140. * Control.cs: Optimze getting all the controls.
  141. 2006-07-11 Jackson Harper <[email protected]>
  142. * ContainerControl.cs: Override SETFOCUS in the container control,
  143. so that it is not selected on mouse click.
  144. 2006-07-11 Peter Dennis Bartok <[email protected]>
  145. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  146. Hopefully we will have a better way once all of focus is complete.
  147. 2006-07-11 Peter Dennis Bartok <[email protected]>
  148. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  149. a compile error with csc.
  150. 2006-07-11 Jackson Harper <[email protected]>
  151. * Control.cs: When hiding a control only select the next control
  152. if the current control was focused.
  153. - Don't handle enter/leave when setting/killing focus, this is
  154. done by the container control.
  155. - Remove is_selected, it's not needed anymore.
  156. - Add utility methods for selecting a child control, and for
  157. firing the Enter/Leave events.
  158. * ContainerControl.cs: When a control is activated fire the
  159. enter/leave events.
  160. - Don't wrap when processing the tab key, so that focus can be
  161. moved outside of the container.
  162. - Use the correct active control
  163. 2006-07-11 Jackson Harper <[email protected]>
  164. * ComboBox.cs: Remove some debug code that was blinding me.
  165. * UpDownBase.cs: These controls actually aren't implicit, they are
  166. visible to the user.
  167. 2006-07-10 Chris Toshok <[email protected]>
  168. * DataGridTableStyle.cs: just check if the property type is bool.
  169. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  170. Don't use CanRenderType.
  171. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  172. if our text == NullText. Remove CanRenderType.
  173. * DataGridBoolColumn.cs: nuke CanRenderType.
  174. * DataGrid.cs: reenable some code to end the current edit inside
  175. of set_CurrentCell. This fixes the other 1.1.16 regression.
  176. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  177. Also, remove the visible_row_count arg from CalcRowHeaders, since
  178. we don't need to worry about the actual height of the area.
  179. 2006-07-10 Chris Toshok <[email protected]>
  180. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  181. mode, just return.
  182. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  183. the real sense of the IsInEditOrNavigateMode property (true =
  184. navigate, false = edit). Also, update OnKeyPress to reflect this.
  185. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  186. column style exists, we still need to set its property descriptor
  187. to match up with our list manager.
  188. 2006-07-10 Chris Toshok <[email protected]>
  189. * ThemeWin32Classic.cs: implement the new row/header painting
  190. approach. The parent row painting will likely go away and
  191. replaced with label controls, but the rest seems to work ok (and
  192. efficiently).
  193. * Theme.cs: change the way we draw datagrid rows. we don't draw
  194. the row headers as a block now. Instead we draw them in the
  195. normal draw-row loop. Add some calls for drawing parent rows and
  196. relation rows.
  197. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  198. a default table style. Set the defaults from ThemeEngine.Current,
  199. not SystemColors. Fix lots of misc issues with property setters.
  200. * DataGrid.cs: move loads of style information out of this class
  201. as it's being duplicated with DataGridTableStyle. keep track of a
  202. special DataGridTableStyle for the properties we used to mirror
  203. here. Switch all the style properties to access this table style
  204. instead of instance fields of this class. Also add a internal
  205. class to represent parent rows (more needs to be stored here, like
  206. the selection state from the parent table, as well as the
  207. expansion state.) Also, for datasources with relations, do the
  208. right thing for collapse/expand, and add support for the
  209. navigation/parent row buttons.
  210. Lastly, fix the crash in the 1.1.16 build.
  211. * GridTableStylesCollection.cs: make the explicit interface
  212. implementations call the class's methods as opposed to duplicating
  213. them.
  214. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  215. 0 so the text doesn't jump around when we move the cursor.
  216. 2006-07-10 Jackson Harper <[email protected]>
  217. * TextBoxBase.cs:
  218. * ListBox.cs: Match MS's ToString (this makes debugging focus
  219. stuff infinitely easier).
  220. 2006-07-10 Jackson Harper <[email protected]>
  221. * Control.cs (SelectNextControl): When checking the control's
  222. parent use this instead of ctrl.parent so that null can be passed
  223. to SelectNextControl. (I have unit tests for this).
  224. - Remove unused var.
  225. 2006-07-10 Chris Toshok <[email protected]>
  226. * CurrencyManager.cs: correct one regression, the removal of the
  227. finalType field. Also, add a MonoTODO on CanAddRows, implement
  228. Refresh() correctly, and fix some event emission in
  229. ListChangedHandler.
  230. 2006-07-07 Alexander Olk <[email protected]>
  231. * FileDialog.cs: Don't use brackets for new folders if they exist
  232. under *nix. Instead use -(number of existing folders +1).
  233. 2006-07-07 Alexander Olk <[email protected]>
  234. * FileDialog.cs:
  235. - Fixed really nasty bug #78771
  236. - Don't block the whole GUI when reading directories with a lot of
  237. entries. Use an other thread instead and call BeginInvoke to
  238. update the ListView in MWFFileView
  239. 2006-07-07 Chris Toshok <[email protected]>
  240. * Control.cs (Dispose): release any Capture when disposing.
  241. 2006-07-07 Chris Toshok <[email protected]>
  242. * LinkLabel.cs (Select): if we chain up to the parent, set
  243. focused_index to -1 so we'll search for the first available link
  244. the next time the user tabs into us. Also, if the direction is
  245. backward and focused_index == -1, start the search from the last
  246. element.
  247. 2006-07-07 Chris Toshok <[email protected]>
  248. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  249. is beyond the end of the text, don't do anything.
  250. (CreateLinkPieces): set our ControlStyles.Selectable based on
  251. whether or not we have any links.
  252. (Link.Invalidate): use a loop instead of foreach.
  253. (Link.set_Start): null out owner.sorted_links so it'll be
  254. recreated by CreateLinkPieces.
  255. 2006-07-06 Chris Toshok <[email protected]>
  256. * LinkLabel.cs: revert the SetStyle change.
  257. 2006-07-06 Chris Toshok <[email protected]>
  258. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  259. (OnEnableChanged): s/Refresh/Invalidate
  260. (OnGotFocus): if we have a focused index already, refocus it (so
  261. if we mouse out/in to the window it'll focus the right link).
  262. (OnKeyDown): move the tab handling out of here.
  263. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  264. when we lose focus.
  265. (OnMouseDown): don't Capture here - Control handles it. Also,
  266. focus the active link.
  267. (OnMouseUp): don't deal with Capture.
  268. (OnPaintBackgroundInternal): remove.
  269. (OnTextAlignChanged): CreateLinkPieces before calling the
  270. superclass's method.
  271. (OnTextChanged): call CreateLinkPieces before calling superclass's
  272. method.
  273. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  274. move around.
  275. (Select): implement this, moving the selection between different
  276. links, and call parent.SelectNextControl if we don't have another
  277. link to focus in the given direction.
  278. (CreateLinkPieces): call Invalidate instead of Refresh.
  279. 2006-07-06 Chris Toshok <[email protected]>
  280. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  281. new LinkLabel internals.
  282. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  283. over pieces looking for active/focused/etc links. also, deal with
  284. runs of text (and links) with embedded \n's in them, and use
  285. MeasureCharacterRanges instead of MeasureString to figure out the
  286. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  287. two-step.
  288. 2006-07-04 Jackson Harper <[email protected]>
  289. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  290. XKB or key auto repeat, do it manually. Without key auto repeat,
  291. when a key is held down we get key press, key release, key press,
  292. key release, ... with auto repeat we get key press, key press, key
  293. press ..., and then a release when the key is actually released.
  294. 2006-07-03 Jackson Harper <[email protected]>
  295. * TabControl.cs:
  296. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  297. rules, they are always control color regardless of the background
  298. color.
  299. 2006-07-02 Alexander Olk <[email protected]>
  300. * FileDialog.cs: Added internal class MWFConfig.
  301. Removed Registry support and replaced it with support for the new
  302. MWFConfig class. See MWFConfig comments for more information.
  303. 2006-06-30 Alexander Olk <[email protected]>
  304. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  305. rectangle. Added some patches from eno from bug #78490 and fixed
  306. the arrow position for small up and down CPDrawScrollButtons.
  307. 2006-06-30 Jackson Harper <[email protected]>
  308. * InternalWindowManager.cs: Remove some debug code.
  309. * Form.cs: When an MdiParent is set to null, the window is
  310. "detatched" and becomes a normal window.
  311. * MdiClient.cs: Don't bring the new child form to the front until
  312. it is activated (setting it as active does this), this makes the
  313. previously active forms titlebar get redrawn as inactive.
  314. 2006-06-29 Peter Dennis Bartok <[email protected]>
  315. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  316. with later controls
  317. 2006-06-29 Mike Kestner <[email protected]>
  318. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  319. arrow in keynav state. Fixes #78682.
  320. 2006-06-28 Atsushi Enomoto <[email protected]>
  321. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  322. order (fixes #78393)
  323. 2006-06-28 Jonathan Pobst <[email protected]>
  324. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  325. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  326. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  327. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  328. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  329. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  330. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  331. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  332. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  333. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  334. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  335. values)
  336. 2006-06-28 Mike Kestner <[email protected]>
  337. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  338. 2006-06-28 Atsushi Enomoto <[email protected]>
  339. * PropertyGrid.cs,
  340. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  341. item lines from other area (It also makes BackColor consistent and
  342. compatible with .NET). Fixed bug #78564.
  343. 2006-06-28 Jonathan Chambers <[email protected]>
  344. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  345. Patch from Eno for #78555.
  346. 2006-06-27 Chris Toshok <[email protected]>
  347. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  348. * DataGridColumnStyle.cs: same.
  349. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  350. * DataGridDrawingLogic.cs: nuke.
  351. 2006-06-27 Chris Toshok <[email protected]>
  352. * DataGridTableStyle.cs: clean up the constructors, and build the
  353. list of child relations for this table. I have no idea if this is
  354. where we should be doing it (it probably isn't), but since we're
  355. already iterating over the properties..
  356. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  357. struct and array for keeping track of row information, similar to
  358. what's shown in a hack on
  359. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  360. * Theme.cs: be consistent about the naming of DataGrid methods,
  361. prefering ColumnWidths and RowHeights over columnsWidths and
  362. RowsHeights.
  363. * ThemeWin32Classic.cs: same, and also add support for variable
  364. sized rows (and the +/- expansion icons for related rows).
  365. 2006-06-27 Peter Dennis Bartok <[email protected]>
  366. * TextBoxBase.cs: Applied Eno's patch from #78660
  367. 2006-06-27 Peter Dennis Bartok <[email protected]>
  368. * Form.cs (ScaleCore): We don't want to scale our form if it's
  369. state is minimized or maximized, but we still need to scale our
  370. child windows. Also, added try/finally block to ensure layout
  371. gets reset (Fixes #78697)
  372. 2006-06-27 Peter Dennis Bartok <[email protected]>
  373. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  374. 2006-06-27 Peter Dennis Bartok <[email protected]>
  375. * Form.cs: Fixed c+p error and added check to resize form if minimum
  376. size is bigger than current size (Fixes #78709)
  377. 2006-06-26 Peter Dennis Bartok <[email protected]>
  378. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  379. 2006-06-26 Mike Kestner <[email protected]>
  380. * ComboBox.cs: only do Keypress handling in the combo when there
  381. are items in the collection. Fixes #78710.
  382. 2006-06-26 Chris Toshok <[email protected]>
  383. * Binding.cs: make this work bi-directionally. also, clear up
  384. other mixups between Push/Pull Data (e.g. we're supposed to pull
  385. data when validating).
  386. * BindingManagerBase.cs: trim some fully qualified collection
  387. types.
  388. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  389. 2006-06-23 Chris Toshok <[email protected]>
  390. * PropertyManager.cs: It appears (according to the unit tests)
  391. that PropertyManager doesn't use
  392. PropertyDescriptor.AddValueChanged to track propery value changes
  393. in its datasource, but uses the same scheme as Binding, where it
  394. looks for a <Property>Changed event and binds to it.
  395. Also, according to the docs, IsSuspended always returns false for
  396. a property manager with a non-null datasource.
  397. 2006-06-22 Peter Dennis Bartok <[email protected]>
  398. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  399. need to update the actual DialogResult. (Fixes #78613)
  400. 2006-06-22 Peter Dennis Bartok <[email protected]>
  401. * Form.cs (ShowDialog): Release any captures before running the
  402. new message pump (fixes #78680)
  403. 2006-06-22 Mike Kestner <[email protected]>
  404. * ListView.cs: Layout column widths properly in details mode even
  405. if HeaderStyle.None is set. Fixes #78691.
  406. 2006-06-21 Peter Dennis Bartok <[email protected]>
  407. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  408. 2006-06-21 Peter Dennis Bartok <[email protected]>
  409. * Control.cs (ContainsFocus): Using new driver method to get focused
  410. window, instead of trying to use internal tracking var, which can
  411. recursion issues (Fixes #78685)
  412. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  413. XplatUIWin32.cs: Added GetFocus method to return focused window
  414. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  415. * ColorDialog.cs: when the mouse button is pressed inside the color
  416. matrix, don't let the cursor move out of it until the button is
  417. released, which is the behavior on windows. Changed 'colours' by
  418. 'colors' to use the same word consistently.
  419. 2006-06-21 Chris Toshok <[email protected]>
  420. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  421. child relation and back, using a stack). Also, remove
  422. GetDataSource and the code that calls it - it's not needed. Also,
  423. track CurrencyManager.ListName's removal.
  424. 2006-06-21 Chris Toshok <[email protected]>
  425. * CurrencyManager.cs: push some of the original type checking from
  426. BindingContext.CreateBindingManager to here, and remove some of
  427. the finalType stuff. Need more tests to make sure I've got the
  428. ListName part right, and we might need more in SetDataSource.
  429. * PropertyManager.cs: add a ctor that takes just the datasource,
  430. and no property name. Make SetDataSource work with a null
  431. property_name, and make Current return the data_source if the
  432. property descriptor is null. this makes 'string foo = "hi";
  433. BindingContext[foo].Current' return "hi" as it should.
  434. * RelatedCurrencyManager.cs: make this code more generic - there's
  435. no reason the parent manager has to be CurrencyManager, and
  436. there's no reason to pass the DataRelation. It suffices to use a
  437. BindingManagerBase and PropetyDescriptor.
  438. * RelatedPropertyManager.cs: make a similar change here.
  439. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  440. flower I knew it could be.
  441. 2006-06-20 Chris Toshok <[email protected]>
  442. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  443. data in the source has changed and we need to update the control,
  444. so s/PullData/PushData.
  445. * CurrencyManager.cs: Refresh is meant to update the control from
  446. data in the datasource. So, s/PullData/PushData.
  447. * BindingContext.cs: add more ugliness (we weren't handling the
  448. case where data_source = DataTable and data_member = column_name).
  449. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  450. from the perspective of the datasource. PullData pulls from the
  451. control, PushData pushes to the control.
  452. 2006-06-20 Chris Toshok <[email protected]>
  453. * BindingContext.cs: rewrite the CreateBindingManager code to
  454. handle navigation paths more or less properly. This could
  455. definitely stand some more work, in particular to push the
  456. recursion up to the toplevel. But that relies on fixes in other
  457. places (System.Data comes to mind).
  458. Also, move to a flat hashtable (and encode the twolevel nature of
  459. the dictionary into the hash key). This lets us implement the
  460. IEnumerable.GetEnumerator method.
  461. * RelatedCurrencyManager.cs: new class. Update our view based on
  462. our relation and our parent CurrencyManager's position.
  463. * CurrencyManager.cs: split out some logic from the ctor into
  464. SetView, so it can be called from the new RelatedCurrencyManager
  465. subclass.
  466. * RelatedPropertyManager.cs: new class. Update our datasource
  467. based on the position of our parent CurrencyManager.
  468. * PropertyManager.cs: split out some logic from the ctor into
  469. SetDataSource, so it can be called from the new RelatedDataSource
  470. subclass. Also, make the Current getter return the value
  471. of the PropertyDescriptor, not the data_source.
  472. * Binding.cs: no need to duplicate the string splitting code here.
  473. 2006-06-19 Peter Dennis Bartok <[email protected]>
  474. * Control.cs:
  475. - set_Enabled: OnEnabledChanged is not called if the inherited state
  476. of the control is not altered, even though we might be changing the
  477. internal state of the control (#78458)
  478. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  479. OnEnabledChanged, to allow easy altering of any child window state
  480. - OnEnabledChanged: Added code to enable/disable driver window state
  481. - OnParentEnabledChanged: Instead of firing the event, call
  482. OnEnabledChanged, which will fire the event and also a) set driver
  483. window state and pass the enabled state to any grandchildren (#78458)
  484. 2006-06-19 Jackson Harper <[email protected]>
  485. * InternalWindowManager.cs: We don't set the cursor explicitly
  486. thats done via the response to NCHITTESTs.
  487. - Don't need to adjust for titlebar heights anymore, the
  488. coordinates are coming in the correct coordinates now (see peters
  489. last patch).
  490. 2006-06-19 Peter Dennis Bartok <[email protected]>
  491. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  492. being translated relative to whole window, instead of client window.
  493. That caused broken offsets on mouseclick (and caused gas for our
  494. InternalWindowManager)
  495. 2006-06-15 Peter Dennis Bartok <[email protected]>
  496. * TextControl.cs:
  497. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  498. - Undo(): Added replay of cursor move on DeleteChars action; added
  499. calling Undo() again if a recorded cursor move is invalid (to
  500. ensure that some action is performed on Undo)
  501. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  502. 2006-06-16 Jackson Harper <[email protected]>
  503. * MdiClient.cs: Instead of just sizing maximized windows when
  504. there is a resize we also have to adjust the Y of minimized
  505. windows, so they stay pinned to the bottom of the mdi container.
  506. - Eliminate separate tracking of the active control, we can just
  507. get this from the controls collection.
  508. - Paint the decorations for the newly activated titlebar so we get
  509. a pretty blue bar.
  510. * InternalWindowManager.cs:
  511. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  512. even if they are a tool window.
  513. 2006-06-15 Peter Dennis Bartok <[email protected]>
  514. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  515. undo buffer, these can happen when text was deleted and the cursor
  516. was recorded first. Since we will also have a recorded cursor
  517. after the delete this is not an issue. (Fixes #78651)
  518. 2006-06-14 Peter Dennis Bartok <[email protected]>
  519. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  520. instead properly track control states internally (allows us to
  521. remove is_selected from Control)
  522. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  523. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  524. whose width is not a multiple of 8.
  525. 2006-06-13 Jackson Harper <[email protected]>
  526. * MdiClient.cs: Only maximize the next child if the current one
  527. is maximized.
  528. 2006-06-13 Chris Toshok <[email protected]>
  529. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  530. modified. Also, guard against grid or grid_drawing being null in
  531. Invalidate.
  532. * DataGrid.cs: Reformat tons of getters/setters. In the
  533. DataMember setter, just call SetNewDataSource instead of
  534. duplicating some of its functionality. In SetNewDataSource, don't
  535. check ListManager for null, since the property getter creates the
  536. object if needed.
  537. * DataGridTableStyle.cs: don't set TableStyle or call
  538. SetDataGridInternal on the column here, it's done in
  539. GridColumnStylesCollection.Add.
  540. * GridColumnStylesCollection.cs: fix all the explicit interface
  541. implementations to just call our methods. Nuke AddInternal() and
  542. move the body of it to Add(). Also, add a call to
  543. column.SetDataGridInternal to Add().
  544. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  545. base()+duplicate code. Also, use the Format property instead of
  546. format to generate an Invalidate ala MS. Lastly, create the
  547. textbox here, unconditionally.
  548. (set_Format): call Invalidate.
  549. (get_TextBox): no need to call EnsureTextBox.
  550. (Commit): remove the message box.
  551. (Edit) remove the call to EnsureTextBox.
  552. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  553. (EnterNullValue): no need to check textbox for null.
  554. (HideEditBox): no need to check textbox for null.
  555. (SetDataGridInColumn): add the textbox to the grid's controls.
  556. (EnsureTextBox): nuke.
  557. 2006-06-13 Jackson Harper <[email protected]>
  558. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  559. and redraw the buttons when needed. Unhook when the window is
  560. unmaximized.
  561. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  562. needs this so that it can redraw its buttons when the menu is
  563. repainted.
  564. * InternalWindowManager.cs:
  565. * Form.cs: The method order has changed for DrawMaximizedButtons,
  566. so that it can be a PaintEventHandler.
  567. 2006-06-13 Jackson Harper <[email protected]>
  568. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  569. window is activated and maximized, even if it wasn't before.
  570. - When a new window is activated repaint the decorations of the
  571. old one, so that it no longer has the Active "look" (the blue
  572. titlebar).
  573. * InternalWindowManager.cs: Open up CreateButtons to base classes
  574. so they can recreate the buttons on state changes.
  575. - If a window is maximized give it all three buttons
  576. * MdiWindowManager.cs: Create the titlebar buttons when the state
  577. is changed, this is needed because a toolwindow will not have all
  578. three buttons until it is maximized.
  579. 2006-06-13 Atsushi Enomoto <[email protected]>
  580. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  581. Fixed bug #78609.
  582. 2006-06-12 Jackson Harper <[email protected]>
  583. * KeysConverter.cs: Make sure we handle the Ctrl special case
  584. if its the only key.
  585. 2006-06-12 Jackson Harper <[email protected]>
  586. * Theme.cs: Add a method to get the size of a managed window
  587. toolbar button.
  588. * InternalWindowManager.cs: Remove the ButtonSize property, this
  589. should be retrieved from the theme.
  590. * MdiWindowManager.cs: Get the button size from the theme
  591. * ThemeWin32Classic.cs: Make the method to get the managed window
  592. titlebar button size public.
  593. - Handle the different button sizes of maximized toolwindows
  594. (should match any maximized window).
  595. - Get the titlebar height from the theme, not the WM (which gets
  596. it from the theme).
  597. 2006-06-12 Jackson Harper <[email protected]>
  598. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  599. event down to the mdi window manager.
  600. - Expose some extra stuff to base classes
  601. - Make sure to end the Capture on an NC Mouse up, so that we can
  602. get double clicks properly, and the sizing doens't stick.
  603. - When doing PointToClient contain it in the workable desktop
  604. area, this prevents windows from changing size when the cursor is
  605. pulled outside of the working area while sizing.
  606. * MdiWindowManager.cs: When we get a double click maximize the
  607. window.
  608. - Reset the cursor after handling mode changes.
  609. 2006-06-12 Peter Dennis Bartok <[email protected]>
  610. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  611. current desktop, instead of just assuming a 0, 0 origin. This
  612. is needed for our internal window manager, to know the top
  613. margin of the desktop
  614. 2006-06-12 Chris Toshok <[email protected]>
  615. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  616. we need this to get rid of the selected background in the bool
  617. column.
  618. (CancelEditing): move the ConcedeFocus call to above the Abort
  619. call. Also, set is_changing to false and invalidate the row
  620. header if we were changing before.
  621. (ProcessKeyPreviewInternal): remove, since noone outside this
  622. class calls it anymore. Roll the code into ProcessKeyPreview.
  623. (EndEdit): remove the internal version.
  624. (InvalidateCurrentRowHeader): make private.
  625. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  626. Keys.Escape handling (and with it the last call to
  627. DataGrid.EndEdit from outside the class.)
  628. 2006-06-12 Chris Toshok <[email protected]>
  629. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  630. (OnKeyPress): set isedit to true.
  631. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  632. already handled by the grid.
  633. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  634. right. ugh.
  635. (set_DataSource): SetDataSource always returns true, so stop
  636. putting it in an if statement.
  637. (EndEdit): get rid of some {}'s
  638. (ProcessGridKey): return true in case Keys.Escape.
  639. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  640. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  641. PositionChanged, stopped connecting to CurrentChanged.
  642. (GetDataSource): simplify this a bunch.
  643. (SetDataSource): change return type from bool to void.
  644. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  645. to this, and make sure we don't set ListManager.Position inside
  646. set_CurrentCell.
  647. (OnListManagerItemChanged): if we're passed an actual index,
  648. redraw that row.
  649. * CurrencyManager.cs (set_Position): don't call PullData here.
  650. 2006-06-09 Jackson Harper <[email protected]>
  651. * TreeNode.cs: Recalculate the visible order before doing the
  652. Expand/Collapse Below calls, because those calls generate an
  653. expose.
  654. - Reduce calls to the TreeView property, which is mildly expensive
  655. by using a local var.
  656. * Form.cs: Layout the MDI child windows when creating the parent
  657. form.
  658. - Don't use the internal constructor anymore
  659. * MdiClient.cs: use the parent form width/height (if available)
  660. when laying out the child windows, we do this because the
  661. mdiclient isn't docked yet when the initial layout is done.
  662. - Don't need an internal constructor anymore.
  663. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  664. * FileDialog.cs: handle access errors when trying to create a folder
  665. or changing to a directory. No need to initialize out parameters.
  666. 2006-06-08 Alexander Olk <[email protected]>
  667. * FileDialog.cs: Append a number when creating a new folder if the
  668. folder already exists (use parenthesis instead of square brackets)
  669. 2006-06-08 Alexander Olk <[email protected]>
  670. * FileDialog.cs:
  671. - Disabled registry support for windows and added better registry
  672. error checking for other systems (need to investigate why it
  673. works perfectly on my system)
  674. - If a folder already exist show an error MessageBox instead of
  675. trying to create an indexed name.
  676. - Fixed a non intentional typo.
  677. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  678. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  679. 2006-06-08 Alexander Olk <[email protected]>
  680. * FileDialog.cs: When creating a new folder don't crash if the
  681. folder already exists.
  682. 2006-06-08 Alexander Olk <[email protected]>
  683. * FileDialog.cs: Allmost a complete rewrite.
  684. - added a "virtual" file system that handles the differences
  685. between unix and windows file systems (especially the directory
  686. structure). Moved most of the directory and file handling code
  687. into the vfs.
  688. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  689. UnixFileSystem and FSEntry.
  690. - Recently used folder/directory, size, location and used file names
  691. (file name ComboBox) are now stored in the registry and get read
  692. before the dialog shows up (fixes part 6 of bug #78446).
  693. - Creation of new folders/directories is now possible (context menu
  694. or ToolBar). Added TextEntryDialog for this that fills in the gap
  695. until ListView.LabelEdit works.
  696. - Fixed cursor handling (bug #78527) and focus handling for
  697. PopupButtonPanel
  698. - Various "Search in" ComboBox enhancements. The content of the
  699. dropdown listbox now almost matches ms.
  700. - Changed the behaviour when the user switches to SpecialFolder
  701. Recent to show the ListView in View.Details.
  702. - Beside using the ToolBar to change the View property of the
  703. file ListView it is now possible to use the context menu too.
  704. 2006-06-08 Alexander Olk <[email protected]>
  705. * ComboBox.cs: Don't create a new ObjectCollection when an item
  706. gets inserted. Just insert the item in the existing object_items
  707. ArrayList.
  708. 2006-06-08 Jackson Harper <[email protected]>
  709. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  710. that the treeview and root node checks are done also, this fixes a
  711. regression i caused in the unit tests.
  712. 2006-06-07 Wade Berrier <[email protected]>
  713. * RichTextBox.cs: More ISO8859-1 -> unicode
  714. 2006-06-07 Mike Kestner <[email protected]>
  715. * ComboBox.cs : use items to hold highlight/selection so that
  716. collection insertions don't require synchronization.
  717. 2006-06-07 Jackson Harper <[email protected]>
  718. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  719. routine. We now always keep the sized edge at the cursor instead
  720. of computing movement and adjusting rects. There is one buglet
  721. with this method though when the cursor is moved over area that
  722. the window can not expand too (such as the toolbars on the desktop).
  723. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  724. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  725. here. Fixes crash on startup in AlbumSurfer.
  726. 2006-06-07 Peter Dennis Bartok <[email protected]>
  727. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  728. values
  729. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  730. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  731. statement to avoid calling XNextEvent which will block if another thread
  732. took the event that we were expecting. Fixes bug #78605.
  733. 2006-06-07 Mike Kestner <[email protected]>
  734. * ListView.cs : isolated checkbox clicking from the selection logic.
  735. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  736. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  737. * Form.cs: Check that the value passed to Form.DialogResult
  738. is a valid enum value.
  739. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  740. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  741. Computer'. Clicking it in the network view goes to 'My Computer'.
  742. Added CIFS filesystem type. Display the mount point of filesystems.
  743. Avoid duplicate mount points (happens for me with CIFS);
  744. 2006-06-06 Jackson Harper <[email protected]>
  745. * InternalWindowManager.cs: Draw the maximized windows buttons
  746. when resizing.
  747. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  748. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  749. all other dialogs. Fixes bug #78585.
  750. 2006-06-06 Mike Kestner <[email protected]>
  751. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  752. Only invalidate checkbox on checkstate changes to avoid flicker.
  753. * ListBox.cs : avoid unselect/select when clicking selected item.
  754. avoid reselection flicker for already multiselected items.
  755. Fixes #78382.
  756. 2006-06-06 Jackson Harper <[email protected]>
  757. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  758. the parent form so that the menu is removed if needed.
  759. 2006-06-06 Mike Kestner <[email protected]>
  760. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  761. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  762. 2006-06-06 Mike Kestner <[email protected]>
  763. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  764. 2006-06-06 Jackson Harper <[email protected]>
  765. * Control.cs: Use the property (instead of the field) to get the
  766. default cursor so it is instantiated correctly.
  767. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  768. resizes so we need to manually repaint the window decorations here.
  769. - Set the titlebar button locations as soon as they are created,
  770. otherwise they are not set correctly on win32.
  771. 2006-06-06 Chris Toshok <[email protected]>
  772. * CurrencyManager.cs (set_Position): call PullData before
  773. OnCurrentChanged.
  774. (AddNew): after calling IBindingList.AddNew, update our
  775. listposition, and call OnCurrentChanged/OnPositionChanged (without
  776. calling PullData).
  777. (OnCurrentChanged): remove the call to PullData from here.
  778. (OnItemChanged): remove the call to PushData from here.
  779. (OnPositionChanged): change the test from == null to != null to
  780. match the other methods.
  781. (ListChangedHandler): the grossest part of the patch. Implement
  782. this such that it passes the unit tests in CurrencyManagerTest and
  783. the output more or less matches that of MS's implementation.
  784. 2006-06-06 Mike Kestner <[email protected]>
  785. * ListView.cs : only update check state on single click.
  786. * ThemeWin32Classic.cs : fix focus drawing for details view without
  787. fullrowselect. Fixes #78454.
  788. * XplatUIX11.cs : fix for double click emission.
  789. 2006-06-05 Jonathan Chambers <[email protected]>
  790. * PropertyGridView.cs : Applied Atsushi's patch to fix
  791. font dialog bug (#78197).
  792. 2006-06-05 Jackson Harper <[email protected]>
  793. * TreeNode.cs: Compute the next node for expanding/collapsing
  794. correctly. We now factor in nodes without a NextNode
  795. correctly. (Fixes somes cases in nunit-gui).
  796. * InternalWindowManager.cs: Set the bounds when updating the
  797. virtual position of a tool window.
  798. 2006-06-05 Chris Toshok <[email protected]>
  799. * DataGrid.cs: rename cached_currencymgr to list_manager.
  800. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  801. some.
  802. (CurrentRow, CurrentColumn): single accessors so we can make the
  803. cursor movement code a lot easier to understand.
  804. (CurrentRowIndex): implement this in terms of CurrentRow.
  805. (BeginEdit): clean this up a bit.
  806. (CancelEditing): sort out the is_editing/is_changing/is_adding
  807. stuff a little.
  808. (EndEdit): minor changes.
  809. (OnKeyDown): add a comment about a (most likely) unnecessary
  810. check.
  811. (OnMouseDown): cancel editing when we click on a row header. And
  812. use the CurrentRow setter, not CurrentCell.
  813. (ProcessDialogKey): directly call ProcessGridKey.
  814. (UpdateSelectionAfterCursorMove): factor out this common block of
  815. code (it's used everywhere that we move the cursor by updating row
  816. or column).
  817. (ProcessGridKey): pretty substantial overhaul. Use the
  818. CurrentRow/CurrentColumn properties to make the code a lot more
  819. readable. Only use the CurrentCell property when we have to
  820. modify both row and column at once. Tab behavior is still broken,
  821. and Delete is untested.
  822. (Select): if we have no selected rows, set selection_start to
  823. @row.
  824. (EditCurrentCell): rename EditCell this. It was only ever invoked
  825. with CurrentCell as the arg, so drop the arg and rename it.
  826. * DataGridColumnStyle.cs: clean up the constructors a little, and
  827. drop CommonConstructor().
  828. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  829. actually get notified when the user hits it.
  830. (ProcessKeyMessage): *substantially* simplify this method.
  831. There's no reason (that I can see) for the textbox to be making
  832. calls into the datagrid at all. Remove all of them but the ones
  833. for Enter handling. those will take some more work.
  834. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  835. calling HideEditBox.
  836. (HideEditBox): if we have an active textbox, render it invisible
  837. without causing a re-layout of the datagrid.
  838. 2006-06-05 Mike Kestner <[email protected]>
  839. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  840. collection changes by resetting it to Items[0]. Fixes #78587.
  841. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  842. * MessageBox.cs: if the height of the text is larger than the icon_size,
  843. use that. Fixes bug #78575.
  844. 2006-06-05 Jackson Harper <[email protected]>
  845. * TreeView.cs: Fix line drawing when scrolling. To do this each
  846. node is basically responsible for drawing its entire horizontal
  847. area. When drawing a node it draws its parent node lines if
  848. needed.
  849. - Adjust the clip area to the viewport rectangle
  850. - Fix Left/Right key handling to match MS. (It expand/collapses
  851. and moves to parents/first child but does not move selection to
  852. sibling nodes).
  853. - Fix SetTop to work with new bound calculation code
  854. - When scrollbars are no longer needed we need to reset scrolling
  855. vars and recalculate the visible order so the redraw is correct
  856. * TreeNode.cs: We can't expand/collapse nodes with no children.
  857. 2006-06-03 John Luke <[email protected]>
  858. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  859. so the colors work without dev packages
  860. 2006-06-02 Peter Dennis Bartok <[email protected]>
  861. * Control.cs
  862. - Select: Implemented to just use activate. Seems to match MS
  863. behaviour closest. Documented to only do actual control walking
  864. based on it's parameters if in a container control so I moved
  865. the code there.
  866. - Removed selection check logic from our internal Select() method
  867. * ContainerControl.cs:
  868. - Select: Moved selection logic from Control here, since MS documents
  869. that containers obey the bool arguments. No longer calling base
  870. 2006-06-02 Jackson Harper <[email protected]>
  871. * TreeView.cs: If the selected node isn't changed when we get
  872. focus update the previously selected node so that we see the
  873. selection box.
  874. 2006-06-02 Mike Kestner <[email protected]>
  875. * ComboBox.cs: restructure grab and general mouse event handling.
  876. Make the composite control raise mouse events like it was a single
  877. control for leaves/enters/motion/up/down events. fix dropdown list
  878. coordinate mangling and refactor it into the scrollbar subclass to
  879. reduce code duplication. Fixes #78282 #78361 and #78457.
  880. 2006-06-02 Mike Kestner <[email protected]>
  881. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  882. automatically in the Control.WndProc.
  883. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  884. * FileDialog.cs: fix crash when running SharpChess, which sets the
  885. FilterIndex to 2 with only one Filter.
  886. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  887. * ToolBar.cs: add SizeSpecified property.
  888. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  889. try to figure out our real size, otherwise fallback to what the
  890. container says.
  891. 2006-06-01 Peter Dennis Bartok <[email protected]>
  892. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  893. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  894. up the event
  895. 2006-06-01 Mike Kestner <[email protected]>
  896. * ListView.cs: revamp the focus management in ListView. It still
  897. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  898. better than not handling focus at all. Will revisit when pdb feels
  899. the general focus handling is solid. Fixes #78526.
  900. 2006-06-01 Jackson Harper <[email protected]>
  901. * TreeView.cs: Set the default border style in the constructor.
  902. - Move painting to use OnPaintInternal instead of capturing
  903. WM_PAINT, this is the correct way of doing things
  904. - UpdateBelow shouldn't invalidate the scrollbar area
  905. - Cap the top on update below in case the node was above the top
  906. of the viewport rectangle.
  907. - ExpandBelow and Collapse below need to obey Begin/End Update.
  908. * TreeNode.cs: Make is_expanded internal so the treenode
  909. collection can change it without firing the whole event chain.
  910. * TreeNodeCollection.cs: When clearing all the child nodes make
  911. sure to recalc the visible order.
  912. - Improve algo for remove the top node
  913. 2006-06-01 Peter Dennis Bartok <[email protected]>
  914. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  915. SendMessage directly calling window procedures, which in turn might
  916. call SetFocus()
  917. 2006-06-01 Peter Dennis Bartok <[email protected]>
  918. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  919. has focus (works around X11 sending a FocusIn after our SetFocus)
  920. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  921. 2006-06-01 Alexander Olk <[email protected]>
  922. * Mime.cs: Fix for the NET_2_0 build.
  923. NameValueCollection needs StringComparer now.
  924. 2006-05-31 Chris Toshok <[email protected]>
  925. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  926. return (via an out parameter) the starting X of the column.
  927. (UpdateVisibleColumn): track change to FromPixelToColumn.
  928. (HitTest): add a ColumnResize case here.
  929. (DrawResizeLine): new function, probably poorly named.
  930. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  931. only need to keep one reference.
  932. (set_ListManager): same.
  933. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  934. Also, add support for HitTestType.ColumnResize.
  935. (OnMouseMove): add column resize behavior here, and change the
  936. cursor to the correct one as we move around the datagrid.
  937. (OnMouseUp): terminate the column resize if we're resizing.
  938. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  939. for the current cell.
  940. (ConnectListManagerEvents): use cached_currencymgr.
  941. (DisconnectListManagerEvents): fill this in, using
  942. cached_currencymgr.
  943. (SetCurrentCell): remove cached_currencymgr_events handling.
  944. (SetDataMember): only call DisconnectListManagerEvents if
  945. cached_currencymgr is != null.
  946. (SetDataSource): same.
  947. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  948. cached_currencymgr.
  949. 2006-05-31 Jackson Harper <[email protected]>
  950. * BindingManagerBase.cs: Remove somedebug code that creeped into
  951. SVN.
  952. * TreeNode.cs: We get the indent level dynamically right now, so
  953. don't track it as a member.
  954. * TreeNodeCollection.cs: Make sure all nodes added to the list
  955. have parents, treeviews/topnodes setup properly.
  956. - Don't attempt to track indent level.
  957. 2006-05-30 Jackson Harper <[email protected]>
  958. * BindingContext.cs: Create the currency manager tables here.
  959. This allows us to more easily create null tables (when bad data
  960. members are used), and more easily create related currency
  961. managers.
  962. * CurrencyManager.cs: All the table creation stuff is done by the
  963. binding context now.
  964. - Current should throw an exception if listposition is -1.
  965. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  966. been bound yet.
  967. 2006-05-30 Mike Kestner <[email protected]>
  968. * ListView.cs: allow reexpansion of zero-width column headers.
  969. Fixes #78528.
  970. 2006-05-28 Chris Toshok <[email protected]>
  971. * CurrencyManager.cs (get_Current): after the late binding
  972. listposition = -1 fix, we need to guard against it here and return
  973. null, otherwise we raise an exception (which is swallowed
  974. elsewhere, and breaks datagrid databinding.)
  975. 2006-05-26 Peter Dennis Bartok <[email protected]>
  976. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  977. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  978. 2006-05-26 Jackson Harper <[email protected]>
  979. * ControlPaint.cs:
  980. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  981. values, it's faster and it's all we care about (we don't care if
  982. the names aren't equal).
  983. * KeyboardLayouts.cs: Eliminate some dead code.
  984. - Lazy init things
  985. * X11Keyboard.cs: Lazy init keyboard detection.
  986. - Cleanup access modifiers a little.
  987. 2006-05-26 Peter Dennis Bartok <[email protected]>
  988. * XplatUIX11.cs: Once again, attempting to get layout just right.
  989. 2006-05-26 Peter Dennis Bartok <[email protected]>
  990. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  991. the sizes of each link section, that will result in sizes that
  992. match DrawString's layout (Fixes #78391)
  993. 2006-05-27 Alexander Olk <[email protected]>
  994. * FileDialog.cs: If AddExtension property is true autocomplete the
  995. extensions in SaveFileDialog correctly. Fixes bug #78453.
  996. Set MyNetwork and MyComputer to "C:\" for windows. This should
  997. fix part 8 of bug #78446 for now.
  998. 2006-05-26 Chris Toshok <[email protected]>
  999. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  1000. invalidate the current row header if we need to, but presumably
  1001. we'll invalidate the row corrsponding to the bounds or
  1002. editingControl.
  1003. (GridHScrolled): switch back to this method, as it's part of the
  1004. public api. *sigh*.
  1005. (GridVScrolled): same.
  1006. (OnMouseWheel): hack up something that more or less works. Call
  1007. GridHScrolled/GridVScrolled directly, instead of duplicating much
  1008. of their code here.
  1009. (EnsureCellVisibility): reinstate a bunch of this code, since we
  1010. can't just set the scrollbar Value and expect to do all the work
  1011. in the ValueChanged handler. Also, Call Update() after scrolling
  1012. in one direction so the other XplatX11.ScrollWindow call has the
  1013. proper stuff in the proper places.
  1014. (EditCell): set is_editing to true before calling .Edit.
  1015. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  1016. don't bother comparing first.
  1017. (OnKeyPress): call grid.ColumnStartedEditing before calling
  1018. base.OnKeyPress. this will set is_changing and invalidate the row
  1019. header if necessary.
  1020. (ProcessKeyMessage): for WM_CHAR messages, call
  1021. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  1022. and WM_KEYDOWN.
  1023. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  1024. it's done in the DataGrid.
  1025. (NextState): call grid.ColumnStartedEditing, which takes care of
  1026. invalidating the row header (and setting is_changing).
  1027. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  1028. here. it's done in the DataGrid.
  1029. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  1030. * Control.cs: allow changing the cursor when the mouse position is
  1031. out of bounds but Capture is set.
  1032. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  1033. linklabel but released somewhere else.
  1034. 2006-05-25 Jackson Harper <[email protected]>
  1035. * TreeView.cs: When we get focus if there is no selected node make
  1036. it the top node
  1037. - Remove some uneeded setup code from Draw.
  1038. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  1039. a new node is inserted make the new node the top.
  1040. * XplatUIX11.cs:
  1041. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  1042. be used (should be faster).
  1043. 2006-05-25 Chris Toshok <[email protected]>
  1044. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  1045. problem with the last commit.
  1046. 2006-05-25 Chris Toshok <[email protected]>
  1047. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  1048. need the invalidate call here, while scrolling right-to-left via
  1049. the left arrow key (i.e. moving the editing cell while scrolling).
  1050. * DataGrid.cs (.ctor): remove the initialization of
  1051. ctrl_pressed/shift_pressed. We no longer track them using key
  1052. up/down handlers, but by using Control.ModifierKeys. Also, switch
  1053. to using ValueChanged handlers on the scrollbars instead of
  1054. Scrolled event handlers. This simplifies a bunch of the scrolling
  1055. code.
  1056. (GridHValueChanged): rename from GridHScrolled, and change it to
  1057. work with the new event args.
  1058. (GridVValueChanged): same.
  1059. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  1060. (OnMouseWheel): actually scroll the datagrid. Don't change the
  1061. selected cell.
  1062. (ProcessGridKey): correct all the keyboard navigation stuff I
  1063. could find. Ctrl up/down/left/right/home/end work now.
  1064. (EnsureCellVisibility): correct method name spelling. Also,
  1065. simplify this a touch by not explicitly calling the
  1066. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  1067. scrollbar value.
  1068. (OnKeyUpDG): no need for this method now.
  1069. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  1070. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  1071. Fixes bug #78392.
  1072. 2006-05-25 Chris Toshok <[email protected]>
  1073. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  1074. r61019.
  1075. 2006-05-25 Peter Dennis Bartok <[email protected]>
  1076. * Application.cs: Moved setting of is_modal and closing to before
  1077. we create the control, to allow the event handlers called as a
  1078. result of creation affect closing. Also removed Gonzalo's previous
  1079. change to setting DialogResult, the behaviour has been moved to
  1080. Form.ShowDialog()
  1081. * Form.cs:
  1082. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  1083. handle it instead
  1084. - ShowDialog(): If no dialog result is set, we need to return Cancel
  1085. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  1086. the close is cancelled
  1087. 2006-05-25 Jackson Harper <[email protected]>
  1088. * StatusBar.cs: We only need to update the sizes of the other
  1089. panels when we have auto size contents. Also we are only updating
  1090. the contents of the panel, not the borders, so compensate for the
  1091. border width (TODO: get this width from the theme somehow).
  1092. * TreeView.cs: Scrollable is true by default
  1093. - Use invalidate instead of refresh where needed
  1094. - Factor the scrollable value into scrollbar updating
  1095. - Update the scrollbars if the Scrollable property is altered
  1096. - Update the selected node if its ImageIndex is changed
  1097. - Handle null nodes in UpdateNode (mainly so we don't have to
  1098. check if selected is null when updating it
  1099. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  1100. are factored into the visible count
  1101. - Use VisibleCount for clarity in the code
  1102. - When the font is changed we need to recurse through all the
  1103. nodes and invalidate their sizes
  1104. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  1105. * Application.cs: set the DialogResult to fixed when the main form is
  1106. hidden or destroyed while being modal.
  1107. 2006-05-25 Miguel de Icaza <[email protected]>
  1108. * Theme.cs: Use Tangoified messagebox icons.
  1109. (GetSizedResourceImage): Also cope with width = 0 and do not
  1110. trigger a warning in that case (0 means "give me your icon from
  1111. the resouce, no special size needed).
  1112. 2006-05-25 Peter Dennis Bartok <[email protected]>
  1113. * Application.cs: Leave runloop if the the main modal form is
  1114. hidden (fixes #78484)
  1115. 2006-05-25 Atsushi Enomoto <[email protected]>
  1116. * BindingContext.cs : reject null datasource in Contains() and
  1117. Item[].
  1118. * CurrencyManager.cs : check data_member validity when data_source
  1119. is dataset. When it is late binding, the initial position is -1.
  1120. 2006-05-24 Jackson Harper <[email protected]>
  1121. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  1122. inserted nodes that aren't visible. This changes the
  1123. max_visible_order which confuses scrollbar settings.
  1124. - Use the enumerator to get the prev node instead of duplicating
  1125. code.
  1126. * TreeView.cs: Use new method for setting scrollbar values
  1127. - Don't set the bounds every time the scrollbar is updated
  1128. - When updating below the root node use an invalidate instead of a
  1129. refresh to prevent the child controls (scrollbars) from being
  1130. refreshed. (UpdateBelow still needs to be reworked anyways).
  1131. - Reenable SetBottom now that visible orders are set correctly,
  1132. added some debug code incase we ever get bad values there again.
  1133. - Set the scrollbar max to 2 less then the max value, this
  1134. compensates for the max value being one above the node count, and
  1135. for scrollbars adding one extra "notch".
  1136. - When drawing image nodes if there is an imagelist we draw the
  1137. first image in the list if the supplied image index is out of the
  1138. image list's bounds.
  1139. 2006-05-24 Peter Dennis Bartok <[email protected]>
  1140. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  1141. we receive a size change from the WM (Fixes #78503)
  1142. 2006-05-24 Peter Dennis Bartok <[email protected]>
  1143. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  1144. rectangle (Fixes #78501)
  1145. 2006-05-24 Peter Dennis Bartok <[email protected]>
  1146. * ButtonBase.cs:
  1147. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  1148. as a bitfield.
  1149. - Fixed MouseMove to no longer switch pressed state unless the left
  1150. mouse button is pressed. Atsushi provided the original patch (#78485)
  1151. 2006-05-24 Jackson Harper <[email protected]>
  1152. * ScrollBar.cs: New internal methods that allow us to change a
  1153. couple values on the scrollbar (the most common case is maximum
  1154. and large change) without getting multiple invalidates.
  1155. 2006-05-24 Chris Toshok <[email protected]>
  1156. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  1157. (Edit): save off the original state in oldState, and set
  1158. grid.is_editing to true.
  1159. (OnKeyDown): abort editing if escape is pressed. also, call
  1160. NextState if space is pressed.
  1161. (OnMouseDown): call NextState.
  1162. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  1163. here. Also, only invalidate the row header once (on the initial
  1164. is_changing switch) to save on redraws.
  1165. 2006-05-24 Chris Toshok <[email protected]>
  1166. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  1167. if the value in the cell is different than it was before. This
  1168. keeps us from triggering a layout when we move around a datarid
  1169. with a highlighted cell.
  1170. (Edit): suspend layout when creating/positining the text box, and
  1171. resume passing false so we don't ever actually re-layout.
  1172. (ReleaseHostedControl): same.
  1173. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  1174. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  1175. control-key sequences should go to the datagrid - remove that
  1176. lock. Also, modify the conditions under which we move between
  1177. cells when moving the cursor within a cell, and remove the "this"
  1178. and "base" from field accesses. We weren't even consistent, given
  1179. they all were in the base class.
  1180. 2006-05-24 Atsushi Enomoto <[email protected]>
  1181. * Binding.cs : (.ctor)
  1182. An obvious NRE fix for BindingTest.CtorNullTest().
  1183. 2006-05-23 Chris Toshok <[email protected]>
  1184. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  1185. them between lines. This fixes some quirks editing cells in the
  1186. datagrid.
  1187. 2006-05-23 Jackson Harper <[email protected]>
  1188. * TreeView.cs: Use begin/end update when doing expand/collapse all
  1189. so that we don't get flicker on the scrollbar.
  1190. 2006-05-23 Jackson Harper <[email protected]>
  1191. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  1192. treenode calculations to be independant of the painting code. To
  1193. do this nodes track a visible order which is calculated by the
  1194. treeview.
  1195. - Call new methods for expanding/collapsing nodes. These methods
  1196. use scrollwindow so we don't have to update everything below the
  1197. node.
  1198. * TreeView.cs: Refactored drawing and scrolling code. We don't
  1199. need to update nodes when drawing anymore or calculate scrollbar
  1200. stuff.
  1201. - Added new methods for expanding/collapsing nodes. These methods
  1202. use ScrollWindow so as to not have to redraw all the nodes below.
  1203. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  1204. we add/remove nodes or sort.
  1205. - Handle removing the selected and the top node properly.
  1206. 2006-05-23 Chris Toshok <[email protected]>
  1207. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  1208. maybe this should actually happen in the datagrid code?
  1209. (EndEdit): no need to invalidate anything, given that
  1210. ReleaseHostedControl causes the datagrid to relayout, which
  1211. invalidates everything anyway.
  1212. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  1213. in SetCurrentCell).
  1214. (set_SelectionBackColor): call InvalidateSelection instead of
  1215. Refresh.
  1216. (set_SelectionForeColor): same.
  1217. (BeginEdit): Flesh this out a bit.
  1218. (CancelEditing): only do any of this if we're editing/adding.
  1219. (EndEdit): same.
  1220. (OnMouseDown): there's no need to cancel editing here, it's done
  1221. in SetCurrentCell.
  1222. (SetCurrentCell): only invalidate the current row header if it's a
  1223. different row than the new one.
  1224. (ShiftSelection): fix this to work like MS does.
  1225. (ResetSelection): factor out the invalidation of selected_rows to
  1226. InvalidateSelection.
  1227. (SetDataSource): cancel any editing that's going on.
  1228. * DataGridColumnStyle.cs
  1229. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  1230. call the non-interface version.
  1231. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  1232. header rectangle with the clip rectangle so we don't redraw the
  1233. entire header for just a small area. Gets rid of the last flicker
  1234. when horizontally scrolling.
  1235. (DataGridPaintRow): same.
  1236. 2006-05-23 Mike Kestner <[email protected]>
  1237. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  1238. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  1239. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  1240. Critical bug report.
  1241. 2006-05-23 Peter Dennis Bartok <[email protected]>
  1242. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  1243. and this fixes #78493
  1244. 2006-05-23 Miguel de Icaza <[email protected]>
  1245. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  1246. size is not found.
  1247. * FileDialog.cs: Do not change the background for the side bar as
  1248. it wont work nicely with the theme, and also reduces the artifacts
  1249. in rendering the icons (which I want to fix too).
  1250. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  1251. resources, not resgen resources.
  1252. (PlatformDefaultHandler): Pull images using the new API.
  1253. 2006-05-23 Peter Dennis Bartok <[email protected]>
  1254. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  1255. a reference to the hwnd and will not remove it unless there are
  1256. no pending exposures (fixes #78341)
  1257. * XplatUI.cs: Improved debug
  1258. 2006-05-23 Atsushi Enomoto <[email protected]>
  1259. * MenuAPI.cs : don't handle OnClick event when it was not the left
  1260. button. Fixed bug #78487.
  1261. 2006-05-23 Mike Kestner <[email protected]>
  1262. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  1263. prefer submenus to the top menu for item lookup, to avoid popping down
  1264. top-row items.
  1265. 2006-05-23 Alexander Olk <[email protected]>
  1266. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  1267. Graphics.FillRectangle as the visual results are really bad (even
  1268. on win). We now draw perfect arrows (and perfect shadows when the
  1269. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  1270. Pen.DashPattern to draw the dots of each line.
  1271. 2006-05-22 Alexander Olk <[email protected]>
  1272. * FileDialog.cs: Update the filename combobox when navigating through
  1273. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  1274. 2006-05-22 Mike Kestner <[email protected]>
  1275. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  1276. Fixes #78463.
  1277. 2006-05-22 Mike Kestner <[email protected]>
  1278. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  1279. requests. Fix a misspelled parameter and a copy paste exception error
  1280. in Select.
  1281. 2006-05-22 Peter Dennis Bartok <[email protected]>
  1282. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  1283. to get the same width/height (5/13) on X11 as the default font has on
  1284. win32. This means that our DefaultFont emSize is smaller than the
  1285. the MS SWF equivalent (even thought the width/height stays the same)
  1286. 2006-05-20 Jackson Harper <[email protected]>
  1287. * MdiClient.cs:
  1288. * MdiWindowManager.cs:
  1289. * InternalWindowManager.cs: Make sure to use the border width from
  1290. the theme.
  1291. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  1292. * PrintDialog.cs: Implements printer details
  1293. 2006-05-19 Alexander Olk <[email protected]>
  1294. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  1295. Fixes part 1 and 2 of bug #78446
  1296. 2006-05-19 Peter Dennis Bartok <[email protected]>
  1297. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  1298. instead of sticking to the first ever calculated value
  1299. 2006-05-19 Mike Kestner <[email protected]>
  1300. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  1301. PointToClient, since Capture is set. Fixes #78344.
  1302. 2006-05-19 Mike Kestner <[email protected]>
  1303. * ListView.cs: match MS behavior in Details view where items are not
  1304. drawn if Columns.Count == 0.
  1305. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  1306. Use a separate pen to draw the check, since changing the width affects
  1307. the box as well. Fixes #78454.
  1308. 2006-05-18 Miguel de Icaza <[email protected]>
  1309. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  1310. exception should throw the name of the invalid argument.
  1311. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  1312. there are no files listed.
  1313. 2006-05-18 Jackson Harper <[email protected]>
  1314. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  1315. up.
  1316. 2006-05-18 Peter Dennis Bartok <[email protected]>
  1317. * Control.cs: Brought back our old UpdateZOrder method as a private
  1318. function and switched our calls from UpdateZOrder to the new one.
  1319. This fixes the Paint.Net canvas disappearing bug.
  1320. 2006-05-18 Jackson Harper <[email protected]>
  1321. * Theme.cs:
  1322. * ThemeWin32Classic.cs:
  1323. * InternalWindowManager.cs: Move the drawing into the theme,
  1324. expose everything the theme should need from the window manager.
  1325. 2006-05-18 Peter Dennis Bartok <[email protected]>
  1326. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  1327. from the call to NativeWindow to avoid walking up the parent chain
  1328. further than needed (speeds up setting cursors and avoids setting
  1329. the wrong cursor if a parent has another cursor defined)
  1330. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  1331. the icon as hotspot, not what's contained as hotspot in the icon
  1332. file. This fixes the perceived drawing offset seen with Paint.Net
  1333. 2006-05-18 Peter Dennis Bartok <[email protected]>
  1334. * XplatUIX11.cs:
  1335. - Store the calculated rectangle in Hwnd object and use it when
  1336. setting the client size
  1337. - Force Toolwindows to always be type Dock, to ensure they're on top
  1338. 2006-05-18 Mike Kestner <[email protected]>
  1339. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  1340. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  1341. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  1342. Substantial refactoring to remove confusing nested classes. Coding
  1343. standard and Get+Set->property refactorings. Shift to index based
  1344. highlighting in ComboListBox instead of constantly using IndexOf and
  1345. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  1346. in FileDialog growth. Draw borders manually since Simple mode needs
  1347. to look like two independent controls. Make listbox border
  1348. conditional to DropDownStyle. Improved OwnerDraw support.
  1349. 2006-05-18 Sebastien Pouliot <[email protected]>
  1350. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  1351. Don't set the disposed graphics to null, so we can throw the "right"
  1352. exception if the graphics is reused later (added a flag to avoid
  1353. double disposing). Some behaviours are different under 2.0 and are
  1354. filled under bug #78448.
  1355. 2006-05-18 Peter Dennis Bartok <[email protected]>
  1356. * Control.cs: When double-buffering is enabled, we need to reset
  1357. our graphics context between paint calls. Otherwise, any
  1358. transformations and other alterations on the context will
  1359. become cumulative (#77734)
  1360. 2006-05-18 Mike Kestner <[email protected]>
  1361. * ListView.cs: do focused item selection like MS on clicks.
  1362. Rework focus handling for ItemControl so LostFocus invalidates as
  1363. well.
  1364. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  1365. the ListView ItemControl has focus.
  1366. 2006-05-17 Peter Dennis Bartok <[email protected]>
  1367. * XplatUIX11.cs: If client_window ends up being width or height zero
  1368. due to border settings, move it off window inside whole_window (#78433)
  1369. 2006-05-17 Alexander Olk <[email protected]>
  1370. * Mime.cs: Shrink the mime file cache correctly.
  1371. 2006-05-17 Alexander Olk <[email protected]>
  1372. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  1373. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1374. * XplatUIX11.cs (AddExpose): More sanity checks
  1375. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1376. * XplatUIX11.cs:
  1377. - AddExpose: Don't add expose ranges outside the size of our
  1378. window
  1379. - Cast opacity values to Int32 to avoid crashes with certain
  1380. values
  1381. - Added disabled code paths that protect against illegal cross-
  1382. thread painting (Developers.exe)
  1383. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1384. * ProgressBar.cs: Invalidate the control when it's resized
  1385. since block size is based on control size. (#78388)
  1386. 2006-05-16 Miguel de Icaza <[email protected]>
  1387. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  1388. of setting the incoming argument to the "reset" value, we set the
  1389. this.datamember to string.empty (before we were invalidating the
  1390. incoming data).
  1391. Fixes 78420
  1392. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1393. * Form.cs: Only apply transparency settings after the form
  1394. is created. (Fixes #77800)
  1395. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1396. * ApplicationContext.cs: Grab the HandleDestroyed event so
  1397. we know when to fire OnMainFormClosed
  1398. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1399. * Application.cs: Introduced sub-class to allow tracking of
  1400. threads and centralized triggering of the event mess for
  1401. ThreadExit, AppExit, etc.. (#76156)
  1402. 2006-05-16 Alexander Olk <[email protected]>
  1403. * MimeIcon.cs:
  1404. - Do not return a null icon index value for a mime subclass.
  1405. Instead try the main mime type class too.
  1406. - Seems that some newer distributions don't have a link to some
  1407. gnome default icons anymore. So check the default gnome dir too.
  1408. 2006-05-16 Jackson Harper <[email protected]>
  1409. * MdiClient.cs: Don't paint the parent background image if we have
  1410. our own background image.
  1411. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1412. * Control.cs:
  1413. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  1414. controls, all filled controls are supposed to overlap (#78080)
  1415. - UpdateZOrder is supposed to update the control's z-order in the
  1416. parent's z-order chain. Fixed to behave like that
  1417. - BringToFront: Removed obsolete code
  1418. - SendToBack: Simplyfied
  1419. - SetChildIndex: Trigger layout calculations when Z-order changes
  1420. since layout is done by z-order
  1421. 2006-05-16 Chris Toshok <[email protected]>
  1422. [ fixes bug #78410 ]
  1423. * DataGrid.cs (set_AlternatingBackColor): use
  1424. grid_drawing.InvalidateCells instead of Refresh().
  1425. (set_BackColor): call grid_drawing.InvalidateCells.
  1426. (set_BackgroundColor): use Invalidate instead of Refresh.
  1427. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  1428. invalidate the cell area.
  1429. 2006-05-15 Chris Toshok <[email protected]>
  1430. [ fixes bug #78011 ]
  1431. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  1432. on to DataGridPaintRow.
  1433. (DataGridPaintRow): take a clip argument, and only draw the cells
  1434. which intersect it. same with the not_usedarea.
  1435. * Theme.cs (DataGridPaintRow) add @clip parameter.
  1436. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  1437. XplatUI.ScrollWindow.
  1438. (ScrollToRow): same.
  1439. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  1440. with last column which was causing a gray swath to appear with the
  1441. XplatUI.ScrollWindow code.
  1442. 2006-05-15 Chris Toshok <[email protected]>
  1443. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  1444. use XplatUI.ScrollWindow.
  1445. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  1446. 2006-05-15 Peter Dennis Bartok <[email protected]>
  1447. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  1448. 2006-05-15 Peter Dennis Bartok <[email protected]>
  1449. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  1450. file since there are no equivalent X11 cursors
  1451. 2006-05-15 Atsushi Enomoto <[email protected]>
  1452. * MonthCalendar.cs : DateTimePicker should reflect selected date
  1453. on mouse*up*, not mouse*down*. Fixed originally reported part of
  1454. bug #76474.
  1455. 2006-05-15 Atsushi Enomoto <[email protected]>
  1456. * TabControl.cs : When argument index is equal or more than tab
  1457. count, just ignore. Fixed bug #78395.
  1458. 2006-05-15 Peter Dennis Bartok <[email protected]>
  1459. * Control.cs: Dispose all child controls when control is diposed (#78394)
  1460. 2006-05-14 Alexander Olk <[email protected]>
  1461. * ColorDialog.cs: Finally it is possible to select the color with
  1462. the text boxes
  1463. 2006-05-14 Alexander Olk <[email protected]>
  1464. * PrintDialog.cs: Fix typo
  1465. 2006-05-14 Alexander Olk <[email protected]>
  1466. * PrintDialog.cs: PrintDialog is not resizable
  1467. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  1468. color. Made some ToolBar drawing methods protected virtual.
  1469. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  1470. * PrintDialog.cs: Implementation of the PrintDialog
  1471. 2006-05-12 Chris Toshok <[email protected]>
  1472. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  1473. thumb, instead use MoveThumb. This has the side effect of making
  1474. most of the other thumb moving machinery use MoveThumb as well.
  1475. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  1476. need to actually invalidate the rectangle where the new thumb will
  1477. go.
  1478. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  1479. We force an Update() after, so it's not as fast as it could be,
  1480. but at least there's zero flicker and no droppings.
  1481. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  1482. (UpdateThumbPos): add another argument (dirty), which says whether
  1483. or not to calculate/add dirty regions which we later invalidate.
  1484. For cases where we know we're going to use MoveThumb, we pass
  1485. false for this. Otherwise, pass true.
  1486. 2006-05-12 Jackson Harper <[email protected]>
  1487. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  1488. the status bar.
  1489. 2006-05-12 Peter Dennis Bartok <[email protected]>
  1490. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  1491. and GetClipRegion methods and UserClipWontExposeParent property.
  1492. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  1493. overriding UserClipWontExposeParent property, setting to false, since
  1494. Win32 handles the required expose messages to draw our clipped parent
  1495. areas internally
  1496. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  1497. PaintEventStart to set the user clip region if set.
  1498. * Control.cs:
  1499. - Now internally tracking the Region for the control since we need to
  1500. store it if the handle is not yet created and only set it when it
  1501. becomes created. Before setting the region forced handle creation
  1502. - Added code to draw the parents underneath a user-clipped region
  1503. * Hwnd.cs: Added UserClip property
  1504. 2006-05-12 Chris Toshok <[email protected]>
  1505. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  1506. (set_Maximum): same.
  1507. (set_Minimum): same.
  1508. (set_SmallChange): same.
  1509. (OnMouseUpSB): remove the call to refresh when releasing the
  1510. thumb. We shouldn't need it.
  1511. 2006-05-12 Miguel de Icaza <[email protected]>
  1512. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  1513. AutoSize set to None, we do not need to relayout everything, we
  1514. just need to invalidate the current region.
  1515. (Draw): Do not draw the entire ClientArea, just redraw the
  1516. clip area being passed.
  1517. * MdiClient.cs: Make MdiClient constructor with the Form argument
  1518. internal.
  1519. 2006-05-12 Jackson Harper <[email protected]>
  1520. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  1521. parents background image, but strangely not their own.
  1522. - (DrawStatusBarPanel): Take into account horizontal alignment
  1523. when drawing the strings and icons.
  1524. 2006-05-12 Mike Kestner <[email protected]>
  1525. * ListBox.cs: avoid invalidations for focus when the collection is
  1526. empty.
  1527. 2006-05-12 Chris Toshok <[email protected]>
  1528. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  1529. invalidate the entire thumb area. Call InvalidateDirty which
  1530. limits the redraw to the thumb itself and surrounding pixels.
  1531. * XplatUIX11.cs (ScrollWindow): optimize copying.
  1532. 2006-05-12 Chris Toshok <[email protected]>
  1533. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  1534. Figure out the positioning/layout in a single pass instead of
  1535. multiple recursive invocations. Speeds up the initial display of
  1536. the data grid. Also, make many things private that were
  1537. originally public but unused outside this class.
  1538. 2006-05-11 Jackson Harper <[email protected]>
  1539. * MdiClient.cs: Improved layout code.
  1540. 2006-05-11 Jonathan Chambers <[email protected]>
  1541. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  1542. not SelectedObject.
  1543. 2006-05-11 Chris Toshok <[email protected]>
  1544. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  1545. union of that will always be {0,0,width,height}.
  1546. 2006-05-11 Jackson Harper <[email protected]>
  1547. * Form.cs: Match MS's DefaultSize for forms (they must have
  1548. changed the size in sp2).
  1549. 2006-05-11 Atsushi Enomoto <[email protected]>
  1550. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  1551. 2006-05-11 Atsushi Enomoto <[email protected]>
  1552. * TextControl.cs : Fixed bug #78109. This incorrect position
  1553. comparison caused crash on automatic line split.
  1554. * TextBoxBase.cs : reduce duplicate code.
  1555. 2006-05-10 Jackson Harper <[email protected]>
  1556. * MdiClient.cs: Active form is only sent to the back when using
  1557. the Next form functionality, when a form is clicked the current
  1558. active shouldn't be sent to the back.
  1559. - Layout the mdi windows when the container is first made visible.
  1560. * Form.cs: Give the MdiClient a ref to the containing form when we
  1561. create it.
  1562. 2006-05-10 Atsushi Enomoto <[email protected]>
  1563. * LinkLabel.cs : link_font could be uninitialized, so populate one
  1564. before actual use. Fixed bug #78340.
  1565. 2006-05-10 Atsushi Enomoto <[email protected]>
  1566. * XplatUIX11.cs : clipboard format native value is IntPtr.
  1567. Fixed bug #78283.
  1568. 2006-05-10 Peter Dennis Bartok <[email protected]>
  1569. * Control.cs:
  1570. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  1571. which is passed up the parent chain by DefWndProc
  1572. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  1573. to DefWndProc (#77956)
  1574. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  1575. 2006-05-10 Jackson Harper <[email protected]>
  1576. * MdiClient.cs: We need to remove the controls from the mdi
  1577. collection, when we close the window.
  1578. * MdiWindowManager.cs: Special handling of closing mdi windows.
  1579. * InternalWindowManager.cs: Make the close method virtual so the
  1580. mdi window manager can handle it specially.
  1581. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  1582. * DataGrid.cs:
  1583. - Recalculate grid when the data source has changed
  1584. - Matches styles provided by user from all data sources types
  1585. * DataGridTableStyle.cs: For columns that provided by the user set the
  1586. with the preferred value is there was unassigned.
  1587. * CurrencyManager.cs: throw OnItemChanged event
  1588. 2006-05-10 Peter Dennis Bartok <[email protected]>
  1589. * PictureBox.cs: Don't animate until handle is created. Start animation
  1590. when handle is created.
  1591. 2006-05-10 Peter Dennis Bartok <[email protected]>
  1592. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  1593. current codebase.
  1594. * XEventQueue.cs: We don't need to provide the extra info
  1595. 2006-05-10 Jackson Harper <[email protected]>
  1596. * MdiClient.cs: If the mdi clients parent form has a background
  1597. image set, we draw that background image for the mdi area's
  1598. background.
  1599. 2006-05-10 Peter Dennis Bartok <[email protected]>
  1600. * TextBoxBase.cs: Set IBeam cursor (#78347)
  1601. 2006-05-10 Mike Kestner <[email protected]>
  1602. * ToolBar.cs: fix some text padding issues with ButtonSize
  1603. calculation. Update the default size to match MS documentation.
  1604. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  1605. button size. Fixes #78296.
  1606. 2006-05-10 Mike Kestner <[email protected]>
  1607. * ListBox.cs: use is_visible for scrollbar positioning in case the
  1608. control isn't on screen yet. Fix off by one with Right vs Width
  1609. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  1610. 2006-05-10 Jackson Harper <[email protected]>
  1611. * X11Dnd.cs: Drop to a control with another control on top of it.
  1612. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  1613. be modified in click handlers. TODO: Look for similar problems in
  1614. other controls.
  1615. 2006-05-09 Jackson Harper <[email protected]>
  1616. * Form.cs: Window managers need the old window state when setting
  1617. window state now.
  1618. * InternalWindowManager.cs: Allow the base mdi window manager to
  1619. handle more of the MDI only stuff (like maximize buttons).
  1620. * MdiWindowManager.cs: Fix some snafus in changing the window
  1621. state. Add all the menu functionality, for both popup and
  1622. maximized menus.
  1623. * MdiClient.cs: When a new form is selected the currently
  1624. activated form is sent to the back, this matches MS.
  1625. - Implement a new method to activate the next mdi child window.
  1626. 2006-05-08 Peter Dennis Bartok <[email protected]>
  1627. * Control.cs:
  1628. - Added new InternalCapture method to allow controls to prevent
  1629. the capture behaviour on the click handlers
  1630. - Switched to use InternalCapture
  1631. * ComboBox.cs:
  1632. - Using InternalCapture to prevent mouse captures from being released
  1633. on mouse button release (Fixes #78100)
  1634. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  1635. returns Form borders if a caption is present. (Fixes #78310)
  1636. 2006-05-08 Peter Dennis Bartok <[email protected]>
  1637. * TreeNode.cs: Changed serialization .ctor to not require every field
  1638. to be present. (#78265)
  1639. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  1640. 2006-05-05 Alexander Olk <[email protected]>
  1641. * MimeIcon.cs: for is faster than foreach for strings.
  1642. 2006-05-05 Mike Kestner <[email protected]>
  1643. * CheckedListBox.cs: update check handling code to not use selected.
  1644. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  1645. behavior for visual feedback, motion response, shift/ctrl handling,
  1646. and properly deal with all 4 selection modes. Updates to bounds
  1647. handling logic. Add scroll wheel support. [Fixes #77842]
  1648. 2006-05-05 Peter Dennis Bartok <[email protected]>
  1649. * ListView.cs:
  1650. - Moved adding of Implicit controls into .ctor. That way, subsequent
  1651. creation of the controls will not cause them to think they are
  1652. toplevel windows (fixes #78200 header problem)
  1653. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  1654. - Switched visibility setting of header control to use internal field
  1655. to avoid triggering handle creation
  1656. - Now checking if handle is created before causing a refresh when items
  1657. are added (This makes us now match handle creation time with MS)
  1658. * Splitter.cs: Removed loading of private splitter cursor, switched to
  1659. Cursors version now that that is loading the right ones
  1660. * Cursors.cs: Load proper splitter cursors from resources
  1661. * Cursor.cs: Added second method of loading resource cursors for the
  1662. VS.Net users amongst us
  1663. 2006-05-05 Mike Kestner <[email protected]>
  1664. * ListView.cs: give header_control a minimum size based on the
  1665. ListView size.
  1666. 2006-05-05 Peter Dennis Bartok <[email protected]>
  1667. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  1668. window seems to do that with metacity, so set that type. (#78120)
  1669. 2006-05-05 Mike Kestner <[email protected]>
  1670. * ListViewItem.cs: fix Details mode checkbox layout bug.
  1671. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  1672. at the end of the header, if it exists. [Fixes for #78200]
  1673. 2006-05-04 Jackson Harper <[email protected]>
  1674. * MdiClient.cs: Add a helper property to get the container form.
  1675. * MdiWindowManager.cs: We have to make sure to use the menu origin
  1676. when drawing the icons and buttons, this fixes maximized window
  1677. icons/buttons on win32.
  1678. * InternalWindowManager.cs: Reset the restore captions when a
  1679. window goes from Maximized to Minimized and vice versa. Move the
  1680. DrawMaximizedButtons into the MdiWindowManager source, tool
  1681. windows can't be maximized. NOTE: This could use a little
  1682. refactoring if time ever permits.
  1683. 2006-05-03 Jonathan Chambers <[email protected]>
  1684. * TextBox.cs: Add MWFCategoryAttributes
  1685. * TextBoxBase.cs: Add MWFCategoryAttributes
  1686. * Form.cs: Add MWFCategoryAttributes
  1687. 2006-05-03 Jonathan Chambers <[email protected]>
  1688. * Control.cs: Add MWFCategoryAttributes
  1689. * ScrollableControl.cs: Add MWFCategoryAttributes
  1690. 2006-05-03 Alexander Olk <[email protected]>
  1691. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  1692. Divider is true. Fix a little glitch in PropertyToolBar
  1693. drawing code
  1694. 2006-05-02 Peter Dennis Bartok <[email protected]>
  1695. * Control.cs:
  1696. - Dispose: Call base.Dispose, this causes the disposed event
  1697. to be fired (and probably other, more important stuff)
  1698. - SetVisibleCore: Set is_visible to true after creating the
  1699. window so that the window still gets created invisible (if
  1700. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  1701. to generate a WM_ACTIVE message
  1702. * Form.cs: Call Dispose when we want to destroy the window, instead of
  1703. just destroying the handle (Dispose will do that for us)
  1704. * XplatUIX11.cs:
  1705. - RootWindow also needs a queue, so we can properly process the
  1706. property change events from RootWindow (like Activate)
  1707. - Generatic synthetic WM_ACTIVE message when the active window is
  1708. being destroyed
  1709. 2006-05-01 Peter Dennis Bartok <[email protected]>
  1710. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  1711. bounds are changed
  1712. 2006-05-01 Peter Dennis Bartok <[email protected]>
  1713. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  1714. for determining width and height (image might not be assigned if
  1715. we're drawing an imagelist)
  1716. 2006-05-01 Peter Dennis Bartok <[email protected]>
  1717. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  1718. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  1719. height from system
  1720. * Theme.cs: No longer returns hardcoded menu height, instead calls
  1721. new driver method
  1722. * Form.cs (OnLoad): Scaling happens before triggering Load events
  1723. on MS (# 78257)
  1724. 2006-05-01 Mike Kestner <[email protected]>
  1725. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  1726. 2006-04-30 Peter Dennis Bartok <[email protected]>
  1727. * TextBoxBase.cs: Removed Fixme
  1728. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  1729. 2006-04-30 Peter Dennis Bartok <[email protected]>
  1730. * XplatUIX11.cs:
  1731. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  1732. the rectangle relative to the parent, considering borders. We
  1733. don't really want that.
  1734. - ScrollWindow: Fixed warning to be more understandable
  1735. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  1736. scrollbars and scroll only the visible area
  1737. * RichTextBox.cs: Removed debug output
  1738. 2006-04-29 Peter Dennis Bartok <[email protected]>
  1739. * NumericUpDown.cs (Text): Just use base
  1740. * UpDownBase.cs: Ensure txtView is created before using it
  1741. 2006-04-29 Peter Dennis Bartok <[email protected]>
  1742. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  1743. casting to IntPtr to avoid 64bit overflow errors
  1744. 2006-04-29 Peter Dennis Bartok <[email protected]>
  1745. * Control.cs:
  1746. - AllowDrop: Don't force handle creation.
  1747. - CreateHandle: Added call to tell driver if we're allowed to drop
  1748. 2006-04-27 Alexander Olk <[email protected]>
  1749. * FileDialog.cs: Remember the last directory not only for the
  1750. current instance but also for new FileDialog instances.
  1751. 2006-04-29 Peter Dennis Bartok <[email protected]>
  1752. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  1753. broke sending async messages
  1754. 2006-04-29 Peter Dennis Bartok <[email protected]>
  1755. * XplatUIX11.cs:
  1756. - ScrollWindow: Fixed method. We finally generate expose events again
  1757. for scrolled areas. This was causing 'garbage' when scrolling
  1758. textbox and other controls that used ScrollWindow
  1759. - Switched from using the regular queue for paint events to the MS
  1760. model of 'generating' paint events when the queue is empty.
  1761. We use the new XQueueEvent.Paint subclass to store which windows
  1762. need painting.
  1763. - AddExpose now takes the x/y/width/height of the exposed area
  1764. and inserts the window into the paint queue if not already there
  1765. - InvalidateWholeWindow: Switched to use new AddExpose method
  1766. - UpdateMessageQueue: Added which queue to monitor for paint events
  1767. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  1768. the unlikely case nothing above handles it. We reset the expose
  1769. pending states to get them off the queue.
  1770. - GetMessage: Now pulls a paint event if no other events are in the
  1771. queue
  1772. - Invalidate: Switched to new AddExpose method
  1773. - PeekMessage: Updated to understand pending paint events
  1774. - UpdateWindow: Fixed logic bug. We were only updating if the window
  1775. didn't need updating. Also switched to sending WM_PAINT directly,
  1776. like MS does.
  1777. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  1778. and random access Remove(). The random access is needed to handle
  1779. UpdateWindow() where a WM_PAINT is sent directly without accessing
  1780. the queue.
  1781. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  1782. allow for better feedback when scrolling. Scrollbars are small and
  1783. the immediate update should make it 'feel' more responsive without
  1784. slowing things down. ScrollBar still needs it's invaliate logic
  1785. updated to not always invalidate the whole bar on certain changes.
  1786. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  1787. * Control.cs:
  1788. (BackColor): if the control does not support a transparent background,
  1789. return the default backcolor when the parent backcolor is transparent.
  1790. 2006-04-28 Peter Dennis Bartok <[email protected]>
  1791. * Application.cs: Updated to new StartLoop/GetMessage API
  1792. * RichTextBox.cs: Provide some output on RTF parsing errors
  1793. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  1794. new queue_id argument to GetMessage and PeekMessage to allow faster
  1795. handling of per-thread queues in drivers.
  1796. * Hwnd.cs: Added Queue tracking and property
  1797. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  1798. * XEventQueue.cs: Added thread trackingA
  1799. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  1800. * XplatUIX11.cs:
  1801. - Implemented new per-thread queue
  1802. - GetMessage: Fixed return/break behaviour on several cases. We were
  1803. returning stale messages in some cases, instead of just processing
  1804. the next message
  1805. 2006-04-27 Jonathan Chambers <[email protected]>
  1806. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  1807. 2006-04-27 Peter Dennis Bartok <[email protected]>
  1808. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  1809. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  1810. 2006-04-27 Jonathan Chambers <[email protected]>
  1811. * PropertyGridView.cs: Fix drop down width.
  1812. 2006-04-27 Alexander Olk <[email protected]>
  1813. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  1814. a mess in DrawToolBar, so I removed one of them.
  1815. 2006-04-27 Alexander Olk <[email protected]>
  1816. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  1817. needed (clip). Otherwise we get artifacts.
  1818. 2006-04-26 Peter Dennis Bartok <[email protected]>
  1819. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  1820. dimension is fixed
  1821. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  1822. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  1823. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  1824. if it matches the scale base font (avoids unneeded scaling)
  1825. 2006-04-26 Alexander Olk <[email protected]>
  1826. * X11DesktopColors.cs: One gtk_init_check should be enough
  1827. 2006-04-26 Peter Dennis Bartok <[email protected]>
  1828. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  1829. match MS behaviour
  1830. 2006-04-26 Peter Dennis Bartok <[email protected]>
  1831. * TextBoxBase.cs:
  1832. - Generate OnTextChanged for Backspace even if we're only deleting
  1833. the current selection
  1834. - When setting the Text property, only select all text if the
  1835. control does not have focus when it is being set. Otherwise
  1836. just place the cursor at the beginning of the control
  1837. 2006-04-26 Alexander Olk <[email protected]>
  1838. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  1839. Added a little helper to draw PropertyGrid ToolBar with a different
  1840. border and a different BackColor.
  1841. * PropertyGrid.cs: Some background parts didn't get painted with the
  1842. correct background color. Added a class that helps us to draw the
  1843. correct border for PropertyGridView and a class that helps us to
  1844. draw ToolBars with a different backcolor
  1845. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  1846. 2006-04-25 Jonathan Chambers <[email protected]>
  1847. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  1848. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  1849. 2006-04-25 Peter Dennis Bartok <[email protected]>
  1850. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  1851. into the palette entries. Also, since we're working on a copy
  1852. we needed to copy the palette back onto the bitmap.
  1853. * Cursor.cs: Same fix as XplatUIWin32.cs.
  1854. 2006-04-25 Peter Dennis Bartok <[email protected]>
  1855. * ImageListStreamer.cs: Need to read the var (or we're off)
  1856. 2006-04-25 Peter Dennis Bartok <[email protected]>
  1857. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  1858. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  1859. TextBoxBase.cs: Unused var fixes
  1860. * AxHost.cs: Small 2.0 fix
  1861. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  1862. as it seems that is what at least Metacity expects. This will make
  1863. icons show up on 64bit platforms. We still have some 64bit size
  1864. issues, though, since the startup app window size still won't match.
  1865. 2006-04-25 Mike Kestner <[email protected]>
  1866. * *.cs: cleanup newly reported exception var unused warnings.
  1867. 2006-04-25 Alexander Olk <[email protected]>
  1868. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  1869. ms
  1870. 2006-04-25 Alexander Olk <[email protected]>
  1871. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  1872. image. The image position is always the same, no matter if the
  1873. button is pressed or not.
  1874. 2006-04-25 Alexander Olk <[email protected]>
  1875. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  1876. selection and set the correct filename for SaveFileDialog.
  1877. Patch by Emery Conrad.
  1878. 2006-04-24 Mike Kestner <[email protected]>
  1879. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  1880. check for item.X outside the ClientRect instead of item.Y. Fixes
  1881. #78151.
  1882. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  1883. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  1884. trust that value blindly and do some sanity check. Fixes bug #77814.
  1885. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  1886. * ImageListStreamer.cs: save the mask as a 1bpp image.
  1887. 2006-04-21 Mike Kestner <[email protected]>
  1888. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  1889. pass Checked and Indeterminate to the Theme Engine. Improve
  1890. encapsulation with ListBox.
  1891. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  1892. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  1893. nested types. Move all CheckState functionality to CheckedListBox.
  1894. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  1895. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  1896. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  1897. single base list. Fix scrollbar sizing and placement to mirror MS.
  1898. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  1899. used.
  1900. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  1901. for CheckedListBox by using new DrawItemState info. Center the
  1902. checkboxes on the items. Use new StringFormat property.
  1903. 2006-04-18 Jackson Harper <[email protected]>
  1904. * Form.cs: MdiChildren don't do default locations the same way as
  1905. regular forms. This prevents a crash when trying to position the
  1906. mdi windows.
  1907. 2006-04-17 Jonathan Chambers <[email protected]>
  1908. * PropertyGridTextBox.cs: Formatting, copyright
  1909. * PropertiesTab.cs: Formatting
  1910. * PropertyGrid.cs: Formatting
  1911. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  1912. click toggling of values
  1913. 2006-04-17 Peter Dennis Bartok <[email protected]>
  1914. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  1915. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  1916. every time a control is created
  1917. * Application.cs: Removed obsolete EnableRTLMirroring method
  1918. 2006-04-18 Gert Driesen <[email protected]>
  1919. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  1920. SelectedIndex to -1. Fixes bug #78121.
  1921. 2006-04-17 Jackson Harper <[email protected]>
  1922. * Binding.cs: Handle null values for Current and BindingContext.
  1923. This occurs when binding is a little delayed.
  1924. * CurrencyManager.cs: return null for Current when there are no
  1925. items in the list.
  1926. - Hookup to the listchanged event on the DataView and update
  1927. bindings when the list is changed. This fixes late binding of
  1928. controls.
  1929. 2006-04-17 Jackson Harper <[email protected]>
  1930. * X11Dnd.cs:
  1931. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  1932. Ringenbach.
  1933. 2006-04-15 Alexander Olk <[email protected]>
  1934. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  1935. place
  1936. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  1937. with the correct ButtonState
  1938. 2006-04-14 Peter Dennis Bartok <[email protected]>
  1939. * XplatUIX11.cs: Improved distinguishing between window types to
  1940. tell the WM a type closer to what the app wants (Fixes #78107)
  1941. 2006-04-14 Alexander Olk <[email protected]>
  1942. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  1943. GrabHandle
  1944. 2006-04-14 Alexander Olk <[email protected]>
  1945. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  1946. drawing code to reflect the size grip changes
  1947. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  1948. * ImageListStreamer.cs: fix handling of the mask that follows the main
  1949. bitmap when deserializing and serialize it properly. The generated mask
  1950. should better be a 1bpp image, but I'll do that later.
  1951. 2006-04-13 Alexander Olk <[email protected]>
  1952. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  1953. path doesn't fit into some of our Current.Places
  1954. 2006-04-13 Jackson Harper <[email protected]>
  1955. * ComboBox.cs: Use borders instead of drawing our own decorations,
  1956. try to obey correct rules for heights.
  1957. * Theme.cs:
  1958. * ThemeNice.cs:
  1959. * ThemeClearLooks.cs:
  1960. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  1961. this is now handled by borders.
  1962. - Remove unused DrawListBoxDecorationSize method.
  1963. 2006-04-13 Mike Kestner <[email protected]>
  1964. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  1965. reported by Alex.
  1966. 2006-04-13 Alexander Olk <[email protected]>
  1967. * ThemeWin32Classic.cs:
  1968. - Fixed CPDrawStringDisabled
  1969. - Corrected drawing of disabled menu items
  1970. - Fixed drawing of disabled radio buttons (bug #78095)
  1971. - Draw check in a disabled CheckBox with color ControlDark
  1972. 2006-04-12 Peter Dennis Bartok <[email protected]>
  1973. * Form.cs: Use the provided width when calculating the menu size;
  1974. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  1975. and ClientSize.Width won't be updated yet
  1976. * Application.cs: Use Visible instead of Show() to make form visible,
  1977. this way we create the handle later and menusize is considered
  1978. 2006-04-12 Mike Kestner <[email protected]>
  1979. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  1980. reporting.
  1981. 2006-04-12 Peter Dennis Bartok <[email protected]>
  1982. * TextBox.cs: Implemented context menu
  1983. 2006-04-12 Mike Kestner <[email protected]>
  1984. * ListView.cs: implement box selection. fixes #77838.
  1985. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  1986. 2006-04-12 Peter Dennis Bartok <[email protected]>
  1987. * XplatUIX11.cs: Added setting of window type when transient window
  1988. is created (metacity would move it otherwise)
  1989. * X11Structs.cs: Added WINDOW_TYPE atoms
  1990. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  1991. background (the control is Opaque but still wants transparent
  1992. backgrounds)
  1993. 2006-04-12 Peter Dennis Bartok <[email protected]>
  1994. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  1995. that set Opaque but don't mean it (like all ButtonBase-derived
  1996. controls) to still draw their background
  1997. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  1998. the background
  1999. 2006-04-12 Peter Dennis Bartok <[email protected]>
  2000. * Control.cs (PaintControlBackground): Set the graphics object
  2001. on our PaintEvent to null to prevent it from being disposed
  2002. when the PaintEvent gets disposed
  2003. 2006-04-12 Alexander Olk <[email protected]>
  2004. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  2005. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  2006. 2006-04-12 Peter Dennis Bartok <[email protected]>
  2007. * Control.cs:
  2008. - Added transparency check to BackColor property. Transparent
  2009. backgrounds are only allowed if the control styles permit it
  2010. - Added recursive painting of parent control background and
  2011. foreground if a control with a transparent backcolor is drawn
  2012. (Thanks to Tim Ringenback for providing his 'hack' as a base
  2013. for this patch) Fixes #77985 and #78026.
  2014. - Added Opaque style check before calling OnPaintBackground, no
  2015. need to draw the background if the control is opaque
  2016. - Removed ControlAccessibleObject owner variable (inherited from
  2017. base, no need to define again)
  2018. - Added some documentation links explaining the drawing events
  2019. and styles
  2020. 2006-04-11 Peter Dennis Bartok <[email protected]>
  2021. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  2022. that the affected control is the located at the left border of our
  2023. parent (Fixes #77936)
  2024. 2006-04-11 Peter Dennis Bartok <[email protected]>
  2025. * TextBoxBase.cs: When rendering disabled or readonly controls,
  2026. draw the background with 'Control' instead of 'Window' color as
  2027. long as the user hasn't specifically set a color
  2028. 2006-04-11 Peter Dennis Bartok <[email protected]>
  2029. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  2030. since that won't be updated if the user types text (only if it's
  2031. programatically set)
  2032. 2006-04-11 Peter Dennis Bartok <[email protected]>
  2033. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  2034. layout changes do to app-triggered resizes will have the proper
  2035. display rectangle for layout
  2036. 2006-04-11 Alexander Olk <[email protected]>
  2037. * ThemeWin32Classic.cs:
  2038. - Make use of the SystemBrushes and SystemPens wherever possible
  2039. - Corrected some highlight colors
  2040. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  2041. drawing
  2042. * Theme.cs: Added Empty field to CPColor struct
  2043. 2006-04-11 Peter Dennis Bartok <[email protected]>
  2044. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  2045. is displayed when calculating the display rectangle. Thanks to Mike
  2046. for teaching me the err of my ways.
  2047. 2006-04-10 Peter Dennis Bartok <[email protected]>
  2048. * ScrollableControl.cs:
  2049. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  2050. (instead of 0,0) and we now return the real width/height instead of
  2051. just the clientrectangle, adjusted for padding. The rectangle is
  2052. now cached and created by the new CalculateDisplayRectangle method.
  2053. - Created new CalculateDisplayRectange method, which basically does
  2054. what get_DisplayRectangle() did originally, but now using the
  2055. right edge instead of DisplayRectangle to determine the size of
  2056. our scrollbars
  2057. - get_Canvas(): Fixed it to properly calculate canvas for
  2058. right/bottom controls which seem to be placed to the right/bottom
  2059. of any controls that have a fixed location
  2060. - Removed TODO that's taken care of
  2061. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  2062. and SetDisplayRectLocation according to new MSDN2 docs
  2063. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  2064. event when that is called, this is added for compatibility
  2065. - ScrollControlIntoView(): Implemented.
  2066. - Switched scrollbars to be implicit, they shouldn't be selectable
  2067. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  2068. call it when the active control is set/changed
  2069. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  2070. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  2071. implicit_control variable (used for native Win32 message generation)
  2072. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  2073. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  2074. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  2075. * XplatUIStructs.cs: Added ScrollBarCommands enum
  2076. 2006-04-10 Jackson Harper <[email protected]>
  2077. * ButtonBase.cs:
  2078. * CheckedListBox.cs:
  2079. * ComboBox.cs:
  2080. * DataGrid.cs:
  2081. * DataGridView.cs:
  2082. * Form.cs:
  2083. * GroupBox.cs:
  2084. * ListBox.cs:
  2085. * PrintPreviewControl.cs:
  2086. * ProgressBar.cs:
  2087. * PropertyGrid.cs:
  2088. * Splitter.cs:
  2089. * StatusBar.cs:
  2090. * TrackBar.cs:
  2091. * UpDownBase.cs: Fixup base event overrides.
  2092. 2006-04-06 Mike Kestner <[email protected]>
  2093. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  2094. all user-initiated value changes to min <= value <= max-thumbsz+1.
  2095. (set_Value): check for vert/horiz when calculating new thumb position.
  2096. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  2097. like MS does.
  2098. (OnMouseMoveSB): refactor the thumb dragging code and refine
  2099. invalidation logic to reduce flicker.
  2100. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  2101. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  2102. (UpdateThumbPosition): small code readability cleanup
  2103. 2006-04-10 Alexander Olk <[email protected]>
  2104. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  2105. different
  2106. 2006-04-08 Alexander Olk <[email protected]>
  2107. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  2108. 2006-04-08 Alexander Olk <[email protected]>
  2109. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  2110. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  2111. This dramatically reduces the number of Pen.Dispose calls.
  2112. Where possible call ResPool methods only once instead of calling it
  2113. over and over again (for example for the same color).
  2114. 2006-04-06 Mike Kestner <[email protected]>
  2115. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  2116. Also remove an unused private field on the collection. Fixes #77972.
  2117. 2006-04-06 Alexander Olk <[email protected]>
  2118. * ThemeNice.cs: Added ToolBar drawing code
  2119. 2006-04-06 Mike Kestner <[email protected]>
  2120. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  2121. I'm assuming that means we need to look up the toplevel for the
  2122. provided control. Fixes the crash trace in #77911 but exposes another
  2123. crash in some strange reflection usage in NDocGui.
  2124. 2006-04-06 Alexander Olk <[email protected]>
  2125. * ThemeNice.cs: Gave it a little silver touch and added Images
  2126. method
  2127. * FontDialog.cs: FontDialog is not resizable
  2128. * FileDialg.cs: Added SizeGripStyle.Show
  2129. 2006-04-05 Jackson Harper <[email protected]>
  2130. * KeyboardLayouts.cs: Remove warning.
  2131. 2006-04-05 Jackson Harper <[email protected]>
  2132. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  2133. all of our controls instead of Paint +=.
  2134. * ListBox.cs:
  2135. * ListView.cs:
  2136. * MenuAPI.cs:
  2137. * MessageBox.cs:
  2138. * NotifyIcon.cs:
  2139. * ProgressBar.cs:
  2140. * ScrollBar.cs:
  2141. * Splitter.cs:
  2142. * StatusBar.cs:
  2143. * TabControl.cs:
  2144. * TextBoxBase.cs:
  2145. * ToolBar.cs:
  2146. * TrackBar.cs:
  2147. * UpDownBase.cs:
  2148. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  2149. use OnPaintInternal. Remove Width/Height and Visible checks in
  2150. paint handler, this is done at a higher level now.
  2151. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  2152. * PaintEventArgs.cs: Add a handled flag so controls that don't
  2153. want anymore painting after OnPaintInternal can make sure OnPaint
  2154. isn't called.
  2155. 2006-04-05 Mike Kestner <[email protected]>
  2156. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  2157. state of the form, so that we don't process events when Modal dialogs
  2158. are up. Fixes #77922.
  2159. 2006-04-05 Alexander Olk <[email protected]>
  2160. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  2161. checking is done.
  2162. 2006-04-05 Mike Kestner <[email protected]>
  2163. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  2164. 2006-04-05 Mike Kestner <[email protected]>
  2165. * ListView.cs (HeaderMouseMove): null guarding for the over column
  2166. when setting up the drag_to_index. Fixes #78015.
  2167. 2006-04-04 Peter Dennis Bartok <[email protected]>
  2168. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  2169. in the taskbar. Transient windows seem to accomplish that.
  2170. 2006-04-04 Peter Dennis Bartok <[email protected]>
  2171. * Form.cs:
  2172. - Re-enabled CreateParams.X/Y code for FormStartPosition
  2173. - Added code for manual placement when creating the Control
  2174. - Incomplete patch to treat MDI forms differently when
  2175. setting the ClientSizeCore. (Still need to figure out handling
  2176. x/y coords there)
  2177. * XplatUIX11.cs:
  2178. - When we're explicitly setting the X/Y position of a non-Child
  2179. window, let the WM know. Metacity really wants this.
  2180. 2006-04-04 Alexander Olk <[email protected]>
  2181. * ThemeNice.cs: Added CPDrawButton
  2182. 2006-04-04 Alexander Olk <[email protected]>
  2183. * ThemeNice.cs: Changed the color for focused buttons and activated
  2184. the arrows for small scroll buttons.
  2185. 2006-04-04 Alexander Olk <[email protected]>
  2186. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  2187. anymore. Changed some method modifiers to protected (virtual)
  2188. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  2189. changes
  2190. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  2191. Updated drawing of menus, buttons and progressbars; added
  2192. CPDrawBorder3D
  2193. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  2194. * ImageListStreamer.cs: implemented serialization/deserialization
  2195. of the images.
  2196. 2006-04-03 Alexander Olk <[email protected]>
  2197. * ThemeWin32Classic.cs:
  2198. - Removed all the DrawFrameControl stuff; CPDrawButton,
  2199. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  2200. inside the methods
  2201. - Updated and corrected the drawing code of CPDrawButton,
  2202. CPDrawCheckBox and CPDrawRadioButton to better match ms
  2203. - Updated theme checkbox and radiobutton code to use the CP*
  2204. methods
  2205. 2006-03-31 Peter Dennis Bartok <[email protected]>
  2206. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  2207. bug is fixed
  2208. 2006-03-31 Jackson Harper <[email protected]>
  2209. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  2210. sometimes.
  2211. * UpDownBase.cs: Don't CreateGraphics manually, use a
  2212. Refresh. Ideally we would invalidate the correct areas here.
  2213. 2006-03-31 Peter Dennis Bartok <[email protected]>
  2214. * XplatUIX11.cs:
  2215. - We now track the mapping state of windows. If a window (or
  2216. one of it's parents) is not mapped we no longer permit
  2217. WM_PAINT messages to be generated since we'd otherwise get
  2218. lots of BadMatch X errors. Jackson did all the work figuring
  2219. out the problem.
  2220. - Destroying the caret if the window it's contained in is
  2221. destroyed. Can't use regular DestroyCaret method since it
  2222. might fall into a drawing function (trying to remove the
  2223. caret) and with that generate new BadMatch errors. Again,
  2224. Jackson tracked this down.
  2225. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  2226. make sure we send the messages to all windows. (The old code
  2227. would send the WM_DESTROY to the window, and then all child
  2228. windows would be 'gone' because the WM_DESTROY handle lookup
  2229. would no longer find the destroyed window)
  2230. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  2231. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  2232. 2006-03-31 Jackson Harper <[email protected]>
  2233. * ScrollableControl.cs: Dont recalc if we are not visible.
  2234. 2006-03-31 Mike Kestner <[email protected]>
  2235. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  2236. the visibility branch.
  2237. 2006-03-31 Jackson Harper <[email protected]>
  2238. * ScrollBar.cs: Cap values when incrementing/decrementing.
  2239. 2006-03-31 Mike Kestner <[email protected]>
  2240. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  2241. * ToolTip.cs: guard against timer expirations with no active control.
  2242. Not sure why it happened.
  2243. 2006-03-31 Mike Kestner <[email protected]>
  2244. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  2245. text.
  2246. * ToolTip.cs: Position the tooltip based on where the cursor is at
  2247. popup time, not at MouseEnter time. Add a Down state so that we don't
  2248. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  2249. positioning offset. Lookup DisplaySize at positioning time, since it
  2250. can theoretically change during invocation.
  2251. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  2252. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  2253. 2006-03-31 Alexander Olk <[email protected]>
  2254. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  2255. Fixes behaviour when the Text property of the box is String.Empty
  2256. 2006-03-31 Peter Dennis Bartok <[email protected]>
  2257. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  2258. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  2259. a window)
  2260. 2006-03-31 Alexander Olk <[email protected]>
  2261. * FileDialog.cs: Visual enhancement for the popup buttons in
  2262. PopupButtonPanel
  2263. 2006-03-31 Alexander Olk <[email protected]>
  2264. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  2265. code
  2266. 2006-03-30 Alexander Olk <[email protected]>
  2267. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  2268. highlighted menu items to match ms
  2269. 2006-03-30 Peter Dennis Bartok <[email protected]>
  2270. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  2271. 2006-03-30 Mike Kestner <[email protected]>
  2272. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  2273. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  2274. go active to account for HotLight to Selected transition.
  2275. * MenuItem.cs: add internal Selected prop. Fill out the Status
  2276. property by calculating it from item info. Add HotLight,
  2277. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  2278. 2006-03-30 Mike Kestner <[email protected]>
  2279. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  2280. 2006-03-29 Jackson Harper <[email protected]>
  2281. * Form.cs: Implement TODO.
  2282. 2006-03-29 Peter Dennis Bartok <[email protected]>
  2283. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  2284. missing proper dialog setup in the constructor
  2285. 2006-03-29 Peter Dennis Bartok <[email protected]>
  2286. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  2287. * Control.cs:
  2288. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  2289. - Fixed ResetBindings and removed TODO
  2290. - Added check for cross-thread calls to get_Handle()
  2291. - Added Marshaller attribute for set_Font to satisfy class status
  2292. * FontDialog.cs: Removed TODOs that seemed implemented
  2293. * UpDownBase.cs: Removed unneeded TODO and Fixme
  2294. * MessageBox.cs: Implemented support for Default button and removed TODO
  2295. * FileDialog.cs: Removed obsolete TODO
  2296. * DomainUpDown.cs: Removed obsolete TODO
  2297. * ButtonBase.cs: Removed obsolete TODO
  2298. * XplatUIWin32.cs: Removed obsolete TODO
  2299. * Form.cs:
  2300. - Removed obsolete TODO
  2301. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  2302. internal status updates
  2303. - Making sure the active control is selected when the control is created
  2304. * CurrencyManager.cs: Removed obsolete TODO
  2305. 2006-03-29 Mike Kestner <[email protected]>
  2306. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  2307. of PrintPreviewDialog and RichTextBox.
  2308. 2006-03-29 Alexander Olk <[email protected]>
  2309. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  2310. DarkDark, Light and LightLight colors for a specific color
  2311. * ThemeWin32Classic.cs:
  2312. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  2313. Appearance = Button
  2314. - Make use of the new ResPool helper CPColor
  2315. - Draw ProgressBar and StatusBar with correct 3D borders
  2316. 2006-03-29 Alexander Olk <[email protected]>
  2317. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  2318. 2006-03-28 Mike Kestner <[email protected]>
  2319. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  2320. calculating col/row counts.
  2321. 2006-03-28 Mike Kestner <[email protected]>
  2322. * ColumnHeader.cs:
  2323. * ListView.cs:
  2324. * ListViewItem.cs:
  2325. * Menu.cs:
  2326. switch to explicit interface method implementation for some methods
  2327. corcompare identifies as inconsistent with MS.
  2328. 2006-03-28 Mike Kestner <[email protected]>
  2329. * MainMenu.cs:
  2330. * Menu.cs:
  2331. add a few missing methods from the class status output.
  2332. 2006-03-28 Alexander Olk <[email protected]>
  2333. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  2334. correct.
  2335. 2006-03-28 Mike Kestner <[email protected]>
  2336. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  2337. 2006-03-27 Mike Kestner <[email protected]>
  2338. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  2339. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  2340. 2006-03-27 Alexander Olk <[email protected]>
  2341. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  2342. 2006-03-25 Alexander Olk <[email protected]>
  2343. * ThemeWin32Classic.cs:
  2344. - GroupBox: Inserted a little gap between the text and the lines
  2345. on the right side
  2346. - Made the code in CPDrawBorder3D more readable
  2347. - Corrected the drawing location of the up and down arrows in
  2348. CPDrawScrollButton
  2349. 2006-03-25 Alexander Olk <[email protected]>
  2350. * ControlPaint.cs: Corrected line widths in DrawBorder for
  2351. ButtonBorderStyle Inset and Outset
  2352. 2006-03-25 Alexander Olk <[email protected]>
  2353. * ThemeWin32Classic.cs:
  2354. - Rewrote the totally broken CPDrawBorder3D method. That was
  2355. one of the main problems for the terrific ThemeWin32Classic
  2356. look
  2357. - Updated and corrected Button drawing
  2358. - Correct the dimensions of the SizeGrip to match ms ones
  2359. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  2360. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  2361. Border3DStyle.Sunken to match ms.
  2362. 2006-03-25 Alexander Olk <[email protected]>
  2363. * ThemeWin32Classic.cs: First small part of the "de-uglify
  2364. ThemeWin32Classic" effort, SizeGrip
  2365. 2006-03-24 Jackson Harper <[email protected]>
  2366. * XplatUIX11.cs: Give a max idle time of one second, this matches
  2367. MS and forces an Idle event every second when there are no other
  2368. events in the queue.
  2369. 2006-03-24 Mike Kestner <[email protected]>
  2370. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  2371. * ListView.Item.cs: fix layout issues with null image lists and images
  2372. smaller than checkbox size.
  2373. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  2374. mode like MS does. It's weird, but consistent. ;-)
  2375. Fixes #77890.
  2376. 2006-03-24 Mike Kestner <[email protected]>
  2377. * ListView.cs: Scroll wheel support for the item control. Fixes
  2378. #77839.
  2379. 2006-03-23 Jackson Harper <[email protected]>
  2380. * ScrollableControl.cs: Special case negative sized areas, not
  2381. zero.
  2382. * MonthCalendar.cs: Save the rect of the clicked date so we can
  2383. use it for invalidation.
  2384. - Try to cut down on the number of invalidates
  2385. - Invalidate the rect the mouse is over and was over when moving
  2386. the mouse, so we get the focus box following the cursor.
  2387. 2006-03-23 Mike Kestner <[email protected]>
  2388. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  2389. focus rectangle drawing. Fixes #77835.
  2390. 2006-03-23 Mike Kestner <[email protected]>
  2391. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  2392. the if and else if and reverting back to the original == check on the
  2393. None conditional.
  2394. 2006-03-23 Alexander Olk <[email protected]>
  2395. * FontDialog.cs: Update the example panel if the selected index of
  2396. the fontListBox changes.
  2397. 2006-03-23 Alexander Olk <[email protected]>
  2398. * FileDialog.cs: Make FileDialog remember which directory it was in
  2399. last in the same execution.
  2400. 2006-03-22 Mike Kestner <[email protected]>
  2401. * FileDialog.cs: make the DropDownMenu on the toolbar display
  2402. RadioChecks since they are mutually exclusive and that's what MS does.
  2403. 2006-03-22 Mike Kestner <[email protected]>
  2404. * Theme.cs: add Color param to CPDrawMenuGlyph.
  2405. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  2406. checks and radio marks and arrows are visible on highlighted items.
  2407. * ControlPaint.cs: update to use new Theme signature.
  2408. 2006-03-22 Mike Kestner <[email protected]>
  2409. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  2410. is active. Fixes #77870.
  2411. 2006-03-22 Alexander Olk <[email protected]>
  2412. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  2413. to be focused/selected after startup
  2414. 2006-03-22 Alexander Olk <[email protected]>
  2415. * ColorDialog.cs:
  2416. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  2417. CustomColors and ShowHelp properties
  2418. - Some internal rewrites to get better results when using the
  2419. ColorMatrix
  2420. 2006-03-22 Mike Kestner <[email protected]>
  2421. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  2422. HoverSelection. Fixes #77836.
  2423. 2006-03-22 Mike Kestner <[email protected]>
  2424. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  2425. ToggleButtons. (De)Sensitize the Back button around a stack count of
  2426. 1, not 0. Update ButtonSize based on a pixel count of the win32
  2427. control. Adjust the toolbar size/location for new button size.
  2428. 2006-03-22 Jackson Harper <[email protected]>
  2429. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  2430. true.
  2431. * ScrollBar.cs: When doing increments and decrements we need to
  2432. set the Value property so that ValueChanged gets raised. A
  2433. possible optimization here would be to make an internal SetValue
  2434. that doesn't invalidate immediately.
  2435. * ToolTip.cs: Tooltips get added to their container (when
  2436. supplied) so they get disposed when the container is disposed.
  2437. - Don't create tooltips for String.Empty. This prevents all these
  2438. little 2-3 pixel windows from showing up when running nunit-gui
  2439. and driving me mad.
  2440. * Form.cs: Don't set topmost when setting the owner if the handles
  2441. haven't been created yet. The topmost set will happen when the
  2442. handles are created.
  2443. 2006-03-22 Peter Dennis Bartok <[email protected]>
  2444. * XplatUIX11.cs:
  2445. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  2446. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  2447. visible (to allow them to recalculate their sizes)
  2448. 2006-03-21 Mike Kestner <[email protected]>
  2449. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  2450. methods. Removed a ton of redundant code. Still not really happy with
  2451. the border rendering, but I think that's mainly because of the
  2452. ControlDarkDark being black instead of a dark grey. Depending on how
  2453. close we want to be, we might want to revisit those color choices.
  2454. Among the new features added during the refactor were DropDownArrow
  2455. pressed rendering, Disabled image rendering. Proper flat appearance
  2456. boundary rendering. Removed the Divider and Wrapping dividers since I
  2457. can't figure out any combination of themes and conditions to make the
  2458. MS control draw a horizontal line on a toolbar despite what the
  2459. Divider property docs indicate.
  2460. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  2461. conditions and incorrect layout. Updated to coding standard.
  2462. * ToolBarButton.cs: refactored layout and positioning code from
  2463. ToolBar to here. Invalidate wherever possible instead of forcing
  2464. redraws of the whole toolbar.
  2465. (Known remaining issues: explicit ButtonSize smaller than provided
  2466. images.)
  2467. 2006-03-21 Mike Kestner <[email protected]>
  2468. * ContextMenu.cs (Show): use the position parameter instead of just
  2469. showing at the MousePosition.
  2470. 2006-03-21 Jackson Harper <[email protected]>
  2471. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  2472. control handle this.
  2473. * TreeNodeCollection.cs: If we are clearing the root node we need
  2474. to reset top_node so calcs can still happen.
  2475. * ThemeWin32Classic.cs: This is a Flags so we need to check
  2476. properly.
  2477. 2006-03-21 Jackson Harper <[email protected]>
  2478. * DataGrid.cs: Create columns when the binding context has been
  2479. changed.
  2480. * X11Structs.cs: Keysyms are uints.
  2481. - Add size to fix build.
  2482. 2006-03-21 Peter Dennis Bartok <[email protected]>
  2483. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  2484. XplatUIOSX.cs:
  2485. - Added ResetMouseHover method to allow controls to retrigger
  2486. hovering if they need it more than once
  2487. - Implemented MouseHoverTime and MouseHoverSize properties
  2488. * Timer.cs: Start() must reset the interval
  2489. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  2490. properties
  2491. 2006-03-21 Jackson Harper <[email protected]>
  2492. * X11Keyboard.cs: improved layout detection. Move the nonchar
  2493. tables into this file.
  2494. * KeyboardLayouts.cs: Move the tables into resource files.
  2495. 2006-03-21 Mike Kestner <[email protected]>
  2496. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  2497. 2006-03-21 Alexander Olk <[email protected]>
  2498. * Mime.cs: Various speed optimizations. Looking up mime types
  2499. is now 2 times faster than before
  2500. 2006-03-17 Peter Dennis Bartok <[email protected]>
  2501. * CreateParams.cs: Added internal menu field
  2502. * Control.cs:
  2503. - Switched call order for UpdateBounds; now we always call
  2504. the one that also takes ClientSize, and we're calculating the
  2505. client size via driver method in the others. The previous
  2506. method of tracking client size by difference wasn't working
  2507. for forms where even the starting client size wouldn't match
  2508. the overall form size (due to borders) (Part of fix for #77729)
  2509. - CreateParams(): Do not use parent.Handle unless the handle is
  2510. already created. Causes havoc with Nexxia and throws off our
  2511. creation of controls
  2512. * XplatUIX11.cs:
  2513. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  2514. - Switched handling of ConfigureNotify over to new PerformNCCalc
  2515. method (consolidates code)
  2516. - Changed RequestNCRecalc to use new PerformNCCalc method
  2517. - Added calls to RequestNCRecalc when menus and borders are changed
  2518. to allow app to set NC size. (Part of fix for #77729) This matches
  2519. when MS send a WM_NCRECALC on Win32 windows.
  2520. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  2521. (Part of fix for #77729). This matches what MS does, they also
  2522. send that message when the form is made visible.
  2523. - XException.GetMessage: Improved usability of X errors by including
  2524. a translation of the window into Hwnd and Control class
  2525. - Improved debug info for window creation, reparenting and destruction
  2526. - Created helper method WindowIsMapped() [Currently not used]
  2527. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  2528. * Form.cs:
  2529. - CreateParams: Now setting our menu on the new internal menu field
  2530. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  2531. avoid calculating the same property twice
  2532. * Hwnd.cs:
  2533. - Improved usability of ToString() for debugging purposes
  2534. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  2535. determine the height of the menu, instead of just the font. This
  2536. required to also create a graphics context and to keep a bmp
  2537. around (for performance reasons)
  2538. 2006-03-17 Peter Dennis Bartok <[email protected]>
  2539. * MenuAPI.cs: Added OnMouseUp method
  2540. * Form.cs:
  2541. - Now remembering the requested client size, avoids size errors
  2542. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  2543. instead of base if the menu is active. This is required due to
  2544. control now capturing and releasing on down/up and it would
  2545. prematurely release our menu capture
  2546. 2006-03-17 Jackson Harper <[email protected]>
  2547. * KeyboardLayouts.cs: Add the czech layouts.
  2548. 2006-03-16 Jackson Harper <[email protected]>
  2549. * Control.cs: Use the viewport space when sizing not the controls
  2550. client size, so things like ScrollableControl that effect the
  2551. viewport size (when scrollbars are added) are computed correctly.
  2552. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  2553. of ManagerEntrys.
  2554. - Handle creating BindingManagers for null data sources.
  2555. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  2556. source, otherwise when rows are added they are added to the 'fake'
  2557. datasource and we will crash when trying to set the position in
  2558. those rows.
  2559. - Use Implicit scrollbars on the datagrid so they arent
  2560. selectable.
  2561. 2006-03-16 Jackson Harper <[email protected]>
  2562. * Binding.cs:
  2563. * InternalWindowManager.cs:
  2564. * MdiWindowManager.cs:
  2565. * X11Keyboard.cs: I really want Mike to love me again (fix
  2566. compiler warnings).
  2567. 2006-03-16 Peter Dennis Bartok <[email protected]>
  2568. * DataGrid.cs:
  2569. - OnMouseDown: Switch to editing mode when clicking on the cell
  2570. even if we're clicking on the cell that's currently
  2571. selected
  2572. - ProcessGridKey: Left/Right now wrap like MS.Net does
  2573. - ProcessGridKey: Tab now knows to add a new row when tab is
  2574. pressed in the cell of the last column of the
  2575. last row
  2576. - ProcessGridKey: Enter now adds another row if pressed in the last
  2577. row and selectes the new row, same column cell
  2578. - ProcessGridKey: Home/End navigate columns, not rows, like
  2579. originally implemented
  2580. - Broke ProcessKeyPreview code out into an extra Internal method
  2581. so it can be called from the edit code
  2582. * DataGridTextBox.cs (ProcessKeyMessage):
  2583. - Switched to accept Tab keypresses
  2584. - Added F2 handling to allow jumping to the end of the edited cell
  2585. - Added logic to allow moving caret left/right inside edited cell
  2586. and making the edited cell jump when the caret hits cell borders
  2587. - Tab and Enter are now passed to the datagrid after being handled
  2588. * TextBoxBase.cs:
  2589. - Removed capture code now that Control handles it
  2590. - set_SelectionStart now ensures caret is visible
  2591. 2006-03-16 Jackson Harper <[email protected]>
  2592. * TrackBar.cs: Debackwards the increment/decrement for handling
  2593. mouse clicks on the bar with vertical trackbars.
  2594. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  2595. bottom to match MS.
  2596. 2006-03-16 Mike Kestner <[email protected]>
  2597. * ListView.cs: make shift/ctrl keyboard and mouse selection
  2598. consistent with the MS control. Fix a bug in
  2599. SelectedListViewItemCollection.Clear that was pissing me off for the
  2600. better part of a day because the collection was being altered
  2601. underneath us as we walked the list.
  2602. 2006-03-16 Peter Dennis Bartok <[email protected]>
  2603. * Control.cs: Not sure how we could miss this so long, but it seems
  2604. that MS.Net has Capture set all the way from before calling
  2605. OnMouseDown through sending the mouse events until after
  2606. OnMouseUp. This will fix DataGrid's selection being set to end
  2607. at the location of the MouseUp.
  2608. 2006-03-15 Jackson Harper <[email protected]>
  2609. * BindingContext.cs: Check the binding after its added so that it
  2610. can initialize the binding managers and hookup to events.
  2611. * Binding.cs: Data members seem to sometimes include rows/cols in
  2612. the format Row.Column we now take this into account.
  2613. - Hookup to the position changed event so we can update the
  2614. control when the position has changed in the data set.
  2615. * CurrencyManager.cs: Take into account the row/col naming
  2616. convention when creating dataset tables.
  2617. * BindingContext.cs: Using a newer better way of storing
  2618. datasource/datamember pairs. Hopefully this better matches MS for
  2619. looking up binding managers.
  2620. 2006-03-15 Jackson Harper <[email protected]>
  2621. * BindingContext.cs: The currency manager needs the data member
  2622. name, if the member is a data set we use the name to find the
  2623. correct table.
  2624. * CurrencyManager.cs: When creating the list prefer an IList over
  2625. an IListSource.
  2626. - Attempt to create a DataTable from a DataSet (TODO: might need
  2627. some better error checking here, although MS doesn't seem to have much)
  2628. - If we have a DataTable create a view and use it as our list.
  2629. 2006-03-15 Mike Kestner <[email protected]>
  2630. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  2631. keyboard navigation. Support Up/Down/Left/Right selection correctly
  2632. for all 4 View modes.
  2633. * ListViewItem.cs: add internal row/col fields for icon layouts.
  2634. 2006-03-15 Jackson Harper <[email protected]>
  2635. * TabControl.cs: Redraw the tabs when we resize so their newly
  2636. calculated sizes are drawn on screen.
  2637. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  2638. composite characters.
  2639. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  2640. - filter events so that composite characters can be created
  2641. patches by peter
  2642. * X11Structs.cs: Add XIMProperties enum.
  2643. 2006-03-14 Peter Dennis Bartok <[email protected]>
  2644. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  2645. unless it's created
  2646. 2006-03-14 Peter Dennis Bartok <[email protected]>
  2647. * Control.cs (PerformLayout): We don't need to consider visiblity
  2648. for anchoring, only for docking. This fixes 'whacky' alignment
  2649. in listbox and other controls that use implicit scrollbars after
  2650. the previous PerformLayout patch
  2651. * ListBox.cs: Switched to use implicit scrollbars
  2652. 2006-03-14 Mike Kestner <[email protected]>
  2653. * ToolBar.cs:
  2654. * VScrollBar.cs:
  2655. - chain up the "new event" overrides to base and use
  2656. OnEvent to raise them. Part of fix for bug #76509.
  2657. 2006-03-14 Alexander Olk <[email protected]>
  2658. * FileDialog.cs: Do not select an item in the parent directory
  2659. on backspace
  2660. 2006-03-14 Peter Dennis Bartok <[email protected]>
  2661. * Control.cs (PerformLayout): It would seem that we considered
  2662. invisible windows for our layout. Not quite the right thing
  2663. to do. Now we don't any longer, thereby fixing bug #76889.
  2664. 2006-03-14 Peter Dennis Bartok <[email protected]>
  2665. * Control.cs (CanFocus): I goofed. A control can have focus
  2666. even though it's not selectable. Made it match MS docs.
  2667. 2006-03-13 Peter Dennis Bartok <[email protected]>
  2668. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  2669. center by default (fixes #76895)
  2670. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  2671. all uses of Border3DSides.All with the explicit ORd together
  2672. Left|Right|Top|Bottom because I assume that nobody was aware
  2673. that All also implies a center fill. Most places I checked had
  2674. a fill right above.
  2675. * ProgressBarStyle.cs: Added
  2676. 2006-03-13 Mike Kestner <[email protected]>
  2677. * ListView.cs: fix breakage in drag shadow header positioning
  2678. from Peter's csc compilation fix.
  2679. 2006-03-13 Mike Kestner <[email protected]>
  2680. * ListView.cs: fix NRE produced by backspacing twice in a focused
  2681. FileDialog.
  2682. 2006-03-13 Mike Kestner <[email protected]>
  2683. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  2684. 2006-03-13 Peter Dennis Bartok <[email protected]>
  2685. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  2686. be changed
  2687. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  2688. the allowed size before making programmatic size changes
  2689. 2006-03-13 Peter Dennis Bartok <[email protected]>
  2690. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  2691. set, metacity is broken and will still use the emty sizes in
  2692. the struct. (Fix for #77089)
  2693. 2006-03-13 Peter Dennis Bartok <[email protected]>
  2694. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  2695. WindowExStyles and marked both enums as Flags
  2696. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  2697. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  2698. to match WindowStyles split
  2699. * XplatUIX11.cs:
  2700. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  2701. - Updated to match WindowStyles split
  2702. * XplatUIWin32.cs:
  2703. - Fixed FosterParent creation, was using ExStyle on the Style field
  2704. (This should help with Popup focus issues)
  2705. - Updated to match WindowStyles split
  2706. 2006-03-13 Jackson Harper <[email protected]>
  2707. * MdiWindowManager.cs: Use the system menu height. Fixes some
  2708. strange sizing issues.
  2709. 2006-03-12 Peter Dennis Bartok <[email protected]>
  2710. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  2711. * TextBoxBase.cs:
  2712. - Scroll to caret after inserting text (#77672)
  2713. - Make scroll range one pixel higher, fixes off-by-one error (and
  2714. makes underlines visible on the last line)
  2715. 2006-03-12 Peter Dennis Bartok <[email protected]>
  2716. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  2717. the keyboard state from being stuck with keys in 'pressed' state when
  2718. focus is switched away via keyboard
  2719. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  2720. reset the keyboard if no X11 KeyUp events are expected to come
  2721. * X11Structs.cs: Switched type of Visible to bool to match driver
  2722. 2006-03-12 Peter Dennis Bartok <[email protected]>
  2723. * TextControl.cs:
  2724. - Switched caret to be just 1 pixel wide, matches MS and looks less
  2725. clunky
  2726. - Moved caret display 1 pixel down from the top of the control
  2727. to improve view
  2728. - InsertCharAtCharet: Update the selection start if moving the caret
  2729. (fixes bug #77696; based on patch suggested by [email protected])
  2730. - No longer always creating the caret when the caret methods are
  2731. called. Only the actual ShowCaret/HideCaret will do that now
  2732. - Only setting caret visible if the owner control has focus
  2733. - UpdateView: Added invalidation-shortcut logic for center and right
  2734. aligned text. Previously we'd update all according to the left
  2735. logic which caused drawing errors. Also fixed height of invalidated
  2736. areas, now properly invalidating the whole area (was off-by-one)
  2737. - owner_HandleCreated: Always generate the document when the
  2738. handle is created; this ensures that
  2739. * TextBoxBase.cs:
  2740. - Fixed situation where caret would disappear under the right
  2741. window border, also improved scrolling behaviour on left-
  2742. aligned textboxes
  2743. - Fixed right-aligned textboxes to have a border to the
  2744. right instead of the caret being under the right border
  2745. * XplatUIX11.cs:
  2746. - Switched from 'nested' to simple visible/not visible tracking
  2747. for caret (part of fix for #77671)
  2748. - No longer passing through translated FocusIn/FocusOut messages
  2749. since we were notifying too often and the wrong windows. Instead
  2750. we just notify our focussed window of receiving or loosing focus
  2751. * XplatUIWin32.cs: Switched from 'nested' show/hide
  2752. counting for caret to simple visible yes/no behaviour (part of
  2753. fix for #77671)
  2754. 2006-03-11 Alexander Olk <[email protected]>
  2755. * Mime.cs: Remove debug code...
  2756. 2006-03-11 Alexander Olk <[email protected]>
  2757. * MimeGenerated.cs: Removed
  2758. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  2759. and subclasses) from /usr/(local/)share/mime and
  2760. $HOME/.local/share/mime.
  2761. 2006-03-10 Jackson Harper <[email protected]>
  2762. * MdiWindowManager.cs: Recalc the NC area when a window is
  2763. maximized/restored so that the menu area is drawn on forms that
  2764. don't have a menu.
  2765. 2006-03-10 Peter Dennis Bartok <[email protected]>
  2766. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  2767. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  2768. us to force a WM_NCCALCRESIZE message being sent. This is needed
  2769. for MDI maximizing.
  2770. 2006-03-10 Jackson Harper <[email protected]>
  2771. * Form.cs: We need to use the ActiveMenu when calculating menu
  2772. height.
  2773. - Fix nullref when the window manager hasn't been created yet.
  2774. * Control.cs: Fix nullref when we try to bring a control to the
  2775. front that has no parent.
  2776. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  2777. height.
  2778. - Add a dummy item to the maximized menu so it always has the
  2779. correct height. Otherwise when there are no menus we don't get our
  2780. icon and buttons.
  2781. 2006-03-10 Jackson Harper <[email protected]>
  2782. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  2783. stuff.
  2784. * Form.cs: Make the window_state internal so the window managers
  2785. can track it.
  2786. - When an MDI child is maximized let its window manager create the
  2787. main menu (so it can add its icon).
  2788. - Notify the window managers of state changes
  2789. - Let the window manager paint its buttons and handle button
  2790. clicks on the menu when it is maximized.
  2791. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  2792. window manager, since tool windows don't use it, only mdi windows.
  2793. - Tell the main form that we don't want it to handle NCPAINT
  2794. itself to avoid extra painting.
  2795. - Handle clicks on a maximized windows menu.
  2796. - Handle window state changes
  2797. - Handle minimize/maximize clicks correctly by setting the window state.
  2798. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  2799. when clicking on the forms icon).
  2800. - New method to create a forms maximized menu. This is its normal
  2801. menu + an icon.
  2802. - Handle window state changes.
  2803. - Handle sizing of maximized windows. Maximized windows are just
  2804. drawn bigger then the parent visible area. All controls are still
  2805. there, they are just outside the visible area (this matches windows).
  2806. * MdiClient.cs: No scrollbars when a child window is maximized.
  2807. - Let the children windows figure out how big they should be when
  2808. sizing maximized windows.
  2809. - Implement a version of ArrangeIconicWindows somewhat similar to
  2810. Windows version. There are some little differences, but I don't
  2811. think any app will rely on the layout of minimized mdi windows.
  2812. 2006-03-10 Peter Dennis Bartok <[email protected]>
  2813. * Padding.cs: Several fixes to allow compiling with csc 2.0
  2814. 2006-03-09 Jackson Harper <[email protected]>
  2815. * Menu.cs:
  2816. * MenuItem.cs: Cheap hack so we can add items to the list without
  2817. the events being raised. This allows adding mdi items during
  2818. drawing. TODO: Should probably find a better time to add the items.
  2819. 2006-03-10 Peter Dennis Bartok <[email protected]>
  2820. * ThemeWin32Classic.cs:
  2821. - CheckBox_DrawText: Added logic to not wrap if not enough space
  2822. is available (Fix for bug #77727)
  2823. - RadioButton_DrawText: Added logic not to wrap if not enough
  2824. space is available (Fix for bug #77727). Also removed some
  2825. duplicate code, DrawString always drawing the regular text
  2826. before hitting the if statement.
  2827. 2006-03-10 Peter Dennis Bartok <[email protected]>
  2828. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  2829. 2006-03-10 Peter Dennis Bartok <[email protected]>
  2830. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  2831. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  2832. methods. Moved the new 2.0 properties into alphabetical order with
  2833. other properties and added MonoTODO tags
  2834. 2006-03-09 Peter Dennis Bartok <[email protected]>
  2835. * AutoScaleMode.cs: Added. Fix build.
  2836. 2006-03-09 Peter Dennis Bartok <[email protected]>
  2837. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  2838. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  2839. and was requiring premature handle creation for calls from above
  2840. * Form.cs, Control.cs: Removed handle arguments from calls to
  2841. CalculateClientRect()
  2842. 2006-03-09 Peter Dennis Bartok <[email protected]>
  2843. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  2844. drag_column.column_rect is MarshalByRef and can't be used that way
  2845. 2006-03-09 Peter Dennis Bartok <[email protected]>
  2846. * AxHost.cs: Added deserialization constructor for
  2847. AxHost+State (fixes 77743)
  2848. 2006-03-09 Mike Kestner <[email protected]>
  2849. * ListView.cs:
  2850. - Added column drag reordering for details view.
  2851. - fixed behavior when mouse is dragged off column and
  2852. AllowColumnReorder is false.
  2853. * ColumnHeader.cs: clone the format too in Clone.
  2854. * Theme.cs: add DrawListViewHeaderDragDetails method.
  2855. * ThemeWin32Classic.cs:
  2856. - impl new method for drawing drag column shadows and targets.
  2857. - support column offset for details mode in DrawListViewItem.
  2858. 2006-03-09 Peter Dennis Bartok <[email protected]>
  2859. * TextControl.cs: Reset the char_count when the document is cleared
  2860. (Fixes bug reported on mono-winforms mailing list)
  2861. 2006-03-09 Peter Dennis Bartok <[email protected]>
  2862. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  2863. of calling base we simply process the key ourselves, since both
  2864. DefWindowProc and the handled method would set m.Result.
  2865. (Fixes #77732)
  2866. 2006-03-09 Peter Dennis Bartok <[email protected]>
  2867. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  2868. method also moves the window; instead implemented a copy of
  2869. Control.ScaleCore (Part of fix for #77456)
  2870. * TextBoxBase.cs:
  2871. - Created new CreateGraphicsInternal method to allow providing
  2872. a graphics context when no handle is created without triggering
  2873. handle creation. (Part of fix for #77456)
  2874. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  2875. * TextControl.cs:
  2876. - Switched Constructor to require TextBoxBase instead of Control (to
  2877. allow uncast access to CreateGraphicsInternal)
  2878. - Safeguarded use of owner.Handle property. No longer accessing it
  2879. unless the handle is already created.
  2880. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  2881. - Now triggering a recalc when owning control becomes visible
  2882. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  2883. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  2884. premature handle creation (Part of fix for #77456)
  2885. * Control.cs:
  2886. - We now only destroy our double-buffering buffers when the
  2887. control is resized or disposed, but not when visibility
  2888. changes. (The code even re-created them twice every time)
  2889. - Now requiring a redraw of the buffer on visibility changes
  2890. (fixes bug 77654 part 2)
  2891. - Not passing OnParentVisibleChanged up unless the control
  2892. is visible
  2893. - CanFocus: Fixed to match MS documentation
  2894. - Focus: Fixed to return actual focus state and to check if
  2895. setting focus is legal before setting it
  2896. 2006-03-08 Peter Dennis Bartok <[email protected]>
  2897. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  2898. when to draw focus rectangle by looking at parent focus and
  2899. selected state instead. This fixes TabPages on Linux sometimes
  2900. having none or multiple focus rectangles.
  2901. * XplatUIX11.cs (SetFocus):
  2902. - Don't set the focus if the same window already has focus
  2903. - Use SendMessage instead of PostMessage (like it's Win32
  2904. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  2905. to match MS behaviour
  2906. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  2907. are not selectable.
  2908. 2006-03-07 Jackson Harper <[email protected]>
  2909. * PictureBox.cs: Revert line I accidently committed last week.
  2910. 2006-03-07 Peter Dennis Bartok <[email protected]>
  2911. * Control.cs:
  2912. - Added new IsRecreating and ParentIsRecreating properties to
  2913. allow testing if RecreateHandle has been called on ourselves
  2914. or one of our parents
  2915. - WndProc(WM_DESTROY): If our control handle is being recreated
  2916. we immediately need to create the handle when receiving the
  2917. destroy, that way our child windows find a valid parent handle
  2918. when they themselves are being recreated upon WM_DESTROY receipt
  2919. (fix for bug #77654 part 1)
  2920. * XplatUIX11.cs:
  2921. - DestroyWindow: WM_DESTROY must be sent to our own window before
  2922. notifying any child windows. MS documents that child windows
  2923. are still valid when WM_DESTROY is received. (Control now relies on
  2924. this behaviour)
  2925. - Added some fine-grain debug options
  2926. 2006-03-06 Jackson Harper <[email protected]>
  2927. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  2928. box and base calculations off this.
  2929. * MdiChildContext.cs:
  2930. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  2931. anymore.
  2932. 2006-03-06 Peter Dennis Bartok <[email protected]>
  2933. * Splitter.cs: In situations where the affected control is added
  2934. to the parent's control list after the splitter, we would not
  2935. populate affected. Now we try populating it on mousedown, if
  2936. it's not already set, and force it to be re-set whenever our
  2937. parent changes.
  2938. 2006-03-03 Matt Hargett <[email protected]>
  2939. * Control.cs: implement Control.Padding
  2940. * Padding.cs: -Padding.All returns -1 when constructing with the
  2941. implicit default ctor
  2942. -Padding.ToString() matches MS.NET
  2943. * ContainerControl.cs: implement
  2944. ContainerControl.AutoScaleDimensions
  2945. * ListControl.cs: implement ListControl.FormattingEnabled
  2946. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  2947. * ButtonBase.cs:
  2948. * TabPage.cs: Implement UseVisualStyleBackColor.
  2949. * PictureBox.cs: Implement PictureBox.InitialImage.
  2950. 2006-03-03 Mike Kestner <[email protected]>
  2951. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  2952. event declarations to proxy to base event.
  2953. * ListViewItem.cs: update to use ItemControl.
  2954. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  2955. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  2956. column header label rendering for 0 width columns.
  2957. 2006-03-03 Peter Dennis Bartok <[email protected]>
  2958. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  2959. that causes the control to be created. Fixes #77476.
  2960. 2006-03-02 Jackson Harper <[email protected]>
  2961. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  2962. expose_pending.
  2963. 2006-03-02 Peter Dennis Bartok <[email protected]>
  2964. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  2965. passed in for the EventArgs (fixes #77690)
  2966. 2006-03-01 Jackson Harper <[email protected]>
  2967. * ScrollBar.cs: Refresh afterbeing resized.
  2968. 2006-02-28 Mike Kestner <[email protected]>
  2969. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  2970. Clean up a tracker compile warning.
  2971. * MenuItem.cs: add internal PerformPopup method.
  2972. [Fixes #77457]
  2973. 2006-02-28 Peter Dennis Bartok <[email protected]>
  2974. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  2975. implicit expose) when the text is set to null
  2976. 2006-02-28 Peter Dennis Bartok <[email protected]>
  2977. * RichTextBox.cs (FlushText): When newline is true, we always
  2978. need to split the line, even if no text is on it and we may
  2979. never eat newlines. (Fixes #77669)
  2980. 2006-02-28 Mike Kestner <[email protected]>
  2981. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  2982. and set Selected instead.
  2983. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  2984. collections.
  2985. 2006-02-28 Peter Dennis Bartok <[email protected]>
  2986. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  2987. 2006-02-28 Alexander Olk <[email protected]>
  2988. * FontDialog.cs:
  2989. - Got rid of the panel. All controls are now directly added to
  2990. the dialog form
  2991. - It is now possible to set a font with the Font property
  2992. - MinSize and MaxSize property do now what they should
  2993. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  2994. - Searching and selecting a font with the font textbox works now,
  2995. the same applies to the style and size textbox
  2996. - Draw the correct 3D border in the example panel
  2997. - Fixed a little mem leak (unused fonts didn't get disposed)
  2998. - Many other internal updates/rewrites...
  2999. - Fix typo
  3000. 2006-02-27 Peter Dennis Bartok <[email protected]>
  3001. * TextControl.cs:
  3002. - InsertRTFFromStream: Added 'number of characters inserted' argument
  3003. - set_SelectedRTF: Now using the number of characters to calculate
  3004. the new location for the selection and cursor (x/y cannot be used
  3005. due to potentially already wrapped text)
  3006. 2006-02-27 Peter Dennis Bartok <[email protected]>
  3007. * TextControl.cs: Added property and implemented means to allow
  3008. disabling recalculation of a document (can be used to speed up
  3009. multiple inserts and is needed to make RTF inserts predictable, see
  3010. bug #77659)
  3011. * RichTextBox.cs: Using the new NoRecalc property of Document to
  3012. keep x/y insert locations predictable. Also makes it faster inserting
  3013. large chunks of RTF
  3014. 2006-02-27 Peter Dennis Bartok <[email protected]>
  3015. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  3016. it's easier for a child control to handle the other messages without
  3017. having to duplicate the special functionality
  3018. * TextBoxBase.cs
  3019. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  3020. code to handle processing the key ourselves, in order to get
  3021. access to the result of KeyEventArgs.Handled. We now only call
  3022. ProcessKey if they key hasn't been handled already. Fixes #77526.
  3023. - set_Text: If null or empty string is given, just clear the
  3024. document. Fixes part of #77526
  3025. 2006-02-27 Jackson Harper <[email protected]>
  3026. * SizeGrip.cs: Paint the background color before painting the grip
  3027. so things look right.
  3028. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  3029. 2006-02-27 Mike Kestner <[email protected]>
  3030. * ListView.cs:
  3031. - Restructure layout and invalidation model to remove a ton of
  3032. flicker from the control and speed up performance in general.
  3033. - Add manual column resize, flickers like crazy, but I already have
  3034. some ideas on how I'll fix that. (#76822)
  3035. - Merge the three Icon-based views into a single layout method.
  3036. - Move item selection interaction logic from the item since
  3037. interaction with the collections is more appropriate to the view.
  3038. - Deselection on non-item clicks.
  3039. * ListViewItem.cs:
  3040. - Encapsulate most of the layout. Add some internal props to trigger
  3041. layout. Move to a model where Items invalidate themselves instead
  3042. of just invalidating the whole control every time something changes.
  3043. - Invalidate on Text/Caption changes.
  3044. - switch to an offset based layout model to avoid having to absolute
  3045. position every element on item moves.
  3046. - correct checkbox layout to conform to MS layout.
  3047. * ThemeWin32Classic.cs:
  3048. - refactor some column header drawing code.
  3049. - fix string justification for column headers (#76821)
  3050. - make SmallIcon labels top justified for compat with MS impl.
  3051. * ThemeClearlooks.cs:
  3052. - adjust to new ListViewItem internal checkbox bounds api.
  3053. 2006-02-27 Jackson Harper <[email protected]>
  3054. * Control.cs: Change where implicit controls fall in the zorder.
  3055. They are now on top of all children.
  3056. - Synced AddImplicit code with Add
  3057. - Removed unused enumerator.
  3058. * SizeGrip.cs: Remove the TODO as its been TODONE.
  3059. 2006-02-26 Peter Dennis Bartok <[email protected]>
  3060. * TextControl.cs(Insert): Combine the last lines unless the insertion
  3061. string ends with \n\n, otherwise we leave one line too many (Fixes
  3062. something I noticed with the testapp for #77526; the bug itself was
  3063. already fixed in the previous checkin)
  3064. 2006-02-26 Peter Dennis Bartok <[email protected]>
  3065. * RichTextBox.cs:
  3066. - SelectionColor and SelectionFont methods no longer set absolute
  3067. styles. Instead, the keep font or color respectively (This
  3068. resolves a long-standing FIXME in the code)
  3069. - When flushing RTF text, the insert code now considers text trailing
  3070. behind the insertion point (Fixes the bug where when replacing
  3071. the selected text via SelectedRTF the remainder of the line behind
  3072. the selection would stay on the first insertion line)
  3073. * TextBoxBase.cs:
  3074. - AppendText now updates the selection points after inserting text
  3075. - AppendText now ensures that the last tag (sometimes 0-length) of
  3076. the document is used for the style information (Fixes part of
  3077. bug #77220)
  3078. * TextControl.cs:
  3079. - Created new FontDefiniton class to allow describing partial style
  3080. changes
  3081. - StreamLine() now takes a lines argument, to allow it to decide
  3082. whether an encountered zero-length tag is the last in the document
  3083. (which must be kept to not loose the font/color contained in it,
  3084. for later appends)
  3085. - Created Combine() and Split() methods for Marker structs, to
  3086. support marker updates due to reformatted documents (soft line
  3087. wraps)
  3088. - Implemented Document.CaretTag setter
  3089. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  3090. of the last line (Not the cause, but also exposed by bug #77220)
  3091. - Added LineTag argument to InsertString method, to allow callers
  3092. to force a certain tag to be used (required to force use of the
  3093. trailing zero-length tag of a document)
  3094. - Now updating markers in Combine(), to avoid stale tag markers
  3095. - Added some method descriptions to aid maintenance
  3096. - Implemented new FormatText concept, allowing additive/subtractive
  3097. formatting by only specifying the components that are to be
  3098. changed. This was needed for resolving the RTB.SelectedColor/
  3099. RTB.SelectedFont fixmes
  3100. - Added Break() support method to allow breaking up linetags (used
  3101. for partial formatting)
  3102. - Added GenerateTextFormat() method. It is used for partial
  3103. formatting and allows to generate a full font/color from given
  3104. attributes and an existing tag.
  3105. 2006-02-26 Jackson Harper <[email protected]>
  3106. * XplatUIX11.cs: Use the correct caption height.
  3107. - Translate hittest coordinates to screen coords to match MS.
  3108. * XplatUIWin32.cs: When we create MDI windows we need to reset
  3109. some of the style flags, so we get a nice blank window, and can
  3110. draw all the decorations ourselves.
  3111. - Set a clipping rectangle on the non client paint event, the
  3112. window manager drawing code needs one.
  3113. * Form.cs: The window manager needs to know when the window state
  3114. has been updated.
  3115. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  3116. don't need to factor in border and title sizes in these
  3117. methods. TODO: Remove the args and fix the call points.
  3118. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  3119. properly.
  3120. - Let the driver set the cursors.
  3121. - Improve active window handling
  3122. - Correct sizes for title bars and buttons.
  3123. - Match MS drawing better
  3124. * MdiWindowManager.cs: We don't need to handle border style
  3125. updates specially anymore.
  3126. - Check for scrollbars when windows are done moving
  3127. - Handle Active properly.
  3128. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  3129. correctly. I am spewing the exception though, so we don't hide the
  3130. bugs.
  3131. 2006-02-26 Pedro Martinez Julia <[email protected]>
  3132. * DataGridViewRowPostPaintEventArgs.cs,
  3133. DataGridViewCellPaintingEventArgs.cs,
  3134. DataGridViewRowCollection.cs,
  3135. DataGridViewRowPrePaintEventArgs.cs,
  3136. DataGridViewCell.cs: Clear a few warnings and implement a few
  3137. exceptions that should be thrown.
  3138. 2006-02-22 Peter Dennis Bartok <[email protected]>
  3139. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  3140. 'inheriting' our parent's (non-default) cursor. (Part of
  3141. the fix for #77479)
  3142. 2006-02-22 Peter Dennis Bartok <[email protected]>
  3143. * XplatUIX11.cs: Fixed cast to make csc happy
  3144. 2006-02-22 Peter Dennis Bartok <[email protected]>
  3145. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  3146. it's for the client area (part of fix for #77479 and needed
  3147. for MDI window cursor handling)
  3148. * XplatUIX11.cs
  3149. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  3150. the appropriate default cursors and also passing the message
  3151. up the parent chain
  3152. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  3153. for non-client areas
  3154. 2006-02-15 Jackson Harper <[email protected]>
  3155. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  3156. is a real MDI window
  3157. 2006-02-14 Alexander Olk <[email protected]>
  3158. * X11DesktopColors.cs: Instead of checking the desktop session
  3159. string for "KDE" check if it starts with "KDE"
  3160. 2006-02-10 Jackson Harper <[email protected]>
  3161. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  3162. systems).
  3163. 2006-02-10 Alexander Olk <[email protected]>
  3164. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  3165. errors
  3166. * ColorDialog.cs:
  3167. - Got rid of the panel. All controls are now directly added to
  3168. the dialog form
  3169. - Changed to mono coding style
  3170. 2006-02-10 Jackson Harper <[email protected]>
  3171. * InternalWindowManager.cs: We don't need the set visibility to
  3172. false hack anymore now that peter has written beautiful shutdown
  3173. code.
  3174. 2006-02-10 Peter Dennis Bartok <[email protected]>
  3175. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  3176. where already explicitly destroyed
  3177. 2006-02-10 Jackson Harper <[email protected]>
  3178. * MdiClient.cs: Handle the case where windows are too high or to
  3179. the left and we need scrollbars.
  3180. 2006-02-10 Alexander Olk <[email protected]>
  3181. * MimeIcon.cs: Added some icons
  3182. * FileDialog.cs:
  3183. - Fixed bug #77477
  3184. - Got rid of the panel. All controls are now directly added to
  3185. the dialog form
  3186. - Changed to mono coding style
  3187. - On Linux "My Computer" and "My Network" will now show some
  3188. more usefull information. A new class, MasterMount, gathers
  3189. this information from /proc/mount. Updated MWFFileView to make
  3190. use of this information
  3191. - Fixed a bug that caused FileDialog to crash when
  3192. ".recently_used" file had a zero size
  3193. - FilterIndex does now what it should
  3194. - Some Refactoring
  3195. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  3196. FileDialog changes
  3197. 2006-02-09 Jackson Harper <[email protected]>
  3198. * ComboBox.cs: Don't touch if null.
  3199. 2006-02-09 Peter Dennis Bartok <[email protected]>
  3200. * Cursor.cs: 64bit safeness fix
  3201. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  3202. 2006-02-09 Jackson Harper <[email protected]>
  3203. * Form.cs: If a form is made into an MDI form update the styles so
  3204. all the props can get set correctly.
  3205. - Kill the mdi_container when we dont need it anymore.
  3206. * InternalWindowManager.cs: Add missing NOT
  3207. 2006-02-08 Jackson Harper <[email protected]>
  3208. * InternalWindowManager.cs: Respek clipping when drawing MDi
  3209. decorations.
  3210. 2006-02-08 Jackson Harper <[email protected]>
  3211. * Hwnd.cs: Add bits to track non client expose events.
  3212. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  3213. gives us a proper invalid rect and will allow for some nice
  3214. optimizations with NC client drawing
  3215. - MDI windows are children windows, so move their style handling
  3216. into the child window block.
  3217. * InternalWindowManager.cs: Remove a state reset that was
  3218. getting invoked at the wrong time. Fixes managed windows getting
  3219. into a 'stuck' captured state.
  3220. 2006-02-07 Peter Dennis Bartok <[email protected]>
  3221. * TextControl.cs (Document.ctor): Now initializing
  3222. selection_anchor. Fixes #77493
  3223. 2006-02-07 Jackson Harper <[email protected]>
  3224. * TrackBar.cs: The increment/decrements were backwards.
  3225. 2006-02-07 Mike Kestner <[email protected]>
  3226. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  3227. to the instance itself.
  3228. 2006-02-07 Peter Dennis Bartok <[email protected]>
  3229. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  3230. on ulongs and pointers, the size differs between 32bit and 64bit
  3231. systems.
  3232. 2006-02-07 Mike Kestner <[email protected]>
  3233. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  3234. for 64 bit platforms to work around a metacity bug.
  3235. 2006-02-07 Jackson Harper <[email protected]>
  3236. * TrackBar.cs: Process the input keys we need, and hookup to
  3237. KeyDown instead of using WndProc, so we get key messages.
  3238. 2006-02-06 Peter Dennis Bartok <[email protected]>
  3239. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  3240. machine we're on.
  3241. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  3242. we need to translate the XdndVersion atoms array before sending it
  3243. 2006-02-06 Peter Dennis Bartok <[email protected]>
  3244. * XplatUIX11.cs:
  3245. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  3246. number of bits for the property, not the number of bytes. The
  3247. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  3248. but would not crash since it specified 8 bits instead of 4 bits)
  3249. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  3250. defined as XID -> long in the C headers)
  3251. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  3252. references since those are now IntPtr to begin with
  3253. - Switched all Atom.XXX 'int' casts to IntPtr casts
  3254. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  3255. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  3256. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  3257. * X11Structs.cs:
  3258. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  3259. - Changed atom in HoverStruct to be IntPtr
  3260. * X11DnD.cs:
  3261. - Removed local DllImports, switched code to use those from XplatUIX11
  3262. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  3263. 2006-02-06 Mike Kestner <[email protected]>
  3264. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  3265. method signatures in the import region. There may still be some
  3266. lingering struct marshaling issues, as I didn't drill down into those.
  3267. Yet.
  3268. 2006-02-06 Jackson Harper <[email protected]>
  3269. * ComboBox.cs: Dont manually set the top_item, this is computed
  3270. when the scrollbar position is set.
  3271. 2006-02-06 Mike Kestner <[email protected]>
  3272. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  3273. startup crashes on amd64. There's other fixes needed. All pinvoke
  3274. usage of Atom needs to be mapped to IntPtr for example. And there are
  3275. likely other int/long issues to be addressed.
  3276. 2006-02-04 Alexander Olk <[email protected]>
  3277. * FileDialog.cs: One more...
  3278. 2006-02-03 Alexander Olk <[email protected]>
  3279. * FileDialog.cs: Next try
  3280. 2006-02-03 Alexander Olk <[email protected]>
  3281. * FileDialog.cs: First part of fix for #77464
  3282. 2006-02-03 Alexander Olk <[email protected]>
  3283. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  3284. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  3285. AcceptButton border drawing.
  3286. 2006-02-03 Peter Dennis Bartok <[email protected]>
  3287. * Form.cs: Moved positioning of form after auto scaling is applied,
  3288. otherwise it would possibly use wrong form size.
  3289. 2006-02-03 Peter Dennis Bartok <[email protected]>
  3290. * Control.cs (RecreateHandle): No need to re-create any child
  3291. controls, the child windows will get destroyed automatically by
  3292. the windowing system or driver, and re-created when the handle
  3293. is being accessed the first time. Fixes #77456
  3294. * Form.cs: No longer setting the form to closing if the handle is
  3295. being recreated. This seems like the right thing to do, don't
  3296. have a bug or testcase for this, though.
  3297. 2006-02-02 Peter Dennis Bartok <[email protected]>
  3298. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  3299. controls to avoid unwanted side effects
  3300. 2006-02-02 Peter Dennis Bartok <[email protected]>
  3301. * Control.cs:
  3302. - ScaleCore needs to scale the bounds, not the ClientSize of the
  3303. control. Fixes #77416.
  3304. - DefaultSize is 0,0 for control
  3305. * TextBoxBase.cs:
  3306. - DefaultSize is 100, 20
  3307. - SetBoundsCore: Now enforcing the height, no matter if the provided
  3308. height is more or less than the preferred one, as long as AutoSize
  3309. is on
  3310. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  3311. 2006-02-02 Peter Dennis Bartok <[email protected]>
  3312. * Control.cs:
  3313. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  3314. call unless both performLayout is true *and* we have a pending
  3315. layout change
  3316. - ResumeLayout: MS does not completely nest Suspend and Resume,
  3317. they bottom out at 0, fixed our code to match that.
  3318. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  3319. SetBoundsCore, we were updating even when we shouldn't. This fixes
  3320. swf-anchors mis-anchoring when resizing the app fast and lots.
  3321. - UpdateDistances: Now only setting the left and top distance if
  3322. we have a parent and are not suspended, this is based on
  3323. a suggestion by Don Edvaldson in bug #77355.
  3324. - OnVisibleChanged: Fixed logic when to create the control. We may
  3325. not create the control if we have no parent or if it's not visible;
  3326. switched to using Visible property instead of is_visible field
  3327. since the property also considers parent states. This fixes a bug
  3328. when starting Paint.Net
  3329. 2006-02-02 Jackson Harper <[email protected]>
  3330. * Form.cs: If the forms handle hasn't been created yet don't call
  3331. into xplatui to make it top most, just set the topmost flag on the
  3332. form in CreateParams
  3333. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  3334. 2006-02-01 Jackson Harper <[email protected]>
  3335. * ScrollableControl.cs: Refactored the Recalculate method a
  3336. little, this wasn't handling all the variants of bottom and right
  3337. bars needed to be added and added/removed based on their
  3338. counterparts being added/removed (which changes the drawable
  3339. size). Also we special case client widths and heights of 0 and
  3340. don't add the scrollbar for those.
  3341. 2006-02-01 Peter Dennis Bartok <[email protected]>
  3342. * XplatUIX11.cs:
  3343. - Added method to get AbsoluteGeometry(); currently unused, but might
  3344. be used in the future, if we try again to figure out toplevel
  3345. coordinates with some more crappy window managers
  3346. - Added FrameExtents() method to retrieve the WM set decoration size
  3347. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  3348. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  3349. * Hwnd.cs:
  3350. - Added whacky_wm tracking var for metacity
  3351. - Added logic to have default menu height if the actual menu height
  3352. has not yet been calculated (part of fix for #77426)
  3353. * Form.cs: Keep track whether client size has been set and re-set
  3354. it if a menu is added/removed afterwards (Fixes #77426)
  3355. 2006-01-31 Jackson Harper <[email protected]>
  3356. * Control.cs: When a new Site is set on the component attempt to
  3357. pull the AmbientProperties from it.
  3358. 2006-01-31 Peter Dennis Bartok <[email protected]>
  3359. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  3360. in the background of the owning form. Fixes #77332
  3361. 2006-01-31 Alexander Olk <[email protected]>
  3362. * MimeIcon.cs: Fix for #77409
  3363. 2006-01-31 Alexander Olk <[email protected]>
  3364. * XplatUIX11GTK.cs: Initial import
  3365. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  3366. * FixedSizeTextBox: fixes class signature
  3367. 2006-01-30 Jackson Harper <[email protected]>
  3368. * FixedSizeTextBox.cs: New internal class that represents a
  3369. textBox that will not be scaled.
  3370. * TreeView.cs:
  3371. * ComboBox.cs:
  3372. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  3373. standard TextBox.
  3374. 2006-01-30 Peter Dennis Bartok <[email protected]>
  3375. * XplatUIX11.cs: Retrieve default screen number instead of
  3376. assuming 0. Attempted fix for #77318
  3377. 2006-01-30 Peter Dennis Bartok <[email protected]>
  3378. * XplatUIWin32.cs:
  3379. - GetWindowPos: When a window is parented by FosterParent, use
  3380. the desktop instead of FosterParent as the base to get coordinates
  3381. - CreateWindow: Don't make FosterParent the parent window for Popups
  3382. if we don't want a taskbar entry, Popups automatically don't get one
  3383. * Hwnd.cs: Need to call remove to actually remove the key from the
  3384. hash table
  3385. 2006-01-30 Mike Kestner <[email protected]>
  3386. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  3387. 2006-01-30 Jackson Harper <[email protected]>
  3388. * TreeView.cs:
  3389. * TreeNode.cs: Raise events no matter how the treenode is
  3390. checked. Patch by Don Edvalson.
  3391. 2006-01-30 Jackson Harper <[email protected]>
  3392. * TreeNode.cs: Signature fix.
  3393. 2006-01-29 Alexander Olk <[email protected]>
  3394. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  3395. 2006-01-20 Mike Kestner <[email protected]>
  3396. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  3397. event forwarding when menus are active.
  3398. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  3399. Most of the patch is pdb's with a little rework.
  3400. 2006-01-26 Peter Dennis Bartok <[email protected]>
  3401. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  3402. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  3403. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  3404. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  3405. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  3406. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  3407. the PaintWindowDecorations method
  3408. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  3409. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  3410. * MenuAPI.cs: Made tracker window invisible
  3411. * XplatUIWin32.cs:
  3412. - Removed GetMenuDC and ReleaseMenuDC methods
  3413. - Implemented the client=false path for PaintEventStart and
  3414. PaintEventEnd
  3415. 2006-01-26 Peter Dennis Bartok <[email protected]>
  3416. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  3417. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  3418. styles
  3419. * Form.cs:
  3420. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  3421. the style
  3422. - CreateParams: Reworked the styles to match MS look'n'feel,
  3423. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  3424. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  3425. 2006-01-26 Peter Dennis Bartok <[email protected]>
  3426. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  3427. window is not mapped, since otherwise every form that's being
  3428. created is considered minimized, which is wrong.
  3429. * Form.cs: Catching the exception and returning our internal value
  3430. instead
  3431. 2006-01-26 Peter Dennis Bartok <[email protected]>
  3432. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  3433. SetWindowMinMax() to have means to tell the driver about the minimum,
  3434. maximum and maximized state window sizes. (Part of the fix for #76485)
  3435. * Form.cs:
  3436. - Implemented tracking of minimum and maximum window size, now calling
  3437. new SetWindowMinMax() driver method to tell the driver (Part of the
  3438. fix for #76485)
  3439. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  3440. (Completes fix for #76485)
  3441. - Calling new SetWindowMinMax driver method when the handle for a
  3442. form is created, to make sure the driver knows about it even if
  3443. the values have been set before the window was created
  3444. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  3445. to avoid messing up our anchoring calculations (partial fix
  3446. for #77355)
  3447. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  3448. * XplatUIX11.cs:
  3449. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  3450. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  3451. (and presumably other freedesktop.org compliant WMs). Left the
  3452. assumption unmapped=minimized, needed for SetVisible to work.
  3453. - Now setting the window state when creating windows
  3454. - Fixed SetVisible to consider/set the window state when mapping
  3455. a Form. We cannot set the state before it's mapped, and we cannot
  3456. use Form.WindowState once it's mapped (since it would ask the
  3457. driver and get 'normal'. Therefore, we grab the state before
  3458. mapping, map, and then set state.
  3459. - Implmemented SetWindowMinMax method; Metacity does not seem to
  3460. honor the ZoomHints, though.
  3461. * XplatUIWin32.cs:
  3462. - Removed MINMAXINFO (moved to XplatUIStructs)
  3463. - Added SetWindowMinMax stub (on Win32 the only way to set that
  3464. information is in response to the WM_GETMINMAXINFO message, which
  3465. is handled in Form.cs)
  3466. - Added logic to SetVisible to set the proper window state when a
  3467. form is made visible (fixes #75720)
  3468. 2006-01-26 Jackson Harper <[email protected]>
  3469. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  3470. same way we handle them with Invoke.
  3471. 2006-01-25 Peter Dennis Bartok <[email protected]>
  3472. * Form.cs:
  3473. - Added tracking of window state so CreateParams can return
  3474. the appropriate style
  3475. - Moved setting of WS_CAPTION style in CreateParams to allow
  3476. styles without caption
  3477. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  3478. control if the TextBox property is accessed. Fixes #77345
  3479. * Control.cs:
  3480. - get_Created: now uses is_disposed and is_created to determine
  3481. return value (suggested by Jackson)
  3482. - CreateHandle: No longer exits if the handle is being recreated
  3483. - RecreateHandle: If the handle is not yet created call the
  3484. appropriate method to create either control or handle. If the
  3485. control is already created CreateHandle will simply exit instead
  3486. of just creating the handle
  3487. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  3488. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  3489. is called.
  3490. * XplatUIX11.cs:
  3491. - When DestroyWindow is called, instead of waiting for the
  3492. DestroyNotification from X11, we directly post it to the WndProc
  3493. and immediately dispose the hwnd object.
  3494. Same applies to DestroyChildWindows, and this obsoletes the
  3495. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  3496. child windows before our own, to avoid X11 errors.
  3497. - Removed the direct sending of WM_PAINT on UpdateWindow
  3498. * XplatUIWin32.cs:
  3499. - Reworked DoEvents and GetMessage to allow access to internal queue
  3500. even when trying non-blocking access to the queue. Fixes #77335.
  3501. Based on a patch suggestion by Don Edvalson. The new private
  3502. GetMessage can now also be used as a backend for a PeekMessage
  3503. frontend version.
  3504. * XplatUI.cs: Improved debug output for CreateWindow
  3505. 2006-01-25 Jackson Harper <[email protected]>
  3506. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  3507. 2006-01-24 Jackson Harper <[email protected]>
  3508. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  3509. when we have a MaxDropItems lower then the selected index.
  3510. 2006-01-24 Jackson Harper <[email protected]>
  3511. * Control.cs: Don't allow selection of non visible controls, allow
  3512. selection of controls without parents.
  3513. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  3514. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  3515. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  3516. 2006-01-23 Jackson Harper <[email protected]>
  3517. * UpDownBase.cs: Make the textbox handle all the selection and
  3518. tabbing. This fixes tabing to updown controls.
  3519. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  3520. * TextBoxBase.cs: fixes exception thown the object was null
  3521. 2006-01-23 Jackson Harper <[email protected]>
  3522. * ButtonBase.cs: Just use the base CreateParams. They set
  3523. visibility and enabled correctly.
  3524. * ComboBox.cs:
  3525. * TrackBar.cs:
  3526. * MonthCalendar.cs: Lets let the base set as much of the
  3527. createparams as possible so we don't have duplicate code all over
  3528. the place.
  3529. 2006-01-22 Alexander Olk <[email protected]>
  3530. * ThemeGtk.cs: Added TrackBar and some experimental code to
  3531. get double buffering back
  3532. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  3533. * DataGrid.cs: Allows row number set internally higher than the last
  3534. when creating a new row. Restores the editing functionality.
  3535. 2006-01-20 Mike Kestner <[email protected]>
  3536. * MimeIcon.cs: delay Image creation until the icons are accessed
  3537. instead of creating 190 scaled images on GnomeHandler startup.
  3538. 2006-01-19 Peter Dennis Bartok <[email protected]>
  3539. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  3540. first call base before processing the event. Fixes #77279
  3541. 2006-01-19 Peter Dennis Bartok <[email protected]>
  3542. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  3543. that the stride for the GDI bitmap would match the stride of
  3544. a DIB or a Cursor.
  3545. 2006-01-19 Alexander Olk <[email protected]>
  3546. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  3547. 2006-01-19 Jackson Harper <[email protected]>
  3548. * ComboBox.cs: Hookup the text controls keydown event so we get
  3549. those when the text control has the focus.
  3550. 2006-01-18 Peter Dennis Bartok <[email protected]>
  3551. * Label.cs: Now using the base events instead of defining new ones;
  3552. this allows us to just call the base properties without having to
  3553. duplicate all base property logic
  3554. 2006-01-18 Peter Dennis Bartok <[email protected]>
  3555. * Label.cs: A label by default is not a tabstop (Fixes one of our
  3556. failing nunit tests)
  3557. 2006-01-18 Peter Dennis Bartok <[email protected]>
  3558. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  3559. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  3560. 2006-01-18 Peter Dennis Bartok <[email protected]>
  3561. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  3562. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  3563. This fixes #77218
  3564. * XplatUIWin32.cs:
  3565. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  3566. constructor creates images that can't be saved. Part of the fix
  3567. for #76103
  3568. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  3569. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  3570. bug fix for handling window state in forms properly)
  3571. 2006-01-18 Alexander Olk <[email protected]>
  3572. * ThemeGtk.cs: Simplify ScrollBar drawing
  3573. 2006-01-18 Jackson Harper <[email protected]>
  3574. * Splitter.cs: Set the default dock style for the splitter control
  3575. in the constructor.
  3576. 2006-01-18 Alexander Olk <[email protected]>
  3577. * ThemeGtk.cs: Corrected StateType and ShadowType for
  3578. gtk_paint_box
  3579. 2006-01-18 Alexander Olk <[email protected]>
  3580. * Control.cs: Make use of Theme.DoubleBufferingSupported
  3581. * ThemeGtk.cs:
  3582. - Added drawing for flat style buttons
  3583. - Added ScrollBar drawing
  3584. 2006-01-18 Alexander Olk <[email protected]>
  3585. * ThemeClearlooks.cs: Removed some unneeded code.
  3586. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  3587. 2006-01-17 Peter Dennis Bartok <[email protected]>
  3588. * LinkLabel.cs: We need to update the hover drawing when
  3589. leaving the control as well.
  3590. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  3591. * DataGrid.cs: Clicking on non empty areas in the columns
  3592. area was giving an exception
  3593. 2006-01-17 Jackson Harper <[email protected]>
  3594. * ThemeWin32Classic.cs:
  3595. * ListView.cs: Do not draw/clip the headers when the header style
  3596. is None.
  3597. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  3598. * DataGrid.cs: Fixes 77260
  3599. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  3600. * DataGrid.cs: Clicking on a column on a empty grid was giving
  3601. an exception
  3602. 2006-01-17 Peter Dennis Bartok <[email protected]>
  3603. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  3604. or any keypress will crash the grid.
  3605. 2006-01-17 Mike Kestner <[email protected]>
  3606. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  3607. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  3608. invisible/previously-visible items.
  3609. [Fixes #76909]
  3610. 2006-01-17 Alexander Olk <[email protected]>
  3611. * ThemeClearlooks.cs:
  3612. - Added CL_Draw_Button method; now other theme controls that are
  3613. not derived from button or do not have a button can draw buttons
  3614. too
  3615. - Updated ComboBox drawing
  3616. - Beautified RadioButton drawing
  3617. - Corrected drawing of bottom and left tabs
  3618. - Beautified DateTimePicker and MonthCalendar
  3619. - Added CPDrawButton and CPDrawRadioButton
  3620. 2006-01-16 Jackson Harper <[email protected]>
  3621. * ComboBox.cs: Set the initial value of the scrollbar to the
  3622. current index. Reduce the numbers of refreshs and IndexOfs called.
  3623. 2006-01-14 Alexander Olk <[email protected]>
  3624. * FileDialog.cs: When the file listview is focused hitting the
  3625. backspace key moves the fileview to the parent directory
  3626. 2006-01-13 Peter Dennis Bartok <[email protected]>
  3627. * Form.cs:
  3628. - Added RecreateHandle call when changing taskbar visibility to
  3629. trigger reparenting in Win32 driver (Fixes #75719)
  3630. - If a window has minimize or maximize buttons, it cannot have
  3631. a help button
  3632. * XplatUIWin32.cs:
  3633. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  3634. the toplevel form with FosterParent (A toolwindow not on the
  3635. taskbar) (Fixes #75719)
  3636. - Made FosterParent a toolwindow
  3637. 2006-01-13 Alexander Olk <[email protected]>
  3638. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  3639. 2006-01-13 Alexander Olk <[email protected]>
  3640. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  3641. is currently over that control, make sure that tooltip_window.Text
  3642. gets updated
  3643. 2006-01-13 Mike Kestner <[email protected]>
  3644. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  3645. 2006-01-13 Jackson Harper <[email protected]>
  3646. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  3647. value passed. Also redraw the selected node when we recieve
  3648. focus, so tabbing between trees works correctly.
  3649. 2006-01-13 Alexander Olk <[email protected]>
  3650. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  3651. ~/.gconf/%gconf-tree.xml, so use
  3652. .gconf/desktop/gnome/interface/%gconf.xml
  3653. 2006-01-13 Peter Dennis Bartok <[email protected]>
  3654. * TextControl.cs: Draw text in gray if control is disabled
  3655. 2006-01-13 Peter Dennis Bartok <[email protected]>
  3656. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  3657. make sure it's always visible. Fixes #76680.
  3658. 2006-01-13 Peter Dennis Bartok <[email protected]>
  3659. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  3660. 2006-01-13 Jonathan Chambers <[email protected]>
  3661. * PageSetupDialog.cs: Added.
  3662. * PrintDialog.cs: Attributes.
  3663. * PrintPreviewControl.cs: Updates.
  3664. * PrintPreviewDialog.cs: Updates.
  3665. 2006-01-12 Peter Dennis Bartok <[email protected]>
  3666. * Control.cs: Undid my selection check fix, since it's not needed
  3667. * TextBoxBase.cs:
  3668. - Now considering the presence of hscroll/vscroll when sizing
  3669. vscroll/hscroll respectively. Fixed bug #77077
  3670. - Added Left/Up/Down/Right to IsInputKey list to prevent
  3671. ContainerControl from stealing them. This fixes what I broke
  3672. with my last checkin.
  3673. 2006-01-12 Peter Dennis Bartok <[email protected]>
  3674. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  3675. I finally understand how the property can be set without a setter :-)
  3676. 2006-01-12 Peter Dennis Bartok <[email protected]>
  3677. * Application.cs:
  3678. - Switched RunLoop to use static Message.Create to create a
  3679. Message object
  3680. - Added PreProcessMessage call in runloop for keyboard events; this
  3681. is part of the fix for #77219, I overlooked this originally in the
  3682. MSDN doc for PreProcessMessage
  3683. * Control.cs:
  3684. - Removed call to PreProcessMessage from handling of keyboard
  3685. messages; it's supposed to be done in the message pump
  3686. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  3687. per MSDN documentation.
  3688. - IsInputChar: All chars are input chars by default; removed the
  3689. parent calling chain, MS does not document that
  3690. - PreProcessMessage: If IsInputChar is true, we want to return false
  3691. to allow dispatching of the message
  3692. - When selecting the next control, now also check that we're not
  3693. selecting ourselves again and therefore return a false positive.
  3694. * TextBoxBase.cs:
  3695. - Tried to match return values for IsInputKey and ProcessDialogKey
  3696. to what MS returns; moved processing of our special keys outside
  3697. ProcessDialogKey since MS does not seem to return true on those.
  3698. - Moved code that previously was in ProcessDialogKey into new private
  3699. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  3700. - Reworked handling of WM_CHAR to not have to duplicate code from
  3701. Control.cs anymore, instead we simply call down to base.
  3702. 2006-01-12 Jackson Harper <[email protected]>
  3703. * ComboBox.cs: We always need to refresh the text area when
  3704. EndUpdate is called. Fixes the combobox in the file dialog.
  3705. * Control.cs: Don't create the creator_thread until the controls
  3706. handle is created. Also in InvokeRequired we check if the
  3707. creator_thread is null. This gives the effect of InvokeRequired
  3708. returning true if the controls handle is not created yet, and
  3709. matches MS.
  3710. 2006-01-12 Peter Dennis Bartok <[email protected]>
  3711. * XplatUI.cs:
  3712. - Added StartLoop() driver method. This is used to allow drivers to
  3713. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  3714. loop for a particular thread
  3715. - Added EndLoop() driver method. This is called once the message
  3716. pump for the thread is shut down
  3717. - Added SupportsTransparency method to allow the driver to indicate
  3718. opacity support for windows
  3719. * Form.cs:
  3720. - Removed TODO attribute, completed AllowTransparency property
  3721. - Added documented logic to Opacity
  3722. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  3723. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  3724. versions of CompatibleTextRendering
  3725. * X11Structs.cs: Added opacity atom to our atom enumeration
  3726. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  3727. of a form might be set before it's reparented by the WM, and we need
  3728. the opacity value without calling up to Form)
  3729. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  3730. SupportsTransparency() driver methods
  3731. * Application.cs: Now calling StartLoop and EndLoop driver methods
  3732. * XplatUIX11.cs:
  3733. - Added opacity atom registration
  3734. - Added StartLoop()/EndLoop() methods. They're empty right now but
  3735. will need to get implemented when we switch to a per-thread queue
  3736. - Implemented SupportsTransparency() method
  3737. - Implemented SetWindowTransparency() method
  3738. - Added support for setting the opacity value when a window is
  3739. reparented (since the opacity needs to be set on the WM frame)
  3740. * XplatUIOSX.cs, XplatUIWin32.cs:
  3741. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  3742. 2006-01-12 Alexander Olk <[email protected]>
  3743. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  3744. 2006-01-12 Alexander Olk <[email protected]>
  3745. * FileDialog.cs: Added ToolTip for MWFFileView
  3746. * MimeIcon.cs: Rewrote GnomeHandler.
  3747. - Get currently used gnome icon theme from
  3748. ($HOME)/.gconf/%gconf-tree.xml
  3749. - Make use of inherited icon themes
  3750. - Support SVG icon themes like Tango via librsvg
  3751. 2006-01-12 Miguel de Icaza <[email protected]>
  3752. Revert's Jackson's revert which broke 2.0 builds. Fix both
  3753. builds.
  3754. * Application.cs: Move the use_compatible_text_rendering outside
  3755. the NET_2_0 define. If we ever need to use the
  3756. use_compatible_text_rendering on the individual controls they will
  3757. access the variable from the common shared code paths.
  3758. 2006-01-12 Peter Dennis Bartok <[email protected]>
  3759. * XplatUI.cs:
  3760. - Added more granular debug options
  3761. - Added method to print both window text and id
  3762. - Switched debug output to use new Window() debug method
  3763. - Added IsEnabled() driver method
  3764. - Added EnableWindow() driver method
  3765. * Form.cs:
  3766. - Removed end_modal; no longer needed, new loop handles termination
  3767. via 'closing' variable
  3768. - If form is modal, setting DialogResult will now initiate loop
  3769. termination via 'closing' variable
  3770. - Added support for is_enabled/WS_DISABLED to CreateParams
  3771. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  3772. does all the work
  3773. - Removed code that's now in RunLoop from ShowDialog()
  3774. - Added various documented sanity checks to ShowDialog()
  3775. - Added handling of WM_DESTROY message; we set 'closing' on getting
  3776. the message to indicate the message pump to terminate
  3777. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  3778. send by the Application.ExitThread method. (We send the message
  3779. to destroy the window after all other events have been
  3780. processed through the queue, instead of destroying the handle
  3781. directly)
  3782. - Moved code from Close() method to WM_CLOSE handler; added logic
  3783. to only send close-related events if the form is not displayed
  3784. modal
  3785. * Splitter.cs (..ctor): Fixed typo in resource name
  3786. * Control.cs:
  3787. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  3788. brush now
  3789. - set_Cursor: Now only setting calling into XplatUI if the handle for
  3790. the control is already created; this avoids implict handle creation
  3791. or crashes if it's not created
  3792. - set_Enabled: Now setting the enabled state via the new driver method
  3793. instead of just tracking it
  3794. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  3795. - CreateControl: Reordered event firing and method calls to more
  3796. closely fire events in the order MS does. Now setting the
  3797. enabled state in the driver when creating the control.
  3798. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  3799. match MS order
  3800. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  3801. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  3802. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  3803. * Hwnd.cs:
  3804. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  3805. - Added EnabledHwnd property to easily allow a driver to find the
  3806. handle of the first enabled window in the parent chain (this is
  3807. used by drivers to pass up input events of disabled windows)
  3808. * XplatUIDriver.cs: Added IsEnabled() method
  3809. * Application.cs:
  3810. - Removed crude and obsolete exiting tracking variable
  3811. - Removed internal ModalRun(); replaced by RunLoop()
  3812. - Implemented private CloseForms() method to allow closing all
  3813. windows owned by a particular (or all) threads
  3814. - Exit() now properly closes all windows without forcing the message
  3815. pump to quit
  3816. - Removed obsolete InternalExit() method
  3817. - Changed Run() methods to use new RunLoop() message pump
  3818. - Implemented new RunLoop() method for both modal and non-modal forms
  3819. * CommonDialog.cs:
  3820. - get_CreateParams: Added setting of WS_DISABLED
  3821. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  3822. invoked via Form.ShowDialog()
  3823. * NativeWindow.cs: We don't remove the window from the collection when
  3824. the handle is destroyed; there might still be messages for it in the
  3825. queue (mainly the resulting WM_DESTROY); instead it will be removed
  3826. when Control calls InvalidateHandle in the WM_DESTROY handler
  3827. * XplatUIX11.cs:
  3828. - CreateWindow: Added logic to handle the WS_DISABLED window style
  3829. - EnableWindow: Implemented based on Hwnd.Enabled
  3830. - GetMessage: Reset PostQuitState so the method can be called again
  3831. - Implemented support for disabled windows (passing messages to the
  3832. first enabled parent) in handling all input messages
  3833. - Added optimizations for handling Expose events
  3834. - Implemeted new driver method IsEnabled()
  3835. - Now always resetting paint pending tracking vars when we start paint
  3836. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  3837. * XplatUIOSX.cs: Added IsEnabled method stub
  3838. * XplatUIWin32.cs: Implemented new IsEnabled() method
  3839. 2006-01-11 Jackson Harper <[email protected]>
  3840. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  3841. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  3842. variables a little.
  3843. * ColorDialog.cs: Clear out the old form before adding the new
  3844. panel.
  3845. 2006-01-11 Jackson Harper <[email protected]>
  3846. * X11Dnd.cs: Make sure to add all the text formats when adding
  3847. strings to the data object.
  3848. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  3849. do some redrawing too. Also change the UpdateNode to an
  3850. UpdateBelow so the newly added node gets painted.
  3851. 2006-01-11 Miguel de Icaza <[email protected]>
  3852. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  3853. LinkLabel.cs, PropertyGrid.cs: Implement the
  3854. UseCompatibleTextRendering property for 2.x
  3855. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  3856. 2006-01-11 Jackson Harper <[email protected]>
  3857. * TreeView.cs: Use the property for setting the selected node so
  3858. the correct events get raised.
  3859. * TreeNode.cs: Update the tree when the fore/back colours of a
  3860. node are set.
  3861. 2006-01-10 Jackson Harper <[email protected]>
  3862. * TreeView.cs: Allow setting SelectedNode to null.
  3863. 2006-01-9 Jonathan Chambers <[email protected]>
  3864. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  3865. 2006-01-9 Jonathan Chambers <[email protected]>
  3866. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  3867. 2006-01-9 Jonathan Chambers <[email protected]>
  3868. * PrintDialog.cs: Added attributes and set default property values.
  3869. 2006-01-9 Jonathan Chambers <[email protected]>
  3870. * PrintControllerWithStatusDialog.cs:
  3871. Added PrintControllerWithStatusDialog.
  3872. 2006-01-9 Jonathan Chambers <[email protected]>
  3873. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  3874. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  3875. 2006-01-9 Jonathan Chambers <[email protected]>
  3876. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  3877. 2006-01-09 Jonathan Chambers <[email protected]>
  3878. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  3879. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  3880. 2006-01-08 Alexander Olk <[email protected]>
  3881. * MimeIcon.cs: Added internal class SVGUtil.
  3882. 2006-01-08 Alexander Olk <[email protected]>
  3883. * FileDialog.cs: Don't crash if there are two files with the
  3884. same name but different locations.
  3885. 2006-01-08 John BouAntoun <[email protected]>
  3886. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  3887. dates across multiple month grids. Used to not highlight entire
  3888. month, but does now.
  3889. 2006-01-06 Jackson Harper <[email protected]>
  3890. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  3891. message loop. Change timer intervals to numbers that seem more
  3892. natural.
  3893. 2006-01-06 John BouAntoun <[email protected]>
  3894. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  3895. object for location info since screen object is now implemented.
  3896. 2006-01-05 Jackson Harper <[email protected]>
  3897. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  3898. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  3899. AsyncMethodResult, this is because we ALWAYS want the
  3900. ManualResetEvent to get set.
  3901. * Control.cs: When disposing use an async invoke to call shutdown
  3902. code, so that thigns don't block on the finalizer thread. Also
  3903. check if we even have a message loop before trying to send
  3904. messages, if we don't then don't bother sending messages.
  3905. - No more weak references for async methods
  3906. * XplatUIDriver.cs: No more weak references for async methods.
  3907. 2006-01-04 Alexander Olk <[email protected]>
  3908. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  3909. returns two FontFamily with the same name
  3910. 2006-01-04 Peter Dennis Bartok <[email protected]>
  3911. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  3912. drawing disabled text. Instead using the ColorGrayText color
  3913. 2006-01-04 Jackson Harper <[email protected]>
  3914. * TreeNode.cs: redraw the node when its image index is changed.
  3915. 2006-01-04 Peter Dennis Bartok <[email protected]>
  3916. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  3917. time I checked there are no others like it.
  3918. 2006-01-04 Jackson Harper <[email protected]>
  3919. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  3920. this gives the behavoir I was looking for.
  3921. * Control.cs: Special case Invoking EventHandlers, this matches MS
  3922. and fixes part of bug #76326.
  3923. 2006-01-04 Alexander Olk <[email protected]>
  3924. * ThemeClearlooks.cs, FileDialog.cs:
  3925. - Reflect the latest Theme class changes
  3926. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  3927. with DateTime
  3928. 2006-01-04 Alexander Olk <[email protected]>
  3929. * Theme.cs: Cache UI resource images and resize them if needed
  3930. 2006-01-03 Peter Dennis Bartok <[email protected]>
  3931. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  3932. is called. This fixes the crash in Nexxia when setting the font
  3933. attributes in the chat. [However, RTF needs a look-over to make sure
  3934. that all SelectionXXX methods handle the special case that selection
  3935. is empty and therefore the change must be applied to all text starting
  3936. at the cursor/selection start]
  3937. 2006-01-03 Peter Dennis Bartok <[email protected]>
  3938. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  3939. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  3940. * X11Keyboard.cs: Switched to new way of calling PostMessage
  3941. 2006-01-03 Peter Dennis Bartok <[email protected]>
  3942. * Theme.cs: Added theme interface for images to allow the theme to
  3943. control what images are used for things like FileDialog, MessageBox
  3944. icons, etc.
  3945. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  3946. 2006-01-03 Alexander Olk <[email protected]>
  3947. * FileDialog.cs:
  3948. - Removed some dead code
  3949. - Opening a recently used file does work now
  3950. - Small UI enhancements
  3951. - Refactoring
  3952. 2006-01-02 Alexander Olk <[email protected]>
  3953. * FileDialog.cs: Forgot too add __MonoCS__
  3954. 2006-01-02 Alexander Olk <[email protected]>
  3955. * FileDialog.cs: We are able to read recently used files now let's
  3956. go on and write them.
  3957. 2006-01-01 Alexander Olk <[email protected]>
  3958. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  3959. button
  3960. * MimeIcon.cs: Do a check for the top level media type also
  3961. 2005-12-31 Alexander Olk <[email protected]>
  3962. * ThemeClearlooks.cs:
  3963. - Added CPDrawStringDisabled
  3964. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  3965. some chars if the text doesn't fit into text_rect
  3966. - DrawListViewItem: If View = View.LargeIcon center the image;
  3967. rewrote the drawing of ListViewItem.Text if View =
  3968. View.LargeIcon
  3969. 2005-12-31 Alexander Olk <[email protected]>
  3970. * MimeIcon.cs: Use default KDE icon theme if there is no
  3971. "48x48" directory for the current icon theme, fixes #77114
  3972. * Mime.cs: Disable not working and actually not used code.
  3973. * ThemeWin32Classic.cs:
  3974. - Replace "new SolidBrush" in GetControlBackBrush and
  3975. GetControlForeBrush with ResPool.GetSolidBrush
  3976. - Changed DrawListViewItem from private to protected virtual
  3977. * FileDialog.cs:
  3978. - Added form.MaximizeBox = true
  3979. - Don't throw an exception if there is a broken symbolic link
  3980. 2005-12-23 Jackson Harper <[email protected]>
  3981. * TabControl.cs: Give the panels focus, keyboard navigation is
  3982. fixed so this works correctly now.
  3983. - We need these key events also.
  3984. * ToolBar.cs: Remove some of the poor mans double buffering.
  3985. 2005-12-24 Alexander Olk <[email protected]>
  3986. * ComboBox.cs: The internal TextBox now returns the focus.
  3987. 2005-12-23 Jackson Harper <[email protected]>
  3988. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  3989. 2005-12-23 Peter Dennis Bartok <[email protected]>
  3990. * Control.cs: Removed debug code
  3991. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  3992. implicit children
  3993. 2005-12-23 Peter Dennis Bartok <[email protected]>
  3994. * Control.cs: When creating the control, update the Z-order after
  3995. all it's children are created, too. (Fixes nexxia not showing
  3996. picturebox bug)
  3997. 2005-12-23 Peter Dennis Bartok <[email protected]>
  3998. * Control.cs: Do not update the anchoring distances if layout is
  3999. suspended, instead do it once layout is resumed
  4000. 2005-12-22 Peter Dennis Bartok <[email protected]>
  4001. * Control.cs:
  4002. - After many hours of debugging, for both Jackson and
  4003. myself, it turns out that it helps to set the parent of a control
  4004. if you want to actually see it onscreen. In the spirit of that
  4005. discovery, we're now setting the parent of the control and
  4006. it's children when the control's handle is created. This fix
  4007. will make Lutz Roeder's Reflector run happily.
  4008. - now just creating the handle instead of the whole control when
  4009. getting a graphics context for the control.
  4010. 2005-12-22 Peter Dennis Bartok <[email protected]>
  4011. * ScrollableControl.cs: When calculating the canvas, don't consider
  4012. the scrollbar widths. Instead, predict if horizontal scrollbar
  4013. will affect canvas when deciding on vertical display and vice versa.
  4014. 2005-12-22 Peter Dennis Bartok <[email protected]>
  4015. * RichTextBox.cs: Set default RTF font for documents that don't
  4016. have a font table (Fixes #77076)
  4017. 2005-12-22 Jackson Harper <[email protected]>
  4018. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  4019. clipboard. This prevents a NullRef in that case.
  4020. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  4021. clipboard. PRIMARY is for the currently selected text only. (We
  4022. should implement PRIMARY at some point.
  4023. 2005-12-21 Peter Dennis Bartok <[email protected]>
  4024. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  4025. a Unicode function with a structure that was defined in Ansi way.
  4026. This fixes #76942.
  4027. 2005-12-21 Jackson Harper <[email protected]>
  4028. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  4029. on. Because thats how it rolls. (and this avoids it using ambient
  4030. colours).
  4031. * ThemeWin32Classic.cs: Use the proper back color for filling.
  4032. * Menu.cs: Use the system menu bar color for drawing menu
  4033. bars. Using the window back color will bring ambient colours into
  4034. the picture.
  4035. 2005-12-21 Alexander Olk <[email protected]>
  4036. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  4037. Bitmaps were created and not disposed.
  4038. 2005-12-21 Peter Dennis Bartok <[email protected]>
  4039. * Control.cs (CreateControl): Don't do anything if the control is
  4040. already created, otherwise we'd fire the OnCreated event more than
  4041. once
  4042. 2005-12-21 Peter Dennis Bartok <[email protected]>
  4043. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  4044. will always match. Instead return -1. Fixes #76464.
  4045. 2005-12-21 Peter Dennis Bartok <[email protected]>
  4046. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  4047. neither the beginning nor the end of the line (Fixes bug #76479)
  4048. 2005-12-21 Peter Dennis Bartok <[email protected]>
  4049. * Control.cs:
  4050. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  4051. where handle is invalid
  4052. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  4053. instead of slower linear search
  4054. * NativeWindow.cs: Don't remove the window from the hashtable until
  4055. after the driver has destroyed it (since the driver might use
  4056. Control.FromHandle to lookup the control object
  4057. * Hwnd.cs: Added DestroyPending property to track if a window is
  4058. already destroyed as far as the driver is concerned and only hasn't
  4059. yet notified the control
  4060. * XplatUIX11.cs:
  4061. - Activate(): Check if the window is still valid before using the
  4062. handle
  4063. - Implemented DestroyChildWindow() method to mark child windows as
  4064. destroyed when a window is destroyed. This prevents situations
  4065. where we might call an X method based on queued events for a
  4066. window that already has been destroyed but we haven't yet pulled
  4067. the destroy method from the queue.
  4068. - Added a call to the new DestroyChildWindow() method to the drivers
  4069. DestroyWindow code. Also now marking the destroyed window itself
  4070. as pending
  4071. 2005-12-20 Jackson Harper <[email protected]>
  4072. * StatusBar.cs:
  4073. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  4074. anymore. Just do them when needed, also track the rects of panels
  4075. so that we can optimize refreshing more in the future.
  4076. 2005-12-20 Alexander Olk <[email protected]>
  4077. * ColorDialog.cs: Fixed focus drawing in small color controls
  4078. 2005-12-19 Jackson Harper <[email protected]>
  4079. * InternalWindowManager.cs:
  4080. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  4081. moving windows works properly.
  4082. 2005-12-19 Peter Dennis Bartok <[email protected]>
  4083. * Control.cs:
  4084. - Removed call to InitLayout() from SetBoundsCore(); doc says
  4085. it's only called when a control is added to a container
  4086. - Split InitLayout logic, moved to separate UpdateDistances() method
  4087. since we need to perform those calculations more often than just
  4088. when adding the control to a container. (Needed to fix #77022)
  4089. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  4090. - Reduced the OnBindingContextChanged events count, don't send them
  4091. unless the control is created, we still aren't totally matching
  4092. MS, but I can't quite figure out some of their rules
  4093. 2005-12-18 Alexander Olk <[email protected]>
  4094. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  4095. stripes
  4096. 2005-12-18 Alexander Olk <[email protected]>
  4097. * ThemeClearlooks.cs:
  4098. - Updated ProgressBar drawing
  4099. - Corrected drawing of ScrollBars and scroll buttons
  4100. - Some temporary fixes for minor pixel artefacts
  4101. 2005-12-18 Peter Dennis Bartok <[email protected]>
  4102. * Control.cs:
  4103. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  4104. cause events to be sent in the same order as MS does.
  4105. - Added ChangeParent() method to trigger various OnXXXChanged events
  4106. that need to be fired when a parent changes (This is a reworking
  4107. of the patch from r54254, with the X11 errors fixed)
  4108. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  4109. since on MS we get OnLayoutChanged events when calling Clear()
  4110. - Changed Enabled property to consider parent state as well, if a
  4111. parent is not enabled, the control will not be either
  4112. - Changed Parent property to simply call Controls.Add() since that
  4113. now does all the work required, this way we avoid code duplication
  4114. - Threw in a few OnBindingsContextChanged calls to try and match
  4115. when MS sends them. We seem to send a few too many, though.
  4116. - Added call to CreateControl when adding the control to a parent.
  4117. We were never calling CreateControl. Still needs some work, in
  4118. some places we treat HandleCreated and ControlCreated as equal,
  4119. which is wrong
  4120. - Removed obsolete commented out code from UpdateZOrder()
  4121. 2005-12-18 Alexander Olk <[email protected]>
  4122. * ThemeClearlooks.cs: Updated TrackBar drawing.
  4123. 2005-12-17 Alexander Olk <[email protected]>
  4124. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  4125. 2005-12-17 Alexander Olk <[email protected]>
  4126. * FileDialog.cs: Add the Help button and the open readonly
  4127. checkbox only if needed
  4128. 2005-12-16 Jackson Harper <[email protected]>
  4129. * Control.cs: Make sure we have an active menu before trying to
  4130. process commands on it. Prevents menu-less forms from crashing
  4131. when Alt is pressed.
  4132. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  4133. Dieter Bremes.
  4134. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  4135. 2.0 build.
  4136. 2005-12-16 Jackson Harper <[email protected]>
  4137. * InternalWindowManager.cs: Don't translate tool windows screen
  4138. coordinates. This fixes windows 'bouncing' around when being moved.
  4139. 2005-12-15 Peter Dennis Bartok <[email protected]>
  4140. * TextBoxBase.cs:
  4141. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  4142. not quite MS compatible, MS uses that number only for single line
  4143. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  4144. the limit at 2GB)
  4145. - Now enforcing the MaxLength limit when entering characters
  4146. - Added argument to internal Paste() method to track if it's called
  4147. from programatically or via keyboard, since keyboard driven pastes
  4148. need to enforce max-length
  4149. - Added logic to Paste to only paste as many chars as MaxLength
  4150. allows
  4151. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  4152. * TextControl.cs:
  4153. - Added Length property to return number of characters in document
  4154. - Added private CharCount property which only tracks actual chars
  4155. in the document (no linefeeds) and fires event when CharCount
  4156. changes
  4157. - Added tracking of character count to all methods that alter it
  4158. - Added LengthChanged event to allow applications to subscribe
  4159. to any changes to the document
  4160. 2005-12-15 Peter Dennis Bartok <[email protected]>
  4161. * TextBox.cs:
  4162. - Removed local password_char field (moved to TextBoxBase)
  4163. - Now setting the document's password var when password is
  4164. set
  4165. * TextBoxBase.cs:
  4166. - Added password_char field (needed here so MultiLine can
  4167. access it)
  4168. - Added logic to MultiLine property setter to set the document's
  4169. variable when password display is allowed
  4170. - Removed debug code and made some debug code conditional
  4171. * TextControl.cs:
  4172. - Added RecalculatePasswordLine() method to handle special password
  4173. char only lines
  4174. - Added PasswordChar property, also added related tracking vars
  4175. - Draw() method now uses local text var for grabbing text to draw,
  4176. this var is set to line.text unless we're doing password display,
  4177. then it is set to the pre-generated all-password-chars line
  4178. - Added calling RecalculatePasswordLine() method for password lines
  4179. 2005-12-14 Peter Dennis Bartok <[email protected]>
  4180. * Hwnd.cs:
  4181. - Added Reparented property to allow tracking of Window Manager
  4182. reparenting actions (which affect X/Y calculations of toplevel
  4183. windows)
  4184. - Made ToString() print window handles in hex
  4185. * XplatUIX11.cs:
  4186. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  4187. determine if X/Y needs offsetting
  4188. - AddConfigureNotify(): Fixed offset calculations
  4189. - Now adds ReparentNotify messages into the queue
  4190. - Now processes ReparentNotify messages and causes a
  4191. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  4192. is reparented (as most likely it's X/Y coordinates are changed
  4193. due to that)
  4194. 2005-12-14 Jackson Harper <[email protected]>
  4195. * XplatUIX11.cs: Tool windows still need to respek focus.
  4196. 2005-12-14 Peter Dennis Bartok <[email protected]>
  4197. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  4198. have a working release
  4199. 2005-12-13 Jackson Harper <[email protected]>
  4200. * Form.cs: Update styles after setting the border style regardless
  4201. of whether or not the window is using a window manager.
  4202. 2005-12-13 Jackson Harper <[email protected]>
  4203. * Form.cs: We now hook into an internal window manager instead of just an
  4204. MDI subsystem, this is so we can have properly behaving tool windows.
  4205. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  4206. * InternalWindowManager.cs: New internal class that acts as a
  4207. window manager for tool windows and as a base for mdi windows.
  4208. * MdiWindowManager.cs: New class that acts as a window manager for
  4209. mdi windows.
  4210. 2005-12-12 Jackson Harper <[email protected]>
  4211. * Control.cs: Updates so we match behavoir for for implicit
  4212. controls. Fixes explosions in MDI.
  4213. 2005-12-12 Jackson Harper <[email protected]>
  4214. * Control.cs: Implement Invalidate (Region).
  4215. 2005-12-12 Peter Dennis Bartok <[email protected]>
  4216. * Control.cs:
  4217. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  4218. the same events as MS does. MS fires events for each property
  4219. except, for unknown reasons, Cursor, when the control is reparented.
  4220. I can't seem to totally match add/remove since MS also fires some
  4221. VisibleChanged events, which makes no sense. Consolidated the
  4222. parenting code into a separate method so it can be called from
  4223. both Add and Remove. set_Parent no longer needs any special logic
  4224. as it calls the parent's add method which implicitly fires
  4225. all events
  4226. - Removed some obsolete code and debug output
  4227. - Enabled state is inherited from parents, if this is enabled
  4228. 2005-12-08 Peter Dennis Bartok <[email protected]>
  4229. * Form.cs: Removed commented out code
  4230. 2005-12-08 Peter Dennis Bartok <[email protected]>
  4231. * Control.cs:
  4232. - Added internal version of Invoke, with additional argument
  4233. indicating if we're calling it from a Dispose() handler. That
  4234. way we can avoid BeginInvoke throwing an exception if we're
  4235. calling for an already destroyed window.
  4236. - Added a dispose argument to BeginInvokeInternal, and made the
  4237. check if a valid window handle chain exists conditional on
  4238. it not being a dispose call
  4239. - Removed code in DestroyHandle to destroy our children. Since we
  4240. now handle the WM_DESTROY message we will catch all our children
  4241. being destroyed.
  4242. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  4243. * Form.cs:
  4244. - Added a field to track the application context of the form.
  4245. - No need to set closing variable as response to WM_CLOSE, instead
  4246. we destroy the window. We also call PostQuitMessage if the form
  4247. has an application context (which makes it the main app form,
  4248. which, when closed terminates the app)
  4249. * XplatUI.cs:
  4250. - Dropped Exit() method, it's naming was confusing
  4251. - Added PostQuitMessage() which causes GetMessage to return false
  4252. once the message queue is empty
  4253. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  4254. PostQuitMessage()
  4255. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  4256. no longer a valid XplatUI method, but left it in since it's used
  4257. internally. Added empty PostQuitMessage() method.
  4258. * MenuAPI.cs: Replaced call to Exit() with call to
  4259. PostQuitMessage, even though this is probably no longer needed.
  4260. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  4261. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  4262. * Application.cs:
  4263. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  4264. - Removed old debug code that would call XplatUI for exception
  4265. display, enabled standard exception handling (Still not enabled
  4266. though, until NativeWindow's ExternalExceptionHandler define
  4267. is removed
  4268. * NativeWindow.cs:
  4269. - Added internal method to allow control to update NativeWindow
  4270. after a window has been destroyed
  4271. - Added handling of already destroyed windows when calling i
  4272. DestroyWindow
  4273. - Added removal of handle from list on ReleaseHandle
  4274. * XplatUIX11.cs:
  4275. - Dropped GetMessageResult var and related code
  4276. - Added PostQuitState to field to track if PostQuitMessage has been
  4277. called
  4278. - Dropped Exit() method
  4279. - Added PostQuitMessage() method
  4280. - GetMessage now will return false if PostQuitState is set and no
  4281. more messages are in the queue.
  4282. - Expose handler will no longer generate WM_PAINT messages if we are
  4283. in PostQuitState since it's very likely any windows have already
  4284. been destroyed, and since Hwnd won't get updated until we have
  4285. processed the DestroyNotify we'd be causing X errors.
  4286. 2005-12-07 Peter Dennis Bartok <[email protected]>
  4287. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  4288. Thanks to Mike for pointing out the err of my ways.
  4289. 2005-12-07 Peter Dennis Bartok <[email protected]>
  4290. * Control.cs(PreProcessMessage): Moved menu handling back, but
  4291. after all other key handling, to match MS (who handles Menu in
  4292. DefWndProc)
  4293. * Menu.cs (WndProc): Removed my brainfart
  4294. 2005-12-07 Peter Dennis Bartok <[email protected]>
  4295. * Control.cs(PreProcessMessage): Removed special menu handling
  4296. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  4297. 2005-12-07 Mike Kestner <[email protected]>
  4298. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  4299. state according in tracker.
  4300. * Menu.cs : promote tracker field to base class and provide a tracker
  4301. lookup capability. Add/Remove shortcuts dynamically if the top menu
  4302. has a tracker. Unparent items that are removed from the collection.
  4303. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  4304. * Theme*.cs: add always_show_hotkeys field to support configurability
  4305. of mnemonic display. win32 doesn't show mnemonics until Alt is
  4306. pressed.
  4307. 2005-12-07 Jackson Harper <[email protected]>
  4308. * MdiChildContext.cs: Use Control.ResetCursor.
  4309. * Control.cs: ResetCursor needs to set the property so that the
  4310. correct XplatUI call gets made.
  4311. 2005-12-07 Peter Dennis Bartok <[email protected]>
  4312. * Control.cs: More fixes to make our key events match MS. We
  4313. were not setting the modifier state on KeyData, and we were
  4314. not generating any events when Alt was pressed with a key
  4315. since handling of WM_SYSxxx was missing for the OnKey methods.
  4316. 2005-12-07 Jackson Harper <[email protected]>
  4317. * MdiChildContext.cs: reenable the sizing code.
  4318. - When the mouse leaves a window reset its cursor.
  4319. 2005-12-07 Alexander Olk <[email protected]>
  4320. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  4321. 2005-12-07 Peter Dennis Bartok <[email protected]>
  4322. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  4323. widths of Fixed3D borders
  4324. 2005-12-07 Jackson Harper <[email protected]>
  4325. * MdiClient.cs: Fix warnings. Earn Mike's love.
  4326. 2005-12-07 Alexander Olk <[email protected]>
  4327. * ThemeClearlooks.cs:
  4328. - Adjusted mouse over button color
  4329. - Added first parts of CheckBox drawing
  4330. - Added correct color for selected text background
  4331. - Fixed ComboBox drawing
  4332. - Added CPDrawBorder3D and CPDrawBorder
  4333. 2005-12-06 Peter Dennis Bartok <[email protected]>
  4334. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  4335. 2005-12-06 Peter Dennis Bartok <[email protected]>
  4336. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  4337. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  4338. alert users via sound. We could add an enum arg with different
  4339. types of alerts in the future
  4340. 2005-12-06 Peter Dennis Bartok <[email protected]>
  4341. * Control.cs: Fix behaviour problems pointed out by Mike
  4342. 2005-12-05 Mike Kestner <[email protected]>
  4343. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  4344. prop setters. Calls parent.Refresh for now, but could be maybe be
  4345. optimized with an internal method on StatusBar at some point.
  4346. [Fixes #76513]
  4347. 2005-12-05 Peter Dennis Bartok <[email protected]>
  4348. * RichTextBox.cs: Implemented get_SelectionColor
  4349. 2005-12-05 Alexander Olk <[email protected]>
  4350. * ThemeClearlooks.cs:
  4351. - Removed dead code
  4352. - Draw black button border only if button is Form.AcceptButton
  4353. - Draw correct button color for pressed RadioButton if the mouse
  4354. has entered the button
  4355. - Updated ProgressBar drawing!
  4356. - Updated CPDrawSizeGrip drawing
  4357. - Updated StatusBarPanel drawing
  4358. 2005-12-05 Mike Kestner <[email protected]>
  4359. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  4360. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  4361. 2005-12-04 Alexander Olk <[email protected]>
  4362. * ThemeClearlooks.cs: Initial check-in, activate with
  4363. export MONO_THEME=clearlooks
  4364. * ThemeEngine.cs: Added ThemeClearlooks
  4365. 2005-12-03 Mike Kestner <[email protected]>
  4366. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  4367. [Fixes #76897]
  4368. 2005-12-02 Jackson Harper <[email protected]>
  4369. * Form.cs: If the child form has no menu the default main menu is
  4370. used as the active menu.
  4371. 2005-12-02 Peter Dennis Bartok <[email protected]>
  4372. * ListBox.cs: Check if any items exist before trying to resolve
  4373. coordinates into items
  4374. 2005-12-02 Peter Dennis Bartok <[email protected]>
  4375. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  4376. as the second color for the background hatch
  4377. 2005-12-02 Peter Dennis Bartok <[email protected]>
  4378. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  4379. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  4380. sure that what we pass to FormatText is always 1-based. Fixes #76885
  4381. 2005-11-29 Miguel de Icaza <[email protected]>
  4382. * NumericUpDown.cs (EndInit): When we are done initializing,
  4383. reflect any updates on the UI.
  4384. 2005-12-02 Jackson Harper <[email protected]>
  4385. * ImplicitHScrollBar.cs:
  4386. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  4387. their container controls.
  4388. * TreeView.cs: Use the new implicit scrollbars.
  4389. 2005-12-02 Jackson Harper <[email protected]>
  4390. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  4391. can play with it.
  4392. * TreeNodeCollection.cs: If we remove the topnode we need to
  4393. update topnode to the next node in line.
  4394. - When clearing nodes go through the same process as removing
  4395. them, so they get depareneted and checked if they are top node.
  4396. 2005-12-01 Jackson Harper <[email protected]>
  4397. * TreeView.cs: When imagelists are used the image area is
  4398. selectable as well as the text.
  4399. - If there are no selected nodes select the first one.
  4400. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  4401. so don't do it more then we need to.
  4402. 2005-12-01 Jackson Harper <[email protected]>
  4403. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  4404. that arrows can be scaled.
  4405. 2005-12-01 Jackson Harper <[email protected]>
  4406. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  4407. fail. Patch by Dieter Bremes
  4408. 2005-11-30 Jackson Harper <[email protected]>
  4409. * Form.cs: Property is 2.0 only
  4410. * PrintDialog.cs: Signature fix.
  4411. 2005-11-30 Peter Dennis Bartok <[email protected]>
  4412. * TextControl.cs:
  4413. - No longer artificially moves text 2 pixels down (now that we have
  4414. borders this is no longer needed)
  4415. - Added calcs for left, hanging and right indent
  4416. 2005-11-23 Mike Kestner <[email protected]>
  4417. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  4418. 2005-11-30 Jackson Harper <[email protected]>
  4419. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  4420. get cloned as part of CloneMenu ().
  4421. * Menu.cs: Make sure the parent of the items get set correctly
  4422. when they are added. And the owners are notified of the changes.
  4423. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  4424. we can change the menu being displayed/handled by the form without
  4425. changing the menu assosciated with the form.
  4426. - Don't let Mdi children draw/handle menus.
  4427. 2005-11-30 Jackson Harper <[email protected]>
  4428. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  4429. a MenuChanged event. Just to make the API a little more
  4430. consistent.
  4431. * MainMenu.cs:
  4432. * MenuItem.cs: Use the new OnMenuChanged
  4433. * MdiChildContext.cs: Handle menu merging.
  4434. * Form.cs: Implement MergedMenu.
  4435. 2005-11-30 Jackson Harper <[email protected]>
  4436. * Menu.cs: We were misusing Add. Add goes behind the specified
  4437. index according to the docs, and does not replace the specified
  4438. index. So I added an Insert method.
  4439. 2005-11-30 Peter Dennis Bartok <[email protected]>
  4440. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  4441. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  4442. is for Jackson
  4443. * RichTextBox.cs: Added calls to base for DnD events
  4444. 2005-11-28 Peter Dennis Bartok <[email protected]>
  4445. * TextControl.cs:
  4446. - Fixed drag-selection related crash; style fixes
  4447. - Implemented undo class
  4448. o Implemented method to capture document state for specified
  4449. range in document tree
  4450. o Implemented method to restore captured document state
  4451. o Implemented cursor tracking
  4452. o Implemented basic undo stack
  4453. - Added undo cursor tracking to methods altering cursor location
  4454. - Added undo tracking to selection deletion (still missing
  4455. other text-altering hookups)
  4456. * RichTextBox.cs:
  4457. - Added SelectionLength property
  4458. - Implemented CanPaste()
  4459. - Implemented Paste()
  4460. - Added missing protected methods
  4461. - Fixed RTF->Document conversion; now uses font index 0 and color
  4462. index 0 as the default font for the parsed text
  4463. - Fixed RTF<->Document font size translation
  4464. - Fixed RTF generation, now properly handles cross-tag boundaries
  4465. for single line selection
  4466. - No longer always appends blank line to generated RTF
  4467. - Removed TODOs
  4468. - Added missing attributes
  4469. - Hooked up undo-related methods
  4470. * TextBoxBase.cs:
  4471. - Implemented Copy()
  4472. - Implemented Paste()
  4473. - Implemented Cut()
  4474. - Fixed caret mis-behaviour on backspace across line-boundaries
  4475. 2005-11-29 Jackson Harper <[email protected]>
  4476. * MdiClient.cs: Add a method for activating mdi children. Very
  4477. basic right now. I imagine someday it might need more girth.
  4478. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  4479. children windows names are added to the menu item.
  4480. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  4481. mdilist. This happens regardless of whether or not there are any
  4482. mdi windows to see in the list, and according to my tests happens
  4483. before the items are even added. Also happens if there isn't even
  4484. an mdi client to get windows from.
  4485. 2005-11-29 Alexander Olk <[email protected]>
  4486. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  4487. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  4488. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  4489. * DataGridTableStyle.cs:
  4490. - Create always the styles for the missing columns even if they are
  4491. provided by the user (not default table style)
  4492. * DataGrid.cs:
  4493. - Fixes bug 76770
  4494. - Fixes SetDataBinding (always re-attach source)
  4495. - Fixes SetNewDataSource (only clear styles if they are not for
  4496. this source)
  4497. - Expands OnTableStylesCollectionChanged to handle style refresh
  4498. and remove properly
  4499. 2005-11-29 Jackson Harper <[email protected]>
  4500. * FileDialog.cs: Implement missing bits, remove some dead
  4501. code.
  4502. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  4503. creation of the panel so that the options set on the dialog are
  4504. seen when the panel is created.
  4505. * TreeView.cs: raise a click when items are clicked.
  4506. 2005-11-29 Jackson Harper <[email protected]>
  4507. * MdiClient.cs: Pass some signature methods through to base.
  4508. 2005-11-28 Jackson Harper <[email protected]>
  4509. * ListView.cs: Raise the click event when items are clicked.
  4510. 2005-11-28 Jackson Harper <[email protected]>
  4511. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  4512. a nullref.
  4513. 2005-11-27 Alexander Olk <[email protected]>
  4514. * ThemeNice.cs: - Removed 1 pixel bitmaps
  4515. - Use SmoothingMode.AntiAlias where it makes sense
  4516. (ScrollButton arrow for example)
  4517. - Enhanced Button focus drawing
  4518. - Fixed ComboBox drawing (no artefacts anymore, focus
  4519. rectangle is back again, reduced size of ComboButton, etc.)
  4520. - Fixed RadioButton focus drawing for Appearence.Button
  4521. - Slight ScrollButton redesign
  4522. - Some LinearGradientBrush size fixes
  4523. - GroupBoxes have now rounded edges
  4524. - Fixed StatusBar drawing
  4525. 2005-11-25 Alexander Olk <[email protected]>
  4526. * ThemeNice.cs: - Remove dead code
  4527. - use correct background colors for menus, etc.
  4528. - Fake pixel drawing with 1 pixel bitmaps
  4529. 2005-11-24 Jackson Harper <[email protected]>
  4530. * MdiClient.cs: Size the scrollbars when resizing the window.
  4531. - Resize the maximized windows when the client is resized
  4532. * Form.cs: Make the child context available
  4533. 2005-11-23 Jackson Harper <[email protected]>
  4534. * MdiChildContext.cs: Don't size windows if they are maximized.
  4535. 2005-11-23 Mike Kestner <[email protected]>
  4536. * ContextMenu.cs: use MenuTracker.
  4537. * Control.cs: remove menu handle usage.
  4538. * Form.cs: remove menu handle usage.
  4539. * Hwnd.cs: remove menu handle usage.
  4540. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  4541. motion and clicks to the new Tracker handlers.
  4542. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  4543. and handle usage.
  4544. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  4545. Killed the MENU and MENUITEM data types and associated collections
  4546. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  4547. MenuTracker class that exposes the leftovers from the old MenuAPI
  4548. static methods. Restructured Capture handling so that only one grab is
  4549. done for the entire menu hierarchy instead of handing off grabs to
  4550. submenus. Tracker now has an invisible control to Capture when active.
  4551. * MenuItem.cs: add sizing accessors, kill Create
  4552. and handle usage.
  4553. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  4554. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  4555. MENU(ITEM). remove menu handle usage, use Menu directly.
  4556. * XplatUIDriver.cs: remove menu handle usage.
  4557. * XplatUIOSX.cs: remove menu handle usage.
  4558. * XplatUIWin32.cs: remove menu handle usage.
  4559. * XplatUIX11.cs: remove menu handle usage.
  4560. 2005-11-22 Jackson Harper <[email protected]>
  4561. * Hwnd.cs: Don't compute the menu size for
  4562. DefaultClientRectangle.
  4563. - Reenable menu sizes being computed for GetClienRectangle.
  4564. * Form.cs: Remove comment of trechery
  4565. 2005-11-22 Jackson Harper <[email protected]>
  4566. * Hwnd.cs: The adjustments for the menu bar are made when it is
  4567. attached to the form.
  4568. 2005-11-19 Jackson Harper <[email protected]>
  4569. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  4570. (just like on windows).
  4571. 2005-11-19 Jackson Harper <[email protected]>
  4572. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  4573. use real buttons anymore because they are in non client area. The
  4574. one TODO here is that I need to somehow invalidate a section of
  4575. the non client area.
  4576. 2005-11-18 Jackson Harper <[email protected]>
  4577. * Control.cs: Put the enum check back in now that MDI doesnt have
  4578. to use this to set border styles.
  4579. * Form.cs: Only set mdi child windows borders if the handle has
  4580. been created.
  4581. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  4582. this directly on to the driver.
  4583. - Get the move start position before adjusting for the titlebar
  4584. height, this fixes the windows "skipping" when they are first
  4585. moved.
  4586. 2005-11-18 Jackson Harper <[email protected]>
  4587. * XplatUIX11.cs: Just compute the mdi borders separately as they
  4588. don't totally match up with normal form borders.
  4589. 2005-11-18 Jackson Harper <[email protected]>
  4590. * Control.cs: Set WS_ styles for borders, so that the driver does
  4591. not have to retrieve the control instance to figure out what kind
  4592. of borders it should have.
  4593. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  4594. driver can know its an mdi child easily.
  4595. * XplatUIX11.cs: Get the border styles and whether the window is
  4596. MDI from the Styles and ExStyles params instead of having to get a
  4597. control. This prevents a chicken and egg problem.
  4598. 2005-11-18 Jackson Harper <[email protected]>
  4599. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  4600. 2005-11-18 Jackson Harper <[email protected]>
  4601. * MdiClient.cs: Calculate when to add and remove scrollbars
  4602. correctly.
  4603. * MdiChildContext.cs: Adjust the y position to take the titlebar
  4604. into account.
  4605. - No height for FormBorderStyle.None
  4606. 2005-11-18 Jackson Harper <[email protected]>
  4607. * Control.cs: Allow non enum values to be used for
  4608. InternalBorderStyle. MDI does this to set a special border style.
  4609. - New utility methods for converting points to/from client coords
  4610. - Add the newly created control to the Controls collection before
  4611. updating its style. This way UpdateStyle can walk the control
  4612. heirarchy to find the control if needed.
  4613. so I don't need to create a new Point object all the time.
  4614. * Form.cs: Let MDI windows handle their border styles.
  4615. - Set styles on MDI windows so the correct title style is derived.
  4616. * MdiChildContext.cs: Move all the painting and window handling
  4617. into the non client area.
  4618. - Use correct sizing and put correct buttons on frames based on
  4619. the FormBorderStyle.
  4620. - Notify the mdi client about scrolling
  4621. - Need to handle the buttons ourselves now, because they are all
  4622. in non client areas and we can't add controls there.
  4623. * MdiClient.cs: Halfway to scrolling, this implementation is
  4624. somewhat broken though, we need to check to make sure other
  4625. windows aren't causing scrolling before removing the bars. Also
  4626. the bars need to be drawn on top, maybe I can switch implicit
  4627. controls to be on top.
  4628. * Hwnd.cs: caption_height and tool_caption_height are now
  4629. properties of an hwnd, this way they can be set by the driver
  4630. based on the type of window they are. In X11 the window manager
  4631. handles the decorations so caption_height is zero unless its an
  4632. MDI window.
  4633. - Add 3 pixel borders for MDI windows (0xFFFF).
  4634. - Get rid of some code duplication, have DefaultClientRectanle
  4635. just call GetClientRectangle.
  4636. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  4637. Hwnd now.
  4638. - Set border styles differently for mdi windows.
  4639. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  4640. Hwnd now.
  4641. 2005-11-15 Mike Kestner <[email protected]>
  4642. * Menu.cs: when adding an item to the collection, if item is already
  4643. parented, remove it from the parent.
  4644. 2005-11-13 Alexander Olk <[email protected]>
  4645. * X11DesktopColors.cs: Added KDE support
  4646. 2005-11-11 Peter Dennis Bartok <[email protected]>
  4647. * XplatUIWin32.cs:
  4648. - Clipboard methods now can translate Rtf format
  4649. - No longer removes clipboard contents whenever a new format is added
  4650. to allow placing multiple formats on the clipboard
  4651. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  4652. will place all formats contained in it onto the clipboard. Also
  4653. now cleans the clipboard before placing a new object onto it
  4654. * RichTextBox.cs:
  4655. - Implemented set_Rtf
  4656. - Implemented set_SelectedRtf
  4657. - Created InsertRTFFromStream() method to allow single code base
  4658. for all properties and methods that insert RTF into document
  4659. - Removed debug output
  4660. * TextControl.cs:
  4661. - Fixed Delete(int) to fix up line numbers
  4662. - Fixed ReplaceSelection to combine start and end line
  4663. - Fixed serious DeleteChars bug that would leave the document tree
  4664. broken
  4665. - Improved DumpTree with several logic checks to detect broken
  4666. document trees
  4667. - Removed debug lines
  4668. - Fixed Caret.WordForward/WordBack moving code, now always also
  4669. updates caret.tag (fixes crash when word-selecting across tag
  4670. boundaries via keyboard)
  4671. - Added Insert() method for inserting multiline text into documents
  4672. - Fixed DeleteChars() calculation errors that would cause a broken
  4673. tag chain with multiple tag lines
  4674. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  4675. - Split() no longer moves caret if split is at caret location
  4676. - ReplaceSelection() now updates the cursor and re-displays it
  4677. - ReplaceSelection() now uses new Insert() method to avoid code
  4678. duplication
  4679. - FormatText() can now handle formatting partial lines
  4680. * TextBoxBase.cs:
  4681. - Append now uses new TextControl.Insert() method (this avoids
  4682. duplicate code)
  4683. - Implemented Ctrl-X (Cut) (
  4684. - Implemented Ctrl-C (Copy)
  4685. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  4686. regeneration when pasting text; roundtripping Copy&Paste within
  4687. edit control still fails due to some calculation bugs in GenerateRTF)
  4688. - The Delete key will now remove the current selection if it is visible
  4689. * TextBox.cs: Removed debug lines
  4690. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  4691. driver to be initialized and can't therefore be done via a static ctor)
  4692. 2005-11-10 Peter Dennis Bartok <[email protected]>
  4693. * TextControl.cs: Added backend code for finding char arrays and strings
  4694. * TextBoxBase.cs:
  4695. - Added mouse wheel scroll support
  4696. - Added support for VScroll and HScroll events
  4697. * RichTextBox.cs:
  4698. - Implemented all seven Find() variants
  4699. - Implemented GetCharFromPosition()
  4700. - Implemented GetCharIndexFromPosition()
  4701. - Implemented GetLineFromIndex()
  4702. - Implemented GetPositionFromCharIndex();
  4703. - Implemented SaveFile for PlainText and UnicodeText
  4704. - Fixed set_Font, now setting a new font applies that font to
  4705. the whole document
  4706. - Implemented generic Document to RTF converter
  4707. - Implemented SaveFile for RichText format (still missing unicode
  4708. conversion for non-ansi chars)
  4709. - Implemented get_Rtf
  4710. - Implemented get_SelectedRtf
  4711. 2005-11-09 Peter Dennis Bartok <[email protected]>
  4712. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  4713. to allow any captures to be released before triggering OnClick. This
  4714. way a click handler may capture the mouse without interference.
  4715. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  4716. This way we send them even though X may not allow a grab (if the window
  4717. isn't visible, for example)
  4718. 2005-11-08 Pedro Martinez Julia <[email protected]>
  4719. * DataGridViewRowEventArgs.cs: DataGridView implementation
  4720. * DataGridViewElement.cs: DataGridView implementation
  4721. * DataGridViewComboBoxCell.cs: DataGridView implementation
  4722. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  4723. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  4724. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  4725. * ImageLayout.cs: DataGridView implementation
  4726. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  4727. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  4728. * DataGridViewSelectionMode.cs: DataGridView implementation
  4729. * IDataGridViewEditingControl.cs: DataGridView implementation
  4730. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  4731. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  4732. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  4733. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  4734. * DataGridViewColumnSortMode.cs: DataGridView implementation
  4735. * DataGridView.cs: DataGridView implementation
  4736. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  4737. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  4738. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  4739. * Padding.cs: DataGridView implementation
  4740. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  4741. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  4742. * DataGridViewRowEventHandler.cs: DataGridView implementation
  4743. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  4744. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  4745. * DataGridViewButtonCell.cs: DataGridView implementation
  4746. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  4747. * DataGridViewEditMode.cs: DataGridView implementation
  4748. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  4749. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  4750. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  4751. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  4752. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  4753. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  4754. * DataGridViewCellEventHandler.cs: DataGridView implementation
  4755. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  4756. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  4757. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  4758. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  4759. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  4760. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  4761. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  4762. * QuestionEventArgs.cs: DataGridView implementation
  4763. * IDataGridViewEditingCell.cs: DataGridView implementation
  4764. * DataGridViewTriState.cs: DataGridView implementation
  4765. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  4766. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  4767. * DataGridViewColumnCollection.cs: DataGridView implementation
  4768. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  4769. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  4770. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  4771. * DataGridViewColumn.cs: DataGridView implementation
  4772. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  4773. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  4774. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  4775. * DataGridViewRow.cs: DataGridView implementation
  4776. * DataGridViewImageCellLayout.cs: DataGridView implementation
  4777. * DataGridViewImageCell.cs: DataGridView implementation
  4778. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  4779. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  4780. * DataGridViewHeaderCell.cs: DataGridView implementation
  4781. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  4782. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  4783. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  4784. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  4785. * QuestionEventHandler.cs: DataGridView implementation
  4786. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  4787. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  4788. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  4789. * DataGridViewCell.cs: DataGridView implementation
  4790. * DataGridViewCellEventArgs.cs: DataGridView implementation
  4791. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  4792. * DataGridViewCellStyle.cs: DataGridView implementation
  4793. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  4794. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  4795. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  4796. * TextFormatFlags.cs: DataGridView implementation
  4797. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  4798. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  4799. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  4800. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  4801. * DataGridViewButtonColumn.cs: DataGridView implementation
  4802. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  4803. * HandledMouseEventArgs.cs: DataGridView implementation
  4804. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  4805. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  4806. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  4807. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  4808. * DataGridViewRowCollection.cs: DataGridView implementation
  4809. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  4810. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  4811. * DataGridViewHitTestType.cs: DataGridView implementation
  4812. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  4813. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  4814. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  4815. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  4816. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  4817. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  4818. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  4819. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  4820. * DataGridViewContentAlignment.cs: DataGridView implementation
  4821. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  4822. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  4823. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  4824. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  4825. * DataGridViewPaintParts.cs: DataGridView implementation
  4826. * DataGridViewCellCollection.cs: DataGridView implementation
  4827. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  4828. * DataGridViewImageColumn.cs: DataGridView implementation
  4829. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  4830. * DataGridViewElementStates.cs: DataGridView implementation
  4831. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  4832. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  4833. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  4834. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  4835. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  4836. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  4837. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  4838. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  4839. * DataGridViewTextBoxCell.cs: DataGridView implementation
  4840. * DataGridViewBand.cs: DataGridView implementation
  4841. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  4842. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  4843. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  4844. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  4845. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  4846. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  4847. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  4848. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  4849. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  4850. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  4851. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  4852. 2005-11-08 Peter Dennis Bartok <[email protected]>
  4853. * ThemeWin32Classic.cs:
  4854. - Draw the outside focus rectangle around buttons
  4855. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  4856. doesn't use end caps for every dash of a line anymore. This
  4857. workaround ignores the forecolor.
  4858. 2005-11-08 Kornél Pál <[email protected]>
  4859. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  4860. endian safe.
  4861. 2005-11-07 Jackson Harper <[email protected]>
  4862. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  4863. 2005-11-07 Jackson Harper <[email protected]>
  4864. * ScrollableControl.cs: Calculate the maximum and change vars
  4865. (more) correctly so that scrollbars appear as a sensible size.
  4866. 2005-11-04 Jackson Harper <[email protected]>
  4867. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  4868. collection.
  4869. * TreeView.cs: When the tree is sorted null out the top_node so
  4870. that it is recalculated.
  4871. - Use dotted lines instead of dashed lines to match MS better.
  4872. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  4873. * ListView.cs:
  4874. - Implements key search for items. Useful when browsing files with FileDialog
  4875. - When changing view mode or when clear the items reset scrollbar positions
  4876. 2005-11-04 Jackson Harper <[email protected]>
  4877. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  4878. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  4879. as to what the method may do as there is no real way of creating a
  4880. derived CurrencyManager and calling the method.
  4881. 2005-11-03 Jackson Harper <[email protected]>
  4882. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  4883. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  4884. method which seems to just be used internally to refresh the tabs.
  4885. 2005-11-03 Jackson Harper <[email protected]>
  4886. * TabControl.cs: Implement the remove method. Fix some broken
  4887. comments.
  4888. 2005-11-03 Peter Dennis Bartok <[email protected]>
  4889. * DateTimePicker.cs:
  4890. - Added missing DateTimePickerAccessibleObject class
  4891. - Added missing events
  4892. - Added OnFontChanged method
  4893. * Form.cs: Added missing attributes
  4894. * TreeView.cs: Added missing attributes
  4895. 2005-11-03 Peter Dennis Bartok <[email protected]>
  4896. * GridItemCollection.cs: Fix signatures
  4897. 2005-11-03 Peter Dennis Bartok <[email protected]>
  4898. * XplatUI.cs: Updated build rev/date
  4899. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  4900. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  4901. * Application.cs: Trigger context-specific ExitThread events
  4902. 2005-11-03 Jackson Harper <[email protected]>
  4903. * Menu.cs:
  4904. * MainMenu.cs:
  4905. * GridTableStylesCollection.cs:
  4906. * Timer.cs:
  4907. * TabPage.cs:
  4908. * HelpProvider.cs:
  4909. * StatusBar.cs:
  4910. * MonthCalendar.cs: Signature fixes
  4911. 2005-11-03 Jackson Harper <[email protected]>
  4912. * TreeNodeCollection.cs: Remove should not be virtual.
  4913. * TreeView.cs: Implement the last of the missing methods.
  4914. 2005-11-03 Jackson Harper <[email protected]>
  4915. * TreeNodeConverter.cs: Implement to get off my class-status back.
  4916. 2005-11-03 Jackson Harper <[email protected]>
  4917. * TreeView.cs: Hookup the bits for drag and drop.
  4918. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  4919. that nodes can be moved from tree to tree easily this just causes
  4920. all sorts of problems.
  4921. * TreeNodeCollection: Don't need to give treenodes an index and
  4922. treeview anymore when they are added, these are computed on the
  4923. fly. Also make sure to remove a node before its added.
  4924. 2005-11-03 Peter Dennis Bartok <[email protected]>
  4925. * TextControl.cs:
  4926. - Added CaretSelection enum
  4927. - Added comparison methods to Marker struct, makes selection code
  4928. more readable
  4929. - Added SelectionStart and SelectionEnd as 'moveable' location for
  4930. the CaretDirection enum and handler
  4931. - Added selection_prev variable to track optimized invalidation for
  4932. word and line selection
  4933. - Added SelectionVisible property (returns true if there is a valid
  4934. selection)
  4935. - Switched CaretHasFocus to only display the caret if there is no
  4936. visible selection
  4937. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  4938. using the direct character index; should be much faster
  4939. - Added various conditional debug statements
  4940. - Fixed invalidation calculation for selection ranges
  4941. - Added ExpandSelection() method to support word and line selection
  4942. - Switched SetSelectionToCaret to use new Marker compare overloads
  4943. - Added central IsWordSeparator() method to determine word
  4944. separators/whitespace and FindWordSeparator() to streamline common
  4945. usage of IsWordSeparator()
  4946. * TextBoxBase.cs:
  4947. - Removed unneeded grabbed variable, it was just mirroring
  4948. Control.Capture
  4949. - No longer firing OnTextChanged event when Text setter is called,
  4950. since the base will fire the event for us
  4951. - Added handling of Ctrl-Up/Down selection
  4952. - Added handling of Shift-Cursorkey selection
  4953. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  4954. words
  4955. - Added handling of Shift and Ctrl-Shift-Home/End selection
  4956. - Removed some debug output
  4957. - Added handling for single/double/tripple-click to place caret/
  4958. select word/select line respectively (Fixes bug #76031)
  4959. - Added support for drag expansion of word/line selection
  4960. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  4961. current selection
  4962. 2005-11-02 Jackson Harper <[email protected]>
  4963. * X11Dnd.cs: If the drag is going to and from a MWF window just
  4964. copy the data instead of sending it out through the X Selection
  4965. mechanism.
  4966. 2005-11-02 Jackson Harper <[email protected]>
  4967. * X11Dnd.cs:
  4968. * XplatUIX11.cs: When in a drag we don't want motion notify
  4969. messages to get passed on to the other controls. This prevents
  4970. mouse move messages from showing up in the drag source.
  4971. 2005-11-02 Jackson Harper <[email protected]>
  4972. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  4973. the correct button is release to end a drag.
  4974. * XplatUIX11.cs: Make the button state internal so the drag system
  4975. can access it. Dragging needs to know about all button releases,
  4976. not just left button.
  4977. 2005-11-02 Miguel de Icaza <[email protected]>
  4978. * Form.cs (Icon): If the icon is null, reset the icon to the
  4979. default value.
  4980. * Cursor.cs: When writing the AND-mask bitmap do not include the
  4981. number of colors, but hardcode those to two (black and white),
  4982. fixes the loading of color cursors (Paint Dot Net).
  4983. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  4984. turn off autoscaling.
  4985. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  4986. 2005-11-02 Jackson Harper <[email protected]>
  4987. * X11Dnd.cs: Make sure to send a status message if the pointer
  4988. enters a control that can not accept a drop, otherwise the cursor
  4989. isn't updated correctly. Also tried to compress the lines of code
  4990. a bit.
  4991. 2005-11-02 Jackson Harper <[email protected]>
  4992. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  4993. set actions correctly. This isn't perfect as XDND and win32 have
  4994. some differences on how you allow actions. I'll clear this up by
  4995. adding a path for drag from MWF to MWF windows.
  4996. * XplatUIX11.cs: Hook into the dnd system.
  4997. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  4998. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  4999. previously shown but they are no longer need it. Very obvious when
  5000. browsing files with FileDialog.
  5001. 2005-11-01 Peter Dennis Bartok <[email protected]>
  5002. * Control.cs: We always need to call OnPaintBackground. We pretty much
  5003. ignore AllPaintingInWmPaint and always do the painting there, whether
  5004. it's set or not, since we always ignore the WM_ERASEBKGND message
  5005. (which we don't generate on X11). This fixes #76616.
  5006. * Panel.cs: Removed unneeded background painting. This happens properly
  5007. in Control.cs already
  5008. 2005-10-31 Mike Kestner <[email protected]>
  5009. * Menu.cs: Add items to collection before setting their index.
  5010. * MenuItem.cs : add range checking with ArgumentException like MS.
  5011. [Fixes #76510]
  5012. 2005-10-31 Jackson Harper <[email protected]>
  5013. * ListBox.cs: Invalidate if the area is visible at all not just
  5014. contained in the visible rect. Fixes unselection of semi visible
  5015. items.
  5016. 2005-10-31 Jackson Harper <[email protected]>
  5017. * Control.cs: Consistently name the dnd methods. Make them
  5018. internal so we can override them to match some MS behavoir
  5019. internally.
  5020. * Win32DnD.cs: Use the new consistent names.
  5021. 2005-10-31 Jackson Harper <[email protected]>
  5022. * TreeView.cs: Don't draw the selected node when we lose focus.
  5023. 2005-10-31 Jackson Harper <[email protected]>
  5024. * X11Dnd.cs: We still need to reset the state even though a full
  5025. reset isn't being done, otherwise status's still get sent all over
  5026. the place.
  5027. 2005-10-31 Jackson Harper <[email protected]>
  5028. * Control.cs: Make the dnd_aware flag internal so the dnd
  5029. subsystem can check it. Catch exceptions thrown in dnd handlers to
  5030. match MS behavoir.
  5031. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  5032. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  5033. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  5034. flags to reduce the number of dnd enters/status's sent.
  5035. 2005-10-31 Jackson Harper <[email protected]>
  5036. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  5037. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  5038. * PictureBox.cs: Fixes 76512
  5039. 2005-10-28 Jackson Harper <[email protected]>
  5040. * X11Dnd.cs: Early implementation to support winforms being a drag
  5041. source for data on X11. Also restructured the converters so they
  5042. can go both ways now.
  5043. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  5044. 2005-10-27 Peter Dennis Bartok <[email protected]>
  5045. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  5046. clipboard requests
  5047. 2005-10-27 Jackson Harper <[email protected]>
  5048. * TreeNode.cs: Implement serialization so my DnD examples will work.
  5049. 2005-10-24 Kornél Pál <[email protected]>
  5050. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  5051. TreeView.cs: Don't dispose objects that are not owned.
  5052. 2005-10-24 Peter Dennis Bartok <[email protected]>
  5053. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  5054. should retrieve the current cursor and report that, but XplatUI
  5055. doesn't (yet) have an interface for that (and I'm not sure I even
  5056. can, on X11)
  5057. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  5058. until any message loop processing is done (and the WM_SETCURSOR
  5059. replaces the cursor to the proper one)
  5060. * XplatUIX11.cs:
  5061. - Fixed override behaviour, we can't set the cursor globally on X11,
  5062. just for our windows.
  5063. - Invalidating the System.Drawing X11 display handle when we are
  5064. shutting down
  5065. * Control.cs: Fix to make csc happy
  5066. 2005-10-23 Peter Dennis Bartok <[email protected]>
  5067. * TextBoxBase.cs:
  5068. - get_Text: Add last line (without trailing newline) to returned
  5069. value (Fixes 76212)
  5070. - get_TextLength: Count last line in returned length
  5071. - ToString: Call Text property instead of duplicating code
  5072. 2005-10-23 Kornél Pál <[email protected]>
  5073. * ImageList.cs: Dispose ImageAttributes objects.
  5074. 2005-10-22 Kornél Pál <[email protected]>
  5075. * ImageList.cs: Use attribute constructors with less arguments where
  5076. possible.
  5077. 2005-10-22 Kornél Pál <[email protected]>
  5078. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  5079. Use typeof instead of strings when assembly is referenced. Added
  5080. some more comments.
  5081. 2005-10-21 Jackson Harper <[email protected]>
  5082. * ListView.cs: Raise a double click event. Also tried to somewhat
  5083. fix when the selectedindexchanged event is raised. Its still
  5084. broken though.
  5085. 2005-10-21 Jackson Harper <[email protected]>
  5086. * TreeView.cs: New method to invalidate the plus minus area of a
  5087. node without invalidating the whole node (maybe this can be used
  5088. in some more places).
  5089. * TreeNodeCollection.cs: When adding to an empty node we need to
  5090. invalidate its plus minus area so the little block shows up.
  5091. 2005-10-21 Jackson Harper <[email protected]>
  5092. * TreeView.cs: Make sure that when we invalidate a node the bounds
  5093. are big enough to cover the selected box and the focus
  5094. rectangle. Use a different colour for the lines connecting nodes
  5095. so they show up with all themes.
  5096. 2005-10-21 Peter Dennis Bartok <[email protected]>
  5097. * NativeWindow.cs: Don't call anything that could call into the driver,
  5098. we might be on a different thread.
  5099. 2005-10-21 Peter Dennis Bartok <[email protected]>
  5100. * Control.cs(Dispose): Since Dispose might run on a different thread,
  5101. make sure that we call methods that could call into the driver via
  5102. invoke, to avoid thread issues
  5103. 2005-10-21 Peter Dennis Bartok <[email protected]>
  5104. * XplatUI.cs: Removed finalizer
  5105. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  5106. not allowing to be called on the finalizer thread.
  5107. 2005-10-21 Kornél Pál <[email protected]>
  5108. * ImageList.cs:
  5109. - Reverted r51889 and r51891.
  5110. - Added ImageListItem class that stores unmodified image items and image
  5111. properties required to create list images until handle is created.
  5112. - Added AddItem and moved image creation logic to AddItemInternal.
  5113. - Added CreateHandle method that creates images based on unmodified items.
  5114. - Added DestroyHandle that changes state to store unmodified items.
  5115. - Add and AddStrip methods no more create handle.
  5116. - ReduceColorDepth has no return value.
  5117. - Dispose destroys handle.
  5118. - Modified other methods to reflect the above changes.
  5119. - Implemented key support.
  5120. - Added profile 2.0 members and attributes.
  5121. - Added private Reset and ShouldSerialize methods that provide the same
  5122. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  5123. them as they are private.
  5124. - Added some more comments about implementation details.
  5125. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  5126. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  5127. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  5128. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  5129. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  5130. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  5131. * DataGridColumnStyle.cs: Remove debug message
  5132. 2005-10-20 Jackson Harper <[email protected]>
  5133. * TreeView.cs: We can always get input keys regardless of whether
  5134. or not editing is enabled. They are used for navigation.
  5135. 2005-10-20 Jackson Harper <[email protected]>
  5136. * TreeNode.cs: Use the viewport rect for determining if a node
  5137. needs to be moved for visibility. Don't use Begin/End edit. This
  5138. calls a full refresh when its done.
  5139. * TreeView.cs: New SetBottom works correctly. Make the viewport
  5140. rect property internal so the treenodes can see it. When clicking
  5141. on a node we need to ensure that its visible because it might just
  5142. be partly visible when clicked.
  5143. 2005-10-20 Jackson Harper <[email protected]>
  5144. * TreeNodeCollection.cs: Remove debug code.
  5145. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  5146. * Datagrid.cs: Implements column sorting in Datagrid
  5147. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  5148. 2005-10-20 Jackson Harper <[email protected]>
  5149. * TreeNodeCollection.cs: Remove items properly. Update the correct
  5150. area after removing them.
  5151. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  5152. * Datagrid.cs: Should not call base.OnPaintBackground
  5153. 2005-10-20 Peter Dennis Bartok <[email protected]>
  5154. * XplatUIX11.cs (GetMessage):
  5155. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  5156. window instead of client window
  5157. - Now properly calculates NC_xBUTTONUP message coordinates
  5158. - ScreenToMenu now properly calculates it's coordinates of whole
  5159. window, since menus are in the whole window, not in the client
  5160. window
  5161. - Added WholeToScreen coordinate translation method
  5162. 2005-10-20 Peter Dennis Bartok <[email protected]>
  5163. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  5164. want to return a message, loop back to the beginning of the function
  5165. and grab the next real message to process instead.
  5166. 2005-10-20 Peter Dennis Bartok <[email protected]>
  5167. * Splitter.cs: Properly set limits if no filler control is used
  5168. 2005-10-19 Jackson Harper <[email protected]>
  5169. * ColorDialog.cs: Don't show the help button if it is not enabled
  5170. instead of disabling it (this is what MS does). Don't create the
  5171. panel until the dialog is run, otherwise the vars (such as
  5172. ShowHelp) are not set yet.
  5173. 2005-10-19 Jackson Harper <[email protected]>
  5174. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  5175. are reduced when adding nodes.
  5176. * TreeNode.cs:
  5177. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  5178. tree.
  5179. 2005-10-19 Jackson Harper <[email protected]>
  5180. * FolderBrowserDialog.cs: End editing our treeview so the window
  5181. actually gets refreshed.
  5182. 2005-10-18 Peter Dennis Bartok <[email protected]>
  5183. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  5184. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  5185. inside of WM_PAINT
  5186. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  5187. * MenuAPI.cs: Returns after Hidding window
  5188. * XplatUIX11.cs: Added TODO found while debugging menu issues
  5189. 2005-10-18 Peter Dennis Bartok <[email protected]>
  5190. * XplatUIX11.cs: Do not re-map the whole window when it's size
  5191. becomes non-zero unless it's supposed to be actually visible
  5192. 2005-10-18 Jackson Harper <[email protected]>
  5193. * TreeView.cs: We don't need to keep a count anymore.
  5194. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  5195. use the Grow method.
  5196. 2005-10-18 Jackson Harper <[email protected]>
  5197. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  5198. implement it manually here.
  5199. 2005-10-18 Jackson Harper <[email protected]>
  5200. * ImageList.cs: Dont kill the list when the colour depth is
  5201. changed, just change the colour depth of all the images.
  5202. - Same goes for setting the image size. Just resize them all
  5203. instead of killing the list softly.
  5204. 2005-10-18 Jackson Harper <[email protected]>
  5205. * Control.cs: Don't invalidate empty rectangles.
  5206. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  5207. * ListViewItem.cs:
  5208. - Adds checked item to the Checked/Item lists (where empty before)
  5209. - Do not add items to the Selected lists if they are already present
  5210. * ListView.cs:
  5211. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  5212. - When deleting items make sure that we delete them for the Selected
  5213. and Checked list also.
  5214. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  5215. * Label.cs: Dispose objects no longer used
  5216. * ThemeWin32Classic.cs: Dispose objects no longer used
  5217. 2005-10-18 Jackson Harper <[email protected]>
  5218. * TabControl.cs: Don't refresh the whole control when the tabs are
  5219. scrolled, we just need to refresh the tab area.
  5220. 2005-10-17 Jackson Harper <[email protected]>
  5221. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  5222. after handle when we need it.
  5223. 2005-10-17 Peter Dennis Bartok <[email protected]>
  5224. * Control.cs: When the parent size changes, recalculate anchor
  5225. positions. Partial fix for #76462
  5226. 2005-10-17 Peter Dennis Bartok <[email protected]>
  5227. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  5228. drawn. Fixes #76462
  5229. 2005-10-17 Jackson Harper <[email protected]>
  5230. * MonthCalendar.cs: Don't create the numeric up down until our
  5231. handle is created. Otherwise our handle is created in the
  5232. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  5233. yet.
  5234. 2005-10-17 Jackson Harper <[email protected]>
  5235. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  5236. correctly.
  5237. 2005-10-17 Rafael Teixeira <[email protected]>
  5238. * TreeNode.cs : small logical fix (was using local var instead of field)
  5239. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  5240. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  5241. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  5242. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  5243. 2005-10-16 Peter Dennis Bartok <[email protected]>
  5244. * Control.cs:
  5245. - Re-implemented anchoring code. My first version was really broken.
  5246. This fixes bug #76033. Unlike the previous implementation we will
  5247. no longer have round errors since all numbers are calculated from
  5248. scratch every time. Removed various anchor-related obsolete vars.
  5249. - InitLayout no longer causes layout event firing and layout to be
  5250. performed
  5251. 2005-10-16 Jackson Harper <[email protected]>
  5252. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  5253. which was broken).
  5254. 2005-10-16 Jackson Harper <[email protected]>
  5255. * TabControl.cs: Remove debug code.
  5256. 2005-10-16 Jackson Harper <[email protected]>
  5257. * XEventQueue.cs: Increase the default queue size (very simple
  5258. apps needed to grow the queue).
  5259. * Hwnd.cs: No finalizer so we don't need to suppress
  5260. finalization. Compute the invalid area manually so a new rectangle
  5261. does not newto be created.
  5262. * ScrollableControl.cs: Don't set any params (otherwise visibility
  5263. isn't set correctly).
  5264. * MdiChildContext.cs: New constructor takes the mdi parent so it
  5265. doesn't have to be computed and avoids a crash on windows. Draw
  5266. the window icon properly, and allow the text to be seen.
  5267. * Form.cs: Use new MdiChildContext constructor. Make sure the
  5268. child context isn't null in wndproc.
  5269. * TabControl.cs: Don't set focus, this is muddling keyboard
  5270. behavoir. Expand the tab rows when a window size increase will
  5271. allow extra tabs to be seen. Don't allow tabs smaller than the
  5272. width of a window to be scrolled out of view.
  5273. * TreeNode.cs:
  5274. * TreeView.cs: Use measure string to calculate a nodes width, the
  5275. width is cached and only updated when the text or the font is
  5276. changed. Don't check for expand/collapse clicks on the first level
  5277. nodes if root lines are disabled.
  5278. 2005-10-16 Ritvik Mayank <[email protected]>
  5279. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  5280. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  5281. * DataGridBoolColumn.cs: fixes warning
  5282. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  5283. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  5284. to match more to match more precisely the MS Net behavior
  5285. 2005-10-13 Peter Dennis Bartok <[email protected]>
  5286. * Hwnd.cs: Added field to track if window is mapped
  5287. * XplatUIX11.cs:
  5288. - Unmap windows if they become 0-size, re-map when
  5289. they are >0 again; fixes #76035
  5290. - Re-set our error handler after initializing X11Desktop
  5291. to override any error handlers Gtk or whatever was called
  5292. may have set.
  5293. 2005-10-13 Peter Dennis Bartok <[email protected]>
  5294. * CheckedListBox.cs: Removed unused vars
  5295. * ListView.cs: Fixed signatures
  5296. * RichTextBox.cs: Removed unused vars
  5297. * TextBoxBase.cs: Removed unused vars
  5298. * XplatUIWin32.cs: Removed unused vars
  5299. * XplatUIX11.cs: Removed unused vars
  5300. * XplatUI.cs: Updated version and date to latest published
  5301. 2005-10-13 Peter Dennis Bartok <[email protected]>
  5302. * Cursor.cs: Added private .ctor to work around a bug in
  5303. resourceset (Thanks to Geoff Norton for the help on this)
  5304. * SplitterEventArgs.cs: Made fields accessible so we don't
  5305. waste boatloads of objects and can reuse the same one
  5306. in Splitter
  5307. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  5308. any captions and borders when generating screen coordinates
  5309. * Splitter.cs: Reimplemented control, now fully complete, uses
  5310. rubberband drawing, supports and obeys all properties, has
  5311. proper cursors
  5312. 2005-10-13 Miguel de Icaza <[email protected]>
  5313. * Form.cs (Form): Setup default values for autoscale and
  5314. autoscale_base_size; Make these instance variables, not static
  5315. variables.
  5316. (OnLoad): on the first load, adjust the size of the form.
  5317. 2005-10-13 Peter Dennis Bartok <[email protected]>
  5318. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  5319. width argument to DrawReversibleRectangle()
  5320. * XplatUIWin32.cs, XplatUIX11.cs:
  5321. - Implemented width for DrawReversibleRectangle()
  5322. - Added logic to DrawReversibleRectangle that recognizes a zero
  5323. width or height and only draws a line in that situation
  5324. 2005-10-12 Peter Dennis Bartok <[email protected]>
  5325. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  5326. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  5327. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  5328. method (it uses our FosterParent window to get a graphics context)
  5329. 2005-10-12 Peter Dennis Bartok <[email protected]>
  5330. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  5331. and SetWindowBackground methods
  5332. * Control.cs:
  5333. - Setting proper ControlStyles
  5334. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  5335. EraseWindowBackground, instead we draw the window background
  5336. ourselves in PaintControlBackground. This behaviour is
  5337. required to match MS, where, when OnPaintBackground is not
  5338. called, the background is not drawn.
  5339. - Removed unneeded Refresh() in set_Text
  5340. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  5341. * XplatUIX11.cs:
  5342. - Created DeriveStyles method to translate from CreateParams to
  5343. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  5344. matches FormBorderStyle enum values)
  5345. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  5346. style calculations into single DeriveStyles method
  5347. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  5348. from redrawing the whole window on any resize or expose.
  5349. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  5350. all styles were applied to our whole/client window appropriately
  5351. - Removed EraseWindowBackground() and SetWindowBackground() methods
  5352. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  5353. no longer clear/redraw the background through X
  5354. - Removed handling of erase_pending bit, we have no use for it (or
  5355. so it seems)
  5356. * XplatUIOSX.cs:
  5357. - Removed generation and handling of WM_ERASEBKGND message
  5358. - Removed EraseWindowBackground() and SetWindowBackground() methods
  5359. - Removed handling of hwnd.ErasePending flag
  5360. * XplatUIWin32.cs:
  5361. - Removed EraseWindowBackground() and SetWindowBackground() methods
  5362. - We no longer call EraseWindowBackground on PaintEventStart, we
  5363. ignore the fErase flag, erasing is handled in Control in the
  5364. background handler
  5365. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  5366. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  5367. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  5368. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  5369. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  5370. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  5371. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  5372. 2005-10-12 Jonathan Chambers <[email protected]>
  5373. * PropertyGrids.cs: Get sub properties
  5374. * PropertyGridView.cs: Fix drawing code
  5375. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  5376. * ListBox.cs: Fixes 76383
  5377. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  5378. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  5379. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  5380. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  5381. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  5382. * ComboBox.cs: Fixes border drawing
  5383. 2005-10-10 Miguel de Icaza <[email protected]>
  5384. * MimeIcon.cs: Ignore errors if the file can not be read.
  5385. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  5386. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  5387. - Fixed border calculations
  5388. - Fixed horizontal scrolling in single column listboxes
  5389. - Fixed drawing issues
  5390. 2005-10-10 Peter Dennis Bartok <[email protected]>
  5391. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  5392. FormBorderStyle enum
  5393. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  5394. code to determine FormBorderStyles from CreateParams
  5395. * Form.cs:
  5396. - Fixed bug where we'd set the wrong window styles if we were
  5397. not creating an MDI window
  5398. - Added call to XplatUI.SetBorderStyle when form borders are set
  5399. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  5400. * Hwnd.cs:
  5401. - Removed obsolete edge style
  5402. - Switched from BorderStyle to FormBorderStyle
  5403. 2005-10-10 Jackson Harper <[email protected]>
  5404. * Form.cs: Use the property to get the window handle instead of
  5405. accessing it directly. Prevents a null reference exception.
  5406. 2005-10-10 Jackson Harper <[email protected]>
  5407. * TreeView.cs: Don't adjust the rect given to DrawString now that
  5408. our libgdiplus draws correctly.
  5409. 2005-10-08 Jackson Harper <[email protected]>
  5410. * TreeView.cs: Don't try to find the clicked on node if there are
  5411. no nodes in the tree.
  5412. 2005-10-08 Alexander Olk <[email protected]>
  5413. * RichTextBox.cs:
  5414. restore
  5415. 2005-10-08 Alexander Olk <[email protected]>
  5416. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  5417. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  5418. ErrorProvider.cs:
  5419. Use ResPool for brushes and dispose System.Drawing objects that
  5420. are not used anymore.
  5421. 2005-10-07 Jackson Harper <[email protected]>
  5422. * MdiChildContext.cs: Use the new borders instead of drawing them
  5423. ourselves.
  5424. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  5425. * Calling UpdateBounds after changing the window's BorderStyle
  5426. since the style can change the ClientSize
  5427. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5428. * Control.cs: Made PaintControlBackground virtual
  5429. * Panel.cs: Overriding PaintControlBackground instead of using paint
  5430. event; paint event method was interfering with 'real' users of the
  5431. event.
  5432. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  5433. * ThemeWin32Classic.cs: remove border drawing since it is handled
  5434. by the base control class now and was causing double border drawing.
  5435. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5436. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  5437. but it does seem to match MS behaviour. This fixes bug #75324
  5438. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5439. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  5440. somewhat hackish looking
  5441. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5442. * TextBoxBase.cs:
  5443. - We now accept Enter even if AcceptEnter is false, if the containing
  5444. form does not have an AcceptButton configured (fixes bug #76355)
  5445. - Calculations are now fixed to no longer use Width/Height, but
  5446. ClientSize.Width/Height, since we now support borders (this was
  5447. a result of fixing borders and therefore bug #76166)
  5448. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  5449. true (fixes bug #76354)
  5450. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5451. * Control.cs:
  5452. - Defaulting BorderStyle and setting it in XplatUI when our window
  5453. is created
  5454. - Added enum check to InternalBorderStyle setter
  5455. * XplatUIX11.cs:
  5456. - Added drawing of window borders
  5457. - Now properly calculates WM decorations offset for toplevel
  5458. windows (fixes bug #74763)
  5459. * XplatUIWin32.cs:
  5460. - Implemented BorderStyles for windows (we're letting win32 draw
  5461. the border for us)
  5462. - Fixed the signature for SetWindowLong
  5463. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  5464. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  5465. setting borders
  5466. * UpDownBase.cs: Remove drawing of borders, this is handled by
  5467. the driver, outside the client area
  5468. * ListView.cs: Removed bogus border calculations. The control should
  5469. be oblivious to borders, since those are not part of the client
  5470. area.
  5471. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  5472. * ThemeWin32Classic.cs: Removed border calculations from ListView
  5473. drawing code
  5474. 2005-10-06 Jackson Harper <[email protected]>
  5475. * MdiChildContext.cs: Clear out the old virtual position remove
  5476. all the unneeded calls to CreateGraphics.
  5477. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5478. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  5479. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5480. * Form.cs:
  5481. - Added loading and setting of our new default icon
  5482. - Only set icon if window is already created
  5483. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5484. * Label.cs:
  5485. - Do not explicitly set the foreground and background colors, to
  5486. allow inheriting from parents (fixes #76302)
  5487. - Use Control's InternalBorderStyle property to deal with borders
  5488. 2005-10-06 Jackson Harper <[email protected]>
  5489. * MdiChildContext.cs: Use the new xplatui function to draw a
  5490. reversible rect.
  5491. 2005-10-06 Jackson Harper <[email protected]>
  5492. * Form.cs: Add the parent before creating the child context cause
  5493. we need the parent when setting up the child.
  5494. 2005-10-06 Jackson Harper <[email protected]>
  5495. * FolderBrowserDialog.cs: redo the tree population code so a
  5496. second thread isn't used. Should be a lot faster and more stable
  5497. now.
  5498. 2005-10-05 Jackson Harper <[email protected]>
  5499. * TreeView.cs: There are no expand/collapse boxes if the node has
  5500. no children.
  5501. 2005-10-05 Jackson Harper <[email protected]>
  5502. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  5503. 2005-10-05 Alexander Olk <[email protected]>
  5504. * FileDialog.cs: Fix InitialDirectory
  5505. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  5506. * ComboBox.cs:
  5507. - Fixes changing between styles
  5508. - Fixes simple mode
  5509. - Fixes last item crashing when navigating with keyboard
  5510. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  5511. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  5512. 2005-10-05 Jackson Harper <[email protected]>
  5513. * TreeView.cs: If updating the root node do a full refresh.
  5514. * TreeNode.cs: The root node should be expanded by default. Also
  5515. added a utility prop to tell if we are the root node.
  5516. * TreeNodeCollection.cs: Only refresh if the node we are being
  5517. added to is expanded. Also added a comment on a potential
  5518. optimization.
  5519. 2005-10-04 Peter Dennis Bartok <[email protected]>
  5520. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  5521. in dispose method. Fixes #76330
  5522. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  5523. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  5524. - Implements vertical and horizontal scrolling using XplatUI
  5525. - Fixes keyboard navagation
  5526. - Fixes EnsureVisible
  5527. - Drawing fixes
  5528. - Handles and draws focus properly
  5529. 2005-10-04 Kornél Pál <[email protected]>
  5530. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  5531. Create handle. NET_2_0: Destroy handle when value is null.
  5532. 2005-10-03 Jackson Harper <[email protected]>
  5533. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  5534. revert and a new patch to prevent the thumb from refreshing so
  5535. much.
  5536. 2005-10-02 Jackson Harper <[email protected]>
  5537. * ScrollBar.cs: Don't update position if it hasn't actually
  5538. changed. This occurs when you hold down the increment/decrement
  5539. buttons and the thumb gets to the max/min.
  5540. 2005-10-01 Jackson Harper <[email protected]>
  5541. * Form.cs:
  5542. * MdiChildContext.cs:
  5543. * MdiClient.cs: Implement ActiveMdiChild in Form.
  5544. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  5545. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  5546. 2005-10-01 Peter Dennis Bartok <[email protected]>
  5547. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  5548. be found
  5549. 2005-09-30 Jackson Harper <[email protected]>
  5550. * ListBox.cs: Don't do a full refresh unless some data has
  5551. actually changed.
  5552. 2005-09-30 Jackson Harper <[email protected]>
  5553. * TreeView.cs: Make sure that the checkboxes size is factored in
  5554. even when not visible.
  5555. 2005-09-30 Peter Dennis Bartok <[email protected]>
  5556. * FileDialog.cs: Fix Jordi's build break
  5557. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  5558. * FileDialog.cs:
  5559. - Use standard the Windows colours for the combobox as espected
  5560. - Dispose objects that use resouces when no longer need them
  5561. 2005-09-30 Peter Dennis Bartok <[email protected]>
  5562. * X11DesktopColors.cs: Initial incomplete implementation
  5563. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  5564. 2005-09-30 Peter Dennis Bartok <[email protected]>
  5565. * Theme.cs:
  5566. - Switched Theme color names to match the names defined in
  5567. System.Drawing.KnownColors. Life's hard enough, no need to make
  5568. it harder.
  5569. - Added setters to all theme color properties so themes can set
  5570. their color schemes. The setters also propagate the color changes
  5571. to System.Drawing.KnownColors via reflection
  5572. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  5573. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  5574. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  5575. use the new, more logical theme color names
  5576. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  5577. post-NT colors
  5578. * ThemeWin32Classic.cs:
  5579. - Removed code to set the old classic Windows colors. Instead it
  5580. now relies on the colors returned by System.Drawing.KnownColors
  5581. which will be either modern static colors (Unix) or colors
  5582. read from the user's configuration (Win32)
  5583. - Updated to use the new, more logical theme color names
  5584. - Switched DataGrid drawing code to use only Theme colors instead of
  5585. a mix of System.Drawing.KnownColors and Theme colors
  5586. - DrawFrameControl(): Removed code that fills the button area, the
  5587. fill would overwrite any previous fill done by a control. This
  5588. fixes bug #75338
  5589. - Added DrawReversibleRectangle() stub
  5590. * ScrollableControl.cs: Set visible state to false when scrollbars
  5591. are removed (pdn fix)
  5592. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  5593. DrawReversibleRectangle() method to allow drawing primitive
  5594. 'rubber bands'
  5595. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  5596. 2005-09-30 Kornél Pál <[email protected]>
  5597. * ImageList.cs: Add(Icon): Create handle.
  5598. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  5599. * ListView.cs:
  5600. * ThemeWin32Classic.cs:
  5601. - Fixes detail mode
  5602. - Sets clippings
  5603. - Issues with drawing
  5604. 2005-09-30 Kornél Pál <[email protected]>
  5605. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  5606. source has to be the ImageList.
  5607. 2005-09-30 Kornél Pál <[email protected]>
  5608. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  5609. 2005-09-30 Kornél Pál <[email protected]>
  5610. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  5611. 2005-09-30 Kornél Pál <[email protected]>
  5612. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  5613. 2005-09-29 Jonathan Chambers <[email protected]>
  5614. * GridItem.cs: Fixed TODOs
  5615. * GridItemCollection.cs: Added ICollection interface
  5616. 2005-09-30 Kornél Pál <[email protected]>
  5617. * ImageList.cs: Resize icons when needed.
  5618. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  5619. * ListViewItem.cs
  5620. - Fixes GetBounds and returns on screen rects
  5621. * ListView.cs:
  5622. - Fixes vertical and horzintal scrolling of items
  5623. * ThemeWin32Classic.cs:
  5624. - Fixes drawing
  5625. 2005-09-29 Raja R Harinath <[email protected]>
  5626. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  5627. 2005-09-29 Kornél Pál <[email protected]>
  5628. * ImageList.cs: Added comments about handle creation. Moved Handle,
  5629. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  5630. Handle is created in Add methods.
  5631. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  5632. * DataGridDrawingLogic.cs:
  5633. - Takes rows into account on Colum calculations
  5634. - Returns the column when clickig
  5635. * DataGrid.cs:
  5636. - Fixes default HitTestInfo values
  5637. - Fixes HitTestInfo.ToString
  5638. - Fixes ResetBackColor
  5639. 2005-09-28 Jackson Harper <[email protected]>
  5640. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  5641. sizing or cursor changes). Also added some temp code to draw the
  5642. titlebars text (Makes dev a little easier).
  5643. 2005-09-28 Kornél Pál <[email protected]>
  5644. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  5645. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  5646. * ListBox.cs: Fixes bug 76253
  5647. 2005-09-28 Kornél Pál <[email protected]>
  5648. * ImageList.cs: Added comments about the current implementation. Added
  5649. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  5650. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  5651. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  5652. with Bitmap.LockBits for better performance. Revised the whole file to
  5653. match MS.NET behaviour and provide better performance. Non-public
  5654. interface members are calling public members even when they throw
  5655. NotSupportedException for better maintainability. Moved ColorDepth,
  5656. ImageSize, ImageStream and TransparentColor implementations to
  5657. ImageCollection for better performance as these properties are not used
  5658. by ImageList.
  5659. * ImageListStreamer.cs: Added a new internal constructor that takes an
  5660. ImageList.ImageCollection and serializes Images based on
  5661. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  5662. match ImageList property name.
  5663. 2005-09-28 Kazuki Oikawa <[email protected]>
  5664. * ListBox.cs: Fixes IndexFromPoint for last item
  5665. 2005-09-27 Jackson Harper <[email protected]>
  5666. * Form.cs: Set the position of new mdi children correctly.
  5667. 2005-09-27 Jackson Harper <[email protected]>
  5668. * MdiClient.cs: New mdi children need to be added to the back of
  5669. the controls collection so the zorder is set correctly. Also add a
  5670. count of all the child windows that have been created.
  5671. 2005-09-27 Jackson Harper <[email protected]>
  5672. * Form.cs (CreateParams): Setup MDI forms correctly.
  5673. 2005-09-27 Jackson Harper <[email protected]>
  5674. * MdiChildContext.cs:
  5675. * MonthCalendar.cs:
  5676. * UpDownBase.cs:
  5677. * ListBox.cs:
  5678. * ListView.cs:
  5679. * TextBoxBase.cs:
  5680. * TreeView.cs:
  5681. * ScrollableControl.cs:
  5682. * ComboBox.cs: Add implicit controls using the new implict control
  5683. functionality in ControlCollection. Also try to block multiple
  5684. control add in a suspend/resume layout to save some cycles.
  5685. 2005-09-27 Jackson Harper <[email protected]>
  5686. * Control.cs: Add functionality to the controls collection to add
  5687. 'implicit controls' these are controls that are created by the
  5688. containing control but should not be exposed to the user. Such as
  5689. scrollbars in the treeview.
  5690. * Form.cs: The list var of the ControlsCollection is no longer
  5691. available because of the potential of implicit controls getting
  5692. ignored by someone accessing the list directly.
  5693. 2005-09-26 Peter Dennis Bartok <[email protected]>
  5694. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  5695. loose it's parent. (Fixed bug introduced in r49103 when we added
  5696. setting the child parent to null on Remove)
  5697. 2005-09-26 Gert Driesen <[email protected]>
  5698. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  5699. * Splitter.cs: Added missing attributes for BorderStyle property.
  5700. * TextBoxBase.cs: Marked Calculate* methods internal.
  5701. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  5702. MS.NET.
  5703. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  5704. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  5705. 2005-09-25 Jackson Harper <[email protected]>
  5706. * TreeView.cs: Update the node bounds correctly regardless of
  5707. whether the node is visible.
  5708. 2005-09-25 Jackson Harper <[email protected]>
  5709. * ImageList.cs: Don't dispose the image after it is added to the
  5710. image list. Only reformat images that need to be resized.
  5711. 2005-09-25 Jackson Harper <[email protected]>
  5712. * ImageList.cs: Don't set the format when changing the image.
  5713. 2005-09-25 Jackson Harper <[email protected]>
  5714. * TreeView.cs: We can't just assume the node has a font. Use the
  5715. treeviews font if no node font is available.
  5716. 2005-09-25 Jackson Harper <[email protected]>
  5717. * TreeView.cs: Allow the scrollbars to be reset with negative
  5718. values.
  5719. - Don't add scrollbars to negative sized windows.
  5720. 2005-09-23 Jackson Harper <[email protected]>
  5721. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  5722. old Mono.Posix. Also remove some stray code that shouldn't have
  5723. been committed.
  5724. 2005-09-23 Jackson Harper <[email protected]>
  5725. * TreeView.cs: Attempt at proper sizing of the horizontal
  5726. scrollbar. Also don't resize the scrollbars unless they are
  5727. visible.
  5728. 2005-09-23 Jackson Harper <[email protected]>
  5729. * TreeView.cs: We don't need to expand the invalid area when the
  5730. selection changes, as this is all drawn in the node's bounding
  5731. box. The area needs to be expanded (previous typo was contracting
  5732. it) when the focus rect moves.
  5733. 2005-09-23 Jackson Harper <[email protected]>
  5734. * TreeView.cs: Display the selection box under the correct
  5735. circumstances. We were rendering white text with no selection box
  5736. before.
  5737. 2005-09-23 Peter Dennis Bartok <[email protected]>
  5738. * TextControl.cs(Split): Now updates selection start/end if it points
  5739. into a line that's being split. Fixes a FIXME and bug #75258
  5740. 2005-09-23 Jackson Harper <[email protected]>
  5741. * Binding.cs:
  5742. * ListControl.cs: Don't use the path when retrieving binding
  5743. managers from the binding context. My bat sense tells me that the
  5744. path is only used on insertion.
  5745. 2005-09-22 Jackson Harper <[email protected]>
  5746. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  5747. 2005-09-22 Jackson Harper <[email protected]>
  5748. * Splitter.cs: There are special cursors used for splitting.
  5749. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  5750. 2005-09-22 Jackson Harper <[email protected]>
  5751. * Splitter.cs: Change the cursor appropriately when the splitter
  5752. is moused over, so the user actually knows there is a splitter
  5753. there.
  5754. 2005-09-22 Hisham Mardam Bey <[email protected]>
  5755. * Label.cs : Fix ToString method to give same output as MS.NET
  5756. 2005-09-22 Jackson Harper <[email protected]>
  5757. * TreeView.cs: Create the scrollbars when the handle is created
  5758. and add them right away, just make them invisble. Also account for
  5759. the window being shrunk vertically to the point that the vert
  5760. scrollbar needs to be added.
  5761. - Remove some 0.5 adjustments to get around anti aliasing issues.
  5762. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  5763. * MainMenu.cs: Fixes default value
  5764. * MenuItem.cs: Fixes default value
  5765. 2005-09-22 Kazuki Oikawa <[email protected]>
  5766. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  5767. 2005-09-21 Jackson Harper <[email protected]>
  5768. * Control.cs: Don't try to set the border style on the window if
  5769. it hasn't been created. When the window is created the border
  5770. style will be used.
  5771. 2005-09-21 Peter Dennis Bartok <[email protected]>
  5772. * Control.cs (Update): Don't call XplatUI if we don't have a
  5773. window handle yet
  5774. 2005-09-21 Peter Dennis Bartok <[email protected]>
  5775. * ContainerControl.cs: Instead of throwing an exception, print
  5776. a one-time warning about Validate not being implemented
  5777. * XplatUIWin32.cs: Removed debug output
  5778. 2005-09-21 Peter Dennis Bartok <[email protected]>
  5779. * Control.cs: Only set XplatUI background if we expect the windowing
  5780. system to handle the background. This stops controls that draw their
  5781. own background from flickering
  5782. * XplatUIX11.cs: Support custom visuals and colormaps for window
  5783. creation. This allows, amongst other things, using MWF X11 windows
  5784. with OpenGL.
  5785. 2005-09-21 Peter Dennis Bartok <[email protected]>
  5786. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  5787. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  5788. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  5789. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  5790. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  5791. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  5792. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  5793. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  5794. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  5795. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  5796. GridColumnStylesCollection.cs,
  5797. IDataGridColumnStyleEditingNotificationService.cs,
  5798. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  5799. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  5800. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  5801. TreeNodeCollection.cs, AmbientProperties.cs,
  5802. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  5803. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  5804. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  5805. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  5806. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  5807. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  5808. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  5809. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  5810. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  5811. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  5812. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  5813. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  5814. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  5815. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  5816. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  5817. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  5818. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  5819. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  5820. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  5821. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  5822. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  5823. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  5824. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  5825. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  5826. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  5827. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  5828. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  5829. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  5830. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  5831. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  5832. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  5833. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  5834. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  5835. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  5836. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  5837. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  5838. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  5839. 2005-09-21 Jackson Harper <[email protected]>
  5840. * TreeNode.cs: Call Before/After Expand not Collapse when
  5841. expanding.
  5842. 2005-09-20 Jackson Harper <[email protected]>
  5843. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  5844. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  5845. * ListViewItem.cs:
  5846. - Fixes bug 76120
  5847. - Fixes proper storing of subitems
  5848. - Fixes not updated items
  5849. 2005-09-20 Peter Dennis Bartok <[email protected]>
  5850. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  5851. things if our window handle isn't created yet. Also disabled
  5852. debug for TextBoxBase
  5853. 2005-09-20 Peter Dennis Bartok <[email protected]>
  5854. * MenuAPI.cs: Remove filtering of events to allow menu usage
  5855. 2005-09-20 Miguel de Icaza <[email protected]>
  5856. * Cursor.cs: Allow null to be passed to Cursor.Current.
  5857. 2005-09-20 Alexander Olk <[email protected]>
  5858. * ThemeWin32Classic.cs:
  5859. - Change some private methods/fields to protected virtual so that
  5860. they can be accessed and overriden in derived classes
  5861. - First refactoring of some methods. Derived themes now don't
  5862. need to duplicate the complete code from ThemeWin32Classic
  5863. * ThemeNice.cs:
  5864. - Added nice StatusBar
  5865. - Derive from ThemeWin32Classic and not Theme
  5866. - Removed duplicate ThemeWin32Classic code
  5867. 2005-09-20 Miguel de Icaza <[email protected]>
  5868. * Control.cs (ControlCollection.Add): If the value null is passed
  5869. the control is ignored.
  5870. Optimize this loop.
  5871. 2005-09-19 Peter Dennis Bartok <[email protected]>
  5872. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  5873. PostQuitMessage state.
  5874. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  5875. 2005-09-19 Peter Dennis Bartok <[email protected]>
  5876. * Application.cs: Our constructor will never get called, move
  5877. initialization to fields; fixes bug #75933
  5878. 2005-09-19 Hisham Mardam Bey <[email protected]>
  5879. * FileDialog.cs :
  5880. - Allow files to be selected properly using file name
  5881. combo box.
  5882. - Add ability to change diretory (absolute / relative)
  5883. using file name combo box.
  5884. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  5885. * ListBox.cs:
  5886. - Fixes Multicolumn listboxes item wrong calculations
  5887. - Allows to click when only one item is in the listbox
  5888. - Fixes crash when no items using keyboard navigation
  5889. 2005-09-16 Alexander Olk <[email protected]>
  5890. * ComboBox.cs: Reverted almost everything from the latest patch which
  5891. broke ComboBox
  5892. 2005-09-16 Kazuki Oikawa <[email protected]>
  5893. * ToolTip.cs:
  5894. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  5895. * ComboBox.cs:
  5896. - When DropDownStyle is Simple, it does not show scrollbar
  5897. to the last item of the list.
  5898. - When DropDownStyle is Simple, it crashed when the list was
  5899. scrolled down with the down cursor key.
  5900. - Fixed a bug that when DropDownStyle is DropDownList, the
  5901. selected item was not shown.
  5902. - The position of the selected item was not preserved when
  5903. the next dropdown happened.
  5904. * ThemeWin32Classic.cs:
  5905. - Items were wrapped at the right end.
  5906. * CheckedListBox.cs:
  5907. - Fixed Add method
  5908. * ListBox.cs:
  5909. - Items should be fully shown.
  5910. - When resizing and vertical scrollbar disappeared, the item
  5911. of index 0 should be on the top of the list.
  5912. - GetItemRectangle should consider the size of ver. scrollbar
  5913. * StatusBar.cs:
  5914. - SizingGrip area should not be allocated when it is not
  5915. displayed.
  5916. - Now it reflects MinWidth of the containing panel and
  5917. fixed a crash that happens when its width becomes so small.
  5918. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  5919. * CheckedListBox.cs: Fixes bug 76028
  5920. * ListBox.cs: Fixes bug 76028
  5921. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  5922. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  5923. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  5924. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  5925. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  5926. 2005-09-09 Jonathan Chambers <[email protected]>
  5927. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  5928. 2005-09-09 Jonathan Chambers <[email protected]>
  5929. * IRootGridEntry.cs: Added
  5930. * PropertyGridCommands.cs: Added
  5931. * PropertiesTab.cs: Added missing methods and property
  5932. * PropertyGridView.cs: Made class internal
  5933. * PropertyGridTextBox.cs: Made class internal
  5934. 2005-09-09 Alexander Olk <[email protected]>
  5935. * MimeIcon.cs: Try to check some other environment variables
  5936. if "DESKTOP_SESSION" returns "default"
  5937. 2005-09-09 Alexander Olk <[email protected]>
  5938. * ThemeNice.cs: Corrected background colors (e.g. menus)
  5939. * ColorDialog.cs: Use correct background colors for controls
  5940. 2005-09-09 Alexander Olk <[email protected]>
  5941. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  5942. 2005-09-08 Peter Dennis Bartok <[email protected]>
  5943. * RichTextBox.cs: Added initial implementation
  5944. * lang.cs: Removed. Was accidentally checked in long time ago
  5945. * TODO: Removed. Contents were obsolete
  5946. 2005-09-06 Jonathan Chambers <[email protected]>
  5947. * PropertiesTab.cs : Added
  5948. 2005-09-06 Jonathan Chambers <[email protected]>
  5949. * PropertyGrid.cs : Update
  5950. * PropertyGridView.cs : Update
  5951. * System.Windows.Forms.resx : Added images and strings
  5952. 2005-09-06 Peter Dennis Bartok <[email protected]>
  5953. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  5954. 2005-09-06 Peter Dennis Bartok <[email protected]>
  5955. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  5956. a busy loop right after the Ungrab the X11 display is otherwise
  5957. blocked
  5958. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  5959. * ThemeWin32Classic.cs: Optimise the use of clipping
  5960. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  5961. * DataGrid.cs: fixes recursion bug
  5962. 2005-09-03 Alexander Olk <[email protected]>
  5963. * ThemeNice.cs:
  5964. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  5965. - Cleanup
  5966. 2005-09-02 Alexander Olk <[email protected]>
  5967. * ThemeNice.cs: Draw nice ProgressBars
  5968. 2005-09-01 Miguel de Icaza <[email protected]>
  5969. * VScrollBar.cs: Another buglet found by Aaron's tool.
  5970. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  5971. bug finder.
  5972. 2005-08-30 Alexander Olk <[email protected]>
  5973. * ThemeNice.cs:
  5974. - Added nicer menu drawing
  5975. - Updated DrawTab
  5976. - some refactoring
  5977. 2005-08-30 Peter Dennis Bartok <[email protected]>
  5978. * CreateParams.cs (ToString): Made output match MS
  5979. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  5980. handle is already created (to avoid forcing window creation)
  5981. * XplatUIX11.cs: Set window text to caption after creating window,
  5982. in case Text was set before window was created
  5983. * Form.cs: Use this.Text instead of a static string as caption
  5984. 2005-08-30 Peter Dennis Bartok <[email protected]>
  5985. * NotifyIcon.cs: Don't set the window to visible; this screws
  5986. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  5987. OnPaint without a bitmap)
  5988. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  5989. happen very often anyway; we could add the check to the WM_PAINT
  5990. event generation code
  5991. 2005-08-30 Peter Dennis Bartok <[email protected]>
  5992. * NotifyIcon.cs: Fill the icon area with a background color, to
  5993. avoid 'residue' when transparent icons are drawn
  5994. * XplatUIX11.cs:
  5995. - Handle whole_window == client_window when destroying windows
  5996. - SystrayAdd(): Set client_window to whole_window value to
  5997. get mouse and other events passed to NotifyIcon
  5998. 2005-08-30 Peter Dennis Bartok <[email protected]>
  5999. * Form.cs: Set proper default for Opacity property
  6000. * NotifyIcon.cs:
  6001. - ShowSystray(): Don't bother creating telling the OS
  6002. about the systray item if no icon is provided
  6003. - Now handles WM_NCPAINT message to deal with whole/client window
  6004. split
  6005. - Create window as visible to not get caught by Expose optimization
  6006. * Hwnd.cs: Removed debug message
  6007. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  6008. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  6009. PaintEventStart/End to use new client argument
  6010. * TextBoxBase.cs:
  6011. - Commented out debug messages
  6012. - Switched PaintEventStart/End to use new client argument
  6013. * XplatUI.cs: Added client window bool to PaintEventStart()/
  6014. PaintEventEnd() calls, to support drawing in non-client areas
  6015. * XplatUIDriver.cs:
  6016. - Added client window bool to PaintEventStart()/PaintEventEnd()
  6017. calls, to support drawing in non-client areas
  6018. - Added conditional compile to allow using MWF BeginInvoke
  6019. on MS runtime
  6020. * XplatUIX11.cs:
  6021. - Added some conditional debug output
  6022. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  6023. whole/client window split
  6024. - Implemented handling of client argument to PaintEventStart()/End()
  6025. * Control.cs:
  6026. - Throw exception if BeginInvoke() is called and the window handle
  6027. or one of the window's parent handles is not created
  6028. - Added conditional compile to allow using MWF BeginInvoke on
  6029. MS runtime
  6030. - get_Parent(): Only sets parent if handle is created. This avoids
  6031. forcing window handle creation when parent is set.
  6032. - Now fires Layout and Parent changed events in proper order
  6033. - Switched to use Handle instead of window.Handle for Z-Order setting,
  6034. the get_Parent() patch above causes us to possibly get null for 'window'
  6035. - Implemented handling of client argument to PaintEventStart()/End()
  6036. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  6037. default handling)
  6038. - Now sends a Refresh() to all child windows when Refresh() is called
  6039. 2005-08-29 Peter Dennis Bartok <[email protected]>
  6040. * Form.cs: Added (non-functional) Opacity property
  6041. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  6042. 2005-08-29 Alexander Olk <[email protected]>
  6043. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  6044. use export MONO_THEME=nice to activate it.
  6045. Currently supported controls:
  6046. - Button
  6047. - ComboBox
  6048. - ScrollBar
  6049. - TabControl (TabAlignment.Top only, other will follow)
  6050. * ThemeEngine.cs: Add theme nice
  6051. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  6052. if enabled
  6053. 2005-08-25 Jonathan Chambers <[email protected]>
  6054. * Splitter.cs: Resize docked control and its neighbor.
  6055. 2005-08-24 Rafael Teixeira <[email protected]>
  6056. -- Making Windows with Menus layout correctly --
  6057. * Form.cs : The first leg of the fix
  6058. Menu setter - adjust Client Size as needed to make space for the menu
  6059. SetClientSizeCore - doesn't call base version to be able to pass the
  6060. menu handle to XplatUI.CalculateWindowRect
  6061. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  6062. * XplatUIX11.cs: The critical second leg of the fix
  6063. GetWindowPos needs to use a recalculated client_rect
  6064. so that resizing the window doesn't break layout of child controls.
  6065. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  6066. Lots of \t\n killed
  6067. 2005-08-23 Peter Dennis Bartok <[email protected]>
  6068. * Label.cs: Now properly recalculates width and height on Font and Text
  6069. changes if AutoSize is set
  6070. 2005-08-19 Rafael Teixeira <[email protected]>
  6071. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  6072. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  6073. * ImageList.cs: Makes ToString method compatible with MS
  6074. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  6075. * MenuAPI.cs: fixes bug 75716
  6076. 2005-08-11 Umadevi S <[email protected]>
  6077. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  6078. 2005-08-11 Umadevi S <[email protected]>
  6079. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  6080. 2005-08-10 Umadevi S <[email protected]>
  6081. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  6082. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  6083. * Menu.cs: fixes bug 75700
  6084. * MenuAPI.cs: fixes navigation issues
  6085. 2005-08-09 Umadevi S <[email protected]>
  6086. * CheckedListBox.cs - simple fix for GetItemChecked.
  6087. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  6088. * ComboBox.cs: Serveral fixes
  6089. * ListBox.cs: Serveral fixes
  6090. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  6091. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  6092. * ListBox.cs: Fixes FindString methods
  6093. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  6094. * DataGrid.cs: fixes bugs exposed by new tests
  6095. 2005-08-04 Peter Dennis Bartok <[email protected]>
  6096. * Mime.cs: Compile Mono assembly references only if compiling
  6097. with Mono (Allows to build with VS.Net again)
  6098. 2005-07-28 Marek Safar <[email protected]>
  6099. * Control.cs (PaintControlBackground): Draw background image
  6100. corrrectly.
  6101. (CheckForIllegalCrossThreadCalls): Stubbed.
  6102. * Form.cs (OnCreateControl): Center when should be centered.
  6103. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  6104. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  6105. * Binding.cs: Binding to properties should be case unsensitive
  6106. 2005-07-18 [email protected]
  6107. * DataGrid.cs: fixes setmember order
  6108. 2005-07-07 Alexander Olk <[email protected]>
  6109. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  6110. * FileDialog.cs: FileDialog is now resizable and uses the new
  6111. MimeIconEngine
  6112. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  6113. * DataGridTextBoxColumn.cs: default value
  6114. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  6115. * GridTableStylesCollection.cs: fixes checking MappingName
  6116. * DataGridDrawingLogic.cs: fixes drawing logic issues
  6117. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  6118. * DataGrid.cs: fixes
  6119. 2005-07-06 Alexander Olk <[email protected]>
  6120. * MimeGenerated.cs: Use case sensitive comparer for
  6121. NameValueCollections
  6122. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  6123. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  6124. * ThemeWin32Classic.cs: bug fixes, code refactoring
  6125. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  6126. * DataGrid.cs: bug fixes, code refactoring
  6127. * DataGridTextBox.cs: bug fixes, code refactoring
  6128. * DataGridColumnStyle.cs: bug fixes, code refactoring
  6129. * Theme.cs: bug fixes, code refactoring
  6130. 2005-07-01 Peter Bartok <[email protected]>
  6131. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  6132. and other text box usage
  6133. 2005-07-01 Jackson Harper <[email protected]>
  6134. * TabControl.cs: Make sure the bottom of the tab covers the pages
  6135. border.
  6136. 2005-06-30 Peter Bartok <[email protected]>
  6137. * Form.cs (ShowDialog): Assign owner of the dialog
  6138. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  6139. might have been moved to a tag with different height
  6140. 2005-06-30 Jackson Harper <[email protected]>
  6141. * Form.cs: Don't create an infinite loop when setting focus
  6142. * MenuItem.cs: Don't dirty the parents if we don't have any
  6143. 2005-06-29 Ben Maurer <[email protected]>
  6144. * LibSupport.cs: Rename
  6145. 2005-06-29 Peter Bartok <[email protected]>
  6146. * TextBoxBase.cs: Re-align caret after deleting a character
  6147. * TextControl.cs:
  6148. - DeleteChars(): Ensure that tag covers the provided position
  6149. - StreamLine(): Drop reference for dropped tag
  6150. 2005-06-29 Peter Bartok <[email protected]>
  6151. * TextControl.cs:
  6152. - Selections now work properly, anchoring at the initial location
  6153. and properly extending in either direction (SetSelectionToCaret(),
  6154. SetSelectionStart() and SetSelectionEnd())
  6155. - No longer redraws the whole control on selection change, now
  6156. calculates delta between previous and new selection and only
  6157. invalidates/redraws that area
  6158. - Fixed FindPos() math off-by-one errors
  6159. - Changed DeleteChars() to verify the provided tag covers the
  6160. provided position, selections may have a tag that doesn't cover
  6161. the position if the selection is at a tag border
  6162. - Fixed off-by-one errors in DeleteChars()
  6163. - Added missing streamlining check in DeleteChars() to remove
  6164. zero-length tags
  6165. - Implemented Invalidate() method, now properly calculates exposures
  6166. between two given lines/positions
  6167. - Implemented SetSelection()
  6168. - Obsoleted and removed FixupSelection()
  6169. - Improved RecalculateDocument() logic, removing code duplication
  6170. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  6171. * LibSupport.cs: changes to match different input/output arguments.
  6172. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  6173. * LibSupport.cs: added libsupport.so init routine.
  6174. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  6175. * ControlBindingsCollection.cs
  6176. - Throws an exception on null datasource when adding
  6177. - Checks for duplicated bindings when adding
  6178. 2005-06-28 Jackson Harper <[email protected]>
  6179. * TreeView.cs (OnKeyDown): Support left and right properly
  6180. (navigates as well as expanding and collapsing.
  6181. - Add support for Multiply, this expands all the selected nodes
  6182. children.
  6183. - Fix some tabbing.
  6184. 2005-06-28 Jackson Harper <[email protected]>
  6185. * TreeView.cs: Implement keyboard navigation, currently supports,
  6186. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  6187. support for toggling checkboxes with the space bar.
  6188. 2005-06-28 Jackson Harper <[email protected]>
  6189. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  6190. tree.
  6191. 2005-06-28 Jackson Harper <[email protected]>
  6192. * TreeView.cs: Add missing event.
  6193. 2005-06-27 Peter Bartok <[email protected]>
  6194. * TextControl.cs:
  6195. - Made line ending size configurable (now allows for counting
  6196. lineendings as \n or \r\n)
  6197. - Added margin to viewport to keep caret visible on right side
  6198. - Fixed translation routines for line/pos to documentpos to consider
  6199. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  6200. - Fixed some line-endings to be unix style
  6201. - Fixed Document.FormatText to perform it's calculations 1-based
  6202. - Added descriptions for a few methods that might otherwise get
  6203. used wrong
  6204. - Added NOTE section with some basic conventions to remember at
  6205. the top of the file
  6206. - Major fixup for RichTextBox selection drawing:
  6207. * Fixed crashes when multiple tags on a single line were selected
  6208. * fixed selection box drawing not overlaying text
  6209. * fixed bogus offset calculation for tags not starting at index 1
  6210. * Switched behaviour from using multiple Substrings of a
  6211. StringBuilder.ToString() to using multiple
  6212. StringBuilder.ToString(start, length) statements, hoping this is
  6213. faster (kept original version commented out in the code, in case
  6214. original version was faster)
  6215. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  6216. alignment != Left
  6217. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  6218. call it as well
  6219. 2005-06-27 Jackson Harper <[email protected]>
  6220. * TabControl.cs: Move to the left and right with the arrow
  6221. keys. These keys don't cycle beyond first and last like
  6222. tab. Refresh all the tabs when scrolling them to the left or
  6223. right.
  6224. 2005-06-27 Jackson Harper <[email protected]>
  6225. * TabControl.cs:
  6226. - ToString: Added method
  6227. - CreateParams: Remove TODO and comment
  6228. - OnKeyDown: Cycle through bounds properly.
  6229. - SelectedIndex: Scroll to the right or left if we need to
  6230. display the newly selected tab.
  6231. 2005-06-23 Jackson Harper <[email protected]>
  6232. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  6233. set.
  6234. 2005-06-23 Jackson Harper <[email protected]>
  6235. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  6236. CTRL-SHIFT-TAB, and HOME, END are there any others?
  6237. 2005-06-23 Jackson Harper <[email protected]>
  6238. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  6239. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  6240. * DataGridTextBoxColumn.cs: fixes and enhancements
  6241. * ThemeWin32Classic.cs: fixes and enhancements
  6242. * DataGridBoolColumn.cs: fixes and enhancements
  6243. * DataGridDrawingLogic.cs: fixes and enhancements
  6244. * CurrencyManager.cs: fixes and enhancements
  6245. * DataGrid.cs: fixes and enhancements
  6246. * DataGridColumnStyle.cs: fixes and enhancements
  6247. 2005-06-22 Jackson Harper <[email protected]>
  6248. * TabControl.cs: Add some missing methods that just call into the
  6249. base. Make the TabPageCollection's IList interface behave in the
  6250. same manner as the MS implementation.
  6251. 2005-06-22 Peter Bartok <[email protected]>
  6252. * TextControl.cs: Added sanity check
  6253. * TextBoxBase.cs:
  6254. - Fixed wrapping behaviour, don't set wrap on single line controls
  6255. (this fixes the breakage of colordialog introduced in an earlier
  6256. checkin)
  6257. - Added rudimentary support for autoscrolling right-aligned controls
  6258. (still needs fixing, also, center alignment scroll is missing)
  6259. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  6260. * ScrollBar.cs: Fixes thumbpos on Maximum values
  6261. 2005-06-21 Jonathan Chambers <[email protected]>
  6262. * PropertyGridView.cs: Pass context information to UITypeEditors
  6263. 2005-06-21 Peter Bartok <[email protected]>
  6264. * TextBoxBase.cs:
  6265. - Now calling PositionCaret with absolute space coordinates
  6266. - Enabled vertical scrolling
  6267. - Better tracking of scrollbar changes, tied into WidthChange
  6268. event
  6269. - Improved cursor tracking
  6270. - Removed debug output
  6271. * TextControl.cs:
  6272. - PositionCaret coordinates are now works in absolute space, not
  6273. the canvas
  6274. - Improved tracking of document size
  6275. - Added events for width and height changes
  6276. 2005-06-21 Peter Bartok <[email protected]>
  6277. * Form.cs: Set focus to active control when form is activated
  6278. * TextControl.cs:
  6279. - Added word-wrap functionality to RecalculateLine()
  6280. - Added some short function descriptions for VS.Net to aid in
  6281. writing dependent controls
  6282. - Added Caret property, returning the current coords of the caret
  6283. - Added ViewPortWidth and ViewPortHeight properties
  6284. - Added Wrap property
  6285. - Added CaretMoved event
  6286. - Removed some old debug code
  6287. - Split() can now create soft splits
  6288. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  6289. - Added method to format existing text
  6290. - Fixed size/alignment calculations to use viewport
  6291. - RecalculateDocument now can handle changing line-numbers while
  6292. calculating lines
  6293. * TextBox.cs:
  6294. - Added some wrap logic, we don't wrap if alignment is not left
  6295. - Added casts for scrollbar var, base class switched types to
  6296. also support RichTextBoxA
  6297. - Implemented handling of scrollbar visibility flags
  6298. * TextBoxBase.cs:
  6299. - Switched scrollbars type to RichTextBoxScrollBars to support
  6300. RichTextBox
  6301. - Added tracking of canvas width/height
  6302. - Switched scrollbars to be not selectable (to keep focus on text)
  6303. - Added central CalculateDocument() method to handle all redraw
  6304. requirements
  6305. - Added ReadOnly support
  6306. - Added WordWrap support
  6307. - Fixed handling of Enter key (we now treat it as a DialogKey)
  6308. - Fixed caret positioning when h or v scroll is not zero
  6309. - Fixed placing/generation of vertical scrollbar
  6310. - Added CalculateScrollBars() method to allow updating scrollbar
  6311. limits and visibility
  6312. - Fixed handling of horizontal scroll
  6313. - Added handling of vertical scroll
  6314. - Implemented auto-'jump' when caret moves to close to a left or
  6315. right border and there is text to be scrolled into view (currently
  6316. there's the potential for a stack overflow, until a bug in
  6317. scrollbar is fixed)
  6318. 2005-06-21 Geoff Norton <[email protected]>
  6319. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  6320. 2005-06-19 Alexander Olk <[email protected]>
  6321. * Mime.cs:
  6322. - added inodes.
  6323. - return application/x-zerosize for files with size zero
  6324. (if no extension pattern matches).
  6325. - check matches collection for strings too.
  6326. - return only the first mime type if the name value
  6327. collection has more than one mime type.
  6328. 2005-06-18 Jonathan Chambers <[email protected]>
  6329. * PropertyGrid.cs: Cleaned up some TODOs
  6330. * PropertyGridView.cs: Added support for UITypeEditors
  6331. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  6332. * DataGrid.cs: clears cached value
  6333. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  6334. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  6335. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  6336. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  6337. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  6338. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  6339. * ThemeWin32Classic.cs: fixes colour
  6340. 2005-06-15 Peter Bartok <[email protected]>
  6341. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  6342. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  6343. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  6344. * Control.cs: Added some MWFCategory and MWFDescription attributes
  6345. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  6346. 2005-06-15 Alexander Olk <[email protected]>
  6347. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  6348. usage
  6349. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  6350. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  6351. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  6352. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  6353. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  6354. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  6355. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  6356. 2005-06-13 Jackson Harper <[email protected]>
  6357. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  6358. isn't printed when the user enables dropping. (X11 does accept
  6359. drops).
  6360. 2005-06-13 Jackson Harper <[email protected]>
  6361. * TreeView.cs: Remove some TODOS.
  6362. 2005-06-13 Jackson Harper <[email protected]>
  6363. * Form.cs: Hook into the mdi framework.
  6364. * MdiClient.cs: Use the base control collections add method so
  6365. parents get setup correctly. Set the default back colour and dock
  6366. style.
  6367. * MdiChildContext.cs: New class, this bad actor handles an
  6368. instance of an MDI window. Right now there is only basic
  6369. support. You can drag, close, and resize windows. Minimize and
  6370. Maximize are partially implemented.
  6371. 2005-06-13 Jackson Harper <[email protected]>
  6372. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  6373. freaky when both vals are negative. NOTE: There are probably other
  6374. places in XplatUIX11 that this needs to be done.
  6375. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  6376. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  6377. * DataGridColumnStyle.cs: fixes signature
  6378. 2005-06-12 Jackson Harper <[email protected]>
  6379. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  6380. windows.
  6381. 2005-06-11 Jackson Harper <[email protected]>
  6382. * StatusBarPanel.cs: Signature cleanups. Implement
  6383. BeginInit/EndInit.
  6384. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  6385. * DataGridTextBoxColumn.cs: Honors aligment
  6386. * GridColumnStylesCollection.cs: Contains is case unsensitive
  6387. * GridTableStylesCollection.cs: several fixes
  6388. * DataGridTableStyle.cs: default column creation
  6389. * DataGridDrawingLogic.cs: fixes
  6390. * CurrencyManager.cs: ListName property
  6391. * DataGrid.cs: multiple styles support
  6392. * DataGridColumnStyle.cs: fixes
  6393. 2005-06-10 Peter Bartok <[email protected]>
  6394. * Control.cs(Select): Moved SetFocus call to avoid potential
  6395. loops if controls change the active control when getting focus
  6396. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  6397. the up/down buttons
  6398. 2005-06-10 Matthias Felgner <[email protected]>
  6399. * ImageListConverter.cs: Implemented
  6400. 2005-06-10 John BouAntoun <[email protected]>
  6401. * MonthCalendar.cs: Wired in NumericUpDown control for year
  6402. 2005-06-10 John BouAntoun <[email protected]>
  6403. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  6404. DoubleClick events, since they are not meant to be fired.
  6405. 2005-06-09 Peter Bartok <[email protected]>
  6406. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  6407. Jonathan's standalone controls into MWF, implemented missing
  6408. events, attributes and methods; added xxxAccessible classes
  6409. * AccessibleObject.cs: Made fields internal so other classes
  6410. can change them if needed
  6411. 2005-06-09 Jonathan Gilbert <[email protected]>
  6412. * UpDownBase.cs: Complete implementation
  6413. * NumericUpDown.cs: Complete implementation
  6414. * DomainUpDown.cs: Complete implementation
  6415. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  6416. * DataGridTextBoxColumn.cs: drawing fixes
  6417. * DataGridCell.cs: fixes ToString method to match MSNet
  6418. * DataGridTableStyle.cs: fixes
  6419. * DataGridBoolColumn.cs: fixes, drawing
  6420. * DataGridDrawingLogic.cs: fixes, new methods
  6421. * DataGridTextBox.cs: Keyboard and fixes
  6422. * DataGrid.cs:
  6423. - Keyboard navigation
  6424. - Scrolling fixes
  6425. - Row selection (single, multiple, deletion, etc)
  6426. - Lots of fixes
  6427. 2005-06-07 Jackson Harper <[email protected]>
  6428. * ThemeWin32Classic.cs: Clear the background area when drawing
  6429. buttons.
  6430. 2005-06-06 Peter Bartok <[email protected]>
  6431. * ImageListStreamer.cs: Fixed signature for GetData
  6432. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  6433. * ComboBox.cs:
  6434. - Added missing ChildAccessibleObject class
  6435. - Added missing OnXXXFocus overrides, switched to using those
  6436. instead of the event handler
  6437. * Control.cs:
  6438. - Added Parent property for ControlAccessibleObject
  6439. - Fixed signatures
  6440. - Fixed attributes
  6441. - Added ResetBindings()
  6442. * ListBindingConverter.cs: Implemented some methods
  6443. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  6444. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  6445. * ContainerControl.cs: Fixed signature, now subscribing to the
  6446. ControlRemoved event instead of overriding the handler, LAMESPEC
  6447. * CurrencyManager.cs: Added missing attribute
  6448. * MonthCalendar.cs: Added missing properties
  6449. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  6450. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  6451. 2005-06-06 Gaurav Vaish and Ankit Jain
  6452. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  6453. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  6454. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  6455. * Control.cs: fixes CreateParams Width / Height.
  6456. 2005-06-05 Peter Bartok <[email protected]>
  6457. * Win32DnD.cs: Removed compilation warnings
  6458. 2005-06-05 Peter Bartok <[email protected]>
  6459. * Control.cs (CreateParams): Since we don't know if one of the
  6460. properties we use is overridden, lets make sure if we fail accessing
  6461. we continue with a backup plan
  6462. 2005-06-05 Peter Bartok <[email protected]>
  6463. * Win32DnD.cs:
  6464. - Removed debug output
  6465. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  6466. struct
  6467. - Plugged resource leak
  6468. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  6469. MS size
  6470. 2005-06-05 Peter Bartok <[email protected]>
  6471. * XplatUIWin32.cs: Removed DnD code
  6472. * Win32DnD.cs: Implemented drop source and drop target functionality
  6473. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  6474. * UpDownBase.cs: remove duplicate addition of event, enable some code
  6475. that was commented out.
  6476. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  6477. Validate input when a key is pressed. It works fine now for every
  6478. combination of Hexadecimal. Only missing some drawing love when sharing
  6479. space with other controls.
  6480. 2005-06-04 Peter Bartok <[email protected]>
  6481. * Control.cs:
  6482. - We need to pass a window for DragDrop, so enable callback events
  6483. - Added DnD callback events when being a DragSource
  6484. * XplatUI.cs (StartDrag): Added window handle argument
  6485. * XplatUIDriver.cs (StartDrag): Added window handle argument
  6486. * QueryContinueDragEventArgs: Made fields internally accessible so
  6487. drivers can set them
  6488. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  6489. can set them
  6490. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  6491. * DataGridTextBoxColumn.cs: column text editing
  6492. * DataGridTableStyle.cs: Respect columns styles created by the user
  6493. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  6494. * DataGridBoolColumn.cs: bool column editing
  6495. * DataGrid.cs: fixes to scrolling, properties, etc
  6496. * DataGridTextBox.cs: handle keyboard
  6497. * DataGridColumnStyle.cs: fixes
  6498. 2005-06-02 Jackson Harper <[email protected]>
  6499. * ImageListStreamer.cs: Somewhat broken implementation of
  6500. GetObjectData. The RLE needs some work to match MS properly.
  6501. 2005-06-02 Jackson Harper <[email protected]>
  6502. * X11Dnd.cs: Attempting to keep at least one file in MWF
  6503. monostyled.
  6504. 2005-06-02 Peter Bartok <[email protected]>
  6505. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  6506. that way
  6507. 2005-06-02 Peter Bartok <[email protected]>
  6508. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  6509. * XplatUI.cs: Added DoDragDrop() method
  6510. * XplatUIDriver.cs: Added DoDragDrop() method
  6511. 2005-06-02 Jackson Harper <[email protected]>
  6512. * Splitter.cs: Implement BorderStyle.
  6513. 2005-06-02 Jackson Harper <[email protected]>
  6514. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  6515. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  6516. X11 using XDND.
  6517. 2005-06-02 Peter Bartok <[email protected]>
  6518. * DataObject.cs:
  6519. - Added Data setter
  6520. - Fixed broken insertion code for SetData, now also
  6521. overwrites any existing entry of the same format name
  6522. * Hwnd.cs: Added list of pointers that automatically gets
  6523. freed when the window is disposed
  6524. * XplatUI.cs: Call driver initialization method when loading
  6525. a driver
  6526. * Control.cs:
  6527. - OnDragLeave takes EventArgs, not DragEventArgs
  6528. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  6529. supported
  6530. - Forces style update when drop state changes
  6531. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  6532. not perfect since we cannot (yet) call the IDataObject.GetData()
  6533. method, we keep getting 0x80004005 error, dunno why)
  6534. 2005-06-02 Peter Bartok <[email protected]>
  6535. * DragEventArgs.cs: Make fields internal so we can cache the
  6536. object and re-set the fields from XplatUI
  6537. 2005-06-02 Jackson Harper <[email protected]>
  6538. * Control.cs: Add some internal methods so the DnD subsystem can
  6539. raise DnD events. Also call into the driver when AllowDrop is set.
  6540. * XplatUI.cs:
  6541. * XplatUIDriver.cs: New method for setting whether or not a window
  6542. is allowed to accept drag and drop messages.
  6543. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  6544. * ScrollBar.cs: Make sure that values sent in Scroll events
  6545. are always between Maximum and Minimum.
  6546. 2005-06-01 Marek Safar <[email protected]>
  6547. * Menu.cs: Call MenuChanged when menuitem visibility has been
  6548. changed.
  6549. * MenuItem.cs: Rebuild menu when item is (not) visible.
  6550. * MainMenu.cs: MainMenu has special MenuChanged.
  6551. * Theme.cs: Caption and FrameBorderSize are not fixed.
  6552. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  6553. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  6554. * XplatUIX11.cs,
  6555. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  6556. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  6557. 2005-05-30 Jackson Harper <[email protected]>
  6558. * DataFormat.cs: We can't statically initialize this stuff because
  6559. it calls into the xplatui and could create a loop. So we lazy init
  6560. it.
  6561. 2005-05-28 Jackson Harper <[email protected]>
  6562. * Control.cs: Proper implementation of Product(Name/Version).
  6563. 2005-05-27 Jackson Harper <[email protected]>
  6564. * DataObject.cs: Dont crash if no data is found.
  6565. 2005-05-26 Rafael Teixeira <[email protected]>
  6566. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  6567. as per status page, guessing it should be set to true
  6568. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  6569. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  6570. * DataGridTableStyle.cs: set proper formatting text, def header text
  6571. * ThemeWin32Classic.cs: new themable paramaters
  6572. * DataGridBoolColumn.cs: paint check box, get data, fixes
  6573. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  6574. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  6575. * DataGridColumnStyle.cs: fixes
  6576. * Theme.cs: new themable paramaters
  6577. 2005-05-26 Peter Bartok <[email protected]>
  6578. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  6579. 2005-05-24 Jonathan S. Chambers <[email protected]>
  6580. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  6581. 2005-05-24 Peter Bartok <[email protected]>
  6582. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  6583. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  6584. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  6585. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  6586. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  6587. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  6588. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  6589. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  6590. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  6591. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  6592. missing attributes, etc
  6593. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  6594. 2005-05-24 Peter Bartok <[email protected]>
  6595. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  6596. when user tries to get help
  6597. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  6598. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  6599. to suppress warnings
  6600. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  6601. avoid unreachable code warning
  6602. 2005-05-20 Peter Bartok <[email protected]>
  6603. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  6604. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  6605. * DataGridTextBoxColumn.cs: Basic painting methods
  6606. * DataGridTableStyle.cs: Set table style in the column
  6607. * ThemeWin32Classic.cs: Use Theme for colors
  6608. * DataGridDrawingLogic.cs: Implement more drawing
  6609. * DataGrid.cs: drawing, theming, enhacements, fixes
  6610. * DataGridColumnStyle.cs: fixes, drawing
  6611. * Theme.cs: theming for Datagrid
  6612. 2005-05-20 Peter Bartok <[email protected]>
  6613. * Cursor.cs: Implemented GetObjectData() method
  6614. 2005-05-20 Peter Bartok <[email protected]>
  6615. * Cursors.cs: Added setting of cursor name
  6616. * Cursor.cs:
  6617. - Implemented constructors
  6618. - Implemented Draw and DrawStretched
  6619. - Implemented Current property
  6620. - Implemented == and != operators
  6621. - Implemented Dispose()
  6622. - Implemented ToString
  6623. - Added missing attributes
  6624. * XplatUIX11.cs:
  6625. - Added missing reset for OverrideCursor when DoEvents is called
  6626. - Fixed creation of cursor, logic was wrong
  6627. * XplatUIWin32.cs:
  6628. - Added missing reset for OverrideCursor when DoEvents is called
  6629. - Fixed creation of cursor, bit arrays were swapped
  6630. * Clipboard.cs: Removed obsolete MonoTODO attribute
  6631. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  6632. * ComboBox.cs: fixes OnSelectedItemChanged
  6633. * ControlBindingsCollection.cs: fixes item range check
  6634. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  6635. * UpDownBase.cs:
  6636. - Calc preferred height properly
  6637. - Implement missing properties
  6638. * NumericUpDown.cs: Implement missing events
  6639. 2005-05-19 Jackson Harper <[email protected]>
  6640. * TabControl.cs: New method that resizes the tab pages before
  6641. redrawing them. This as needed as the control is double buffered
  6642. and sizing will not be recalculated unless ResizeTabPages is
  6643. called.
  6644. * TabPage.cs: Set base.Text instead of Text in the constructor so
  6645. that UpdateOwner does not get called. Use the new Redraw method of
  6646. TabControl instead of Refresh so the sizing is recalculated.
  6647. * ThemeWin32Classic.cs: Draw the text for button tabs.
  6648. 2005-05-19 Jackson Harper <[email protected]>
  6649. * Control.cs: Paint control background images. Fix typo where
  6650. PaintControlBackground was not getting called correctly.
  6651. 2005-05-19 Peter Bartok <[email protected]>
  6652. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  6653. I can investigate, apparently I broke FileDialog
  6654. 2005-05-19 Marek Safar <[email protected]>
  6655. * AxHost.cs: Some simple properties.
  6656. * Control.cs: window must be accessible after ctor.
  6657. * Form.cs: Added TransparencyKey property.
  6658. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  6659. * XplatUIWin32.cs: SetBorderStyle implemented.
  6660. 2005-05-18 Peter Bartok <[email protected]>
  6661. * DataObject.cs: Entries are not global but particular to the
  6662. DataObject, now it behaves that way
  6663. * XplatUIWin32.cs: Implemented Clipboard methods
  6664. * Clipboard.cs: Implemented
  6665. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  6666. * XplatUIOSX.cs: Updated to final clipboard prototypes
  6667. * XplatUIX11.cs: Implemented Clipboard methods
  6668. * XplatUIDriver.cs: Updated to final clipboard prototypes
  6669. * XplatUIStructs.cs:
  6670. - Added BITMAPINFOHEADER struct
  6671. - Added ClipboardFormats enum
  6672. * X11Structs.cs:
  6673. - Added ClipboardStruct
  6674. - Added Atom enum items for clipboard types
  6675. - Fixed atom types for Selection event structures
  6676. * DataFormats.cs:
  6677. - Added internal properties and methods for drivers to enumerate
  6678. all known formats
  6679. - Switched initialization method to allow drivers to assign their
  6680. own IDs even for the MS predefined clipboard IDs
  6681. * XplatUI.cs: Updated to final clipboard interface
  6682. 2005-05-18 Jonathan S. Chambers <[email protected]>
  6683. * PropertyGridView.cs: Fixed compiler warnings.
  6684. 2005-05-18 Jonathan S. Chambers <[email protected]>
  6685. * PropertyGrid.cs: Added some event calls
  6686. * PropertyGridView.cs: Change drawing code to use double buffering
  6687. * PropertyGridTextBox.cs: Changed Text property name
  6688. * GridItem.cs: Added Bounds property.
  6689. * GridEntry.cs: Added Bounds property.
  6690. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  6691. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  6692. since GetType() may not return the correct type if the object is
  6693. a remoting proxy.
  6694. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  6695. * TreeNodeCollection.cs: fixes get/set item ranges
  6696. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  6697. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  6698. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  6699. * ComboBox.cs: Fix item range comparation
  6700. * ListView.cs: Fix item range comparation
  6701. 2005-05-03 Alexander Olk <[email protected]>
  6702. * FontDialog.cs:
  6703. - Clear example panel when OnPaint is called
  6704. - Better solution for displaying the example panel text
  6705. - Select default indexes in the ListBoxes
  6706. 2005-05-11 Geoff Norton <[email protected]>
  6707. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  6708. 2005-05-11 Peter Bartok <[email protected]>
  6709. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  6710. * SelectionRangeConverter.cs: Implemented
  6711. * PropertyGrid.cs: Fixed attribute value
  6712. * Control.cs:
  6713. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  6714. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  6715. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  6716. that's common to all drivers. First methods to go there are
  6717. Sebastien Pouliot's CAS Stack Propagation helper methods
  6718. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  6719. Sebastien Pouliot for CAS Stack Propagation
  6720. 2005-05-11 Geoff Norton <[email protected]>
  6721. * OSXStructs.cs:
  6722. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  6723. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  6724. * DataGridTextBoxColumn.cs: fixed some members
  6725. * GridColumnStylesCollection.cs: indexed column is case insensitive
  6726. * DataGridTableStyle.cs: fixes
  6727. * ThemeWin32Classic.cs: add new theme parameter
  6728. * Theme.cs: add new theme parameter
  6729. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  6730. * DataGrid.cs: fixes, new internal properties, etc.
  6731. * DataGridColumnStyle.cs: allows to set grid value
  6732. *
  6733. 2005-05-10 Peter Bartok <[email protected]>
  6734. * AccessibleObject.cs:
  6735. - Removed MonoTODO attribute on help, method is correct
  6736. - Fixed Bounds property
  6737. * AxHost.cs: Moved MonoTODO
  6738. * ButtonBase.cs: Now setting AccessibleObject properties
  6739. * RadioButton.cs: Setting proper AccessibleObject role
  6740. * CheckBox.cs: Setting proper AccessibleObject role
  6741. * ControlBindingsCollection.cs: Added properties, methods and attributes
  6742. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  6743. userdefined DataFormats.Format items as well
  6744. * ListControl.cs: Removed data_member from the public eye
  6745. * OpenFileDialog.cs:
  6746. - Made class sealed
  6747. - Added missing attributes
  6748. * SaveFileDialog.cs: Added missing attributes
  6749. * ImageListStreamer.cs: Fixed code that caused warnings
  6750. * LinkLabel.cs: Removed unreachable code
  6751. * TreeView.cs: Fixed code that caused warnings
  6752. * PropertyGridView.cs: Fixed code that caused warnings
  6753. * GridColumnStylesCollection.cs: Added missing attributes
  6754. * GridTableStylesCollection: Added missing attribute
  6755. * PropertyManager: Added .ctor
  6756. * SecurityIDType: Added
  6757. * DataObject.cs: Implemented class
  6758. * LinkArea.cs: Added missing attribute
  6759. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  6760. * RadioButton.cs: call base method to allow to fire OnClick event
  6761. * UpDownBase.cs: OnMouseUp call base method
  6762. * CheckedListBox.cs: call base method before returning
  6763. * TrackBar.cs: call base method before returning
  6764. 2005-05-10 Peter Bartok <[email protected]>
  6765. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  6766. for messages
  6767. 2005-05-10 Peter Bartok <[email protected]>
  6768. * DataFormats.cs: Implemented
  6769. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  6770. XplatUIX11.cs: Added Clipboard APIs
  6771. * XplatUIWin32.cs: Implemented Clipboard APIs
  6772. * FolderBrowserDialog.cs: Added missing event, attributes
  6773. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  6774. * CheckBox.cs: call base method to allow to fire OnClick event
  6775. 2005-05-09 Sebastien Pouliot <[email protected]>
  6776. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  6777. 2005-05-06 Peter Bartok <[email protected]>
  6778. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  6779. * Screen.cs: Implemented
  6780. * HelpNavigator.cs: Added
  6781. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  6782. property
  6783. * HelpProvider.cs: Implemented all we can do until we have a CHM
  6784. help library (which means that "What's This" does work now)
  6785. 2005-05-06 Jackson Harper <[email protected]>
  6786. * XplatUIX11.cs: Fix waking up the main loop.
  6787. 2005-05-05 Peter Bartok <[email protected]>
  6788. * XplatUI.cs: Updated revision
  6789. * Form.cs: Removed enless loop
  6790. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  6791. * Label.cs (OnPaint): Added call to base.OnPaint()
  6792. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  6793. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  6794. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  6795. * AxHost.cs: Added
  6796. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  6797. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  6798. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  6799. reuse of ToolTipWindow by other controls
  6800. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  6801. * XplatUIX11.cs: Now clipping drawing area (experimental)
  6802. * PictureBox.cs: Moved base.OnPaint() call to end of method
  6803. * Theme.cs: Fixed ToolTip abstracts to match new format
  6804. * ErrorProvider.cs: Implemented
  6805. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  6806. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  6807. * LinkLabel.cs:
  6808. - Adds cursors
  6809. - Handles focus
  6810. - Implements LinkBehavior
  6811. - Fixes many issues
  6812. 2005-05-03 Jackson Harper <[email protected]>
  6813. * ListView.cs: Calculate the scrollbar positioning on resize and
  6814. paint, so they get put in the correct place.
  6815. 2005-05-03 Alexander Olk <[email protected]>
  6816. * ColorDialogs.cs: The small color panels are now handled by
  6817. SmallColorControl. This fixes drawing of the focus rectangle
  6818. and adds a 3D border.
  6819. 2005-05-03 Peter Bartok <[email protected]>
  6820. * Control.cs: Modified version of Jonathan Chamber's fix for
  6821. double-buffering
  6822. 2005-05-03 Jackson Harper <[email protected]>
  6823. * ListView.cs: Remove redraw variable. Control now handles whether
  6824. or not a redraw needs to be done, and will only raise the paint
  6825. event if redrawing is needed.
  6826. 2005-05-03 Jackson Harper <[email protected]>
  6827. * Splitter.cs: No decorations for the splitter form. Cache the
  6828. hatch brush.
  6829. 2005-05-03 Jackson Harper <[email protected]>
  6830. * TreeView.cs: Use dashed lines to connect nodes. Use the
  6831. ControlPaint method for drawing the focus rect instead of doing
  6832. that in treeview.
  6833. 2005-05-02 Peter Bartok <[email protected]>
  6834. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  6835. 2005-04-29 Jackson Harper <[email protected]>
  6836. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  6837. entire image buffer. Just clear the clipping rectangle.
  6838. 2005-04-29 Jackson Harper <[email protected]>
  6839. * ThemeWin32Classic.cs: Don't draw list view items that are
  6840. outside the clipping rectangle.
  6841. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  6842. * ListBox.cs: added horizontal item scroll
  6843. 2005-04-29 Jackson Harper <[email protected]>
  6844. * ThemeWin32Classic.cs: Remove some old debug code that was
  6845. causing flicker with the new double buffering code.
  6846. 2005-04-29 John BouAntoun <[email protected]>
  6847. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  6848. behave like combobox and comboboxlist (still not sure if this is
  6849. correct though).
  6850. 2005-04-28 Jackson Harper <[email protected]>
  6851. * ThemeWin32Classic.cs: Don't fill the middle of progress
  6852. bars. This fills areas outside of the clip bounds that don't need
  6853. to be filled.
  6854. 2005-04-28 Jackson Harper <[email protected]>
  6855. * Control.cs: Don't expose functionality to touch the image buffers.
  6856. * ProgressBar.cs:
  6857. * ListView.cs: We do not need to (and no longer can) manipulate
  6858. the image buffers directly. All of this is handled by Control.
  6859. 2005-04-28 Peter Bartok <[email protected]>
  6860. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  6861. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  6862. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  6863. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  6864. * Combobox:
  6865. - Adjust control's height for non-simple comboboxes (bug fix)
  6866. - Remove dead code
  6867. * MenuAPI.cs: remove unused var
  6868. * ScrollBar.cs: remove unsed var
  6869. * ListBox.cs: unselect items when clearing
  6870. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  6871. * ListControl.cs: honors OnPositionChanged and default Selected Item
  6872. * ListBox.cs: unselect items when clearing
  6873. 2005-04-27 Jackson Harper <[email protected]>
  6874. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  6875. if a "correct" keyboard is not found. This will make us not crash,
  6876. but might give some users bad keyboard layouts...seems to be the
  6877. same thing rewind does.
  6878. 2005-04-27 Jackson Harper <[email protected]>
  6879. * BindingManagerBase.cs: Attach the current/position changed
  6880. handlers to their respective events.
  6881. 2005-04-27 Jackson Harper <[email protected]>
  6882. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  6883. not just a blit.
  6884. * ThemeWin32Classic.cs: Don't fill the background for picture
  6885. boxes. This could overright user drawing.
  6886. * ComboBox.cs: Just fill the clipping rect not the entire client
  6887. rect when drawing the background. This prevents pieces of the
  6888. image buffer from getting overwritten and is theoretically faster.
  6889. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  6890. * ComboBox.cs: Databinding support fixes, fire missing events
  6891. * ListControl.cs: implement missing methods and properties, fixes
  6892. * ThemeWin32Classic.cs: Databiding support on Drawing
  6893. * CheckedListBox.cs: Databinding support fixes, fire missing events
  6894. * ListBox.cs: Databinding support fixes, fire missing events
  6895. 2005-04-25 Peter Bartok <[email protected]>
  6896. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  6897. 2005-04-25 Jackson Harper <[email protected]>
  6898. * TreeView.cs: Use the horizontal scrollbars height not width when
  6899. determining how much of the client area is available.
  6900. 2005-04-25 Jackson Harper <[email protected]>
  6901. * Control.cs: Double buffering is handled differently now. As per
  6902. the spec, the extra buffer is created in the WM_PAINT message and
  6903. passed down to the control's drawing code.
  6904. * GroupBox.cs:
  6905. * Label.cs:
  6906. * CheckBox.cs:
  6907. * ProgressBar.cs:
  6908. * RadioButton.cs:
  6909. * ColorDialog.cs:
  6910. * ComboBox.cs:
  6911. * PropertyGridView.cs:
  6912. * UpDownBase.cs:
  6913. * MessageBox.cs:
  6914. * MenuAPI.cs:
  6915. * ListView.cs:
  6916. * ButtonBase.cs:
  6917. * SizeGrip.cs:
  6918. * ScrollBar.cs:
  6919. * ListBox.cs:
  6920. * TrackBar.cs:
  6921. * ToolBar.cs:
  6922. * PictureBox.cs:
  6923. * DateTimePicker.cs:
  6924. * StatusBar.cs:
  6925. * TreeView.cs: Update to new double buffering system.
  6926. * MonthCalendar.cs: Uncomment block, as Capture is now
  6927. working. Update to new double buffering
  6928. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  6929. * PaintEventArgs.cs: New internal method allows us to set the
  6930. graphics object. This is used for double buffering.
  6931. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  6932. rectangle. The internal paint_area var has been removed from
  6933. StatusBar. The clipping rect should be used instead.
  6934. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  6935. * TabPage.cs: The RefreshTabs method was removed, so just call the
  6936. tab controls Refresh method now.
  6937. * TabControl.cs: Update to new double buffering. Make sure the
  6938. handle is created before sizing the tab pages, otherwise we will
  6939. get stuck in a loop.
  6940. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  6941. * LinkLabel.cs: Fix typo, bug #74719; patch
  6942. from Borja Sanchez Zamorano
  6943. 2005-04-22 Jackson Harper <[email protected]>
  6944. * TreeNode.cs: Implement Handle stuff.
  6945. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  6946. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  6947. * DataGridTextBoxColumn.cs: call base constructors, fixes
  6948. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  6949. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  6950. * DataGridTableStyle.cs: implements create default column styles
  6951. * DataGridBoolColumn.cs: which types can handle
  6952. * DataGrid.cs: missing methods, fixes, new functionality
  6953. * DataGridColumnStyle.cs: fixes
  6954. 2005-04-20 Alexander Olk <[email protected]>
  6955. * FolderBrowserDialog.cs:
  6956. - Use a thread to fill the TreeView
  6957. - Adjusted some sizes
  6958. 2005-04-19 Peter Bartok <[email protected]>
  6959. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  6960. property. Fixes #74360.
  6961. 2005-04-19 Jackson Harper <[email protected]>
  6962. * XEventQueue.cs: Lock when getting the lockqueue size.
  6963. * PictureBox.cs: Call base OnPaint
  6964. 2005-04-19 Peter Bartok <[email protected]>
  6965. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  6966. messages were no longer being processed (this broke BeginInvoke)
  6967. 2005-04-18 Jackson Harper <[email protected]>
  6968. * TreeView.cs: buglet that caused node images to get drawn
  6969. regardless of whether or not they were in the clipping rectangle.
  6970. 2005-04-18 Jackson Harper <[email protected]>
  6971. * CurrencyManager.cs: There are four rules for GetItemProperties:
  6972. - If the type is an array use the element type of the array
  6973. - If the type is a typed list, use the type
  6974. - If the list contains an Item property that is not an object, use
  6975. that property
  6976. - use the first element of the list if there are any elements in
  6977. the list.
  6978. 2005-04-17 Jackson Harper <[email protected]>
  6979. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  6980. click. This handles offsets for scrolling properly and reduces
  6981. memory. Also fixed GetNode to not offset now that TopNode works
  6982. properly.
  6983. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  6984. 2005-04-17 Jackson Harper <[email protected]>
  6985. * CursorConverter.cs: Initial implementation.
  6986. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  6987. * ListControl.cs: work towards complex data binding support on ListControl
  6988. * CurrencyManager.cs: work towards complex data binding support on ListControl
  6989. * ListBox.cs: work towards complex data binding support on ListControl
  6990. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  6991. * GridTableStylesCollection.cs: fixes name and constructor
  6992. * DataGridTableStyle.cs: fixes
  6993. * DataGridBoolColumn.cs: fixes names and constructors
  6994. * DataGrid.cs: define methods and properties. Some init implementations
  6995. * DataGridCell.cs: define methods and properties. Some init implementations
  6996. * GridTablesFactory.cs: Define methods and properties
  6997. 2005-04-15 Geoff Norton <[email protected]>
  6998. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  6999. graphics port changes. We still want the coordinates in global screen
  7000. coordinates.
  7001. 2005-04-14 Jackson Harper <[email protected]>
  7002. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  7003. check plus minus or checkbox clicks unless those features are enabled.
  7004. 2005-04-14 Jackson Harper <[email protected]>
  7005. * TreeView.cs: Add methods for setting the top and bottom visible
  7006. nodes. TreeNode::EnsureVisible uses these methods.
  7007. * TreeNode.cs: Implement EnsureVisible
  7008. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  7009. * Form.cs: Pospone menu assignation if the window has not been created yet
  7010. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  7011. size and position
  7012. 2005-04-12 Jackson Harper <[email protected]>
  7013. * TreeView.cs: Set the TopNode properly when scrolling
  7014. occurs. This has the added benifit of reducing the amount of
  7015. walking that needs to be done when drawing. Also removed an old
  7016. misleading TODO.
  7017. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  7018. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  7019. * Timer.cs: fixes interval setting when the timer is already enabled
  7020. 2005-04-10 Alexander Olk <[email protected]>
  7021. * FolderBrowserDialog.cs: First approach
  7022. 2005-04-09 Peter Bartok <[email protected]>
  7023. * FolderBrowserDialog: Added
  7024. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  7025. * LinkLabel.cs: move drawing code into the theme
  7026. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  7027. * Theme.cs: define DrawLinkLabel method
  7028. 2005-04-05 Jackson Harper <[email protected]>
  7029. * BindingContext.cs: Use weak references so these bad actors don't
  7030. stay alive longer then they need to.
  7031. 2005-04-05 Jackson Harper <[email protected]>
  7032. * ListControl.cs: Basic implementation of complex databinding.
  7033. * ComboBox.cs:
  7034. * ListBox.cs: Add calls to ListControl databinding methods.
  7035. 2005-04-05 Alexander Olk <[email protected]>
  7036. * FileDialog.cs:
  7037. - Don't change PopupButtonState to Normal when the
  7038. PopupButton gets pressed several times.
  7039. - Renamed ButtonPanel to PopupButtonPanel
  7040. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  7041. * ColorDialog.cs: Use cached objects instead of creating them
  7042. * LinkLabel.cs: Use cached objects instead of creating them
  7043. * Splitter.cs: Use cached objects instead of creating them
  7044. * FontDialog.cs: Use cached objects instead of creating them
  7045. * PropertyGridView.cs: Use cached objects instead of creating them
  7046. * MessageBox.cs: Use cached objects instead of creating them
  7047. * FileDialog.cs: Use cached objects instead of creating them
  7048. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  7049. * TreeView.cs: Use cached objects instead of creating them
  7050. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  7051. * Control.cs: use Equals to compare the font since no == op
  7052. * ScrollBar.cs: use Equals to compare the font since no == op
  7053. 2005-04-04 Alexander Olk <[email protected]>
  7054. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  7055. 2005-04-01 Jackson Harper <[email protected]>
  7056. * Binding.cs: Implement IsBinding.
  7057. * BindingManagerBase.cs:
  7058. * PropertyManager.cs:
  7059. * CurrencyManager.cs: Add IsSuspended property.
  7060. 2005-04-01 Jackson Harper <[email protected]>
  7061. * Binding.cs: Had some IsAssignableFrom calls backwards.
  7062. 2005-04-01 Jackson Harper <[email protected]>
  7063. * Binding.cs: Handle null data members when pulling data.
  7064. * PropertyManager.cs: Handle the data member being a property that
  7065. does not exist.
  7066. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  7067. * DataGridTextBoxColumn.cs: fixes signature
  7068. * DataGrid.cs: calls right constructor
  7069. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  7070. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  7071. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  7072. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  7073. * DataGridTableStyle.cs: implements DataGridTableStyle
  7074. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  7075. * DataGridTextBox.cs: implements DataGridTextBox
  7076. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  7077. 2005-03-31 Alexander Olk <[email protected]>
  7078. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  7079. 2005-03-29 Peter Bartok <[email protected]>
  7080. * Application.cs:
  7081. - Properly implemented CompanyName property
  7082. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  7083. returns a path that includes CompanyName, ProductName and
  7084. Version (fixes bug #70330)
  7085. 2005-03-29 Stefan Buehler <[email protected]>
  7086. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  7087. fixes bug #72588.
  7088. 2005-03-28 Alexander Olk <[email protected]>
  7089. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  7090. - Added ReadOnly CheckBox
  7091. - Further refactoring: moved some code from Open-/SaveFileDialog
  7092. to FileDialog
  7093. 2005-03-28 Alexander Olk <[email protected]>
  7094. * OpenFileDialog.cs: Fixed CheckFileExists
  7095. * FileDialog.cs:
  7096. Moved FileView and DirComboBox outside FileDialog class.
  7097. They can now be used outside FileDialog
  7098. 2005-03-27 Alexander Olk <[email protected]>
  7099. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  7100. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  7101. 2005-03-27 Alexander Olk <[email protected]>
  7102. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  7103. - Added missing CreatePrompt property in SaveDialog
  7104. - Overall SaveDialog handling should be better now
  7105. - Added non standard ShowHiddenFiles property
  7106. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  7107. - Added InitialDirectory and RestoreDirectory support
  7108. 2005-03-26 Alexander Olk <[email protected]>
  7109. * FileDialog.cs: Made dirComboBox usable
  7110. 2005-03-24 Alexander Olk <[email protected]>
  7111. * FileDialog.cs: Added Filter support (case sensitiv)
  7112. 2005-03-24 Jackson Harper <[email protected]>
  7113. * TabControl.cs: Need a couple more pixels for the lines.
  7114. 2005-03-23 Jackson Harper <[email protected]>
  7115. * TabControl.cs: Give the tab page focus when it is selected.
  7116. 2005-03-23 Jackson Harper <[email protected]>
  7117. * TabControl.cs: Account for the drawing of tabs borders when
  7118. invalidating. If the slider was clicked dont do click detection on
  7119. the tabs.
  7120. 2005-03-23 Jackson Harper <[email protected]>
  7121. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  7122. 2005-03-22 Jonathan Chambers <[email protected]>
  7123. * CategoryGridEntry.cs: Added
  7124. * GridItem.cs: Added helper properties
  7125. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  7126. * GridEntry.cs: Updated code for collection
  7127. * PropertyGrid.cs: Cleaned up some formatting
  7128. * PropertyGridView.cs: Added drop down functionality for enums.
  7129. * GridItemCollection.cs: Added enumerator logic
  7130. * PropertyGridEntry.cs: Added
  7131. 2005-03-19 Alexander Olk <[email protected]>
  7132. * FileDialog.cs:
  7133. - Removed unnecessary commented code
  7134. - Fixed handling for entering the filename manually in the combobox
  7135. 2005-03-19 Alexander Olk <[email protected]>
  7136. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  7137. 2005-03-18 Peter Bartok <[email protected]>
  7138. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  7139. them being touching the border
  7140. 2005-03-18 Peter Bartok <[email protected]>
  7141. * TextControl.cs: Quick hack to center text better
  7142. 2005-03-18 Peter Bartok <[email protected]>
  7143. * ControlPaint.cs:
  7144. - Don't throw NotImplemented exceptions, just print a notice once
  7145. instead (requested by Miguel). This makes running existing SWF
  7146. apps a bit easier
  7147. * Control.cs:
  7148. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  7149. - Added context menu trigger on right click
  7150. * Panel.cs: Trigger invalidate on resize
  7151. * StatusBar.cs:
  7152. - Removed old double-buffer drawing
  7153. - Added ResizeRedraw style to force proper update of statusbar
  7154. * ListView.cs:
  7155. - Removed debug output
  7156. * ThemeWin32Classic.cs:
  7157. - Fixed drawing of status bar, now draws Text property if there
  7158. are no defined panels
  7159. 2005-03-18 Jackson Harper <[email protected]>
  7160. * ImageList.cs: When the image stream is set pull all the images
  7161. from it.
  7162. * ImageListStreamer.cs: Implement reading image list streams.
  7163. 2005-03-18 Peter Bartok <[email protected]>
  7164. * ThemeWin32Classic.cs (DrawPictureBox):
  7165. - Fixed calculations for centered drawing
  7166. - Fixed drawing for normal mode, not scaling the image on normal
  7167. 2005-03-18 Peter Bartok <[email protected]>
  7168. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  7169. textbox
  7170. * FileDialog.cs:
  7171. - Made Open/Save button the accept button for FileDialog
  7172. - Tied the cancel button to the IButtonControl cancel button
  7173. - Save/Open now properly builds the pathname
  7174. - Now handles user-entered text
  7175. - Preventing crash on right-click if no item is selected
  7176. - Fixed Text property, now uses contents of textbox
  7177. - Fixed SelectedText property, now just returns the text part that
  7178. is selected in the text box
  7179. 2005-03-18 Jackson Harper <[email protected]>
  7180. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  7181. rect, make sure to de-adjust the interior rect after drawing the
  7182. tab text.
  7183. 2005-03-18 Peter Bartok <[email protected]>
  7184. * MenuAPI.cs: Remove menu *before* executing selected action to
  7185. prevent the menu from 'hanging around'
  7186. 2005-03-17 Geoff Norton <[email protected]>
  7187. * XplatUIOSX.cs: Implemented WorkingArea property
  7188. 2005-03-17 Peter Bartok <[email protected]>
  7189. * XplatUIX11.cs: Fixed menu coord calculations
  7190. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  7191. for calculating offsets
  7192. 2005-03-17 Peter Bartok <[email protected]>
  7193. * Hwnd.cs: Do not consider menu presence for default client
  7194. rectangle location/size
  7195. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  7196. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  7197. translation functions
  7198. * FileDialog.cs: Fixed (what I presume is a) typo
  7199. 2005-03-17 Jonathan Gilbert <[email protected]>
  7200. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  7201. X access (avoids X-Async errors)
  7202. 2005-03-16 Jackson Harper <[email protected]>
  7203. * TabControl.cs: Raise the SelectedIndexChanged event.
  7204. 2005-03-16 Alexander Olk <[email protected]>
  7205. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  7206. - Removed vertical ToolBar and replaced it with a custom panel
  7207. (desktop and home button already work)
  7208. - Added Help button (some controls get resized or relocated then)
  7209. - Draw correct text depending on Open or Save.
  7210. - Fixed some typos...
  7211. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  7212. * ScrollBar.cs:
  7213. - Only change Maximum and Minimum when need it (bug fix)
  7214. 2005-03-15 Peter Bartok <[email protected]>
  7215. * Form.cs: Use Handle for icon, to trigger creation if
  7216. the window does not yet exist
  7217. * Control.cs:
  7218. - CanSelect: Slight performance improvement
  7219. - Focus(): Preventing possible recursion
  7220. - Invalidate(): Removed ControlStyle based clear flag setting
  7221. - WM_PAINT: fixed logic for calling OnPaintBackground
  7222. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  7223. EraseWindowBackground if the control doesn't paint background
  7224. * XplatUIWin32.cs:
  7225. - Moved EraseWindowBackground() method to internal methods
  7226. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  7227. is sent via SendMessage on BeginPaint call on Win32
  7228. * XplatUIX11.cs:
  7229. - Added EraseWindowBackground() method
  7230. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  7231. PaintEventStart, which more closely matches Win32 behaviour
  7232. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  7233. - Fixed SetFocus() to properly deal with client and whole windows
  7234. * Hwnd.cs: Added ErasePending property
  7235. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  7236. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  7237. 2005-03-12 Geoff Norton <[email protected]>
  7238. * XplatUIOSX.cs:
  7239. - Fix hard loop when timers exist.
  7240. - Fix bugs with middle and right click for 3 button mice.
  7241. 2005-03-11 Peter Bartok <[email protected]>
  7242. * XplatUIX11.cs:
  7243. - get_WorkingArea: Need to call X directly, GetWindowPos only
  7244. returns cached data now
  7245. - Added sanity check to GetWindowPos hwnd usage
  7246. 2005-03-11 Jackson Harper <[email protected]>
  7247. * BindingManagerBase.cs: This method isn't used anymore as
  7248. PullData now updates the data in the control.
  7249. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  7250. * Form.cs: fixes menu drawing on X11
  7251. * MenuAPI.cs: fixes menu drawing on X11
  7252. 2005-03-11 Peter Bartok <[email protected]>
  7253. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  7254. from Jonathan Gilbert; should fix bug #73606
  7255. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  7256. in Screen coordinates. Thanks, Jordi.
  7257. * Form.cs: Added missing attribute
  7258. 2005-03-11 Peter Bartok <[email protected]>
  7259. * Form.cs:
  7260. - Rudimentary Mdi support
  7261. - Removed outdated FormParent code
  7262. - Implemented lots of missing properties and methods, still missing
  7263. transparency support
  7264. - Added missing attributes
  7265. - Implemented support for MaximumBounds
  7266. - Added firing of various events
  7267. * XplatUI.cs: Added SetIcon() method
  7268. * XplatUIDriver.cs: Added SetIcon() abstract
  7269. * XplatUIOSX.cs: Stubbed out SetIcon() method
  7270. * XplatUIX11.cs:
  7271. - Implemented SetIcon() support
  7272. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  7273. - Switched to unix line endings
  7274. * XplatUIWin32.cs:
  7275. - Made POINT internal so for can access it as part of MINMAX
  7276. - Implemented SetIcon() support
  7277. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  7278. native Mdi support again, might have to go managed)
  7279. * Control.cs: Now fires the StyleChanged event
  7280. * MdiClient.cs: Added; still mostly empty
  7281. 2005-03-10 Peter Bartok <[email protected]>
  7282. * SaveFileDialog.cs: Added emtpy file
  7283. 2005-03-08 Peter Bartok <[email protected]>
  7284. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  7285. in turn triggers OnCreateContro) when creating a handle for the
  7286. first time.
  7287. * TextControl.cs: Fixed endless loop in certain cases when
  7288. replacing the current selection
  7289. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  7290. * ScrollBar.cs:
  7291. - Honors NewValue changes in Scroll events allowing apps to change it
  7292. - Adds First and Last Scroll events
  7293. - Fixes Thumb events
  7294. 2005-03-07 Peter Bartok <[email protected]>
  7295. * Hwnd.cs: Added DefaultClientRectangle property
  7296. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  7297. more detailed debug information
  7298. * XplatUIX11.cs:
  7299. - Fixed size-change feedback loop, where we would pull an old size
  7300. off the queue and mistakenly change our window's size to an
  7301. earlier value
  7302. - Now compressing ConfigureNotify events, to reduce looping and
  7303. redraw issues
  7304. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  7305. is called
  7306. 2005-03-07 Jackson Harper <[email protected]>
  7307. * Binding.cs: Push data pushes from data -> property. Check if the
  7308. property is readonly when attempting to set it.
  7309. 2005-03-07 Jackson Harper <[email protected]>
  7310. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  7311. instead of IsSubclassOf. Pulling data now sets the value on the
  7312. control.
  7313. * PropertyManager.cs:
  7314. * CurrencyManager.cs: Just need to pull data when updating now,
  7315. because PullData will set the value on the control.
  7316. 2005-03-04 Jackson Harper <[email protected]>
  7317. * Binding.cs: Implement data type parsing and converting on pulled
  7318. data. TODO: Are there more ways the data can be converted?
  7319. 2005-03-04 Jackson Harper <[email protected]>
  7320. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  7321. controls Validating method so we can repull the data when the
  7322. control loses focus.
  7323. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  7324. * ColumnHeader.cs:
  7325. - Fixes null string format
  7326. * ListView.cs:
  7327. - Adds enum type checks
  7328. - Fixes redrawing and recalc need after changing some properties
  7329. - Fixes on focus_item set after the event
  7330. - Fixes adding columns after the control has been created
  7331. * ThemeWin32Classic.cs:
  7332. - Fixes CheckBox focus rectangle
  7333. - Fixes ColumnHeader drawing
  7334. 2005-03-03 Jackson Harper <[email protected]>
  7335. * Binding.cs: Bind to <Property>Changed events so we can detect
  7336. when properties are changed and update the data.
  7337. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  7338. * ImageList.cs:
  7339. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  7340. - Fixes ImageList constructor with ImageList container
  7341. - Fixes image scaling (wrong parameters at DrawImage)
  7342. 2005-02-02 Jackson Harper <[email protected]>
  7343. * Binding.cs: Make property searches case-insensitive. Eliminate
  7344. some duplicated code.
  7345. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  7346. * ComboBox.cs:
  7347. - Handle focus event
  7348. - Fix scrollbar events
  7349. - Discard highlighted item if remove it
  7350. - Fixes SelectedItem with strings
  7351. 2005-03-01 Peter Bartok <[email protected]>
  7352. * Control.cs:
  7353. - Fixed Visible property, now follows (once again) parent chain
  7354. to return false if any control in the chain is visible=false
  7355. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  7356. - Fixed several places where is_visible instead of Visible was used
  7357. - Implemented FIXME related to focus selection when setting focused
  7358. control to be invisible
  7359. * XplatUIWin32.cs: Now using proper method to find out if window is
  7360. visible. Thanks to Jordi for pointing it out
  7361. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  7362. * ComboBox.cs: show/hide scrollbar instead of creating it
  7363. 2005-02-27 Jackson Harper <[email protected]>
  7364. * CurrencyManager.cs: Add PositionChanged stuff.
  7365. 2005-02-27 Peter Bartok <[email protected]>
  7366. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  7367. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  7368. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  7369. * XplatUIX11.cs:
  7370. - Implemented GetMenuDC()
  7371. - Implemented GetMenuOrigin()
  7372. - Implemented ReleaseMenuDC()
  7373. - Implemented generation of WM_NCPAINT message
  7374. - Implemented generation and handling of WM_NCCALCSIZE message
  7375. * Form.cs: Added debug helper message for Jordi's menu work
  7376. * Hwnd.cs:
  7377. - Modified ClientRect property; added setter, fixed getter to handle
  7378. setting of ClientRect
  7379. - Added MenuOrigin property
  7380. 2005-02-26 Peter Bartok <[email protected]>
  7381. * XplatUIX11.cs:
  7382. - Destroys the caret if a window that's being destroyed contains it
  7383. - Ignores expose events coming from the X11 queue for windows that
  7384. already are destroyed
  7385. - Now uses the proper variable for handling DestroyNotify, before we
  7386. marked the wrong window as destroyed
  7387. - Improved/added some debug output
  7388. 2005-02-26 Peter Bartok <[email protected]>
  7389. * X11Keyboard.cs: Fixes to work on 64bit systems
  7390. 2005-02-26 Peter Bartok <[email protected]>
  7391. * Control.cs:
  7392. - Now calling OnHandleDestroyed from DestroyHandle()
  7393. instead of Dispose()
  7394. - Removed bogus call to controls.Remove() from DestroyHandle()
  7395. 2005-02-26 Peter Bartok <[email protected]>
  7396. * Control.cs: Properly destroy child windows when our handle is
  7397. destroyed
  7398. 2005-02-25 Peter Bartok <[email protected]>
  7399. * XplatUI.cs:
  7400. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  7401. - Alphabetized Static Methods and Subclasses
  7402. * XplatUIX11.cs:
  7403. - Added XException class to allow custom handling of X11 exceptions
  7404. - Created custom X11 error handler, tied into XException class
  7405. - Added support for MONO_XEXCEPTIONS env var to allow the user
  7406. to either throw an exception on X errors or continue running
  7407. after displaying the error
  7408. - Added handling of DestroyNotify message
  7409. - Added handler for CreateNotify message (still disabled)
  7410. - Improved (tried to at least) Where method to provide file and lineno
  7411. * X11Structs.cs:
  7412. - Added XErrorHandler delegate
  7413. - Added XRequest enumeration (to suppor translation of errors)
  7414. 2005-02-25 Jackson Harper <[email protected]>
  7415. * PropertyManager.cs: Implement editing features
  7416. * CurrencyManager.cs:
  7417. * Binding.cs: First attempt at UpdateIsBinding
  7418. * BindingManagerBase.cs: Call UpdateIsBinding before
  7419. pushing/pulling data.
  7420. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  7421. * MenuAPI.cs: Respect disabled items
  7422. * ThemeWin32Classic.cs
  7423. - Caches ImageAttributes creation for DrawImageDisabled
  7424. - Fixes vertical menu line drawing
  7425. - Draws disabled arrows in disable menu items
  7426. 2005-02-24 Peter Bartok <[email protected]>
  7427. * Hwnd.cs:
  7428. - Added UserData property to allow associating arbitrary objects
  7429. with the handle
  7430. - Fixed leak; now removing Hwnd references from static windows array
  7431. * XplatUIWin32.cs:
  7432. - Fixed Graphics leak in PaintEventEnd
  7433. - Removed usage of HandleData, switched over to Hwnd class
  7434. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  7435. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  7436. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  7437. * ScrollBar.cs: Fixes bug
  7438. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  7439. keyboard navigation enhancements
  7440. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  7441. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  7442. * GroupBox.cs: Add control styles
  7443. * Label.cs: Add control styles
  7444. * UpDownBase.cs: Add control styles
  7445. * ListBox.cs: Add control styles
  7446. * XplatUIWin32.cs: Fixes wrong parameter order
  7447. 2005-02-23 Chris Bacon <[email protected]>
  7448. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  7449. 2005-02-23 Jackson Harper <[email protected]>
  7450. * PropertyManager.cs: Implement property binding. This doesn't
  7451. seem to work yet though as (I think) there are some bugs in
  7452. System.ComponentModel.PropertyDescriptor.
  7453. * BindingContext.cs: Use new PropertyManager constructor.
  7454. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  7455. * ProgressBar.cs: use clip region in ProgressBar
  7456. * ThemeWin32Classic.cs: use clip region in ProgressBar
  7457. 2004-02-22 Jackson Harper <[email protected]>
  7458. * BindingsCollection.cs: Remove some debug code.
  7459. 2005-02-22 Jackson Harper <[email protected]>
  7460. * BindingContext.cs:
  7461. * ControlBindingsCollection.cs:
  7462. * CurrencyManager.cs:
  7463. * Binding.cs:
  7464. * BindingManagerBase.cs: Initial implementation
  7465. * BindingsCollection.cs: Add an internal contains method that the
  7466. BindingManagerBase uses to ensure bindings aren't added twice to
  7467. the collection.
  7468. * PropertyManager.cs: Stubbed out.
  7469. * Control.cs:
  7470. * ContainerControl.cs: Hook up databinding
  7471. 2005-02-22 Geoff Norton <[email protected]>
  7472. * XplatUIOSX.cs:
  7473. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  7474. Fixed Invalidate/Update chain.
  7475. Fixed tons of other minor bugs (this is almost a complete rewrite).
  7476. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  7477. * ComboBox.cs: do subcontrol creation when the control is created
  7478. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  7479. * Label.cs: fixes image drawing (image and imagelist)
  7480. * ThemeWin32Classic.cs: cache brushes
  7481. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  7482. * Form.cs: Move menu drawing code to Theme class
  7483. * ComboBox.cs: Move ComboBox drawing code to Theme class
  7484. * MenuItem.cs: Move menu drawing code to Theme class
  7485. * MenuAPI.cs: Move menu drawing code to Theme class
  7486. * ThemeWin32Classic.cs: New methods
  7487. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  7488. * ListBox.cs: Move Listbox drawing code to Theme class
  7489. * Theme.cs: New methods
  7490. 2005-02-20 Peter Bartok <[email protected]>
  7491. * Control.cs:
  7492. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  7493. only process mnemonics on those)
  7494. - Fixed event sequence for key handling; first calling
  7495. ProcessKeyEventArgs now
  7496. * TextBoxBase.cs:
  7497. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  7498. for processing non-character keys
  7499. - Fixed WM_CHAR to generate proper event sequence before processing
  7500. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  7501. generation
  7502. 2005-02-19 Peter Bartok <[email protected]>
  7503. * UserControl.cs: Added TextChanged event; added attributes
  7504. * SizeGrip.cs: Implemented resizing and optional display of grip
  7505. * Form.cs: Fixed attribute
  7506. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  7507. Changed meaning of ScrollWindow bool argument; instead of the
  7508. clear attribute (which will be true usually anyway), it gives the
  7509. option of moving child controls as well.
  7510. * XplatUIX11.cs:
  7511. - Changed to match new ScrollWindow argument
  7512. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  7513. now handles the implicit parent window a WM puts around us
  7514. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  7515. to work)
  7516. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  7517. * TreeView.cs: Adjusted to new ScrollWindow arguments
  7518. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  7519. * Form.cs: Menu integration with non-client area
  7520. * MenuItem.cs: Menu integration with non-client area
  7521. * MenuAPI.cs: Menu integration with non-client area
  7522. 2005-02-18 Peter Bartok <[email protected]>
  7523. * MethodInvoker.cs: Added
  7524. * MdiLayout.cs: Added
  7525. * SendKeys.cs: Started implementation
  7526. * ErrorIconAlignment.cs: Added
  7527. 2005-02-18 Peter Bartok <[email protected]>
  7528. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  7529. * Form.cs: Added handling for Menu-related Non-client messages
  7530. 2005-02-17 Peter Bartok <[email protected]>
  7531. * UpDownBase.cs: Fixed typo, compilation errors
  7532. * DomainUpDown.cs: Fixed attribute value
  7533. 2005-02-16 Miguel de Icaza <[email protected]>
  7534. * UpDownBase.cs: Attach entry events.
  7535. Propagate events.
  7536. Add ForeColor property, Focused, InterceptArrowKeys (interception
  7537. does not work yet).
  7538. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  7539. * Form.cs:
  7540. - Redraw non client are on Setmenu
  7541. - Calc proper menu starting point
  7542. 2005-02-17 Peter Bartok <[email protected]>
  7543. * Application.cs: Fixed message_filter check
  7544. 2005-02-17 Peter Bartok <[email protected]>
  7545. * Application.cs: Now calls registered message filters
  7546. * DockStyle.cs: Fixed attribute
  7547. * Form.cs: Fixed attribute
  7548. * Menu.cs: Fixed attribute
  7549. * ToolTip.cs: Fixed attribute
  7550. * TreeNode.cs: Added missing attributes and arranged in regions
  7551. * PropertyGrid.cs: Fixed signatures
  7552. * TreeNodeCollection.cs: Added attributes
  7553. * Splitter.cs: Added missing attributes; arranged into regions
  7554. * TabPage.cs: Added missing attributes; arranged into regions
  7555. * TextBoxBase.cs: Added missing attributes
  7556. * TextBox.cs: Added missing attributes
  7557. * ArrangeDirection.cs: Added missing attributes
  7558. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  7559. * ToolBarButton.cs: Fixed attributes
  7560. * AnchorStyles.cs: Fixed attribute
  7561. * TrackBar.cs: Fixed attributes
  7562. * TabControl.cs: Added missing attributes and arranged into regions
  7563. * ToolBar.cs: Fixed attribute
  7564. * StatusBar.cs: Fixed signature, organized into regions and added
  7565. attributes
  7566. * StatusBarPanel.cs: Fixed attributes
  7567. * ContentsResizedEventArgs.cs: Implemented
  7568. * ContentsResizedEventHandler.cs: Implemented
  7569. * DateBoldEventArgs.cs: Implemented
  7570. * DateBoldEventHandler.cs: Implemented
  7571. * UpDownEventArgs.cs: Implemented
  7572. * UpDownEventHandler.cs: Implemented
  7573. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  7574. * Form.cs: first Menu NC refactoring
  7575. * MenuAPI.cs: first Menu NC refactoring
  7576. 2005-02-16 Peter Bartok <[email protected]>
  7577. * ImeMode.cs: Added missing attributes
  7578. * Menu.cs: Fixed attribute
  7579. * GroupBox.cs: Fixed attribute
  7580. * Label.cs: Fixed attribute
  7581. * ColorDialog.cs (RunDialog): Removed TODO attribute
  7582. * ComboBox.cs: Fixed attributes
  7583. * ListControl.cs: Added missing attributes
  7584. * PropertyGrid.cs: Fixed attributes
  7585. * Control.cs: Fixed attributes
  7586. * ListViewItem.cs: Added TypeConverter attribute
  7587. * NotifyIcon.cs: Fixed attributes
  7588. * ListView.cs: Fixed attributes
  7589. * ButtonBase.cs: Fixed attribute
  7590. * ImageList.cs: Added missing attributes
  7591. * ContainerControl.cs: Fixed signature
  7592. * CheckedListBox.cs: Fixed attribute; added missing attributes
  7593. * Panel.cs: Fixed attributes
  7594. * PropertyTabChangedEventArgs.cs: Added missing attribute
  7595. * PropertyValueChangedEventArgs.cs: Added missing attribute
  7596. * Binding.cs: Fixed attribute
  7597. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  7598. * ListBox.cs: Fixed attribute; added missing attributes;
  7599. * ScrollableControl.cs: Added missing attributes
  7600. * PictureBox.cs: Added missing attributes; implemented missing property
  7601. * DateTimePicker.cs: Added missing attributes
  7602. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  7603. * MonthCalendar.cs: Fixed attributes
  7604. * StatusBarPanel.cs: Added missing attributes
  7605. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  7606. 2005-02-16 Peter Bartok <[email protected]>
  7607. * TextBoxBase.cs: The previous method to enforce height yet remember
  7608. the requested high was less than ideal, this is an attempt to do
  7609. it better.
  7610. * Control.cs: Added comment about possible problem
  7611. * Copyright: Updated format
  7612. * GridItemType.cs: Fixed swapped values
  7613. 2005-02-15 Jackson Harper <[email protected]>
  7614. * BaseCollection.cs: Use property so we never access an
  7615. uninitialized list. Also initialize the list in the property.
  7616. 2005-02-15 Peter Bartok <[email protected]>
  7617. * GroupBox.cs (ProcessMnemonic): Implemented
  7618. * Label.cs (ProcessMnemonic): Implemented
  7619. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  7620. hotkeys
  7621. 2005-02-15 Peter Bartok <[email protected]>
  7622. * RadioButton.cs (ProcessMnemonic): Implemented
  7623. * CheckBox.cs (ProcessMnemonic): Implemented
  7624. * Control.cs:
  7625. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  7626. handling
  7627. - Added internal method to allow calling ProcessMnemonic from other
  7628. controls
  7629. * ContainerControl.cs:
  7630. - Started support for handling validation chain handling
  7631. - Implemented ProcessMnemonic support
  7632. - Added Select() call to Active, to make sure the active control
  7633. receives focus
  7634. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  7635. FormParent rewrite)
  7636. * ThemeWin32Classic.cs:
  7637. - DrawCheckBox(): Fixed stringformat to show hotkeys
  7638. - DrawRadioButton(): Fixed stringformat to show hotkeys
  7639. * CommonDialog.cs: Removed WndProc override, not needed
  7640. 2005-02-14 Peter Bartok <[email protected]>
  7641. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  7642. missed those in the rewrite
  7643. 2005-02-14 Miguel de Icaza <[email protected]>
  7644. * NumericUpDown.cs (Increment, ToString): Add.
  7645. (DecimalPlaces): implement.
  7646. Add attributes.
  7647. * UpDownBase.cs: Add the designer attributes.
  7648. 2005-02-13 Peter Bartok <[email protected]>
  7649. * Panel.cs: Removed border_style, now in Control
  7650. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  7651. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  7652. 2005-02-13 Peter Bartok <[email protected]>
  7653. * MouseButtons.cs: Added missing attributes
  7654. * XplatUIStructs.cs: Added enumeration for title styles
  7655. * LeftRightAlignment.cs: Added missing attributes
  7656. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  7657. it compatible with Graphics.FromHwnd()
  7658. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  7659. * Keys.cs: Added missing attributes
  7660. * SelectionRange.cs: Added missing attributes
  7661. * SelectionRangeConverter.cs: Added
  7662. * XplatUI.cs:
  7663. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  7664. ReleaseMenuDC methods
  7665. - Renamed ReleaseWindow to UngrabWindow
  7666. - Added proper startup notice to allow version identification
  7667. * Form.cs:
  7668. - Added missing attributes
  7669. - Removed FormParent concept
  7670. * Label.cs: Removed border_style field, now in Control
  7671. * RadioButton.cs: Now properly selects RadioButton when focus is
  7672. received
  7673. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  7674. * Control.cs:
  7675. - Added missing attributes
  7676. - Added borderstyle handling
  7677. - Removed FormParent concept support
  7678. - Fixed calls to XplatUI to match changed APIs
  7679. - Fixed bug that would case us to use disposed Graphics objects
  7680. - Removed unneeded internal methods
  7681. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  7682. - SelectNextControl(): Fixed to properly check common parents
  7683. * TextBoxBase.cs: Removed border_style field (now in Control)
  7684. * MessageBox.cs:
  7685. - Patch by Robert Thompson ([email protected]): Added icon support,
  7686. fixed calculations for form size
  7687. - Added support for localized strings and icons
  7688. - Improved form size calculations, added border
  7689. * ListView.cs: Removed border_style field (now in Control)
  7690. * X11Structs.cs: Moved several structs from X11 driver here
  7691. * X11Keyboard.cs: Changed debug message
  7692. * Application.cs: Removed FormParent concept support
  7693. * CommonDialog.cs:
  7694. - Resetting end_modal flag
  7695. - Removed FormParent concept support
  7696. * NativeWindow.cs: Removed FormParent concept support
  7697. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  7698. Client area and Non-Client whole window to allow support for WM_NC
  7699. messages
  7700. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  7701. prevent using it until it supports Hwnd as per Geoff Norton's request
  7702. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  7703. * PictureBox.cs: Removed border_style field, now in Control
  7704. * XplatUIWin32.cs: Added new driver methods
  7705. 2005-02-12 Peter Bartok <[email protected]>
  7706. * OpacityConverter.cs: Implemented
  7707. * Hwnd.cs: Internal class to support drivers that need to emulate
  7708. client area/non-client area window behaviour
  7709. 2005-02-11 Peter Bartok <[email protected]>
  7710. * KeysConverter.cs: Implemented
  7711. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  7712. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  7713. * LinkLabel: Added missing attributes
  7714. * MainMenu.cs: fixes ToString
  7715. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  7716. * ListBox.cs: fixes event position
  7717. * TrackBar.cs: adds missing attributes and events
  7718. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  7719. * MenuItem.cs: Use SystemInformation and bug fixes
  7720. * MenuAPI.cs: Use SystemInformation and bug fixes
  7721. 2005-02-09 Jackson Harper <[email protected]>
  7722. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  7723. their keystate otherwise things like VK_MENU get stuck "on".
  7724. 2005-02-09 Kazuki Oikawa <[email protected]>
  7725. * ListBox.cs: Fixes AddRange bug
  7726. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  7727. * ProgressBar.cs
  7728. - Add missing attributes
  7729. - Add missing method
  7730. * CheckedListBox.cs: Added missing attributes
  7731. - Add missing attributes
  7732. - Remove extra method
  7733. * ComboBox.cs: Added missing attributes
  7734. * VScrollBar.cs: Added missing attributes
  7735. * ScrollBar.cs: Added missing attributes
  7736. * ListBox.cs: Fixes signature, add missing consts
  7737. * LinkArea.cs: Added missing attributes
  7738. 2005-02-08 Peter Bartok <[email protected]>
  7739. * Menu.cs: Added missing attributes
  7740. * MainMenu.cs: Added missing attributes
  7741. * GroupBox.cs: Added missing attributes
  7742. * Label.cs: Added missing attributes
  7743. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  7744. * ColorDialog.cs:
  7745. - Added Instance and Options properties
  7746. - Added missing attributes
  7747. * Cursor.cs: Made Serializable
  7748. * NotifyIcon: Added missing attributes
  7749. * MenuItem.cs: Added missing attributes
  7750. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  7751. * Panel.cs: Added Missing attributes
  7752. * MonthCalendar.cs: Fixed CreateParams
  7753. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  7754. * LinkLabel.cs:
  7755. - Fixes signature
  7756. - Fixes issues with links
  7757. - Adds the class attributes
  7758. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  7759. * ComboBox.cs:
  7760. - Fixes button when no items available in dropdown
  7761. - Fixes repainting problems
  7762. - Adds the class attributes
  7763. 2005-02-07 Geoff Norton <[email protected]>
  7764. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  7765. the current theme. Cache these on startup.
  7766. 2005-02-07 Jackson Harper <[email protected]>
  7767. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  7768. the scrollbar buttons when they are depressed.
  7769. 2005-02-07 Geoff Norton <[email protected]>
  7770. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  7771. Get the display size from the main displayid. We currently dont
  7772. support multiple display configurations.
  7773. 2005-02-07 Geoff Norton <[email protected]>
  7774. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  7775. 2005-02-07 Miguel de Icaza <[email protected]>
  7776. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  7777. 2005-02-05 Jonathan Chambers <[email protected]>
  7778. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  7779. 2005-02-04 Jackson Harper <[email protected]>
  7780. * ThemeWin32Classic.cs: Respect the clipping rect when
  7781. drawing. Only fill the intersection of clips and rects so there
  7782. isn't a lot of large fills.
  7783. * ScrollBar.cs: Pass the correct clipping rect to the theme
  7784. engine. Remove some debug code.
  7785. 2005-02-05 John BouAntoun <[email protected]>
  7786. * DateTimePicker.cs:
  7787. - Fixed crash on DateTime.Parse, use Constructor instead
  7788. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  7789. * MenuItem.cs:
  7790. * MenuAPI.cs:
  7791. - Owner draw support (MeasureItem and DrawItem)
  7792. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  7793. * Menu.cs:
  7794. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  7795. - Fixes MenuItems.Add range
  7796. * MenuItem.cs:
  7797. - MergeMenu and Clone and CloneMenu functions
  7798. 2005-02-03 Jackson Harper <[email protected]>
  7799. * ScrollBar.cs: Make abstract
  7800. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  7801. is abstract.
  7802. 2005-02-03 Jackson Harper <[email protected]>
  7803. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  7804. all the unneeded refreshes and uses invalidates with properly
  7805. computed rects.
  7806. 2005-02-03 Peter Bartok <[email protected]>
  7807. * ComponentModel.cs: Added
  7808. * IDataGridEditingService.cs: Added
  7809. * Timer.cs: Added missing attributes
  7810. * ToolTip.cs: Added missing attributes
  7811. 2005-02-03 Jonathan Chambers <[email protected]>
  7812. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  7813. 2005-02-03 Peter Bartok <[email protected]>
  7814. * ListBox.cs: Added missing attributes
  7815. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  7816. * ListBox.cs:
  7817. - Fixes font height after font change
  7818. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  7819. 2005-02-02 Peter Bartok <[email protected]>
  7820. * HandleData.cs: Introduced static methods to allow class
  7821. to be more self-contained and track it's own HandleData objects
  7822. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  7823. HandleData to use new static methods
  7824. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  7825. * Combobox.cs:
  7826. - Fixes default size and PreferredHeight
  7827. - Missing events
  7828. - ObjectCollection.Insert implementation
  7829. * ListControl.cs
  7830. - Fixes signature
  7831. * ListBox.cs:
  7832. - Several fixes
  7833. - ObjectCollection.Insert implementation
  7834. - No selection after clean
  7835. - Small fixes
  7836. 2005-01-31 John BouAntoun <[email protected]>
  7837. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  7838. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  7839. * Combobox.cs:
  7840. - Caches ItemHeight calculation for OwnerDrawVariable
  7841. - Handles dropdown properly
  7842. - Fixes several minor bugs
  7843. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  7844. * ListBox.cs:
  7845. - Fixes 71946 and 71950
  7846. - Fixes changing Multicolumn on the fly
  7847. - Fixes keyboard navigation on Multicolumn listboxes
  7848. 2005-01-31 Geoff Norton <[email protected]>
  7849. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  7850. crash reporter log.
  7851. 2005-01-31 Geoff Norton <[email protected]>
  7852. * XplatUIOSX.cs: Allow applications to actually exit.
  7853. 2005-01-31 Geoff Norton <[email protected]>
  7854. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  7855. their parent at creation time rather than lazily later. Fixes a major
  7856. regression we were experiencing.
  7857. 2005-01-31 John BouAntoun <[email protected]>
  7858. * ThemeWin32Classic.cs: more date time picker painting fixes
  7859. * DateTimePicker.cs: more monthcalendar drop down fixes
  7860. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  7861. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  7862. * ScrollBar.cs:
  7863. - When moving the thumb going outside the control should stop the moving
  7864. - Adds the firing of missing events
  7865. - Fixes no button show if Size is not specified
  7866. - End / Home keys for keyboard navigation
  7867. 2005-01-30 Peter Bartok <[email protected]>
  7868. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  7869. sanity check to prevent theoretical loop
  7870. * XplatUIWin32.cs (SetVisible): Removed debug output
  7871. * XplatUIX11.cs (SystrayChange): Added sanity check
  7872. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  7873. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  7874. behaviour, valid until the X11 client window rewrite is done
  7875. * TextBox.cs (ctor): Setting proper default foreground and background
  7876. colors
  7877. 2005-01-30 John BouAntoun <[email protected]>
  7878. * Theme: Added DrawDateTimePicker to interface
  7879. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  7880. * DateTimePicker.cs: Created (still needs keys and painting code)
  7881. * DateTimePickerFormat.cs: added
  7882. * MonthCalendar.cs: fixed CreateParams for popup window mode
  7883. 2005-01-29 Peter Bartok <[email protected]>
  7884. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  7885. this should also the calculations for ligher/darker
  7886. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  7887. 2005-01-29 Peter Bartok <[email protected]>
  7888. * ArrangeDirection.cs: Added
  7889. * ArrangeStartingPositon.cs: Added
  7890. * SystemInformation.cs: Implemented
  7891. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  7892. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  7893. used by SystemInformation class
  7894. * X11Strucs.cs: Added XSizeHints structure
  7895. * MenuAPI.cs:
  7896. - Fixed CreateParams to make sure the menu window is always visible
  7897. - TrackPopupMenu: Added check to make sure we don't draw the
  7898. menu offscreen
  7899. 2005-01-29 Peter Bartok <[email protected]>
  7900. * HandleData.cs: Added method for altering invalid area
  7901. * TextBoxBase.cs: Implemented TextLength
  7902. 2005-01-28 Peter Bartok <[email protected]>
  7903. * XplatUIX11.cs: Improvement over last patch, not sending
  7904. the WM_PAINT directly anymore, instead we scroll any pending
  7905. exposed areas and let the system pick out the WM_PAINT later
  7906. 2005-01-28 Peter Bartok <[email protected]>
  7907. * SWF.csproj: Deleted, no longer used. Instead,
  7908. Managed.Windows.Forms/SWF.csproj should be used
  7909. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  7910. directly, to avoid a potential race condition with the next
  7911. scroll
  7912. 2005-01-28 Peter Bartok <[email protected]>
  7913. * XplatUI.cs: Made class internal
  7914. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  7915. * CheckedListBox.cs:
  7916. - Draw focus
  7917. - Fixed Drawing
  7918. - Missing methods and events
  7919. 2005-01-27 Peter Bartok <[email protected]>
  7920. * Application.cs (Run): Don't use form if we don't have one
  7921. 2005-01-27 Peter Bartok <[email protected]>
  7922. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  7923. 2005-01-27 Peter Bartok <[email protected]>
  7924. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  7925. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  7926. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  7927. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  7928. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  7929. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  7930. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  7931. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  7932. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  7933. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  7934. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  7935. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  7936. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  7937. * Combobox.cs:
  7938. - Draw focus on Simple Combobox
  7939. - Fixes drawing issues
  7940. - fixes 71834
  7941. 2005-01-27 Peter Bartok <[email protected]>
  7942. * Form.cs:
  7943. - Place window in default location, instead of hardcoded 0/0
  7944. - Send initial LocationChanged event
  7945. * Control.cs:
  7946. - UpdateBounds after creation to find out where the WM placed us
  7947. - Make sure that if the ParentForm changes location the Form
  7948. is notified
  7949. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  7950. to the root, but to whatever the WM placed around us.
  7951. Translate to root coordinates before returning toplevel
  7952. coordinates
  7953. * XplatUIWin32.cs: Removed debug output
  7954. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  7955. flag to GetWindowPos, to allow translation of coordinates on X11
  7956. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  7957. * ListBox.cs: connect LostFocus Event
  7958. 2005-01-27 Peter Bartok <[email protected]>
  7959. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  7960. XplatUIX11.cs: Extended the Systray API
  7961. * Form.cs: Removed debug output
  7962. * Application.cs: Fixed focus assignment, always need to call
  7963. XplatUI.Activate() since Form.Activate() has rules that may
  7964. prevent activation
  7965. * NotifyIcon.cs: Should be complete now
  7966. * ToolTip.cs: Worked around possible timer bug
  7967. 2005-01-27 Jackson Harper <[email protected]>
  7968. * TabControl.cs:
  7969. - Only invalidate the effected tabs when the
  7970. selected index changes. This reduces drawing and gets rid of some
  7971. flicker.
  7972. - Only refresh if the tabs need to be shifted, otherwise only
  7973. invalidate the slider button.
  7974. - On windows the tabs are not filled to right if the slider is
  7975. visible.
  7976. 2005-01-27 Jackson Harper <[email protected]>
  7977. * TabControl.cs: Only refresh on mouseup if we are showing the
  7978. slider. Also only invalidate the button whose state has changed.
  7979. 2005-01-26 Peter Bartok <[email protected]>
  7980. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  7981. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  7982. and SystrayRemove() methods
  7983. * XplatUIOSX.cs: Stubbed Systray methods
  7984. * XplatUIX11.cs:
  7985. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  7986. methods
  7987. - Fixed broken XChangeProperty calls (marshalling messed up things)
  7988. * X11Structs.cs: Added enums and structs required for Size hinting
  7989. * NotifyIcon.cs: Added & implemented
  7990. 2005-01-26 Jackson Harper <[email protected]>
  7991. * TabControl.cs: Space vertically layed out tabs properly.
  7992. 2005-01-26 Peter Bartok <[email protected]>
  7993. * Form.cs (CreateClientParams): Always set the location to 0,0
  7994. since we're a child window.
  7995. * Control.cs (SetVisibleCore): Always explicitly setting the location
  7996. of a toplevel window, apparently X11 doesn't like to move windows
  7997. while they're not mapped.
  7998. 2005-01-26 Jackson Harper <[email protected]>
  7999. * TabControl.cs: Implement FillToRight size mode with vertically
  8000. rendered tabs.
  8001. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  8002. * ControlPaint.cs, ThemeWin32Classic.cs
  8003. - Fixes DrawFocusRectangle
  8004. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  8005. * MenuAPI.cs:
  8006. - MenuBar tracking only starts when item is first clicked
  8007. - Fixes menu hidding for multiple subitems
  8008. - Unselect item in MenuBar when item Executed
  8009. - Fixes bug 71495
  8010. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  8011. * ListControl.cs:
  8012. - IsInputKey for ListBox
  8013. * ListBox.cs:
  8014. - Focus item
  8015. - Shift and Control item selection
  8016. - Implement SelectionMode.MultiExtended
  8017. - Fixes RightToLeft
  8018. * ComboBox.cs:
  8019. - IsInputKey implemented
  8020. - Do not generate OnTextChangedEdit on internal txt changes
  8021. 2005-01-23 Peter Bartok <[email protected]>
  8022. * AccessibleObject.cs: Partially implemented Select()
  8023. * MonthCalendar.cs: Added missing attributes and events
  8024. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  8025. form can properly override CreateParams.
  8026. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  8027. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  8028. Control performs Invalidate & Update
  8029. * NativeWindow (CreateHandle): Added special handling for Form
  8030. and Form.FormParent classes to allow overriding of From.CreateParams
  8031. * Control.cs:
  8032. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  8033. name 'owner'
  8034. - ControlNativeWindow: Added Owner property
  8035. - Removed usage of Refresh() on property changes, changed into
  8036. Invalidate(), we need to wait until the queue is processed for
  8037. updates, direct calls might cause problems if not all vars for
  8038. Paint are initialized
  8039. - Added call to UpdateStyles() when creating the window, to set any
  8040. styles that CreateWindow might have ignored.
  8041. - Added support for Form CreateParent overrides to UpdateStyles()
  8042. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  8043. CreateParams are now properly overridable
  8044. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  8045. CreateParams are now properly overridable
  8046. 2005-01-23 Miguel de Icaza <[email protected]>
  8047. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  8048. OnTextBoxChanged.
  8049. Capture LostFocus and OnTextBoxChanged. The later introduces a
  8050. recursive invocation that I have not figured out yet.
  8051. Reset the timer when not using (it was accumulating).
  8052. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  8053. user has made changes that require validation.
  8054. Reset changing to avoid loops.
  8055. 2005-01-22 Miguel de Icaza <[email protected]>
  8056. * NumericUpDown.cs: Display value at startup.
  8057. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  8058. ValidateEditText.
  8059. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  8060. filled in. Added some basic parsing of text.
  8061. Still missing the OnXXX method overrides, and figuring out the
  8062. events that must be emitted.
  8063. * UpDownBase.cs: Handle UserEdit on the Text property.
  8064. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  8065. * ComboBox.cs:
  8066. - Fixes IntegralHeight
  8067. - ToString method
  8068. 2005-01-21 Jackson Harper <[email protected]>
  8069. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  8070. is set so that the page visibility is updated and the tabs are
  8071. sized correctly.
  8072. 2005-01-21 Jackson Harper <[email protected]>
  8073. * TabControl.cs: Use cliping rectangle for blitting. Give the
  8074. theme the clipping rect so we can do clipping while
  8075. drawing. Remove some debug code.
  8076. 2005-01-21 Jackson Harper <[email protected]>
  8077. * TabPage.cs: Add a new method so tab pages can force the tab
  8078. control to recalculate the tab page sizes.
  8079. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  8080. sizes.
  8081. 2005-01-20 Jackson Harper <[email protected]>
  8082. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  8083. 2005-01-20 Jackson Harper <[email protected]>
  8084. * TreeView.cs: Set the bounds for nodes properly. They were
  8085. getting screwed up when checkboxes were not enabled, but images
  8086. were.
  8087. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  8088. * ListBox.cs:
  8089. - Owner draw support
  8090. - Fixes
  8091. 2005-01-20 Jackson Harper <[email protected]>
  8092. * XplatUIStructs.cs: More misc keys
  8093. * X11Keyboard.cs: Ignore some control keys.
  8094. 2005-01-20 Jackson Harper <[email protected]>
  8095. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  8096. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  8097. 2005-01-19 Peter Bartok <[email protected]>
  8098. * Control.cs: Un-selecting the control when it is loosing focus
  8099. 2005-01-19 Jackson Harper <[email protected]>
  8100. * TreeView.cs: Hook up to the text controls leave event so we can
  8101. end editing when the users clicks outside the text box.
  8102. 2005-01-19 Jackson Harper <[email protected]>
  8103. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  8104. get set in the conversion array.
  8105. 2005-01-19 Peter Bartok <[email protected]>
  8106. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  8107. focus is properly set
  8108. * Button.cs:
  8109. - Added missing attributes
  8110. - removed styles, those are already set in the base class
  8111. * ButtonBase.cs:
  8112. - Added missing attributes
  8113. - Added clip window styles
  8114. * CheckBox.cs: Added missing attributes
  8115. * CommonDialog.cs:
  8116. - FormParentWindow.CreateParams: Added required clip styles
  8117. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  8118. also filters modifier keys
  8119. * MessageBox.cs:
  8120. - Added assignment of Accept and Cancel button to enable Enter
  8121. and Esc keys in MessageBox dialogs
  8122. - FormParentWindow.CreateParams: Added required clip styles
  8123. * RadioButton.cs: Added missing attributes
  8124. * TextControl.cs: No longer draws selection if control does not
  8125. have focus
  8126. * TextBoxBase.cs:
  8127. - Now draws simple rectangle around test area to make it obvious
  8128. there's a control. This is a hack until we properly support borders
  8129. - A few simple fixes to support selections better, now erases selected
  8130. text when typing, and resets selection when using movement keys
  8131. 2005-01-19 Miguel de Icaza <[email protected]>
  8132. * UpDownBase.cs: Added some new properties.
  8133. * DomainUpDown.cs: Implement a lot to get my test working.
  8134. 2005-01-19 Geoff Norton <[email protected]>
  8135. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  8136. 2005-01-19 Geoff Norton <[email protected]>
  8137. * OSXStructs (WindowAttributes): Fixed csc complaints
  8138. 2005-01-19 Geoff Norton <[email protected]>
  8139. * XplayUIOSX.cs:
  8140. OSXStructs.cs: Initial refactor to move enums and consts into
  8141. OSXStructs and use them in the driver for greater readability.
  8142. 2005-01-19 Geoff Norton <[email protected]>
  8143. * XplatUIOSX.cs: Initial support for Standard Cursors.
  8144. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  8145. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  8146. * ComboBox.cs: ability to change style when the ctrl is already
  8147. created, missing methods and events, bug fixes, signature fixes
  8148. 2005-01-19 Peter Bartok <[email protected]>
  8149. * Cursors.cs (ctor): Added ctor to fix signature
  8150. 2005-01-18 Peter Bartok <[email protected]>
  8151. * Button.cs: Implemented DoubleClick event
  8152. * ButtonBase.cs:
  8153. - Fixed keyboard handling to behave like MS, where the press of
  8154. Spacebar is equivalent to a mousedown, and the key release is
  8155. equivalent to mouseup. Now a spacebar push will give the same
  8156. visual feedback like a mouse click.
  8157. - Added missing attributes
  8158. - Added ImeModeChanged event
  8159. - Added support for generating DoubleClick event for derived classes
  8160. * CheckBox.cs:
  8161. - Implemented DoubleClick event
  8162. - Added missing attributes
  8163. * CommonDialog.cs: Added missing attribute
  8164. * ContextMenu.cs: Added missing attributes
  8165. * RadioButton.cs:
  8166. - AutoChecked buttons do not allow to be unselected when clicked
  8167. (otherwise we might end up with no selected buttons in a group)
  8168. - Added missing attributes
  8169. - Implemented DoubleClickEvent
  8170. * ThreadExceptionDialog.cs: Enabled TextBox code
  8171. 2005-01-18 Peter Bartok <[email protected]>
  8172. * Form.cs: Removed debug output
  8173. * Button.cs: Added support for DoubleClick method
  8174. 2005-01-18 Peter Bartok <[email protected]>
  8175. * Form.cs:
  8176. - Added method to parent window that allows triggering size
  8177. calculations when a menu is added/removed
  8178. - set_Menu: Cleaned up mess from early days of Form and Control,
  8179. now properly triggers a recalc when a menu is added/removed
  8180. - Added case to select form itself as focused form if no child
  8181. controls exist
  8182. - Added PerformLayout call when showing dialog, to ensure properly
  8183. placed controls
  8184. * Control.cs:
  8185. - Select(): Made internal so Form can access it
  8186. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  8187. status
  8188. * Application.cs (Run): Removed hack and calls PerformLayout instead
  8189. to trigger calculation when Form becomes visible
  8190. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  8191. * ComboBox.cs: fixes for ownerdraw
  8192. 2005-01-18 Peter Bartok <[email protected]>
  8193. * TextControl.cs:
  8194. - Sentinel is no longer static, each Document gets it's own, this
  8195. avoids locking or alternatively overwrite problems when more
  8196. than one text control is used simultaneously.
  8197. - Switched to use Hilight and HilightText brushes for text selection
  8198. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  8199. 2005-01-18 Peter Bartok <[email protected]>
  8200. * Control.cs:
  8201. - Hooked up the following events:
  8202. o ControlAdded
  8203. o ControlRemoved
  8204. o HandleDestroyed
  8205. o ImeModeChanged
  8206. o ParentChanged
  8207. o TabStopChanged
  8208. o Invalidated
  8209. o SystemColorsChanged
  8210. o ParentFontChanged
  8211. o Move
  8212. - Removed debug output
  8213. - Added a call to the current theme's ResetDefaults when a color change
  8214. is detected
  8215. * Form.cs: Now setting the proper ImeMode
  8216. * Theme.cs: Defined a method to force recreation of cached resources
  8217. and rereading of system defaults (ResetDefaults())
  8218. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  8219. 2005-01-17 Peter Bartok <[email protected]>
  8220. * Control.cs: Added missing attributes
  8221. 2005-01-17 Jackson Harper <[email protected]>
  8222. * TreeNode.cs: Implement editing. Add missing properties selected
  8223. and visible.
  8224. * TreeView.cs: Implement node editing. Also some fixes to use
  8225. Invalidate (invalid area) instead of Refresh when selecting.
  8226. 2005-01-17 Peter Bartok <[email protected]>
  8227. * Control.cs:
  8228. - Implemented InvokeGotFocus() method
  8229. - Implemented InvokeLostFocus() method
  8230. - Implemented InvokePaint() method
  8231. - Implemented InvokePaintBackground() method
  8232. - Implemented InvokeClick() method
  8233. - Implemented FindForm() method
  8234. - Implemented RectangleToClient() method
  8235. - Implemented ClientToRectangle() method
  8236. - Implemented ResetBackColor() method
  8237. - Implemented ResetCursor() method
  8238. - Implemented ResetFont() method
  8239. - Implemented ResteForeColor() method
  8240. - Implemented ResetImeMode() method
  8241. - Implemented ResetLeftToRight() method
  8242. - Implemented ResetText() method
  8243. - Implemented Scale() methods
  8244. - Implemented ScaleCore() method
  8245. - Implemented Update() method
  8246. - Removed unused variables
  8247. - Stubbed AccessibilityNotifyClients and
  8248. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  8249. with those yet)
  8250. - Now setting proper default for RightToLeft property
  8251. - Fixed bug in SetClientSizeCore that would cause windows to get
  8252. really big
  8253. - Now sending Click/DoubleClick events
  8254. - Now selecting controls when left mouse button is clicked on
  8255. selectable control
  8256. * AccessibleEvents.cs: Added
  8257. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  8258. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  8259. * XplatUIWin32.cs: Implemented UpdateWindow() method
  8260. * XplatUIX11.cs: Implemented UpdateWindow() method
  8261. * Form.cs: Removed stray semicolon causing CS0162 warning
  8262. * ThemeWin32Classic.cs: Fixed unused variable warnings
  8263. * ScrollableControl.cs: Now calls base method for ScaleCore
  8264. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  8265. style to avoid interference with internal click handler (which is
  8266. different than standard Control click handling)
  8267. * RadioButton.cs:
  8268. - Now unchecks all sibling radio buttons when control is
  8269. selected (Fixes #68756)
  8270. - Removed internal tabstop variable, using the one inherited from
  8271. Control
  8272. 2005-01-17 Jackson Harper <[email protected]>
  8273. * NavigateEventArgs.cs: Fix base type.
  8274. * LinkLabel.cs: Sig fix
  8275. 2005-01-17 Jackson Harper <[email protected]>
  8276. * TreeView.cs: Only invalidate the effected nodes bounds when
  8277. selecting nodes.
  8278. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  8279. * XplatUIWin32.cs: fixes Win32 marshaling
  8280. * XplatUIX11.cs: fixes method signature
  8281. 2005-01-17 Peter Bartok <[email protected]>
  8282. * XplatUIX11.cs: Clean up resources when we no longer need them
  8283. 2005-01-17 Peter Bartok <[email protected]>
  8284. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  8285. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  8286. and DestroyCursor() methods.
  8287. * Cursor.cs: Partially implemented, now supports standard cursors;
  8288. still contains some debug code
  8289. * Cursors.cs: Implemented class
  8290. * Control.cs:
  8291. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  8292. appropriate cursor
  8293. - Implemented Cursor property
  8294. - Replaced break; with return; more straightforwar and possibly
  8295. faster
  8296. - Now properly setting the result for WM_HELP
  8297. * X11Structs.cs: Added CursorFontShape enum
  8298. * XplatUIStructs.cs:
  8299. - Added StdCursor enum (to support DefineStdCursor() method)
  8300. - Added HitTest enum (to support sending WM_SETCURSOR message)
  8301. * XplatUIX11.cs:
  8302. - Now sends the WM_SETCURSOR message
  8303. - Implemented new cursor methods
  8304. * XplatUIOSX.cs: Stubbed new cursor methods
  8305. * XplatUIWin32.cs:
  8306. - Implemented new cursor methods
  8307. - Added GetSystemMetrics function and associated enumeration
  8308. 2005-01-15 Peter Bartok <[email protected]>
  8309. * Control.cs:
  8310. - WndProc(): Now handles EnableNotifyMessage
  8311. - SelectNextControl(): Fixed bug where if no child or sibling
  8312. controls exist we looped endlessly
  8313. 2005-01-14 Jackson Harper <[email protected]>
  8314. * TreeView.cs: Recalculate the tab pages when a new one is added
  8315. so that the proper bounding rects are created.
  8316. 2005-01-14 Jackson Harper <[email protected]>
  8317. * TreeView.cs: Draw a gray box instead of a grip in the lower
  8318. right hand corner when there are both horizontal and vertical
  8319. scroll bars.
  8320. 2005-01-14 Jackson Harper <[email protected]>
  8321. * Control.cs: When erasing backgrounds use FromHwnd instead of
  8322. FromHdc when there is a NULL wparam. This occurs on the X driver.
  8323. * XplatUIX11.cs: Set the wparam to NULL.
  8324. 2005-01-13 Jackson Harper <[email protected]>
  8325. * PictureBox.cs: Implement missing methods (except ToString, need
  8326. to test that on windows) and events. When visibility is changed we
  8327. need to redraw the image because the buffers are killed. When size
  8328. is changed refresh if the sizemode needs it.
  8329. 2005-01-13 Peter Bartok <[email protected]>
  8330. * Control.cs (SelectNextControl): Was using wrong method to select
  8331. a control
  8332. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  8333. * ComboBox.cs: fixes dropstyle
  8334. 2005-01-13 Peter Bartok <[email protected]>
  8335. * Form.cs:
  8336. - Implemented Select() override
  8337. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  8338. - Now sets keyboard focus on startup
  8339. * Control.cs (SelectNextControl): Now properly handles directed=true
  8340. * TextBoxBase.cs:
  8341. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  8342. - Added (really bad) focus rectangle (mostly for testing)
  8343. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  8344. to enforce redraw on focus changes
  8345. * ContainerControl.cs:
  8346. - Fixed detection of Shift-Tab key presses
  8347. - Fixed traversal with arrow keys
  8348. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  8349. gonna keep this or if it's complete yet
  8350. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  8351. * ComboBox.cs: missing properties, fixes
  8352. 2005-01-13 Peter Bartok <[email protected]>
  8353. * Panel.cs (ctor): Setting Selectable window style to off
  8354. * Splitter.cs (ctor): Setting Selectable window style to off
  8355. * GroupBox.cs (ctor): Setting Selectable window style to off
  8356. * Label.cs (ctor): Setting Selectable window style to off
  8357. 2005-01-12 Miguel de Icaza <[email protected]>
  8358. * UpDownBase.cs (InitTimer): If the timer has been already
  8359. created, enable it.
  8360. Use a TextBox instead of a Label.
  8361. 2005-01-12 Jackson Harper <[email protected]>
  8362. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  8363. draw the connecting node lines (when ShowLines is true).
  8364. * TreeNode.cs: The nodes index can now be updated. This is used
  8365. when a node collection is sorted.
  8366. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  8367. insert or an existing unsorted node collection can be sorted.
  8368. 2005-01-12 Peter Bartok <[email protected]>
  8369. * ContainerControl.cs: Implemented ProcessDialogKeys()
  8370. 2005-01-12 Peter Bartok <[email protected]>
  8371. * Control.cs:
  8372. - Implemented SelectNextControl() method
  8373. - Several focus related bug fixes
  8374. - Fixed Docking calculations to match MS documentation and
  8375. behaviour
  8376. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  8377. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  8378. bug fixes
  8379. 2005-01-12 Peter Bartok <[email protected]>
  8380. * Control.cs:
  8381. - Fixed broken Contains() method
  8382. - Implemented GetNextControl() method. Finally. This is the pre-
  8383. requisite for focus handling.
  8384. 2005-01-12 Peter Bartok <[email protected]>
  8385. * OSXStrucs.cs: Added
  8386. 2005-01-12 Peter Bartok <[email protected]>
  8387. * XplatUIWin32.cs:
  8388. - Removed PeekMessageFlags
  8389. - Implemented SetWindowStyle() method
  8390. * XplatUIStructs.cs: Added PeekMessageFlags
  8391. * X11Structs: Added missing border_width field to XWindowChanges struct
  8392. * XplatUIX11.cs:
  8393. - PeekMessage: Now throws exception if flags which are not yet
  8394. supported are passed
  8395. - Implemented SetWindowStyle() method
  8396. - Fixed SetZOrder to handle AfterHwnd properly
  8397. * XplatUI.cs: Added SetWindowStyle() method
  8398. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  8399. * Control.cs:
  8400. - Implemented UpdateStyles() method
  8401. - Implemented UpdateZOrder() method
  8402. * XplatUIOSX.cs: Added SetWindowStyle() stub
  8403. 2005-01-12 Geoff Norton <[email protected]>
  8404. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  8405. button mouse).
  8406. 2005-01-11 Jackson Harper <[email protected]>
  8407. * TreeView.cs: Still need to draw lines to siblings even if out of
  8408. the current node is out of the clip.
  8409. 2005-01-11 Jackson Harper <[email protected]>
  8410. * TreeView.cs: When setting the hbar/vbar/grip position use
  8411. SetBounds so that perform layout is only called once. Also suspend
  8412. and resume layout so layout is only done once for all controls.
  8413. - Removed some debug fluff
  8414. * SizeGrip.cs: Call base implmentation in overriding methods.
  8415. - When visibility is changed the drawing buffers are killed so we
  8416. need to redraw.
  8417. 2005-01-11 Jackson Harper <[email protected]>
  8418. * TreeView.cs: Calculate the open node count while drawing. This
  8419. saves us an entire tree traversal for every paint operation. Use
  8420. a member var for the open node count so less vars are passed around.
  8421. 2005-01-11 John BouAntoun <[email protected]>
  8422. * MonthCalendar.cs:
  8423. - fixed selection to use mousemove, not mouse polling on timer
  8424. * ThemeWin32Classic.cs
  8425. - removed redundant unused variable "no_more_content"
  8426. 2005-01-11 Peter Bartok <[email protected]>
  8427. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  8428. are pending, so it now calls PeekMessage instead of GetMessage;
  8429. implemented a incomplete version of PeekMessage
  8430. 2005-01-11 Peter Bartok <[email protected]>
  8431. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  8432. I18n issues
  8433. * TextBoxBase.cs: Added sending of TextChanged event
  8434. 2005-01-10 Jackson Harper <[email protected]>
  8435. * TreeView.cs: Try not to draw outside the clipping rectangle on
  8436. each node element.
  8437. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  8438. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  8439. 2005-01-10 Jackson Harper <[email protected]>
  8440. * TreeView.cs:
  8441. - Implement fast scrolling. Now only the newly
  8442. exposed nodes are drawn and the old image is moved using the
  8443. XplatUI::ScrollWindow method.
  8444. - Factor in height of nodes when calculating whether or not the
  8445. node is in the clipping rect.
  8446. 2005-01-10 Jackson Harper <[email protected]>
  8447. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  8448. 2005-01-10 Peter Bartok <[email protected]>
  8449. * Application.cs: Added temporary hack to resolve all our resize
  8450. required issues on startup. This will get fixed properly at
  8451. some point in the future
  8452. 2005-01-10 Jackson Harper <[email protected]>
  8453. * SizeGrip.cs: New internal class that is used as a sizing
  8454. grip control...hence the name.
  8455. 2005-01-10 Peter Bartok <[email protected]>
  8456. * Control.cs: Implemented proper TabIndex handling, now assigning
  8457. a tabindex when a control is added to a container
  8458. * GroupBox.cs (ctor): Now sets the Container style bit, required
  8459. for Control.GetNextControl()
  8460. 2005-01-09 Jackson Harper <[email protected]>
  8461. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  8462. 2005-01-09 Peter Bartok <[email protected]>
  8463. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  8464. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  8465. an overload for ScrollWindow to allow only scrolling a rectangle
  8466. 2005-01-09 Peter Bartok <[email protected]>
  8467. * Form.cs:
  8468. - Implemented SetDesktopBounds method
  8469. - Implemented SetDesktopLocation method
  8470. 2005-01-08 Jackson Harper <[email protected]>
  8471. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  8472. the node count has changed, this removes to VScroll::Refresh calls
  8473. when drawing.
  8474. 2005-01-08 Geoff Norton <[email protected]>
  8475. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  8476. 2005-01-07 Jackson Harper <[email protected]>
  8477. * TreeNode.cs: Just update the single node when it is
  8478. checked. Don't refresh after toggling, the Expand/Collapse already
  8479. handles this.
  8480. * TreeView.cs: Respect clipping a little more when drawing. Try
  8481. not to redraw things that don't need to be redrawn. Just hide the
  8482. scrollbars when they are no longer needed instead of removing
  8483. them, so they don't have to be created again and again.
  8484. 2005-01-07 Geoff Norton <[email protected]>
  8485. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  8486. coordinates to window space to place the caret properly, FIXED.
  8487. Implement GetWindowState & SetWindowState
  8488. 2005-01-06 Peter Bartok <[email protected]>
  8489. * Form.cs:
  8490. - Implemented ClientSize property
  8491. - Implemented DesktopBounds property
  8492. - Implemented DesktopLocation property
  8493. - Implemented IsRestrictedWindow property
  8494. - Implemented Size property
  8495. - Implemented TopLevel property
  8496. - Implemented FormWindowState property
  8497. * Control.cs:
  8498. - Implemented GetTopLevel() method
  8499. - Implemented SetTopLevel() method
  8500. * X11Structs.cs (Atom):
  8501. - Added AnyPropertyType definition
  8502. - Added MapState definiton and updated XWindowAttribute struct
  8503. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  8504. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  8505. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  8506. * XplatUIWin32.cs:
  8507. - Implemented GetWindowState() and SetWindowState() methods
  8508. - Fixed Win32GetWindowLong return type
  8509. * XplatUIX11.cs:
  8510. - Introduced central function for sending NET_WM messages
  8511. - Implemented GetWindowState() and SetWindowState() methods
  8512. * TextBoxBase.cs (set_Lines):
  8513. - Now uses Foreground color for text added via Text property (Duh!)
  8514. - Added code to remember programmatically requested size (fixes
  8515. behaviour when Multiline is set after Size)
  8516. - Added AutoSize logic
  8517. 2005-01-06 Jackson Harper <[email protected]>
  8518. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  8519. 2005-01-06 Jackson Harper <[email protected]>
  8520. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  8521. set to less then 0.
  8522. 2005-01-06 Jackson Harper <[email protected]>
  8523. * ScrollableControl.cs: Lazy init the scrollbars.
  8524. 2005-01-06 Jackson Harper <[email protected]>
  8525. * Theme.cs: Speed up getting pens and solid brushes, by using
  8526. their ARGB as a hash instead of tostring and not calling Contains.
  8527. 2005-01-06 Peter Bartok <[email protected]>
  8528. * Form.cs:
  8529. - Implemented OnActivated and OnDeactivate event trigger
  8530. - Implemented Activate() method
  8531. - Fixed ShowDialog() to activate the form that was active before
  8532. the dialog was shown
  8533. * XplatUIX11.cs:
  8534. - Added global active_window var that tracks the currently active
  8535. X11 window
  8536. - Now always grabs Property changes from the root window to always
  8537. catch changes on the active window property
  8538. - Added code to PropertyNotify handler to send Active/Inactive
  8539. messages when state changes. This puts X11 and Win32 en par on
  8540. WM_ACTIVATE notifications (except for double notifications when
  8541. the user clicks away from our modal window to another one of our
  8542. windows)
  8543. 2005-01-05 Jackson Harper <[email protected]>
  8544. * ImageList.cs: Implment ctor
  8545. 2005-01-05 Geoff Norton <[email protected]>
  8546. * XplatUIOSX.cs: Implement Activate/SetTopmost
  8547. 2005-01-05 Geoff Norton <[email protected]>
  8548. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  8549. 2005-01-05 Geoff Norton <[email protected]>
  8550. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  8551. 2005-01-05 Peter Bartok <[email protected]>
  8552. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  8553. XplatUIOSX.cs: Added GetActive method to return the currently
  8554. active window for the application (or null, if none is active)
  8555. * Form.cs:
  8556. - Implemented ActiveForm
  8557. - Commented out owner assignment for modal dialogs (causes problems
  8558. on Win32, since the owner will be disabled)
  8559. - Reworked some Active/Focus handling (still incomplete)
  8560. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  8561. (causes problems on Win32, since the owner will be disabled)
  8562. * IWin32Window: Added ComVisible attribute
  8563. 2005-01-05 Peter Bartok <[email protected]>
  8564. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  8565. required XplatUI functions.
  8566. 2005-01-05 Peter Bartok <[email protected]>
  8567. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  8568. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  8569. to implement focus and activation handling; still incomplete and
  8570. with debug output
  8571. 2005-01-04 Peter Bartok <[email protected]>
  8572. * TextBoxBase.cs: Changed access level for Document property to
  8573. match switch to internal for TextControl
  8574. 2005-01-04 Peter Bartok <[email protected]>
  8575. * AccessibleObject: Added ComVisible attribute
  8576. 2005-01-04 Jackson Harper <[email protected]>
  8577. * X11Keyboard.cs: Remove unneeded var.
  8578. 2005-01-04 Jackson Harper <[email protected]>
  8579. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  8580. but PAINT.
  8581. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  8582. ClientMessage. This makes apps exit cleanly (more often).
  8583. 2005-01-04 Jackson Harper <[email protected]>
  8584. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  8585. handling focus, return correct colors and fonts,
  8586. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  8587. handle selection, horizontal scrolling, and mouse interaction.
  8588. 2005-01-04 Peter Bartok <[email protected]>
  8589. * ICommandExecutor.cs: Added
  8590. * IDataGridColumnStyleEditingNotificationService.cs: Added
  8591. * IFeatureSupport.cs: Added
  8592. * IFileReaderService.cs: Added
  8593. * IDataObject.cs: Added ComVisible attribute
  8594. * AmbientProperties.cs: Added
  8595. * BaseCollection.cs: Added missing attributes
  8596. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  8597. * BaseCollection.cs: Added missing attributes
  8598. * Binding.cs: Added TypeConverter attribute
  8599. * BindingContext.cs: Added DefaultEvent attribute
  8600. * BindingsCollection.cs: Added DefaultEvent attribute
  8601. * Button.cs: Added DefaultValue attribute
  8602. * DragEventArgs.cs: Added ComVisible attribute
  8603. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  8604. * KeyEventArgs.cs: Added ComVisible attribute
  8605. * KeyPressEventArgs.cs: Added ComVisible attribute
  8606. * MouseEventArgs.cs: Added ComVisible attribute
  8607. * NavigateEventArgs.cs: Added
  8608. * NavigateEventHandler.cs: Added
  8609. * FeatureSupport.cs: Added
  8610. * OSFeature.cs: Added
  8611. * Theme.cs: Added abstract Version property to support OSFeature
  8612. * ThemeWin32Classic.cs: Added Version property to
  8613. support OSFeature.Themes
  8614. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  8615. the proper styles to avoid background drawing are set, also doesn't
  8616. match MS signature
  8617. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  8618. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  8619. * ScrollEventArgs.cs: Added ComVisible attribute
  8620. * SplitterEventArgs.cs: Added ComVisible attribute
  8621. * AccessibleSelection.cs: Added Flags attribute
  8622. * Appearance.cs: Added ComVisible attribute
  8623. * Border3DSide.cs: Added ComVisible attribute
  8624. * Border3DStyle.cs: Added ComVisible attribute
  8625. * BorderStyle.cs: Added ComVisible attribute
  8626. * DragAction.cs: Added ComVisible attribute
  8627. * ErrorBlinkStyle.cs: Added
  8628. * ScrollEventType.cs: Added ComVisible attribute
  8629. * AnchorStyles.cs: Added Editor attribute
  8630. * DockStyle.cs: Added Editor attribute
  8631. * HorizontalAlignment.cs: Added ComVisible attribute
  8632. * HelpEventArgs.cs: Added ComVisible attribute
  8633. * PaintEventArgs.cs: Added IDisposable
  8634. 2005-01-04 Peter Bartok <[email protected]>
  8635. * TextControl.cs: Switched Line, LineTag and Document classes to
  8636. internal
  8637. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  8638. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  8639. Simple mode, fixes, IntegralHeight, etc.
  8640. 2005-01-04 Peter Bartok <[email protected]>
  8641. * TextBoxBase.cs: Using proper font variable now
  8642. 2005-01-04 Peter Bartok <[email protected]>
  8643. * Form.cs (ShowDialog): Set parent to owner, if provided
  8644. * GroupBox.cs: Removed unused vars
  8645. * TextControl.cs:
  8646. - Added GetHashCode() for Document and LineTag classes
  8647. - Removed unused variables
  8648. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  8649. to allow translation between continuous char position and line/pos
  8650. * CheckBox.cs: Removed vars that are provided by base class
  8651. * RadioButton.cs: Removed vars that are provided by base class, added
  8652. new keyword where required
  8653. * LinkLabel.cs: Added new keyword where required
  8654. * Control.cs (WndProc): Removed unused variable
  8655. * TextBoxBase.cs:
  8656. - Finished SelectionLength property
  8657. - Implemented SelectionStart property
  8658. - Implemented Text property
  8659. - Removed unused vars
  8660. * MessageBox.cs: Added new keyword where required
  8661. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  8662. WndProc signature
  8663. * MenuAPI.cs: Added new keyword where required
  8664. * ButtonBase.cs: Removed vars that are provided by base class, added
  8665. new keyword where required
  8666. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  8667. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  8668. into this)
  8669. * Application.cs (Run): Now triggers the ThreadExit event
  8670. * CommonDialog.cs: Added new keyword where required; now properly sets
  8671. parent (owner) for dialog
  8672. * XplatUIX11.cs: Commented out unused vars
  8673. * StatusBar.cs: Fixed signature for Text property
  8674. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  8675. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  8676. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  8677. TrackBar.cs, MonthCalendar.cs: remove unused vars
  8678. 2005-01-03 Jackson Harper <[email protected]>
  8679. * ThemeWin32Classic.cs:
  8680. * X11Keyboard.cs: Remove unused vars.
  8681. 2005-01-03 Peter Bartok <[email protected]>
  8682. * TextBox.cs:
  8683. - set_Text: Tied into TextControl
  8684. - set_TextAlignment: Tied into TextControl
  8685. * TextControl.cs:
  8686. - Added alignment properties and implemented alignment handling
  8687. and drawing (still has a bug, not generating proper expose events)
  8688. - Added new Line() constructor to allow passing the line alignment
  8689. - Fixed selection setting, properly handling end<start now
  8690. - Added aligment considerations to RecalculateDocument()
  8691. * TextBoxBase.cs:
  8692. - Now properly enforces control height for single line controls
  8693. - Added support for CharacterCasing
  8694. - Added IsInputKey override
  8695. - Fixed Keys.Enter logic
  8696. - Added SetBoundsCore override
  8697. - Fixed mouse selection handling
  8698. 2005-01-03 Jackson Harper <[email protected]>
  8699. * TreeView.cs:
  8700. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  8701. - Checkboxes are always aligned to the bottom of the node,
  8702. regardless of item height.
  8703. - Use the node bounds to draw the text so we can center it when
  8704. the item height is greater then the font height.
  8705. - Node::Bounds are only the text part of the node.
  8706. * TreeNode.cs: New method to combine collapsing and unchecking all
  8707. nodes recursively.
  8708. 2005-01-02 Jackson Harper <[email protected]>
  8709. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  8710. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  8711. tree when a check is changed. TODO: Only refresh the checked node.
  8712. 2004-12-30 Jackson Harper <[email protected]>
  8713. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  8714. * TreeNode.cs: When collapsing make sure to never collapse the
  8715. root node.
  8716. 2004-12-29 Jackson Harper <[email protected]>
  8717. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  8718. 2004-12-28 Zoltan Varga <[email protected]>
  8719. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  8720. 2004-12-28 Peter Bartok <[email protected]>
  8721. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  8722. not yet assigned
  8723. 2004-12-28 Peter Bartok <[email protected]>
  8724. * Control.cs (WndProc): Added WM_HELP handler, now generates
  8725. HelpRequested event
  8726. * Form.cs: Added HelpButton property and required support code
  8727. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  8728. 2004-12-28 Peter Bartok <[email protected]>
  8729. * CommonDialog.cs:
  8730. - Made DialogForm.owner variable internal
  8731. - Added check to ensure owner form is set before setting
  8732. owner properties in CreateParams
  8733. 2004-12-28 Geoff Norton <[email protected]>
  8734. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  8735. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  8736. GetCursorPos. Fix major visibility issues. Rework the windowing
  8737. system to support borderless/titleless windows (implements menus).
  8738. Fix GetWindowPos. Implement initial background color support for
  8739. views.
  8740. 2004-12-28 Peter Bartok <[email protected]>
  8741. * Form.cs (get_CreateParams): Make sure we have an owner before using
  8742. the owner variable. Implement proper default if no owner exists
  8743. 2004-12-28 Peter Bartok <[email protected]>
  8744. * In preparation for making Managed.Windows.Forms the default build target
  8745. for System.Windows.Forms, the following stubbed files were added.
  8746. Dialogs are currently being implemented by contributors and are only
  8747. short-term place holders.
  8748. * ColorDialog.cs: Initial check-in (minmal stub)
  8749. * DataGrid.cs: Initial check-in (minimal stub)
  8750. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  8751. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  8752. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  8753. * FontDialog.cs: Initial check-in (minimal stub)
  8754. * FileDialog.cs: Initial check-in (minimal stub)
  8755. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  8756. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  8757. * OpenFileDialog: Initial check-in (minimal stub)
  8758. * IComponentEditorPageSite.cs: Initial check-in
  8759. * Splitter.cs: Initial check-in (for Jackson)
  8760. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  8761. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  8762. * TextBox.cs: Initial check-in; still needs some wiring to
  8763. TextControl backend
  8764. * Form.cs: Implemented ControlBox property
  8765. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  8766. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  8767. * TextControl.cs: Added selection functionality; added todo header
  8768. * TextBoxBase.cs:
  8769. - Implemented Lines property
  8770. - Implemented TextHeight property
  8771. - Implemented SelectedText property
  8772. - Implemented SelectionLength property
  8773. - Implemented SelectAll method
  8774. - Implemented ToString method
  8775. - Removed and cleaned up some debug code
  8776. - Implemented (still buggy) mouse text selection
  8777. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  8778. * ComboBox.cs: Complete DropDownList implementation, fixes.
  8779. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  8780. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  8781. * ComboBoxStyle.cs: ComboBoxStyle enum
  8782. * ComboBox.cs: Initial work on ComboBox control
  8783. 2004-12-21 Peter Bartok <[email protected]>
  8784. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  8785. forward so that anything that creates a window gets the default,
  8786. also no longer uses Visible property in CreateParams to avoid
  8787. walking up the parent chain and possibly get the wrong visible
  8788. status. Fixed IsVisible to no longer walk up to the parent.
  8789. 2004-12-21 Peter Bartok <[email protected]>
  8790. * Form.cs (ShowDialog): Unset modality for the proper window
  8791. 2004-12-20 Peter Bartok <[email protected]>
  8792. * CommonDialog.cs: Initial check-in
  8793. 2004-12-20 Peter Bartok <[email protected]>
  8794. * Control.cs (Visible): Now uses the parent window instead of the
  8795. client area window for the property
  8796. * Form.cs
  8797. - ShowDialog(): Now uses the proper window for modality
  8798. - The default visibility state for the form parent is now false. This
  8799. will prevent the user from seeing all the changes to the form and
  8800. its controls before the application hits Application.Run()
  8801. - Removed some stale commented out code
  8802. * NativeWindow.cs:
  8803. - Added FindWindow() method to have a method to check for existence
  8804. of a window handle
  8805. - Added ability to override default exception handling (for example
  8806. when debugging with VS.Net; to do this the ExternalExceptionHandler
  8807. define must be set
  8808. - Removed some useless debug output
  8809. * XplatUIX11.cs:
  8810. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  8811. not working as expected
  8812. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  8813. property to allow switching back to the modal window if focus is
  8814. given to another one of our windows (Application Modal)
  8815. - Now only sets override_redirect if we create a window
  8816. without WS_CAPTION
  8817. - Moved EventMask selection before mapping of newly created window
  8818. so we can catch the map event as well
  8819. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  8820. - Added various Atom related DllImports
  8821. - Implemented Exit() method
  8822. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  8823. in the CreateParams
  8824. * MessageBox.cs: Now properly deals with the FormParent window by
  8825. providing an override the FormParent CreateParams property to
  8826. set as POPUP instead of OVERLAPPED window.
  8827. 2004-12-19 Geoff Norton <[email protected]>
  8828. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  8829. Minor code cleanup.
  8830. 2004-12-19 Geoff Norton <[email protected]>
  8831. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  8832. 2004-12-18 Peter Bartok <[email protected]>
  8833. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  8834. implementing SetModal() method
  8835. 2004-12-18 Peter Bartok <[email protected]>
  8836. * X11Structs.cs (XGCValues): Fixed type of function element
  8837. * XplatUI.cs: Added ScrollWindow() method
  8838. * XplatUIDriver.cs: Added ScrollWindow() abstract
  8839. * XplatUIWin32.cs: Implemented ScrollWindow() method
  8840. * XplatUIX11.cs: Implemented ScrollWindow() method
  8841. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  8842. 2004-12-17 Geoff Norton <[email protected]>
  8843. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  8844. Some more keyboard support (INCOMPLETE)
  8845. 2004-12-17 Peter Bartok <[email protected]>
  8846. * TextControl.cs:
  8847. - Added color attribute to line tags.
  8848. - Added color argument to all functions dealing with tags
  8849. - Added color argument support to various functions
  8850. - Fixed miss-calculation of baseline/shift in certain circumstances
  8851. * TextBoxBase.cs: Added new color option to test code
  8852. 2004-12-17 Jackson Harper <[email protected]>
  8853. * TreeNode.cs:
  8854. * MonthCalendar.cs: Signature fixes
  8855. 2004-12-17 Geoff Norton <[email protected]>
  8856. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  8857. keyboard event moved it. Create a new graphics context for each paint resolves this
  8858. 2004-12-17 Geoff Norton <[email protected]>
  8859. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  8860. Make caret exist and go blink blink. Initial keyboard support.
  8861. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  8862. works.
  8863. 2004-12-17 Jackson Harper <[email protected]>
  8864. * XplatUIStructs.cs: Updated set of virtual keycodes.
  8865. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  8866. 2004-12-17 Jackson Harper <[email protected]>
  8867. * XplatUIX11.cs: Prune old keyboard code.
  8868. 2004-12-17 Jackson Harper <[email protected]>
  8869. * XplatUIX11.cs: When generating mouse wparams get the modifier
  8870. keys from the ModifierKeys property.
  8871. 2004-12-17 Jackson Harper <[email protected]>
  8872. * X11Keyboard.cs: Send up/down input when generating
  8873. messages. Remove some unused vars.
  8874. 2004-12-17 Jackson Harper <[email protected]>
  8875. * TabControl.cs:
  8876. * TreeView.cs: get rid of warnings.
  8877. 2004-12-17 Jackson Harper <[email protected]>
  8878. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  8879. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  8880. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  8881. CheckedListBox.cs: Implementation
  8882. 2004-12-17 Peter Bartok <[email protected]>
  8883. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  8884. 2004-12-16 Peter Bartok <[email protected]>
  8885. * TextControl.cs:
  8886. - InsertCharAtCaret(): Fixed start pos fixup
  8887. - CaretLine_get: No longer derives the line from the tag, the tag
  8888. could be stale if lines in the document have been added or deleted
  8889. - RebalanceAfterDelete(): Fixed bug in balancing code
  8890. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  8891. - Line.Streamline(): Now can also elminate leading empty tags
  8892. - DumpTree(): Added a few more tests and prevented exception on
  8893. uninitialized data
  8894. - Added Debug section for Combining lines
  8895. - Delete(): Now copies all remaining properties of a line
  8896. * TextBoxBase.cs:
  8897. - Left mousebutton now sets the caret (and middle button still acts
  8898. as formatting tester, which must go away soon)
  8899. - Added Debug section for Deleting/Combining lines
  8900. - Fixed calculations for UpdateView after Combining lines
  8901. 2004-12-16 Peter Bartok <[email protected]>
  8902. * TextControl.cs: Now properly aligns text on a baseline, using the
  8903. new XplatUI.GetFontMetrics() method. Simplified several calculations
  8904. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  8905. defined
  8906. 2004-12-16 Peter Bartok <[email protected]>
  8907. * XplatUI.cs: Added GetFontMetrics() method
  8908. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  8909. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  8910. into libgdiplus, our private GetFontMetrics function
  8911. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  8912. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  8913. 2004-12-16 Jackson Harper <[email protected]>
  8914. * XplatUIStruct.cs: Add enum for dead keys
  8915. * X11Keyboard.cs: Map and unmap dead keys.
  8916. 2004-12-16 Jackson Harper <[email protected]>
  8917. * X11Keyboard.cs: Detect and use the num lock mask.
  8918. 2004-12-16 Peter Bartok <[email protected]>
  8919. * Control.cs (CreateGraphics): Added check to make sure the
  8920. handle of the window exists before calling Graphics.FromHwnd()
  8921. 2004-12-16 Peter Bartok <[email protected]>
  8922. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  8923. contains a lot of code that's not supposed to be there for the
  8924. real thing, but required for developing/testing the textbox
  8925. backend.
  8926. 2004-12-16 Peter Bartok <[email protected]>
  8927. * TextControl.cs:
  8928. - Fixed Streamline method
  8929. - Added FindTag method to Line
  8930. - Added DumpTree method for debugging
  8931. - Added DecrementLines() method for deleting lines
  8932. - Fixed UpdateView to update the cursor to end-of-line on single-line
  8933. updates
  8934. - Added PositionCaret() method
  8935. - Fixed MoveCaret(LineDown) to move into the last line, too
  8936. - Added InsertChar overload
  8937. - Fixed InsertChar tag offset calculations
  8938. - Added DeleteChar() method
  8939. - Added Combine() method for folding lines
  8940. - Fixed Delete() method, no longer allocates wasted Line object and
  8941. now copies all properties when swapping nodes
  8942. - Delete() method now updates document line counter
  8943. 2004-12-15 Jackson Harper <[email protected]>
  8944. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  8945. * X11Keyboard.cs: Expose the currently selected modifier keys
  8946. through a property.
  8947. 2004-12-15 Peter Bartok <[email protected]>
  8948. * TextControl.cs: Initial check-in. Still incomplete
  8949. 2004-12-15 Jackson Harper <[email protected]>
  8950. * TreeNode.cs:
  8951. * TreeView.cs: Fix build on csc (second time today ;-))
  8952. 2004-12-15 Jackson Harper <[email protected]>
  8953. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  8954. is calculated and use this for click testing.
  8955. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  8956. 2004-12-15 Jackson Harper <[email protected]>
  8957. * TreeView.cs: Pass the nodes image index to the image list when
  8958. drawing that image.
  8959. 2004-12-15 Jackson Harper <[email protected]>
  8960. * X11Keyboard.cs: Set messages hwnd.
  8961. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  8962. post_message calls.
  8963. 2004-12-15 Jackson Harper <[email protected]>
  8964. * X11Keyboard.cs: Fix to compile with csc.
  8965. 2004-12-15 Jackson Harper <[email protected]>
  8966. * X11Structs.cs: Add key mask values
  8967. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  8968. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  8969. down/up foo into WM_CHAR foo
  8970. * KeyboardLayouts.cs: Common keyboard layouts
  8971. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  8972. post messages into the main queue.
  8973. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  8974. * Button.cs: implement ProcessMnemonic
  8975. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  8976. brushes everytime
  8977. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  8978. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  8979. 2004-12-12 John BouAntoun <[email protected]>
  8980. * MonthCalendar.cs: Implemented click-hold for next/previous month
  8981. and date selection
  8982. 2004-12-11 Peter Bartok <[email protected]>
  8983. * X11Structs.cs:
  8984. - Added XKeyboardState (moved from XplatUIX11.cs)
  8985. - Added XCreateGC related enums and structures
  8986. - Added GXFunction for XSetFunction
  8987. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  8988. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  8989. CaretVisible() calls
  8990. * ToolTip.cs: Added code to prevent stealing focus from app windows
  8991. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  8992. DestroyCaret, SetCaretPos and CaretVisible)
  8993. * XplatUIX11.cs:
  8994. - Added implementation for caret functions
  8995. - Moved hover variables into a struct, to make it a bit easier
  8996. on the eyes and to debug
  8997. - Removed XKeyboardState (moved to XplatUIX11.cs)
  8998. - Moved Keyboard properties into the properties region
  8999. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  9000. call to get a graphics context for our control
  9001. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  9002. * TreeView.cs: Fixed bug. No matter what color was set it would always
  9003. return SystemColors.Window
  9004. * XplatUIWin32.cs: Implemented caret overrides
  9005. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  9006. * ListBox.cs: fire events, implement missing methods and properties,
  9007. sorting.
  9008. 2004-12-10 John BouAntoun <[email protected]>
  9009. * MonthCalendar.cs: invalidation bug fixing
  9010. * ThemeWin32Classic.cs: paint fixing
  9011. 2004-12-09 Geoff Norton <[email protected]>
  9012. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  9013. prepare the CGContextRef there now.
  9014. 2004-12-09 John BouAntoun <[email protected]>
  9015. * MonthCalendar.cs:
  9016. - optimisationL only invalidate areas that have changed
  9017. * ThemeWin32Classic.cs:
  9018. - only paint parts that intersect with clip_area
  9019. 2004-12-09 Peter Bartok <[email protected]>
  9020. * Application.cs: Undid changes from r37004 which cause problems
  9021. on X11
  9022. 2004-12-09 Ravindra <[email protected]>
  9023. * ToolBar.cs: Added support for displaying ContextMenu
  9024. attached to a button on ToolBar.
  9025. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  9026. property.
  9027. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  9028. * Label.cs: autosize works in text change and removes unnecessary
  9029. invalidate
  9030. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  9031. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  9032. remove warnings
  9033. 2004-12-08 Geoff Norton <[email protected]>
  9034. * XplatUIOSX.cs: Added mouse move/click/grab support
  9035. Remove some debugging WriteLines not needed anymore.
  9036. Add window resizing/positioning.
  9037. Fix visibility on reparenting.
  9038. 2004-12-08 Peter Bartok <[email protected]>
  9039. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  9040. 2004-12-07 Geoff Norton <[email protected]>
  9041. * XplatUIOSX.cs: Initial checkin
  9042. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  9043. 2004-12-03 Ravindra <[email protected]>
  9044. * ListView.cs: Added some keybindings and fixed scrolling.
  9045. ScrollBars listen to ValueChanged event instead of Scroll
  9046. Event. This would let us take care of all changes being
  9047. done in the scrollbars' values programmatically or manually.
  9048. * ListView.cs (CanMultiselect): Added a check for shift key.
  9049. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  9050. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  9051. of ListViewSubItemCollection as well.
  9052. 2004-12-06 Peter Bartok <[email protected]>
  9053. * Control.cs (Parent): Added check and exception to prevent
  9054. circular parenting
  9055. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  9056. * ListBox.cs: implemented clipping, selection single and multiple,
  9057. bug fixing
  9058. 2004-12-03 Ravindra <[email protected]>
  9059. * ListView.cs (ListView_KeyDown):
  9060. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  9061. when CTRL key is pressed.
  9062. * ListViewItem.cs (Selected): Fixed setting the property.
  9063. 2004-12-03 Marek Safar <[email protected]>
  9064. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  9065. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  9066. MinimizeBox, ShowInTaskbar, TopMost properties.
  9067. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  9068. will be implemented).
  9069. 2004-12-03 Marek Safar <[email protected]>
  9070. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  9071. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  9072. tests.
  9073. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  9074. * TreeView.cs: BackColor is Colors.Window.
  9075. 2004-12-01 Jackson Harper <[email protected]>
  9076. * TreeView.cs: When resizing the tree if the user is making it
  9077. smaller we don't get expose events, so we need to handle adding
  9078. the horizontal scrollbar in the size changed handler as well as
  9079. the expose handler.
  9080. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  9081. * DrawItemState.cs: fixes wrong enum values
  9082. 2004-12-01 Jackson Harper <[email protected]>
  9083. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  9084. 2004-12-01 Jackson Harper <[email protected]>
  9085. * NodeLabelEditEventArgs.cs:
  9086. * NodeLabelEditEventHandler.cs:
  9087. * OpenTreeNodeEnumerator.cs:
  9088. * TreeNode.cs:
  9089. * TreeNodeCollection.cs:
  9090. * TreeView.cs:
  9091. * TreeViewAction.cs:
  9092. * TreeViewCancelEventArgs.cs:
  9093. * TreeViewCancelEventHandler.cs:
  9094. * TreeViewEventArgs.cs:
  9095. * TreeViewEventHandler.cs: Initial implementation.
  9096. 2004-12-01 Ravindra <[email protected]>
  9097. * ListView.cs (CalculateListView): Fixed scrolling related
  9098. calculations. Also, removed some debug statements from other
  9099. places.
  9100. * ListViewItem.cs: Changed access to 'selected' instance variable
  9101. from private to internal.
  9102. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  9103. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  9104. * ThemeWin32Classic.cs: remove cache of brush and pens for
  9105. specific controls and use the global system, fixes scrollbutton
  9106. bugs (for small sizes, disabled, etc)
  9107. * ScrollBar.cs: does not show the thumb for very small controls
  9108. (as MS) and allow smaller buttons that the regular size
  9109. 2004-12-01 Miguel de Icaza <[email protected]>
  9110. * UpDownBase.cs: Add abstract methods for the interface.
  9111. Add new virtual methods (need to be hooked up to TextEntry when it
  9112. exists).
  9113. Add override methods for most features.
  9114. Computes the size, forces the height of the text entry.
  9115. * NumericUpDown.cs: Put here the current testing code.
  9116. * Set eol-style property on all files that do not have mixed line
  9117. endings, to minimize the future problems. There are still a few
  9118. files with mixed endings, and someone should choose whether they
  9119. want to move it or not.
  9120. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  9121. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  9122. System.Colors
  9123. 2004-11-30 Ravindra <[email protected]>
  9124. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  9125. drawing and replaced use of SystemColors by theme colors.
  9126. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  9127. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  9128. same ListViewItem is being added more than once.
  9129. 2004-11-30 John BouAntoun <[email protected]>
  9130. * MonthCalendar.cs:
  9131. - ControlStyles love to make the control not flicker
  9132. 2004-11-30 Peter Bartok <[email protected]>
  9133. * CharacterCasing.cs: Added
  9134. 2004-11-29 Peter Bartok <[email protected]>
  9135. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  9136. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  9137. I am removing these files as they conflict with already completed
  9138. work. While it is fantastic to get contributions to MWF, I
  9139. respectfully ask that everyone please coordinate their contributions
  9140. through mono-winforms-list or #mono-winforms at this time. We're
  9141. explicitly avoiding stubbing and don't want controls that don't have
  9142. their basic functionality implemented in svn. Please also see
  9143. http://www.mono-project.com/contributing/winforms.html
  9144. 2004-11-29 Marek Safar <[email protected]>
  9145. * Application.cs (ModalRun): Don't hang after exit.
  9146. * Theme.cs: New TreeViewDefaultSize property.
  9147. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  9148. with less hardcoded SystemColors constant.
  9149. Implemented TreeViewDefaultSize.
  9150. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  9151. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  9152. 2004-11-29 John BouAntoun <[email protected]>
  9153. * MonthCalendar.cs:
  9154. - Fix NextMonthDate and PrevMonthDate click moving calendar
  9155. 2004-11-26 John BouAntoun <[email protected]>
  9156. * MonthCalendar.cs:
  9157. - Fix usage of ScrollChange Property when scrolling months
  9158. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  9159. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  9160. - Fixes menu destroying
  9161. - Support adding and removing items on already created menus
  9162. 2004-11-26 John BouAntoun <[email protected]>
  9163. * MonthCalendar.cs:
  9164. - Re-worked all bolded dates handling to match win32
  9165. * ThemeWin32Classic.cs:
  9166. - Fixed rendering with bolded dates
  9167. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  9168. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  9169. - Horizontal scroolbar
  9170. - Multicolumn
  9171. - Fixes
  9172. 2004-11-25 John BouAntoun <[email protected]>
  9173. * MonthCalendar.cs:
  9174. - Fix Usage of MaxSelectionCount from SelectionRange
  9175. - Fixed Shift + Cursor Selection
  9176. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  9177. - Fixed normal cursor selection to be compat with win32
  9178. - Fixed Shift + Mouse Click selection
  9179. 2004-11-24 Peter Bartok <[email protected]>
  9180. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  9181. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  9182. * XplatUIX11.cs:
  9183. - CreatedKeyBoardMsg now updates keystate with Alt key
  9184. - Added workaround for timer crash to CheckTimers, Jackson will
  9185. develop a proper fix and check in later
  9186. - Implemented DispatchMessage
  9187. - Removed calling the native window proc from GetMessage (call
  9188. now moved to DispatchMessage)
  9189. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  9190. the keydata (Fixes bug #69831)
  9191. * XplatUIWin32.cs:
  9192. - (DispatchMessage): Switched to return IntPtr
  9193. - Added DllImport for SetFocus
  9194. 2004-11-24 Ravindra <[email protected]>
  9195. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  9196. background drawing.
  9197. * ListViewItem.cs: Fixed various properties, calculations
  9198. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  9199. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  9200. and some internal properties. Fixed MouseDown handler and Paint
  9201. method.
  9202. 2004-11-24 John BouAntoun <[email protected]>
  9203. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  9204. 2004-11-24 John BouAntoun <[email protected]>
  9205. * ContainerControl.cs: correct accidental check in of local changes
  9206. 2004-11-24 John BouAntoun <[email protected]>
  9207. * ThemeWin32Classic.cs:
  9208. - Fixed Drawing Last month in grid (sometimes not showing)
  9209. * MonthCalendar.cs:
  9210. - Fixed title width calculation bug (makeing title small)
  9211. 2004-11-23 Peter Bartok <[email protected]>
  9212. * XplatUIX11.cs:
  9213. - Added generation of WM_MOUSEHOVER event
  9214. - Added missing assignment of async_method atom
  9215. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  9216. 2004-11-23 John BouAntoun <[email protected]>
  9217. * ThemeWin32Classic.cs:
  9218. - Fixed Drawing of today circle when showtodaycircle not set
  9219. - fixed drawing of first and last month in the grid (gay dates)
  9220. * MonthCalendar.cs:
  9221. - Fixed Drawing of today circle
  9222. - Fixed drawing of grady dates
  9223. - Fixed HitTest for today link when ShowToday set to false
  9224. - Fixed DefaultSize to obey ShowToday
  9225. 2004-11-23 John BouAntoun <[email protected]>
  9226. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  9227. * System.Windows.Forms/Theme.cs
  9228. * MonthCalendar.cs: added for MonthCalendar
  9229. * SelectionRange.cs: added for MonthCalendar
  9230. * Day.cs: added for MonthCalendar: added for MonthCalendar
  9231. * DateRangeEventArgs.cs: added for MonthCalendar
  9232. * DateRangeEventHandler.cs: added for MonthCalendar
  9233. 2004-11-22 Ravindra <[email protected]>
  9234. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  9235. property.
  9236. 2004-11-22 Miguel de Icaza <[email protected]>
  9237. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  9238. event handler.
  9239. * NumericUpDown.cs: Added new implementation.
  9240. * UpDownBase.cs: Added new implementation.
  9241. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  9242. implementations.
  9243. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  9244. implementations.
  9245. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  9246. methods.
  9247. 2004-11-21 Miguel de Icaza <[email protected]>
  9248. * Timer.cs (Dispose): Should call the base dispose when
  9249. overriding.
  9250. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  9251. * ScrollBar.cs: updates thumb position when max, min or increment
  9252. is changed
  9253. 2004-11-21 Ravindra <[email protected]>
  9254. * ListView.cs: Implemented item selection, activation and
  9255. column header style. Fixed properties to do a redraw, if
  9256. required. Added support for MouseHover, DoubleClick, KeyDown
  9257. and KeyUp event handling and some minor fixes.
  9258. * ListViewItem.cs: Fixed constructor.
  9259. * ThemeWin32Classic.cs: Improved drawing for ListView.
  9260. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  9261. * ThemeWin32Classic.cs: initial listbox drawing code
  9262. * DrawMode.cs: new enumerator
  9263. * ListControl.cs: stubbed class
  9264. * ListBox.cs: initial implementation
  9265. * Theme.cs: new methods definitions
  9266. * SelectionMode.cs: new enumerator
  9267. 2004-11-17 Peter Bartok <[email protected]>
  9268. * XplatUIWin32.cs: Added double-click events to the class style
  9269. * Control.cs (WndProc):
  9270. - Added handling of click-count to MouseDown/ MouseUp events.
  9271. - Added handling of middle and right mouse buttons
  9272. - Removed old debug code
  9273. 2004-11-17 Jackson Harper <[email protected]>
  9274. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  9275. 2004-11-17 Ravindra <[email protected]>
  9276. * ListView.cs: Added event handling for MouseMove/Up/Down.
  9277. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  9278. * ThemeWin32Classic.cs: We need to clear the graphics context and
  9279. draw column header in a proper state.
  9280. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  9281. * Menu.cs: fixes signature
  9282. 2004-11-16 Peter Bartok <[email protected]>
  9283. * XplatUIX11.cs (GetMessage): Implemented generation of
  9284. double click mouse messages
  9285. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  9286. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  9287. not by menu
  9288. 2004-11-11 Peter Bartok <[email protected]>
  9289. * HandleData.cs: Added Visible property
  9290. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  9291. HandleData
  9292. * XplatUIX11.cs: Removed old debug leftovers
  9293. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  9294. * Control.cs (WndProc): Removed old debug leftovers,
  9295. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  9296. needed WM_SIZE handling
  9297. 2004-11-11 Jackson Harper <[email protected]>
  9298. * OwnerDrawPropertyBag.cs:
  9299. * TreeViewImageIndexConverter.cs: Initial implementation
  9300. 2004-11-10 Jackson Harper <[email protected]>
  9301. * ThemeWin32Classic.cs:
  9302. * TabControl.cs: instead of moving tabs by the slider pos just
  9303. start drawing at the tab that is offset by the slider. This way
  9304. scrolling always moves by exactly one tab.
  9305. 2004-11-10 Jackson Harper <[email protected]>
  9306. * TabControl.cs: You can only scroll left when the slider has
  9307. already ben moved right.
  9308. 2004-11-10 Jackson Harper <[email protected]>
  9309. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  9310. the clip area.
  9311. 2004-11-10 Jackson Harper <[email protected]>
  9312. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  9313. clip area.
  9314. 2004-11-09 Jackson Harper <[email protected]>
  9315. * TabControl.cs (CalcXPos): New helper method so we can determine
  9316. the proper place to start drawing vertical tabs.
  9317. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  9318. 2004-11-09 Jackson Harper <[email protected]>
  9319. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  9320. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  9321. and Bottom, left and right are illegal values for this and
  9322. multiline is enabled when the alignment is set to left or right.
  9323. (DrawTab): Each alignment block should draw the text itself now
  9324. because Left requires special love. Also add rendering for Left
  9325. aligned tabs.
  9326. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  9327. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  9328. does not destroy the windows, removes debugging messages
  9329. 2004-11-09 jba <[email protected]>
  9330. * ThemeWin32Classic.cs
  9331. (DrawButtonBase): Fix verticle text rect clipping in windows
  9332. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  9333. rendering and incorrect text rect clipping
  9334. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  9335. rendering and incorrect text rect clipping
  9336. 2004-11-08 Jackson Harper <[email protected]>
  9337. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  9338. bottom when they are bottom aligned so the bottoms of the tabs get
  9339. displayed.
  9340. * TabControl.cs (DropRow): Move rows up instead of down when the
  9341. tab control is bottom aligned.
  9342. 2004-11-08 13:59 pbartok
  9343. * XplatUIX11.cs:
  9344. - Added handling for various window styles
  9345. - Added handling for popup windows
  9346. - Added SetTopmost handling
  9347. 2004-11-08 13:55 pbartok
  9348. * XplatUIWin32.cs:
  9349. - Added argument to SetTopmost method
  9350. - Fixed broken ClientToScreen function
  9351. 2004-11-08 13:53 pbartok
  9352. * XplatUIStructs.cs:
  9353. - Added missing WS_EX styles
  9354. 2004-11-08 13:53 pbartok
  9355. * XplatUI.cs, XplatUIDriver.cs:
  9356. - Added argument to SetTopmost
  9357. 2004-11-08 13:52 pbartok
  9358. * X11Structs.cs:
  9359. - Added XSetWindowAttributes structure
  9360. - Improved XWindowAttributes structure
  9361. - Added SetWindowValuemask enum
  9362. - Added window creation arguments enum
  9363. - Added gravity enum
  9364. - Added Motif hints structure
  9365. - Added various Motif flags and enums
  9366. - Added PropertyMode enum for property functions
  9367. 2004-11-08 13:50 pbartok
  9368. * Form.cs:
  9369. - Fixed arguments for updated SetTopmost method
  9370. 2004-11-08 13:49 pbartok
  9371. * ToolTip.cs:
  9372. - Fixed arguments for updated SetTopmost function
  9373. - Fixed usage of PointToClient
  9374. 2004-11-08 13:44 pbartok
  9375. * MenuAPI.cs:
  9376. - Added Clipping of children and siblings
  9377. 2004-11-08 13:41 pbartok
  9378. * MainMenu.cs:
  9379. - Removed SetMenuBarWindow call. We do this in Form.cs
  9380. 2004-11-08 13:40 jackson
  9381. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  9382. scrolling jimmi in the correct location with bottom aligned tabs
  9383. 2004-11-08 13:36 pbartok
  9384. * ContainerControl.cs:
  9385. - Implemented BindingContext
  9386. - Implemented ParentForm
  9387. 2004-11-08 12:46 jackson
  9388. * TabControl.cs: Put bottom rendered tabs in the right location
  9389. 2004-11-08 07:15 jordi
  9390. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  9391. removes dead code
  9392. 2004-11-05 17:30 jackson
  9393. * TabControl.cs: When selected tabs are expanded make sure they
  9394. don't go beyond the edges of the tab control
  9395. 2004-11-05 14:57 jackson
  9396. * TabControl.cs: Reset show_slider so if the control is resized to
  9397. a size where it is no longer needed it's not displayed anymore
  9398. 2004-11-05 13:16 jackson
  9399. * TabControl.cs: Make tab pages non visible when added to the
  9400. control
  9401. 2004-11-05 12:42 jackson
  9402. * TabControl.cs: Implement SizeMode.FillToRight
  9403. 2004-11-05 12:16 jackson
  9404. * Control.cs: Do not call CreateHandle if the handle is already
  9405. created
  9406. 2004-11-05 11:46 jackson
  9407. * TabControl.cs: Remove superflous call to CalcTabRows
  9408. 2004-11-05 09:07 jackson
  9409. * XplatUIX11.cs: Update for Mono.Posix changes
  9410. 2004-11-05 07:00 ravindra
  9411. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  9412. scrolling.
  9413. 2004-11-04 22:47 jba
  9414. * ThemeWin32Classic.cs:
  9415. - Fix Button rendering for FlatStyle = Flat or Popup
  9416. - Fix RadioButton and CheckBox rendering when Appearance = Button
  9417. (normal and flatstyle).
  9418. - Correct outer rectangle color when drawing focus rectangle
  9419. - Adjust button bounds to be 1 px smaller when focused
  9420. - Make button not draw sunken 3d border when pushed (windows compat)
  9421. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  9422. - Offset the text in RadioButton and Checkbox when being rendered as
  9423. a button.
  9424. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  9425. radiobuttons
  9426. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  9427. - Fixed disabled text rendering for normally rendered radiobuttons
  9428. 2004-11-04 10:26 jackson
  9429. * TabControl.cs: Recalculate tab rows when resizing
  9430. 2004-11-04 07:47 jordi
  9431. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  9432. collection completion, drawing issues, missing features
  9433. 2004-11-04 05:03 ravindra
  9434. * ScrollBar.cs:
  9435. - We need to recalculate the Thumb area when
  9436. LargeChange/maximum/minimum values are changed.
  9437. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  9438. than minimum. This is required to handle the case if large_change is
  9439. more than max, and use LargeChange property instead of large_change
  9440. variable.
  9441. - We return max+1 when large_change is more than max, like MS does.
  9442. 2004-11-04 04:29 ravindra
  9443. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  9444. - Changed default value signatures (prefixed all with ListView).
  9445. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  9446. ListView.
  9447. - Fixed calculations for ListViewItem and implemented Clone()
  9448. method.
  9449. 2004-11-04 04:26 ravindra
  9450. * Theme.cs, ThemeWin32Classic.cs:
  9451. - Changed default ListView values signatures (prefixed all with
  9452. ListView).
  9453. - Fixed default size values for VScrollBar and HScrollBar.
  9454. - Fixed DrawListViewItem method.
  9455. 2004-11-04 04:05 ravindra
  9456. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  9457. 2004-11-04 04:04 ravindra
  9458. * ImageList.cs: Implemented the missing overload for Draw method.
  9459. 2004-11-03 19:29 jackson
  9460. * TabControl.cs: Handle dropping rows on selection properly
  9461. 2004-11-03 11:59 jackson
  9462. * TabControl.cs: remove debug code
  9463. 2004-11-03 11:52 jackson
  9464. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  9465. the scrolly widgerywoo
  9466. 2004-11-02 13:52 jackson
  9467. * TabControl.cs: Resize the tab pages and tabs when the tab control
  9468. is resized
  9469. 2004-11-02 13:40 jackson
  9470. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  9471. selected tab to the bottom
  9472. 2004-11-02 13:39 jackson
  9473. * TabPage.cs: Store the tab pages row
  9474. 2004-11-02 12:33 jordi
  9475. * MenuItem.cs: fixes handle creation
  9476. 2004-11-02 11:42 jackson
  9477. * TabControl.cs: signature fix
  9478. 2004-11-02 08:56 jackson
  9479. * TabControl.cs: Calculate whether the tab is on an edge properly.
  9480. Remove top secret debugging code
  9481. 2004-11-01 19:57 jackson
  9482. * TabControl.cs: Add click handling, and proper sizing
  9483. 2004-11-01 19:47 jackson
  9484. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  9485. tab controls
  9486. 2004-11-01 19:39 jackson
  9487. * TabPage.cs: add internal property to store the bounds of a tab
  9488. page
  9489. 2004-10-30 04:23 ravindra
  9490. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  9491. values.
  9492. 2004-10-30 04:21 ravindra
  9493. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  9494. fixed calculations.
  9495. 2004-10-30 03:06 pbartok
  9496. * XplatUIX11.cs:
  9497. - Removed extension of DllImported libs
  9498. 2004-10-29 09:55 jordi
  9499. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  9500. navigation, itemcollection completion, menu fixes
  9501. 2004-10-27 22:58 pbartok
  9502. * XplatUIX11.cs:
  9503. - Now throws a nice error message when no X display could be opened
  9504. 2004-10-26 13:51 jordi
  9505. * ListView.cs: removes warning
  9506. 2004-10-26 03:55 ravindra
  9507. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  9508. ThemeWin32Classic.cs: Some formatting for my last checkins.
  9509. 2004-10-26 03:36 ravindra
  9510. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  9511. control and default values.
  9512. 2004-10-26 03:35 ravindra
  9513. * Theme.cs: Added some default values for ListView control.
  9514. 2004-10-26 03:33 ravindra
  9515. * ToolBar.cs: ToolBar should use the user specified button size, if
  9516. there is any. Added a size_specified flag for the same.
  9517. 2004-10-26 03:33 ravindra
  9518. * ColumnHeader.cs: Added some internal members and calculations for
  9519. ColumnHeader.
  9520. 2004-10-26 03:32 ravindra
  9521. * ListViewItem.cs: Calculations for ListViewItem.
  9522. 2004-10-26 03:31 ravindra
  9523. * ListView.cs: Added some internal members and calculations for
  9524. ListView.
  9525. 2004-10-22 13:31 jordi
  9526. * MenuAPI.cs: speedup menus drawing
  9527. 2004-10-22 13:16 jackson
  9528. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  9529. expose event
  9530. 2004-10-22 11:49 jackson
  9531. * Control.cs: oops
  9532. 2004-10-22 11:41 jackson
  9533. * Control.cs: Check to see if the window should have its background
  9534. repainted by X when drawing.
  9535. 2004-10-22 11:31 jackson
  9536. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  9537. clear is true, this way we do not get flicker from X repainting the
  9538. background
  9539. 2004-10-22 11:28 jackson
  9540. * XEventQueue.cs: Queue properly
  9541. 2004-10-21 09:38 jackson
  9542. * XEventQueue.cs: Fix access modifier
  9543. 2004-10-21 09:36 jackson
  9544. * XEventQueue.cs: Don't loose messages
  9545. 2004-10-21 09:22 jackson
  9546. * XEventQueue.cs: Don't loose messages
  9547. 2004-10-20 04:15 jordi
  9548. * BootMode.cs: enum need it by SystemInfo
  9549. 2004-10-19 21:58 pbartok
  9550. * XplatUIWin32.cs:
  9551. - Small sanity check
  9552. 2004-10-19 21:56 pbartok
  9553. * Form.cs:
  9554. - Added private FormParentWindow class which acts as the container
  9555. for our form and as the non-client area where menus are drawn
  9556. - Added/Moved required tie-ins to Jordi's menus
  9557. - Fixed/Implemented the FormStartPosition functionality
  9558. 2004-10-19 21:52 pbartok
  9559. * Control.cs:
  9560. - Removed unneeded locals
  9561. - Added code to all size and location properties to understand and
  9562. deal with the parent container of Form
  9563. 2004-10-19 21:33 pbartok
  9564. * Application.cs:
  9565. - Fixed to deal with new Form subclasses for menus
  9566. 2004-10-19 17:48 jackson
  9567. * XEventQueue.cs: commit correct version of file
  9568. 2004-10-19 16:50 jackson
  9569. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  9570. 2004-10-19 16:15 jordi
  9571. * MenuAPI.cs: MenuBarCalcSize returns the height
  9572. 2004-10-19 08:31 pbartok
  9573. * Control.cs:
  9574. - Added missing call to PreProcessMessage before calling OnXXXKey
  9575. methods
  9576. 2004-10-19 00:04 ravindra
  9577. * ToolTip.cs: Fixed constructor.
  9578. 2004-10-18 09:31 jordi
  9579. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  9580. 2004-10-18 09:26 jordi
  9581. * MenuItem.cs: fixes MenuItem class signature
  9582. 2004-10-18 08:56 jordi
  9583. * MenuAPI.cs: prevents windows from showing in the taskbar
  9584. 2004-10-18 00:28 ravindra
  9585. * ToolTip.cs: Suppressed a warning message.
  9586. 2004-10-18 00:27 ravindra
  9587. * Control.cs: Default value of visible property must be true.
  9588. 2004-10-17 23:19 pbartok
  9589. * ToolTip.cs:
  9590. - Complete implementation
  9591. 2004-10-17 23:19 pbartok
  9592. * XplatUIX11.cs:
  9593. - Added EnableWindow method
  9594. - Added SetModal stub
  9595. - Added generation of WM_ACTIVATE message (still needs testing)
  9596. - Added SetTopMost stub
  9597. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  9598. 2004-10-17 23:17 pbartok
  9599. * XplatUIWin32.cs:
  9600. - Removed VirtualKeys to XplatUIStructs
  9601. - Implemented SetTopMost method
  9602. - Implemented EnableWindow method
  9603. - Bugfix in ScreenToClient()
  9604. - Bugfixes in ClientToScreen()
  9605. 2004-10-17 22:51 pbartok
  9606. * XplatUIStructs.cs:
  9607. - Added WS_EX styles to WindowStyles enumeration
  9608. 2004-10-17 22:50 pbartok
  9609. * XplatUI.cs, XplatUIDriver.cs:
  9610. - Added method for enabling/disabling windows
  9611. - Added method for setting window modality
  9612. - Added method for setting topmost window
  9613. 2004-10-17 22:49 pbartok
  9614. * ThemeWin32Classic.cs:
  9615. - Added ToolTip drawing code
  9616. 2004-10-17 22:49 pbartok
  9617. * Theme.cs:
  9618. - Added ToolTip abstracts
  9619. 2004-10-17 22:47 pbartok
  9620. * Form.cs:
  9621. - Fixed Form.ControlCollection to handle owner relations
  9622. - Added Owner/OwnedForms handling
  9623. - Implemented Z-Ordering for owned forms
  9624. - Removed unneeded private overload of ShowDialog
  9625. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  9626. so I hope)
  9627. - Fixed Close(), had wrong default
  9628. - Added firing of OnLoad event
  9629. - Added some commented out debug code for Ownership handling
  9630. 2004-10-17 22:16 pbartok
  9631. * Control.cs:
  9632. - Fixed/implemented flat list of controls
  9633. 2004-10-17 22:14 pbartok
  9634. * Application.cs:
  9635. - Added code to simulate modal dialogs on Win32
  9636. 2004-10-17 16:11 jordi
  9637. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  9638. mouse event
  9639. 2004-10-17 13:39 jordi
  9640. * MenuAPI.cs: menu drawing fixes
  9641. 2004-10-15 09:10 ravindra
  9642. * StructFormat.cs: General Enum.
  9643. 2004-10-15 09:09 ravindra
  9644. * SizeGripStyle.cs: Enum for Form.
  9645. 2004-10-15 09:08 ravindra
  9646. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  9647. in Theme for ListView.
  9648. 2004-10-15 09:06 ravindra
  9649. * ColumnHeader.cs: Flushing some formatting changes.
  9650. 2004-10-15 09:05 ravindra
  9651. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  9652. style.
  9653. 2004-10-15 09:03 ravindra
  9654. * ListView.cs: Implemented Paint method and fixed coding style.
  9655. 2004-10-15 07:34 jordi
  9656. * MenuAPI.cs: fix for X11
  9657. 2004-10-15 07:32 ravindra
  9658. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  9659. - Renamed Paint() method to Draw() for clarity. Also, moved
  9660. DrawImage() to OnPaint().
  9661. 2004-10-15 07:25 ravindra
  9662. * CheckBox.cs, RadioButton.cs:
  9663. - Removed Redraw (), we get it from ButtonBase.
  9664. - Implemented Paint (), to do class specific painting.
  9665. 2004-10-15 07:16 ravindra
  9666. * ButtonBase.cs:
  9667. - Redraw () is not virtual now.
  9668. - Added an internal virtual method Paint (), so that
  9669. derived classes can do their painting on their own.
  9670. - Modified OnPaint () to call Paint ().
  9671. 2004-10-15 06:43 jordi
  9672. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  9673. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  9674. 2004-10-15 00:30 ravindra
  9675. * MessageBox.cs:
  9676. - MessageBox on windows does not have min/max buttons.
  9677. This change in CreateParams fixes this on Windows. We
  9678. still need to implement this windowstyle behavior in
  9679. our X11 driver.
  9680. 2004-10-14 05:14 ravindra
  9681. * ToolBar.cs:
  9682. - Changed Redraw () to do a Refresh () always.
  9683. - Fixed the MouseMove event handling when mouse is pressed,
  9684. ie drag event handling.
  9685. - Replaced the usage of ToolBarButton.Pressed property to
  9686. ToolBarButton.pressed internal variable.
  9687. 2004-10-14 05:10 ravindra
  9688. * ToolBarButton.cs:
  9689. - Added an internal member 'inside' to handle mouse move
  9690. with mouse pressed ie mouse drag event.
  9691. - Changed 'Pressed' property to return true only when
  9692. 'inside' and 'pressed' are both true.
  9693. - Some coding style love.
  9694. 2004-10-14 00:17 ravindra
  9695. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  9696. public method.
  9697. 2004-10-14 00:15 ravindra
  9698. * ButtonBase.cs: Redraw () related improvements.
  9699. 2004-10-14 00:14 ravindra
  9700. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  9701. removed unnecessary calls to Button.Show () method.
  9702. 2004-10-13 17:50 pbartok
  9703. * XplatUIX11.cs:
  9704. - Formatting fix
  9705. - Removed destroying of window until we solve the problem of X
  9706. destroying the window before us on shutdown
  9707. 2004-10-13 16:32 pbartok
  9708. * ButtonBase.cs:
  9709. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  9710. 2004-10-13 14:18 pbartok
  9711. * XplatUIX11.cs:
  9712. - Added code to destroy the X window
  9713. 2004-10-13 14:18 pbartok
  9714. * XplatUIWin32.cs:
  9715. - Added code to destroy a window
  9716. 2004-10-13 14:12 pbartok
  9717. * ButtonBase.cs:
  9718. - Added the Redraw on Resize that got dropped in the last rev
  9719. 2004-10-13 09:06 pbartok
  9720. * ThemeWin32Classic.cs:
  9721. - Path from John BouAntoun:
  9722. * Fix check rendering (centre correctly for normal style, offset
  9723. correctly for FlatStyle).
  9724. * Fix border color usage (use backcolor) for FlatStyle.Popup
  9725. * Use checkbox.Capture instead of checkbox.is_pressed when
  9726. rendering flatstyle states.
  9727. 2004-10-12 21:48 pbartok
  9728. * ThemeWin32Classic.cs:
  9729. - Removed all occurences of SystemColors and replaced them with the
  9730. matching theme color
  9731. 2004-10-12 21:41 pbartok
  9732. * ThemeWin32Classic.cs:
  9733. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  9734. him using the function for flatstyle drawing
  9735. - Changed functions to use the new version of CPDrawBorder3D
  9736. 2004-10-12 21:15 pbartok
  9737. * ControlPaint.cs:
  9738. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  9739. match MS documentation. They need to return defined colors if the
  9740. passed color matches the configured control color. Thanks to John
  9741. BouAntoun for pointing this out.
  9742. 2004-10-12 20:57 pbartok
  9743. * Control.cs:
  9744. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  9745. color is changed
  9746. 2004-10-12 20:46 pbartok
  9747. * CheckBox.cs:
  9748. - Fix from John BouAntoun: Now properly sets the Appearance property
  9749. 2004-10-12 20:45 pbartok
  9750. * ThemeWin32Classic.cs:
  9751. - Fixes from John BouAntoun: now handles forecolors and backcolors
  9752. for flatstyle rendered controls much better; It also fixes normal
  9753. checkbox rendering when pushed or disabled.
  9754. 2004-10-08 02:50 jordi
  9755. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  9756. work
  9757. 2004-10-07 08:56 jordi
  9758. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  9759. 2004-10-06 03:59 jordi
  9760. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  9761. XplatUIWin32.cs: removes warnings from compilation
  9762. 2004-10-05 12:23 jackson
  9763. * RadioButton.cs: Fix ctor
  9764. 2004-10-05 11:10 pbartok
  9765. * MessageBox.cs:
  9766. - Partial implementation by Benjamin Dasnois
  9767. 2004-10-05 10:15 jackson
  9768. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  9769. by John BouAntoun
  9770. 2004-10-05 03:07 ravindra
  9771. * ToolBar.cs:
  9772. - Removed a private method, Draw ().
  9773. - Fixed the ButtonDropDown event handling.
  9774. - Fixed MouseMove event handling.
  9775. 2004-10-05 03:04 ravindra
  9776. * ThemeWin32Classic.cs:
  9777. - Added DrawListView method and ListViewDefaultSize property.
  9778. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  9779. - Changed DOS style CRLF to Unix format (dos2unix).
  9780. 2004-10-05 03:03 ravindra
  9781. * Theme.cs:
  9782. - Added DrawListView method and ListViewDefaultSize property.
  9783. 2004-10-05 02:42 ravindra
  9784. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  9785. clicks on DropDown arrow.
  9786. 2004-10-04 22:56 jackson
  9787. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  9788. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  9789. Control handle the buffers, derived classes should not have to
  9790. CreateBuffers themselves.
  9791. 2004-10-04 21:20 jackson
  9792. * StatusBar.cs: The control handles resizing the buffers now.
  9793. 2004-10-04 21:18 jackson
  9794. * Control.cs: When resizing the buffers should be invalidated. This
  9795. should be handled in Control not in derived classes.
  9796. 2004-10-04 14:45 jackson
  9797. * TabPage.cs: oops
  9798. 2004-10-04 02:14 pbartok
  9799. * LeftRightAlignment.cs:
  9800. - Initial check-in
  9801. 2004-10-04 01:09 jordi
  9802. * ThemeWin32Classic.cs: fixes right button position causing right
  9803. button not showing on horizontal scrollbars
  9804. 2004-10-02 13:12 pbartok
  9805. * XplatUIX11.cs:
  9806. - Simplified the Invalidate method by using an X call instead of
  9807. generating the expose ourselves
  9808. - Added an expose when the window background is changed
  9809. - Implemented ClientToScreen method
  9810. 2004-10-02 13:08 pbartok
  9811. * XplatUIWin32.cs:
  9812. - Added Win32EnableWindow method (test for implementing modal
  9813. dialogs)
  9814. - Added ClientToScreen method and imports
  9815. 2004-10-02 13:07 pbartok
  9816. * XplatUI.cs, XplatUIDriver.cs:
  9817. - Added ClientToScreen coordinate translation method
  9818. 2004-10-02 13:06 pbartok
  9819. * KeyPressEventArgs.cs:
  9820. - Fixed access level for constructor
  9821. 2004-10-02 13:06 pbartok
  9822. * NativeWindow.cs:
  9823. - Changed access level for the window_collection hash table
  9824. 2004-10-02 13:05 pbartok
  9825. * Form.cs:
  9826. - Added KeyPreview property
  9827. - Added Menu property (still incomplete, pending Jordi's menu work)
  9828. - Implemented ProcessCmdKey
  9829. - Implemented ProcessDialogKey
  9830. - Implemented ProcessKeyPreview
  9831. 2004-10-02 13:02 pbartok
  9832. * Control.cs:
  9833. - Added private method to get the Control object from the window
  9834. handle
  9835. - Implemented ContextMenu property
  9836. - Implemented PointToScreen
  9837. - Implemented PreProcessMessage
  9838. - Implemented IsInputChar
  9839. - Implemented IsInputKey
  9840. - Implemented ProcessCmdKey
  9841. - Completed ProcessKeyEventArgs
  9842. - Fixed message loop to call the proper chain of functions on key
  9843. events
  9844. - Implemented ProcessDialogChar
  9845. - Implemented ProcessDialogKey
  9846. - Implemented ProcessKeyMessage
  9847. - Implemented ProcessKeyPreview
  9848. - Added RaiseDragEvent stub (MS internal method)
  9849. - Added RaiseKeyEvent stub (MS internal method)
  9850. - Added RaiseMouseEvent stub (MS Internal method)
  9851. - Added RaisePaintEvent stub (MS Internal method)
  9852. - Added ResetMouseEventArgs stub (MS Internal method)
  9853. - Implemented RtlTranslateAlignment
  9854. - Implemented RtlTranslateContent
  9855. - Implemented RtlTranslateHorizontal
  9856. - Implemented RtlTranslateLeftRight
  9857. - Added generation of KeyPress event
  9858. 2004-10-02 05:57 ravindra
  9859. * ListViewItem.cs: Added attributes.
  9860. 2004-10-02 05:32 ravindra
  9861. * ListView.cs: Added attributes.
  9862. 2004-10-01 11:53 jackson
  9863. * Form.cs: Implement the Close method so work on MessageBox can
  9864. continue.
  9865. 2004-09-30 14:06 pbartok
  9866. * XplatUIX11.cs:
  9867. - Bug fixes
  9868. 2004-09-30 11:34 jackson
  9869. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  9870. 2004-09-30 07:26 ravindra
  9871. * ListViewItemConverter.cs: Converter for ListViewItem.
  9872. 2004-09-30 07:26 ravindra
  9873. * SortOrder.cs: Enum for ListView control.
  9874. 2004-09-30 07:25 ravindra
  9875. * ColumnHeader.cs: Supporting class for ListView control.
  9876. 2004-09-30 07:24 ravindra
  9877. * ListView.cs, ListViewItem.cs: Initial implementation.
  9878. 2004-09-30 07:20 ravindra
  9879. * ItemActivation.cs: Enum for ListView Control.
  9880. 2004-09-29 20:29 pbartok
  9881. * XplatUIX11.cs:
  9882. - Added lookup of pixel value for background color; tries to get a
  9883. color 'close' to the requested color, it avoids having to create a
  9884. colormap. Depending on the display this could mean the used color
  9885. is slightly off the desired color. Might have to change it to a more
  9886. resource intensive colormap approach, but it will work as a
  9887. workaround to avoid red screens.
  9888. 2004-09-29 14:27 jackson
  9889. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  9890. 2004-09-28 12:44 pbartok
  9891. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  9892. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  9893. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  9894. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  9895. TrackBar.cs, VScrollBar.cs:
  9896. - Streamlined Theme interfaces:
  9897. * Each DrawXXX method for a control now is passed the object for
  9898. the control to be drawn in order to allow accessing any state the
  9899. theme might require
  9900. * ControlPaint methods for the theme now have a CP prefix to avoid
  9901. name clashes with the Draw methods for controls
  9902. * Every control now retrieves it's DefaultSize from the current
  9903. theme
  9904. 2004-09-28 12:17 jackson
  9905. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  9906. drawing
  9907. 2004-09-24 14:57 jackson
  9908. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  9909. Gives us a nice little performance boost.
  9910. 2004-09-24 12:02 jackson
  9911. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  9912. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  9913. Control and supporting classes. Initial checkin
  9914. 2004-09-23 13:08 jackson
  9915. * Form.cs: Temp build fixage
  9916. 2004-09-23 01:39 ravindra
  9917. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  9918. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  9919. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  9920. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  9921. EventHandlers needed by ListView Control.
  9922. 2004-09-22 14:12 pbartok
  9923. * ScrollableControl.cs:
  9924. - Implemented DockPadding property
  9925. - Implemented AutoScroll property
  9926. - Implemented AutoScrollMargin property
  9927. - Implemented AutoScrollMinSize property
  9928. - Implemented AutoScrollPosition property
  9929. - Implemented DisplayRectangle property (still incomplete)
  9930. - Implemented CreateParams property
  9931. - Implemented HScroll property
  9932. - Implemented VScroll property
  9933. - Implemented OnVisibleChanged property
  9934. 2004-09-22 14:09 pbartok
  9935. * Form.cs:
  9936. - Added Form.ControllCollection class
  9937. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  9938. RemoveOwnedForm (still incomplete, missing on-top and common
  9939. minimize/maximize behaviour)
  9940. - Added StartPosition property (still incomplete, does not use when
  9941. creating the form)
  9942. - Added ShowDialog() methods (still incomplete, missing forcing the
  9943. dialog modal)
  9944. 2004-09-22 14:05 pbartok
  9945. * Application.cs:
  9946. - Added message loop for modal dialogs
  9947. 2004-09-22 14:02 pbartok
  9948. * GroupBox.cs:
  9949. - Fixed wrong types for events
  9950. 2004-09-22 14:00 pbartok
  9951. * Shortcut.cs, FormWindowState.cs:
  9952. - Fixed wrong values
  9953. 2004-09-22 12:01 jackson
  9954. * Control.cs: Text is never null
  9955. 2004-09-20 22:14 pbartok
  9956. * XplatUIWin32.cs:
  9957. - Fixed accessibility level for Idle handler
  9958. 2004-09-20 18:54 jackson
  9959. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  9960. XplatUIX11.cs: New message loop that uses poll so we don't get a
  9961. busy loop
  9962. 2004-09-17 10:43 pbartok
  9963. * ScrollBar.cs:
  9964. - Fixed behaviour of arrow buttons. Now properly behaves like
  9965. Buttons (and like Microsoft's scrollbar arrow buttons)
  9966. 2004-09-17 10:14 pbartok
  9967. * ScrollBar.cs:
  9968. - Added missing release of keyboard/mouse capture
  9969. 2004-09-17 06:18 jordi
  9970. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  9971. Theme.cs: Very early menu support
  9972. 2004-09-16 17:45 pbartok
  9973. * XplatUIWin32.cs:
  9974. - Fixed sending a window to the front
  9975. - Added overload for SetWindowPos to avoid casting
  9976. 2004-09-16 17:44 pbartok
  9977. * Control.cs:
  9978. - Added SendToBack and BringToFront methods
  9979. 2004-09-16 07:00 ravindra
  9980. * Copyright: Added Novell URL.
  9981. 2004-09-16 07:00 ravindra
  9982. * ToolBar.cs: Invalidate should be done before redrawing.
  9983. 2004-09-15 21:19 ravindra
  9984. * ColumnHeaderStyle.cs: Enum for ListView Control.
  9985. 2004-09-15 21:18 ravindra
  9986. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  9987. ListView Control.
  9988. 2004-09-13 18:26 jackson
  9989. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  9990. properly
  9991. 2004-09-13 18:13 jackson
  9992. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  9993. a second thread and post messages into the main threads message
  9994. queue. This makes timing much more consistent. Both win2K and XP
  9995. have a minimum timer value of 15 milliseconds, so we now do this
  9996. too.
  9997. 2004-09-13 15:18 pbartok
  9998. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  9999. XplatUIX11.cs:
  10000. - Added Z-Ordering methods
  10001. 2004-09-13 10:56 pbartok
  10002. * Form.cs:
  10003. - Fixed #region names
  10004. - Moved properties and methods into their proper #regions
  10005. 2004-09-13 10:51 pbartok
  10006. * Form.cs:
  10007. - Added Accept and CancelButton properties
  10008. - Added ProcessDialogKey() method
  10009. 2004-09-13 08:18 pbartok
  10010. * IWindowTarget.cs:
  10011. - Initial check-in
  10012. 2004-09-10 21:50 pbartok
  10013. * Control.cs:
  10014. - Added DoDragDrop() [incomplete]
  10015. - Properly implemented 'Visible' handling
  10016. - Added SetVisibleCore()
  10017. - Implemented FindChildAtPoint()
  10018. - Implemented GetContainerControl()
  10019. - Implemented Hide()
  10020. 2004-09-10 19:28 pbartok
  10021. * Control.cs:
  10022. - Moved methods into their appropriate #regions
  10023. - Reordered methods within regions alphabetically
  10024. 2004-09-10 18:57 pbartok
  10025. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  10026. - Added method to retrieve text from window
  10027. 2004-09-10 18:56 pbartok
  10028. * Control.cs:
  10029. - Moved some internal functions into the internal region
  10030. - Implemented FontHeight
  10031. - Implemented RenderRightToLeft
  10032. - Implemented ResizeRedraw
  10033. - Implemented ShowFocusCues
  10034. - Implemented ShowKeyboardCues
  10035. - Implemented FromChildHandle
  10036. - Implemented FromHandle
  10037. - Implemented IsMnemonic
  10038. - Implemented ReflectMessage
  10039. - All public and protected Static Methods are now complete
  10040. 2004-09-10 16:54 pbartok
  10041. * Control.cs:
  10042. - Implemented remaining missing public instance properties
  10043. - Alphabetized some out of order properties
  10044. 2004-09-10 05:51 ravindra
  10045. * PictureBox.cs: Added a check for null image.
  10046. 2004-09-10 00:59 jordi
  10047. * GroupBox.cs: remove cvs tag
  10048. 2004-09-09 05:25 ravindra
  10049. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  10050. 2004-09-09 05:23 ravindra
  10051. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  10052. parent redraw.
  10053. 2004-09-09 02:28 pbartok
  10054. * ThemeWin32Classic.cs:
  10055. - Improve disabled string look
  10056. 2004-09-09 01:15 jordi
  10057. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  10058. args and handler
  10059. 2004-09-08 23:56 ravindra
  10060. * ItemBoundsPortion.cs: It's enum, not a class!
  10061. 2004-09-08 23:47 ravindra
  10062. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  10063. Enums for Form.
  10064. 2004-09-08 21:13 ravindra
  10065. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  10066. ListView control.
  10067. 2004-09-08 21:03 ravindra
  10068. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  10069. avoid crash.
  10070. 2004-09-08 21:01 ravindra
  10071. * ScrollableControl.cs: Removed unreachable code.
  10072. 2004-09-08 06:45 jordi
  10073. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  10074. 2004-09-08 01:00 jackson
  10075. * XplatUIX11.cs: Only run the timers when updating the message
  10076. queue. This effectively gives X messages a higher priority then
  10077. timer messages. Timers still need love though
  10078. 2004-09-07 14:01 jackson
  10079. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  10080. this for us and the handle is no longer valid.
  10081. 2004-09-07 13:59 jackson
  10082. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  10083. loop that manages to not crash. TODO: Add poll and cleanup timers
  10084. 2004-09-07 11:12 jordi
  10085. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  10086. 2004-09-07 03:40 jordi
  10087. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  10088. fixes, methods, multiple links
  10089. 2004-09-06 06:55 jordi
  10090. * Control.cs: Caches ClientRectangle rectangle value
  10091. 2004-09-05 02:03 jordi
  10092. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  10093. certain situations
  10094. 2004-09-04 11:10 jordi
  10095. * Label.cs: Refresh when font changed
  10096. 2004-09-02 16:24 pbartok
  10097. * Control.cs:
  10098. - Added sanity check to creation of double buffer bitmap
  10099. 2004-09-02 16:24 pbartok
  10100. * ButtonBase.cs:
  10101. - Fixed selection of text color
  10102. - Fixed handling of resize event; now properly recreates double
  10103. buffering bitmap
  10104. - Added missing assignment of TextAlignment
  10105. - Added proper default for TextAlignment
  10106. 2004-09-02 14:26 pbartok
  10107. * RadioButton.cs:
  10108. - Added missing RadioButton.RadioButtonAccessibleObject class
  10109. 2004-09-02 14:26 pbartok
  10110. * Control.cs:
  10111. - Added missing Control.ControlAccessibleObject class
  10112. - Started to implement Select()ion mechanisms, still very incomplete
  10113. 2004-09-02 14:25 pbartok
  10114. * AccessibleObject.cs:
  10115. - Added missing methods
  10116. 2004-09-02 14:23 pbartok
  10117. * AccessibleNavigation.cs, AccessibleSelection.cs:
  10118. - Initial check-in
  10119. 2004-09-02 10:32 jordi
  10120. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  10121. pool for pens, brushes, and hatchbruses
  10122. 2004-09-01 15:30 jackson
  10123. * StatusBar.cs: Fix typo
  10124. 2004-09-01 14:44 pbartok
  10125. * RadioButton.cs:
  10126. - Fixed state
  10127. 2004-09-01 14:39 pbartok
  10128. * Button.cs, RadioButton.cs:
  10129. - Functional initial check-in
  10130. 2004-09-01 14:01 pbartok
  10131. * CheckBox.cs:
  10132. - Added missing default
  10133. - Added missing region mark
  10134. 2004-09-01 09:10 jordi
  10135. * Label.cs: fixes method signatures, new methods, events, fixes
  10136. autosize
  10137. 2004-09-01 07:19 jordi
  10138. * Control.cs: Init string variables with an empty object
  10139. 2004-09-01 04:20 jordi
  10140. * Control.cs: fires OnFontChanged event
  10141. 2004-08-31 20:07 pbartok
  10142. * ButtonBase.cs:
  10143. - Enabled display of strings
  10144. 2004-08-31 20:05 pbartok
  10145. * Form.cs:
  10146. - Added (partial) implementation of DialogResult; rest needs to be
  10147. implemented when the modal loop code is done
  10148. 2004-08-31 19:55 pbartok
  10149. * CheckBox.cs:
  10150. - Fixed to match the removal of the needs_redraw concept
  10151. 2004-08-31 19:55 pbartok
  10152. * ButtonBase.cs:
  10153. - Removed the rather odd split between 'needs redraw' and redrawing
  10154. - Now handles the events that require regeneration (ambient
  10155. properties and size)
  10156. 2004-08-31 19:41 pbartok
  10157. * Control.cs:
  10158. - Added firing of BackColorChanged event
  10159. - Added TopLevelControl property
  10160. - Fixed handling of WM_ERASEBKGRND message
  10161. 2004-08-31 12:49 pbartok
  10162. * ButtonBase.cs:
  10163. - Removed debug
  10164. - Minor fixes
  10165. 2004-08-31 12:48 pbartok
  10166. * CheckBox.cs:
  10167. - Finished (famous last words)
  10168. 2004-08-31 04:35 jordi
  10169. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  10170. scrolling bugs, adds new methods
  10171. 2004-08-30 14:42 pbartok
  10172. * CheckBox.cs:
  10173. - Implemented CheckBox drawing code
  10174. 2004-08-30 14:42 pbartok
  10175. * ButtonBase.cs:
  10176. - Made Redraw() and CheckRedraw() virtual
  10177. - Improved mouse up/down/move logic to properly track buttons
  10178. 2004-08-30 09:44 pbartok
  10179. * CheckBox.cs:
  10180. - Updated to fix broken build. Not complete yet.
  10181. 2004-08-30 09:28 pbartok
  10182. * CheckState.cs:
  10183. - Initial checkin
  10184. 2004-08-30 09:17 pbartok
  10185. * Appearance.cs:
  10186. - Initial check-in
  10187. 2004-08-27 16:12 ravindra
  10188. * ToolBarButton.cs: Added TypeConverter attribute.
  10189. 2004-08-27 16:07 ravindra
  10190. * ImageIndexConverter.cs: Implemented.
  10191. 2004-08-27 14:17 pbartok
  10192. * Control.cs:
  10193. - Removed unneeded stack vars
  10194. - First attempt to fix sizing issues when layout is suspended
  10195. 2004-08-25 15:35 jordi
  10196. * ScrollBar.cs: more fixes to scrollbar
  10197. 2004-08-25 14:04 ravindra
  10198. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  10199. Added the missing divider code and grip for ToolBar Control.
  10200. 2004-08-25 13:20 pbartok
  10201. * Control.cs:
  10202. - Control now properly passes the ambient background color to child
  10203. controls
  10204. 2004-08-25 13:20 jordi
  10205. * ScrollBar.cs: small bug fix regarding bar position
  10206. 2004-08-25 12:33 pbartok
  10207. * Timer.cs:
  10208. - Now only calls SetTimer or KillTimer if the enabled state has
  10209. changed
  10210. 2004-08-25 12:33 pbartok
  10211. * XplatUIWin32.cs:
  10212. - Fixed timer handling, now seems to work
  10213. - Improved error message for window creation
  10214. 2004-08-25 12:32 pbartok
  10215. * Control.cs:
  10216. - Fixed generation of MouseUp message
  10217. 2004-08-25 12:29 jordi
  10218. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  10219. and fixes for progressbar
  10220. 2004-08-24 18:43 ravindra
  10221. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  10222. in ToolBar control.
  10223. 2004-08-24 17:15 pbartok
  10224. * Panel.cs:
  10225. - Added #region
  10226. - Added missing events
  10227. - Alphabetized
  10228. 2004-08-24 17:14 pbartok
  10229. * StatusBar.cs, PictureBox.cs:
  10230. - Now uses Control's CreateParams
  10231. 2004-08-24 16:36 pbartok
  10232. * XplatUIX11.cs:
  10233. - Fixed background color handling
  10234. - Fixed sending of enter/leave events on a grab
  10235. 2004-08-24 16:35 pbartok
  10236. * X11Structs.cs:
  10237. - Refined definitions for CrossingEvent
  10238. 2004-08-24 12:37 jordi
  10239. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  10240. formmating, methods signature, and adds missing events
  10241. 2004-08-24 12:24 jordi
  10242. * Control.cs: fire OnEnabledChanged event
  10243. 2004-08-24 11:17 pbartok
  10244. * XplatUIWin32.cs:
  10245. - Implemented SetTimer() and KillTimer()
  10246. 2004-08-24 11:16 pbartok
  10247. * XplatUIX11.cs:
  10248. - Now uses Remove instead of Add to kill the timer
  10249. 2004-08-24 10:16 jackson
  10250. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  10251. picture boxes in the theme now. Draw picture box borders and obey
  10252. sizing modes
  10253. 2004-08-24 05:49 jackson
  10254. * Timer.cs: Remove top secret debugging code
  10255. 2004-08-24 05:34 jackson
  10256. * PictureBox.cs: Temp hack to make picture boxes draw their full
  10257. image
  10258. 2004-08-24 05:29 jackson
  10259. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  10260. XplatUIX11.cs: Move timers to the driver level. On X they are
  10261. queued by the driver and checked on idle.
  10262. 2004-08-24 01:07 jackson
  10263. * XplatUIX11.cs: Use a queue for async messages instead of passing
  10264. them as ClientMessages since that was totally broken. Also simply
  10265. check for events and return an idle message if none are found. This
  10266. gives us an idle handler, and prevents deadlocking when no messages
  10267. are in the queue.
  10268. 2004-08-23 18:19 ravindra
  10269. * XplatUIWin32.cs: Removed the unwanted destructor.
  10270. 2004-08-23 17:27 pbartok
  10271. * ButtonBase.cs:
  10272. - Finishing touches. Works now, just needs some optimizations.
  10273. 2004-08-23 16:53 jordi
  10274. * ScrollBar.cs: small fix
  10275. 2004-08-23 16:45 pbartok
  10276. * Application.cs:
  10277. - Removed debug output
  10278. - Simplifications
  10279. 2004-08-23 16:43 jordi
  10280. * ScrollBar.cs: [no log message]
  10281. 2004-08-23 16:10 pbartok
  10282. * Form.cs:
  10283. - Fixed handling of WM_CLOSE message
  10284. - Removed debug output
  10285. 2004-08-23 16:09 pbartok
  10286. * Application.cs:
  10287. - Added handling of Idle event
  10288. - Added handling of form closing
  10289. - Fixed reporting of MessageLoop property
  10290. - Removed some unneeded code, should provide a bit of a speedup
  10291. 2004-08-23 15:22 pbartok
  10292. * Control.cs:
  10293. - Added InitLayout() method
  10294. - Added code to properly perform layout when Anchor or Dock property
  10295. is changed
  10296. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  10297. LAMESPEC, tried to do it in a way that makes sense
  10298. 2004-08-23 14:10 jordi
  10299. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  10300. properties and methods
  10301. 2004-08-23 13:55 pbartok
  10302. * Control.cs:
  10303. - Properly fixed Jordi's last fix
  10304. - Now uses Cursor's Position property instead of calling XplatUI
  10305. directly
  10306. 2004-08-23 13:44 jordi
  10307. * PaintEventHandler.cs: Adding missing attribute
  10308. 2004-08-23 13:39 pbartok
  10309. * Cursor.cs:
  10310. - Implemented Position property
  10311. 2004-08-23 13:39 pbartok
  10312. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  10313. - Added method to move mouse cursor
  10314. 2004-08-23 13:39 pbartok
  10315. * XplatUIX11.cs:
  10316. - Fixed setting of background color
  10317. - Added method to move mouse cursor
  10318. 2004-08-23 13:16 jordi
  10319. * Control.cs: avoids null exception
  10320. 2004-08-22 17:46 jackson
  10321. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  10322. PictureBox
  10323. 2004-08-22 17:40 jackson
  10324. * XplatUIX11.cs: Add some missing locks
  10325. 2004-08-22 15:10 pbartok
  10326. * Control.cs, Form.cs:
  10327. - Removed OverlappedWindow style from Control, instead it's default
  10328. now is child
  10329. - Made form windows OverlappedWindow by default
  10330. 2004-08-22 13:34 jackson
  10331. * ScrollBar.cs: Update the position through the Value property so
  10332. the OnValueChanged event is raised.
  10333. 2004-08-22 12:04 pbartok
  10334. * SWF.csproj:
  10335. - Added Cursor.cs and UserControl.cs
  10336. 2004-08-22 12:03 pbartok
  10337. * Cursor.cs:
  10338. - Started implementation, not usable yet
  10339. 2004-08-22 12:00 pbartok
  10340. * UserControl.cs:
  10341. - Implemented UserControl (complete)
  10342. 2004-08-21 19:20 ravindra
  10343. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  10344. 2004-08-21 18:49 ravindra
  10345. * ToolBar.cs: Probably this completes the missing attributes in
  10346. toolbar control.
  10347. 2004-08-21 18:03 ravindra
  10348. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  10349. Fixed toolbar control signatures.
  10350. 2004-08-21 16:32 pbartok
  10351. * LinkLabel.cs:
  10352. - Signature Fixes
  10353. 2004-08-21 16:30 pbartok
  10354. * Label.cs:
  10355. - Signature fixes
  10356. 2004-08-21 16:19 pbartok
  10357. * Control.cs, Label.cs:
  10358. - Signature fixes
  10359. 2004-08-21 15:57 pbartok
  10360. * ButtonBase.cs:
  10361. - Added loads of debug output for development
  10362. - Fixed typo in method name
  10363. 2004-08-21 15:52 pbartok
  10364. * ToolBarButtonClickEventArgs.cs:
  10365. - Added missing base class
  10366. 2004-08-21 14:53 pbartok
  10367. * Control.cs:
  10368. - Updated to match new GrabWindow signature
  10369. 2004-08-21 14:51 pbartok
  10370. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  10371. - Added method to get default display size
  10372. 2004-08-21 14:23 pbartok
  10373. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  10374. - Added method to query current grab state
  10375. - Added argument to allow confining a grab to a window
  10376. 2004-08-21 14:22 pbartok
  10377. * Keys.cs:
  10378. - Added [Flags] attribute so that modifiers can be used in bitwise
  10379. ops
  10380. 2004-08-21 14:21 pbartok
  10381. * TrackBar.cs, ScrollBar.cs:
  10382. - Replaced direct XplatUI calls with their Control counterpart
  10383. 2004-08-21 13:32 pbartok
  10384. * Control.cs:
  10385. - Implemented Created property
  10386. 2004-08-21 13:28 pbartok
  10387. * Control.cs:
  10388. - Implemented ContainsFocus
  10389. 2004-08-21 13:26 pbartok
  10390. * Control.cs:
  10391. - Implemented CausesValidation
  10392. 2004-08-21 13:21 pbartok
  10393. * Control.cs:
  10394. - Implemented CanFocus
  10395. - Implemented CanSelect
  10396. - Implemented Capture
  10397. 2004-08-21 12:35 pbartok
  10398. * XplatUIWin32.cs:
  10399. - Fixed bug with Async message handling
  10400. - Implemented getting the ModifierKeys
  10401. 2004-08-21 12:32 jackson
  10402. * AsyncMethodResult.cs: Make sure we have the mutex before we
  10403. release it. Fixes BeginInvoke on windows
  10404. 2004-08-21 11:31 pbartok
  10405. * XplatUIWin32.cs, XplatUIX11.cs:
  10406. - Drivers now return proper mouse state
  10407. 2004-08-21 10:54 jackson
  10408. * Control.cs: Implement EndInvoke
  10409. 2004-08-21 10:48 jackson
  10410. * Timer.cs: Remove unneeded finalizer
  10411. 2004-08-20 19:52 ravindra
  10412. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  10413. in mouse event handling in the ToolBar control.
  10414. 2004-08-20 19:50 ravindra
  10415. * ImageList.cs: Changed draw method to use the arguments passed in
  10416. to draw the image.
  10417. 2004-08-20 18:58 pbartok
  10418. * XplatUIStructs.cs:
  10419. - Added private message for async communication
  10420. 2004-08-20 17:38 ravindra
  10421. * Control.cs: Made RightToLeft property virtual and removed a
  10422. Console.WriteLine.
  10423. 2004-08-20 14:39 jordi
  10424. * ThemeGtk.cs: use style_attach
  10425. 2004-08-20 14:39 pbartok
  10426. * XplatUIWin32.cs:
  10427. - Added jackson's Async code from X11 to Win32
  10428. 2004-08-20 14:09 pbartok
  10429. * SWF.csproj:
  10430. - Added all new files
  10431. 2004-08-20 14:09 pbartok
  10432. * Control.cs:
  10433. - Added call to set window background color
  10434. 2004-08-20 14:03 pbartok
  10435. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  10436. - Added method for setting the window background
  10437. 2004-08-20 14:02 pbartok
  10438. * XplatUIWin32.cs:
  10439. - Added method for setting the background color
  10440. - Added handling for erasing the window background
  10441. 2004-08-20 13:45 jordi
  10442. * TrackBar.cs: fixes timer, new properties and methods
  10443. 2004-08-20 13:34 jackson
  10444. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  10445. correct thread
  10446. 2004-08-20 13:22 jackson
  10447. * Timer.cs: Timer Tick events are now handed through Controls Async
  10448. mechanism so the callbacks are executed in the same thread as X
  10449. 2004-08-20 13:19 jackson
  10450. * XplatUIDriver.cs: Expose functionality to send async messages
  10451. through the driver
  10452. 2004-08-20 13:18 jackson
  10453. * Control.cs: Implement Begininvoke
  10454. 2004-08-20 13:14 jackson
  10455. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  10456. messages through the driver
  10457. 2004-08-20 13:12 jackson
  10458. * XplatUIX11.cs: Lock before all X operations. Also added Async
  10459. method functionality through XSendEvent
  10460. 2004-08-20 13:11 jackson
  10461. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  10462. This will screw up on 64 bit systems)
  10463. 2004-08-20 13:10 jackson
  10464. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  10465. Async messages through X/Win32
  10466. 2004-08-19 19:39 pbartok
  10467. * XplatUIX11.cs:
  10468. - Updated code to match new HandleData.DeviceContext type
  10469. 2004-08-19 19:38 pbartok
  10470. * HandleData.cs:
  10471. - Made DeviceContext a generic object to allow usage from various
  10472. drivers
  10473. - Added support for queueing Windows messages
  10474. 2004-08-19 19:37 pbartok
  10475. * XplatUIWin32.cs:
  10476. - Added generation of MouseEnter, MouseLeave and MouseHover events
  10477. - Added cleanup on EndPaint
  10478. 2004-08-19 19:17 pbartok
  10479. * Control.cs:
  10480. - Added handling of WM_MOUSEHOVER
  10481. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  10482. code
  10483. 2004-08-19 18:55 jordi
  10484. * ThemeGtk.cs: fixes button order
  10485. 2004-08-19 18:12 jordi
  10486. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  10487. 2004-08-19 17:09 pbartok
  10488. * Control.cs:
  10489. - Added Right property
  10490. - Added RightToLeft property
  10491. 2004-08-19 16:27 jordi
  10492. * ThemeGtk.cs: experimental GTK theme support
  10493. 2004-08-19 16:26 jordi
  10494. * ITheme.cs, Theme.cs: move themes from an interface to a class
  10495. 2004-08-19 16:25 jordi
  10496. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  10497. theme enhancaments
  10498. 2004-08-19 16:04 pbartok
  10499. * XplatUIX11.cs:
  10500. - Added colormap basics
  10501. - Added a way to re-initialize with a different display handle
  10502. - Fixed setting of the window background color
  10503. - Added various X11 imports related to colors and colormaps
  10504. 2004-08-19 15:51 pbartok
  10505. * X11Structs.cs:
  10506. - Removed packing hints (Paolo suggested this a while back)
  10507. - fixed colormap type
  10508. - Added default Atom types
  10509. - Added Screen and color structs and enums
  10510. 2004-08-19 15:39 pbartok
  10511. * ImageList.cs:
  10512. - Added missing Draw() method
  10513. - Added missing RecreateHandle event
  10514. 2004-08-19 15:30 pbartok
  10515. * Form.cs:
  10516. - Added handling of WM_CLOSE
  10517. 2004-08-18 13:16 jordi
  10518. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  10519. a table
  10520. 2004-08-18 09:56 jordi
  10521. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  10522. 2004-08-17 15:31 ravindra
  10523. * SWF.csproj: Updated project.
  10524. 2004-08-17 15:25 pbartok
  10525. * Control.cs:
  10526. - Drawing improvement; don't call UpdateBounds if we are not visible
  10527. (or have been minimized)
  10528. 2004-08-17 15:24 pbartok
  10529. * XplatUIWin32.cs:
  10530. - Finished IsVisible
  10531. - Added Win32GetWindowPlacement
  10532. 2004-08-17 15:08 jackson
  10533. * Panel.cs: Initial checkin of the Panel
  10534. 2004-08-17 14:25 pbartok
  10535. * Control.cs:
  10536. - Fixed broken handling of default window sizes
  10537. 2004-08-17 13:29 jackson
  10538. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  10539. has a large startup time.
  10540. 2004-08-17 10:25 jackson
  10541. * HandleData.cs: union areas properly
  10542. 2004-08-17 10:12 jackson
  10543. * HandleData.cs: union areas properly
  10544. 2004-08-16 20:00 ravindra
  10545. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  10546. 2004-08-16 18:48 ravindra
  10547. * ToolBar.cs: Added attributes.
  10548. 2004-08-16 17:17 ravindra
  10549. * SWF.csproj: Updated project.
  10550. 2004-08-16 17:16 jackson
  10551. * XplatUIX11.cs: Check for more expose events before sending a
  10552. WM_PAINT so they can all be grouped together. This makes dragging a
  10553. window across another window redraw in a sane way.
  10554. 2004-08-16 15:47 pbartok
  10555. * Control.cs:
  10556. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  10557. support OnMouseEnter/Leave()
  10558. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  10559. exposure handling
  10560. 2004-08-16 15:46 pbartok
  10561. * XplatUIStructs.cs, XplatUIX11.cs:
  10562. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  10563. OnMouseEnter/Leave()
  10564. 2004-08-16 15:34 jackson
  10565. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  10566. sure messages get the message field set to WM_NULL if they are not
  10567. handled.
  10568. 2004-08-16 15:24 jackson
  10569. * HandleData.cs: HandleData is used for storing message information
  10570. for window handles
  10571. 2004-08-15 17:23 ravindra
  10572. * ColorDepth.cs: Added attribute.
  10573. 2004-08-15 17:23 ravindra
  10574. * SWF.csproj: Updated project for ToolBar Control.
  10575. 2004-08-15 17:20 ravindra
  10576. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  10577. control and also dos2unix format.
  10578. 2004-08-15 17:13 ravindra
  10579. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  10580. ToolBarButtonClickEventArgs.cs,
  10581. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  10582. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  10583. 2004-08-15 15:31 pbartok
  10584. * ButtonBase.cs:
  10585. - First (mostly) working version
  10586. 2004-08-13 16:15 pbartok
  10587. * Control.cs:
  10588. - Fixed Anchor default
  10589. 2004-08-13 15:43 pbartok
  10590. * Control.cs:
  10591. - Changed GetCursorPos signature
  10592. 2004-08-13 15:42 pbartok
  10593. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  10594. - Changed signature for GetCursorPos
  10595. 2004-08-13 15:25 pbartok
  10596. * XplatUIX11.cs:
  10597. - Cleanup
  10598. - Fixed resizing/exposure handling
  10599. 2004-08-13 15:22 jordi
  10600. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  10601. with tickposition
  10602. 2004-08-13 14:55 jordi
  10603. * TrackBar.cs: change from wndproc to events
  10604. 2004-08-13 13:00 jordi
  10605. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  10606. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  10607. 2004-08-13 12:53 pbartok
  10608. * XplatUIWin32.cs:
  10609. - Changed GetWindowPos to also provide client area size
  10610. - Fixed broken prototypes for several win32 functions
  10611. 2004-08-13 12:53 pbartok
  10612. * XplatUI.cs, XplatUIDriver.cs:
  10613. - Changed GetWindowPos to also provide client area size
  10614. 2004-08-13 12:52 pbartok
  10615. * XplatUIX11.cs:
  10616. - Added generation of WM_POSCHANGED
  10617. - Changed GetWindowPos to also provide client area size
  10618. 2004-08-13 12:52 pbartok
  10619. * Control.cs:
  10620. - Added Dispose() and destructor
  10621. - Fixed resizing and bounds calculation
  10622. - Fixed Layout
  10623. - Added memory savings for invisible windows
  10624. 2004-08-13 12:46 jordi
  10625. * TrackBar.cs: adds timer and grap window
  10626. 2004-08-13 10:25 jackson
  10627. * Timer.cs: SWF Timer
  10628. 2004-08-12 16:59 pbartok
  10629. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  10630. - Implemented method to get current mouse position
  10631. 2004-08-12 14:29 jordi
  10632. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  10633. enhancement, fix mouse problems, highli thumb, etc
  10634. 2004-08-12 13:31 pbartok
  10635. * Control.cs:
  10636. - Fixed Anchoring bugs
  10637. 2004-08-12 13:01 jackson
  10638. * StatusBar.cs: Don't forget things
  10639. 2004-08-12 12:54 jackson
  10640. * ThemeWin32Classic.cs: Handle owner draw status bars
  10641. 2004-08-12 12:54 jackson
  10642. * StatusBar.cs: Implement missing properties, events, and methods.
  10643. Handle mouse clicking
  10644. 2004-08-12 10:19 jackson
  10645. * StatusBarPanelClickEventArgs.cs,
  10646. StatusBarPanelClickEventHandler.cs: Classes for handling status
  10647. bar panel click events
  10648. 2004-08-12 10:10 jackson
  10649. * Control.cs: Add missing properties
  10650. 2004-08-12 09:46 pbartok
  10651. * BindingsManagerBase.cs:
  10652. - Name changed to BindingManagerBase.cs
  10653. 2004-08-12 09:25 jordi
  10654. * ScrollableControl.cs: calls ctrlbase instead of exeception
  10655. 2004-08-11 16:28 pbartok
  10656. * InputLanguageChangingEventArgs.cs:
  10657. - Never check in before compiling. Fixes the last check-in
  10658. 2004-08-11 16:26 pbartok
  10659. * InputLanguageChangingEventArgs.cs:
  10660. - More signature fixes
  10661. 2004-08-11 16:20 pbartok
  10662. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  10663. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  10664. ImageListStreamer.cs, InputLanguage.cs,
  10665. InputLanguageChangedEventArgs.cs,
  10666. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  10667. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  10668. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  10669. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  10670. - Signature fixes
  10671. 2004-08-11 16:16 pbartok
  10672. * Application.cs:
  10673. - Fixed Signature
  10674. - Added .Net 1.1 method
  10675. 2004-08-11 15:25 pbartok
  10676. * SWF.csproj:
  10677. - Fixed BindingManagerBase.cs filename
  10678. 2004-08-11 15:22 pbartok
  10679. * BindingManagerBase.cs:
  10680. - Was checked in with wrong filename
  10681. 2004-08-11 14:50 pbartok
  10682. * SWF.csproj:
  10683. - Updated
  10684. 2004-08-11 13:41 jordi
  10685. * XplatUIWin32.cs: Fixes ClientRect
  10686. 2004-08-11 13:19 pbartok
  10687. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  10688. XplatUIX11.cs:
  10689. - We had SetWindowPos and MoveWindow to set window positions and
  10690. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  10691. keep SetWindowPos as matching counterpart
  10692. - Added some X11 sanity checking
  10693. 2004-08-11 12:59 pbartok
  10694. * Control.cs:
  10695. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  10696. (It seems that SetBounds is just a front for SetBoundsCore and
  10697. SetBoundsCore updates the underlying window system and
  10698. UpdateBounds is responsible for updating the variables associated
  10699. with the Control and sending the events)
  10700. - Major cleanup of Size handling; we now have two sizes, client_size
  10701. and bounds. Bounds defines the window with decorations, client_size
  10702. without them.
  10703. 2004-08-11 12:55 pbartok
  10704. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  10705. - Added method to calculate difference between decorated window and
  10706. raw client area
  10707. 2004-08-11 12:54 pbartok
  10708. * Label.cs:
  10709. - Forcing redraw on resize
  10710. 2004-08-11 11:43 pbartok
  10711. * ImageList.cs:
  10712. - Removed disposing of the actual images when the list is disposed
  10713. 2004-08-11 09:13 pbartok
  10714. * Control.cs:
  10715. - Now properly reparents windows
  10716. 2004-08-11 08:37 pbartok
  10717. * Control.cs:
  10718. - Duh!
  10719. 2004-08-11 07:47 pbartok
  10720. * Control.cs:
  10721. - Rewrote the collection stuff. Might not be as fast now, not
  10722. keeping the number of children around and accessible directly, but
  10723. it's more straightforward
  10724. 2004-08-11 07:44 pbartok
  10725. * AccessibleObject.cs:
  10726. - Fixed to match ControlCollection rewrite
  10727. 2004-08-11 07:43 pbartok
  10728. * ImageList.cs:
  10729. - Added missing creation of the collection list
  10730. 2004-08-10 20:08 jackson
  10731. * StatusBar.cs: Get the paint message from WndProc
  10732. 2004-08-10 19:31 jackson
  10733. * ThemeWin32Classic.cs: Create Brushes as little as possible
  10734. 2004-08-10 19:20 jackson
  10735. * UICues.cs: Add Flags attribute
  10736. 2004-08-10 19:19 jackson
  10737. * StatusBarPanel.cs: Signature cleanup
  10738. 2004-08-10 19:10 jackson
  10739. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  10740. Initial implementation of status bar item drawing
  10741. 2004-08-10 17:27 jordi
  10742. * TrackBar.cs: add missing methods, properties, and restructure to
  10743. hide extra ones
  10744. 2004-08-10 16:24 jackson
  10745. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  10746. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  10747. attribute
  10748. 2004-08-10 13:21 jordi
  10749. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  10750. enhancements and standarize on win colors defaults
  10751. 2004-08-10 12:52 jackson
  10752. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  10753. ThemeWin32Classic.cs: Implement DrawItem functionality
  10754. 2004-08-10 12:47 jordi
  10755. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  10756. 2004-08-10 12:32 jordi
  10757. * Control.cs: throw ontextchange event
  10758. 2004-08-10 11:43 pbartok
  10759. * Control.cs:
  10760. - Added more to the still unfinished Dock/Anchor layout code
  10761. 2004-08-10 11:39 pbartok
  10762. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  10763. - Added GetWindowPos method
  10764. 2004-08-10 11:36 pbartok
  10765. * XplatUIWin32.cs:
  10766. - Implemented several methods
  10767. 2004-08-10 09:47 jackson
  10768. * TrackBar.cs: Allow control to handle buffering
  10769. 2004-08-10 09:41 jackson
  10770. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  10771. 2004-08-10 09:24 jackson
  10772. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  10773. 2004-08-10 09:09 jackson
  10774. * StatusBar.cs: Let Control handle all the buffering.
  10775. 2004-08-10 09:08 jackson
  10776. * Control.cs: Control will now handle the buffering code, so each
  10777. control does not have to implement this.
  10778. 2004-08-10 08:34 jackson
  10779. * XplatUIDriver.cs: Use default colors from the theme
  10780. 2004-08-09 17:12 pbartok
  10781. * ImageList.cs:
  10782. - Fixed several bugs Ravindra pointed out
  10783. 2004-08-09 16:11 pbartok
  10784. * Control.cs:
  10785. - Added incomplete dock layout code
  10786. - Added support for mouse wheel
  10787. 2004-08-09 16:09 pbartok
  10788. * XplatUIX11.cs:
  10789. - Added handling for middle and right mousebutton
  10790. - Added handling for mouse wheel
  10791. - Added handling for key state and mouse state and position
  10792. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  10793. messages
  10794. 2004-08-09 15:40 jackson
  10795. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  10796. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  10797. checkin
  10798. 2004-08-09 15:37 jackson
  10799. * StatusBar.cs: Initial implementation of StatusBar
  10800. 2004-08-09 15:36 jackson
  10801. * ITheme.cs: Add support for drawing status bar and getting status
  10802. bar item sizes
  10803. 2004-08-09 15:35 pbartok
  10804. * MouseButtons.cs:
  10805. - Fixed values
  10806. 2004-08-09 15:34 jackson
  10807. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  10808. status bar item sizes
  10809. 2004-08-09 15:21 jackson
  10810. * ThemeWin32Classic.cs: Use known colors for default control
  10811. colours
  10812. 2004-08-09 15:12 jackson
  10813. * ThemeWin32Classic.cs: Make the default font static, it is static
  10814. in control so this doesn't change functionality and creating fonts
  10815. is sloooooow.
  10816. 2004-08-09 14:56 pbartok
  10817. * X11Structs.cs:
  10818. - Added GrabMode enum
  10819. 2004-08-09 14:55 pbartok
  10820. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  10821. - Removed Run method, was only required for initial development
  10822. 2004-08-09 14:51 pbartok
  10823. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  10824. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  10825. capture
  10826. 2004-08-09 13:48 pbartok
  10827. * XplatUIX11.cs:
  10828. - Fixed default sizing for child windows
  10829. 2004-08-09 12:56 pbartok
  10830. * XplatUIX11.cs:
  10831. - Added generation of WM_DESTROY message
  10832. - Added handling of window manager induced shutdown
  10833. 2004-08-09 11:31 jackson
  10834. * ThemeWin32Classic.cs: New names for control properties
  10835. 2004-08-09 11:25 jackson
  10836. * Control.cs: Use new color names
  10837. 2004-08-09 11:02 jackson
  10838. * XplatUI.cs: Get default window properties from the theme
  10839. 2004-08-09 11:01 jackson
  10840. * ITheme.cs: The theme engine now controls default window
  10841. properties
  10842. 2004-08-09 11:00 jackson
  10843. * ThemeWin32Classic.cs: Add default window color properties
  10844. 2004-08-09 10:17 jackson
  10845. * ThemeWin32Classic.cs: Use correct default back color
  10846. 2004-08-09 10:05 jackson
  10847. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  10848. the theme now.
  10849. 2004-08-09 09:56 jackson
  10850. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  10851. 2004-08-09 09:54 jackson
  10852. * Control.cs: Get default properties from the theme.
  10853. 2004-08-09 09:53 jackson
  10854. * ITheme.cs: Themes now handle default control properties
  10855. 2004-08-09 09:53 jackson
  10856. * ThemeWin32Classic.cs: Themes now handle default control
  10857. properties so coloring will be consistent
  10858. 2004-08-08 16:54 jordi
  10859. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  10860. 2004-08-08 15:08 jordi
  10861. * XplatUIX11.cs: fixes keyboard crash
  10862. 2004-08-08 13:47 jordi
  10863. * Label.cs: add cvs header info
  10864. 2004-08-08 12:09 jackson
  10865. * ThemeWin32Classic.cs: Add pen_buttonface
  10866. 2004-08-08 11:52 jordi
  10867. * Label.cs, LinkLabel.cs: [no log message]
  10868. 2004-08-08 11:34 jordi
  10869. * ThemeWin32Classic.cs: Use Windows Standard Colours
  10870. 2004-08-07 17:32 jordi
  10871. * TrackBar.cs: throw exceptions of invalid enums values
  10872. 2004-08-07 17:31 jordi
  10873. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  10874. draw method name
  10875. 2004-08-07 16:56 jackson
  10876. * HorizontalAlignment.cs: Initial checkin
  10877. 2004-08-07 13:16 jordi
  10878. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  10879. methods
  10880. 2004-08-07 13:05 jordi
  10881. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  10882. GetSysColor defines
  10883. 2004-08-06 18:01 pbartok
  10884. * ThemeWin32Classic.cs:
  10885. - Fixed some rounding issues with float/int
  10886. 2004-08-06 18:00 jackson
  10887. * DockStyle.cs, AnchorStyles.cs:
  10888. Add flags and serializable attributes.
  10889. 2004-08-06 17:46 pbartok
  10890. * XplatUIX11.cs:
  10891. - Implemented GetParent
  10892. 2004-08-06 17:18 pbartok
  10893. * TrackBar.cs:
  10894. - Fixed some rounding issues with float/int
  10895. 2004-08-06 17:17 pbartok
  10896. * X11Structs.cs, XplatUIX11.cs:
  10897. - Fixed Refresh and Invalidate
  10898. 2004-08-06 15:30 pbartok
  10899. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  10900. - Fixed recursive loop when resizing
  10901. - Improved/fixed redrawing on expose messages
  10902. 2004-08-06 09:53 jordi
  10903. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  10904. keyboard navigation
  10905. 2004-08-06 08:02 pbartok
  10906. * X11Structs.cs, XplatUIX11.cs:
  10907. - Fixed reparenting
  10908. - Fixed window border creation
  10909. 2004-08-05 15:38 pbartok
  10910. * XplatUIX11.cs:
  10911. - Attempted fix for reparenting problems
  10912. 2004-08-04 15:14 pbartok
  10913. * Control.cs:
  10914. - Fixed Invalidation bug (calculated wrong client area)
  10915. - Added ClientSize setter
  10916. 2004-08-04 15:13 pbartok
  10917. * Form.cs:
  10918. - Added AutoScale properties
  10919. 2004-08-04 15:13 pbartok
  10920. * SWF.csproj:
  10921. - Added latest files
  10922. 2004-08-04 14:11 pbartok
  10923. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  10924. XplatUIX11.cs:
  10925. - Added Invalidate handling
  10926. 2004-08-03 17:09 jordi
  10927. * XplatUIDriver.cs: fixes spelling mistake
  10928. 2004-07-27 09:53 jordi
  10929. * TrackBar.cs: fixes trackbar events, def classname, methods
  10930. signature
  10931. 2004-07-27 09:29 jordi
  10932. * ScrollBar.cs: fixes scrollbar events
  10933. 2004-07-27 04:38 jordi
  10934. * Control.cs: changes to be able to run winforms samples
  10935. 2004-07-26 11:42 jordi
  10936. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  10937. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  10938. 2004-07-26 05:41 jordi
  10939. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  10940. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  10941. implementation
  10942. 2004-07-22 09:22 jordi
  10943. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  10944. check link overlapping, implement events, and fixes
  10945. 2004-07-21 10:28 jordi
  10946. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  10947. 2004-07-21 10:19 jordi
  10948. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  10949. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  10950. LinkLabelLinkClickedEventArgs.cs,
  10951. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  10952. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  10953. implementation
  10954. 2004-07-19 13:09 jordi
  10955. * Control.cs, Label.cs: label control re-written: added missing
  10956. functionlity, events, and properties
  10957. 2004-07-19 10:49 jordi
  10958. * Control.cs: fixes SetBounds logic
  10959. 2004-07-19 01:29 jordi
  10960. * Control.cs: Call RefreshWindow only if the window has created
  10961. 2004-07-15 14:05 pbartok
  10962. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  10963. - Implemented ImageList and ImageList.ImageCollection classes
  10964. - Added ColorDepth enumeration
  10965. - Updated SWF VS.Net project
  10966. 2004-07-15 11:06 jordi
  10967. * XplatUIStructs.cs: added MsgButons enum
  10968. 2004-07-15 11:03 jordi
  10969. * Control.cs: added basic mouse handeling events
  10970. 2004-07-15 03:38 jordi
  10971. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  10972. Vertical TrackBar control implementation
  10973. 2004-07-13 09:33 jordi
  10974. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  10975. 2004-07-13 09:31 jordi
  10976. * Control.cs, Form.cs: commit: new properties and fixes form size
  10977. problems
  10978. 2004-07-09 14:13 miguel
  10979. * ProgressBar.cs: Spelling
  10980. 2004-07-09 11:25 pbartok
  10981. * ProgressBar.cs:
  10982. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  10983. faster
  10984. 2004-07-09 11:17 miguel
  10985. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  10986. * ProgressBar.cs: Fixed spelling for `block'
  10987. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  10988. style guidelines.
  10989. Avoid using the += on rect.X, that exposed a bug in the compiler.
  10990. 2004-07-08 23:21 pbartok
  10991. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  10992. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  10993. BaseCollection.cs, Binding.cs, BindingContext.cs,
  10994. BindingMemberInfo.cs, BindingsCollection.cs,
  10995. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  10996. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  10997. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  10998. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  10999. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  11000. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  11001. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  11002. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  11003. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  11004. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  11005. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  11006. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  11007. InputLanguageChangedEventArgs.cs,
  11008. InputLanguageChangedEventHandler.cs,
  11009. InputLanguageChangingEventArgs.cs,
  11010. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  11011. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  11012. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  11013. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  11014. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  11015. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  11016. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  11017. QueryAccessibilityHelpEventArgs.cs,
  11018. QueryAccessibilityHelpEventHandler.cs,
  11019. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  11020. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  11021. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  11022. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  11023. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  11024. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  11025. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  11026. XplatUIX11.cs, lang.cs:
  11027. - Initial check-in