ChangeLog 660 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804
  1. 2006-11-13 Jackson Harper <[email protected]>
  2. * TextBoxBase.cs: Don't select the word if we are on a line with
  3. no text.
  4. 2006-11-13 Gert Driesen <[email protected]>
  5. * TreeNodeCollection.cs: Avoid duplicating indexer code.
  6. 2006-11-12 Gert Driesen <[email protected]>
  7. * ColorDialog.cs: Reset size of dialog between calls to ShowDialog.
  8. Fixes part of bug #79910.
  9. 2006-11-11 Alexander Olk <[email protected]>
  10. * ColorDialog.cs: Fix a NRE when adding a color to custom colors
  11. (bug #79903). Some minor string updates to match ms.
  12. 2006-11-10 Alexander Olk <[email protected]>
  13. * FileDialog.cs: Don't add an extension if the filename
  14. already ends with that extension.
  15. 2006-11-10 Jackson Harper <[email protected]>
  16. * TreeView.cs: Use the currently highlighted node for the
  17. BeforeSelect event.
  18. * TextBoxBase.cs: There is no need to expand selection on
  19. MouseMove.
  20. - CanUndo means 'is there any undo operations', not 'is undo
  21. allowed on this textcontrol. Fixed ClearUndo unit test.
  22. 2006-11-10 Andreia Gaita <[email protected]>
  23. * Button.cs: only perform click when button is Selectable (so as
  24. not to activate default buttons when they're disabled)
  25. * Control.cs: Rewrite of the SelectNextControl and related
  26. methods. HandleClick now selects next control if the current one
  27. is being disabled.
  28. * Form.cs: OnActivated selects next active control only if Load
  29. has already occurred. If Load hasn't run, there's no point in
  30. selecting here, Load might change the state of controls.
  31. * FocusTest.cs: Tests marked as working again for these fixes
  32. 2006-11-10 Chris Toshok <[email protected]>
  33. * XplatUIX11.cs: a couple of fixes.
  34. - use XInternAtoms with almost all the atoms we need to register,
  35. instead of many, many calls to XInternAtom. should help a bit on
  36. startup time, at the expense of making the code look a little
  37. worse.
  38. - fall back to setting TransientFor on TOOLWINDOW's if their hwnd
  39. isn't reparented (which seems to be a clue that we're running fon
  40. compiz) and they have an Owner form. This fixes the tool windows
  41. in paint.net when running under compiz.
  42. - when setting the opacity of a window, support both the case
  43. where the window has been reparented and also when it hasn't been.
  44. Since compiz/beryl doesn't seem to reparent windows, and these are
  45. the only window managers which support translucency, I'm not sure
  46. why we need the hwnd.reparented case at all.. but leave it in.
  47. now we get translucent windows in paint.net under compiz/beryl.
  48. 2006-11-10 Alexander Olk <[email protected]>
  49. * FileDialog.cs: Always return the value for FilterIndex that
  50. was set. Internally convert it to values that make sense.
  51. 2006-11-10 Everaldo Canuto <[email protected]>
  52. * ThemeWin32Classic.cs: Fix drowp down arrow borders.
  53. 2006-11-10 Everaldo Canuto <[email protected]>
  54. * Toolbar.cs: Change default value of DropDownArrows to true, the
  55. signature still using false to make it compatible with MS but the
  56. initial value is true. Fixes #79855.
  57. 2006-11-10 Alexander Olk <[email protected]>
  58. * MimeIcon.cs: Don't throw an exception on windows. Mime stuff is
  59. only available on Linux.
  60. 2006-11-09 Everaldo Canuto <[email protected]>
  61. * Toolbar.cs, ToolBarButton.cs: Fix wrong separator size and
  62. reduce number of calls to redraw method during toolbar creation.
  63. 2006-11-09 Mike Kestner <[email protected]>
  64. * ListView.cs : raise SelectedIndexChanged when an item is selected
  65. programmatically via the Item.Selected property. Gert's nice
  66. ListViewSelectedIndexChanged test fixture now runs clean.
  67. 2006-11-09 Mike Kestner <[email protected]>
  68. * ListView.cs : raise SelectedIndexChanged when a selected item is
  69. removed from the item collection using Remove or RemoveAt.
  70. 2006-11-09 Mike Kestner <[email protected]>
  71. * ListView.cs : raise SelectedIndexChanged once per selected item
  72. for compat with MS. Fixes #79849+.
  73. 2006-11-09 Chris Toshok <[email protected]>
  74. * TabControl.cs: initialize row_count to 0, and set it to 1 when
  75. we need to (if we have any tab pages). Fixes unit test.
  76. 2006-11-09 Chris Toshok <[email protected]>
  77. * Label.cs (CalcPreferredWidth): if Text == "", our preferred
  78. width is 0, not 3. Fixes a unit test.
  79. 2006-11-09 Mike Kestner <[email protected]>
  80. * ListView.cs : use Implicit scrollbars so that focus isn't
  81. stolen from the listview when they are clicked. Fixes #79850.
  82. 2006-11-09 Chris Toshok <[email protected]>
  83. * PropertyGridView.cs (OnPaint): only call DrawGridItems if we
  84. have a root item. Fixes #79879.
  85. 2006-11-09 Alexander Olk <[email protected]>
  86. * FileDialog.cs:
  87. - Fix ToString ()
  88. - An ArgumentException is now thrown if a wrong filter
  89. is applied (matches ms). The previous filter doesn't change
  90. anymore if an exception is thrown.
  91. - Changing the FileName property also affects FileNames
  92. * ColorDialog.cs: The length of the CustomColors array is always
  93. 16. It doesn't matter if we use a smaller array or null to update
  94. or change the custom colors property.
  95. * FolderBrowserDialog.cs: Throw an InvalidEnumArgumentException if
  96. for RootFolder if we get a undefined value.
  97. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  98. * StatusBarPanel.cs:
  99. - Width is set to MinWidth if Width is smaller than
  100. MinWidth. Fixes #79842.
  101. - MinWidth now always overrides Width (MSDN says MinWidth
  102. is set to Width when AutoSize = None, but they do not
  103. behave like that).
  104. - Style has now the the correct default value.
  105. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  106. * TrackBar.cs:
  107. - The control is completely invalidated on
  108. Got/LostFocus to draw the focus rectangle correctly.
  109. - When AutoSize then height is always 45 (width for
  110. vertical controls).
  111. * ThemeWin32Classic.cs: The TrackBar thumb is now centered
  112. on the mouse when moved and it doesn't move when grabbed
  113. until the mouse moves as well. Also fixed some wrong
  114. calculations when clicking on the thumb (control thought
  115. click was outside of thumb and didn't grab it).
  116. Fixes some of the issues in #79718.
  117. 2006-11-08 Everaldo Canuto <[email protected]>
  118. * Toolbar.cs: Prevent disabled button to highlight. Fixes #79868.
  119. 2006-11-08 Chris Toshok <[email protected]>
  120. * PropertyGridView.cs: only call ToggleValue if the item is not
  121. readonly.
  122. 2006-11-08 Jackson Harper <[email protected]>
  123. * TextBoxBase.cs: The RichTextBox and textbox have very different
  124. word selection methods. Implement the textbox's simple word
  125. selection here, and let the RichTextBox override and provide it's
  126. own.
  127. - Don't do extra selection on mouseup
  128. * RichTextBox.cs: Use the documents word selection algorithm, I
  129. think ideally, this function will be pulled into the
  130. RichTextBox.cs code someday.
  131. 2006-11-08 Chris Toshok <[email protected]>
  132. * RootGridEntry.cs: new class to represent GridItemType.Root.
  133. * CategoryGridEntry.cs: reformat, and add boilerplate.
  134. * GridEntry.cs: remove the UIParent stuff - turns out .Parent
  135. returns the UI parent anyway, and we need special handling to
  136. implement the GetTarget method in the face of it. Also, implement
  137. Select().
  138. * PropertyGrid.cs, PropertyGridView.cs: a number of fixes. create
  139. a root grid item, and use that instead of PropertyGrid.grid_items.
  140. Also, make use of TypeConverters (and add limitted support for
  141. ICustomTypeDescriptors) when initially populating the grid.
  142. Arrays now show up more or less properly.
  143. 2006-11-08 Chris Toshok <[email protected]>
  144. * Application.cs: set the modal dialog to non modal after we close
  145. it. Fixes bug #79866.
  146. 2006-11-08 Jackson Harper <[email protected]>
  147. * TextControl.cs: When combining lines carry over the line end
  148. style from the end line.
  149. - Invalidate the selected area when setting it, if it is visible.
  150. * TextBoxBase.cs: Only rich text box can do full line selects.
  151. - Make sure to set the cursor position when there is a click,
  152. otherwise two clicks in separate areas could cause a large chunk
  153. to be selected.
  154. 2006-11-07 Everaldo Canuto <[email protected]>
  155. * Toolbar.cs: Release flat button borders when Toolbar lost focus.
  156. Fixes #79863.
  157. 2006-11-07 Everaldo Canuto <[email protected]>
  158. * Toolbar.cs: Prevent toolbar to open more than one tooltip at same
  159. time. Remove tooltips when ToolButton click events. Fixes #79856.
  160. 2006-11-07 Everaldo Canuto <[email protected]>
  161. * MenuAPI.cs: Ignore right click for menu actions and fixes
  162. menu border when clicked. Fixes #79846.
  163. 2006-11-07 Everaldo Canuto <[email protected]>
  164. * XplatUIX11.cs, XplatUIX11.cs: Fix MouseRelease to only release
  165. MouseState after create wParam for message, this fixes mouse button
  166. equal none in mouse up events.
  167. 2006-11-07 Andreia Gaita <[email protected]>
  168. * Control.cs : Focus() now calls Select to set the Container's
  169. Active Control and to give it focus. To avoid infinite recursion
  170. (because ActiveControl also calls Focus at one point), a check
  171. is made in Focus with the help of a new internal variable
  172. is_focusing.
  173. 2006-11-07 Mike Kestner <[email protected]>
  174. * ListView.cs : raise OnSelectedIndexChanged in CreateHandle
  175. if there's a selection. Fixes #79849.
  176. 2006-11-07 Gert Driesen <[email protected]>
  177. * PropertyGrid.cs: Avoid fixed height of help description label.
  178. Fixes part of bug #79829.
  179. 2006-11-07 Chris Toshok <[email protected]>
  180. * XplatUIX11.cs: fix #79790 again, by using the
  181. _NET_WM_STATE_SKIP_TASKBAR atom to implement Form.ShowInTaskbar.
  182. 2006-11-07 Everaldo Canuto <[email protected]>
  183. * ToolBar.cs: Fix left click checking.
  184. 2006-11-07 Chris Toshok <[email protected]>
  185. * ProgressBar.cs: fix a typo in ToString(). fixes a unit test.
  186. 2006-11-07 Chris Toshok <[email protected]>
  187. * RelatedPropertyManager.cs: set property_name in our ctor. fixes
  188. PropertyManager unit tests.
  189. * PropertyManager.cs: make property_name internal.
  190. 2006-11-07 Chris Toshok <[email protected]>
  191. * ButtonBase.cs: initialize base.ime_mode to ImeMode.Disable to
  192. pass a unit test. Also, don't set image_index to anything in
  193. response to setting the ImageList property.
  194. 2006-11-07 Everaldo Canuto <[email protected]>
  195. * ToolBar.cs: Ignore click events when mouse button is not a
  196. left button, only accepts other button for dropdown menus.
  197. Fixes #79854.
  198. 2006-11-07 Chris Toshok <[email protected]>
  199. * DataGrid.cs: make the back and parent row buttons a little less
  200. ugly.
  201. 2006-11-07 Jackson Harper <[email protected]>
  202. * TextBoxBase.cs: When converting to Text don't put line breaks in
  203. for soft line breaks.
  204. * TextControl.cs: There is an initial "fake" line in the document,
  205. this is now a soft break line, so that an extra line feed doesn't
  206. get added to the end of documents.
  207. 2006-11-07 Chris Toshok <[email protected]>
  208. [ fix bug #79778 ]
  209. * CurrencyManager.cs: if the list is readonly, don't bother
  210. checking if IBindingList.AllowNew is true.
  211. * ThemeWin32Classic.cs (DataGridPaintParentRow): make this work
  212. for non-DataRowView datasources.. or rather, make it not crash.
  213. (DataGridPaintRelationRow): make sure we limit the row painting to
  214. the area not covered by the row header, and make our cell width at
  215. least large enough to cover the relation area. This allows grids
  216. that have relations but no rows to render correctly.
  217. (DataGridPaintRowContents): same type of changes here.
  218. (SetDataSource): move back to always calling
  219. CalcAreasAndInvalidate. this fixes a crash/drawing problem when
  220. navigating back through relations.
  221. (HitTest): handle the case where we have no cells but have
  222. relations. Right now we generate a hit in cell 0 of whatever the
  223. row is, not sure if this is strictly correct, but it works for our
  224. purposes.
  225. * DataGrid.cs (EndEdit, CancelEdit): if we have no columns, don't
  226. bother doing anything.
  227. 2006-11-07 Jonathan Pobst <[email protected]>
  228. * StatusStrip.cs, ToolStripStatusLabel.cs: By request, an
  229. early version of StatusStrip. Not responsible for eaten
  230. application or firstborn children.
  231. 2006-11-06 Chris Toshok <[email protected]>
  232. * TabControl.cs: in OnGotFocusInternal/OnLostFocusInternal don't
  233. call GetTabRect with a -1 index. Fixes #79847.
  234. 2006-11-06 Jackson Harper <[email protected]>
  235. * TreeNodeCollection.cs: Update scrollbars after clearing.
  236. 2006-11-06 Chris Toshok <[email protected]>
  237. * NumericUpDown.cs: fix the ToString method for some unit test
  238. love.
  239. 2006-11-06 Chris Toshok <[email protected]>
  240. * PropertyGrid.cs:
  241. - set the initial SelectedGridItem if we can.
  242. - Exclude non-mergable properties only if we're merging > 1
  243. object. Merging 1 object isn't really merging, obviously.
  244. - Handle PropertySort.NoSort just like Alphabetical, which is
  245. wrong of course, but at least gets things on the screen.
  246. * PropertyGridView.cs:
  247. - Add method "FindFirstItem" which finds the first property grid
  248. item, so we can select it by default.
  249. - make use of GridEntry.CanResetValue.
  250. - Don't call RedrawBelowItemOnExpansion here anymore, the
  251. individual GridEntry's will do that.
  252. - Remove the ITypeDescriptorContextImpl internal class.
  253. * GridEntry.cs:
  254. - this class needs to implement ITypeDescriptorContext, as it's
  255. what MS's PropertyDescriptorGridEntry does, which means we can
  256. remove the ITypeDescriptorContextImpl internal class from
  257. PropertyGrid.cs. This fixes the crashing portion of bug #79829.
  258. - keep a reference to our PropertyGridView, and move the call to
  259. RedrawBelowItemOnExpansion here from PGV. This means
  260. programmaticly setting Expanded actually does something visible.
  261. - add a CanResetValue() function which takes into account our
  262. possibly multiple "selected_objects" in the merged case. Shifting
  263. PropertyGridView to use this method fixes another unreported
  264. crasher found running the test for #79829.
  265. - when Top or Bounds is updated, make sure the PropertyGridTextBox
  266. is updated to reflect this.
  267. * CategoryGridEntry.cs: the ctor takes the PGV now.
  268. 2006-11-06 Jackson Harper <[email protected]>
  269. * TextControl.cs: These are 1 based.
  270. * TextBoxBase.cs: When setting the selected text, don't change the
  271. selected text tags, this is done by ReplaceText, just position the
  272. cursor at the end of the new text.
  273. 2006-11-06 Alexander Olk <[email protected]>
  274. * ListView.cs: Allow label edit only when, when LabelEdit is
  275. set to true.
  276. 2006-11-06 Jackson Harper <[email protected]>
  277. * TextControl.cs: If a suitable wrapping position isn't found,
  278. just wrap right in the middle of a word.
  279. 2006-11-06 Alexander Olk <[email protected]>
  280. * ListView.cs, ListViewItem.cs: Implement LabelEdit. Fixes
  281. bug #79820.
  282. 2006-11-06 Jackson Harper <[email protected]>
  283. * TreeView.cs: Can't use the VisibleCount property when setting
  284. scrollbar heights, because this doesn't take into account whether
  285. or not the horz scrollbar just came visible.
  286. 2006-11-05 Everaldo Canuto <[email protected]>
  287. * MenuAPI.cs: Deactivate menu on mouse up when menus it is already
  288. activated. Fixes #79369, #79832.
  289. 2006-11-05 Alexander Olk <[email protected]>
  290. * FileDialog.cs: *sigh* Because of recent runtime changes (r67043) I
  291. had to remove support for links that point to a directory. FileInfo
  292. returns no usefull information (means, the directory they point to)
  293. for such links. Replaced some empty string ("") with String.Empty.
  294. 2006-11-04 Gert Driesen <[email protected]>
  295. * TreeNodeCollection.cs: To match MS, in 1.0 profile throw
  296. NullReferenceException when attempting to remove node that is not in
  297. collection. Throw NullReferenceException when null is passed to
  298. Remove. Allow first element of the collection to be removed. Fixes
  299. bug #79831. In GetEnumerator ().Current return null if positioned
  300. before the first element of the collection. In GetEnumerator ().Reset,
  301. position before first element of the collection.
  302. 2006-11-04 Gert Driesen <[email protected]>
  303. * PropertyGrid.cs: To match MS, remove default title and description
  304. for panel. Fixed tooltips for Categorized and Alphabetic toolbar
  305. buttons.
  306. 2006-11-04 Chris Toshok <[email protected]>
  307. * Theme.cs: add a Clamp method, just for kicks.
  308. * ThemeWin32Classic.cs: clamp all color components to [0..255].
  309. 2006-11-04 Chris Toshok <[email protected]>
  310. * Form.cs: if the form isn't visible, Close() does nothing.
  311. 2006-11-03 Chris Toshok <[email protected]>
  312. * Form.cs (Close): if the form is modal, don't Dispose of it, only
  313. Hide it.
  314. (WndProc): don't Dispose after handling the WM_CLOSE message.
  315. * Application.cs (RunLoop): toplevels is a list of Forms, so treat
  316. them as such, instead of using casts from Control to Form. Also,
  317. don't Dispose of the modal dialog when we fall out of the loop -
  318. Close() it instead.
  319. fixes bug #79813.
  320. 2006-11-03 Chris Toshok <[email protected]>
  321. * Control.cs (Dispose): only go through the dispose thing if we're
  322. @disposing, and we haven't already been disposed. Fixes bug
  323. #79814.
  324. * Form.cs: no reason to call "base.Dispose()" here instead of
  325. "Dispose()".
  326. 2006-11-03 Mike Kestner <[email protected]>
  327. * ComboBox.cs : use ToString instead of casts in AddItem for
  328. sorting functionality. Fixes #79812.
  329. 2006-11-03 Chris Toshok <[email protected]>
  330. * Application.cs: pave the way for actually using the thread
  331. exception dialog. it's ifdefed out at the moment.
  332. 2006-11-03 Chris Toshok <[email protected]>
  333. * ThreadExceptionDialog.cs: until we get a better layout, actually
  334. hide the details textbox and label when we shouldn't see them.
  335. 2006-11-03 Jackson Harper <[email protected]>
  336. * TextBoxBase.cs: Don't bail from the scrollbar calcs for non
  337. multiline textboxes anymore. This method also determines the
  338. width/height of a textboxes canvas area.
  339. - Sorta a revert of the last patch. For multiline just position
  340. the controls, then bail. This way the scrollbar width won't be
  341. altered.
  342. 2006-11-03 Everaldo Canuto <[email protected]>
  343. * ThemeWin32Classic.cs: Dont paint inner lines of 3D border when
  344. it dont need. Fixes #79537.
  345. 2006-11-02 Jackson Harper <[email protected]>
  346. * X11Dnd.cs: We always allow copy, since XDND implies Copy. Also
  347. send the status after firing the DndOver event.
  348. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  349. * TrackBar.cs: Now orientation only switches height / width if
  350. the control's handle is created (Win32 does it like this). Also
  351. fixed a typo in ToString() for a test to pass, changed the
  352. exception thrown in set_LargeChange and set_SmallChange to
  353. match Win32 behaviour, and added TrackBar tests to the unit
  354. tests.
  355. 2006-11-02 Chris Toshok <[email protected]>
  356. * XplatUIX11.cs: the atom we want is _NET_WM_STATE_SKIP_TASKBAR,
  357. not _NET_WM_STATE_NO_TASKBAR.
  358. 2006-11-02 Jackson Harper <[email protected]>
  359. * TextControl.cs: Increment count by one, since in the update view
  360. count - 1 is used.
  361. 2006-11-02 Jackson Harper <[email protected]>
  362. * TextBoxBase.cs: Use client rectangle not bounds for checking if
  363. the mouse is in the client rectangle (duh).
  364. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  365. * TrackBar.cs: Fixed trackbar jumping around when clicking
  366. on it - the trackbar was not detecting correctly at which
  367. side of the thumb the click was done. (fixes #79718)
  368. 2006-11-02 Everaldo Canuto <[email protected]>
  369. * ListBox.cs: scroll visible area when change SelectedIndex to
  370. a non visible area. Fixes #79481.
  371. 2006-11-01 Jackson Harper <[email protected]>
  372. * TextControl.cs: When replacing the selection move the selection
  373. start/end/anchor to the end of the new text.
  374. 2006-11-01 Jackson Harper <[email protected]>
  375. * XplatUIWin32.cs: When setting the parent change the controls
  376. visibility to it's visibility flag, not to it's old parents
  377. visibility (.Visible walks the parent chain).
  378. 2006-11-01 Chris Toshok <[email protected]>
  379. * XplatUIX11.cs: revert the #79790 fix, as the simple.
  380. XSetTransientForHint fix breaks paint .net's tool windows. more
  381. work needed for that one.
  382. 2006-11-01 Chris Toshok <[email protected]>
  383. * ScrollBar.cs: throw ArgumentException instead of Exception in
  384. LargeChange/SmallChange setters. fixes unit tests.
  385. 2006-10-31 Andreia Gaita <[email protected]>
  386. * ContainerControl.cs: reverted rev.67183 (which was itself
  387. a reversion of rev.66853... eh).
  388. * Control.cs: Fixes Reflector hang by changing Focus() call
  389. to what it was before rev.66643 (calling Select() here sets
  390. ActiveControl, which in some situations calls back Focus and
  391. eventually does a stack overflow). Temp fix.
  392. Changes to GetNextControl() to not look for children to select when
  393. parent cannot be selectable (so it looks for siblings instead)
  394. 2006-10-31 Mike Kestner <[email protected]>
  395. * CheckedListBox.cs : off by one error in returned index from
  396. ObjectCollection.Add. Fixes #79758.
  397. 2006-10-31 Chris Toshok <[email protected]>
  398. * UpDownBase.cs: remove the OnGotFocusInternal/OnLostFocusInternal
  399. calls for the textbox/spinner, to keep from recursing to the point
  400. where we crash. Fixes #79760.
  401. 2006-10-31 Chris Toshok <[email protected]>
  402. * ListControl.cs (set_SelectedValue): don't throw exceptions on
  403. null/"" value, just return. matches ms's behavior and fixes some
  404. failing tests.
  405. 2006-10-31 Chris Toshok <[email protected]>
  406. * Control.cs (set_Capture): make a logic a little easier to
  407. follow.
  408. * XplatUIX11.cs (CleanupCachedWindows): zero out the Grab window
  409. if it's being destroyed. A necessary fix surely, but a bandaid
  410. also, to fix the stuck capture problem in bug #78413.
  411. 2006-10-31 Chris Toshok <[email protected]>
  412. * XplatUIX11.cs: fix a couple of compiler warnings, and follow the
  413. convention of clearing hwnd.ClientRect when we set the
  414. width/height (so it'll be recalculated by Hwnd).
  415. 2006-10-31 Andreia Gaita <[email protected]>
  416. * ContainerControl.cs: reversed Contains check from
  417. ActiveControl due to hanging problems. This fix
  418. partly regresses #79667 (button does not have
  419. initial focus), so this might be a symptom for
  420. a larger parenting problem (set_ActiveControl
  421. is being called but the child control does
  422. not have the parent set yet?)
  423. 2006-10-31 Mike Kestner <[email protected]>
  424. * MenuAPI.cs : fix keynav when menu is click activated.
  425. 2006-10-31 Jonathan Pobst <[email protected]>
  426. * ToolStrip*: Version 0.2.
  427. * MenuStrip.cs: Version 0.1.
  428. * Form.cs: Add a 2.0 MenuStrip tracker like the 1.1 Menu one.
  429. 2006-10-30 Chris Toshok <[email protected]>
  430. [ fixes the oversized notify icon issue in bug #79745 ]
  431. * NotifyIcon.cs: scale the icon down to the size we're given by
  432. the XplatUI layer (this would be faster if we did it once instead
  433. of whenever we paint..) Also, remove the WM_NCPAINT handling,
  434. since it's never invoked.
  435. * XplatUIX11.cs: the gnome and kde systrays use icons that are 24
  436. pixels high by default, so let's hardcode our systray icon to that
  437. size. The SYSTEM_TRAY protocol should really have a way for
  438. client apps to query for the correct icon size.. but oh well. A
  439. couple of patches to deal with the screwy client_window ==
  440. whole_window notifyicon stuff (we don't want to PerformNCCalc, for
  441. instance, and also make sure we don't XSelectInput twice).
  442. 2006-10-30 Chris Toshok <[email protected]>
  443. * Control.cs: ugh, the unit test fix (CH11, yesterday) breaks when
  444. recreating forms. Control recreation is the bane of my existence.
  445. Fix it in a way that keeps everyone happy.
  446. 2006-10-30 Chris Toshok <[email protected]>
  447. * XplatUIX11.cs: use StructureNotifyMask on all whole_windows, not
  448. just non-CHILD ones. otherwise sometimes scrollbars end up with
  449. client_windows not being resized to the proper size (ReportBuilder
  450. shows this extremely well).
  451. 2006-10-30 Chris Toshok <[email protected]>
  452. * XplatUIX11.cs (SetWMStyles): reinstate the XSetTransientForHint
  453. for non-WS_EX_APPWINDOW windows. This is what keeps them from
  454. showing up in the gnome taskbar. Fixes bug #79790.
  455. 2006-10-30 Chris Toshok <[email protected]>
  456. * ApplicationContext.cs: guard against a NRE.
  457. * Application.cs: null out the old MainForm for the context, so we
  458. don't try to use it again once it's disposed. Fixes bug #79783.
  459. 2006-10-30 Chris Toshok <[email protected]>
  460. * DataGrid.cs (set_DataSource, set_DataMember): if we have a
  461. BindingContext, set the data source directly, otherwise do the
  462. lazy approach - the actual ListManager will be created when we get
  463. a BindingContext. Fixes bug #79700.
  464. 2006-10-30 Jonathan Pobst <[email protected]>
  465. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  466. XplatUIX11.cs: Remove old 2 parameter SetVisible.
  467. * Control.cs: Use the new 3 parameter SetVisible with activate = true.
  468. 2006-10-30 Jonathan Pobst <[email protected]>
  469. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Add an overload
  470. of SetVisible that allows a window to be shown, but not activated.
  471. This is needed on Windows for MenuStrip, and can probably be used
  472. with MainMenu and ComboBox to fix the focus stealing issues on
  473. Windows.
  474. * XplatUIOSX.cs, XplatUIX11.cs: Not needed, call existing SetVisible.
  475. 2006-10-30 Alexander Olk <[email protected]>
  476. * PictureBox.cs: Fix the output of the ToString method.
  477. 2006-10-29 Chris Toshok <[email protected]>
  478. * Control.cs (get_TopLevelControl): fix bug #79781.
  479. 2006-10-29 Chris Toshok <[email protected]>
  480. * ListControl.cs (set_DataSource): throw Exception here, not
  481. ArgumentException, to match MS behavior.
  482. 2006-10-29 Chris Toshok <[email protected]>
  483. * Form.cs: remove the try-catch's around calls to GetWindowState.
  484. We can just check the return value.
  485. * XplatUIX11.cs: don't throw exceptions from GetWindowState.
  486. Instead return -1.
  487. * XplatUI.cs: Add note about additional return value for
  488. GetWindowState.
  489. 2006-10-29 Chris Toshok <[email protected]>
  490. * Control.cs (CreateHandle): when we create our handle, we also
  491. create the handles of our child controls. Fixes one of the
  492. Control unit tests (CH11).
  493. 2006-10-28 Alexander Olk <[email protected]>
  494. * MimeIcon.cs: If a gnome icon doesn't exist add a default icon.
  495. 2006-10-28 Alexander Olk <[email protected]>
  496. * ThemeClearlooks.cs: A little speedup.
  497. 2006-10-27 Chris Toshok <[email protected]>
  498. * Control.cs: implement Control.FromChildHandle in a way that
  499. matches the docs (and fixes the failed test.)
  500. 2006-10-27 Chris Toshok <[email protected]>
  501. * DataGridTableStyle.cs: reproduce buggy MS behavior (with
  502. comments).
  503. * DataGrid.cs: implement ResetForeColor such that the tests
  504. succeed.
  505. 2006-10-27 Chris Toshok <[email protected]>
  506. * ToolBarButton.cs: setting text/tooltiptext to null results in it
  507. being set to "". Fixes bug #79759.
  508. 2006-10-27 Jackson Harper <[email protected]>
  509. * TextControl.cs: We need to clear the entire selection area when
  510. setting the start, otherwise multiline selections are still
  511. visible.
  512. 2006-10-26 Chris Toshok <[email protected]>
  513. * PropertyGridView.cs:
  514. - ifdef all the code specific to the double
  515. buffer case, and provide some alternatives in the non-doublebuffer
  516. code, which makes heavy use of XplatUI.ScrollWindow to move things
  517. around without having to invalidate (and cause flicker). There
  518. are still some drawing problems in the non-doublebuffered case, so
  519. DOUBLEBUFFER is defined by default.
  520. - Fix the way dropdowns are handled. now we explicitly watch for
  521. the events which might cause the dropdown to close, and break out
  522. of the nested event loop there. This gets rid of all Capture
  523. code, at the expense of the Msg special casing. Seems to work,
  524. though, and fixes bug #79743.
  525. 2006-10-27 Rolf Bjarne Kvinge <[email protected]>
  526. * Control.cs: SetIsRecreating now recreates implicitly added
  527. child controls as well. Finally fixes #79629. The flag passed to
  528. SetIsRecreating has also been removed since it wasn't used.
  529. 2006-10-26 Carlos Alberto Cortez <[email protected]>
  530. * PageSetupDialog.cs: Clean some code, fix some bits,
  531. add some checks, and add a printer sub-dialog.
  532. 2006-10-26 Chris Toshok <[email protected]>
  533. * PropertyGrid.cs: make set_SelectedObject call
  534. set_SelectedObjects, and move the duplicate logic to the
  535. SelectedObjects setter. Also, raise SelectedObjectsChanged.
  536. * PropertyGridView.cs: hide the textbox when we get a
  537. SelectedObjectsChanged event.
  538. Fixes bug #79748.
  539. 2006-10-26 Chris Toshok <[email protected]>
  540. * PropertyGridView.cs: deal with the type converter not supporting
  541. GetStandardValues() or GetStandardValues() returning null, which
  542. is does in the default case. Fixes #79742.
  543. 2006-10-25 Andreia Gaita <[email protected]>
  544. * CheckedListBox.cs: nunit no longer crashes when selecting
  545. Project/Edit menu option
  546. 2006-10-25 Andreia Gaita <[email protected]>
  547. * MenuAPI.cs: prevent ExecFocusedItem from blowing up if there
  548. is no menu selected. fixes #79739
  549. 2006-10-25 Chris Toshok <[email protected]>
  550. * PropertyGridView.cs: factor out the splitter invalidation code
  551. into the SplitterPercent setter, and for kicks implement the
  552. Ctrl-Left/Ctrl-Right handling that moves the splitter by a small
  553. amount in either direction.
  554. 2006-10-25 Chris Toshok <[email protected]>
  555. * PropertyGridView.cs: do some cleanup of the brush used to draw
  556. text - read only fields should be grayed out. not sure how to do
  557. this with the textbox, though. but the textbox's should also be
  558. readonly now at least. Also, hide/show the textbox when resizing
  559. the control.
  560. * CursorConverter.cs: use System.Reflection when getting the
  561. properties of Cursors, as TypeDescriptor.GetProperties isn't
  562. returning static properties.
  563. 2006-10-25 Chris Toshok <[email protected]>
  564. * PropertyGridView.cs: factor out the up/down handling, and reuse
  565. it for page up/down. also add End/Home support.
  566. 2006-10-25 Chris Toshok <[email protected]>
  567. * PropertyGridView.cs:
  568. - ensure the selected grid item is visible in the scrolled area,
  569. fixes bug #79572.
  570. - fix Keys.Down handling when you're on the last item in the
  571. propertygrid.
  572. 2006-10-25 Mike Kestner <[email protected]>
  573. * MenuAPI.cs : set the ActiveTracker for MainMenu non-popup
  574. clicks too. Fixes #79725.
  575. 2006-10-24 Chris Toshok <[email protected]>
  576. * PropertyGrid.cs: use property.Converter instead of
  577. TypeDescriptor.GetConverter(property.PropertyType), so we catch
  578. TypeConverters declared on the property as well as on the
  579. PropertyType. Fixes bug #79678.
  580. 2006-10-24 Alexander Olk <[email protected]>
  581. * MimeIcon.cs, Mime.cs:
  582. Fallback to the default platform handler if no shared mime info
  583. stuff exists (fixes #79693).
  584. 2006-10-20 Andreia Gaita <[email protected]>
  585. * ContainerControl.cs: Incorrect contains check in ActiveControl
  586. from previous fix (duh).
  587. 2006-10-20 Chris Toshok <[email protected]>
  588. * PropertyGridView.cs: the dropdown should be MIN(number of items
  589. in list, 15). Fixes #79551.
  590. 2006-10-20 Andreia Gaita <[email protected]>
  591. Fixes #79384, #79394, #79652, #79667
  592. * Application.cs:
  593. - Modal windows are now destroyed in the proper order for windows
  594. * ContainerControl.cs:
  595. - ActiveControl setter has more conditions on when to return:
  596. - if we're reselecting the active control, but it actually
  597. didn't have focus (window hidden or some such), it runs
  598. - if the active control being selected doesn't actually
  599. exist in the container, it returns
  600. * Form.cs
  601. - The ShowDialog now gets the current form as the owner when
  602. invoking without parameters, and correctly activates the owner
  603. when returning
  604. * MessageBox.cs
  605. - MessageBox now catches the Escape key to exit
  606. 2006-10-20 Chris Toshok <[email protected]>
  607. * PropertyGridView.cs: fix a number of issues (bug #78565, and
  608. most of bug #79676):
  609. - you can navigate around the property grid with the arrow keys.
  610. - the dropdown is sized properly when the pg has a vertical
  611. scrollbar.
  612. - fix the indentation for subentries, and properly select the
  613. entire label rect.
  614. - fix the gray bar's drawing (only draw it to the last element,
  615. not for the height of the control. Also make sure we draw that
  616. last horizontal grid line.
  617. - use the same mechanism the datagrid uses wrt the editing textbox
  618. when scrolling/resizing/etc. Namely, we hide it first, do the
  619. operation, then show it again (if it's still visible).
  620. - aggressively remove a lot of unnecessary refreshes (and also
  621. calls to Invalidate(). call more limited variants, and only redraw
  622. what we need.)
  623. * PropertyGrid.cs:
  624. - when we're populating the merged collection, fill in the UI
  625. parent with either the passed in item, or the category item we
  626. create.
  627. - remove the Refresh call from the BorderHelpControl.OnSizeChanged.
  628. * GridItem.cs: drop some fully qualified names.
  629. * GridEntry.cs: add a "UIParent", which is basically the parent
  630. treenode.
  631. * GridItemCollection.cs: add an IndexOf method.
  632. 2006-10-20 Mike Kestner <[email protected]>
  633. * MainMenu.cs : go back to Draw in OnMenuChanged. Until we get
  634. a working win32 NC invalidation mechanism, we can't invalidate
  635. menus. [Fixes #79705]
  636. 2006-10-20 Mike Kestner <[email protected]>
  637. * ListBox.cs : don't update the VScrollbar if the list is empty,
  638. just hide it. [Fixes #79692]
  639. 2006-10-20 Jackson Harper <[email protected]>
  640. * RichTextBox.cs: Handle some special chars better, and don't skip
  641. the entire group when we encounter a special char that we don't
  642. handle correctly.
  643. 2006-10-18 Chris Toshok <[email protected]>
  644. * PropertyGridView.cs: address a number of issues from bug #79676,
  645. mostly of the cosmetic variety.
  646. - The highlight rectangle for indented items not extends all the
  647. way to the left.
  648. - Indented items aren't indented so much.
  649. - the dropdown is properly sized width-wise if the pg has a
  650. vertical scrollbar.
  651. 2006-10-18 Chris Toshok <[email protected]>
  652. * XplatUIX11.cs (SystrayAdd): a rather convoluted change, but the
  653. systray stuff is rather convoluted to begin with.
  654. systray icons are a single window for some reason (that I haven't
  655. figured out yet), and for them, client_window == whole_window.
  656. Given the way the tests are structured elsewhere to determine
  657. which paints are pending (client vs. nc), that situation will
  658. always yield PAINT, not NCPAINT. So, if we have a pending
  659. nc_expose and no pending expose, remove the hwnd from the paint
  660. queue, and also set nc_expose_pending to false, to keep us from
  661. blocking further expose's adding the hwnd to the paint queue.
  662. phew. like i said, a rather convoluted change. Fixes the
  663. notifyicon repaint issues in bug #79645.
  664. 2006-10-18 Chris Toshok <[email protected]>
  665. * Form.cs: when getting the backcolor of the form, don't get
  666. base.BackColor, as this allows parents to influence the background
  667. color. This breaks mdi forms. Instead, if the background_color
  668. is empty, return the default.
  669. 2006-10-18 Chris Toshok <[email protected]>
  670. * XplatUIX11.cs: change some debug ifdefs, and return XGetParent
  671. to being private instead of internal static.
  672. * Control.cs: remove all the stupid ParentWaitingOnRecreation
  673. crap, it wasn't working for more deeply nested controls anyway,
  674. and we already have the is_recreating flag - use that instead.
  675. Before calling DestroyHandle in RecreateHandle, recurse through
  676. the control tree setting it to true. this returns the recreate
  677. code to much of its original simplicity, while now guaranteeing we
  678. actually recreate everything we're supposed to. This change gets
  679. fyireporting actually showing mdi children.
  680. 2006-10-17 Chris Toshok <[email protected]>
  681. * Form.cs: remove some debug spew, and collapse some duplicate
  682. code at the end of SetClientSizeCore.
  683. * XplatUIX11.cs:
  684. - add some more debug spew here too wrt Destroy handling.
  685. - don't call hwnd.Dispose in DestroyWindow, it's effectively done
  686. in Control's handling of WM_DESTROY.
  687. - Remove the handling of zombie window DestroyNotifies from the
  688. event loop - we don't need it. Now the only DestroyNotifies we
  689. actually handle are ones generated by X.
  690. - When sending _NET_ACTIVE_WINDOW, the first param should be 1, to
  691. match gtk's (functioning) handling of this. This keep metacity
  692. from leaving droppings in the form of wm borders with no window
  693. contents all over the place.
  694. * Control.cs:
  695. - add a bunch of debug spew wrt control recreation.
  696. - fix a bug where we weren't tracking Visible properly on
  697. recreated hwnds.
  698. - fixed the WM_PAINT double buffer handling to support re-entrant
  699. calls (yes, i know it's gross, but it's happening to us).
  700. 2006-10-17 Rolf Bjarne Kvinge <[email protected]>
  701. * ThemeWin32Classic.cs: changed drawing of selected days
  702. to make them look better.
  703. 2006-10-16 Chris Toshok <[email protected]>
  704. * Hwnd.cs: replace the user_data/client_dc/non_client_dc with
  705. drawing_stack. Nuke the ClientDC/NonClientDC properties.
  706. * XplatUIX11.cs: move away from using hwnd.client_dc and
  707. hwnd.non_client_dc and on to a stack of dc's (and in window's
  708. case, PAINTSTRUCT's), so we can deal with nested Paint calls
  709. without puking or not disposing of Graphics objects.
  710. * XplatUIOSX.cs: same.
  711. * XplatUIWin32.cs: same.
  712. 2006-10-03 Alexander Olk <[email protected]>
  713. * FileDialog.cs: Don't call on_directory_changed inside
  714. OnSelectedIndexChanged (it changes the SelectedIndex too).
  715. Instead move it to OnSelectionChangeCommitted.
  716. 2006-10-13 Chris Toshok <[email protected]>
  717. * XplatUIX11.cs: more Destroy work. the current code does the
  718. following things, in order:
  719. 1. Enumerates all handles of all controls at or below the one
  720. being destroyed, in pre-order. As it is doing this, it marks the
  721. handles as zombie and clears all references to them.
  722. 2. calls XDestroyWindow on the window passed in.
  723. 3. SendMessage's WM_DESTROY to all he handles in the accumulated
  724. list.
  725. 2006-10-13 Chris Toshok <[email protected]>
  726. * XplatUIX11.cs: set hwnd.zombie to true before calling
  727. SendMessage (WM_DESTROY). this keeps us from marking the new
  728. window a zombie, and also keeps us from calling sendmessage at
  729. all.
  730. 2006-10-13 Jackson Harper <[email protected]>
  731. * TextControl.cs: Do not show the caret and selection at the same
  732. time. Reduces ugliness by 35%.
  733. 2006-10-13 Chris Toshok <[email protected]>
  734. * XplatUIX11.cs (SendWMDestroyMessages): set the hwnd to be a
  735. zombie after we do the recursive call, so we actually do call
  736. SendMessage on the children controls.
  737. (GetMessage): if we find a pending paint event for a zombie hwnd,
  738. remove the hwnd from the paint queue, or else it will always be
  739. there (and we'll effectively loop infinitely)
  740. 2006-10-13 Mike Kestner <[email protected]>
  741. * MenuItem.cs : add Selected format under keynav too.
  742. Fixes #79528.
  743. 2006-10-13 Gert Driesen <[email protected]>
  744. * PropertyGrid.cs: Fixed some NRE's and small difference between our
  745. implementation and that of MS.
  746. 2006-10-13 Chris Toshok <[email protected]>
  747. * Control.cs (OnInvalidated) only futz with the invalid_region if
  748. the control is double buffered. this fixes the apparent hang in
  749. the ListView unit tests. Someone needs to make the
  750. BeginEndUpdateTest not call OnInvalidated 15004 times, though..
  751. 2006-10-13 Chris Toshok <[email protected]>
  752. * PropertyGridView.cs:
  753. - do a little refactoring so that only one place calls
  754. dropdown_form.Hide, and that is CloseDropDown. make everywhere
  755. else call that. Also make it Refresh, since there are redraw bugs
  756. otherwise (we should take a look at that...)
  757. - do a little more refactoring work to share the body of code
  758. involved with the drop down. it was duplicated in the code
  759. dealing with the listbox handling and in the code dealing with the
  760. UITypeEditors.
  761. - add a Capture to the dropdown form's control once it's
  762. displayed, and add a MouseDown handler that checks to make sure
  763. the position is inside the control. If it's not, close the
  764. dropdown. This fixes #78190.
  765. - in SetPropertyValueFromUITypeEditor, only call SetPropertyValue
  766. if the value is different than the initial value.
  767. 2006-10-13 Andreia Gaita <[email protected]>
  768. * Control.cs: see #78650
  769. - Fixed GetNextControl for several cases:
  770. - Changed FindFlatForward to return
  771. correct sibling control when more than one
  772. control has same TabIndex as the currently
  773. focused one.
  774. - Changed FindFlatBackward to loop children
  775. from last to first and apply same logic as in
  776. FindFlatForward
  777. - Changed FindControlForward to search for
  778. children when control is not a container
  779. but has children, or search for siblings if
  780. control is a container...
  781. - Changed FindControlBackward to continue
  782. searching for child controls when hitting
  783. Panel-like parents
  784. - Fixed Focus method to update ActiveControl
  785. (FocusTest.FocusSetsActive failure)
  786. * TabControl.cs:
  787. - Focus rectangle now refreshes when gaining
  788. or losing focus
  789. - Removed grab for Tab key on IsInputKey that
  790. was keeping tab navigation from working (#78650)
  791. 2006-10-13 Chris Toshok <[email protected]>
  792. * PropertyGridView.cs:
  793. - Rewrite SetPropertyValue to loop over SelectedGridItem's
  794. SelectedObjects.
  795. - Deal with GridItem.Value == null a few places.
  796. * PropertyGrid.cs:
  797. - replace the PopulateGridItemCollection with a pair of methods
  798. which compute the intersection of all the properties in the
  799. SelectedObjects array. Fixes #79615.
  800. - Throw ArgumentException from set_SelectedObjects if there's a
  801. null in the array.
  802. - Add GetTarget method which can be used to traverse up the
  803. GridItem.Parent chain. It depends on the assumption that
  804. selected_objects for different GridEntries are always in the same
  805. order (a safe assumption). Use this method and loop over all the
  806. selected objects in the entry when calling RemoveValueChanged and
  807. AddValueChanged.
  808. * GridEntry.cs: Make this handle multiple selected objects.
  809. .Value returns null if not all the selected objects share the same
  810. value.
  811. 2006-10-12 Jonathan Pobst <[email protected]>
  812. * ToolStrip.cs, ToolStripButton.cs, ToolStripComboBox.cs,
  813. ToolStripControlHost.cs, ToolStripItem.cs, ToolStripLabel.cs,
  814. ToolStripProfessionalRenderer.cs, ToolStripProgressBar.cs,
  815. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs,
  816. ToolStripTextBox.cs: Add accessibility, fix attributes/API and
  817. add additional functionality.
  818. 2006-10-12 Mike Kestner <[email protected]>
  819. * ErrorProvider.cs : new ToolTipWindow ctor sig.
  820. * HelpProvider.cs : new ToolTipWindow ctor sig.
  821. * ToolTip.cs : remove ToolTip param from Window sig since it is
  822. not used.
  823. * ToolBar.cs : add tooltip support. Fixes #79565.
  824. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  825. * ComboBox.cs: move the events in set_SelectedIndex to
  826. after the call to HighlightIndex in order to avoid
  827. possible recursion and subsequent problems with the call
  828. to HighlightIndex and include a range check in
  829. set_HighlightIndex. Fixes #79588
  830. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  831. * MonthCalendar.cs: When FirstDayOfWeek is default set firstday
  832. to ui thread's settings instead of sunday.
  833. * ThemeWin32Classic.cs: Localize the day string. Fixes #79563
  834. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  835. * DateTimePicker.cs
  836. * MonthCalendar.cs
  837. * ThemeWin32Classic.cs: rewrote DateTimePicker to fix bug #78364
  838. and implement missing functionality (selecting different parts
  839. of the date and edit them individually with the keyboard).
  840. 2006-10-11 Chris Toshok <[email protected]>
  841. * Control.cs (OnInvalidated): fix NRE relating to last change.
  842. 2006-10-11 Chris Toshok <[email protected]>
  843. * XplatUIX11.cs (SetWMStyles): make sure we include the MAXIMIZED
  844. atoms in _NET_WM_STATE here if the window is maximized. We need
  845. to do this because we're *replacing* the existing _NET_WM_STATE
  846. property, so those atoms will be lost otherwise, and any further
  847. call to GetWindowState will return Normal for a window which is
  848. actually maximized. Fixes #79338.
  849. 2006-10-11 Jackson Harper <[email protected]>
  850. * TextControl.cs: Special case for setting selection end to
  851. selection start, we basically kill the anchor.
  852. - some todo comments.
  853. 2006-10-11 Chris Toshok <[email protected]>
  854. * Control.cs: switch to using an "invalid_region" to track which
  855. parts of the image buffer need updating. This is more code than
  856. the simple fix from r66532. That version just attempted to always
  857. fill the entire buffer on redraw, which turns out to be
  858. inefficient when invalidating small rectangles. This version
  859. simply adds the invalid rectangle to the invalid region. When we
  860. get any WM_PAINT message we see if it can be filled using the
  861. image buffer, and if it can't (if the paint event's clip rectangle
  862. is visible in the invalid region) we first fill the image buffer.
  863. So, the image buffer is still a cache, we just fill it lazily.
  864. * PaintEventArgs.cs: remove the SetClipRectangle method, we don't
  865. need it any longer.
  866. 2006-10-11 Chris Toshok <[email protected]>
  867. * XplatUIX11.cs (SetWindowPos): we need to update both position as
  868. well as size after calling XMoveResizeWindow. This keeps us from
  869. ignoring future SetWindowPos calls. Fixes the disappearing
  870. DateTimePicker in the ToolBarDockExample from bug #72499.
  871. 2006-10-11 Chris Toshok <[email protected]>
  872. * TextBoxBase.cs: reorder things a bit when it comes to
  873. resizing-causing-recalculation. we were recalculating the
  874. document when our position was changed, which shouldn't happen.
  875. We only care about size changes. Clear up some more redundant
  876. recalculation calls while I'm at it. This makes the toolbar dock
  877. example snappy when you're just dragging toolbars around (since it
  878. causes a relayout whenever you move one.)
  879. 2006-10-11 Chris Toshok <[email protected]>
  880. * ToolBarButton.cs (get_Rectangle): this only returns
  881. Rectangle.Empty if Visible == false, or Parent == null.
  882. Parent.Visible doesn't matter.
  883. 2006-10-10 Chris Toshok <[email protected]>
  884. * Control.cs, PaintEventArgs.cs: "internal set { .. }" isn't loved
  885. by .net 1.1, so switch to an internal method instead.
  886. 2006-10-10 Chris Toshok <[email protected]>
  887. * Control.cs (WM_PAINT): when a control is double buffered we draw
  888. initially to the ImageBuffer and then copy from there. But when a
  889. parent control which has child controls is double buffered, the
  890. initial drawing doesn't encompass the entire ClientRectangle of
  891. the parent control, so we end up with uninitialized bits (this is
  892. easily seen by dragging the top toolbar in
  893. wf-apps/ToolBarDockExample to the right, quickly). The fix is to
  894. manually set the ClipRectangle of the paint_event (only the one we
  895. use to populate the ImageBuffer) to ClientRectangle. Fixes more
  896. of the nastiness in bug #72499.
  897. * PaintEventArgs.cs: Add an internal setter for ClipRectangle,
  898. which we use in Control.cs's WM_PAINT handling.
  899. 2006-10-10 Jackson Harper <[email protected]>
  900. * TextBoxBase.cs: Finish off the autoscrolling stuff.
  901. 2006-10-10 Chris Toshok <[email protected]>
  902. * Cursor.cs: Apply a slightly different patch to the one suggested
  903. in #79609.
  904. 2006-10-10 Jackson Harper <[email protected]>
  905. * MenuItem.cs: Make sure to put the mdi child in the hashtable,
  906. not the parent form.
  907. * TextControl.cs: use difference in old line count vs new count to
  908. calculate how many lines were added, this takes into account soft
  909. line breaks properly.
  910. 2006-10-10 Chris Toshok <[email protected]>
  911. * LinkLabel.cs: don't call MeasureCharacterRanges against a
  912. rectangle located at 0,0 and the size of the text. Use
  913. ClientRectangle instead. This fixes rendering of non-left aligned
  914. link labels.
  915. 2006-10-10 Jackson Harper <[email protected]>
  916. * TextBoxBase.cs: When we set the selection start position the
  917. caret.
  918. * TextControl.cs: Need to update the caret when we decrement it to
  919. zero.
  920. - Make sure that the selection_visible flag gets reset to false if
  921. the selection isn't visible. Before this you could get it set to
  922. visible by changing the selection start, then changing the end to
  923. equal the start.
  924. 2006-10-09 Jackson Harper <[email protected]>
  925. * TreeView.cs: Don't update scrollbars when we aren't visible.
  926. * TreeNodeCollection.cs: Only need to update scrollbars if being
  927. added to an expanded visible node or the root node.
  928. 2006-10-09 Chris Toshok <[email protected]>
  929. * XplatUIX11.cs (SendMessage): fix NRE.
  930. 2006-10-09 Jackson Harper <[email protected]>
  931. * TextBoxBase.cs: Implement horizontal autoscrolling.
  932. * TextControl.cs: Add a movement types that allows moving forward
  933. and backwards without wrapping.
  934. 2006-10-09 Mike Kestner <[email protected]>
  935. * ListViewItem.cs : layout changes for wrapped LargeIcon labels
  936. with focus "expansion" of labels. Fixes #79532 and then some.
  937. * ThemeWin32Classic.cs : add LineLimit to ListView label format
  938. when wrapping.
  939. 2006-10-09 Jackson Harper <[email protected]>
  940. * TextBoxBase.cs: Set the default max values to MaxValue since
  941. we use the scrollbar for autoscrolling and the default value is
  942. 100. If we don't do this the caret won't keep up with typing
  943. after about 18 characters.
  944. * TextControl.cs: Make sure the selection is offset by the
  945. viewport x. This fixes selection when using auto scrolling.
  946. 2006-10-07 Andreia Gaita <[email protected]>
  947. * Form.cs: The active control should be selected after the
  948. OnLoad so that any child control initialization that affects
  949. the selection is done. Fixes #79406
  950. 2006-10-06 Chris Toshok <[email protected]>
  951. * XplatUIX11.cs: This is perhaps a dangerous change, but it seems
  952. to have no evil effects.
  953. - Stop selecting StructureNotifyMask on non-toplevel windows.
  954. The only way children should be resized is by using the SWF api,
  955. and we already send WM_WINDOWPOSCHANGED messages in those cases.
  956. Toplevel windows can be interacted with via the window manager,
  957. and so we keep the input mask there.
  958. The other event StructureNotifyMask gives us (that we care
  959. about) is DestroyNotify. The code is already structured such
  960. that it assumes we won't be getting a DestroyNotify event for
  961. the window we pass to XDestroyWindow (which is what
  962. StructureNotifyMask is supposed to guarantee.) So, that code
  963. shouldn't be affected by this either.
  964. - Stop selecting VisibilityChangeMask altogether.
  965. We weren't doing anything with the resulting events anyway.
  966. This vastly reduces the number of X requests and events we see
  967. when resizing/laying out a large ui.
  968. 2006-10-06 Chris Toshok <[email protected]>
  969. * ScrollableControl.cs (DisplayRectangle): we need to take into
  970. account the DockPadding regardless of whether or not auto_scroll
  971. == true. rework this slightly to this effect, and fix bug #79606,
  972. and part of #72499 (you can now see the drag handles and drag
  973. toolbars around).
  974. 2006-10-06 Gert Driesen <[email protected]>
  975. * ListViewItem.cs: Collections of selected and checked items are now
  976. dynamically rebuilt. Whenever an item is (un)checked or (de)selected
  977. we mark the collection "dirty".
  978. * ListView.cs: Marked collections readonly. Modified UpdateSelection
  979. to only clear SelectedItems when a new item is selected and MultiSelect
  980. is enabled. CheckedItems and SelectedItems now subscribe to Changed
  981. event of ListViewItemCollection, and mark its list dirty whenever
  982. that event is fire. This allows us to return selected/checked items
  983. in the same order as they are in the Items collection. This matches
  984. the MS behavior.
  985. 2006-10-06 Chris Toshok <[email protected]>
  986. * NotifyIcon.cs (HandleMouseUp): only show the context menu on
  987. right mouse clicks. Fixes bug #79593.
  988. 2006-10-06 Chris Toshok <[email protected]>
  989. * Splitter.cs: doh, fix splitters that don't want to cancel the
  990. movement when you drag them. Also, impose the limits on the
  991. values we send to the SplitterMovingEvent. Fixes #79598.
  992. 2006-10-06 Jackson Harper <[email protected]>
  993. * TextBoxBase.cs: Ignore whether or not the scrollbar is enabled,
  994. since we use this for auto scrolling also.
  995. 2006-10-05 Chris Toshok <[email protected]>
  996. * DataGridBoolColumn.cs: Nuke the code from ConcedeFocus. I'm
  997. beginning to think that most datagrid column types don't need this
  998. method. Fixes bug #79392.
  999. 2006-10-05 Chris Toshok <[email protected]>
  1000. * DataGrid.cs: move back to a more lazy scheme for creating the
  1001. CurrencyManager, so we aren't updating it every time you set
  1002. either DataSource or DataMember. Also, don't call
  1003. RecreateDataGridRows if the currency manager hasn't changed.
  1004. 2006-10-05 Chris Toshok <[email protected]>
  1005. * ComboBox.cs: by the time the OnSelectionChangeCommitted event is
  1006. emitted, SelectedIndex should already be updated. Fixes bug
  1007. #78929.
  1008. 2006-10-05 Jonathan Pobst <[email protected]>
  1009. * ToolStripComboBox.cs, ToolStripControlHost.cs, ToolStripProgressBar,
  1010. ToolStripTextBox.cs: Initial commit.
  1011. * ToolStripItem.cs: Fixes for OnLayout, BackColor, Parent.
  1012. 2006-10-05 Jackson Harper <[email protected]>
  1013. * TabControl.cs: We need to invalidate the tab control area when
  1014. new ones are added (duh).
  1015. 2006-10-03 Chris Toshok <[email protected]>
  1016. * Form.cs (ProcessDialogKey): if the focused control is in this
  1017. form and is a button, call its PerformClick method here. Fixes
  1018. #79534.
  1019. 2006-10-04 Jackson Harper <[email protected]>
  1020. * TabPage.cs: Ignore setting of Visible, and add an internal
  1021. method for setting the controls visibility. TabPage's Visible
  1022. property is a little strange on MS, this seems to make us
  1023. compatible, and fixes cases where people set all the tab pages to
  1024. visible.
  1025. * TabControl.cs: Use the new internal setting on tab pages
  1026. visibility.
  1027. 2006-10-03 Mike Kestner <[email protected]>
  1028. * ComboBox.cs : raise Click on ComboTextBox clicks. Fixes #79555.
  1029. 2006-10-03 Mike Kestner <[email protected]>
  1030. * ListView.cs : use is_visible instead of Visible to check if
  1031. scrollbars should be placed/sized. Also some max_wrap_width
  1032. love for LargeIcon view. [Fixes #79533]
  1033. 2006-10-03 Atsushi Enomoto <[email protected]>
  1034. * TextControl.cs :
  1035. Make set_TextAlign() do actually update the align. Fixed #78403.
  1036. 2006-10-03 Chris Toshok <[email protected]>
  1037. * DataGrid.cs: fix a crash when switching datasources if the
  1038. vertical scrollbar is at someplace other than Value = 0. Also,
  1039. reduce the number of recalculation passes we do in SetDataSource
  1040. from 2 to 1.
  1041. 2006-10-03 Jackson Harper <[email protected]>
  1042. * TextBoxBase.cs: Move the if value the same bail check up, we
  1043. don't want to empty the document if it is already empty, this
  1044. seems to severly mess up the caret. TODO: I should probably fix
  1045. the empty statement to update teh caret somehow.
  1046. 2006-10-03 Chris Toshok <[email protected]>
  1047. * ThemeWin32Classic.cs, DataGrid.cs: some changes so that the
  1048. incredibly hacky Windows.Forms FAQ autosize rows entry (it uses
  1049. reflection, an internal row type, properties on said type, etc.)
  1050. will work with our datagrid. Fixes #79531.
  1051. 2006-10-03 Alexander Olk <[email protected]>
  1052. * FileDialog.cs: Don't crash if a path is not accessible
  1053. (System.UnauthorizedAccessException). Fixes #79569.
  1054. * MimeIcon.cs: Workaround for a Uri bug. Unix paths/files can have
  1055. a ':' too. Return unknown icon for those paths/files.
  1056. 2006-10-03 Sebastien Pouliot <[email protected]>
  1057. * ToolTip.cs: Fix rare, but possible, NRE on MouseEnter when
  1058. GetContainerControl returns null.
  1059. 2006-10-02 Chris Toshok <[email protected]>
  1060. * XplatUIX11.cs (GetWindowState): use hwnd.client_window in the
  1061. call to XGetWindowAttributes instead of "handle". fixes an X
  1062. error using notifyicon after the NotifyIconWindow to Form base
  1063. class switch.
  1064. 2006-10-02 Chris Toshok <[email protected]>
  1065. * XplatUIX11.cs (QueryPointer): new function, encapsulating the
  1066. server grab and looping we need to do to get down to the most
  1067. deeply nested child window.
  1068. (SetCursorPos): use QueryPointer instead of GetCursorPos, and call
  1069. QueryPointer again after the WarpPointer so we can generate a
  1070. proper (fake) MotionNotify event to be enqueued in the destination
  1071. window's queue.
  1072. (GetCursorPos): call QueryPointer.
  1073. Fixes #79556.
  1074. 2006-10-02 Jackson Harper <[email protected]>
  1075. * NotifyIcon.cs: Derive the notify icon from a form, so things
  1076. like FindForm work on it.
  1077. - Swallow the WM_CONTEXTMENU message, since that is generated on
  1078. mouse down, and context menu is a mouse up kinda guy. I believe
  1079. the correct fix here is probably to make the notify icon entirely
  1080. NC area, but this seems to work fine for anyone not manipulating
  1081. WndProc.
  1082. 2006-10-02 Jonathan Pobst <[email protected]>
  1083. * ToolStrip.cs, ToolStripButton.cs, ToolStripItem.cs,
  1084. ToolStripItemCollection.cs, ToolStripLabel.cs,
  1085. ToolStripProfessionalRenderer.cs, ToolStripRenderer.cs,
  1086. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs:
  1087. Initial implementation.
  1088. * TextRenderer.cs: Provide padding to MeasureText.
  1089. 2006-10-02 Sebastien Pouliot <[email protected]>
  1090. * ButtonBase.cs: Fix CreateAccessibilityInstance to return an instance
  1091. of ButtonBaseAccessibleObject. Fix bug #79552.
  1092. 2006-10-02 Jackson Harper <[email protected]>
  1093. * MdiWindowManager.cs: When maximizing use the containers client
  1094. rect, not it's bounds, so nc area is accounted correctly.
  1095. - Use the parent form's size for the menu position, since the
  1096. client isn't always the full form size.
  1097. 2006-10-01 Chris Toshok <[email protected]>
  1098. * ScrollableControl.cs: make sure neither right_edge or
  1099. bottom_edge are < 0, since they're used as LargeChange for the
  1100. horiz/vert scrollbars respectively. Fixes #79539.
  1101. 2006-10-01 Chris Toshok <[email protected]>
  1102. * NotifyIcon.cs: add NotifyIconWindow.InternalRecreateHandle, so
  1103. the xplatuix11 code can cause us to destroy/recreate our handle.
  1104. * XplatUIX11.cs
  1105. (SystrayAdd):
  1106. - this code can be invoked many times for the same Hwnd. Make
  1107. sure we only destroy the client window once (the first time this
  1108. method is called). This fixes bug #79544.
  1109. - Remove the call to the improperly bound XSync. why we had two
  1110. bindings to this, I will never know, but this call resulted in
  1111. events being discarded from the queue(!).
  1112. - correct a misunderstanding of _XEMBED_INFO - the second atom is
  1113. not our current state but the state we wish to be in. So, 0 if
  1114. we don't want to be mapped. Change it to 1.
  1115. (SystrayRemove): The XEMBED spec makes mention of the fact that
  1116. gtk doesn't support the reparent of client windows away from the
  1117. embedder. Looking at gtksocket-x11.c seems to agree with this.
  1118. The only avenue we have for removing systray icons is to destroy
  1119. them. We don't want the handle to go away for good, though, so
  1120. call InternalRecreateHandle on the NotifyIconWindow. Fixes
  1121. #79545.
  1122. 2006-10-01 Chris Toshok <[email protected]>
  1123. * Form.cs (WndProc): inline the native_enabled variable usage into
  1124. the cases in which it's used. Fixes #79536.
  1125. 2006-09-29 Mike Kestner <[email protected]>
  1126. * ListView.cs : toggle the selection state for ctrl clicks in
  1127. multiselect mode. [Fixes #79417]
  1128. 2006-09-29 Mike Kestner <[email protected]>
  1129. * ListView.cs : kill CanMultiSelect and refactor the selection
  1130. code to support multiselection in the absence of mod keys. Steal
  1131. arrow/home/end keys by overriding InternalPreProcessMessage to
  1132. restore regressed keynav behavior.
  1133. [Fixes #79416]
  1134. 2006-09-29 Jackson Harper <[email protected]>
  1135. * MdiClient.cs: Repaint the titlebars when the active window is
  1136. changed.
  1137. 2006-09-29 Chris Toshok <[email protected]>
  1138. * Application.cs: when entering a runloop with a modal, make sure
  1139. the hwnd is enabled. Fixes #79480.
  1140. 2006-09-29 Chris Toshok <[email protected]>
  1141. * DataGrid.cs (CurrentCell): if we try to navigate to the add row
  1142. when ListManager.CanAddRows == false, bump us back one.
  1143. * DataGridColumnStyle.cs (ParentReadOnly): remove the
  1144. listmanager.CanAddRows check. This makes ArrayLists uneditable
  1145. using a datagrid, which is not right.
  1146. (SetColumnValueAtRow): call IEditable.BeginEdit if source[rowNum]
  1147. is an IEditable, but call property_descriptor.SetValue regardless.
  1148. fixes #79435.
  1149. 2006-09-29 Chris Toshok <[email protected]>
  1150. * DataGridBoolColumn.cs: we need to test equality in the face of
  1151. possible null values (as is the case with the default NullValue).
  1152. This patch keeps us from crashing in that case.
  1153. 2006-09-29 Jackson Harper <[email protected]>
  1154. * TreeNodeCollection.cs: Don't do a recalculate/updatescrollbars
  1155. here, since it will get called for every node collection in the
  1156. tree. This is now done in the treeview once the sorting is
  1157. finished.
  1158. * TreeView.cs: Recalculate the visible order, and update the
  1159. scrollbars after sorting, set the top nope to the root so that the
  1160. recalc actually works.
  1161. 2006-09-29 Chris Toshok <[email protected]>
  1162. * LinkLabel.cs: more handling of the default link collection in
  1163. the face of LinkArea manipulation. The default link collection
  1164. contains 1 element (start=0,length=-1). If the user sets LinkArea
  1165. to anything and the links collection is the default, clear it.
  1166. Then only add the link if its nonempty. Fixes #79518.
  1167. 2006-09-29 Chris Toshok <[email protected]>
  1168. * LinkLabel.cs (CreatePiecesFromText): calculate the length of a
  1169. piece correctly when we hit a '\n'. Fixes #79517.
  1170. 2006-09-29 Chris Toshok <[email protected]>
  1171. * MimeIcon.cs, ThemeGtk.cs, X11DesktopColors.cs, XplatUIX11GTK.cs:
  1172. change the binding of gdk_init_check to take two IntPtr's, and
  1173. pass IntPtr.Zero for both of them. Fixes #79520.
  1174. 2006-09-29 Mike Kestner <[email protected]>
  1175. * ComboBox.cs : raise TextChanged on ComboTextBox.TextChanged.
  1176. [Fixes #78779]
  1177. 2006-09-28 Jackson Harper <[email protected]>
  1178. * XplatUIX11.cs: When translating NC messages make sure we go from
  1179. whole window to screen, not client window to screen.
  1180. * MdiClient.cs: Remove the calls to PaintWindowDecorations, this
  1181. method doesn't exist
  1182. - Skip over controls that aren't forms when arranging.
  1183. 2006-09-28 Jackson Harper <[email protected]>
  1184. * XplatUIWin32.cs: Clip the rect to the parent window.
  1185. * XplatUIStructs.cs: Add clipping modes struct.
  1186. * InternalWindowManager.cs: New private method that factors title
  1187. bar heights in when calculating the pos of an NC mouse message.
  1188. - Use SendMessage to force a paint when the form's size is changed
  1189. instead of painting the decorations immediately.
  1190. - Don't let the NC button click messages get to DefWndProc,
  1191. because they will attempt to handle windowing themself, and this
  1192. messes up z-order (it will put them in front of the scrollbars).
  1193. * XplatUIX11.cs: Make sure that we don't reset window managers if
  1194. we already have one (ie the window is an MDI window).
  1195. 2006-09-28 Chris Toshok <[email protected]>
  1196. * MainMenu.cs: fix #79405 by way of a disgusting hack. all the
  1197. menu code really needs going over.
  1198. 2006-09-27 Chris Toshok <[email protected]>
  1199. * XplatUIX11.cs (SetWMStyles): more metacity wonderment. turns
  1200. out metacity ignores the MAXIMIZE_HORZ/VERT messages unless the
  1201. window is maximizable. So, we need to make sure that even if we
  1202. clear the border/wm frame of those functions, they're still
  1203. available (basically, we remove the decoration without removing
  1204. the function). Half the fix for #79338.
  1205. 2006-09-27 Chris Toshok <[email protected]>
  1206. * DataGrid.cs (ProcessGridKey): implement Shift-Tab handling.
  1207. Fixes bug #79515.
  1208. 2006-09-27 Chris Toshok <[email protected]>
  1209. * Splitter.cs: reorder things a bit so that we don't actually
  1210. draw/move the splitter until after calling OnSplitterMoving. This
  1211. lets users cancel/disallow the movement by explicitly setting
  1212. event.SplitX/SplitY. Fixes #79372.
  1213. 2006-09-27 Jackson Harper <[email protected]>
  1214. * XplatUIX11.cs: Don't hide the caret when it is being destroyed,
  1215. because it is most likely on a window being destroyed, and that
  1216. will give us an X11 error.
  1217. 2006-09-27 Chris Toshok <[email protected]>
  1218. * PropertyGridView.cs: half of the fix for #78190. Clicking on
  1219. the dropdown button now toggles between showing and hiding the
  1220. dropdown. Also, get rid of dropdown_form_showing and just use
  1221. dropdown_form.Visible. We still don't do a grab, but I'll leave
  1222. that part to someone who has handled Capture-fu before.
  1223. 2006-09-27 Chris Toshok <[email protected]>
  1224. * DataGrid.cs: return false if alt isn't pressed when '0' is
  1225. pressed. this keeps the '0' key from being swallowed, and fixes
  1226. bug #79350.
  1227. 2006-09-27 Chris Toshok <[email protected]>
  1228. * ComboBox.cs: use Invalidate when scrolling the dropdown list.
  1229. Calling Refresh (in response to a scrollbar event) screws up the
  1230. scrollbar painting. Fixes bug #78923.
  1231. 2006-09-27 Chris Toshok <[email protected]>
  1232. * Theme.cs (SystemResPool): make the "if hashtable[key] == null
  1233. then insert into hashtable" blocks threadsafe.
  1234. 2006-09-27 Chris Toshok <[email protected]>
  1235. * MessageBox.cs (CreateParams): the styles should be |'ed with our
  1236. baseclass's, since otherwise the
  1237. ControlBox/MinimizeBox/MaximizeBox assignments above have no
  1238. effect. This gets the close button back in messageboxes.
  1239. 2006-09-27 Chris Toshok <[email protected]>
  1240. * XplatUIX11.cs: make StyleSet and ExStyleSet check == with the
  1241. flag, not just != 0. this makes flags that are actually multiple
  1242. bits (like WS_CAPTION) work. fixes bug #79508.
  1243. 2006-09-27 Jordi Mas i Hernandez <[email protected]>
  1244. * PageSetupDialog.cs: add support for getting and settings the
  1245. paper size, source and orientation.
  1246. 2006-09-26 Chris Toshok <[email protected]>
  1247. * XplatUIX11.cs (SetWMStyles): turns out when SYSMENU is not set
  1248. and caption == "", we need to remove the resize handles as well as
  1249. the title bar.
  1250. * Control.cs (set_Text): turns out that setting Text on a form
  1251. should change the WM styles on the window, since if ControlBox ==
  1252. false, the only way to get a window border is to have a non-""
  1253. Text property. check winforms/forms/text.cs for an example. so,
  1254. call both XplatUI.SetWindowStyle and XplatUI.Text here to properly
  1255. update both window styles and title. This fixes a lot of dialogs
  1256. (including the preferences dialog in MonoCalendar.)
  1257. 2006-09-26 Chris Toshok <[email protected]>
  1258. * XplatUIWin32.cs (SetParent): if parent == IntPtr.Zero (and the
  1259. control isn't a Form), call Win32ShowWindow to hide the window,
  1260. but don't update the control Visible property. When we reparent
  1261. back to a parent control, call SetVisible in order for the
  1262. window's visibility to be reinstated.
  1263. * XplatUIX11.cs (SetParent): if hwnd.parent == null, reparent to
  1264. the FosterParent.
  1265. * Control.cs (ControlCollection.Remove): remove that value.Hide()
  1266. call for good, since it breaks MonoCalendar (and other things I'm
  1267. sure.) Also, set all_controls to null *after* the owner calls,
  1268. which end up regenerating it.
  1269. (ChangeParent): allow new_parent to be == null, passing
  1270. IntPtr.Zero down to XplatUI.
  1271. this fixes #79294 the right way.
  1272. 2006-09-26 Mike Kestner <[email protected]>
  1273. * GridEntry.cs : internal SetParent method.
  1274. * PropertyGrid.cs : attach to property changed on the proper
  1275. target if we have a hierarchical grid with subobjects. Setup
  1276. GridItem.Parent for hierarchical items.
  1277. * PropertyGridView.cs : Set value on the correct target for
  1278. hierarchical grids. [Fixes #78903]
  1279. 2006-09-26 Chris Toshok <[email protected]>
  1280. * Control.cs (ChildNeedsRecreating): this should return true if
  1281. either we're being recreated and the child is in our list, or our
  1282. parent is waiting for our recreation.
  1283. 2006-09-26 Chris Toshok <[email protected]>
  1284. * Control.cs (ControlCollection.Remove): reinstate the
  1285. value.Hide() call as suggested in bug #79294.
  1286. 2006-09-26 Sebastien Pouliot <[email protected]>
  1287. * XplatUIX11.cs: Fixed SetCursorPos to move the cursor to screen
  1288. coordinates (versus a relative move).
  1289. 2006-09-26 Chris Toshok <[email protected]>
  1290. * Control.cs: rework child recreation a little bit. It turns out
  1291. that we race between the DestroyNotify the WM_DESTROY message. If
  1292. the parent gets its DestroyNotify before the child gets the
  1293. WM_DESTROY message, the child ends up not recreating (since the
  1294. parent finishes its recreation on DestroyNotify, and the child
  1295. checks ParentIsRecreating.)
  1296. So, instead we store off a list of all the child controls which
  1297. need to be recreated when the parent control starts to recreate
  1298. itself. Then, when child controls get their WM_DESTROY message we
  1299. check to see if they're in the parent's pending recreation list,
  1300. and if so, we recreate. This removes all dependency on ordering
  1301. from the code and fixes the initial MonoCalendar upgrade dialog.
  1302. 2006-09-26 Jackson Harper <[email protected]>
  1303. * TextControl.cs: Use the Line to get the length of the line,
  1304. since soft line breaks can change the end line.
  1305. 2006-09-26 Chris Toshok <[email protected]>
  1306. * Control.cs (ControlCollection.AddImplicit): don't add the
  1307. control again if it's already in one of our lists. This keeps us
  1308. from adding controls over and over again for comboboxes when their
  1309. handle gets recreated (as the combobox adds implicit controls in
  1310. OnHandleCreated). Fixes the X11 errors in bug #79480.
  1311. 2006-09-26 Jackson Harper <[email protected]>
  1312. * TextControl.cs: When deleting characters make sure that any
  1313. orphaned zero lengthed tags get deleted.
  1314. - Fix ToString for zero lengthed tags.
  1315. 2006-09-25 Jackson Harper <[email protected]>
  1316. * TextControl.cs: When getting a tag at the location there can be
  1317. multiple tags at the same spot, these are 0-lengthed tags that
  1318. appear when extra formatting has been stuck in a location. We
  1319. need to pull out the last of these 0 lengthed tags.
  1320. 2006-09-25 Jackson Harper <[email protected]>
  1321. * TextControl.cs: Fix print out in debug method.
  1322. * TextBoxBase.cs: When text is set bail if we are setting to the
  1323. previous value.
  1324. 2006-09-24 Alexander Olk <[email protected]>
  1325. * FontDialog.cs: Fixed the up/down arrow keys issue from bug #79478.
  1326. It is now possible to change the selected index in a FontXXXListBox
  1327. with the up and down arrow keys from the FontXXXTextBoxes.
  1328. Also, send the FontXXXTextBox mouse wheel event to the corresponding
  1329. FontXXXListBoxes to match ms.
  1330. 2006-09-22 Sebastien Pouliot <[email protected]>
  1331. * SystemInformation.cs: Return a clone of the theme's MenuFont because
  1332. anyone can dispose it, anytime. All other properties returns enums,
  1333. structs or basic types so they don't need such tricks.
  1334. 2006-09-22 Jackson Harper <[email protected]>
  1335. * XplatUI.cs:
  1336. * XplatUIWin32.cs:
  1337. * Clipboard.cs:
  1338. * DataFormats.cs:
  1339. * XplatUIOSX.cs:
  1340. * XplatUIDriver.cs: Update interface to add a primary selection
  1341. flag, so the driver can use the primary selection buffer if
  1342. needed.
  1343. * XplatUIX11.cs: Allow the clipboard to retrieve from PRIMARY.
  1344. * RichTextBox.cs: We need to supply the data object to paste now
  1345. (so we can choose to supply CLIPBOARD or PRIMARY).
  1346. * TextBoxBase.cs: Supply data object to paste (see above).
  1347. - Middle click uses the primary selection data object.
  1348. 2006-09-21 Chris Toshok <[email protected]>
  1349. * XplatUIX11.cs: first little cleanup of the StyleSet (...) block
  1350. of SetWMStyles. It's still a rat's nest and is largely
  1351. order-dependent which I dislike immensely. This also fixes the X
  1352. button disappearing from toplevel forms.
  1353. 2006-09-21 Mike Kestner <[email protected]>
  1354. * ListBox.cs: move Jordi's click/dblclick raising code to the
  1355. mouse up handler.
  1356. 2006-09-21 Jordi Mas i Hernandez <[email protected]>
  1357. * ListBox.cs: Fixes 79450
  1358. 2006-09-21 Mike Kestner <[email protected]>
  1359. * TreeView.cs: guard against disposed conditions in UpdateScrollbars
  1360. to deal with people updating the TreeNodeCollection after the tree
  1361. is disposed. "Fixes" 79330.
  1362. 2006-09-20 Jackson Harper <[email protected]>
  1363. * TextControl.cs: Push the cursor record onto the undo stack
  1364. before the delete action. This fixes 78651.
  1365. 2006-09-20 Jonathan Chambers <[email protected]>
  1366. * PropertyGridView.cs: Remove WindowStyles.WS_VISIBLE from
  1367. CreateParams. Fixes 79329.
  1368. 2006-09-19 Chris Toshok <[email protected]>
  1369. * XplatUIX11.cs: a couple of blanket code massage passes to clean
  1370. things up a bit. First, get rid of the NetAtoms array (and the NA
  1371. enum), and just embed the atoms as static fields. Also, add a
  1372. couple of functions (StyleSet and ExStyleSet) to clean up all the
  1373. bitmask testing of styles.
  1374. * X11Structs.cs: remove the NA enum, not needed anymore.
  1375. 2006-09-19 Chris Toshok <[email protected]>
  1376. * XplatUIX11.cs: apply Alexander's tool window fix for bug #79245
  1377. (mapping them to _NET_WM_WINDOW_TYPE_UTILITY). and add a little
  1378. added cleanup to get MessageBox titles appearing again, which were
  1379. broken by my earlier fix for caption-less/ControlBox-less windows.
  1380. 2006-09-18 Jonathan Pobst <[email protected]>
  1381. * ToolStripArrowRenderEventArgs.cs, ToolStripArrowRenderEventHandler.cs,
  1382. ToolStripContentPanelRenderEventArgs.cs, ToolStripContentPanelRenderEventHandler.cs,
  1383. ToolStripGripRenderEventArgs.cs, ToolStripGripRenderEventHandler.cs,
  1384. ToolStripItemClickedEventArgs.cs, ToolStripItemClickedEventHandler.cs,
  1385. ToolStripItemEventArgs.cs, ToolStripItemEventHandler.cs,
  1386. ToolStripItemImageRenderEventArgs.cs, ToolStripItemImageRenderEventHandler.cs,
  1387. ToolStripItemRenderEventArgs.cs, ToolStripItemRenderEventHandler.cs,
  1388. ToolStripItemTextRenderEventArgs.cs, ToolStripItemTextRenderEventHandler.cs,
  1389. ToolStripPanelRenderEventArgs.cs, ToolStripPanelRenderEventHandler.cs,
  1390. ToolStripRenderEventArgs.cs, ToolStripRenderEventHandler.cs,
  1391. ToolStripSeparatorRenderEventArgs.cs, ToolStripSeparatorRenderEventHandler.cs:
  1392. Inital import.
  1393. * ToolStripPanel.cs, ToolStripContentPanel.cs, ToolStripSeparator.cs,
  1394. ToolStripButton.cs: Stubs needed for above.
  1395. * ToolStrip.cs, ToolStripItem.cs: Stub a few variables/properties for above.
  1396. 2006-09-15 Chris Toshok <[email protected]>
  1397. * XplatUIX11.cs:
  1398. - make the MessageQueues hashtable Synchronized.
  1399. - SendMessage: if the Hwnd is owned by a different thread, use the
  1400. AsyncMethod stuff to dispatch the SendMessage on the hwnd's
  1401. thread. Fixes bug #79201.
  1402. 2006-09-15 Chris Toshok <[email protected]>
  1403. * XplatUIX11.cs (SetWMStyles): rework the #79368 fix slightly. If
  1404. ControlBox == false, we disallow maximize/minimize/close. If the
  1405. form Caption is "" we also disallow move (and get rid of the Title
  1406. decoration). Unfortunately, regardless of how things are set,
  1407. we're stuck with the Title and WM menu.
  1408. 2006-09-15 Chris Toshok <[email protected]>
  1409. * Application.cs: add locking around the static message_filters
  1410. ArrayList, part of #79196.
  1411. 2006-09-15 Chris Toshok <[email protected]>
  1412. * XplatUIX11.cs (SetWMStyles): if Form.Text == "" and
  1413. Form.ControlBox == false, the window has no titlebar nor resize
  1414. handles. fixes bug #79368.
  1415. 2006-09-15 Chris Toshok <[email protected]>
  1416. * TextBoxBase.cs: in CalculateScrollBars make sure LargeChange is
  1417. >= 0. Fixes bug #79370.
  1418. 2006-09-15 Jonathan Pobst <[email protected]>
  1419. * FlowLayoutPanel.cs, FlowLayoutSettings.cs: Initial commit.
  1420. * Control.cs:
  1421. Add properties: LayoutEngine, Margin, DefaultMargin.
  1422. Add method: GetPreferredSize.
  1423. Move layout logic from PerformLayout to layout engines.
  1424. 2006-09-13 Chris Toshok <[email protected]>
  1425. * XplatUIX11.cs: more destroy work. Jackson pointed out that my
  1426. fix for #79326 broke #78718, so this change addresses that.
  1427. - in SendWMDestroyMessages remove the call to
  1428. CleanupCachedWindows, since we might be recreating the control and
  1429. need to maintain the references to right Hwnd handles. Also, set
  1430. the zombie flag to true for each of the children in the hierarchy
  1431. instead of calling hwnd.Dispose. This will cause GetMessage to
  1432. ignore all events for the window except for DestroyNotify.
  1433. - In GetMessage, ignore messages except for DestroyNotify for
  1434. zombie hwnds.
  1435. * Control.cs: revert the is_recreating fix from the last
  1436. ChangeLog. It's definitely "right", but it breaks switching from
  1437. an MDI form to a non-MDI form. Will need to revisit that.
  1438. * Hwnd.cs: add a zombie flag, which means "the
  1439. client_window/whole_window handles are invalid, but we're waiting
  1440. for the DestroyNotify event to come in for them". Set the flag to
  1441. false explicitly if setting WholeWindow/ClientWindow, and also
  1442. when Disposing.
  1443. 2006-09-13 Chris Toshok <[email protected]>
  1444. * XplatUIX11.cs: rework window destruction slightly.
  1445. - when destroying the windows associated with a control, we don't
  1446. need 2 separate XDestroyWindow calls. Just the one for the
  1447. whole_window (or for client_window if whole_window is somehow
  1448. IntPtr.Zero -- can this happen?) is enough.
  1449. - reworked SendWMDestroyMessages slightly, so we always dispose
  1450. the child control hwnd's after sending the messages.
  1451. - refactored out the ActiveWindow/FocusWindow/Caret clearing from
  1452. the two places it was used (one was even using hwnd.Handle and the
  1453. other hwnd.client_window. ugh), adding another call in
  1454. SendWMDestroyMessages. We need this new call because now the
  1455. DestroyNotify events in the queue will be ignored for the child
  1456. controls (as their hwnd's were disposed, and the window id's
  1457. removed from the hashtable in SendWMDestroyMessages.) fun, eh?
  1458. - this fixes bug #79326.
  1459. 2006-09-13 Chris Toshok <[email protected]>
  1460. * Control.cs: don't always set is_recreating to false at the end
  1461. of RecreateHandle, since sometimes we're not done (and won't be
  1462. until WndProc handles the WM_DESTROY message). Also, set
  1463. is_recreating to false in the WM_DESTROY handling code. Part of
  1464. the fix for bug #79326.
  1465. 2006-09-13 Miguel de Icaza <[email protected]>
  1466. * X11DesktopColors.cs: Start the droppage of debugging messages.
  1467. * FileDialog.cs: Store the configuration file in ~/.mono/mwf_config
  1468. 2006-09-13 Jonathan Pobst <[email protected]>
  1469. * SplitContainer.cs, SplitterPanel.cs: Initial implementation [2.0].
  1470. 2006-09-12 Chris Toshok <[email protected]>
  1471. * DataGrid.cs (get_ListManager): if the list_manager is null, try
  1472. to create it using SetDataSource. Fixes bug #79151.
  1473. 2006-09-11 Chris Toshok <[email protected]>
  1474. * XEventQueue.cs: add a DispatchIdle property.
  1475. * XplatUIX11.cs (UpdateMessageQueue): only emit the Idle event if
  1476. either the queue is null, or the queue has DispatchIdle set to
  1477. true.
  1478. (DoEvents): set queue.DispatchIdle to false around the
  1479. peek/translate/dispatch message loop in this method. This keeps
  1480. Application.Doevents from emitting idle events. Part of the fix
  1481. for #78823.
  1482. 2006-09-11 Chris Toshok <[email protected]>
  1483. * DataGrid.cs (set_DataSource): make this work for both the
  1484. winforms/datagrid test and ReportBuilder. It seems as though when
  1485. we've created a ListManager (or maybe it's if we have a
  1486. BindingContext?), when we set the DataSource it clears the
  1487. DataMember to "". otherwise we reuse the datamember. Fixes bug
  1488. #79333.
  1489. 2006-09-11 Chris Toshok <[email protected]>
  1490. * XplatUIX11.cs: deal with queue being null, which happens in all
  1491. the Clipboard functions. Fixes one of the two problems mentioned
  1492. in #78612.
  1493. 2006-09-11 Chris Toshok <[email protected]>
  1494. * MenuAPI.cs: rework OnMouseUp a bit so that releasing the mouse
  1495. button on various spots (including outside the menu) works closer
  1496. to MS, and doesn't crash. Fixes #79343.
  1497. 2006-09-11 Gert Driesen <[email protected]>
  1498. * ListView.cs: Do not initialize item_sorter in init. To match MS,
  1499. return null for ListViewItemSorter if View is SmallIcon or LargeIcon
  1500. and the internal comparer is set. When a new ListViewItemSorter is set,
  1501. sort the items. Use Enum.IsDefined to verify whether a valid SortOrder
  1502. was specified. No further processing is necessary if SortOrder is set
  1503. to it's current value. If Sorting is modified to None, and View is
  1504. neither SmallIcon nor LargeIcon then: on 2.0 profile set item_sorter
  1505. (either custom or our internal ItemComparer) to null, on 1.0 profile
  1506. only set item_sorter to null if its our internal IComparer. If Sorting
  1507. is modified to Ascending or Descending, then use our internal IComparer
  1508. if none is set, and if the current IComparer is our internal one then:
  1509. on 2.0 profile always replace it with one for new Sorting, and on 1.0
  1510. profile only use new Sorting if view is not SmallIcon or LargeIcon. Use
  1511. Enum.IsDefined to verify whether a valid View value is specified in
  1512. its setter. Automatically sort listview items when listview is
  1513. created. In Sort, do nothing if ListView is not yet created, or if
  1514. no item_sorter is set (no Sorting was set, Sorting was explicitly set
  1515. to None or ListViewItemSorter was set to null). Added Sort overload
  1516. taking a bool to indicate whether the ListView should be redrawn when
  1517. items are sorted (we use this in ListViewItemCollection to avoid double
  1518. redraws). Modified our internal IComparer to take the sort order into
  1519. account. In Add and AddRange methods of ListViewItemCollection, also
  1520. call Sort if Sorting is None (necessary for SmallIcon and LargeIcon
  1521. view), but use overload with noredraw option to avoid double redraw.
  1522. On 2.0 profile, throw NotSupportedException when setting CheckBoxes to
  1523. true when View is Tile, and do the same when attempting to set View to
  1524. Tile when CheckBoxes is true. Avoid maintaining separate ArrayLists
  1525. for selected/checked indices, as it involves overhead when sorting is
  1526. done while these collections are not used all that often. Instead
  1527. we'll build the indices on demand. Modified IList implementation of
  1528. CheckedIndexCollection to use public methods if object is int.
  1529. Modified CheckedListViewItemCollection to hide checked items if
  1530. ListView.CheckBoxes is false. Removed LAMESPEC remark in
  1531. ListViewItemCollection as the .NET SDK docs have been fixed. Modified
  1532. IList implementation in SelectedIndexCollection to use public methods
  1533. if object is int. Modified SelectedListViewItemCollection to hide
  1534. selected items if listview is not yet created.
  1535. * ListViewItem.cs: CheckedIndices list no longer needs to be
  1536. maintained separately (see ListView changes). Also clone font, fixes
  1537. test failure.
  1538. 2006-09-11 Mike Kestner <[email protected]>
  1539. * ComboBox.cs: if we are updating the contents of the currently
  1540. selected index, refresh the control or the textbox selection.
  1541. [Fixes #79066]
  1542. 2006-09-11 Mike Kestner <[email protected]>
  1543. * ComboBox.cs (UpdateBounds): use SetBounds not SetBoundsCore since
  1544. the 'specified' logic has been moved there. This seems like a bug
  1545. in Control.cs, since our current SetBoundsCore completely ignores
  1546. the specified parameter. Peter's commit seems to indicate that is
  1547. the way the MS control implementation works. [Fixes #79325]
  1548. 2006-09-10 Jonathan Chambers <[email protected]>
  1549. * XplatUI.cs: Set default_class_name to be composed
  1550. of current domain id. This allows MWF to be loaded in multiple
  1551. domains on Win32.
  1552. 2006-09-09 Miguel de Icaza <[email protected]>
  1553. * X11Keyboard.cs: If we are unable to obtain the input method, do
  1554. not call CreateXic to create the input context. Should fix
  1555. #78944/79276.
  1556. 2006-09-08 Alexander Olk <[email protected]>
  1557. * MimeIcon.cs: Rewrote major parts. Dropped KDE support for now.
  1558. Simplified gnome support by adding more pinvokes to get the
  1559. icon for a file or mime type.
  1560. 2006-09-08 Jackson Harper <[email protected]>
  1561. * MenuAPI.cs: Deslect popup context menu items before closing the
  1562. window, so that you don't see the previously selected item
  1563. selected when you reopen the menu.
  1564. * TextControl.cs: Update the cursor position even if we don't have
  1565. focus. This fixes typing in things like the ComboBox. I'm not
  1566. totally sure we should always set the visibility if we don't have
  1567. focus, but couldn't find any corner cases where the cursor showed
  1568. up when it shouldn't.
  1569. 2006-09-08 Chris Toshok <[email protected]>
  1570. * X11Keyboard.cs: In UpdateKeyState vkey can be any integer, but
  1571. our arrays are length 256. & 0xff before indexing. Fixes the
  1572. crash in bug #78077.
  1573. 2006-09-08 Carlos Alberto Cortez <[email protected]>
  1574. * ThemeWin32Classic.cs:
  1575. * DateTimePicker.cs: Draw check box if DateTimePicker.ShowCheckBox
  1576. is true. Handle that check box too.
  1577. 2006-09-07 Chris Toshok <[email protected]>
  1578. * MenuAPI.cs: move the PerformClick call to OnMouseUp. Fixes bug
  1579. 79244.
  1580. 2006-09-07 Chris Toshok <[email protected]>
  1581. * Control.cs: in set_BackColor only do the work if
  1582. background_color != value.
  1583. * XplatUIX11.cs: move the clearing of invalid areas (both client
  1584. and nc) to the same block of code where we set (nc_)expose_pending
  1585. to false. That is, move it from PaintEventEnd to PaintEventStart,
  1586. so things that cause invalidates from within OnPaint will trigger
  1587. another call to OnPaint. Fixes bug #79262.
  1588. 2006-09-07 Alexander Olk <[email protected]>
  1589. * Theme.cs: Use correct icon for UIIcon.PlacesPersonal
  1590. * FileDialog.cs: Fix typo
  1591. 2006-09-07 Jackson Harper <[email protected]>
  1592. * ThemeWin32Classic.cs: oops, forgot to commit. Draw the images
  1593. for tab pages if they have any.
  1594. 2006-09-06 Mike Kestner <[email protected]>
  1595. * Splitter.cs: use the "current" rect when finishing drag handle
  1596. to avoid an artifact demonstrated by resedit.exe. [Fixes #79251]
  1597. 2006-09-06 Mike Kestner <[email protected]>
  1598. * Splitter.cs: draw the drag handle at X or Y instead of 0 to deal
  1599. support offset splitters. [Fixes #79298]
  1600. 2006-09-06 Alexander Olk <[email protected]>
  1601. * Mime.cs: Fixed a bug that could override the global mime type
  1602. result.
  1603. 2006-09-05 Jackson Harper <[email protected]>
  1604. * TabControl.cs: Better calculation method for setting the slider
  1605. pos. Prevents crashes on really wide tabs.
  1606. - Draw Image on tab pages if an image list is used.
  1607. 2006-09-02 Carlos Alberto Cortez <[email protected]>
  1608. * MonthCalendar.cs: When Font changes, the Size should be
  1609. updated to fit the new font's space requirements.
  1610. 2006-09-02 Alexander Olk <[email protected]>
  1611. * ListBox.cs: If the items are cleared with Items.Clear set
  1612. top_index to 0.
  1613. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  1614. * MonthCalendar.cs: Handle arrow keys as input keys. Also
  1615. fire DateChanged event instead of DateSelected event when
  1616. the date was changed by keyboard interaction.
  1617. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  1618. * DateTimePicker.cs: Handle DateChanged for the associated
  1619. month_calendar control, and set month_calendar.Font from
  1620. OnFontChanged method, as well as resize the height of the
  1621. control when needed. Make PreferredHeight proportional.
  1622. 2006-09-01 Chris Toshok <[email protected]>
  1623. * DataGrid.cs: grr, stop overthinking the DataMember/DataSource
  1624. properties.
  1625. * BindingContext.cs (HashKey.GetHashCode): use ^ instead of +.
  1626. 2006-09-01 Peter Dennis Bartok <[email protected]>
  1627. * FileDialog.cs: Set ClientSize instead of window size, to allow space
  1628. for decorations (Fixes #79219)
  1629. 2006-09-01 Mike Kestner <[email protected]>
  1630. * ComboBox.cs: first stab at sorting plus some selection handling
  1631. fixes to bring us more in line with MS behavior. Also switches back
  1632. to index based selection. Alternative patches for index-based
  1633. selection were provided by Jackson Harper, Carlos Alberto Cortez,
  1634. and [email protected] on bug 78848. I assume they were similar to this
  1635. code I've had simmering in my tree forever.
  1636. [Fixes #78848]
  1637. 2006-09-01 Chris Toshok <[email protected]>
  1638. * CurrencyManager.cs (ListChangedHandler): in the ItemAdded case,
  1639. when setting list position guard against ending up with a -1 index
  1640. (the other part of the fix for #78812). Should probably make sure
  1641. we don't need the analogous fix in the ItemDeleted case.
  1642. * DataGrid.cs:
  1643. - in SetDataSource, work around the fact that the way
  1644. OnBindingContextChanged is invoked will cause us to re-enter this
  1645. method. I'll remove the hack once I investigate
  1646. OnBindingContextChanged.
  1647. - fix the logic in set_DataSource and set_DataMember (basically
  1648. what to do if the other of the two is null.)
  1649. - in OnListManagerItemChanged, we need to take into account the
  1650. edit row when deciding whether or not to call RecreateDataGridRows
  1651. (part of the fix for #78812).
  1652. 2006-09-01 Jackson Harper <[email protected]>
  1653. * Splitter.cs: Don't do anything if there is no control to affect
  1654. (prevents us from crashing in weird tet cases).
  1655. * TreeView.cs: Bounding box for the mouse movement reverting
  1656. focus/selection back to previously selected node. This matches
  1657. MS, and makes the tree a lot more useable.
  1658. * GroupBox.cs: Instead of drawing over the lines of the groupbox,
  1659. use clipping so they are not drawn. This fixes when the control
  1660. is set to have a transparent background, or if it was over an
  1661. image.
  1662. 2006-09-01 Alexander Olk <[email protected]>
  1663. * MimeIcon.cs: Improved handling for reading default icons when
  1664. using gnome (2.16 made it necessary). Check and read svg icons
  1665. first, then 48x48 and then 32x32 icons.
  1666. 2006-08-31 Chris Toshok <[email protected]>
  1667. * DataGridTextBoxColumn.cs: only hide the textbox if it's still
  1668. visible.
  1669. * DataGridTextBox.cs: Pass Tab's up to the datagrid by calling
  1670. ProcessKeyPreview. Fixes part of #77806.
  1671. * DataGrid.cs: big patch.
  1672. - revert the queueing up of DataSource/DataMember if inside
  1673. BeginInit/EndInit calls. That's not the way the datagrid achieves
  1674. its delayed databinding. Instead, call SetDataSource in
  1675. OnBindingContextChanged. This mimic's MS's behavior, and fixes
  1676. #78811.
  1677. - Also, it wasn't mentioned in #78811, but the test case exhibits
  1678. behavior that was lacking in our datagrid implementation - Columns
  1679. that have mapping names that don't exist in the datasource's
  1680. properties aren't shown. Yuck. To fix this I added the bound
  1681. field to the column style, and basically any calculation to figure
  1682. out anything about columns uses a loop to find the bound columns.
  1683. still need to investigate if I can cache an array of the bound
  1684. columns or if the indices must be the same.
  1685. - When setting CurrentCell, we no longer abort if the cell being
  1686. edited was in the add row. This fixes the other part of #77806.
  1687. - The new code also fixes #78807.
  1688. * ThemeWin32Classic.cs: perpetrate the same disgusting
  1689. column.bound field hack, and only render bound fields.
  1690. 2006-08-31 Chris Toshok <[email protected]>
  1691. * DataGridColumnStyle.cs: add bound field. this field is true if
  1692. the datasource has a property corresponding to the mapping name.
  1693. * DataGridTableStyle.cs: set the bound field on the column styles
  1694. depending on whether or not we have a column for that property.
  1695. 2006-08-31 Peter Dennis Bartok <[email protected]>
  1696. * Splitter.cs (SetBoundsCore): Don't ignore width/height of the
  1697. splitter control (fixes #79228)
  1698. 2006-08-31 Chris Toshok <[email protected]>
  1699. * DataGridColumnStyle.cs: we need to delay the assignment of
  1700. property descriptor until the last possible moment due to the lazy
  1701. databinding stuff in the datagrid. Also, fix the exceptions
  1702. thrown by CheckValidDataSource to match MS.
  1703. 2006-08-31 Jackson Harper <[email protected]>
  1704. * Form.cs: When activated select the active control, if there is
  1705. no active control, we select the first control.
  1706. * XplatUIX11.cs: If there is no focus control when we get a
  1707. FocusIn event, find the toplevel form and activate it. This
  1708. occurs when you popup a window, it becomes the focus window, then
  1709. you close that window, giving focus back to the main window.
  1710. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  1711. * MonthCalendar.cs:
  1712. * ThemeWin32Classic.cs: Cache Font in bold style, as well
  1713. as StringFormat with Center alignments in MonthCalendar,
  1714. instead of creating new ones when drawing the control.
  1715. Also, draw the month name in bold style.
  1716. 2006-08-30 Peter Dennis Bartok <[email protected]>
  1717. * Control.cs:
  1718. - PerformLayout(): It would seem MS performs the fill even if the
  1719. control is not visible (part of #79218 fix)
  1720. - ResetBackColor(): Use the setter to reset the color, to allow
  1721. overriders to catch the change.
  1722. * Form.cs:
  1723. - .ctor: Call UpdateBounds to adjust client rectangle (part of #79218 fix)
  1724. - CreateHandle(): dito (part of $79218 fix)
  1725. - Don't set an icon if we have a dialog
  1726. * ScrollableControl.cs:
  1727. - set_AutoScrollMinSize: Setting the property enables AutoScroll (#79218)
  1728. - ScrollIntoView(): No need to scroll if control is already visible
  1729. (resolves fixme and fixes #79218)
  1730. 2006-08-30 Carlos Alberto Cortez <[email protected]>
  1731. * MonthCalendar.cs: Change proportions in SingleMonthSize
  1732. to match the aspect of the original control.
  1733. 2006-08-29 Alexander Olk <[email protected]>
  1734. * XplatUIX11.cs: Fix for a metacity/X problem where windows don't
  1735. get updated when they get maximized.
  1736. 2006-08-29 Peter Dennis Bartok <[email protected]>
  1737. * XplatUIX11.cs: Handle windows with no border (Fixes part of #79160)
  1738. 2006-08-29 Chris Toshok <[email protected]>
  1739. * XplatUIX11.cs: when destroying the FocusWindow, send KILLFOCUS.
  1740. 2006-08-29 Jackson Harper <[email protected]>
  1741. * TreeView.cs: Need to track selected node and highlighted node,
  1742. they aren't always the same thing, when the mouse is down on a
  1743. node it is hilighted, but not selected yet.
  1744. - Do the HideSelection stuff right
  1745. - Need to focus on rbutton mouse down. And redraw selection when
  1746. right click is mouse upped.
  1747. 2006-08-29 Mike Kestner <[email protected]>
  1748. * ThemeWin32Classic.cs: draw selections for columns in FullRowSelect
  1749. when SubItems.Count < Columns.Count. [Fixes #79167]
  1750. 2006-08-28 Peter Dennis Bartok <[email protected]>
  1751. * TextControl.cs (FindCursor): Fix math error (Fixes #78402)
  1752. 2006-08-28 Peter Dennis Bartok <[email protected]>
  1753. * XplatUIX11.cs: Preempt the roundtrip for getting the location back
  1754. from X. Only send based on ConfigureNotify if we don't have the
  1755. correct location in hwnd (if the window manager moved us)
  1756. 2006-08-28 Mike Kestner <[email protected]>
  1757. * ListView.cs: remove a TODO.
  1758. * ThemeWin32Classic.cs: implement HideSelection support for ListView.
  1759. [Fixes ListView part of #79166]
  1760. 2006-08-28 Mike Kestner <[email protected]>
  1761. * ListView.cs: move wheel handler to parent since it is focused
  1762. instead of the item_control now. [Fixes #79177]
  1763. 2006-08-28 Mike Kestner <[email protected]>
  1764. * ThemeWin32Classic.cs: only highlight subitems in fullrowselect
  1765. when the control is focused. [Fixes #79171]
  1766. 2006-08-28 Mike Kestner <[email protected]>
  1767. * ListView.cs: size the item and header controls for empty and
  1768. unscrollable views.
  1769. * ThemeWin32Classic.cs: draw disabled backgrounds.
  1770. [Fixes #79187]
  1771. 2006-08-28 Chris Toshok <[email protected]>
  1772. * Form.cs: remove unused "active_form" static field.
  1773. * Hwnd.cs: lock around accesses to static windows collection.
  1774. * Application.cs: lock threads in Exit ().
  1775. 2006-08-28 Chris Toshok <[email protected]>
  1776. * NativeWindow.cs: lock around accesses to window_collection.
  1777. 2006-08-28 Chris Toshok <[email protected]>
  1778. * Control.cs: err, fix this the right way, by locking on controls
  1779. when using it. not by making it synchronized.
  1780. 2006-08-28 Chris Toshok <[email protected]>
  1781. * Control.cs: make the static "controls" field synchronized, as it
  1782. gets updated from multiple threads.
  1783. 2006-08-27 Peter Dennis Bartok <[email protected]>
  1784. * XplatUIX11.cs: PostQuitMessage is thread-specific not app-specific.
  1785. Prevent other threads from exiting when calling thread sets quit state.
  1786. * XEventQueue.cs: Added PostQuitState property
  1787. 2006-08-27 Chris Toshok <[email protected]>
  1788. * AsyncMethodData.cs: add a slot for the window handle.
  1789. * XplatUIX11.cs (SendAsyncMethod): send the event to the right
  1790. window (the destination control's window, not the foster window).
  1791. * Control.cs (BeginInvokeInternal): store the window's handle in
  1792. the AsyncMethodData.
  1793. 2006-08-27 Peter Dennis Bartok <[email protected]>
  1794. * XplatUIX11.cs:
  1795. - PostQuitMessage: Removed resetting S.D display handle, we might have
  1796. another loop started after calling PostQuitMessage (Fixes #79119)
  1797. - Created destructor to reset S.D handle
  1798. 2006-08-27 Peter Dennis Bartok <[email protected]>
  1799. * XplatUIX11.cs (SetCursor): Issue flush after setting the cursor (#79168)
  1800. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1801. * TextControl.cs (Insert): Update the caret position even if we don't
  1802. have a handle yet, just don't call the driver in that case.
  1803. * TextBoxBase.cs (set_SelectedText): Set the Start and End selection
  1804. to the end of the new selection text (Fixes #79184)
  1805. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1806. * Form.cs (Activate): Only activate if the handle is created)
  1807. * Control.c:
  1808. - Mark window as invisible when it's disposed
  1809. - Check if window handle is created when setting window visible,
  1810. instead of relying just on the is_created variable
  1811. - Check if object is disposed when creating the control (Fixes #79155)
  1812. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1813. * ScrollableWindow.cs (ScrollWindow): Don't actually perform layouting
  1814. when allowing layout again. Otherwise we re-generate the anchoring
  1815. distance to the border again and actually alter what the user wanted
  1816. This is ugly, it'd be better if we used DisplayRectangle instead of
  1817. ClientRectangle for Control.UpdateDistances, but that causes us to
  1818. have other problems (initial anchoring positons would be wrong)
  1819. (Fixes #78835)
  1820. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1821. * Control.cs:
  1822. - The size and location setters shouldn't go directly to
  1823. SetBoundsCore, but to SetBounds, which triggers layout on the
  1824. parent, then calls SetBoundsCore. (Related to fix for #78835)
  1825. - SetBounds: Moved actual location update code into this function
  1826. from SetBoundsCore, to match MS. Added call to PerformLayout if
  1827. we have a parent (to trigger resizing of anchored parents if the
  1828. child size has changed (see testcase for #78835)
  1829. * ListBox.cs, Form.cs: Call SetBounds instead of SetBoundsCore to match
  1830. new control code
  1831. * ScrollableControl.cs (CalculateCanvasSize): Use shortcut variable
  1832. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1833. * XplatUIX11.cs: Don't reset the DisplayHandle that's stored in
  1834. System.Drawing when a toplevel window gets closed; there might
  1835. be other toplevel windows belonging to the same app (Fixes #78052)
  1836. 2006-08-26 Alexander Olk <[email protected]>
  1837. * FileDialog.cs: After reading FileDialog settings from mwf_config
  1838. use Desktop prefix only if a real folder doesn't exist anymore.
  1839. * FontDialog.cs: Added char sets.
  1840. It is now possible to select the font, size or style with the
  1841. textboxes.
  1842. 2006-08-25 Kornél Pál <[email protected]>
  1843. * PrintPreviewDialog.cs: Use assembly name constants.
  1844. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1845. * XplatUIWin32.cs (ScrollWindow): Use clipping rectangle arg (prevents
  1846. scrollbar from whacking it's buttons)
  1847. 2006-08-24 Chris Toshok <[email protected]>
  1848. * ScrollableControl.cs: fix #78271. There's a lot of misc stuff
  1849. in this patch (aggregating setting Left/Top/Width/Height to
  1850. setting Bounds on the scrollbars), but the crux of the fix is in
  1851. Recalculate, where we scroll by the remaining scroll_position if
  1852. we're hiding a scrollbar. The 2*$5 reward in the comment is
  1853. serious.
  1854. 2006-08-24 Jackson Harper <[email protected]>
  1855. * MdiClient.cs:
  1856. * MdiWindowManager.cs: If the form is made a non-mdi window we
  1857. need to remove the form closed event so that closing forms works
  1858. correctly.
  1859. 2006-08-24 Jackson Harper <[email protected]>
  1860. * Control.cs: Make IsRecreating internal so that the driver can
  1861. check it
  1862. - Temporarily remove the Hide when controls are removed, its
  1863. making a whole bunch of things not work because visibility isn't
  1864. getting reset elsewhere correctly
  1865. * Form.cs: Need to do a full handle recreation when the mdi parent
  1866. is set.
  1867. * XplatUIX11.cs: If we are recreating handles don't dispose the
  1868. HWNDs. What was happening is the handles were being recreated in
  1869. SendWMDestroyMessages, but then flow continued on in that method
  1870. and destroyed the new handles.
  1871. 2006-08-23 Jackson Harper <[email protected]>
  1872. * Form.cs: MdiClient is always at the back of the bus
  1873. * Control.cs: When the order of items in the collection is changed
  1874. we need to reset the all_controls array
  1875. - do the same sorta setup thats done when adding a control when a
  1876. control is set on the collection.
  1877. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1878. * TextBoxBase.cs (get_Text): Return an empty array if our document
  1879. is empty (fixes #79052)
  1880. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1881. * Control.cs: We should call IsInputChar on only on WM_CHAR but not
  1882. on WM_SYSCHAR messages (fixes #79053)
  1883. 2006-08-23 Chris Toshok <[email protected]>
  1884. * DataGrid.cs: fix flickering when scrolling vertically.
  1885. 2006-08-23 Chris Toshok <[email protected]>
  1886. * DataGrid.cs (EndEdit): only invalidate the row header when we
  1887. need to.
  1888. 2006-08-23 Chris Toshok <[email protected]>
  1889. * ThemeWin32Classic.cs: fix the clip munging of the datagrid paint
  1890. methods. fixes the flicker when scrolling around.
  1891. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1892. * FileDialog.cs: Making sure the control is created before we get a
  1893. chance to use it with BeginInvoke (Fixes #79096)
  1894. 2006-08-23 Chris Toshok <[email protected]>
  1895. * ThemeWin32Classic.cs (DataGridPaintRows): calculate the proper
  1896. width to use when painting the rows.
  1897. 2006-08-23 Peter Dennis Bartok <[email protected]>
  1898. * TextBoxBase.cs:
  1899. - Throw ArgumentException if a negative value is passed to SelectionLength
  1900. - Update the selection end if start is moved. end needs to be always
  1901. after start. (Fixes #79095)
  1902. - Track selection length; MS keeps the selection length even if start
  1903. is changed; reset on all other operations affection selection
  1904. 2006-08-22 Jackson Harper <[email protected]>
  1905. * TreeView.cs: Make sure both scrollbars get displayed and sized
  1906. correctly when the other bar is visible.
  1907. - Use the original clip rectangle for checking if the area between
  1908. the two scrollbars is visible, not the viewport adjusted clipping
  1909. rectangle.
  1910. 2006-08-22 Jackson Harper <[email protected]>
  1911. * Binding.cs: We don't use IsBinding because it requires the
  1912. control to be created, which really shouldn't be necessary just to
  1913. set a property on the control.
  1914. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  1915. * ComboBox.cs: Some CB.ObjectCollection methods must throw
  1916. ArgumentNullReferenceException when the argument is null.
  1917. 2006-08-21 Jackson Harper <[email protected]>
  1918. * Timer.cs: Track the thread that the timer is started in (NOT
  1919. CREATED), this way messages for it will only be triggered on its
  1920. queue.
  1921. * XEventQueue.cs: Track the timers here, this makes timers per
  1922. thread, like MS.
  1923. * XplatUIX11.cs: The timers are moved to the XEventQueue.
  1924. 2006-08-19 Chris Toshok <[email protected]>
  1925. * XplatUIX11.cs: after further communication with pdb, we get the
  1926. best of both worlds. SetZOrder working for un-Mapped windows, and
  1927. no X errors for un-mapped windows.
  1928. 2006-08-19 Chris Toshok <[email protected]>
  1929. * XplatUIX11.cs (SetZOrder): remove the if (!hwnd.mapped) check,
  1930. as it was causing pdn toolbars to not have the correct stacking.
  1931. 2006-08-18 Mike Kestner <[email protected]>
  1932. * ListView.cs : guard against negative ClientArea.Width in scrollbar
  1933. calculation. Not sure why control should ever be setting a negative
  1934. width though. Fixes #78931.
  1935. 2006-08-18 Carlos Alberto Cortez <[email protected]>
  1936. * ComboBox.cs: Throw ArgumentNullException when adding/modifyng
  1937. null items in ObjectCollection class.
  1938. * ListBox.cs.: Likewise.
  1939. 2006-08-18 Atsushi Enomoto <[email protected]>
  1940. * ThemeNice.cs, ThemeClearlooks.cs : remove RadioButton_DrawFocus()
  1941. as the base method in ThemeWin32Classic should work fine.
  1942. Fixed bug #78607.
  1943. 2006-08-18 Jackson Harper <[email protected]>
  1944. * Binding.cs: When validating if the value entered doesn't convert
  1945. properly reset to the old value.
  1946. * RadioButton.cs: Don't fire click when we get focus.
  1947. 2006-08-18 Jackson Harper <[email protected]>
  1948. * FileDialog.cs: Paint the selection on the directory combobox the
  1949. same way as on MS.
  1950. 2006-08-17 Jackson Harper <[email protected]>
  1951. * ErrorProvider.cs: Don't allow the error control to be selected.
  1952. * Control.cs: Don't send the SetFocus messages, the control
  1953. activation will do this, and if we do it blindly here validation
  1954. does not work.
  1955. 2006-08-17 Jackson Harper <[email protected]>
  1956. * Control.cs:
  1957. * ContainerControl.cs: Make validation events fire in the correct
  1958. order. TODO: For some reason the first validation event is not
  1959. getting fired.
  1960. 2006-08-17 Mike Kestner <[email protected]>
  1961. * ComboBox.cs : some null guarding for ComboListBox.Scroll.
  1962. 2006-08-17 Mike Kestner <[email protected]>
  1963. * ComboBox.cs : implement scroll wheel support for popped-down
  1964. state. Fixes #78945.
  1965. 2006-08-17 Jackson Harper <[email protected]>
  1966. * TreeView.cs: Specify treeview actions (old patch that didn't get
  1967. committed for some reason).
  1968. - Don't let the mouse wheel scroll us too far. Just want to make
  1969. the bottom node visible, not scroll it all the ways to the top.
  1970. 2006-08-17 Jackson Harper <[email protected]>
  1971. * XplatUIX11.cs: Mouse wheel events go to the focused window.
  1972. 2006-08-17 Mike Kestner <[email protected]>
  1973. * ComboBox.cs : don't do mouseover selection in simple mode.
  1974. 2006-08-16 Jackson Harper <[email protected]>
  1975. * Form.cs: Fire the closing events for all the mdi child windows
  1976. when a window is closed. If the cancel args are set to true, the
  1977. main window still gets the event fired, but it doesn't not close.
  1978. * MdiWindowManager.cs: Do this closing cleanup in a Closed
  1979. handler, instead of when the button is clicked, so cancelling the
  1980. close works correctly.
  1981. * ComboBox.cs: Send the mouse down to the scrollbar.
  1982. 2006-08-16 Carlos Alberto Cortez <[email protected]>
  1983. * ListBox.cs: When passing 'null' to SelectedItem,
  1984. set SelectedIndex to -1, to unselect items. This is the
  1985. observed behaviour in .Net.
  1986. 2006-08-16 Peter Dennis Bartok <[email protected]>
  1987. * TextBoxBase.cs: Overriding HandleClick to get clicks in spite of
  1988. MS flags saying there won't be any. (fixes #78800)
  1989. * Control.cs (HandleClick): Made virtual
  1990. 2006-08-16 Atsushi Enomoto <[email protected]>
  1991. * PageSetupDialog.cs : use Yard-Pound units only in en-GB and en-US
  1992. cultures. Fixed bug #78399.
  1993. 2006-08-16 Jackson Harper <[email protected]>
  1994. * Form.cs: Use the MdiClients MdiChildren property to access
  1995. MdiChildren instead of creating the array from the child controls.
  1996. * MdiClient.cs: Maintain a separate array of the mdi children, so
  1997. that insertion order is maintained when the Z-order is changed.
  1998. 2006-08-16 Mike Kestner <[email protected]>
  1999. * ListView.cs : add an ItemComparer and default to it for sorting.
  2000. Fixes #79076, but sorting needs a complete overhaul to be compat with
  2001. MS.
  2002. 2006-08-15 Peter Dennis Bartok <[email protected]>
  2003. * XplatUIX11.cs (SetZOrder): Fix debugging leftover (fixes #79080)
  2004. 2006-08-15 Peter Dennis Bartok <[email protected]>
  2005. * Hwnd.cs (Mapped): Properly traverse the tree
  2006. 2006-08-15 Chris Toshok <[email protected]>
  2007. * Binding.cs: fix PullData/SetPropertyValue. We don't want to
  2008. pass manager.Current.GetType() to ParseData. It has to be the
  2009. property type. So, hold off doing the ParseData until we're in
  2010. SetPropertyValue where we know the type. This fixes the crash in
  2011. #78821 but the textbox is still empty.
  2012. 2006-08-15 Chris Toshok <[email protected]>
  2013. * DataGrid.cs:
  2014. - when we're scrolling, only call Edit() again if the
  2015. current cell is still unobscured. Fixes bug #78927.
  2016. - when handling mousedown on a cell, ensure the cell is visible
  2017. before calling Edit.
  2018. - remove the properties from DataGridRow, and remove the
  2019. DataGridParentRow class altogether.
  2020. 2006-08-15 Peter Dennis Bartok <[email protected]>
  2021. * TextBoxBase.cs (set_Text): Don't use base.Text, instead just
  2022. fire OnTextChanged by ourselves. There's no point calling base,
  2023. we don't set the base value anywhere else. Fixes #78773.
  2024. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  2025. * ListBox.cs: Call CollectionChanged when modifying
  2026. an item from Items indexer, to update the actual items
  2027. in the list box.
  2028. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  2029. * PrintDialog.cs: Small fixes for focus and a pair of checks,
  2030. to match .Net behaviour.
  2031. 2006-08-15 Peter Dennis Bartok <[email protected]>
  2032. * XplatUIX11.cs (SetZOrder): Handle raising toplevel windows
  2033. 2006-08-15 Peter Dennis Bartok <[email protected]>
  2034. * Control.cs: Handle BringToFront for toplevel windows (Fixes #78737)
  2035. 2006-08-15 Peter Dennis Bartok <[email protected]>
  2036. * MessageBox.cs: Prevent potential NRE exception.
  2037. * TextBoxBase.cs: AutoSize only applies if MultiLine is false. Fixes #78889
  2038. 2006-08-14 Peter Dennis Bartok <[email protected]>
  2039. * MessageBox.cs: Calculate the owner of a messagebox, also make
  2040. it topmost. Fixes #78753
  2041. 2006-08-14 Chris Toshok <[email protected]>
  2042. * XplatUIX11.cs: A couple of fixes so that metacity will let us
  2043. programmatically move windows. first, set the PPosition hint as
  2044. well as the USPosition hint. Second include some code from pdb
  2045. that sets the window type to NORMAL when we set the transient for
  2046. hint. This is because, in the absence of a window type, metacity
  2047. thinks any window with TransientFor set is a dialog, and refuses
  2048. to let us move it programmatically. fascists.
  2049. 2006-08-14 Peter Dennis Bartok <[email protected]>
  2050. * XplatUIX11.cs: When setting normal hints, take into consideration
  2051. an different hints previously set so we don't delete them (fixes #78866)
  2052. 2006-08-12 Chris Toshok <[email protected]>
  2053. * ToolBarButton.cs: make Layout return a boolean, if something to
  2054. do with the button's layout changed.
  2055. * ToolBar.cs:
  2056. - add another parameter to Redraw, @force, which all existing
  2057. calls set to true.
  2058. - make the Layout function return a boolean which is true if the
  2059. layout has actually changed. Redraw now uses this (and @force)
  2060. to determine when to invalidate. At present the only place
  2061. where @force can be false is the call from OnResize, when
  2062. background_image == null. So, resizing a toolbar when the
  2063. layout doesn't change results in no drawing.
  2064. 2006-08-12 Chris Toshok <[email protected]>
  2065. * ThemeWin32Classic.cs: fix the bottom right corner painting. had
  2066. the VScrollBar and HScrollbar reversed. oops.
  2067. * DataGrid.cs: fix the logic that assigns sizes to the implicit
  2068. scrollbars. we were assigning them twice (once in
  2069. Calc{Horiz,Vertical}Scrollbar, and once in CalcGridAreas),
  2070. therefore causing two scrollbar resizes (and redraws?) to happen
  2071. per grid resize.
  2072. 2006-08-12 Chris Toshok <[email protected]>
  2073. * ToolBarButton.cs: redraw the entire button if the theme tells us
  2074. to.
  2075. * Theme.cs: add ToolBarInvalidateEntireButton.
  2076. * ThemeWin32Classic.cs: we don't need to redraw the entire toolbar
  2077. buttons, just the border.
  2078. * ThemeNice.cs: redraw the entire toolbar button since we need to
  2079. draw the highlight image.
  2080. * ThemeClearlooks.cs: the rounded corners of toolbar buttons mean
  2081. we need to redraw the entire button (not just the border).
  2082. 2006-08-11 Peter Dennis Bartok <[email protected]>
  2083. * TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
  2084. for vertical bars. Fixes the mismatches shown by #78513
  2085. 2006-08-11 Alexander Olk <[email protected]>
  2086. * FileDialog.cs: If a saved/remembered path doesn't exist
  2087. anymore, fall back to "Desktop".
  2088. 2006-08-11 Peter Dennis Bartok <[email protected]>
  2089. * Form.cs (CreateParams): Don't use Parent.Handle unless we have a
  2090. parent. It's apparently legal to not have one
  2091. * XplatUIX11.cs:
  2092. - SetZOrder: Don't try to set Z-Order on an unmapped window
  2093. - CreateWindow: 0,0 are legal coordinates for a window. don't move
  2094. it unless the coordinates are negative
  2095. 2006-08-10 Mike Kestner <[email protected]>
  2096. * ListControl.cs: allow null for DataSource. Clear DisplayMember
  2097. when setting to null per msdn docs. Fixes #78854.
  2098. 2006-08-10 Chris Toshok <[email protected]>
  2099. * Menu.cs, MainMenu.cs, MenuAPI.cs: get rid of most of the
  2100. flickering by setting a clip rectangle on the Graphics when we
  2101. need to redraw just a particular menuitem. Also, rename "OnClick"
  2102. to "OnMouseDown" to reflect what it actually is.
  2103. * Form.cs: track the OnMouseDown change.
  2104. 2006-08-10 Peter Dennis Bartok <[email protected]>
  2105. * CommonDialog.cs: Properly inherit the CreateParams from the form
  2106. and only change what we need. Fixes #78865
  2107. 2006-08-10 Chris Toshok <[email protected]>
  2108. * ToolBar.cs, ToolBarButton.cs: fix the redraw-on-highlight
  2109. flickering in flat mode (and most of the flickering in general) by
  2110. only invalidating the button border (and not the entire rectangle)
  2111. when the state changes. A couple of cases still flicker:
  2112. ToggleButtons, and the dropdown arrow case when the user mouse
  2113. ups.
  2114. 2006-08-10 Alexander Olk <[email protected]>
  2115. * X11Keyboard.cs: Fixed handling of the Del key on the cursorblock
  2116. for german keyboards. Numlock state shouldn't affect the behaviour
  2117. of the Del key. Fixes bug #78291.
  2118. 2006-08-10 Chris Toshok <[email protected]>
  2119. * ListControl.cs: remove the items.Clear line from BindDataItems,
  2120. as this is the first thing done by both subclasses in their
  2121. SetItemsCore overrides. Also, add a ItemChanged handler, and when
  2122. passed -1, refresh the list. This gets databinding working when
  2123. the datasource is set on the list before the datasource is
  2124. populated (as in wf-apps/ReportBuilder.)
  2125. * ComboBox.cs: remove the argument to BindDataItems. This call
  2126. should really go away, and be initiated by the ListControl code.
  2127. * ListBox.cs: same.
  2128. 2006-08-09 Peter Dennis Bartok <[email protected]>
  2129. * TextControl.cs (Document.ctor): Initialize caret so we don't crash
  2130. if no data is in the document when the control is displayed
  2131. 2006-08-09 Peter Dennis Bartok <[email protected]>
  2132. * TextBoxBase.cs: Don't try moving the caret if we don't have a window
  2133. yes (fixes #78806)
  2134. * TextControl.cs:
  2135. - PositionCaret: Allow positioning of caret but don't call methods
  2136. requiring a handle if the window isn't created yet
  2137. - CharIndexToLineTag: Fix ending loop early error. Lines is 1 based
  2138. - owner_HandleCreated: Don't position the caret, just update it's
  2139. location. User might have already set a different position
  2140. 2006-08-09 Peter Dennis Bartok <[email protected]>
  2141. * XplatUIWin32.cs: Don't use the desktop as basis for foster-parented
  2142. windows. Screws up the returned coordinates for child windows.
  2143. Fixes #78825. I'm hoping this doesn't break something, since the
  2144. code was explicitly put in 8 months ago, but no bug was attached.
  2145. Menus still seem to work properly.
  2146. 2006-08-08 Chris Toshok <[email protected]>
  2147. * DataGrid.cs: make BeginInit/EndInit actually do what they're
  2148. supposed to do - delay data binding until the EndInit call. Also,
  2149. make the table style collection's CollectionChangeAction.Refresh
  2150. work properly.
  2151. * GridTableStylesCollection.cs: raise a CollectionChangeEvent
  2152. (with action = Refresh) when a consituent table's MappingName is
  2153. changed.
  2154. 2006-08-08 Chris Toshok <[email protected]>
  2155. * ToolBarButton.cs: in set_Text, call Parent.Redraw, not
  2156. Invalidate, since changing the text can change the size of the all
  2157. toolbar buttons.
  2158. 2006-08-08 Peter Dennis Bartok <[email protected]>
  2159. * Form.cs (AddOwnedForm): Still need to add the form to our listif
  2160. we don't have it yet
  2161. 2006-08-08 Chris Toshok <[email protected]>
  2162. * PrintControllerWithStatusDialog.cs: don't .Close() the status
  2163. dialog, as this causes X errors later on, since we actually
  2164. destroy the window. Instead, .Hide() it.
  2165. 2006-08-08 Peter Dennis Bartok <[email protected]>
  2166. * ComboBox.cs: Added focus reflection for popup window
  2167. * XplatUIX11.cs:
  2168. - Removed transient setting for non-app windows for now, not sure it
  2169. was needed
  2170. - Fixed logic checking if we have captions when deciding
  2171. override_redirect, WS_CAPTION is two bits and a 0 check was not
  2172. sufficient
  2173. - Removed the WINDOW_TYPE stuff, it was unneeded and making things
  2174. complicated
  2175. * Form.cs:
  2176. - AddOwnedForm: Don't just add the form to the list, call the property
  2177. to ensure the driver is informed about the ownership as well
  2178. - CreateHandle: Set the TopMost status in the driver if we have an owner
  2179. * XplatUI.cs: Fixed debug statement
  2180. 2006-08-08 Jonathan Pobst <[email protected]>
  2181. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  2182. GroupBoxRenderer.cs, ProgressBarRenderer.cs, RadioButtonRenderer.cs,
  2183. ScrollBarRenderer.cs, TabRenderer.cs, TextBoxRenderer.cs,
  2184. TrackBarRenderer.cs: Make constructor private.
  2185. * ProfessionalColors.cs, ProfessionalColorTable.cs: Fix misnamed properties.
  2186. * ProfessionalColorTable.cs: Make properties virtual.
  2187. 2006-08-06 Duncan Mak <[email protected]>
  2188. * NumericUpDown.cs (Value): Don't call OnValueChanged if the value
  2189. is not changing.
  2190. 2006-08-04 Jonathan Pobst <[email protected]>
  2191. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  2192. GroupBoxRenderer.cs, ProfessionalColors.cs, ProfessionalColorTable.cs,
  2193. ProgressBarRenderer.cs, RadioButtonRenderer.cs, ScrollBarRenderer.cs,
  2194. TabRenderer.cs, TextBoxRenderer.cs, TextRenderer.cs, TrackBarRenderer.cs:
  2195. Initial import of new 2.0 classes.
  2196. 2006-08-04 Jonathan Pobst <[email protected]>
  2197. * Application.cs: Add 2.0 VisualStyles properties.
  2198. 2006-08-04 Jonathan Pobst <[email protected]>
  2199. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  2200. XplatUIX11.cs: Create property to allow access to existing private
  2201. variable "themes_enabled"
  2202. 2006-08-04 Gonzalo Paniagua Javier <[email protected]>
  2203. * ImageListStreamer.cs: generate the MemoryStreams with the exact BMP
  2204. file size, as otherwise our class libraries fail using windows. Fixes
  2205. bug #78759.
  2206. 2006-08-04 Jackson Harper <[email protected]>
  2207. * Form.cs:
  2208. * XplatUIX11.cs: Move the toolwindow window manager creation into
  2209. the X11 driver, this way on win32 we can let windows create/handle
  2210. the toolwindows.
  2211. 2006-08-04 Carlos Alberto Cortez <[email protected]>
  2212. * PrintDialog.cs: Remove some redundant checks, add some others,
  2213. clean some code, and move the focus to the text boxes when the
  2214. values are incorrect.
  2215. 2006-08-04 Alexander Olk <[email protected]>
  2216. * FontDialog.cs: Remove Form.MinimumSize. It's not needed.
  2217. 2006-08-03 Alexander Olk <[email protected]>
  2218. * NumericUpDown.cs: Setting the Minimum and Maximum is now
  2219. handled correctly. Fixes bug #79001.
  2220. 2006-08-03 Carlos Alberto Cortez <[email protected]>
  2221. * PrintDialog.cs: The "Copies" numeric up down must have
  2222. set the Minimum property to 1; only if the value is bigger
  2223. than 1, activate "Collate" check box. This is the behaviour of .Net.
  2224. Also modify the Document elements only if it is not null.
  2225. 2006-08-03 Jackson Harper <[email protected]>
  2226. * TreeNodeCollection.cs: Fix copyto to use the correct nodes
  2227. length. (We have a larger array then actual node count).
  2228. 2006-08-03 Jackson Harper <[email protected]>
  2229. * ComboBox.cs: Don't show selection by default.
  2230. - The SelectAll isn't needed here, since the focus code should do
  2231. that
  2232. - DDL style lists to manual selection drawing, so when they
  2233. get/lose focus they have to invalidate.
  2234. 2006-08-03 Peter Dennis Bartok <[email protected]>
  2235. * TextBoxBase.cs: Don't always show all selections by default.
  2236. 2006-08-03 Jonathan Pobst <[email protected]>
  2237. * ControlUpdateMode.cs, DataSourceUpdateMode.cs,
  2238. HelpNavigator.cs, WebBrowserEncryptionLevel.cs:
  2239. Fixed various typos.
  2240. 2006-08-03 Alexander Olk <[email protected]>
  2241. * Control.cs: Removing the controls in a ControlCollection with
  2242. Clear now hides the controls as expected. Fixes bug #78804.
  2243. 2006-08-03 Jackson Harper <[email protected]>
  2244. * Control.cs: Revert previous focus patch, it breaks reflector.
  2245. 2006-08-03 Jackson Harper <[email protected]>
  2246. * ComboBox.cs: Cleanup selection and focus with the combobox.
  2247. This also eliminates some duplicated keyboard code, since now
  2248. everything is handled by the main class.
  2249. - Make list selection work on mouse up instead of down, to match
  2250. MS.
  2251. 2006-08-02 Jackson Harper <[email protected]>
  2252. * Control.cs: Setting focus needs to go through the whole
  2253. selection mechanism.
  2254. 2006-08-02 Chris Toshok <[email protected]>
  2255. * PrintPreviewDialog.cs: change MinimumSize to use
  2256. base.MinimumSize so it works.
  2257. 2006-08-02 Peter Dennis Bartok <[email protected]>
  2258. * TextControl.cs:
  2259. - UpdateCaret: Added sanity check in case caret isn't defined yet
  2260. - Line.Delete: Now updating selection and caret markers if we're
  2261. transfering a node (Properly fixes #78323)
  2262. - SetSelectionEnd: Added sanity check
  2263. * TextBoxBase.cs: Removed broken attempt to fix #78323
  2264. 2006-08-01 Chris Toshok <[email protected]>
  2265. * PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
  2266. Close() call is handled in Form, not here.
  2267. 2006-08-01 Chris Toshok <[email protected]>
  2268. * Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
  2269. layout/rendering.
  2270. * PrintPreviewDialog.cs: add scrollbars, and add an image cache
  2271. for sizes < 100% zoom. The code now aggressively attempts to keep
  2272. from calling document.Print (), and tries not to use the scaling
  2273. g.DrawImage whenever possible (it still does if you scale to >
  2274. 100%, since usually that involves huge images).
  2275. * PrintPreviewControl.cs: hook up the close button.
  2276. 2006-08-01 Jonathan Pobst <[email protected]>
  2277. * ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
  2278. ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
  2279. ItemDragEventHandler.cs, LabelEditEventHandler.cs,
  2280. LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
  2281. MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
  2282. PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
  2283. SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
  2284. Removed [Serializable] for 2.0 Event Handlers.
  2285. 2006-07-31 Jackson Harper <[email protected]>
  2286. * TextBoxBase.cs: Make ShowSelection invalidate when changed.
  2287. * TextControl.cs: Uncomment out the body of this method.
  2288. 2006-07-31 Alexander Olk <[email protected]>
  2289. * XplatUIX11.cs: Use the correct cursor shapes for arrow and default
  2290. standard cursors.
  2291. 2006-07-31 Peter Dennis Bartok <[email protected]>
  2292. * TextBoxBase.cs: Added internal property ShowSelection to allow controls
  2293. that embed TextBox and need selections visible even if textbox is not
  2294. focused to enforce that behaviour.
  2295. * TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
  2296. selection drawing
  2297. 2006-07-31 Peter Dennis Bartok <[email protected]>
  2298. * TextControl.cs:
  2299. - Added new SetSelectionStart/SetSelectionEnd overloads
  2300. - Fixed viewport width assignment to be accurate
  2301. - Adjusted alignment line shift calculations to allow cursor on right
  2302. aligned lines to be always visible at the right border (like MS)
  2303. * TextBoxBase.cs:
  2304. - SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
  2305. - TextBoxBase_SizeChanged: recalculating canvas on size changes
  2306. - CalculateScrollBars: Use ViewPort size instead of window size, to
  2307. properly consider space occupied by the border and scrollbars
  2308. (Fixes #78661)
  2309. - hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
  2310. calculations; no longer leaves artifacts
  2311. - CaretMoved: Adjusted window scrolling to match MS and fixed several
  2312. calculation bugs (Still missing right/center align calculations)
  2313. 2006-07-31 Peter Dennis Bartok <[email protected]>
  2314. * XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
  2315. use of both scroll rect and clip rect, as they do the same.
  2316. 2006-07-31 Peter Dennis Bartok <[email protected]>
  2317. * Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
  2318. in the event handler (fixes #78912)
  2319. 2006-07-31 Chris Toshok <[email protected]>
  2320. * ThemeWin32Classic.cs: use grid.RowsCount here instead of
  2321. grid.ListManager.Count, since grid.ListManager might be null.
  2322. This of course begs the question "why are we drawing rows for a
  2323. grid with no list manager (and therefor no rows)?" Fixes the
  2324. crash in bug #78929.
  2325. 2006-07-31 Chris Toshok <[email protected]>
  2326. * RelatedPropertyManager.cs: Don't always chain up to the parent
  2327. ctor. instead, call SetDataSource if the parent's position is !=
  2328. -1. Fixes the crash in #78822.
  2329. 2006-07-31 Chris Toshok <[email protected]>
  2330. * DataGrid.cs (get_ListManager): use field instead of property
  2331. accessors for datasource and datamember.
  2332. (RowsCount): make internal again.
  2333. (OnMouseDown): end edits before resizing columns/rows.
  2334. (OnMouseUp): restart edits after resizing columns/rows.
  2335. 2006-07-30 Peter Dennis Bartok <[email protected]>
  2336. * XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
  2337. This fixes the situation where the last set cursor is displayed
  2338. whenever the mouse is over scrollbars.
  2339. 2006-07-30 Carlos Alberto Cortez <[email protected]>
  2340. * PrintDialog.cs: Fix the behaviour of PrinterSettings and
  2341. Document properties, as well as initial values.
  2342. 2006-07-29 Peter Dennis Bartok <[email protected]>
  2343. * XplatUIWin32.cs (SetBorderStyle): Setting both border
  2344. and ClientEdge results in a 3-pixel border, which is
  2345. wrong.
  2346. 2006-07-28 Jackson Harper <[email protected]>
  2347. * TreeNodeCollection.cs: Fix the clear method.
  2348. - Fix the Shrink also
  2349. 2006-07-27 Jackson Harper <[email protected]>
  2350. * TreeView.cs: Make sure the visible order is computed when we
  2351. attempt to size the scrollbars (for trees that mess with the
  2352. scrolling when they shouldn't.
  2353. - Make sure to give the scrollbars valid values.
  2354. 2006-07-26 Peter Dennis Bartok <[email protected]>
  2355. * XplatUIX11.cs: Move motion compression code to where it
  2356. has less performance impact
  2357. 2006-07-26 Jackson Harper <[email protected]>
  2358. * UpDownBase.cs: When the control is selected make the child
  2359. controls non selectable, so that a click on them won't do a
  2360. focus/unfocus cycle.
  2361. - Don't give focus to the text box when the spinner is selected.
  2362. * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
  2363. 2006-07-26 Chris Toshok <[email protected]>
  2364. * ThemeWin32Classic.cs: add print preview rendering. I'm not
  2365. satisfied with this solution. If the bitmaps are small, we should
  2366. just cache them in the PrintPreviewDialog and draw them here.
  2367. Also, the layout is broken for the 2-up and 3-up cases.
  2368. * Theme.cs: add PrintPReviewControlPaint.
  2369. * PrintPreviewDialog.cs: first pass implementation.
  2370. * PrintPreviewControl.cs: first pass implementation. No
  2371. scrollbars yet.
  2372. * PrintDialog.cs: only validate fields if that particular portion
  2373. of the UI is enabled. Also, set the document's controller to a
  2374. PrintControllerWithStatusDialog wrapping the document's print
  2375. controller.
  2376. * PrintControllerWithStatusDialog.cs: if we're printing to a file,
  2377. bring up a SaveFileDialog (i hope we don't want to match the
  2378. behavior of the crappy windows file entry) and set the
  2379. PrinterSettings.PrintFileName accordingly.
  2380. 2006-07-26 Jackson Harper <[email protected]>
  2381. * ContainerControl.cs: Add a field that disables auto selecting
  2382. the next control in a container when the container is activated.
  2383. * UpDownBase.cs: Don't select the text box when the up down is
  2384. selected.
  2385. 2006-07-26 Peter Dennis Bartok <[email protected]>
  2386. * XEventQueue.cs: Added methods for peeking (used for compression
  2387. of successive events)
  2388. * XplatUIX11.cs (GetMessage): We're now compressing consecutive
  2389. mouse move events (fixes #78732)
  2390. 2006-07-25 Jackson Harper <[email protected]>
  2391. * UpDownBase.cs: Use an internal class for the textbox so that we
  2392. can control focus. the updown control should always have focus,
  2393. if either the text area or the buttons are clicked.
  2394. - Send the key messages to the textbox, since it never actually
  2395. has focus
  2396. - Activate and decativate the textbox caret.
  2397. 2006-07-24 Jackson Harper <[email protected]>
  2398. * Control.cs: Use the directed select when selecting a control,
  2399. this way the container controls override will get called and the
  2400. whole ActiveControl chain will get triggered. TODO: probably need
  2401. to make sure this gets done everywhere instead of the old
  2402. Select(Control).
  2403. * ContainerControl.cs: Implement the directed Select method to
  2404. find and activate the correct child control.
  2405. 2006-07-22 Mike Kestner <[email protected]>
  2406. * Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
  2407. menu handling code so that clicks without a grab work too.
  2408. [Fixes #78914]
  2409. 2006-07-22 Alexander Olk <[email protected]>
  2410. * FileDialog.cs: Enable the BackButton when dirstack has one element.
  2411. Added some small optimizations.
  2412. 2006-07-21 Matt Hargett <[email protected]>
  2413. * Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties
  2414. 2006-07-21 Peter Dennis Bartok <[email protected]>
  2415. * Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  2416. tests pass and match MS in some strange border cases.
  2417. 2006-07-21 Chris Toshok <[email protected]>
  2418. * ThemeWin32Classic.cs: handle drawing of the relation links and
  2419. parent row buttons.
  2420. * Theme.cs: change args to DataGridPaintParentRow.
  2421. * DataGrid.cs: Don't use controls for the relation links and
  2422. parent buttons, so we have to handle all their interactions in
  2423. MouseMove, MouseDown, MouseUp, etc. Also, store a lot more stuff
  2424. when we're navigating through child tables, so we can reinstate
  2425. selection, expanded state, current cell, etc.
  2426. 2006-07-20 Chris Toshok <[email protected]>
  2427. * ToolBar.cs: When we redraw a button, for whatever reason,
  2428. there's no reason to redraw the entire toolbar. Also, don't call
  2429. Control.Refresh from within Redraw, as it's much heavier than
  2430. Invalidate (which is really what we want).
  2431. 2006-07-20 Chris Toshok <[email protected]>
  2432. * DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
  2433. DataGridTextBoxColumn.cs, DataGridTextBox.cs,
  2434. ThemeWin32Classic.cs, ListControl.cs: After staring at stack
  2435. traces from within a debug IBindingList datasource
  2436. (in mono/winforms/datagrid) for *days*, I've finally gotten things
  2437. to work in a similar fashion.
  2438. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  2439. * ListBox.cs: Don't call Sort () when setting
  2440. the Sorted property to false (avoid an unnecessary sort).
  2441. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  2442. * ListControl.cs: DataSource should throw an ArgumentException
  2443. instead of a normal exception when the argument is not of the
  2444. correct type.
  2445. 2006-07-20 Mike Kestner <[email protected]>
  2446. * Control.cs: add InternalPreProcessMessage to allow us to steal
  2447. key events before MWF gets its paws on them. Adapted from a
  2448. suggestion by eno.
  2449. * ToolBar.cs: add GotLostFocus handing for flat toolbars, with
  2450. up/down/left/right navigation. Override the new internal control
  2451. method to steal the events since they never make it to WndProc.
  2452. * ToolBarButton.cs: don't worry about pushed when setting hilight
  2453. since the drawing code prefers pushed to hilight. Invalidate on
  2454. Hilight changes. Fixes #78547 and #78525.
  2455. 2006-07-20 Peter Dennis Bartok <[email protected]>
  2456. * ScrollableControl.cs: Consider AutoScrollMinSize when calculating
  2457. the canvas size. Fixes #78868
  2458. 2006-07-20 Peter Dennis Bartok <[email protected]>
  2459. * Splitter.cs: Track requested split position until first layout
  2460. is performed. Fixes #78871
  2461. 2006-07-20 Peter Dennis Bartok <[email protected]>
  2462. * Application.cs: Removed code that forces 1.x for the version
  2463. number if the version started with 0. Not sure why that code was
  2464. there and I couldn't find any bugs that indicated we needed it.
  2465. Fixes #78869
  2466. 2006-07-20 Alexander Olk <[email protected]>
  2467. * ThemeWin32Classic.cs: Don't throw a NotImplementedException in
  2468. ResetDefaults(), just write some output to the console until it's
  2469. implemented. Fixes bug #78907 for now. Eliminated two warnings.
  2470. 2006-07-19 Jonathan Chambers <[email protected]>
  2471. * PropertyGridView.cs: set StartPosition of drop down forms
  2472. so they appear in correct initial spot. Fixes #78190.
  2473. 2006-07-19 Mike Kestner <[email protected]>
  2474. * ThemeWin32Classic.cs: use parent background color when drawing
  2475. flat toolbars. Restructure the conditionals to make sure non-flat
  2476. non-Divider toolbars are filled too. Fixes #78837.
  2477. 2006-07-19 Mike Kestner <[email protected]>
  2478. * ListBox.cs: Sort on collection changes even if the handle
  2479. isn't created yet. Fixes #78813.
  2480. 2006-07-18 Carlos Alberto Cortez <[email protected]>
  2481. * ListControl.cs: DisplayMember should never be null,
  2482. and now we assign String.Empty when null is passed to it (this
  2483. is the .Net way).
  2484. 2006-07-17 Mike Kestner <[email protected]>
  2485. * ListViewItem.cs: restructure Font and subitem Font handling
  2486. to hold a specific font and refer back to owner on null.
  2487. Fixes #78761.
  2488. 2006-07-17 Mike Kestner <[email protected]>
  2489. * ToolBar.cs: bandaid for side-effect of previous patch which was
  2490. discarding explicit heights for non-AutoSize toolbars. Need to
  2491. extend my format tester to deal with AutoSize=false. Fixes #78864.
  2492. 2006-07-15 Jackson Harper <[email protected]>
  2493. * LabelEditTextBox.cs:
  2494. * TreeView.cs: Use a new LabelEdit class for node editing, this
  2495. class automatically 'closes' itself when it gets the enter key or
  2496. loses focus.
  2497. - Use the client rectangle when setting the trees scrollbars, so
  2498. border style is taken into account.
  2499. 2006-07-14 Jackson Harper <[email protected]>
  2500. * TreeNode.cs:
  2501. * TreeView.cs: Make the editing work similar to MSs, firing the
  2502. events correctly and ending edits correctly.
  2503. 2006-07-14 Mike Kestner <[email protected]>
  2504. * ToolBarButton.cs:
  2505. * ToolBar.cs: layout restructuring and redraw enhancements to support
  2506. formatting changes gracefully, like setting TextAlign, ImageList,
  2507. ButtonSize, and Appearance. Handles explicit button sizing quirks
  2508. of the MS controls. Things like flat toolbars ignoring button size
  2509. but becoming constant sized at the largest button's size. Normal
  2510. toolbars with an image set cannot be shrunk smaller than the image,
  2511. but text can be clipped/ignored.
  2512. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  2513. is zero. Seems like DrawString should be smart enough to not put
  2514. anything on screen though. Also trim labels and ellipsize at the char
  2515. boundary, not word.
  2516. Fixes #78711 and #78483.
  2517. 2006-07-14 Alexander Olk <[email protected]>
  2518. * FolderBrowserDialog.cs: Disable "New Folder" button and
  2519. "New Folder" contextmenu menuitem if a folder like "My Computer"
  2520. is selected.
  2521. 2006-07-14 Alexander Olk <[email protected]>
  2522. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  2523. * FolderBrowserDialog.cs:
  2524. - Use MWFConfig to store and read size and position settings
  2525. - Added code to create a new folder (button or context menu).
  2526. Use TreeView labeledit to change the name of the new folder.
  2527. 2006-07-14 Jackson Harper <[email protected]>
  2528. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  2529. when the tree is scrolled we end editing.
  2530. 2006-07-14 Alexander Olk <[email protected]>
  2531. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  2532. Down arrows
  2533. 2006-07-14 Jonathan Pobst <[email protected]>
  2534. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  2535. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  2536. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  2537. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  2538. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  2539. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  2540. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  2541. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  2542. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  2543. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  2544. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  2545. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  2546. ListViewItemSelectionChangedEventHandler.cs,
  2547. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  2548. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  2549. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  2550. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  2551. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  2552. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  2553. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  2554. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  2555. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  2556. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  2557. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  2558. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  2559. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  2560. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  2561. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  2562. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  2563. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  2564. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  2565. WebBrowserNavigatingEventHandler.cs,
  2566. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  2567. 2006-07-14 Jonathan Pobst <[email protected]>
  2568. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  2569. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  2570. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  2571. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  2572. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  2573. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  2574. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  2575. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  2576. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  2577. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  2578. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  2579. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  2580. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  2581. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  2582. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  2583. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  2584. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  2585. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  2586. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  2587. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  2588. ListViewItemStates.cs, MaskFormat.cs: Added
  2589. 2006-07-13 Jonathan Chambers <[email protected]>
  2590. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  2591. Patch from eno for bug 78558.
  2592. 2006-07-13 Jackson Harper <[email protected]>
  2593. * TreeView.cs: When an edit is finished make sure that the
  2594. selected node is visible.
  2595. - When setting the top/bottom use the scrollbars is_visible, so
  2596. everything will be set correctly even if the tree isn't visible
  2597. yet.
  2598. 2006-07-13 Jackson Harper <[email protected]>
  2599. * ComboBox.cs: Revert the item->index part of my previous patch.
  2600. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  2601. the edit box has lost focus (duh).
  2602. - Just make the edit box not visible when we get return, that will
  2603. take the focus, which will call EndEdit
  2604. * TreeNode.cs When we start editing, notify the treeview.
  2605. 2006-07-12 Jackson Harper <[email protected]>
  2606. * ComboBox.cs: Clear out old items before setting the item list.
  2607. This prevents databound controls from having their items added
  2608. twice.
  2609. - Switch the combobox to use indices whereever possible instead of
  2610. using Item's. This allows usto navigate through lists that have
  2611. more then one item with the same string value (ie a, b, b, a).
  2612. - Scroll the listboxes scrollbar when a non visible item is
  2613. highlighted
  2614. - Allow keypress to cycle through all the possible values. For
  2615. example if you have b1, b2, b3 and hold down the B key all the
  2616. values will be cycled through.
  2617. 2006-07-12 Jackson Harper <[email protected]>
  2618. * TextBoxBase.cs:
  2619. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  2620. this using the internal methods.
  2621. * Control.cs: Add OnGotFocusInternal. A new method that allows
  2622. controls to "override" OnGotFocus and change focus behavior if
  2623. needed.
  2624. - Same thing for LostFocus
  2625. * ComboBox.cs: Pass off focus to the text control properly.
  2626. 2006-07-12 Alexander Olk <[email protected]>
  2627. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  2628. * FolderBrowserDialog.cs: Almost a complete rewrite.
  2629. - Better support for Environment.Specialfolders
  2630. - Added support for MWFVFS
  2631. - Made setting SelectedPath work
  2632. 2006-07-12 Jackson Harper <[email protected]>
  2633. * Control.cs: Optimze getting all the controls.
  2634. 2006-07-11 Jackson Harper <[email protected]>
  2635. * ContainerControl.cs: Override SETFOCUS in the container control,
  2636. so that it is not selected on mouse click.
  2637. 2006-07-11 Peter Dennis Bartok <[email protected]>
  2638. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  2639. Hopefully we will have a better way once all of focus is complete.
  2640. 2006-07-11 Peter Dennis Bartok <[email protected]>
  2641. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  2642. a compile error with csc.
  2643. 2006-07-11 Jackson Harper <[email protected]>
  2644. * Control.cs: When hiding a control only select the next control
  2645. if the current control was focused.
  2646. - Don't handle enter/leave when setting/killing focus, this is
  2647. done by the container control.
  2648. - Remove is_selected, it's not needed anymore.
  2649. - Add utility methods for selecting a child control, and for
  2650. firing the Enter/Leave events.
  2651. * ContainerControl.cs: When a control is activated fire the
  2652. enter/leave events.
  2653. - Don't wrap when processing the tab key, so that focus can be
  2654. moved outside of the container.
  2655. - Use the correct active control
  2656. 2006-07-11 Jackson Harper <[email protected]>
  2657. * ComboBox.cs: Remove some debug code that was blinding me.
  2658. * UpDownBase.cs: These controls actually aren't implicit, they are
  2659. visible to the user.
  2660. 2006-07-10 Chris Toshok <[email protected]>
  2661. * DataGrid.cs: move back to the is_adding boolean field. god i
  2662. hate this is_editing/is_adding/is_changing stuff.
  2663. 2006-07-10 Chris Toshok <[email protected]>
  2664. * DataGridTableStyle.cs: just check if the property type is bool.
  2665. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  2666. Don't use CanRenderType.
  2667. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  2668. if our text == NullText. Remove CanRenderType.
  2669. * DataGridBoolColumn.cs: nuke CanRenderType.
  2670. * DataGrid.cs: reenable some code to end the current edit inside
  2671. of set_CurrentCell. This fixes the other 1.1.16 regression.
  2672. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  2673. Also, remove the visible_row_count arg from CalcRowHeaders, since
  2674. we don't need to worry about the actual height of the area.
  2675. 2006-07-10 Chris Toshok <[email protected]>
  2676. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  2677. mode, just return.
  2678. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  2679. the real sense of the IsInEditOrNavigateMode property (true =
  2680. navigate, false = edit). Also, update OnKeyPress to reflect this.
  2681. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  2682. column style exists, we still need to set its property descriptor
  2683. to match up with our list manager.
  2684. 2006-07-10 Chris Toshok <[email protected]>
  2685. * ThemeWin32Classic.cs: implement the new row/header painting
  2686. approach. The parent row painting will likely go away and
  2687. replaced with label controls, but the rest seems to work ok (and
  2688. efficiently).
  2689. * Theme.cs: change the way we draw datagrid rows. we don't draw
  2690. the row headers as a block now. Instead we draw them in the
  2691. normal draw-row loop. Add some calls for drawing parent rows and
  2692. relation rows.
  2693. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  2694. a default table style. Set the defaults from ThemeEngine.Current,
  2695. not SystemColors. Fix lots of misc issues with property setters.
  2696. * DataGrid.cs: move loads of style information out of this class
  2697. as it's being duplicated with DataGridTableStyle. keep track of a
  2698. special DataGridTableStyle for the properties we used to mirror
  2699. here. Switch all the style properties to access this table style
  2700. instead of instance fields of this class. Also add a internal
  2701. class to represent parent rows (more needs to be stored here, like
  2702. the selection state from the parent table, as well as the
  2703. expansion state.) Also, for datasources with relations, do the
  2704. right thing for collapse/expand, and add support for the
  2705. navigation/parent row buttons.
  2706. Lastly, fix the crash in the 1.1.16 build.
  2707. * GridTableStylesCollection.cs: make the explicit interface
  2708. implementations call the class's methods as opposed to duplicating
  2709. them.
  2710. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  2711. 0 so the text doesn't jump around when we move the cursor.
  2712. 2006-07-10 Jackson Harper <[email protected]>
  2713. * TextBoxBase.cs:
  2714. * ListBox.cs: Match MS's ToString (this makes debugging focus
  2715. stuff infinitely easier).
  2716. 2006-07-10 Jackson Harper <[email protected]>
  2717. * Control.cs (SelectNextControl): When checking the control's
  2718. parent use this instead of ctrl.parent so that null can be passed
  2719. to SelectNextControl. (I have unit tests for this).
  2720. - Remove unused var.
  2721. 2006-07-10 Chris Toshok <[email protected]>
  2722. * CurrencyManager.cs: correct one regression, the removal of the
  2723. finalType field. Also, add a MonoTODO on CanAddRows, implement
  2724. Refresh() correctly, and fix some event emission in
  2725. ListChangedHandler.
  2726. 2006-07-07 Alexander Olk <[email protected]>
  2727. * FileDialog.cs: Don't use brackets for new folders if they exist
  2728. under *nix. Instead use -(number of existing folders +1).
  2729. 2006-07-07 Alexander Olk <[email protected]>
  2730. * FileDialog.cs:
  2731. - Fixed really nasty bug #78771
  2732. - Don't block the whole GUI when reading directories with a lot of
  2733. entries. Use an other thread instead and call BeginInvoke to
  2734. update the ListView in MWFFileView
  2735. 2006-07-07 Chris Toshok <[email protected]>
  2736. * Control.cs (Dispose): release any Capture when disposing.
  2737. 2006-07-07 Chris Toshok <[email protected]>
  2738. * LinkLabel.cs (Select): if we chain up to the parent, set
  2739. focused_index to -1 so we'll search for the first available link
  2740. the next time the user tabs into us. Also, if the direction is
  2741. backward and focused_index == -1, start the search from the last
  2742. element.
  2743. 2006-07-07 Chris Toshok <[email protected]>
  2744. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  2745. is beyond the end of the text, don't do anything.
  2746. (CreateLinkPieces): set our ControlStyles.Selectable based on
  2747. whether or not we have any links.
  2748. (Link.Invalidate): use a loop instead of foreach.
  2749. (Link.set_Start): null out owner.sorted_links so it'll be
  2750. recreated by CreateLinkPieces.
  2751. 2006-07-06 Chris Toshok <[email protected]>
  2752. * LinkLabel.cs: revert the SetStyle change.
  2753. 2006-07-06 Chris Toshok <[email protected]>
  2754. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  2755. (OnEnableChanged): s/Refresh/Invalidate
  2756. (OnGotFocus): if we have a focused index already, refocus it (so
  2757. if we mouse out/in to the window it'll focus the right link).
  2758. (OnKeyDown): move the tab handling out of here.
  2759. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  2760. when we lose focus.
  2761. (OnMouseDown): don't Capture here - Control handles it. Also,
  2762. focus the active link.
  2763. (OnMouseUp): don't deal with Capture.
  2764. (OnPaintBackgroundInternal): remove.
  2765. (OnTextAlignChanged): CreateLinkPieces before calling the
  2766. superclass's method.
  2767. (OnTextChanged): call CreateLinkPieces before calling superclass's
  2768. method.
  2769. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  2770. move around.
  2771. (Select): implement this, moving the selection between different
  2772. links, and call parent.SelectNextControl if we don't have another
  2773. link to focus in the given direction.
  2774. (CreateLinkPieces): call Invalidate instead of Refresh.
  2775. 2006-07-06 Chris Toshok <[email protected]>
  2776. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  2777. new LinkLabel internals.
  2778. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  2779. over pieces looking for active/focused/etc links. also, deal with
  2780. runs of text (and links) with embedded \n's in them, and use
  2781. MeasureCharacterRanges instead of MeasureString to figure out the
  2782. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  2783. two-step.
  2784. 2006-07-04 Jackson Harper <[email protected]>
  2785. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  2786. XKB or key auto repeat, do it manually. Without key auto repeat,
  2787. when a key is held down we get key press, key release, key press,
  2788. key release, ... with auto repeat we get key press, key press, key
  2789. press ..., and then a release when the key is actually released.
  2790. 2006-07-03 Jackson Harper <[email protected]>
  2791. * TabControl.cs:
  2792. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  2793. rules, they are always control color regardless of the background
  2794. color.
  2795. 2006-07-02 Alexander Olk <[email protected]>
  2796. * FileDialog.cs: Added internal class MWFConfig.
  2797. Removed Registry support and replaced it with support for the new
  2798. MWFConfig class. See MWFConfig comments for more information.
  2799. 2006-06-30 Alexander Olk <[email protected]>
  2800. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  2801. rectangle. Added some patches from eno from bug #78490 and fixed
  2802. the arrow position for small up and down CPDrawScrollButtons.
  2803. 2006-06-30 Jackson Harper <[email protected]>
  2804. * InternalWindowManager.cs: Remove some debug code.
  2805. * Form.cs: When an MdiParent is set to null, the window is
  2806. "detatched" and becomes a normal window.
  2807. * MdiClient.cs: Don't bring the new child form to the front until
  2808. it is activated (setting it as active does this), this makes the
  2809. previously active forms titlebar get redrawn as inactive.
  2810. 2006-06-29 Peter Dennis Bartok <[email protected]>
  2811. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  2812. with later controls
  2813. 2006-06-29 Mike Kestner <[email protected]>
  2814. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  2815. arrow in keynav state. Fixes #78682.
  2816. 2006-06-28 Atsushi Enomoto <[email protected]>
  2817. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  2818. order (fixes #78393)
  2819. 2006-06-28 Jonathan Pobst <[email protected]>
  2820. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  2821. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  2822. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  2823. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  2824. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  2825. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  2826. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  2827. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  2828. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  2829. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  2830. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  2831. values)
  2832. 2006-06-28 Mike Kestner <[email protected]>
  2833. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  2834. 2006-06-28 Atsushi Enomoto <[email protected]>
  2835. * PropertyGrid.cs,
  2836. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  2837. item lines from other area (It also makes BackColor consistent and
  2838. compatible with .NET). Fixed bug #78564.
  2839. 2006-06-28 Jonathan Chambers <[email protected]>
  2840. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  2841. Patch from Eno for #78555.
  2842. 2006-06-27 Chris Toshok <[email protected]>
  2843. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  2844. * DataGridColumnStyle.cs: same.
  2845. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  2846. * DataGridDrawingLogic.cs: nuke.
  2847. 2006-06-27 Chris Toshok <[email protected]>
  2848. * DataGridTableStyle.cs: clean up the constructors, and build the
  2849. list of child relations for this table. I have no idea if this is
  2850. where we should be doing it (it probably isn't), but since we're
  2851. already iterating over the properties..
  2852. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  2853. struct and array for keeping track of row information, similar to
  2854. what's shown in a hack on
  2855. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  2856. * Theme.cs: be consistent about the naming of DataGrid methods,
  2857. prefering ColumnWidths and RowHeights over columnsWidths and
  2858. RowsHeights.
  2859. * ThemeWin32Classic.cs: same, and also add support for variable
  2860. sized rows (and the +/- expansion icons for related rows).
  2861. 2006-06-27 Peter Dennis Bartok <[email protected]>
  2862. * TextBoxBase.cs: Applied Eno's patch from #78660
  2863. 2006-06-27 Peter Dennis Bartok <[email protected]>
  2864. * Form.cs (ScaleCore): We don't want to scale our form if it's
  2865. state is minimized or maximized, but we still need to scale our
  2866. child windows. Also, added try/finally block to ensure layout
  2867. gets reset (Fixes #78697)
  2868. 2006-06-27 Peter Dennis Bartok <[email protected]>
  2869. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  2870. 2006-06-27 Peter Dennis Bartok <[email protected]>
  2871. * Form.cs: Fixed c+p error and added check to resize form if minimum
  2872. size is bigger than current size (Fixes #78709)
  2873. 2006-06-26 Peter Dennis Bartok <[email protected]>
  2874. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  2875. 2006-06-26 Mike Kestner <[email protected]>
  2876. * ComboBox.cs: only do Keypress handling in the combo when there
  2877. are items in the collection. Fixes #78710.
  2878. 2006-06-26 Chris Toshok <[email protected]>
  2879. * Binding.cs: make this work bi-directionally. also, clear up
  2880. other mixups between Push/Pull Data (e.g. we're supposed to pull
  2881. data when validating).
  2882. * BindingManagerBase.cs: trim some fully qualified collection
  2883. types.
  2884. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  2885. 2006-06-23 Chris Toshok <[email protected]>
  2886. * PropertyManager.cs: It appears (according to the unit tests)
  2887. that PropertyManager doesn't use
  2888. PropertyDescriptor.AddValueChanged to track propery value changes
  2889. in its datasource, but uses the same scheme as Binding, where it
  2890. looks for a <Property>Changed event and binds to it.
  2891. Also, according to the docs, IsSuspended always returns false for
  2892. a property manager with a non-null datasource.
  2893. 2006-06-22 Peter Dennis Bartok <[email protected]>
  2894. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  2895. need to update the actual DialogResult. (Fixes #78613)
  2896. 2006-06-22 Peter Dennis Bartok <[email protected]>
  2897. * Form.cs (ShowDialog): Release any captures before running the
  2898. new message pump (fixes #78680)
  2899. 2006-06-22 Mike Kestner <[email protected]>
  2900. * ListView.cs: Layout column widths properly in details mode even
  2901. if HeaderStyle.None is set. Fixes #78691.
  2902. 2006-06-21 Peter Dennis Bartok <[email protected]>
  2903. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  2904. 2006-06-21 Peter Dennis Bartok <[email protected]>
  2905. * Control.cs (ContainsFocus): Using new driver method to get focused
  2906. window, instead of trying to use internal tracking var, which can
  2907. recursion issues (Fixes #78685)
  2908. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  2909. XplatUIWin32.cs: Added GetFocus method to return focused window
  2910. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  2911. * ColorDialog.cs: when the mouse button is pressed inside the color
  2912. matrix, don't let the cursor move out of it until the button is
  2913. released, which is the behavior on windows. Changed 'colours' by
  2914. 'colors' to use the same word consistently.
  2915. 2006-06-21 Chris Toshok <[email protected]>
  2916. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  2917. child relation and back, using a stack). Also, remove
  2918. GetDataSource and the code that calls it - it's not needed. Also,
  2919. track CurrencyManager.ListName's removal.
  2920. 2006-06-21 Chris Toshok <[email protected]>
  2921. * CurrencyManager.cs: push some of the original type checking from
  2922. BindingContext.CreateBindingManager to here, and remove some of
  2923. the finalType stuff. Need more tests to make sure I've got the
  2924. ListName part right, and we might need more in SetDataSource.
  2925. * PropertyManager.cs: add a ctor that takes just the datasource,
  2926. and no property name. Make SetDataSource work with a null
  2927. property_name, and make Current return the data_source if the
  2928. property descriptor is null. this makes 'string foo = "hi";
  2929. BindingContext[foo].Current' return "hi" as it should.
  2930. * RelatedCurrencyManager.cs: make this code more generic - there's
  2931. no reason the parent manager has to be CurrencyManager, and
  2932. there's no reason to pass the DataRelation. It suffices to use a
  2933. BindingManagerBase and PropetyDescriptor.
  2934. * RelatedPropertyManager.cs: make a similar change here.
  2935. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  2936. flower I knew it could be.
  2937. 2006-06-20 Chris Toshok <[email protected]>
  2938. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  2939. data in the source has changed and we need to update the control,
  2940. so s/PullData/PushData.
  2941. * CurrencyManager.cs: Refresh is meant to update the control from
  2942. data in the datasource. So, s/PullData/PushData.
  2943. * BindingContext.cs: add more ugliness (we weren't handling the
  2944. case where data_source = DataTable and data_member = column_name).
  2945. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  2946. from the perspective of the datasource. PullData pulls from the
  2947. control, PushData pushes to the control.
  2948. 2006-06-20 Chris Toshok <[email protected]>
  2949. * BindingContext.cs: rewrite the CreateBindingManager code to
  2950. handle navigation paths more or less properly. This could
  2951. definitely stand some more work, in particular to push the
  2952. recursion up to the toplevel. But that relies on fixes in other
  2953. places (System.Data comes to mind).
  2954. Also, move to a flat hashtable (and encode the twolevel nature of
  2955. the dictionary into the hash key). This lets us implement the
  2956. IEnumerable.GetEnumerator method.
  2957. * RelatedCurrencyManager.cs: new class. Update our view based on
  2958. our relation and our parent CurrencyManager's position.
  2959. * CurrencyManager.cs: split out some logic from the ctor into
  2960. SetView, so it can be called from the new RelatedCurrencyManager
  2961. subclass.
  2962. * RelatedPropertyManager.cs: new class. Update our datasource
  2963. based on the position of our parent CurrencyManager.
  2964. * PropertyManager.cs: split out some logic from the ctor into
  2965. SetDataSource, so it can be called from the new RelatedDataSource
  2966. subclass. Also, make the Current getter return the value
  2967. of the PropertyDescriptor, not the data_source.
  2968. * Binding.cs: no need to duplicate the string splitting code here.
  2969. 2006-06-19 Peter Dennis Bartok <[email protected]>
  2970. * Control.cs:
  2971. - set_Enabled: OnEnabledChanged is not called if the inherited state
  2972. of the control is not altered, even though we might be changing the
  2973. internal state of the control (#78458)
  2974. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  2975. OnEnabledChanged, to allow easy altering of any child window state
  2976. - OnEnabledChanged: Added code to enable/disable driver window state
  2977. - OnParentEnabledChanged: Instead of firing the event, call
  2978. OnEnabledChanged, which will fire the event and also a) set driver
  2979. window state and pass the enabled state to any grandchildren (#78458)
  2980. 2006-06-19 Jackson Harper <[email protected]>
  2981. * InternalWindowManager.cs: We don't set the cursor explicitly
  2982. thats done via the response to NCHITTESTs.
  2983. - Don't need to adjust for titlebar heights anymore, the
  2984. coordinates are coming in the correct coordinates now (see peters
  2985. last patch).
  2986. 2006-06-19 Peter Dennis Bartok <[email protected]>
  2987. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  2988. being translated relative to whole window, instead of client window.
  2989. That caused broken offsets on mouseclick (and caused gas for our
  2990. InternalWindowManager)
  2991. 2006-06-15 Peter Dennis Bartok <[email protected]>
  2992. * TextControl.cs:
  2993. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  2994. - Undo(): Added replay of cursor move on DeleteChars action; added
  2995. calling Undo() again if a recorded cursor move is invalid (to
  2996. ensure that some action is performed on Undo)
  2997. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  2998. 2006-06-16 Jackson Harper <[email protected]>
  2999. * MdiClient.cs: Instead of just sizing maximized windows when
  3000. there is a resize we also have to adjust the Y of minimized
  3001. windows, so they stay pinned to the bottom of the mdi container.
  3002. - Eliminate separate tracking of the active control, we can just
  3003. get this from the controls collection.
  3004. - Paint the decorations for the newly activated titlebar so we get
  3005. a pretty blue bar.
  3006. * InternalWindowManager.cs:
  3007. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  3008. even if they are a tool window.
  3009. 2006-06-15 Peter Dennis Bartok <[email protected]>
  3010. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  3011. undo buffer, these can happen when text was deleted and the cursor
  3012. was recorded first. Since we will also have a recorded cursor
  3013. after the delete this is not an issue. (Fixes #78651)
  3014. 2006-06-14 Peter Dennis Bartok <[email protected]>
  3015. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  3016. instead properly track control states internally (allows us to
  3017. remove is_selected from Control)
  3018. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  3019. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  3020. whose width is not a multiple of 8.
  3021. 2006-06-13 Jackson Harper <[email protected]>
  3022. * MdiClient.cs: Only maximize the next child if the current one
  3023. is maximized.
  3024. 2006-06-13 Chris Toshok <[email protected]>
  3025. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  3026. modified. Also, guard against grid or grid_drawing being null in
  3027. Invalidate.
  3028. * DataGrid.cs: Reformat tons of getters/setters. In the
  3029. DataMember setter, just call SetNewDataSource instead of
  3030. duplicating some of its functionality. In SetNewDataSource, don't
  3031. check ListManager for null, since the property getter creates the
  3032. object if needed.
  3033. * DataGridTableStyle.cs: don't set TableStyle or call
  3034. SetDataGridInternal on the column here, it's done in
  3035. GridColumnStylesCollection.Add.
  3036. * GridColumnStylesCollection.cs: fix all the explicit interface
  3037. implementations to just call our methods. Nuke AddInternal() and
  3038. move the body of it to Add(). Also, add a call to
  3039. column.SetDataGridInternal to Add().
  3040. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  3041. base()+duplicate code. Also, use the Format property instead of
  3042. format to generate an Invalidate ala MS. Lastly, create the
  3043. textbox here, unconditionally.
  3044. (set_Format): call Invalidate.
  3045. (get_TextBox): no need to call EnsureTextBox.
  3046. (Commit): remove the message box.
  3047. (Edit) remove the call to EnsureTextBox.
  3048. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  3049. (EnterNullValue): no need to check textbox for null.
  3050. (HideEditBox): no need to check textbox for null.
  3051. (SetDataGridInColumn): add the textbox to the grid's controls.
  3052. (EnsureTextBox): nuke.
  3053. 2006-06-13 Jackson Harper <[email protected]>
  3054. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  3055. and redraw the buttons when needed. Unhook when the window is
  3056. unmaximized.
  3057. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  3058. needs this so that it can redraw its buttons when the menu is
  3059. repainted.
  3060. * InternalWindowManager.cs:
  3061. * Form.cs: The method order has changed for DrawMaximizedButtons,
  3062. so that it can be a PaintEventHandler.
  3063. 2006-06-13 Jackson Harper <[email protected]>
  3064. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  3065. window is activated and maximized, even if it wasn't before.
  3066. - When a new window is activated repaint the decorations of the
  3067. old one, so that it no longer has the Active "look" (the blue
  3068. titlebar).
  3069. * InternalWindowManager.cs: Open up CreateButtons to base classes
  3070. so they can recreate the buttons on state changes.
  3071. - If a window is maximized give it all three buttons
  3072. * MdiWindowManager.cs: Create the titlebar buttons when the state
  3073. is changed, this is needed because a toolwindow will not have all
  3074. three buttons until it is maximized.
  3075. 2006-06-13 Atsushi Enomoto <[email protected]>
  3076. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  3077. Fixed bug #78609.
  3078. 2006-06-12 Jackson Harper <[email protected]>
  3079. * KeysConverter.cs: Make sure we handle the Ctrl special case
  3080. if its the only key.
  3081. 2006-06-12 Jackson Harper <[email protected]>
  3082. * Theme.cs: Add a method to get the size of a managed window
  3083. toolbar button.
  3084. * InternalWindowManager.cs: Remove the ButtonSize property, this
  3085. should be retrieved from the theme.
  3086. * MdiWindowManager.cs: Get the button size from the theme
  3087. * ThemeWin32Classic.cs: Make the method to get the managed window
  3088. titlebar button size public.
  3089. - Handle the different button sizes of maximized toolwindows
  3090. (should match any maximized window).
  3091. - Get the titlebar height from the theme, not the WM (which gets
  3092. it from the theme).
  3093. 2006-06-12 Jackson Harper <[email protected]>
  3094. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  3095. event down to the mdi window manager.
  3096. - Expose some extra stuff to base classes
  3097. - Make sure to end the Capture on an NC Mouse up, so that we can
  3098. get double clicks properly, and the sizing doens't stick.
  3099. - When doing PointToClient contain it in the workable desktop
  3100. area, this prevents windows from changing size when the cursor is
  3101. pulled outside of the working area while sizing.
  3102. * MdiWindowManager.cs: When we get a double click maximize the
  3103. window.
  3104. - Reset the cursor after handling mode changes.
  3105. 2006-06-12 Peter Dennis Bartok <[email protected]>
  3106. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  3107. current desktop, instead of just assuming a 0, 0 origin. This
  3108. is needed for our internal window manager, to know the top
  3109. margin of the desktop
  3110. 2006-06-12 Chris Toshok <[email protected]>
  3111. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  3112. we need this to get rid of the selected background in the bool
  3113. column.
  3114. (CancelEditing): move the ConcedeFocus call to above the Abort
  3115. call. Also, set is_changing to false and invalidate the row
  3116. header if we were changing before.
  3117. (ProcessKeyPreviewInternal): remove, since noone outside this
  3118. class calls it anymore. Roll the code into ProcessKeyPreview.
  3119. (EndEdit): remove the internal version.
  3120. (InvalidateCurrentRowHeader): make private.
  3121. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  3122. Keys.Escape handling (and with it the last call to
  3123. DataGrid.EndEdit from outside the class.)
  3124. 2006-06-12 Chris Toshok <[email protected]>
  3125. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  3126. (OnKeyPress): set isedit to true.
  3127. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  3128. already handled by the grid.
  3129. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  3130. right. ugh.
  3131. (set_DataSource): SetDataSource always returns true, so stop
  3132. putting it in an if statement.
  3133. (EndEdit): get rid of some {}'s
  3134. (ProcessGridKey): return true in case Keys.Escape.
  3135. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  3136. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  3137. PositionChanged, stopped connecting to CurrentChanged.
  3138. (GetDataSource): simplify this a bunch.
  3139. (SetDataSource): change return type from bool to void.
  3140. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  3141. to this, and make sure we don't set ListManager.Position inside
  3142. set_CurrentCell.
  3143. (OnListManagerItemChanged): if we're passed an actual index,
  3144. redraw that row.
  3145. * CurrencyManager.cs (set_Position): don't call PullData here.
  3146. 2006-06-09 Jackson Harper <[email protected]>
  3147. * TreeNode.cs: Recalculate the visible order before doing the
  3148. Expand/Collapse Below calls, because those calls generate an
  3149. expose.
  3150. - Reduce calls to the TreeView property, which is mildly expensive
  3151. by using a local var.
  3152. * Form.cs: Layout the MDI child windows when creating the parent
  3153. form.
  3154. - Don't use the internal constructor anymore
  3155. * MdiClient.cs: use the parent form width/height (if available)
  3156. when laying out the child windows, we do this because the
  3157. mdiclient isn't docked yet when the initial layout is done.
  3158. - Don't need an internal constructor anymore.
  3159. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  3160. * FileDialog.cs: handle access errors when trying to create a folder
  3161. or changing to a directory. No need to initialize out parameters.
  3162. 2006-06-08 Alexander Olk <[email protected]>
  3163. * FileDialog.cs: Append a number when creating a new folder if the
  3164. folder already exists (use parenthesis instead of square brackets)
  3165. 2006-06-08 Alexander Olk <[email protected]>
  3166. * FileDialog.cs:
  3167. - Disabled registry support for windows and added better registry
  3168. error checking for other systems (need to investigate why it
  3169. works perfectly on my system)
  3170. - If a folder already exist show an error MessageBox instead of
  3171. trying to create an indexed name.
  3172. - Fixed a non intentional typo.
  3173. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  3174. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  3175. 2006-06-08 Alexander Olk <[email protected]>
  3176. * FileDialog.cs: When creating a new folder don't crash if the
  3177. folder already exists.
  3178. 2006-06-08 Alexander Olk <[email protected]>
  3179. * FileDialog.cs: Allmost a complete rewrite.
  3180. - added a "virtual" file system that handles the differences
  3181. between unix and windows file systems (especially the directory
  3182. structure). Moved most of the directory and file handling code
  3183. into the vfs.
  3184. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  3185. UnixFileSystem and FSEntry.
  3186. - Recently used folder/directory, size, location and used file names
  3187. (file name ComboBox) are now stored in the registry and get read
  3188. before the dialog shows up (fixes part 6 of bug #78446).
  3189. - Creation of new folders/directories is now possible (context menu
  3190. or ToolBar). Added TextEntryDialog for this that fills in the gap
  3191. until ListView.LabelEdit works.
  3192. - Fixed cursor handling (bug #78527) and focus handling for
  3193. PopupButtonPanel
  3194. - Various "Search in" ComboBox enhancements. The content of the
  3195. dropdown listbox now almost matches ms.
  3196. - Changed the behaviour when the user switches to SpecialFolder
  3197. Recent to show the ListView in View.Details.
  3198. - Beside using the ToolBar to change the View property of the
  3199. file ListView it is now possible to use the context menu too.
  3200. 2006-06-08 Alexander Olk <[email protected]>
  3201. * ComboBox.cs: Don't create a new ObjectCollection when an item
  3202. gets inserted. Just insert the item in the existing object_items
  3203. ArrayList.
  3204. 2006-06-08 Jackson Harper <[email protected]>
  3205. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  3206. that the treeview and root node checks are done also, this fixes a
  3207. regression i caused in the unit tests.
  3208. 2006-06-07 Wade Berrier <[email protected]>
  3209. * RichTextBox.cs: More ISO8859-1 -> unicode
  3210. 2006-06-07 Mike Kestner <[email protected]>
  3211. * ComboBox.cs : use items to hold highlight/selection so that
  3212. collection insertions don't require synchronization.
  3213. 2006-06-07 Jackson Harper <[email protected]>
  3214. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  3215. routine. We now always keep the sized edge at the cursor instead
  3216. of computing movement and adjusting rects. There is one buglet
  3217. with this method though when the cursor is moved over area that
  3218. the window can not expand too (such as the toolbars on the desktop).
  3219. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  3220. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  3221. here. Fixes crash on startup in AlbumSurfer.
  3222. 2006-06-07 Peter Dennis Bartok <[email protected]>
  3223. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  3224. values
  3225. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  3226. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  3227. statement to avoid calling XNextEvent which will block if another thread
  3228. took the event that we were expecting. Fixes bug #78605.
  3229. 2006-06-07 Mike Kestner <[email protected]>
  3230. * ListView.cs : isolated checkbox clicking from the selection logic.
  3231. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  3232. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  3233. * Form.cs: Check that the value passed to Form.DialogResult
  3234. is a valid enum value.
  3235. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  3236. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  3237. Computer'. Clicking it in the network view goes to 'My Computer'.
  3238. Added CIFS filesystem type. Display the mount point of filesystems.
  3239. Avoid duplicate mount points (happens for me with CIFS);
  3240. 2006-06-06 Jackson Harper <[email protected]>
  3241. * InternalWindowManager.cs: Draw the maximized windows buttons
  3242. when resizing.
  3243. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  3244. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  3245. all other dialogs. Fixes bug #78585.
  3246. 2006-06-06 Mike Kestner <[email protected]>
  3247. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  3248. Only invalidate checkbox on checkstate changes to avoid flicker.
  3249. * ListBox.cs : avoid unselect/select when clicking selected item.
  3250. avoid reselection flicker for already multiselected items.
  3251. Fixes #78382.
  3252. 2006-06-06 Jackson Harper <[email protected]>
  3253. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  3254. the parent form so that the menu is removed if needed.
  3255. 2006-06-06 Mike Kestner <[email protected]>
  3256. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  3257. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  3258. 2006-06-06 Mike Kestner <[email protected]>
  3259. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  3260. 2006-06-06 Jackson Harper <[email protected]>
  3261. * Control.cs: Use the property (instead of the field) to get the
  3262. default cursor so it is instantiated correctly.
  3263. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  3264. resizes so we need to manually repaint the window decorations here.
  3265. - Set the titlebar button locations as soon as they are created,
  3266. otherwise they are not set correctly on win32.
  3267. 2006-06-06 Chris Toshok <[email protected]>
  3268. * CurrencyManager.cs (set_Position): call PullData before
  3269. OnCurrentChanged.
  3270. (AddNew): after calling IBindingList.AddNew, update our
  3271. listposition, and call OnCurrentChanged/OnPositionChanged (without
  3272. calling PullData).
  3273. (OnCurrentChanged): remove the call to PullData from here.
  3274. (OnItemChanged): remove the call to PushData from here.
  3275. (OnPositionChanged): change the test from == null to != null to
  3276. match the other methods.
  3277. (ListChangedHandler): the grossest part of the patch. Implement
  3278. this such that it passes the unit tests in CurrencyManagerTest and
  3279. the output more or less matches that of MS's implementation.
  3280. 2006-06-06 Mike Kestner <[email protected]>
  3281. * ListView.cs : only update check state on single click.
  3282. * ThemeWin32Classic.cs : fix focus drawing for details view without
  3283. fullrowselect. Fixes #78454.
  3284. * XplatUIX11.cs : fix for double click emission.
  3285. 2006-06-05 Jonathan Chambers <[email protected]>
  3286. * PropertyGridView.cs : Applied Atsushi's patch to fix
  3287. font dialog bug (#78197).
  3288. 2006-06-05 Jackson Harper <[email protected]>
  3289. * TreeNode.cs: Compute the next node for expanding/collapsing
  3290. correctly. We now factor in nodes without a NextNode
  3291. correctly. (Fixes somes cases in nunit-gui).
  3292. * InternalWindowManager.cs: Set the bounds when updating the
  3293. virtual position of a tool window.
  3294. 2006-06-05 Chris Toshok <[email protected]>
  3295. * DataGrid.cs: rename cached_currencymgr to list_manager.
  3296. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  3297. some.
  3298. (CurrentRow, CurrentColumn): single accessors so we can make the
  3299. cursor movement code a lot easier to understand.
  3300. (CurrentRowIndex): implement this in terms of CurrentRow.
  3301. (BeginEdit): clean this up a bit.
  3302. (CancelEditing): sort out the is_editing/is_changing/is_adding
  3303. stuff a little.
  3304. (EndEdit): minor changes.
  3305. (OnKeyDown): add a comment about a (most likely) unnecessary
  3306. check.
  3307. (OnMouseDown): cancel editing when we click on a row header. And
  3308. use the CurrentRow setter, not CurrentCell.
  3309. (ProcessDialogKey): directly call ProcessGridKey.
  3310. (UpdateSelectionAfterCursorMove): factor out this common block of
  3311. code (it's used everywhere that we move the cursor by updating row
  3312. or column).
  3313. (ProcessGridKey): pretty substantial overhaul. Use the
  3314. CurrentRow/CurrentColumn properties to make the code a lot more
  3315. readable. Only use the CurrentCell property when we have to
  3316. modify both row and column at once. Tab behavior is still broken,
  3317. and Delete is untested.
  3318. (Select): if we have no selected rows, set selection_start to
  3319. @row.
  3320. (EditCurrentCell): rename EditCell this. It was only ever invoked
  3321. with CurrentCell as the arg, so drop the arg and rename it.
  3322. * DataGridColumnStyle.cs: clean up the constructors a little, and
  3323. drop CommonConstructor().
  3324. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  3325. actually get notified when the user hits it.
  3326. (ProcessKeyMessage): *substantially* simplify this method.
  3327. There's no reason (that I can see) for the textbox to be making
  3328. calls into the datagrid at all. Remove all of them but the ones
  3329. for Enter handling. those will take some more work.
  3330. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  3331. calling HideEditBox.
  3332. (HideEditBox): if we have an active textbox, render it invisible
  3333. without causing a re-layout of the datagrid.
  3334. 2006-06-05 Mike Kestner <[email protected]>
  3335. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  3336. collection changes by resetting it to Items[0]. Fixes #78587.
  3337. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  3338. * MessageBox.cs: if the height of the text is larger than the icon_size,
  3339. use that. Fixes bug #78575.
  3340. 2006-06-05 Jackson Harper <[email protected]>
  3341. * TreeView.cs: Fix line drawing when scrolling. To do this each
  3342. node is basically responsible for drawing its entire horizontal
  3343. area. When drawing a node it draws its parent node lines if
  3344. needed.
  3345. - Adjust the clip area to the viewport rectangle
  3346. - Fix Left/Right key handling to match MS. (It expand/collapses
  3347. and moves to parents/first child but does not move selection to
  3348. sibling nodes).
  3349. - Fix SetTop to work with new bound calculation code
  3350. - When scrollbars are no longer needed we need to reset scrolling
  3351. vars and recalculate the visible order so the redraw is correct
  3352. * TreeNode.cs: We can't expand/collapse nodes with no children.
  3353. 2006-06-03 John Luke <[email protected]>
  3354. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  3355. so the colors work without dev packages
  3356. 2006-06-02 Peter Dennis Bartok <[email protected]>
  3357. * Control.cs
  3358. - Select: Implemented to just use activate. Seems to match MS
  3359. behaviour closest. Documented to only do actual control walking
  3360. based on it's parameters if in a container control so I moved
  3361. the code there.
  3362. - Removed selection check logic from our internal Select() method
  3363. * ContainerControl.cs:
  3364. - Select: Moved selection logic from Control here, since MS documents
  3365. that containers obey the bool arguments. No longer calling base
  3366. 2006-06-02 Jackson Harper <[email protected]>
  3367. * TreeView.cs: If the selected node isn't changed when we get
  3368. focus update the previously selected node so that we see the
  3369. selection box.
  3370. 2006-06-02 Mike Kestner <[email protected]>
  3371. * ComboBox.cs: restructure grab and general mouse event handling.
  3372. Make the composite control raise mouse events like it was a single
  3373. control for leaves/enters/motion/up/down events. fix dropdown list
  3374. coordinate mangling and refactor it into the scrollbar subclass to
  3375. reduce code duplication. Fixes #78282 #78361 and #78457.
  3376. 2006-06-02 Mike Kestner <[email protected]>
  3377. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  3378. automatically in the Control.WndProc.
  3379. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  3380. * FileDialog.cs: fix crash when running SharpChess, which sets the
  3381. FilterIndex to 2 with only one Filter.
  3382. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  3383. * ToolBar.cs: add SizeSpecified property.
  3384. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  3385. try to figure out our real size, otherwise fallback to what the
  3386. container says.
  3387. 2006-06-01 Peter Dennis Bartok <[email protected]>
  3388. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  3389. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  3390. up the event
  3391. 2006-06-01 Mike Kestner <[email protected]>
  3392. * ListView.cs: revamp the focus management in ListView. It still
  3393. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  3394. better than not handling focus at all. Will revisit when pdb feels
  3395. the general focus handling is solid. Fixes #78526.
  3396. 2006-06-01 Jackson Harper <[email protected]>
  3397. * TreeView.cs: Set the default border style in the constructor.
  3398. - Move painting to use OnPaintInternal instead of capturing
  3399. WM_PAINT, this is the correct way of doing things
  3400. - UpdateBelow shouldn't invalidate the scrollbar area
  3401. - Cap the top on update below in case the node was above the top
  3402. of the viewport rectangle.
  3403. - ExpandBelow and Collapse below need to obey Begin/End Update.
  3404. * TreeNode.cs: Make is_expanded internal so the treenode
  3405. collection can change it without firing the whole event chain.
  3406. * TreeNodeCollection.cs: When clearing all the child nodes make
  3407. sure to recalc the visible order.
  3408. - Improve algo for remove the top node
  3409. 2006-06-01 Peter Dennis Bartok <[email protected]>
  3410. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  3411. SendMessage directly calling window procedures, which in turn might
  3412. call SetFocus()
  3413. 2006-06-01 Peter Dennis Bartok <[email protected]>
  3414. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  3415. has focus (works around X11 sending a FocusIn after our SetFocus)
  3416. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  3417. 2006-06-01 Alexander Olk <[email protected]>
  3418. * Mime.cs: Fix for the NET_2_0 build.
  3419. NameValueCollection needs StringComparer now.
  3420. 2006-05-31 Chris Toshok <[email protected]>
  3421. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  3422. return (via an out parameter) the starting X of the column.
  3423. (UpdateVisibleColumn): track change to FromPixelToColumn.
  3424. (HitTest): add a ColumnResize case here.
  3425. (DrawResizeLine): new function, probably poorly named.
  3426. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  3427. only need to keep one reference.
  3428. (set_ListManager): same.
  3429. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  3430. Also, add support for HitTestType.ColumnResize.
  3431. (OnMouseMove): add column resize behavior here, and change the
  3432. cursor to the correct one as we move around the datagrid.
  3433. (OnMouseUp): terminate the column resize if we're resizing.
  3434. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  3435. for the current cell.
  3436. (ConnectListManagerEvents): use cached_currencymgr.
  3437. (DisconnectListManagerEvents): fill this in, using
  3438. cached_currencymgr.
  3439. (SetCurrentCell): remove cached_currencymgr_events handling.
  3440. (SetDataMember): only call DisconnectListManagerEvents if
  3441. cached_currencymgr is != null.
  3442. (SetDataSource): same.
  3443. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  3444. cached_currencymgr.
  3445. 2006-05-31 Jackson Harper <[email protected]>
  3446. * BindingManagerBase.cs: Remove somedebug code that creeped into
  3447. SVN.
  3448. * TreeNode.cs: We get the indent level dynamically right now, so
  3449. don't track it as a member.
  3450. * TreeNodeCollection.cs: Make sure all nodes added to the list
  3451. have parents, treeviews/topnodes setup properly.
  3452. - Don't attempt to track indent level.
  3453. 2006-05-30 Jackson Harper <[email protected]>
  3454. * BindingContext.cs: Create the currency manager tables here.
  3455. This allows us to more easily create null tables (when bad data
  3456. members are used), and more easily create related currency
  3457. managers.
  3458. * CurrencyManager.cs: All the table creation stuff is done by the
  3459. binding context now.
  3460. - Current should throw an exception if listposition is -1.
  3461. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  3462. been bound yet.
  3463. 2006-05-30 Mike Kestner <[email protected]>
  3464. * ListView.cs: allow reexpansion of zero-width column headers.
  3465. Fixes #78528.
  3466. 2006-05-28 Chris Toshok <[email protected]>
  3467. * CurrencyManager.cs (get_Current): after the late binding
  3468. listposition = -1 fix, we need to guard against it here and return
  3469. null, otherwise we raise an exception (which is swallowed
  3470. elsewhere, and breaks datagrid databinding.)
  3471. 2006-05-26 Peter Dennis Bartok <[email protected]>
  3472. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  3473. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  3474. 2006-05-26 Jackson Harper <[email protected]>
  3475. * ControlPaint.cs:
  3476. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  3477. values, it's faster and it's all we care about (we don't care if
  3478. the names aren't equal).
  3479. * KeyboardLayouts.cs: Eliminate some dead code.
  3480. - Lazy init things
  3481. * X11Keyboard.cs: Lazy init keyboard detection.
  3482. - Cleanup access modifiers a little.
  3483. 2006-05-26 Peter Dennis Bartok <[email protected]>
  3484. * XplatUIX11.cs: Once again, attempting to get layout just right.
  3485. 2006-05-26 Peter Dennis Bartok <[email protected]>
  3486. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  3487. the sizes of each link section, that will result in sizes that
  3488. match DrawString's layout (Fixes #78391)
  3489. 2006-05-27 Alexander Olk <[email protected]>
  3490. * FileDialog.cs: If AddExtension property is true autocomplete the
  3491. extensions in SaveFileDialog correctly. Fixes bug #78453.
  3492. Set MyNetwork and MyComputer to "C:\" for windows. This should
  3493. fix part 8 of bug #78446 for now.
  3494. 2006-05-26 Chris Toshok <[email protected]>
  3495. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  3496. invalidate the current row header if we need to, but presumably
  3497. we'll invalidate the row corrsponding to the bounds or
  3498. editingControl.
  3499. (GridHScrolled): switch back to this method, as it's part of the
  3500. public api. *sigh*.
  3501. (GridVScrolled): same.
  3502. (OnMouseWheel): hack up something that more or less works. Call
  3503. GridHScrolled/GridVScrolled directly, instead of duplicating much
  3504. of their code here.
  3505. (EnsureCellVisibility): reinstate a bunch of this code, since we
  3506. can't just set the scrollbar Value and expect to do all the work
  3507. in the ValueChanged handler. Also, Call Update() after scrolling
  3508. in one direction so the other XplatX11.ScrollWindow call has the
  3509. proper stuff in the proper places.
  3510. (EditCell): set is_editing to true before calling .Edit.
  3511. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  3512. don't bother comparing first.
  3513. (OnKeyPress): call grid.ColumnStartedEditing before calling
  3514. base.OnKeyPress. this will set is_changing and invalidate the row
  3515. header if necessary.
  3516. (ProcessKeyMessage): for WM_CHAR messages, call
  3517. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  3518. and WM_KEYDOWN.
  3519. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  3520. it's done in the DataGrid.
  3521. (NextState): call grid.ColumnStartedEditing, which takes care of
  3522. invalidating the row header (and setting is_changing).
  3523. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  3524. here. it's done in the DataGrid.
  3525. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  3526. * Control.cs: allow changing the cursor when the mouse position is
  3527. out of bounds but Capture is set.
  3528. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  3529. linklabel but released somewhere else.
  3530. 2006-05-25 Jackson Harper <[email protected]>
  3531. * TreeView.cs: When we get focus if there is no selected node make
  3532. it the top node
  3533. - Remove some uneeded setup code from Draw.
  3534. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  3535. a new node is inserted make the new node the top.
  3536. * XplatUIX11.cs:
  3537. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  3538. be used (should be faster).
  3539. 2006-05-25 Chris Toshok <[email protected]>
  3540. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  3541. problem with the last commit.
  3542. 2006-05-25 Chris Toshok <[email protected]>
  3543. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  3544. need the invalidate call here, while scrolling right-to-left via
  3545. the left arrow key (i.e. moving the editing cell while scrolling).
  3546. * DataGrid.cs (.ctor): remove the initialization of
  3547. ctrl_pressed/shift_pressed. We no longer track them using key
  3548. up/down handlers, but by using Control.ModifierKeys. Also, switch
  3549. to using ValueChanged handlers on the scrollbars instead of
  3550. Scrolled event handlers. This simplifies a bunch of the scrolling
  3551. code.
  3552. (GridHValueChanged): rename from GridHScrolled, and change it to
  3553. work with the new event args.
  3554. (GridVValueChanged): same.
  3555. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  3556. (OnMouseWheel): actually scroll the datagrid. Don't change the
  3557. selected cell.
  3558. (ProcessGridKey): correct all the keyboard navigation stuff I
  3559. could find. Ctrl up/down/left/right/home/end work now.
  3560. (EnsureCellVisibility): correct method name spelling. Also,
  3561. simplify this a touch by not explicitly calling the
  3562. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  3563. scrollbar value.
  3564. (OnKeyUpDG): no need for this method now.
  3565. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  3566. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  3567. Fixes bug #78392.
  3568. 2006-05-25 Chris Toshok <[email protected]>
  3569. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  3570. r61019.
  3571. 2006-05-25 Peter Dennis Bartok <[email protected]>
  3572. * Application.cs: Moved setting of is_modal and closing to before
  3573. we create the control, to allow the event handlers called as a
  3574. result of creation affect closing. Also removed Gonzalo's previous
  3575. change to setting DialogResult, the behaviour has been moved to
  3576. Form.ShowDialog()
  3577. * Form.cs:
  3578. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  3579. handle it instead
  3580. - ShowDialog(): If no dialog result is set, we need to return Cancel
  3581. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  3582. the close is cancelled
  3583. 2006-05-25 Jackson Harper <[email protected]>
  3584. * StatusBar.cs: We only need to update the sizes of the other
  3585. panels when we have auto size contents. Also we are only updating
  3586. the contents of the panel, not the borders, so compensate for the
  3587. border width (TODO: get this width from the theme somehow).
  3588. * TreeView.cs: Scrollable is true by default
  3589. - Use invalidate instead of refresh where needed
  3590. - Factor the scrollable value into scrollbar updating
  3591. - Update the scrollbars if the Scrollable property is altered
  3592. - Update the selected node if its ImageIndex is changed
  3593. - Handle null nodes in UpdateNode (mainly so we don't have to
  3594. check if selected is null when updating it
  3595. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  3596. are factored into the visible count
  3597. - Use VisibleCount for clarity in the code
  3598. - When the font is changed we need to recurse through all the
  3599. nodes and invalidate their sizes
  3600. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  3601. * Application.cs: set the DialogResult to fixed when the main form is
  3602. hidden or destroyed while being modal.
  3603. 2006-05-25 Miguel de Icaza <[email protected]>
  3604. * Theme.cs: Use Tangoified messagebox icons.
  3605. (GetSizedResourceImage): Also cope with width = 0 and do not
  3606. trigger a warning in that case (0 means "give me your icon from
  3607. the resouce, no special size needed).
  3608. 2006-05-25 Peter Dennis Bartok <[email protected]>
  3609. * Application.cs: Leave runloop if the the main modal form is
  3610. hidden (fixes #78484)
  3611. 2006-05-25 Atsushi Enomoto <[email protected]>
  3612. * BindingContext.cs : reject null datasource in Contains() and
  3613. Item[].
  3614. * CurrencyManager.cs : check data_member validity when data_source
  3615. is dataset. When it is late binding, the initial position is -1.
  3616. 2006-05-24 Jackson Harper <[email protected]>
  3617. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  3618. inserted nodes that aren't visible. This changes the
  3619. max_visible_order which confuses scrollbar settings.
  3620. - Use the enumerator to get the prev node instead of duplicating
  3621. code.
  3622. * TreeView.cs: Use new method for setting scrollbar values
  3623. - Don't set the bounds every time the scrollbar is updated
  3624. - When updating below the root node use an invalidate instead of a
  3625. refresh to prevent the child controls (scrollbars) from being
  3626. refreshed. (UpdateBelow still needs to be reworked anyways).
  3627. - Reenable SetBottom now that visible orders are set correctly,
  3628. added some debug code incase we ever get bad values there again.
  3629. - Set the scrollbar max to 2 less then the max value, this
  3630. compensates for the max value being one above the node count, and
  3631. for scrollbars adding one extra "notch".
  3632. - When drawing image nodes if there is an imagelist we draw the
  3633. first image in the list if the supplied image index is out of the
  3634. image list's bounds.
  3635. 2006-05-24 Peter Dennis Bartok <[email protected]>
  3636. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  3637. we receive a size change from the WM (Fixes #78503)
  3638. 2006-05-24 Peter Dennis Bartok <[email protected]>
  3639. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  3640. rectangle (Fixes #78501)
  3641. 2006-05-24 Peter Dennis Bartok <[email protected]>
  3642. * ButtonBase.cs:
  3643. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  3644. as a bitfield.
  3645. - Fixed MouseMove to no longer switch pressed state unless the left
  3646. mouse button is pressed. Atsushi provided the original patch (#78485)
  3647. 2006-05-24 Jackson Harper <[email protected]>
  3648. * ScrollBar.cs: New internal methods that allow us to change a
  3649. couple values on the scrollbar (the most common case is maximum
  3650. and large change) without getting multiple invalidates.
  3651. 2006-05-24 Chris Toshok <[email protected]>
  3652. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  3653. (Edit): save off the original state in oldState, and set
  3654. grid.is_editing to true.
  3655. (OnKeyDown): abort editing if escape is pressed. also, call
  3656. NextState if space is pressed.
  3657. (OnMouseDown): call NextState.
  3658. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  3659. here. Also, only invalidate the row header once (on the initial
  3660. is_changing switch) to save on redraws.
  3661. 2006-05-24 Chris Toshok <[email protected]>
  3662. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  3663. if the value in the cell is different than it was before. This
  3664. keeps us from triggering a layout when we move around a datarid
  3665. with a highlighted cell.
  3666. (Edit): suspend layout when creating/positining the text box, and
  3667. resume passing false so we don't ever actually re-layout.
  3668. (ReleaseHostedControl): same.
  3669. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  3670. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  3671. control-key sequences should go to the datagrid - remove that
  3672. lock. Also, modify the conditions under which we move between
  3673. cells when moving the cursor within a cell, and remove the "this"
  3674. and "base" from field accesses. We weren't even consistent, given
  3675. they all were in the base class.
  3676. 2006-05-24 Atsushi Enomoto <[email protected]>
  3677. * Binding.cs : (.ctor)
  3678. An obvious NRE fix for BindingTest.CtorNullTest().
  3679. 2006-05-23 Chris Toshok <[email protected]>
  3680. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  3681. them between lines. This fixes some quirks editing cells in the
  3682. datagrid.
  3683. 2006-05-23 Jackson Harper <[email protected]>
  3684. * TreeView.cs: Use begin/end update when doing expand/collapse all
  3685. so that we don't get flicker on the scrollbar.
  3686. 2006-05-23 Jackson Harper <[email protected]>
  3687. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  3688. treenode calculations to be independant of the painting code. To
  3689. do this nodes track a visible order which is calculated by the
  3690. treeview.
  3691. - Call new methods for expanding/collapsing nodes. These methods
  3692. use scrollwindow so we don't have to update everything below the
  3693. node.
  3694. * TreeView.cs: Refactored drawing and scrolling code. We don't
  3695. need to update nodes when drawing anymore or calculate scrollbar
  3696. stuff.
  3697. - Added new methods for expanding/collapsing nodes. These methods
  3698. use ScrollWindow so as to not have to redraw all the nodes below.
  3699. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  3700. we add/remove nodes or sort.
  3701. - Handle removing the selected and the top node properly.
  3702. 2006-05-23 Chris Toshok <[email protected]>
  3703. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  3704. maybe this should actually happen in the datagrid code?
  3705. (EndEdit): no need to invalidate anything, given that
  3706. ReleaseHostedControl causes the datagrid to relayout, which
  3707. invalidates everything anyway.
  3708. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  3709. in SetCurrentCell).
  3710. (set_SelectionBackColor): call InvalidateSelection instead of
  3711. Refresh.
  3712. (set_SelectionForeColor): same.
  3713. (BeginEdit): Flesh this out a bit.
  3714. (CancelEditing): only do any of this if we're editing/adding.
  3715. (EndEdit): same.
  3716. (OnMouseDown): there's no need to cancel editing here, it's done
  3717. in SetCurrentCell.
  3718. (SetCurrentCell): only invalidate the current row header if it's a
  3719. different row than the new one.
  3720. (ShiftSelection): fix this to work like MS does.
  3721. (ResetSelection): factor out the invalidation of selected_rows to
  3722. InvalidateSelection.
  3723. (SetDataSource): cancel any editing that's going on.
  3724. * DataGridColumnStyle.cs
  3725. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  3726. call the non-interface version.
  3727. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  3728. header rectangle with the clip rectangle so we don't redraw the
  3729. entire header for just a small area. Gets rid of the last flicker
  3730. when horizontally scrolling.
  3731. (DataGridPaintRow): same.
  3732. 2006-05-23 Mike Kestner <[email protected]>
  3733. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  3734. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  3735. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  3736. Critical bug report.
  3737. 2006-05-23 Peter Dennis Bartok <[email protected]>
  3738. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  3739. and this fixes #78493
  3740. 2006-05-23 Miguel de Icaza <[email protected]>
  3741. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  3742. size is not found.
  3743. * FileDialog.cs: Do not change the background for the side bar as
  3744. it wont work nicely with the theme, and also reduces the artifacts
  3745. in rendering the icons (which I want to fix too).
  3746. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  3747. resources, not resgen resources.
  3748. (PlatformDefaultHandler): Pull images using the new API.
  3749. 2006-05-23 Peter Dennis Bartok <[email protected]>
  3750. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  3751. a reference to the hwnd and will not remove it unless there are
  3752. no pending exposures (fixes #78341)
  3753. * XplatUI.cs: Improved debug
  3754. 2006-05-23 Atsushi Enomoto <[email protected]>
  3755. * MenuAPI.cs : don't handle OnClick event when it was not the left
  3756. button. Fixed bug #78487.
  3757. 2006-05-23 Mike Kestner <[email protected]>
  3758. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  3759. prefer submenus to the top menu for item lookup, to avoid popping down
  3760. top-row items.
  3761. 2006-05-23 Alexander Olk <[email protected]>
  3762. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  3763. Graphics.FillRectangle as the visual results are really bad (even
  3764. on win). We now draw perfect arrows (and perfect shadows when the
  3765. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  3766. Pen.DashPattern to draw the dots of each line.
  3767. 2006-05-22 Alexander Olk <[email protected]>
  3768. * FileDialog.cs: Update the filename combobox when navigating through
  3769. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  3770. 2006-05-22 Mike Kestner <[email protected]>
  3771. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  3772. Fixes #78463.
  3773. 2006-05-22 Mike Kestner <[email protected]>
  3774. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  3775. requests. Fix a misspelled parameter and a copy paste exception error
  3776. in Select.
  3777. 2006-05-22 Peter Dennis Bartok <[email protected]>
  3778. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  3779. to get the same width/height (5/13) on X11 as the default font has on
  3780. win32. This means that our DefaultFont emSize is smaller than the
  3781. the MS SWF equivalent (even thought the width/height stays the same)
  3782. 2006-05-20 Jackson Harper <[email protected]>
  3783. * MdiClient.cs:
  3784. * MdiWindowManager.cs:
  3785. * InternalWindowManager.cs: Make sure to use the border width from
  3786. the theme.
  3787. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  3788. * PrintDialog.cs: Implements printer details
  3789. 2006-05-19 Alexander Olk <[email protected]>
  3790. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  3791. Fixes part 1 and 2 of bug #78446
  3792. 2006-05-19 Peter Dennis Bartok <[email protected]>
  3793. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  3794. instead of sticking to the first ever calculated value
  3795. 2006-05-19 Mike Kestner <[email protected]>
  3796. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  3797. PointToClient, since Capture is set. Fixes #78344.
  3798. 2006-05-19 Mike Kestner <[email protected]>
  3799. * ListView.cs: match MS behavior in Details view where items are not
  3800. drawn if Columns.Count == 0.
  3801. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  3802. Use a separate pen to draw the check, since changing the width affects
  3803. the box as well. Fixes #78454.
  3804. 2006-05-18 Miguel de Icaza <[email protected]>
  3805. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  3806. exception should throw the name of the invalid argument.
  3807. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  3808. there are no files listed.
  3809. 2006-05-18 Jackson Harper <[email protected]>
  3810. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  3811. up.
  3812. 2006-05-18 Peter Dennis Bartok <[email protected]>
  3813. * Control.cs: Brought back our old UpdateZOrder method as a private
  3814. function and switched our calls from UpdateZOrder to the new one.
  3815. This fixes the Paint.Net canvas disappearing bug.
  3816. 2006-05-18 Jackson Harper <[email protected]>
  3817. * Theme.cs:
  3818. * ThemeWin32Classic.cs:
  3819. * InternalWindowManager.cs: Move the drawing into the theme,
  3820. expose everything the theme should need from the window manager.
  3821. 2006-05-18 Peter Dennis Bartok <[email protected]>
  3822. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  3823. from the call to NativeWindow to avoid walking up the parent chain
  3824. further than needed (speeds up setting cursors and avoids setting
  3825. the wrong cursor if a parent has another cursor defined)
  3826. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  3827. the icon as hotspot, not what's contained as hotspot in the icon
  3828. file. This fixes the perceived drawing offset seen with Paint.Net
  3829. 2006-05-18 Peter Dennis Bartok <[email protected]>
  3830. * XplatUIX11.cs:
  3831. - Store the calculated rectangle in Hwnd object and use it when
  3832. setting the client size
  3833. - Force Toolwindows to always be type Dock, to ensure they're on top
  3834. 2006-05-18 Mike Kestner <[email protected]>
  3835. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  3836. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  3837. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  3838. Substantial refactoring to remove confusing nested classes. Coding
  3839. standard and Get+Set->property refactorings. Shift to index based
  3840. highlighting in ComboListBox instead of constantly using IndexOf and
  3841. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  3842. in FileDialog growth. Draw borders manually since Simple mode needs
  3843. to look like two independent controls. Make listbox border
  3844. conditional to DropDownStyle. Improved OwnerDraw support.
  3845. 2006-05-18 Sebastien Pouliot <[email protected]>
  3846. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  3847. Don't set the disposed graphics to null, so we can throw the "right"
  3848. exception if the graphics is reused later (added a flag to avoid
  3849. double disposing). Some behaviours are different under 2.0 and are
  3850. filled under bug #78448.
  3851. 2006-05-18 Peter Dennis Bartok <[email protected]>
  3852. * Control.cs: When double-buffering is enabled, we need to reset
  3853. our graphics context between paint calls. Otherwise, any
  3854. transformations and other alterations on the context will
  3855. become cumulative (#77734)
  3856. 2006-05-18 Mike Kestner <[email protected]>
  3857. * ListView.cs: do focused item selection like MS on clicks.
  3858. Rework focus handling for ItemControl so LostFocus invalidates as
  3859. well.
  3860. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  3861. the ListView ItemControl has focus.
  3862. 2006-05-17 Peter Dennis Bartok <[email protected]>
  3863. * XplatUIX11.cs: If client_window ends up being width or height zero
  3864. due to border settings, move it off window inside whole_window (#78433)
  3865. 2006-05-17 Alexander Olk <[email protected]>
  3866. * Mime.cs: Shrink the mime file cache correctly.
  3867. 2006-05-17 Alexander Olk <[email protected]>
  3868. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  3869. 2006-05-16 Peter Dennis Bartok <[email protected]>
  3870. * XplatUIX11.cs (AddExpose): More sanity checks
  3871. 2006-05-16 Peter Dennis Bartok <[email protected]>
  3872. * XplatUIX11.cs:
  3873. - AddExpose: Don't add expose ranges outside the size of our
  3874. window
  3875. - Cast opacity values to Int32 to avoid crashes with certain
  3876. values
  3877. - Added disabled code paths that protect against illegal cross-
  3878. thread painting (Developers.exe)
  3879. 2006-05-16 Peter Dennis Bartok <[email protected]>
  3880. * ProgressBar.cs: Invalidate the control when it's resized
  3881. since block size is based on control size. (#78388)
  3882. 2006-05-16 Miguel de Icaza <[email protected]>
  3883. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  3884. of setting the incoming argument to the "reset" value, we set the
  3885. this.datamember to string.empty (before we were invalidating the
  3886. incoming data).
  3887. Fixes 78420
  3888. 2006-05-16 Peter Dennis Bartok <[email protected]>
  3889. * Form.cs: Only apply transparency settings after the form
  3890. is created. (Fixes #77800)
  3891. 2006-05-16 Peter Dennis Bartok <[email protected]>
  3892. * ApplicationContext.cs: Grab the HandleDestroyed event so
  3893. we know when to fire OnMainFormClosed
  3894. 2006-05-16 Peter Dennis Bartok <[email protected]>
  3895. * Application.cs: Introduced sub-class to allow tracking of
  3896. threads and centralized triggering of the event mess for
  3897. ThreadExit, AppExit, etc.. (#76156)
  3898. 2006-05-16 Alexander Olk <[email protected]>
  3899. * MimeIcon.cs:
  3900. - Do not return a null icon index value for a mime subclass.
  3901. Instead try the main mime type class too.
  3902. - Seems that some newer distributions don't have a link to some
  3903. gnome default icons anymore. So check the default gnome dir too.
  3904. 2006-05-16 Jackson Harper <[email protected]>
  3905. * MdiClient.cs: Don't paint the parent background image if we have
  3906. our own background image.
  3907. 2006-05-16 Peter Dennis Bartok <[email protected]>
  3908. * Control.cs:
  3909. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  3910. controls, all filled controls are supposed to overlap (#78080)
  3911. - UpdateZOrder is supposed to update the control's z-order in the
  3912. parent's z-order chain. Fixed to behave like that
  3913. - BringToFront: Removed obsolete code
  3914. - SendToBack: Simplyfied
  3915. - SetChildIndex: Trigger layout calculations when Z-order changes
  3916. since layout is done by z-order
  3917. 2006-05-16 Chris Toshok <[email protected]>
  3918. [ fixes bug #78410 ]
  3919. * DataGrid.cs (set_AlternatingBackColor): use
  3920. grid_drawing.InvalidateCells instead of Refresh().
  3921. (set_BackColor): call grid_drawing.InvalidateCells.
  3922. (set_BackgroundColor): use Invalidate instead of Refresh.
  3923. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  3924. invalidate the cell area.
  3925. 2006-05-15 Chris Toshok <[email protected]>
  3926. [ fixes bug #78011 ]
  3927. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  3928. on to DataGridPaintRow.
  3929. (DataGridPaintRow): take a clip argument, and only draw the cells
  3930. which intersect it. same with the not_usedarea.
  3931. * Theme.cs (DataGridPaintRow) add @clip parameter.
  3932. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  3933. XplatUI.ScrollWindow.
  3934. (ScrollToRow): same.
  3935. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  3936. with last column which was causing a gray swath to appear with the
  3937. XplatUI.ScrollWindow code.
  3938. 2006-05-15 Chris Toshok <[email protected]>
  3939. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  3940. use XplatUI.ScrollWindow.
  3941. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  3942. 2006-05-15 Peter Dennis Bartok <[email protected]>
  3943. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  3944. 2006-05-15 Peter Dennis Bartok <[email protected]>
  3945. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  3946. file since there are no equivalent X11 cursors
  3947. 2006-05-15 Atsushi Enomoto <[email protected]>
  3948. * MonthCalendar.cs : DateTimePicker should reflect selected date
  3949. on mouse*up*, not mouse*down*. Fixed originally reported part of
  3950. bug #76474.
  3951. 2006-05-15 Atsushi Enomoto <[email protected]>
  3952. * TabControl.cs : When argument index is equal or more than tab
  3953. count, just ignore. Fixed bug #78395.
  3954. 2006-05-15 Peter Dennis Bartok <[email protected]>
  3955. * Control.cs: Dispose all child controls when control is diposed (#78394)
  3956. 2006-05-14 Alexander Olk <[email protected]>
  3957. * ColorDialog.cs: Finally it is possible to select the color with
  3958. the text boxes
  3959. 2006-05-14 Alexander Olk <[email protected]>
  3960. * PrintDialog.cs: Fix typo
  3961. 2006-05-14 Alexander Olk <[email protected]>
  3962. * PrintDialog.cs: PrintDialog is not resizable
  3963. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  3964. color. Made some ToolBar drawing methods protected virtual.
  3965. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  3966. * PrintDialog.cs: Implementation of the PrintDialog
  3967. 2006-05-12 Chris Toshok <[email protected]>
  3968. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  3969. thumb, instead use MoveThumb. This has the side effect of making
  3970. most of the other thumb moving machinery use MoveThumb as well.
  3971. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  3972. need to actually invalidate the rectangle where the new thumb will
  3973. go.
  3974. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  3975. We force an Update() after, so it's not as fast as it could be,
  3976. but at least there's zero flicker and no droppings.
  3977. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  3978. (UpdateThumbPos): add another argument (dirty), which says whether
  3979. or not to calculate/add dirty regions which we later invalidate.
  3980. For cases where we know we're going to use MoveThumb, we pass
  3981. false for this. Otherwise, pass true.
  3982. 2006-05-12 Jackson Harper <[email protected]>
  3983. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  3984. the status bar.
  3985. 2006-05-12 Peter Dennis Bartok <[email protected]>
  3986. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  3987. and GetClipRegion methods and UserClipWontExposeParent property.
  3988. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  3989. overriding UserClipWontExposeParent property, setting to false, since
  3990. Win32 handles the required expose messages to draw our clipped parent
  3991. areas internally
  3992. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  3993. PaintEventStart to set the user clip region if set.
  3994. * Control.cs:
  3995. - Now internally tracking the Region for the control since we need to
  3996. store it if the handle is not yet created and only set it when it
  3997. becomes created. Before setting the region forced handle creation
  3998. - Added code to draw the parents underneath a user-clipped region
  3999. * Hwnd.cs: Added UserClip property
  4000. 2006-05-12 Chris Toshok <[email protected]>
  4001. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  4002. (set_Maximum): same.
  4003. (set_Minimum): same.
  4004. (set_SmallChange): same.
  4005. (OnMouseUpSB): remove the call to refresh when releasing the
  4006. thumb. We shouldn't need it.
  4007. 2006-05-12 Miguel de Icaza <[email protected]>
  4008. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  4009. AutoSize set to None, we do not need to relayout everything, we
  4010. just need to invalidate the current region.
  4011. (Draw): Do not draw the entire ClientArea, just redraw the
  4012. clip area being passed.
  4013. * MdiClient.cs: Make MdiClient constructor with the Form argument
  4014. internal.
  4015. 2006-05-12 Jackson Harper <[email protected]>
  4016. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  4017. parents background image, but strangely not their own.
  4018. - (DrawStatusBarPanel): Take into account horizontal alignment
  4019. when drawing the strings and icons.
  4020. 2006-05-12 Mike Kestner <[email protected]>
  4021. * ListBox.cs: avoid invalidations for focus when the collection is
  4022. empty.
  4023. 2006-05-12 Chris Toshok <[email protected]>
  4024. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  4025. invalidate the entire thumb area. Call InvalidateDirty which
  4026. limits the redraw to the thumb itself and surrounding pixels.
  4027. * XplatUIX11.cs (ScrollWindow): optimize copying.
  4028. 2006-05-12 Chris Toshok <[email protected]>
  4029. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  4030. Figure out the positioning/layout in a single pass instead of
  4031. multiple recursive invocations. Speeds up the initial display of
  4032. the data grid. Also, make many things private that were
  4033. originally public but unused outside this class.
  4034. 2006-05-11 Jackson Harper <[email protected]>
  4035. * MdiClient.cs: Improved layout code.
  4036. 2006-05-11 Jonathan Chambers <[email protected]>
  4037. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  4038. not SelectedObject.
  4039. 2006-05-11 Chris Toshok <[email protected]>
  4040. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  4041. union of that will always be {0,0,width,height}.
  4042. 2006-05-11 Jackson Harper <[email protected]>
  4043. * Form.cs: Match MS's DefaultSize for forms (they must have
  4044. changed the size in sp2).
  4045. 2006-05-11 Atsushi Enomoto <[email protected]>
  4046. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  4047. 2006-05-11 Atsushi Enomoto <[email protected]>
  4048. * TextControl.cs : Fixed bug #78109. This incorrect position
  4049. comparison caused crash on automatic line split.
  4050. * TextBoxBase.cs : reduce duplicate code.
  4051. 2006-05-10 Jackson Harper <[email protected]>
  4052. * MdiClient.cs: Active form is only sent to the back when using
  4053. the Next form functionality, when a form is clicked the current
  4054. active shouldn't be sent to the back.
  4055. - Layout the mdi windows when the container is first made visible.
  4056. * Form.cs: Give the MdiClient a ref to the containing form when we
  4057. create it.
  4058. 2006-05-10 Atsushi Enomoto <[email protected]>
  4059. * LinkLabel.cs : link_font could be uninitialized, so populate one
  4060. before actual use. Fixed bug #78340.
  4061. 2006-05-10 Atsushi Enomoto <[email protected]>
  4062. * XplatUIX11.cs : clipboard format native value is IntPtr.
  4063. Fixed bug #78283.
  4064. 2006-05-10 Peter Dennis Bartok <[email protected]>
  4065. * Control.cs:
  4066. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  4067. which is passed up the parent chain by DefWndProc
  4068. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  4069. to DefWndProc (#77956)
  4070. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  4071. 2006-05-10 Jackson Harper <[email protected]>
  4072. * MdiClient.cs: We need to remove the controls from the mdi
  4073. collection, when we close the window.
  4074. * MdiWindowManager.cs: Special handling of closing mdi windows.
  4075. * InternalWindowManager.cs: Make the close method virtual so the
  4076. mdi window manager can handle it specially.
  4077. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  4078. * DataGrid.cs:
  4079. - Recalculate grid when the data source has changed
  4080. - Matches styles provided by user from all data sources types
  4081. * DataGridTableStyle.cs: For columns that provided by the user set the
  4082. with the preferred value is there was unassigned.
  4083. * CurrencyManager.cs: throw OnItemChanged event
  4084. 2006-05-10 Peter Dennis Bartok <[email protected]>
  4085. * PictureBox.cs: Don't animate until handle is created. Start animation
  4086. when handle is created.
  4087. 2006-05-10 Peter Dennis Bartok <[email protected]>
  4088. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  4089. current codebase.
  4090. * XEventQueue.cs: We don't need to provide the extra info
  4091. 2006-05-10 Jackson Harper <[email protected]>
  4092. * MdiClient.cs: If the mdi clients parent form has a background
  4093. image set, we draw that background image for the mdi area's
  4094. background.
  4095. 2006-05-10 Peter Dennis Bartok <[email protected]>
  4096. * TextBoxBase.cs: Set IBeam cursor (#78347)
  4097. 2006-05-10 Mike Kestner <[email protected]>
  4098. * ToolBar.cs: fix some text padding issues with ButtonSize
  4099. calculation. Update the default size to match MS documentation.
  4100. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  4101. button size. Fixes #78296.
  4102. 2006-05-10 Mike Kestner <[email protected]>
  4103. * ListBox.cs: use is_visible for scrollbar positioning in case the
  4104. control isn't on screen yet. Fix off by one with Right vs Width
  4105. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  4106. 2006-05-10 Jackson Harper <[email protected]>
  4107. * X11Dnd.cs: Drop to a control with another control on top of it.
  4108. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  4109. be modified in click handlers. TODO: Look for similar problems in
  4110. other controls.
  4111. 2006-05-09 Jackson Harper <[email protected]>
  4112. * Form.cs: Window managers need the old window state when setting
  4113. window state now.
  4114. * InternalWindowManager.cs: Allow the base mdi window manager to
  4115. handle more of the MDI only stuff (like maximize buttons).
  4116. * MdiWindowManager.cs: Fix some snafus in changing the window
  4117. state. Add all the menu functionality, for both popup and
  4118. maximized menus.
  4119. * MdiClient.cs: When a new form is selected the currently
  4120. activated form is sent to the back, this matches MS.
  4121. - Implement a new method to activate the next mdi child window.
  4122. 2006-05-08 Peter Dennis Bartok <[email protected]>
  4123. * Control.cs:
  4124. - Added new InternalCapture method to allow controls to prevent
  4125. the capture behaviour on the click handlers
  4126. - Switched to use InternalCapture
  4127. * ComboBox.cs:
  4128. - Using InternalCapture to prevent mouse captures from being released
  4129. on mouse button release (Fixes #78100)
  4130. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  4131. returns Form borders if a caption is present. (Fixes #78310)
  4132. 2006-05-08 Peter Dennis Bartok <[email protected]>
  4133. * TreeNode.cs: Changed serialization .ctor to not require every field
  4134. to be present. (#78265)
  4135. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  4136. 2006-05-05 Alexander Olk <[email protected]>
  4137. * MimeIcon.cs: for is faster than foreach for strings.
  4138. 2006-05-05 Mike Kestner <[email protected]>
  4139. * CheckedListBox.cs: update check handling code to not use selected.
  4140. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  4141. behavior for visual feedback, motion response, shift/ctrl handling,
  4142. and properly deal with all 4 selection modes. Updates to bounds
  4143. handling logic. Add scroll wheel support. [Fixes #77842]
  4144. 2006-05-05 Peter Dennis Bartok <[email protected]>
  4145. * ListView.cs:
  4146. - Moved adding of Implicit controls into .ctor. That way, subsequent
  4147. creation of the controls will not cause them to think they are
  4148. toplevel windows (fixes #78200 header problem)
  4149. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  4150. - Switched visibility setting of header control to use internal field
  4151. to avoid triggering handle creation
  4152. - Now checking if handle is created before causing a refresh when items
  4153. are added (This makes us now match handle creation time with MS)
  4154. * Splitter.cs: Removed loading of private splitter cursor, switched to
  4155. Cursors version now that that is loading the right ones
  4156. * Cursors.cs: Load proper splitter cursors from resources
  4157. * Cursor.cs: Added second method of loading resource cursors for the
  4158. VS.Net users amongst us
  4159. 2006-05-05 Mike Kestner <[email protected]>
  4160. * ListView.cs: give header_control a minimum size based on the
  4161. ListView size.
  4162. 2006-05-05 Peter Dennis Bartok <[email protected]>
  4163. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  4164. window seems to do that with metacity, so set that type. (#78120)
  4165. 2006-05-05 Mike Kestner <[email protected]>
  4166. * ListViewItem.cs: fix Details mode checkbox layout bug.
  4167. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  4168. at the end of the header, if it exists. [Fixes for #78200]
  4169. 2006-05-04 Jackson Harper <[email protected]>
  4170. * MdiClient.cs: Add a helper property to get the container form.
  4171. * MdiWindowManager.cs: We have to make sure to use the menu origin
  4172. when drawing the icons and buttons, this fixes maximized window
  4173. icons/buttons on win32.
  4174. * InternalWindowManager.cs: Reset the restore captions when a
  4175. window goes from Maximized to Minimized and vice versa. Move the
  4176. DrawMaximizedButtons into the MdiWindowManager source, tool
  4177. windows can't be maximized. NOTE: This could use a little
  4178. refactoring if time ever permits.
  4179. 2006-05-03 Jonathan Chambers <[email protected]>
  4180. * TextBox.cs: Add MWFCategoryAttributes
  4181. * TextBoxBase.cs: Add MWFCategoryAttributes
  4182. * Form.cs: Add MWFCategoryAttributes
  4183. 2006-05-03 Jonathan Chambers <[email protected]>
  4184. * Control.cs: Add MWFCategoryAttributes
  4185. * ScrollableControl.cs: Add MWFCategoryAttributes
  4186. 2006-05-03 Alexander Olk <[email protected]>
  4187. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  4188. Divider is true. Fix a little glitch in PropertyToolBar
  4189. drawing code
  4190. 2006-05-02 Peter Dennis Bartok <[email protected]>
  4191. * Control.cs:
  4192. - Dispose: Call base.Dispose, this causes the disposed event
  4193. to be fired (and probably other, more important stuff)
  4194. - SetVisibleCore: Set is_visible to true after creating the
  4195. window so that the window still gets created invisible (if
  4196. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  4197. to generate a WM_ACTIVE message
  4198. * Form.cs: Call Dispose when we want to destroy the window, instead of
  4199. just destroying the handle (Dispose will do that for us)
  4200. * XplatUIX11.cs:
  4201. - RootWindow also needs a queue, so we can properly process the
  4202. property change events from RootWindow (like Activate)
  4203. - Generatic synthetic WM_ACTIVE message when the active window is
  4204. being destroyed
  4205. 2006-05-01 Peter Dennis Bartok <[email protected]>
  4206. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  4207. bounds are changed
  4208. 2006-05-01 Peter Dennis Bartok <[email protected]>
  4209. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  4210. for determining width and height (image might not be assigned if
  4211. we're drawing an imagelist)
  4212. 2006-05-01 Peter Dennis Bartok <[email protected]>
  4213. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  4214. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  4215. height from system
  4216. * Theme.cs: No longer returns hardcoded menu height, instead calls
  4217. new driver method
  4218. * Form.cs (OnLoad): Scaling happens before triggering Load events
  4219. on MS (# 78257)
  4220. 2006-05-01 Mike Kestner <[email protected]>
  4221. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  4222. 2006-04-30 Peter Dennis Bartok <[email protected]>
  4223. * TextBoxBase.cs: Removed Fixme
  4224. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  4225. 2006-04-30 Peter Dennis Bartok <[email protected]>
  4226. * XplatUIX11.cs:
  4227. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  4228. the rectangle relative to the parent, considering borders. We
  4229. don't really want that.
  4230. - ScrollWindow: Fixed warning to be more understandable
  4231. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  4232. scrollbars and scroll only the visible area
  4233. * RichTextBox.cs: Removed debug output
  4234. 2006-04-29 Peter Dennis Bartok <[email protected]>
  4235. * NumericUpDown.cs (Text): Just use base
  4236. * UpDownBase.cs: Ensure txtView is created before using it
  4237. 2006-04-29 Peter Dennis Bartok <[email protected]>
  4238. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  4239. casting to IntPtr to avoid 64bit overflow errors
  4240. 2006-04-29 Peter Dennis Bartok <[email protected]>
  4241. * Control.cs:
  4242. - AllowDrop: Don't force handle creation.
  4243. - CreateHandle: Added call to tell driver if we're allowed to drop
  4244. 2006-04-27 Alexander Olk <[email protected]>
  4245. * FileDialog.cs: Remember the last directory not only for the
  4246. current instance but also for new FileDialog instances.
  4247. 2006-04-29 Peter Dennis Bartok <[email protected]>
  4248. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  4249. broke sending async messages
  4250. 2006-04-29 Peter Dennis Bartok <[email protected]>
  4251. * XplatUIX11.cs:
  4252. - ScrollWindow: Fixed method. We finally generate expose events again
  4253. for scrolled areas. This was causing 'garbage' when scrolling
  4254. textbox and other controls that used ScrollWindow
  4255. - Switched from using the regular queue for paint events to the MS
  4256. model of 'generating' paint events when the queue is empty.
  4257. We use the new XQueueEvent.Paint subclass to store which windows
  4258. need painting.
  4259. - AddExpose now takes the x/y/width/height of the exposed area
  4260. and inserts the window into the paint queue if not already there
  4261. - InvalidateWholeWindow: Switched to use new AddExpose method
  4262. - UpdateMessageQueue: Added which queue to monitor for paint events
  4263. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  4264. the unlikely case nothing above handles it. We reset the expose
  4265. pending states to get them off the queue.
  4266. - GetMessage: Now pulls a paint event if no other events are in the
  4267. queue
  4268. - Invalidate: Switched to new AddExpose method
  4269. - PeekMessage: Updated to understand pending paint events
  4270. - UpdateWindow: Fixed logic bug. We were only updating if the window
  4271. didn't need updating. Also switched to sending WM_PAINT directly,
  4272. like MS does.
  4273. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  4274. and random access Remove(). The random access is needed to handle
  4275. UpdateWindow() where a WM_PAINT is sent directly without accessing
  4276. the queue.
  4277. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  4278. allow for better feedback when scrolling. Scrollbars are small and
  4279. the immediate update should make it 'feel' more responsive without
  4280. slowing things down. ScrollBar still needs it's invaliate logic
  4281. updated to not always invalidate the whole bar on certain changes.
  4282. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  4283. * Control.cs:
  4284. (BackColor): if the control does not support a transparent background,
  4285. return the default backcolor when the parent backcolor is transparent.
  4286. 2006-04-28 Peter Dennis Bartok <[email protected]>
  4287. * Application.cs: Updated to new StartLoop/GetMessage API
  4288. * RichTextBox.cs: Provide some output on RTF parsing errors
  4289. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  4290. new queue_id argument to GetMessage and PeekMessage to allow faster
  4291. handling of per-thread queues in drivers.
  4292. * Hwnd.cs: Added Queue tracking and property
  4293. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  4294. * XEventQueue.cs: Added thread trackingA
  4295. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  4296. * XplatUIX11.cs:
  4297. - Implemented new per-thread queue
  4298. - GetMessage: Fixed return/break behaviour on several cases. We were
  4299. returning stale messages in some cases, instead of just processing
  4300. the next message
  4301. 2006-04-27 Jonathan Chambers <[email protected]>
  4302. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  4303. 2006-04-27 Peter Dennis Bartok <[email protected]>
  4304. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  4305. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  4306. 2006-04-27 Jonathan Chambers <[email protected]>
  4307. * PropertyGridView.cs: Fix drop down width.
  4308. 2006-04-27 Alexander Olk <[email protected]>
  4309. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  4310. a mess in DrawToolBar, so I removed one of them.
  4311. 2006-04-27 Alexander Olk <[email protected]>
  4312. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  4313. needed (clip). Otherwise we get artifacts.
  4314. 2006-04-26 Peter Dennis Bartok <[email protected]>
  4315. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  4316. dimension is fixed
  4317. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  4318. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  4319. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  4320. if it matches the scale base font (avoids unneeded scaling)
  4321. 2006-04-26 Alexander Olk <[email protected]>
  4322. * X11DesktopColors.cs: One gtk_init_check should be enough
  4323. 2006-04-26 Peter Dennis Bartok <[email protected]>
  4324. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  4325. match MS behaviour
  4326. 2006-04-26 Peter Dennis Bartok <[email protected]>
  4327. * TextBoxBase.cs:
  4328. - Generate OnTextChanged for Backspace even if we're only deleting
  4329. the current selection
  4330. - When setting the Text property, only select all text if the
  4331. control does not have focus when it is being set. Otherwise
  4332. just place the cursor at the beginning of the control
  4333. 2006-04-26 Alexander Olk <[email protected]>
  4334. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  4335. Added a little helper to draw PropertyGrid ToolBar with a different
  4336. border and a different BackColor.
  4337. * PropertyGrid.cs: Some background parts didn't get painted with the
  4338. correct background color. Added a class that helps us to draw the
  4339. correct border for PropertyGridView and a class that helps us to
  4340. draw ToolBars with a different backcolor
  4341. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  4342. 2006-04-25 Jonathan Chambers <[email protected]>
  4343. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  4344. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  4345. 2006-04-25 Peter Dennis Bartok <[email protected]>
  4346. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  4347. into the palette entries. Also, since we're working on a copy
  4348. we needed to copy the palette back onto the bitmap.
  4349. * Cursor.cs: Same fix as XplatUIWin32.cs.
  4350. 2006-04-25 Peter Dennis Bartok <[email protected]>
  4351. * ImageListStreamer.cs: Need to read the var (or we're off)
  4352. 2006-04-25 Peter Dennis Bartok <[email protected]>
  4353. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  4354. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  4355. TextBoxBase.cs: Unused var fixes
  4356. * AxHost.cs: Small 2.0 fix
  4357. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  4358. as it seems that is what at least Metacity expects. This will make
  4359. icons show up on 64bit platforms. We still have some 64bit size
  4360. issues, though, since the startup app window size still won't match.
  4361. 2006-04-25 Mike Kestner <[email protected]>
  4362. * *.cs: cleanup newly reported exception var unused warnings.
  4363. 2006-04-25 Alexander Olk <[email protected]>
  4364. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  4365. ms
  4366. 2006-04-25 Alexander Olk <[email protected]>
  4367. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  4368. image. The image position is always the same, no matter if the
  4369. button is pressed or not.
  4370. 2006-04-25 Alexander Olk <[email protected]>
  4371. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  4372. selection and set the correct filename for SaveFileDialog.
  4373. Patch by Emery Conrad.
  4374. 2006-04-24 Mike Kestner <[email protected]>
  4375. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  4376. check for item.X outside the ClientRect instead of item.Y. Fixes
  4377. #78151.
  4378. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  4379. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  4380. trust that value blindly and do some sanity check. Fixes bug #77814.
  4381. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  4382. * ImageListStreamer.cs: save the mask as a 1bpp image.
  4383. 2006-04-21 Mike Kestner <[email protected]>
  4384. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  4385. pass Checked and Indeterminate to the Theme Engine. Improve
  4386. encapsulation with ListBox.
  4387. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  4388. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  4389. nested types. Move all CheckState functionality to CheckedListBox.
  4390. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  4391. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  4392. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  4393. single base list. Fix scrollbar sizing and placement to mirror MS.
  4394. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  4395. used.
  4396. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  4397. for CheckedListBox by using new DrawItemState info. Center the
  4398. checkboxes on the items. Use new StringFormat property.
  4399. 2006-04-18 Jackson Harper <[email protected]>
  4400. * Form.cs: MdiChildren don't do default locations the same way as
  4401. regular forms. This prevents a crash when trying to position the
  4402. mdi windows.
  4403. 2006-04-17 Jonathan Chambers <[email protected]>
  4404. * PropertyGridTextBox.cs: Formatting, copyright
  4405. * PropertiesTab.cs: Formatting
  4406. * PropertyGrid.cs: Formatting
  4407. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  4408. click toggling of values
  4409. 2006-04-17 Peter Dennis Bartok <[email protected]>
  4410. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  4411. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  4412. every time a control is created
  4413. * Application.cs: Removed obsolete EnableRTLMirroring method
  4414. 2006-04-18 Gert Driesen <[email protected]>
  4415. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  4416. SelectedIndex to -1. Fixes bug #78121.
  4417. 2006-04-17 Jackson Harper <[email protected]>
  4418. * Binding.cs: Handle null values for Current and BindingContext.
  4419. This occurs when binding is a little delayed.
  4420. * CurrencyManager.cs: return null for Current when there are no
  4421. items in the list.
  4422. - Hookup to the listchanged event on the DataView and update
  4423. bindings when the list is changed. This fixes late binding of
  4424. controls.
  4425. 2006-04-17 Jackson Harper <[email protected]>
  4426. * X11Dnd.cs:
  4427. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  4428. Ringenbach.
  4429. 2006-04-15 Alexander Olk <[email protected]>
  4430. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  4431. place
  4432. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  4433. with the correct ButtonState
  4434. 2006-04-14 Peter Dennis Bartok <[email protected]>
  4435. * XplatUIX11.cs: Improved distinguishing between window types to
  4436. tell the WM a type closer to what the app wants (Fixes #78107)
  4437. 2006-04-14 Alexander Olk <[email protected]>
  4438. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  4439. GrabHandle
  4440. 2006-04-14 Alexander Olk <[email protected]>
  4441. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  4442. drawing code to reflect the size grip changes
  4443. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  4444. * ImageListStreamer.cs: fix handling of the mask that follows the main
  4445. bitmap when deserializing and serialize it properly. The generated mask
  4446. should better be a 1bpp image, but I'll do that later.
  4447. 2006-04-13 Alexander Olk <[email protected]>
  4448. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  4449. path doesn't fit into some of our Current.Places
  4450. 2006-04-13 Jackson Harper <[email protected]>
  4451. * ComboBox.cs: Use borders instead of drawing our own decorations,
  4452. try to obey correct rules for heights.
  4453. * Theme.cs:
  4454. * ThemeNice.cs:
  4455. * ThemeClearLooks.cs:
  4456. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  4457. this is now handled by borders.
  4458. - Remove unused DrawListBoxDecorationSize method.
  4459. 2006-04-13 Mike Kestner <[email protected]>
  4460. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  4461. reported by Alex.
  4462. 2006-04-13 Alexander Olk <[email protected]>
  4463. * ThemeWin32Classic.cs:
  4464. - Fixed CPDrawStringDisabled
  4465. - Corrected drawing of disabled menu items
  4466. - Fixed drawing of disabled radio buttons (bug #78095)
  4467. - Draw check in a disabled CheckBox with color ControlDark
  4468. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4469. * Form.cs: Use the provided width when calculating the menu size;
  4470. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  4471. and ClientSize.Width won't be updated yet
  4472. * Application.cs: Use Visible instead of Show() to make form visible,
  4473. this way we create the handle later and menusize is considered
  4474. 2006-04-12 Mike Kestner <[email protected]>
  4475. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  4476. reporting.
  4477. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4478. * TextBox.cs: Implemented context menu
  4479. 2006-04-12 Mike Kestner <[email protected]>
  4480. * ListView.cs: implement box selection. fixes #77838.
  4481. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  4482. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4483. * XplatUIX11.cs: Added setting of window type when transient window
  4484. is created (metacity would move it otherwise)
  4485. * X11Structs.cs: Added WINDOW_TYPE atoms
  4486. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  4487. background (the control is Opaque but still wants transparent
  4488. backgrounds)
  4489. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4490. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  4491. that set Opaque but don't mean it (like all ButtonBase-derived
  4492. controls) to still draw their background
  4493. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  4494. the background
  4495. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4496. * Control.cs (PaintControlBackground): Set the graphics object
  4497. on our PaintEvent to null to prevent it from being disposed
  4498. when the PaintEvent gets disposed
  4499. 2006-04-12 Alexander Olk <[email protected]>
  4500. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  4501. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  4502. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4503. * Control.cs:
  4504. - Added transparency check to BackColor property. Transparent
  4505. backgrounds are only allowed if the control styles permit it
  4506. - Added recursive painting of parent control background and
  4507. foreground if a control with a transparent backcolor is drawn
  4508. (Thanks to Tim Ringenback for providing his 'hack' as a base
  4509. for this patch) Fixes #77985 and #78026.
  4510. - Added Opaque style check before calling OnPaintBackground, no
  4511. need to draw the background if the control is opaque
  4512. - Removed ControlAccessibleObject owner variable (inherited from
  4513. base, no need to define again)
  4514. - Added some documentation links explaining the drawing events
  4515. and styles
  4516. 2006-04-11 Peter Dennis Bartok <[email protected]>
  4517. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  4518. that the affected control is the located at the left border of our
  4519. parent (Fixes #77936)
  4520. 2006-04-11 Peter Dennis Bartok <[email protected]>
  4521. * TextBoxBase.cs: When rendering disabled or readonly controls,
  4522. draw the background with 'Control' instead of 'Window' color as
  4523. long as the user hasn't specifically set a color
  4524. 2006-04-11 Peter Dennis Bartok <[email protected]>
  4525. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  4526. since that won't be updated if the user types text (only if it's
  4527. programatically set)
  4528. 2006-04-11 Peter Dennis Bartok <[email protected]>
  4529. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  4530. layout changes do to app-triggered resizes will have the proper
  4531. display rectangle for layout
  4532. 2006-04-11 Alexander Olk <[email protected]>
  4533. * ThemeWin32Classic.cs:
  4534. - Make use of the SystemBrushes and SystemPens wherever possible
  4535. - Corrected some highlight colors
  4536. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  4537. drawing
  4538. * Theme.cs: Added Empty field to CPColor struct
  4539. 2006-04-11 Peter Dennis Bartok <[email protected]>
  4540. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  4541. is displayed when calculating the display rectangle. Thanks to Mike
  4542. for teaching me the err of my ways.
  4543. 2006-04-10 Peter Dennis Bartok <[email protected]>
  4544. * ScrollableControl.cs:
  4545. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  4546. (instead of 0,0) and we now return the real width/height instead of
  4547. just the clientrectangle, adjusted for padding. The rectangle is
  4548. now cached and created by the new CalculateDisplayRectangle method.
  4549. - Created new CalculateDisplayRectange method, which basically does
  4550. what get_DisplayRectangle() did originally, but now using the
  4551. right edge instead of DisplayRectangle to determine the size of
  4552. our scrollbars
  4553. - get_Canvas(): Fixed it to properly calculate canvas for
  4554. right/bottom controls which seem to be placed to the right/bottom
  4555. of any controls that have a fixed location
  4556. - Removed TODO that's taken care of
  4557. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  4558. and SetDisplayRectLocation according to new MSDN2 docs
  4559. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  4560. event when that is called, this is added for compatibility
  4561. - ScrollControlIntoView(): Implemented.
  4562. - Switched scrollbars to be implicit, they shouldn't be selectable
  4563. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  4564. call it when the active control is set/changed
  4565. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  4566. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  4567. implicit_control variable (used for native Win32 message generation)
  4568. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  4569. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  4570. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  4571. * XplatUIStructs.cs: Added ScrollBarCommands enum
  4572. 2006-04-10 Jackson Harper <[email protected]>
  4573. * ButtonBase.cs:
  4574. * CheckedListBox.cs:
  4575. * ComboBox.cs:
  4576. * DataGrid.cs:
  4577. * DataGridView.cs:
  4578. * Form.cs:
  4579. * GroupBox.cs:
  4580. * ListBox.cs:
  4581. * PrintPreviewControl.cs:
  4582. * ProgressBar.cs:
  4583. * PropertyGrid.cs:
  4584. * Splitter.cs:
  4585. * StatusBar.cs:
  4586. * TrackBar.cs:
  4587. * UpDownBase.cs: Fixup base event overrides.
  4588. 2006-04-06 Mike Kestner <[email protected]>
  4589. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  4590. all user-initiated value changes to min <= value <= max-thumbsz+1.
  4591. (set_Value): check for vert/horiz when calculating new thumb position.
  4592. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  4593. like MS does.
  4594. (OnMouseMoveSB): refactor the thumb dragging code and refine
  4595. invalidation logic to reduce flicker.
  4596. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  4597. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  4598. (UpdateThumbPosition): small code readability cleanup
  4599. 2006-04-10 Alexander Olk <[email protected]>
  4600. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  4601. different
  4602. 2006-04-08 Alexander Olk <[email protected]>
  4603. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  4604. 2006-04-08 Alexander Olk <[email protected]>
  4605. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  4606. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  4607. This dramatically reduces the number of Pen.Dispose calls.
  4608. Where possible call ResPool methods only once instead of calling it
  4609. over and over again (for example for the same color).
  4610. 2006-04-06 Mike Kestner <[email protected]>
  4611. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  4612. Also remove an unused private field on the collection. Fixes #77972.
  4613. 2006-04-06 Alexander Olk <[email protected]>
  4614. * ThemeNice.cs: Added ToolBar drawing code
  4615. 2006-04-06 Mike Kestner <[email protected]>
  4616. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  4617. I'm assuming that means we need to look up the toplevel for the
  4618. provided control. Fixes the crash trace in #77911 but exposes another
  4619. crash in some strange reflection usage in NDocGui.
  4620. 2006-04-06 Alexander Olk <[email protected]>
  4621. * ThemeNice.cs: Gave it a little silver touch and added Images
  4622. method
  4623. * FontDialog.cs: FontDialog is not resizable
  4624. * FileDialg.cs: Added SizeGripStyle.Show
  4625. 2006-04-05 Jackson Harper <[email protected]>
  4626. * KeyboardLayouts.cs: Remove warning.
  4627. 2006-04-05 Jackson Harper <[email protected]>
  4628. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  4629. all of our controls instead of Paint +=.
  4630. * ListBox.cs:
  4631. * ListView.cs:
  4632. * MenuAPI.cs:
  4633. * MessageBox.cs:
  4634. * NotifyIcon.cs:
  4635. * ProgressBar.cs:
  4636. * ScrollBar.cs:
  4637. * Splitter.cs:
  4638. * StatusBar.cs:
  4639. * TabControl.cs:
  4640. * TextBoxBase.cs:
  4641. * ToolBar.cs:
  4642. * TrackBar.cs:
  4643. * UpDownBase.cs:
  4644. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  4645. use OnPaintInternal. Remove Width/Height and Visible checks in
  4646. paint handler, this is done at a higher level now.
  4647. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  4648. * PaintEventArgs.cs: Add a handled flag so controls that don't
  4649. want anymore painting after OnPaintInternal can make sure OnPaint
  4650. isn't called.
  4651. 2006-04-05 Mike Kestner <[email protected]>
  4652. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  4653. state of the form, so that we don't process events when Modal dialogs
  4654. are up. Fixes #77922.
  4655. 2006-04-05 Alexander Olk <[email protected]>
  4656. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  4657. checking is done.
  4658. 2006-04-05 Mike Kestner <[email protected]>
  4659. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  4660. 2006-04-05 Mike Kestner <[email protected]>
  4661. * ListView.cs (HeaderMouseMove): null guarding for the over column
  4662. when setting up the drag_to_index. Fixes #78015.
  4663. 2006-04-04 Peter Dennis Bartok <[email protected]>
  4664. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  4665. in the taskbar. Transient windows seem to accomplish that.
  4666. 2006-04-04 Peter Dennis Bartok <[email protected]>
  4667. * Form.cs:
  4668. - Re-enabled CreateParams.X/Y code for FormStartPosition
  4669. - Added code for manual placement when creating the Control
  4670. - Incomplete patch to treat MDI forms differently when
  4671. setting the ClientSizeCore. (Still need to figure out handling
  4672. x/y coords there)
  4673. * XplatUIX11.cs:
  4674. - When we're explicitly setting the X/Y position of a non-Child
  4675. window, let the WM know. Metacity really wants this.
  4676. 2006-04-04 Alexander Olk <[email protected]>
  4677. * ThemeNice.cs: Added CPDrawButton
  4678. 2006-04-04 Alexander Olk <[email protected]>
  4679. * ThemeNice.cs: Changed the color for focused buttons and activated
  4680. the arrows for small scroll buttons.
  4681. 2006-04-04 Alexander Olk <[email protected]>
  4682. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  4683. anymore. Changed some method modifiers to protected (virtual)
  4684. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  4685. changes
  4686. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  4687. Updated drawing of menus, buttons and progressbars; added
  4688. CPDrawBorder3D
  4689. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  4690. * ImageListStreamer.cs: implemented serialization/deserialization
  4691. of the images.
  4692. 2006-04-03 Alexander Olk <[email protected]>
  4693. * ThemeWin32Classic.cs:
  4694. - Removed all the DrawFrameControl stuff; CPDrawButton,
  4695. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  4696. inside the methods
  4697. - Updated and corrected the drawing code of CPDrawButton,
  4698. CPDrawCheckBox and CPDrawRadioButton to better match ms
  4699. - Updated theme checkbox and radiobutton code to use the CP*
  4700. methods
  4701. 2006-03-31 Peter Dennis Bartok <[email protected]>
  4702. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  4703. bug is fixed
  4704. 2006-03-31 Jackson Harper <[email protected]>
  4705. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  4706. sometimes.
  4707. * UpDownBase.cs: Don't CreateGraphics manually, use a
  4708. Refresh. Ideally we would invalidate the correct areas here.
  4709. 2006-03-31 Peter Dennis Bartok <[email protected]>
  4710. * XplatUIX11.cs:
  4711. - We now track the mapping state of windows. If a window (or
  4712. one of it's parents) is not mapped we no longer permit
  4713. WM_PAINT messages to be generated since we'd otherwise get
  4714. lots of BadMatch X errors. Jackson did all the work figuring
  4715. out the problem.
  4716. - Destroying the caret if the window it's contained in is
  4717. destroyed. Can't use regular DestroyCaret method since it
  4718. might fall into a drawing function (trying to remove the
  4719. caret) and with that generate new BadMatch errors. Again,
  4720. Jackson tracked this down.
  4721. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  4722. make sure we send the messages to all windows. (The old code
  4723. would send the WM_DESTROY to the window, and then all child
  4724. windows would be 'gone' because the WM_DESTROY handle lookup
  4725. would no longer find the destroyed window)
  4726. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  4727. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  4728. 2006-03-31 Jackson Harper <[email protected]>
  4729. * ScrollableControl.cs: Dont recalc if we are not visible.
  4730. 2006-03-31 Mike Kestner <[email protected]>
  4731. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  4732. the visibility branch.
  4733. 2006-03-31 Jackson Harper <[email protected]>
  4734. * ScrollBar.cs: Cap values when incrementing/decrementing.
  4735. 2006-03-31 Mike Kestner <[email protected]>
  4736. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  4737. * ToolTip.cs: guard against timer expirations with no active control.
  4738. Not sure why it happened.
  4739. 2006-03-31 Mike Kestner <[email protected]>
  4740. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  4741. text.
  4742. * ToolTip.cs: Position the tooltip based on where the cursor is at
  4743. popup time, not at MouseEnter time. Add a Down state so that we don't
  4744. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  4745. positioning offset. Lookup DisplaySize at positioning time, since it
  4746. can theoretically change during invocation.
  4747. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  4748. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  4749. 2006-03-31 Alexander Olk <[email protected]>
  4750. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  4751. Fixes behaviour when the Text property of the box is String.Empty
  4752. 2006-03-31 Peter Dennis Bartok <[email protected]>
  4753. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  4754. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  4755. a window)
  4756. 2006-03-31 Alexander Olk <[email protected]>
  4757. * FileDialog.cs: Visual enhancement for the popup buttons in
  4758. PopupButtonPanel
  4759. 2006-03-31 Alexander Olk <[email protected]>
  4760. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  4761. code
  4762. 2006-03-30 Alexander Olk <[email protected]>
  4763. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  4764. highlighted menu items to match ms
  4765. 2006-03-30 Peter Dennis Bartok <[email protected]>
  4766. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  4767. 2006-03-30 Mike Kestner <[email protected]>
  4768. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  4769. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  4770. go active to account for HotLight to Selected transition.
  4771. * MenuItem.cs: add internal Selected prop. Fill out the Status
  4772. property by calculating it from item info. Add HotLight,
  4773. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  4774. 2006-03-30 Mike Kestner <[email protected]>
  4775. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  4776. 2006-03-29 Jackson Harper <[email protected]>
  4777. * Form.cs: Implement TODO.
  4778. 2006-03-29 Peter Dennis Bartok <[email protected]>
  4779. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  4780. missing proper dialog setup in the constructor
  4781. 2006-03-29 Peter Dennis Bartok <[email protected]>
  4782. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  4783. * Control.cs:
  4784. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  4785. - Fixed ResetBindings and removed TODO
  4786. - Added check for cross-thread calls to get_Handle()
  4787. - Added Marshaller attribute for set_Font to satisfy class status
  4788. * FontDialog.cs: Removed TODOs that seemed implemented
  4789. * UpDownBase.cs: Removed unneeded TODO and Fixme
  4790. * MessageBox.cs: Implemented support for Default button and removed TODO
  4791. * FileDialog.cs: Removed obsolete TODO
  4792. * DomainUpDown.cs: Removed obsolete TODO
  4793. * ButtonBase.cs: Removed obsolete TODO
  4794. * XplatUIWin32.cs: Removed obsolete TODO
  4795. * Form.cs:
  4796. - Removed obsolete TODO
  4797. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  4798. internal status updates
  4799. - Making sure the active control is selected when the control is created
  4800. * CurrencyManager.cs: Removed obsolete TODO
  4801. 2006-03-29 Mike Kestner <[email protected]>
  4802. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  4803. of PrintPreviewDialog and RichTextBox.
  4804. 2006-03-29 Alexander Olk <[email protected]>
  4805. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  4806. DarkDark, Light and LightLight colors for a specific color
  4807. * ThemeWin32Classic.cs:
  4808. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  4809. Appearance = Button
  4810. - Make use of the new ResPool helper CPColor
  4811. - Draw ProgressBar and StatusBar with correct 3D borders
  4812. 2006-03-29 Alexander Olk <[email protected]>
  4813. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  4814. 2006-03-28 Mike Kestner <[email protected]>
  4815. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  4816. calculating col/row counts.
  4817. 2006-03-28 Mike Kestner <[email protected]>
  4818. * ColumnHeader.cs:
  4819. * ListView.cs:
  4820. * ListViewItem.cs:
  4821. * Menu.cs:
  4822. switch to explicit interface method implementation for some methods
  4823. corcompare identifies as inconsistent with MS.
  4824. 2006-03-28 Mike Kestner <[email protected]>
  4825. * MainMenu.cs:
  4826. * Menu.cs:
  4827. add a few missing methods from the class status output.
  4828. 2006-03-28 Alexander Olk <[email protected]>
  4829. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  4830. correct.
  4831. 2006-03-28 Mike Kestner <[email protected]>
  4832. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  4833. 2006-03-27 Mike Kestner <[email protected]>
  4834. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  4835. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  4836. 2006-03-27 Alexander Olk <[email protected]>
  4837. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  4838. 2006-03-25 Alexander Olk <[email protected]>
  4839. * ThemeWin32Classic.cs:
  4840. - GroupBox: Inserted a little gap between the text and the lines
  4841. on the right side
  4842. - Made the code in CPDrawBorder3D more readable
  4843. - Corrected the drawing location of the up and down arrows in
  4844. CPDrawScrollButton
  4845. 2006-03-25 Alexander Olk <[email protected]>
  4846. * ControlPaint.cs: Corrected line widths in DrawBorder for
  4847. ButtonBorderStyle Inset and Outset
  4848. 2006-03-25 Alexander Olk <[email protected]>
  4849. * ThemeWin32Classic.cs:
  4850. - Rewrote the totally broken CPDrawBorder3D method. That was
  4851. one of the main problems for the terrific ThemeWin32Classic
  4852. look
  4853. - Updated and corrected Button drawing
  4854. - Correct the dimensions of the SizeGrip to match ms ones
  4855. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  4856. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  4857. Border3DStyle.Sunken to match ms.
  4858. 2006-03-25 Alexander Olk <[email protected]>
  4859. * ThemeWin32Classic.cs: First small part of the "de-uglify
  4860. ThemeWin32Classic" effort, SizeGrip
  4861. 2006-03-24 Jackson Harper <[email protected]>
  4862. * XplatUIX11.cs: Give a max idle time of one second, this matches
  4863. MS and forces an Idle event every second when there are no other
  4864. events in the queue.
  4865. 2006-03-24 Mike Kestner <[email protected]>
  4866. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  4867. * ListView.Item.cs: fix layout issues with null image lists and images
  4868. smaller than checkbox size.
  4869. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  4870. mode like MS does. It's weird, but consistent. ;-)
  4871. Fixes #77890.
  4872. 2006-03-24 Mike Kestner <[email protected]>
  4873. * ListView.cs: Scroll wheel support for the item control. Fixes
  4874. #77839.
  4875. 2006-03-23 Jackson Harper <[email protected]>
  4876. * ScrollableControl.cs: Special case negative sized areas, not
  4877. zero.
  4878. * MonthCalendar.cs: Save the rect of the clicked date so we can
  4879. use it for invalidation.
  4880. - Try to cut down on the number of invalidates
  4881. - Invalidate the rect the mouse is over and was over when moving
  4882. the mouse, so we get the focus box following the cursor.
  4883. 2006-03-23 Mike Kestner <[email protected]>
  4884. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  4885. focus rectangle drawing. Fixes #77835.
  4886. 2006-03-23 Mike Kestner <[email protected]>
  4887. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  4888. the if and else if and reverting back to the original == check on the
  4889. None conditional.
  4890. 2006-03-23 Alexander Olk <[email protected]>
  4891. * FontDialog.cs: Update the example panel if the selected index of
  4892. the fontListBox changes.
  4893. 2006-03-23 Alexander Olk <[email protected]>
  4894. * FileDialog.cs: Make FileDialog remember which directory it was in
  4895. last in the same execution.
  4896. 2006-03-22 Mike Kestner <[email protected]>
  4897. * FileDialog.cs: make the DropDownMenu on the toolbar display
  4898. RadioChecks since they are mutually exclusive and that's what MS does.
  4899. 2006-03-22 Mike Kestner <[email protected]>
  4900. * Theme.cs: add Color param to CPDrawMenuGlyph.
  4901. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  4902. checks and radio marks and arrows are visible on highlighted items.
  4903. * ControlPaint.cs: update to use new Theme signature.
  4904. 2006-03-22 Mike Kestner <[email protected]>
  4905. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  4906. is active. Fixes #77870.
  4907. 2006-03-22 Alexander Olk <[email protected]>
  4908. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  4909. to be focused/selected after startup
  4910. 2006-03-22 Alexander Olk <[email protected]>
  4911. * ColorDialog.cs:
  4912. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  4913. CustomColors and ShowHelp properties
  4914. - Some internal rewrites to get better results when using the
  4915. ColorMatrix
  4916. 2006-03-22 Mike Kestner <[email protected]>
  4917. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  4918. HoverSelection. Fixes #77836.
  4919. 2006-03-22 Mike Kestner <[email protected]>
  4920. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  4921. ToggleButtons. (De)Sensitize the Back button around a stack count of
  4922. 1, not 0. Update ButtonSize based on a pixel count of the win32
  4923. control. Adjust the toolbar size/location for new button size.
  4924. 2006-03-22 Jackson Harper <[email protected]>
  4925. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  4926. true.
  4927. * ScrollBar.cs: When doing increments and decrements we need to
  4928. set the Value property so that ValueChanged gets raised. A
  4929. possible optimization here would be to make an internal SetValue
  4930. that doesn't invalidate immediately.
  4931. * ToolTip.cs: Tooltips get added to their container (when
  4932. supplied) so they get disposed when the container is disposed.
  4933. - Don't create tooltips for String.Empty. This prevents all these
  4934. little 2-3 pixel windows from showing up when running nunit-gui
  4935. and driving me mad.
  4936. * Form.cs: Don't set topmost when setting the owner if the handles
  4937. haven't been created yet. The topmost set will happen when the
  4938. handles are created.
  4939. 2006-03-22 Peter Dennis Bartok <[email protected]>
  4940. * XplatUIX11.cs:
  4941. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  4942. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  4943. visible (to allow them to recalculate their sizes)
  4944. 2006-03-21 Mike Kestner <[email protected]>
  4945. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  4946. methods. Removed a ton of redundant code. Still not really happy with
  4947. the border rendering, but I think that's mainly because of the
  4948. ControlDarkDark being black instead of a dark grey. Depending on how
  4949. close we want to be, we might want to revisit those color choices.
  4950. Among the new features added during the refactor were DropDownArrow
  4951. pressed rendering, Disabled image rendering. Proper flat appearance
  4952. boundary rendering. Removed the Divider and Wrapping dividers since I
  4953. can't figure out any combination of themes and conditions to make the
  4954. MS control draw a horizontal line on a toolbar despite what the
  4955. Divider property docs indicate.
  4956. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  4957. conditions and incorrect layout. Updated to coding standard.
  4958. * ToolBarButton.cs: refactored layout and positioning code from
  4959. ToolBar to here. Invalidate wherever possible instead of forcing
  4960. redraws of the whole toolbar.
  4961. (Known remaining issues: explicit ButtonSize smaller than provided
  4962. images.)
  4963. 2006-03-21 Mike Kestner <[email protected]>
  4964. * ContextMenu.cs (Show): use the position parameter instead of just
  4965. showing at the MousePosition.
  4966. 2006-03-21 Jackson Harper <[email protected]>
  4967. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  4968. control handle this.
  4969. * TreeNodeCollection.cs: If we are clearing the root node we need
  4970. to reset top_node so calcs can still happen.
  4971. * ThemeWin32Classic.cs: This is a Flags so we need to check
  4972. properly.
  4973. 2006-03-21 Jackson Harper <[email protected]>
  4974. * DataGrid.cs: Create columns when the binding context has been
  4975. changed.
  4976. * X11Structs.cs: Keysyms are uints.
  4977. - Add size to fix build.
  4978. 2006-03-21 Peter Dennis Bartok <[email protected]>
  4979. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  4980. XplatUIOSX.cs:
  4981. - Added ResetMouseHover method to allow controls to retrigger
  4982. hovering if they need it more than once
  4983. - Implemented MouseHoverTime and MouseHoverSize properties
  4984. * Timer.cs: Start() must reset the interval
  4985. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  4986. properties
  4987. 2006-03-21 Jackson Harper <[email protected]>
  4988. * X11Keyboard.cs: improved layout detection. Move the nonchar
  4989. tables into this file.
  4990. * KeyboardLayouts.cs: Move the tables into resource files.
  4991. 2006-03-21 Mike Kestner <[email protected]>
  4992. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  4993. 2006-03-21 Alexander Olk <[email protected]>
  4994. * Mime.cs: Various speed optimizations. Looking up mime types
  4995. is now 2 times faster than before
  4996. 2006-03-17 Peter Dennis Bartok <[email protected]>
  4997. * CreateParams.cs: Added internal menu field
  4998. * Control.cs:
  4999. - Switched call order for UpdateBounds; now we always call
  5000. the one that also takes ClientSize, and we're calculating the
  5001. client size via driver method in the others. The previous
  5002. method of tracking client size by difference wasn't working
  5003. for forms where even the starting client size wouldn't match
  5004. the overall form size (due to borders) (Part of fix for #77729)
  5005. - CreateParams(): Do not use parent.Handle unless the handle is
  5006. already created. Causes havoc with Nexxia and throws off our
  5007. creation of controls
  5008. * XplatUIX11.cs:
  5009. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  5010. - Switched handling of ConfigureNotify over to new PerformNCCalc
  5011. method (consolidates code)
  5012. - Changed RequestNCRecalc to use new PerformNCCalc method
  5013. - Added calls to RequestNCRecalc when menus and borders are changed
  5014. to allow app to set NC size. (Part of fix for #77729) This matches
  5015. when MS send a WM_NCRECALC on Win32 windows.
  5016. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  5017. (Part of fix for #77729). This matches what MS does, they also
  5018. send that message when the form is made visible.
  5019. - XException.GetMessage: Improved usability of X errors by including
  5020. a translation of the window into Hwnd and Control class
  5021. - Improved debug info for window creation, reparenting and destruction
  5022. - Created helper method WindowIsMapped() [Currently not used]
  5023. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  5024. * Form.cs:
  5025. - CreateParams: Now setting our menu on the new internal menu field
  5026. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  5027. avoid calculating the same property twice
  5028. * Hwnd.cs:
  5029. - Improved usability of ToString() for debugging purposes
  5030. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  5031. determine the height of the menu, instead of just the font. This
  5032. required to also create a graphics context and to keep a bmp
  5033. around (for performance reasons)
  5034. 2006-03-17 Peter Dennis Bartok <[email protected]>
  5035. * MenuAPI.cs: Added OnMouseUp method
  5036. * Form.cs:
  5037. - Now remembering the requested client size, avoids size errors
  5038. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  5039. instead of base if the menu is active. This is required due to
  5040. control now capturing and releasing on down/up and it would
  5041. prematurely release our menu capture
  5042. 2006-03-17 Jackson Harper <[email protected]>
  5043. * KeyboardLayouts.cs: Add the czech layouts.
  5044. 2006-03-16 Jackson Harper <[email protected]>
  5045. * Control.cs: Use the viewport space when sizing not the controls
  5046. client size, so things like ScrollableControl that effect the
  5047. viewport size (when scrollbars are added) are computed correctly.
  5048. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  5049. of ManagerEntrys.
  5050. - Handle creating BindingManagers for null data sources.
  5051. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  5052. source, otherwise when rows are added they are added to the 'fake'
  5053. datasource and we will crash when trying to set the position in
  5054. those rows.
  5055. - Use Implicit scrollbars on the datagrid so they arent
  5056. selectable.
  5057. 2006-03-16 Jackson Harper <[email protected]>
  5058. * Binding.cs:
  5059. * InternalWindowManager.cs:
  5060. * MdiWindowManager.cs:
  5061. * X11Keyboard.cs: I really want Mike to love me again (fix
  5062. compiler warnings).
  5063. 2006-03-16 Peter Dennis Bartok <[email protected]>
  5064. * DataGrid.cs:
  5065. - OnMouseDown: Switch to editing mode when clicking on the cell
  5066. even if we're clicking on the cell that's currently
  5067. selected
  5068. - ProcessGridKey: Left/Right now wrap like MS.Net does
  5069. - ProcessGridKey: Tab now knows to add a new row when tab is
  5070. pressed in the cell of the last column of the
  5071. last row
  5072. - ProcessGridKey: Enter now adds another row if pressed in the last
  5073. row and selectes the new row, same column cell
  5074. - ProcessGridKey: Home/End navigate columns, not rows, like
  5075. originally implemented
  5076. - Broke ProcessKeyPreview code out into an extra Internal method
  5077. so it can be called from the edit code
  5078. * DataGridTextBox.cs (ProcessKeyMessage):
  5079. - Switched to accept Tab keypresses
  5080. - Added F2 handling to allow jumping to the end of the edited cell
  5081. - Added logic to allow moving caret left/right inside edited cell
  5082. and making the edited cell jump when the caret hits cell borders
  5083. - Tab and Enter are now passed to the datagrid after being handled
  5084. * TextBoxBase.cs:
  5085. - Removed capture code now that Control handles it
  5086. - set_SelectionStart now ensures caret is visible
  5087. 2006-03-16 Jackson Harper <[email protected]>
  5088. * TrackBar.cs: Debackwards the increment/decrement for handling
  5089. mouse clicks on the bar with vertical trackbars.
  5090. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  5091. bottom to match MS.
  5092. 2006-03-16 Mike Kestner <[email protected]>
  5093. * ListView.cs: make shift/ctrl keyboard and mouse selection
  5094. consistent with the MS control. Fix a bug in
  5095. SelectedListViewItemCollection.Clear that was pissing me off for the
  5096. better part of a day because the collection was being altered
  5097. underneath us as we walked the list.
  5098. 2006-03-16 Peter Dennis Bartok <[email protected]>
  5099. * Control.cs: Not sure how we could miss this so long, but it seems
  5100. that MS.Net has Capture set all the way from before calling
  5101. OnMouseDown through sending the mouse events until after
  5102. OnMouseUp. This will fix DataGrid's selection being set to end
  5103. at the location of the MouseUp.
  5104. 2006-03-15 Jackson Harper <[email protected]>
  5105. * BindingContext.cs: Check the binding after its added so that it
  5106. can initialize the binding managers and hookup to events.
  5107. * Binding.cs: Data members seem to sometimes include rows/cols in
  5108. the format Row.Column we now take this into account.
  5109. - Hookup to the position changed event so we can update the
  5110. control when the position has changed in the data set.
  5111. * CurrencyManager.cs: Take into account the row/col naming
  5112. convention when creating dataset tables.
  5113. * BindingContext.cs: Using a newer better way of storing
  5114. datasource/datamember pairs. Hopefully this better matches MS for
  5115. looking up binding managers.
  5116. 2006-03-15 Jackson Harper <[email protected]>
  5117. * BindingContext.cs: The currency manager needs the data member
  5118. name, if the member is a data set we use the name to find the
  5119. correct table.
  5120. * CurrencyManager.cs: When creating the list prefer an IList over
  5121. an IListSource.
  5122. - Attempt to create a DataTable from a DataSet (TODO: might need
  5123. some better error checking here, although MS doesn't seem to have much)
  5124. - If we have a DataTable create a view and use it as our list.
  5125. 2006-03-15 Mike Kestner <[email protected]>
  5126. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  5127. keyboard navigation. Support Up/Down/Left/Right selection correctly
  5128. for all 4 View modes.
  5129. * ListViewItem.cs: add internal row/col fields for icon layouts.
  5130. 2006-03-15 Jackson Harper <[email protected]>
  5131. * TabControl.cs: Redraw the tabs when we resize so their newly
  5132. calculated sizes are drawn on screen.
  5133. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  5134. composite characters.
  5135. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  5136. - filter events so that composite characters can be created
  5137. patches by peter
  5138. * X11Structs.cs: Add XIMProperties enum.
  5139. 2006-03-14 Peter Dennis Bartok <[email protected]>
  5140. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  5141. unless it's created
  5142. 2006-03-14 Peter Dennis Bartok <[email protected]>
  5143. * Control.cs (PerformLayout): We don't need to consider visiblity
  5144. for anchoring, only for docking. This fixes 'whacky' alignment
  5145. in listbox and other controls that use implicit scrollbars after
  5146. the previous PerformLayout patch
  5147. * ListBox.cs: Switched to use implicit scrollbars
  5148. 2006-03-14 Mike Kestner <[email protected]>
  5149. * ToolBar.cs:
  5150. * VScrollBar.cs:
  5151. - chain up the "new event" overrides to base and use
  5152. OnEvent to raise them. Part of fix for bug #76509.
  5153. 2006-03-14 Alexander Olk <[email protected]>
  5154. * FileDialog.cs: Do not select an item in the parent directory
  5155. on backspace
  5156. 2006-03-14 Peter Dennis Bartok <[email protected]>
  5157. * Control.cs (PerformLayout): It would seem that we considered
  5158. invisible windows for our layout. Not quite the right thing
  5159. to do. Now we don't any longer, thereby fixing bug #76889.
  5160. 2006-03-14 Peter Dennis Bartok <[email protected]>
  5161. * Control.cs (CanFocus): I goofed. A control can have focus
  5162. even though it's not selectable. Made it match MS docs.
  5163. 2006-03-13 Peter Dennis Bartok <[email protected]>
  5164. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  5165. center by default (fixes #76895)
  5166. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  5167. all uses of Border3DSides.All with the explicit ORd together
  5168. Left|Right|Top|Bottom because I assume that nobody was aware
  5169. that All also implies a center fill. Most places I checked had
  5170. a fill right above.
  5171. * ProgressBarStyle.cs: Added
  5172. 2006-03-13 Mike Kestner <[email protected]>
  5173. * ListView.cs: fix breakage in drag shadow header positioning
  5174. from Peter's csc compilation fix.
  5175. 2006-03-13 Mike Kestner <[email protected]>
  5176. * ListView.cs: fix NRE produced by backspacing twice in a focused
  5177. FileDialog.
  5178. 2006-03-13 Mike Kestner <[email protected]>
  5179. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  5180. 2006-03-13 Peter Dennis Bartok <[email protected]>
  5181. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  5182. be changed
  5183. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  5184. the allowed size before making programmatic size changes
  5185. 2006-03-13 Peter Dennis Bartok <[email protected]>
  5186. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  5187. set, metacity is broken and will still use the emty sizes in
  5188. the struct. (Fix for #77089)
  5189. 2006-03-13 Peter Dennis Bartok <[email protected]>
  5190. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  5191. WindowExStyles and marked both enums as Flags
  5192. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  5193. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  5194. to match WindowStyles split
  5195. * XplatUIX11.cs:
  5196. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  5197. - Updated to match WindowStyles split
  5198. * XplatUIWin32.cs:
  5199. - Fixed FosterParent creation, was using ExStyle on the Style field
  5200. (This should help with Popup focus issues)
  5201. - Updated to match WindowStyles split
  5202. 2006-03-13 Jackson Harper <[email protected]>
  5203. * MdiWindowManager.cs: Use the system menu height. Fixes some
  5204. strange sizing issues.
  5205. 2006-03-12 Peter Dennis Bartok <[email protected]>
  5206. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  5207. * TextBoxBase.cs:
  5208. - Scroll to caret after inserting text (#77672)
  5209. - Make scroll range one pixel higher, fixes off-by-one error (and
  5210. makes underlines visible on the last line)
  5211. 2006-03-12 Peter Dennis Bartok <[email protected]>
  5212. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  5213. the keyboard state from being stuck with keys in 'pressed' state when
  5214. focus is switched away via keyboard
  5215. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  5216. reset the keyboard if no X11 KeyUp events are expected to come
  5217. * X11Structs.cs: Switched type of Visible to bool to match driver
  5218. 2006-03-12 Peter Dennis Bartok <[email protected]>
  5219. * TextControl.cs:
  5220. - Switched caret to be just 1 pixel wide, matches MS and looks less
  5221. clunky
  5222. - Moved caret display 1 pixel down from the top of the control
  5223. to improve view
  5224. - InsertCharAtCharet: Update the selection start if moving the caret
  5225. (fixes bug #77696; based on patch suggested by [email protected])
  5226. - No longer always creating the caret when the caret methods are
  5227. called. Only the actual ShowCaret/HideCaret will do that now
  5228. - Only setting caret visible if the owner control has focus
  5229. - UpdateView: Added invalidation-shortcut logic for center and right
  5230. aligned text. Previously we'd update all according to the left
  5231. logic which caused drawing errors. Also fixed height of invalidated
  5232. areas, now properly invalidating the whole area (was off-by-one)
  5233. - owner_HandleCreated: Always generate the document when the
  5234. handle is created; this ensures that
  5235. * TextBoxBase.cs:
  5236. - Fixed situation where caret would disappear under the right
  5237. window border, also improved scrolling behaviour on left-
  5238. aligned textboxes
  5239. - Fixed right-aligned textboxes to have a border to the
  5240. right instead of the caret being under the right border
  5241. * XplatUIX11.cs:
  5242. - Switched from 'nested' to simple visible/not visible tracking
  5243. for caret (part of fix for #77671)
  5244. - No longer passing through translated FocusIn/FocusOut messages
  5245. since we were notifying too often and the wrong windows. Instead
  5246. we just notify our focussed window of receiving or loosing focus
  5247. * XplatUIWin32.cs: Switched from 'nested' show/hide
  5248. counting for caret to simple visible yes/no behaviour (part of
  5249. fix for #77671)
  5250. 2006-03-11 Alexander Olk <[email protected]>
  5251. * Mime.cs: Remove debug code...
  5252. 2006-03-11 Alexander Olk <[email protected]>
  5253. * MimeGenerated.cs: Removed
  5254. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  5255. and subclasses) from /usr/(local/)share/mime and
  5256. $HOME/.local/share/mime.
  5257. 2006-03-10 Jackson Harper <[email protected]>
  5258. * MdiWindowManager.cs: Recalc the NC area when a window is
  5259. maximized/restored so that the menu area is drawn on forms that
  5260. don't have a menu.
  5261. 2006-03-10 Peter Dennis Bartok <[email protected]>
  5262. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  5263. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  5264. us to force a WM_NCCALCRESIZE message being sent. This is needed
  5265. for MDI maximizing.
  5266. 2006-03-10 Jackson Harper <[email protected]>
  5267. * Form.cs: We need to use the ActiveMenu when calculating menu
  5268. height.
  5269. - Fix nullref when the window manager hasn't been created yet.
  5270. * Control.cs: Fix nullref when we try to bring a control to the
  5271. front that has no parent.
  5272. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  5273. height.
  5274. - Add a dummy item to the maximized menu so it always has the
  5275. correct height. Otherwise when there are no menus we don't get our
  5276. icon and buttons.
  5277. 2006-03-10 Jackson Harper <[email protected]>
  5278. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  5279. stuff.
  5280. * Form.cs: Make the window_state internal so the window managers
  5281. can track it.
  5282. - When an MDI child is maximized let its window manager create the
  5283. main menu (so it can add its icon).
  5284. - Notify the window managers of state changes
  5285. - Let the window manager paint its buttons and handle button
  5286. clicks on the menu when it is maximized.
  5287. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  5288. window manager, since tool windows don't use it, only mdi windows.
  5289. - Tell the main form that we don't want it to handle NCPAINT
  5290. itself to avoid extra painting.
  5291. - Handle clicks on a maximized windows menu.
  5292. - Handle window state changes
  5293. - Handle minimize/maximize clicks correctly by setting the window state.
  5294. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  5295. when clicking on the forms icon).
  5296. - New method to create a forms maximized menu. This is its normal
  5297. menu + an icon.
  5298. - Handle window state changes.
  5299. - Handle sizing of maximized windows. Maximized windows are just
  5300. drawn bigger then the parent visible area. All controls are still
  5301. there, they are just outside the visible area (this matches windows).
  5302. * MdiClient.cs: No scrollbars when a child window is maximized.
  5303. - Let the children windows figure out how big they should be when
  5304. sizing maximized windows.
  5305. - Implement a version of ArrangeIconicWindows somewhat similar to
  5306. Windows version. There are some little differences, but I don't
  5307. think any app will rely on the layout of minimized mdi windows.
  5308. 2006-03-10 Peter Dennis Bartok <[email protected]>
  5309. * Padding.cs: Several fixes to allow compiling with csc 2.0
  5310. 2006-03-09 Jackson Harper <[email protected]>
  5311. * Menu.cs:
  5312. * MenuItem.cs: Cheap hack so we can add items to the list without
  5313. the events being raised. This allows adding mdi items during
  5314. drawing. TODO: Should probably find a better time to add the items.
  5315. 2006-03-10 Peter Dennis Bartok <[email protected]>
  5316. * ThemeWin32Classic.cs:
  5317. - CheckBox_DrawText: Added logic to not wrap if not enough space
  5318. is available (Fix for bug #77727)
  5319. - RadioButton_DrawText: Added logic not to wrap if not enough
  5320. space is available (Fix for bug #77727). Also removed some
  5321. duplicate code, DrawString always drawing the regular text
  5322. before hitting the if statement.
  5323. 2006-03-10 Peter Dennis Bartok <[email protected]>
  5324. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  5325. 2006-03-10 Peter Dennis Bartok <[email protected]>
  5326. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  5327. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  5328. methods. Moved the new 2.0 properties into alphabetical order with
  5329. other properties and added MonoTODO tags
  5330. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5331. * AutoScaleMode.cs: Added. Fix build.
  5332. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5333. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  5334. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  5335. and was requiring premature handle creation for calls from above
  5336. * Form.cs, Control.cs: Removed handle arguments from calls to
  5337. CalculateClientRect()
  5338. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5339. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  5340. drag_column.column_rect is MarshalByRef and can't be used that way
  5341. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5342. * AxHost.cs: Added deserialization constructor for
  5343. AxHost+State (fixes 77743)
  5344. 2006-03-09 Mike Kestner <[email protected]>
  5345. * ListView.cs:
  5346. - Added column drag reordering for details view.
  5347. - fixed behavior when mouse is dragged off column and
  5348. AllowColumnReorder is false.
  5349. * ColumnHeader.cs: clone the format too in Clone.
  5350. * Theme.cs: add DrawListViewHeaderDragDetails method.
  5351. * ThemeWin32Classic.cs:
  5352. - impl new method for drawing drag column shadows and targets.
  5353. - support column offset for details mode in DrawListViewItem.
  5354. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5355. * TextControl.cs: Reset the char_count when the document is cleared
  5356. (Fixes bug reported on mono-winforms mailing list)
  5357. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5358. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  5359. of calling base we simply process the key ourselves, since both
  5360. DefWindowProc and the handled method would set m.Result.
  5361. (Fixes #77732)
  5362. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5363. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  5364. method also moves the window; instead implemented a copy of
  5365. Control.ScaleCore (Part of fix for #77456)
  5366. * TextBoxBase.cs:
  5367. - Created new CreateGraphicsInternal method to allow providing
  5368. a graphics context when no handle is created without triggering
  5369. handle creation. (Part of fix for #77456)
  5370. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  5371. * TextControl.cs:
  5372. - Switched Constructor to require TextBoxBase instead of Control (to
  5373. allow uncast access to CreateGraphicsInternal)
  5374. - Safeguarded use of owner.Handle property. No longer accessing it
  5375. unless the handle is already created.
  5376. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  5377. - Now triggering a recalc when owning control becomes visible
  5378. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  5379. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  5380. premature handle creation (Part of fix for #77456)
  5381. * Control.cs:
  5382. - We now only destroy our double-buffering buffers when the
  5383. control is resized or disposed, but not when visibility
  5384. changes. (The code even re-created them twice every time)
  5385. - Now requiring a redraw of the buffer on visibility changes
  5386. (fixes bug 77654 part 2)
  5387. - Not passing OnParentVisibleChanged up unless the control
  5388. is visible
  5389. - CanFocus: Fixed to match MS documentation
  5390. - Focus: Fixed to return actual focus state and to check if
  5391. setting focus is legal before setting it
  5392. 2006-03-08 Peter Dennis Bartok <[email protected]>
  5393. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  5394. when to draw focus rectangle by looking at parent focus and
  5395. selected state instead. This fixes TabPages on Linux sometimes
  5396. having none or multiple focus rectangles.
  5397. * XplatUIX11.cs (SetFocus):
  5398. - Don't set the focus if the same window already has focus
  5399. - Use SendMessage instead of PostMessage (like it's Win32
  5400. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  5401. to match MS behaviour
  5402. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  5403. are not selectable.
  5404. 2006-03-07 Jackson Harper <[email protected]>
  5405. * PictureBox.cs: Revert line I accidently committed last week.
  5406. 2006-03-07 Peter Dennis Bartok <[email protected]>
  5407. * Control.cs:
  5408. - Added new IsRecreating and ParentIsRecreating properties to
  5409. allow testing if RecreateHandle has been called on ourselves
  5410. or one of our parents
  5411. - WndProc(WM_DESTROY): If our control handle is being recreated
  5412. we immediately need to create the handle when receiving the
  5413. destroy, that way our child windows find a valid parent handle
  5414. when they themselves are being recreated upon WM_DESTROY receipt
  5415. (fix for bug #77654 part 1)
  5416. * XplatUIX11.cs:
  5417. - DestroyWindow: WM_DESTROY must be sent to our own window before
  5418. notifying any child windows. MS documents that child windows
  5419. are still valid when WM_DESTROY is received. (Control now relies on
  5420. this behaviour)
  5421. - Added some fine-grain debug options
  5422. 2006-03-06 Jackson Harper <[email protected]>
  5423. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  5424. box and base calculations off this.
  5425. * MdiChildContext.cs:
  5426. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  5427. anymore.
  5428. 2006-03-06 Peter Dennis Bartok <[email protected]>
  5429. * Splitter.cs: In situations where the affected control is added
  5430. to the parent's control list after the splitter, we would not
  5431. populate affected. Now we try populating it on mousedown, if
  5432. it's not already set, and force it to be re-set whenever our
  5433. parent changes.
  5434. 2006-03-03 Matt Hargett <[email protected]>
  5435. * Control.cs: implement Control.Padding
  5436. * Padding.cs: -Padding.All returns -1 when constructing with the
  5437. implicit default ctor
  5438. -Padding.ToString() matches MS.NET
  5439. * ContainerControl.cs: implement
  5440. ContainerControl.AutoScaleDimensions
  5441. * ListControl.cs: implement ListControl.FormattingEnabled
  5442. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  5443. * ButtonBase.cs:
  5444. * TabPage.cs: Implement UseVisualStyleBackColor.
  5445. * PictureBox.cs: Implement PictureBox.InitialImage.
  5446. 2006-03-03 Mike Kestner <[email protected]>
  5447. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  5448. event declarations to proxy to base event.
  5449. * ListViewItem.cs: update to use ItemControl.
  5450. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  5451. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  5452. column header label rendering for 0 width columns.
  5453. 2006-03-03 Peter Dennis Bartok <[email protected]>
  5454. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  5455. that causes the control to be created. Fixes #77476.
  5456. 2006-03-02 Jackson Harper <[email protected]>
  5457. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  5458. expose_pending.
  5459. 2006-03-02 Peter Dennis Bartok <[email protected]>
  5460. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  5461. passed in for the EventArgs (fixes #77690)
  5462. 2006-03-01 Jackson Harper <[email protected]>
  5463. * ScrollBar.cs: Refresh afterbeing resized.
  5464. 2006-02-28 Mike Kestner <[email protected]>
  5465. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  5466. Clean up a tracker compile warning.
  5467. * MenuItem.cs: add internal PerformPopup method.
  5468. [Fixes #77457]
  5469. 2006-02-28 Peter Dennis Bartok <[email protected]>
  5470. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  5471. implicit expose) when the text is set to null
  5472. 2006-02-28 Peter Dennis Bartok <[email protected]>
  5473. * RichTextBox.cs (FlushText): When newline is true, we always
  5474. need to split the line, even if no text is on it and we may
  5475. never eat newlines. (Fixes #77669)
  5476. 2006-02-28 Mike Kestner <[email protected]>
  5477. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  5478. and set Selected instead.
  5479. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  5480. collections.
  5481. 2006-02-28 Peter Dennis Bartok <[email protected]>
  5482. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  5483. 2006-02-28 Alexander Olk <[email protected]>
  5484. * FontDialog.cs:
  5485. - Got rid of the panel. All controls are now directly added to
  5486. the dialog form
  5487. - It is now possible to set a font with the Font property
  5488. - MinSize and MaxSize property do now what they should
  5489. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  5490. - Searching and selecting a font with the font textbox works now,
  5491. the same applies to the style and size textbox
  5492. - Draw the correct 3D border in the example panel
  5493. - Fixed a little mem leak (unused fonts didn't get disposed)
  5494. - Many other internal updates/rewrites...
  5495. - Fix typo
  5496. 2006-02-27 Peter Dennis Bartok <[email protected]>
  5497. * TextControl.cs:
  5498. - InsertRTFFromStream: Added 'number of characters inserted' argument
  5499. - set_SelectedRTF: Now using the number of characters to calculate
  5500. the new location for the selection and cursor (x/y cannot be used
  5501. due to potentially already wrapped text)
  5502. 2006-02-27 Peter Dennis Bartok <[email protected]>
  5503. * TextControl.cs: Added property and implemented means to allow
  5504. disabling recalculation of a document (can be used to speed up
  5505. multiple inserts and is needed to make RTF inserts predictable, see
  5506. bug #77659)
  5507. * RichTextBox.cs: Using the new NoRecalc property of Document to
  5508. keep x/y insert locations predictable. Also makes it faster inserting
  5509. large chunks of RTF
  5510. 2006-02-27 Peter Dennis Bartok <[email protected]>
  5511. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  5512. it's easier for a child control to handle the other messages without
  5513. having to duplicate the special functionality
  5514. * TextBoxBase.cs
  5515. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  5516. code to handle processing the key ourselves, in order to get
  5517. access to the result of KeyEventArgs.Handled. We now only call
  5518. ProcessKey if they key hasn't been handled already. Fixes #77526.
  5519. - set_Text: If null or empty string is given, just clear the
  5520. document. Fixes part of #77526
  5521. 2006-02-27 Jackson Harper <[email protected]>
  5522. * SizeGrip.cs: Paint the background color before painting the grip
  5523. so things look right.
  5524. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  5525. 2006-02-27 Mike Kestner <[email protected]>
  5526. * ListView.cs:
  5527. - Restructure layout and invalidation model to remove a ton of
  5528. flicker from the control and speed up performance in general.
  5529. - Add manual column resize, flickers like crazy, but I already have
  5530. some ideas on how I'll fix that. (#76822)
  5531. - Merge the three Icon-based views into a single layout method.
  5532. - Move item selection interaction logic from the item since
  5533. interaction with the collections is more appropriate to the view.
  5534. - Deselection on non-item clicks.
  5535. * ListViewItem.cs:
  5536. - Encapsulate most of the layout. Add some internal props to trigger
  5537. layout. Move to a model where Items invalidate themselves instead
  5538. of just invalidating the whole control every time something changes.
  5539. - Invalidate on Text/Caption changes.
  5540. - switch to an offset based layout model to avoid having to absolute
  5541. position every element on item moves.
  5542. - correct checkbox layout to conform to MS layout.
  5543. * ThemeWin32Classic.cs:
  5544. - refactor some column header drawing code.
  5545. - fix string justification for column headers (#76821)
  5546. - make SmallIcon labels top justified for compat with MS impl.
  5547. * ThemeClearlooks.cs:
  5548. - adjust to new ListViewItem internal checkbox bounds api.
  5549. 2006-02-27 Jackson Harper <[email protected]>
  5550. * Control.cs: Change where implicit controls fall in the zorder.
  5551. They are now on top of all children.
  5552. - Synced AddImplicit code with Add
  5553. - Removed unused enumerator.
  5554. * SizeGrip.cs: Remove the TODO as its been TODONE.
  5555. 2006-02-26 Peter Dennis Bartok <[email protected]>
  5556. * TextControl.cs(Insert): Combine the last lines unless the insertion
  5557. string ends with \n\n, otherwise we leave one line too many (Fixes
  5558. something I noticed with the testapp for #77526; the bug itself was
  5559. already fixed in the previous checkin)
  5560. 2006-02-26 Peter Dennis Bartok <[email protected]>
  5561. * RichTextBox.cs:
  5562. - SelectionColor and SelectionFont methods no longer set absolute
  5563. styles. Instead, the keep font or color respectively (This
  5564. resolves a long-standing FIXME in the code)
  5565. - When flushing RTF text, the insert code now considers text trailing
  5566. behind the insertion point (Fixes the bug where when replacing
  5567. the selected text via SelectedRTF the remainder of the line behind
  5568. the selection would stay on the first insertion line)
  5569. * TextBoxBase.cs:
  5570. - AppendText now updates the selection points after inserting text
  5571. - AppendText now ensures that the last tag (sometimes 0-length) of
  5572. the document is used for the style information (Fixes part of
  5573. bug #77220)
  5574. * TextControl.cs:
  5575. - Created new FontDefiniton class to allow describing partial style
  5576. changes
  5577. - StreamLine() now takes a lines argument, to allow it to decide
  5578. whether an encountered zero-length tag is the last in the document
  5579. (which must be kept to not loose the font/color contained in it,
  5580. for later appends)
  5581. - Created Combine() and Split() methods for Marker structs, to
  5582. support marker updates due to reformatted documents (soft line
  5583. wraps)
  5584. - Implemented Document.CaretTag setter
  5585. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  5586. of the last line (Not the cause, but also exposed by bug #77220)
  5587. - Added LineTag argument to InsertString method, to allow callers
  5588. to force a certain tag to be used (required to force use of the
  5589. trailing zero-length tag of a document)
  5590. - Now updating markers in Combine(), to avoid stale tag markers
  5591. - Added some method descriptions to aid maintenance
  5592. - Implemented new FormatText concept, allowing additive/subtractive
  5593. formatting by only specifying the components that are to be
  5594. changed. This was needed for resolving the RTB.SelectedColor/
  5595. RTB.SelectedFont fixmes
  5596. - Added Break() support method to allow breaking up linetags (used
  5597. for partial formatting)
  5598. - Added GenerateTextFormat() method. It is used for partial
  5599. formatting and allows to generate a full font/color from given
  5600. attributes and an existing tag.
  5601. 2006-02-26 Jackson Harper <[email protected]>
  5602. * XplatUIX11.cs: Use the correct caption height.
  5603. - Translate hittest coordinates to screen coords to match MS.
  5604. * XplatUIWin32.cs: When we create MDI windows we need to reset
  5605. some of the style flags, so we get a nice blank window, and can
  5606. draw all the decorations ourselves.
  5607. - Set a clipping rectangle on the non client paint event, the
  5608. window manager drawing code needs one.
  5609. * Form.cs: The window manager needs to know when the window state
  5610. has been updated.
  5611. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  5612. don't need to factor in border and title sizes in these
  5613. methods. TODO: Remove the args and fix the call points.
  5614. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  5615. properly.
  5616. - Let the driver set the cursors.
  5617. - Improve active window handling
  5618. - Correct sizes for title bars and buttons.
  5619. - Match MS drawing better
  5620. * MdiWindowManager.cs: We don't need to handle border style
  5621. updates specially anymore.
  5622. - Check for scrollbars when windows are done moving
  5623. - Handle Active properly.
  5624. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  5625. correctly. I am spewing the exception though, so we don't hide the
  5626. bugs.
  5627. 2006-02-26 Pedro Martinez Julia <[email protected]>
  5628. * DataGridViewRowPostPaintEventArgs.cs,
  5629. DataGridViewCellPaintingEventArgs.cs,
  5630. DataGridViewRowCollection.cs,
  5631. DataGridViewRowPrePaintEventArgs.cs,
  5632. DataGridViewCell.cs: Clear a few warnings and implement a few
  5633. exceptions that should be thrown.
  5634. 2006-02-22 Peter Dennis Bartok <[email protected]>
  5635. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  5636. 'inheriting' our parent's (non-default) cursor. (Part of
  5637. the fix for #77479)
  5638. 2006-02-22 Peter Dennis Bartok <[email protected]>
  5639. * XplatUIX11.cs: Fixed cast to make csc happy
  5640. 2006-02-22 Peter Dennis Bartok <[email protected]>
  5641. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  5642. it's for the client area (part of fix for #77479 and needed
  5643. for MDI window cursor handling)
  5644. * XplatUIX11.cs
  5645. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  5646. the appropriate default cursors and also passing the message
  5647. up the parent chain
  5648. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  5649. for non-client areas
  5650. 2006-02-15 Jackson Harper <[email protected]>
  5651. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  5652. is a real MDI window
  5653. 2006-02-14 Alexander Olk <[email protected]>
  5654. * X11DesktopColors.cs: Instead of checking the desktop session
  5655. string for "KDE" check if it starts with "KDE"
  5656. 2006-02-10 Jackson Harper <[email protected]>
  5657. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  5658. systems).
  5659. 2006-02-10 Alexander Olk <[email protected]>
  5660. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  5661. errors
  5662. * ColorDialog.cs:
  5663. - Got rid of the panel. All controls are now directly added to
  5664. the dialog form
  5665. - Changed to mono coding style
  5666. 2006-02-10 Jackson Harper <[email protected]>
  5667. * InternalWindowManager.cs: We don't need the set visibility to
  5668. false hack anymore now that peter has written beautiful shutdown
  5669. code.
  5670. 2006-02-10 Peter Dennis Bartok <[email protected]>
  5671. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  5672. where already explicitly destroyed
  5673. 2006-02-10 Jackson Harper <[email protected]>
  5674. * MdiClient.cs: Handle the case where windows are too high or to
  5675. the left and we need scrollbars.
  5676. 2006-02-10 Alexander Olk <[email protected]>
  5677. * MimeIcon.cs: Added some icons
  5678. * FileDialog.cs:
  5679. - Fixed bug #77477
  5680. - Got rid of the panel. All controls are now directly added to
  5681. the dialog form
  5682. - Changed to mono coding style
  5683. - On Linux "My Computer" and "My Network" will now show some
  5684. more usefull information. A new class, MasterMount, gathers
  5685. this information from /proc/mount. Updated MWFFileView to make
  5686. use of this information
  5687. - Fixed a bug that caused FileDialog to crash when
  5688. ".recently_used" file had a zero size
  5689. - FilterIndex does now what it should
  5690. - Some Refactoring
  5691. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  5692. FileDialog changes
  5693. 2006-02-09 Jackson Harper <[email protected]>
  5694. * ComboBox.cs: Don't touch if null.
  5695. 2006-02-09 Peter Dennis Bartok <[email protected]>
  5696. * Cursor.cs: 64bit safeness fix
  5697. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  5698. 2006-02-09 Jackson Harper <[email protected]>
  5699. * Form.cs: If a form is made into an MDI form update the styles so
  5700. all the props can get set correctly.
  5701. - Kill the mdi_container when we dont need it anymore.
  5702. * InternalWindowManager.cs: Add missing NOT
  5703. 2006-02-08 Jackson Harper <[email protected]>
  5704. * InternalWindowManager.cs: Respek clipping when drawing MDi
  5705. decorations.
  5706. 2006-02-08 Jackson Harper <[email protected]>
  5707. * Hwnd.cs: Add bits to track non client expose events.
  5708. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  5709. gives us a proper invalid rect and will allow for some nice
  5710. optimizations with NC client drawing
  5711. - MDI windows are children windows, so move their style handling
  5712. into the child window block.
  5713. * InternalWindowManager.cs: Remove a state reset that was
  5714. getting invoked at the wrong time. Fixes managed windows getting
  5715. into a 'stuck' captured state.
  5716. 2006-02-07 Peter Dennis Bartok <[email protected]>
  5717. * TextControl.cs (Document.ctor): Now initializing
  5718. selection_anchor. Fixes #77493
  5719. 2006-02-07 Jackson Harper <[email protected]>
  5720. * TrackBar.cs: The increment/decrements were backwards.
  5721. 2006-02-07 Mike Kestner <[email protected]>
  5722. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  5723. to the instance itself.
  5724. 2006-02-07 Peter Dennis Bartok <[email protected]>
  5725. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  5726. on ulongs and pointers, the size differs between 32bit and 64bit
  5727. systems.
  5728. 2006-02-07 Mike Kestner <[email protected]>
  5729. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  5730. for 64 bit platforms to work around a metacity bug.
  5731. 2006-02-07 Jackson Harper <[email protected]>
  5732. * TrackBar.cs: Process the input keys we need, and hookup to
  5733. KeyDown instead of using WndProc, so we get key messages.
  5734. 2006-02-06 Peter Dennis Bartok <[email protected]>
  5735. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  5736. machine we're on.
  5737. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  5738. we need to translate the XdndVersion atoms array before sending it
  5739. 2006-02-06 Peter Dennis Bartok <[email protected]>
  5740. * XplatUIX11.cs:
  5741. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  5742. number of bits for the property, not the number of bytes. The
  5743. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  5744. but would not crash since it specified 8 bits instead of 4 bits)
  5745. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  5746. defined as XID -> long in the C headers)
  5747. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  5748. references since those are now IntPtr to begin with
  5749. - Switched all Atom.XXX 'int' casts to IntPtr casts
  5750. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  5751. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  5752. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  5753. * X11Structs.cs:
  5754. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  5755. - Changed atom in HoverStruct to be IntPtr
  5756. * X11DnD.cs:
  5757. - Removed local DllImports, switched code to use those from XplatUIX11
  5758. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  5759. 2006-02-06 Mike Kestner <[email protected]>
  5760. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  5761. method signatures in the import region. There may still be some
  5762. lingering struct marshaling issues, as I didn't drill down into those.
  5763. Yet.
  5764. 2006-02-06 Jackson Harper <[email protected]>
  5765. * ComboBox.cs: Dont manually set the top_item, this is computed
  5766. when the scrollbar position is set.
  5767. 2006-02-06 Mike Kestner <[email protected]>
  5768. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  5769. startup crashes on amd64. There's other fixes needed. All pinvoke
  5770. usage of Atom needs to be mapped to IntPtr for example. And there are
  5771. likely other int/long issues to be addressed.
  5772. 2006-02-04 Alexander Olk <[email protected]>
  5773. * FileDialog.cs: One more...
  5774. 2006-02-03 Alexander Olk <[email protected]>
  5775. * FileDialog.cs: Next try
  5776. 2006-02-03 Alexander Olk <[email protected]>
  5777. * FileDialog.cs: First part of fix for #77464
  5778. 2006-02-03 Alexander Olk <[email protected]>
  5779. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  5780. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  5781. AcceptButton border drawing.
  5782. 2006-02-03 Peter Dennis Bartok <[email protected]>
  5783. * Form.cs: Moved positioning of form after auto scaling is applied,
  5784. otherwise it would possibly use wrong form size.
  5785. 2006-02-03 Peter Dennis Bartok <[email protected]>
  5786. * Control.cs (RecreateHandle): No need to re-create any child
  5787. controls, the child windows will get destroyed automatically by
  5788. the windowing system or driver, and re-created when the handle
  5789. is being accessed the first time. Fixes #77456
  5790. * Form.cs: No longer setting the form to closing if the handle is
  5791. being recreated. This seems like the right thing to do, don't
  5792. have a bug or testcase for this, though.
  5793. 2006-02-02 Peter Dennis Bartok <[email protected]>
  5794. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  5795. controls to avoid unwanted side effects
  5796. 2006-02-02 Peter Dennis Bartok <[email protected]>
  5797. * Control.cs:
  5798. - ScaleCore needs to scale the bounds, not the ClientSize of the
  5799. control. Fixes #77416.
  5800. - DefaultSize is 0,0 for control
  5801. * TextBoxBase.cs:
  5802. - DefaultSize is 100, 20
  5803. - SetBoundsCore: Now enforcing the height, no matter if the provided
  5804. height is more or less than the preferred one, as long as AutoSize
  5805. is on
  5806. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  5807. 2006-02-02 Peter Dennis Bartok <[email protected]>
  5808. * Control.cs:
  5809. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  5810. call unless both performLayout is true *and* we have a pending
  5811. layout change
  5812. - ResumeLayout: MS does not completely nest Suspend and Resume,
  5813. they bottom out at 0, fixed our code to match that.
  5814. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  5815. SetBoundsCore, we were updating even when we shouldn't. This fixes
  5816. swf-anchors mis-anchoring when resizing the app fast and lots.
  5817. - UpdateDistances: Now only setting the left and top distance if
  5818. we have a parent and are not suspended, this is based on
  5819. a suggestion by Don Edvaldson in bug #77355.
  5820. - OnVisibleChanged: Fixed logic when to create the control. We may
  5821. not create the control if we have no parent or if it's not visible;
  5822. switched to using Visible property instead of is_visible field
  5823. since the property also considers parent states. This fixes a bug
  5824. when starting Paint.Net
  5825. 2006-02-02 Jackson Harper <[email protected]>
  5826. * Form.cs: If the forms handle hasn't been created yet don't call
  5827. into xplatui to make it top most, just set the topmost flag on the
  5828. form in CreateParams
  5829. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  5830. 2006-02-01 Jackson Harper <[email protected]>
  5831. * ScrollableControl.cs: Refactored the Recalculate method a
  5832. little, this wasn't handling all the variants of bottom and right
  5833. bars needed to be added and added/removed based on their
  5834. counterparts being added/removed (which changes the drawable
  5835. size). Also we special case client widths and heights of 0 and
  5836. don't add the scrollbar for those.
  5837. 2006-02-01 Peter Dennis Bartok <[email protected]>
  5838. * XplatUIX11.cs:
  5839. - Added method to get AbsoluteGeometry(); currently unused, but might
  5840. be used in the future, if we try again to figure out toplevel
  5841. coordinates with some more crappy window managers
  5842. - Added FrameExtents() method to retrieve the WM set decoration size
  5843. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  5844. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  5845. * Hwnd.cs:
  5846. - Added whacky_wm tracking var for metacity
  5847. - Added logic to have default menu height if the actual menu height
  5848. has not yet been calculated (part of fix for #77426)
  5849. * Form.cs: Keep track whether client size has been set and re-set
  5850. it if a menu is added/removed afterwards (Fixes #77426)
  5851. 2006-01-31 Jackson Harper <[email protected]>
  5852. * Control.cs: When a new Site is set on the component attempt to
  5853. pull the AmbientProperties from it.
  5854. 2006-01-31 Peter Dennis Bartok <[email protected]>
  5855. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  5856. in the background of the owning form. Fixes #77332
  5857. 2006-01-31 Alexander Olk <[email protected]>
  5858. * MimeIcon.cs: Fix for #77409
  5859. 2006-01-31 Alexander Olk <[email protected]>
  5860. * XplatUIX11GTK.cs: Initial import
  5861. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  5862. * FixedSizeTextBox: fixes class signature
  5863. 2006-01-30 Jackson Harper <[email protected]>
  5864. * FixedSizeTextBox.cs: New internal class that represents a
  5865. textBox that will not be scaled.
  5866. * TreeView.cs:
  5867. * ComboBox.cs:
  5868. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  5869. standard TextBox.
  5870. 2006-01-30 Peter Dennis Bartok <[email protected]>
  5871. * XplatUIX11.cs: Retrieve default screen number instead of
  5872. assuming 0. Attempted fix for #77318
  5873. 2006-01-30 Peter Dennis Bartok <[email protected]>
  5874. * XplatUIWin32.cs:
  5875. - GetWindowPos: When a window is parented by FosterParent, use
  5876. the desktop instead of FosterParent as the base to get coordinates
  5877. - CreateWindow: Don't make FosterParent the parent window for Popups
  5878. if we don't want a taskbar entry, Popups automatically don't get one
  5879. * Hwnd.cs: Need to call remove to actually remove the key from the
  5880. hash table
  5881. 2006-01-30 Mike Kestner <[email protected]>
  5882. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  5883. 2006-01-30 Jackson Harper <[email protected]>
  5884. * TreeView.cs:
  5885. * TreeNode.cs: Raise events no matter how the treenode is
  5886. checked. Patch by Don Edvalson.
  5887. 2006-01-30 Jackson Harper <[email protected]>
  5888. * TreeNode.cs: Signature fix.
  5889. 2006-01-29 Alexander Olk <[email protected]>
  5890. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  5891. 2006-01-20 Mike Kestner <[email protected]>
  5892. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  5893. event forwarding when menus are active.
  5894. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  5895. Most of the patch is pdb's with a little rework.
  5896. 2006-01-26 Peter Dennis Bartok <[email protected]>
  5897. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  5898. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  5899. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  5900. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  5901. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  5902. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  5903. the PaintWindowDecorations method
  5904. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  5905. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  5906. * MenuAPI.cs: Made tracker window invisible
  5907. * XplatUIWin32.cs:
  5908. - Removed GetMenuDC and ReleaseMenuDC methods
  5909. - Implemented the client=false path for PaintEventStart and
  5910. PaintEventEnd
  5911. 2006-01-26 Peter Dennis Bartok <[email protected]>
  5912. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  5913. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  5914. styles
  5915. * Form.cs:
  5916. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  5917. the style
  5918. - CreateParams: Reworked the styles to match MS look'n'feel,
  5919. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  5920. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  5921. 2006-01-26 Peter Dennis Bartok <[email protected]>
  5922. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  5923. window is not mapped, since otherwise every form that's being
  5924. created is considered minimized, which is wrong.
  5925. * Form.cs: Catching the exception and returning our internal value
  5926. instead
  5927. 2006-01-26 Peter Dennis Bartok <[email protected]>
  5928. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  5929. SetWindowMinMax() to have means to tell the driver about the minimum,
  5930. maximum and maximized state window sizes. (Part of the fix for #76485)
  5931. * Form.cs:
  5932. - Implemented tracking of minimum and maximum window size, now calling
  5933. new SetWindowMinMax() driver method to tell the driver (Part of the
  5934. fix for #76485)
  5935. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  5936. (Completes fix for #76485)
  5937. - Calling new SetWindowMinMax driver method when the handle for a
  5938. form is created, to make sure the driver knows about it even if
  5939. the values have been set before the window was created
  5940. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  5941. to avoid messing up our anchoring calculations (partial fix
  5942. for #77355)
  5943. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  5944. * XplatUIX11.cs:
  5945. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  5946. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  5947. (and presumably other freedesktop.org compliant WMs). Left the
  5948. assumption unmapped=minimized, needed for SetVisible to work.
  5949. - Now setting the window state when creating windows
  5950. - Fixed SetVisible to consider/set the window state when mapping
  5951. a Form. We cannot set the state before it's mapped, and we cannot
  5952. use Form.WindowState once it's mapped (since it would ask the
  5953. driver and get 'normal'. Therefore, we grab the state before
  5954. mapping, map, and then set state.
  5955. - Implmemented SetWindowMinMax method; Metacity does not seem to
  5956. honor the ZoomHints, though.
  5957. * XplatUIWin32.cs:
  5958. - Removed MINMAXINFO (moved to XplatUIStructs)
  5959. - Added SetWindowMinMax stub (on Win32 the only way to set that
  5960. information is in response to the WM_GETMINMAXINFO message, which
  5961. is handled in Form.cs)
  5962. - Added logic to SetVisible to set the proper window state when a
  5963. form is made visible (fixes #75720)
  5964. 2006-01-26 Jackson Harper <[email protected]>
  5965. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  5966. same way we handle them with Invoke.
  5967. 2006-01-25 Peter Dennis Bartok <[email protected]>
  5968. * Form.cs:
  5969. - Added tracking of window state so CreateParams can return
  5970. the appropriate style
  5971. - Moved setting of WS_CAPTION style in CreateParams to allow
  5972. styles without caption
  5973. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  5974. control if the TextBox property is accessed. Fixes #77345
  5975. * Control.cs:
  5976. - get_Created: now uses is_disposed and is_created to determine
  5977. return value (suggested by Jackson)
  5978. - CreateHandle: No longer exits if the handle is being recreated
  5979. - RecreateHandle: If the handle is not yet created call the
  5980. appropriate method to create either control or handle. If the
  5981. control is already created CreateHandle will simply exit instead
  5982. of just creating the handle
  5983. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  5984. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  5985. is called.
  5986. * XplatUIX11.cs:
  5987. - When DestroyWindow is called, instead of waiting for the
  5988. DestroyNotification from X11, we directly post it to the WndProc
  5989. and immediately dispose the hwnd object.
  5990. Same applies to DestroyChildWindows, and this obsoletes the
  5991. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  5992. child windows before our own, to avoid X11 errors.
  5993. - Removed the direct sending of WM_PAINT on UpdateWindow
  5994. * XplatUIWin32.cs:
  5995. - Reworked DoEvents and GetMessage to allow access to internal queue
  5996. even when trying non-blocking access to the queue. Fixes #77335.
  5997. Based on a patch suggestion by Don Edvalson. The new private
  5998. GetMessage can now also be used as a backend for a PeekMessage
  5999. frontend version.
  6000. * XplatUI.cs: Improved debug output for CreateWindow
  6001. 2006-01-25 Jackson Harper <[email protected]>
  6002. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  6003. 2006-01-24 Jackson Harper <[email protected]>
  6004. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  6005. when we have a MaxDropItems lower then the selected index.
  6006. 2006-01-24 Jackson Harper <[email protected]>
  6007. * Control.cs: Don't allow selection of non visible controls, allow
  6008. selection of controls without parents.
  6009. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  6010. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  6011. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  6012. 2006-01-23 Jackson Harper <[email protected]>
  6013. * UpDownBase.cs: Make the textbox handle all the selection and
  6014. tabbing. This fixes tabing to updown controls.
  6015. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  6016. * TextBoxBase.cs: fixes exception thown the object was null
  6017. 2006-01-23 Jackson Harper <[email protected]>
  6018. * ButtonBase.cs: Just use the base CreateParams. They set
  6019. visibility and enabled correctly.
  6020. * ComboBox.cs:
  6021. * TrackBar.cs:
  6022. * MonthCalendar.cs: Lets let the base set as much of the
  6023. createparams as possible so we don't have duplicate code all over
  6024. the place.
  6025. 2006-01-22 Alexander Olk <[email protected]>
  6026. * ThemeGtk.cs: Added TrackBar and some experimental code to
  6027. get double buffering back
  6028. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  6029. * DataGrid.cs: Allows row number set internally higher than the last
  6030. when creating a new row. Restores the editing functionality.
  6031. 2006-01-20 Mike Kestner <[email protected]>
  6032. * MimeIcon.cs: delay Image creation until the icons are accessed
  6033. instead of creating 190 scaled images on GnomeHandler startup.
  6034. 2006-01-19 Peter Dennis Bartok <[email protected]>
  6035. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  6036. first call base before processing the event. Fixes #77279
  6037. 2006-01-19 Peter Dennis Bartok <[email protected]>
  6038. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  6039. that the stride for the GDI bitmap would match the stride of
  6040. a DIB or a Cursor.
  6041. 2006-01-19 Alexander Olk <[email protected]>
  6042. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  6043. 2006-01-19 Jackson Harper <[email protected]>
  6044. * ComboBox.cs: Hookup the text controls keydown event so we get
  6045. those when the text control has the focus.
  6046. 2006-01-18 Peter Dennis Bartok <[email protected]>
  6047. * Label.cs: Now using the base events instead of defining new ones;
  6048. this allows us to just call the base properties without having to
  6049. duplicate all base property logic
  6050. 2006-01-18 Peter Dennis Bartok <[email protected]>
  6051. * Label.cs: A label by default is not a tabstop (Fixes one of our
  6052. failing nunit tests)
  6053. 2006-01-18 Peter Dennis Bartok <[email protected]>
  6054. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  6055. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  6056. 2006-01-18 Peter Dennis Bartok <[email protected]>
  6057. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  6058. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  6059. This fixes #77218
  6060. * XplatUIWin32.cs:
  6061. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  6062. constructor creates images that can't be saved. Part of the fix
  6063. for #76103
  6064. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  6065. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  6066. bug fix for handling window state in forms properly)
  6067. 2006-01-18 Alexander Olk <[email protected]>
  6068. * ThemeGtk.cs: Simplify ScrollBar drawing
  6069. 2006-01-18 Jackson Harper <[email protected]>
  6070. * Splitter.cs: Set the default dock style for the splitter control
  6071. in the constructor.
  6072. 2006-01-18 Alexander Olk <[email protected]>
  6073. * ThemeGtk.cs: Corrected StateType and ShadowType for
  6074. gtk_paint_box
  6075. 2006-01-18 Alexander Olk <[email protected]>
  6076. * Control.cs: Make use of Theme.DoubleBufferingSupported
  6077. * ThemeGtk.cs:
  6078. - Added drawing for flat style buttons
  6079. - Added ScrollBar drawing
  6080. 2006-01-18 Alexander Olk <[email protected]>
  6081. * ThemeClearlooks.cs: Removed some unneeded code.
  6082. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  6083. 2006-01-17 Peter Dennis Bartok <[email protected]>
  6084. * LinkLabel.cs: We need to update the hover drawing when
  6085. leaving the control as well.
  6086. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  6087. * DataGrid.cs: Clicking on non empty areas in the columns
  6088. area was giving an exception
  6089. 2006-01-17 Jackson Harper <[email protected]>
  6090. * ThemeWin32Classic.cs:
  6091. * ListView.cs: Do not draw/clip the headers when the header style
  6092. is None.
  6093. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  6094. * DataGrid.cs: Fixes 77260
  6095. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  6096. * DataGrid.cs: Clicking on a column on a empty grid was giving
  6097. an exception
  6098. 2006-01-17 Peter Dennis Bartok <[email protected]>
  6099. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  6100. or any keypress will crash the grid.
  6101. 2006-01-17 Mike Kestner <[email protected]>
  6102. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  6103. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  6104. invisible/previously-visible items.
  6105. [Fixes #76909]
  6106. 2006-01-17 Alexander Olk <[email protected]>
  6107. * ThemeClearlooks.cs:
  6108. - Added CL_Draw_Button method; now other theme controls that are
  6109. not derived from button or do not have a button can draw buttons
  6110. too
  6111. - Updated ComboBox drawing
  6112. - Beautified RadioButton drawing
  6113. - Corrected drawing of bottom and left tabs
  6114. - Beautified DateTimePicker and MonthCalendar
  6115. - Added CPDrawButton and CPDrawRadioButton
  6116. 2006-01-16 Jackson Harper <[email protected]>
  6117. * ComboBox.cs: Set the initial value of the scrollbar to the
  6118. current index. Reduce the numbers of refreshs and IndexOfs called.
  6119. 2006-01-14 Alexander Olk <[email protected]>
  6120. * FileDialog.cs: When the file listview is focused hitting the
  6121. backspace key moves the fileview to the parent directory
  6122. 2006-01-13 Peter Dennis Bartok <[email protected]>
  6123. * Form.cs:
  6124. - Added RecreateHandle call when changing taskbar visibility to
  6125. trigger reparenting in Win32 driver (Fixes #75719)
  6126. - If a window has minimize or maximize buttons, it cannot have
  6127. a help button
  6128. * XplatUIWin32.cs:
  6129. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  6130. the toplevel form with FosterParent (A toolwindow not on the
  6131. taskbar) (Fixes #75719)
  6132. - Made FosterParent a toolwindow
  6133. 2006-01-13 Alexander Olk <[email protected]>
  6134. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  6135. 2006-01-13 Alexander Olk <[email protected]>
  6136. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  6137. is currently over that control, make sure that tooltip_window.Text
  6138. gets updated
  6139. 2006-01-13 Mike Kestner <[email protected]>
  6140. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  6141. 2006-01-13 Jackson Harper <[email protected]>
  6142. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  6143. value passed. Also redraw the selected node when we recieve
  6144. focus, so tabbing between trees works correctly.
  6145. 2006-01-13 Alexander Olk <[email protected]>
  6146. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  6147. ~/.gconf/%gconf-tree.xml, so use
  6148. .gconf/desktop/gnome/interface/%gconf.xml
  6149. 2006-01-13 Peter Dennis Bartok <[email protected]>
  6150. * TextControl.cs: Draw text in gray if control is disabled
  6151. 2006-01-13 Peter Dennis Bartok <[email protected]>
  6152. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  6153. make sure it's always visible. Fixes #76680.
  6154. 2006-01-13 Peter Dennis Bartok <[email protected]>
  6155. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  6156. 2006-01-13 Jonathan Chambers <[email protected]>
  6157. * PageSetupDialog.cs: Added.
  6158. * PrintDialog.cs: Attributes.
  6159. * PrintPreviewControl.cs: Updates.
  6160. * PrintPreviewDialog.cs: Updates.
  6161. 2006-01-12 Peter Dennis Bartok <[email protected]>
  6162. * Control.cs: Undid my selection check fix, since it's not needed
  6163. * TextBoxBase.cs:
  6164. - Now considering the presence of hscroll/vscroll when sizing
  6165. vscroll/hscroll respectively. Fixed bug #77077
  6166. - Added Left/Up/Down/Right to IsInputKey list to prevent
  6167. ContainerControl from stealing them. This fixes what I broke
  6168. with my last checkin.
  6169. 2006-01-12 Peter Dennis Bartok <[email protected]>
  6170. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  6171. I finally understand how the property can be set without a setter :-)
  6172. 2006-01-12 Peter Dennis Bartok <[email protected]>
  6173. * Application.cs:
  6174. - Switched RunLoop to use static Message.Create to create a
  6175. Message object
  6176. - Added PreProcessMessage call in runloop for keyboard events; this
  6177. is part of the fix for #77219, I overlooked this originally in the
  6178. MSDN doc for PreProcessMessage
  6179. * Control.cs:
  6180. - Removed call to PreProcessMessage from handling of keyboard
  6181. messages; it's supposed to be done in the message pump
  6182. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  6183. per MSDN documentation.
  6184. - IsInputChar: All chars are input chars by default; removed the
  6185. parent calling chain, MS does not document that
  6186. - PreProcessMessage: If IsInputChar is true, we want to return false
  6187. to allow dispatching of the message
  6188. - When selecting the next control, now also check that we're not
  6189. selecting ourselves again and therefore return a false positive.
  6190. * TextBoxBase.cs:
  6191. - Tried to match return values for IsInputKey and ProcessDialogKey
  6192. to what MS returns; moved processing of our special keys outside
  6193. ProcessDialogKey since MS does not seem to return true on those.
  6194. - Moved code that previously was in ProcessDialogKey into new private
  6195. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  6196. - Reworked handling of WM_CHAR to not have to duplicate code from
  6197. Control.cs anymore, instead we simply call down to base.
  6198. 2006-01-12 Jackson Harper <[email protected]>
  6199. * ComboBox.cs: We always need to refresh the text area when
  6200. EndUpdate is called. Fixes the combobox in the file dialog.
  6201. * Control.cs: Don't create the creator_thread until the controls
  6202. handle is created. Also in InvokeRequired we check if the
  6203. creator_thread is null. This gives the effect of InvokeRequired
  6204. returning true if the controls handle is not created yet, and
  6205. matches MS.
  6206. 2006-01-12 Peter Dennis Bartok <[email protected]>
  6207. * XplatUI.cs:
  6208. - Added StartLoop() driver method. This is used to allow drivers to
  6209. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  6210. loop for a particular thread
  6211. - Added EndLoop() driver method. This is called once the message
  6212. pump for the thread is shut down
  6213. - Added SupportsTransparency method to allow the driver to indicate
  6214. opacity support for windows
  6215. * Form.cs:
  6216. - Removed TODO attribute, completed AllowTransparency property
  6217. - Added documented logic to Opacity
  6218. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  6219. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  6220. versions of CompatibleTextRendering
  6221. * X11Structs.cs: Added opacity atom to our atom enumeration
  6222. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  6223. of a form might be set before it's reparented by the WM, and we need
  6224. the opacity value without calling up to Form)
  6225. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  6226. SupportsTransparency() driver methods
  6227. * Application.cs: Now calling StartLoop and EndLoop driver methods
  6228. * XplatUIX11.cs:
  6229. - Added opacity atom registration
  6230. - Added StartLoop()/EndLoop() methods. They're empty right now but
  6231. will need to get implemented when we switch to a per-thread queue
  6232. - Implemented SupportsTransparency() method
  6233. - Implemented SetWindowTransparency() method
  6234. - Added support for setting the opacity value when a window is
  6235. reparented (since the opacity needs to be set on the WM frame)
  6236. * XplatUIOSX.cs, XplatUIWin32.cs:
  6237. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  6238. 2006-01-12 Alexander Olk <[email protected]>
  6239. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  6240. 2006-01-12 Alexander Olk <[email protected]>
  6241. * FileDialog.cs: Added ToolTip for MWFFileView
  6242. * MimeIcon.cs: Rewrote GnomeHandler.
  6243. - Get currently used gnome icon theme from
  6244. ($HOME)/.gconf/%gconf-tree.xml
  6245. - Make use of inherited icon themes
  6246. - Support SVG icon themes like Tango via librsvg
  6247. 2006-01-12 Miguel de Icaza <[email protected]>
  6248. Revert's Jackson's revert which broke 2.0 builds. Fix both
  6249. builds.
  6250. * Application.cs: Move the use_compatible_text_rendering outside
  6251. the NET_2_0 define. If we ever need to use the
  6252. use_compatible_text_rendering on the individual controls they will
  6253. access the variable from the common shared code paths.
  6254. 2006-01-12 Peter Dennis Bartok <[email protected]>
  6255. * XplatUI.cs:
  6256. - Added more granular debug options
  6257. - Added method to print both window text and id
  6258. - Switched debug output to use new Window() debug method
  6259. - Added IsEnabled() driver method
  6260. - Added EnableWindow() driver method
  6261. * Form.cs:
  6262. - Removed end_modal; no longer needed, new loop handles termination
  6263. via 'closing' variable
  6264. - If form is modal, setting DialogResult will now initiate loop
  6265. termination via 'closing' variable
  6266. - Added support for is_enabled/WS_DISABLED to CreateParams
  6267. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  6268. does all the work
  6269. - Removed code that's now in RunLoop from ShowDialog()
  6270. - Added various documented sanity checks to ShowDialog()
  6271. - Added handling of WM_DESTROY message; we set 'closing' on getting
  6272. the message to indicate the message pump to terminate
  6273. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  6274. send by the Application.ExitThread method. (We send the message
  6275. to destroy the window after all other events have been
  6276. processed through the queue, instead of destroying the handle
  6277. directly)
  6278. - Moved code from Close() method to WM_CLOSE handler; added logic
  6279. to only send close-related events if the form is not displayed
  6280. modal
  6281. * Splitter.cs (..ctor): Fixed typo in resource name
  6282. * Control.cs:
  6283. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  6284. brush now
  6285. - set_Cursor: Now only setting calling into XplatUI if the handle for
  6286. the control is already created; this avoids implict handle creation
  6287. or crashes if it's not created
  6288. - set_Enabled: Now setting the enabled state via the new driver method
  6289. instead of just tracking it
  6290. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  6291. - CreateControl: Reordered event firing and method calls to more
  6292. closely fire events in the order MS does. Now setting the
  6293. enabled state in the driver when creating the control.
  6294. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  6295. match MS order
  6296. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  6297. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  6298. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  6299. * Hwnd.cs:
  6300. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  6301. - Added EnabledHwnd property to easily allow a driver to find the
  6302. handle of the first enabled window in the parent chain (this is
  6303. used by drivers to pass up input events of disabled windows)
  6304. * XplatUIDriver.cs: Added IsEnabled() method
  6305. * Application.cs:
  6306. - Removed crude and obsolete exiting tracking variable
  6307. - Removed internal ModalRun(); replaced by RunLoop()
  6308. - Implemented private CloseForms() method to allow closing all
  6309. windows owned by a particular (or all) threads
  6310. - Exit() now properly closes all windows without forcing the message
  6311. pump to quit
  6312. - Removed obsolete InternalExit() method
  6313. - Changed Run() methods to use new RunLoop() message pump
  6314. - Implemented new RunLoop() method for both modal and non-modal forms
  6315. * CommonDialog.cs:
  6316. - get_CreateParams: Added setting of WS_DISABLED
  6317. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  6318. invoked via Form.ShowDialog()
  6319. * NativeWindow.cs: We don't remove the window from the collection when
  6320. the handle is destroyed; there might still be messages for it in the
  6321. queue (mainly the resulting WM_DESTROY); instead it will be removed
  6322. when Control calls InvalidateHandle in the WM_DESTROY handler
  6323. * XplatUIX11.cs:
  6324. - CreateWindow: Added logic to handle the WS_DISABLED window style
  6325. - EnableWindow: Implemented based on Hwnd.Enabled
  6326. - GetMessage: Reset PostQuitState so the method can be called again
  6327. - Implemented support for disabled windows (passing messages to the
  6328. first enabled parent) in handling all input messages
  6329. - Added optimizations for handling Expose events
  6330. - Implemeted new driver method IsEnabled()
  6331. - Now always resetting paint pending tracking vars when we start paint
  6332. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  6333. * XplatUIOSX.cs: Added IsEnabled method stub
  6334. * XplatUIWin32.cs: Implemented new IsEnabled() method
  6335. 2006-01-11 Jackson Harper <[email protected]>
  6336. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  6337. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  6338. variables a little.
  6339. * ColorDialog.cs: Clear out the old form before adding the new
  6340. panel.
  6341. 2006-01-11 Jackson Harper <[email protected]>
  6342. * X11Dnd.cs: Make sure to add all the text formats when adding
  6343. strings to the data object.
  6344. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  6345. do some redrawing too. Also change the UpdateNode to an
  6346. UpdateBelow so the newly added node gets painted.
  6347. 2006-01-11 Miguel de Icaza <[email protected]>
  6348. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  6349. LinkLabel.cs, PropertyGrid.cs: Implement the
  6350. UseCompatibleTextRendering property for 2.x
  6351. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  6352. 2006-01-11 Jackson Harper <[email protected]>
  6353. * TreeView.cs: Use the property for setting the selected node so
  6354. the correct events get raised.
  6355. * TreeNode.cs: Update the tree when the fore/back colours of a
  6356. node are set.
  6357. 2006-01-10 Jackson Harper <[email protected]>
  6358. * TreeView.cs: Allow setting SelectedNode to null.
  6359. 2006-01-9 Jonathan Chambers <[email protected]>
  6360. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  6361. 2006-01-9 Jonathan Chambers <[email protected]>
  6362. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  6363. 2006-01-9 Jonathan Chambers <[email protected]>
  6364. * PrintDialog.cs: Added attributes and set default property values.
  6365. 2006-01-9 Jonathan Chambers <[email protected]>
  6366. * PrintControllerWithStatusDialog.cs:
  6367. Added PrintControllerWithStatusDialog.
  6368. 2006-01-9 Jonathan Chambers <[email protected]>
  6369. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  6370. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  6371. 2006-01-9 Jonathan Chambers <[email protected]>
  6372. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  6373. 2006-01-09 Jonathan Chambers <[email protected]>
  6374. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  6375. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  6376. 2006-01-08 Alexander Olk <[email protected]>
  6377. * MimeIcon.cs: Added internal class SVGUtil.
  6378. 2006-01-08 Alexander Olk <[email protected]>
  6379. * FileDialog.cs: Don't crash if there are two files with the
  6380. same name but different locations.
  6381. 2006-01-08 John BouAntoun <[email protected]>
  6382. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  6383. dates across multiple month grids. Used to not highlight entire
  6384. month, but does now.
  6385. 2006-01-06 Jackson Harper <[email protected]>
  6386. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  6387. message loop. Change timer intervals to numbers that seem more
  6388. natural.
  6389. 2006-01-06 John BouAntoun <[email protected]>
  6390. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  6391. object for location info since screen object is now implemented.
  6392. 2006-01-05 Jackson Harper <[email protected]>
  6393. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  6394. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  6395. AsyncMethodResult, this is because we ALWAYS want the
  6396. ManualResetEvent to get set.
  6397. * Control.cs: When disposing use an async invoke to call shutdown
  6398. code, so that thigns don't block on the finalizer thread. Also
  6399. check if we even have a message loop before trying to send
  6400. messages, if we don't then don't bother sending messages.
  6401. - No more weak references for async methods
  6402. * XplatUIDriver.cs: No more weak references for async methods.
  6403. 2006-01-04 Alexander Olk <[email protected]>
  6404. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  6405. returns two FontFamily with the same name
  6406. 2006-01-04 Peter Dennis Bartok <[email protected]>
  6407. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  6408. drawing disabled text. Instead using the ColorGrayText color
  6409. 2006-01-04 Jackson Harper <[email protected]>
  6410. * TreeNode.cs: redraw the node when its image index is changed.
  6411. 2006-01-04 Peter Dennis Bartok <[email protected]>
  6412. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  6413. time I checked there are no others like it.
  6414. 2006-01-04 Jackson Harper <[email protected]>
  6415. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  6416. this gives the behavoir I was looking for.
  6417. * Control.cs: Special case Invoking EventHandlers, this matches MS
  6418. and fixes part of bug #76326.
  6419. 2006-01-04 Alexander Olk <[email protected]>
  6420. * ThemeClearlooks.cs, FileDialog.cs:
  6421. - Reflect the latest Theme class changes
  6422. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  6423. with DateTime
  6424. 2006-01-04 Alexander Olk <[email protected]>
  6425. * Theme.cs: Cache UI resource images and resize them if needed
  6426. 2006-01-03 Peter Dennis Bartok <[email protected]>
  6427. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  6428. is called. This fixes the crash in Nexxia when setting the font
  6429. attributes in the chat. [However, RTF needs a look-over to make sure
  6430. that all SelectionXXX methods handle the special case that selection
  6431. is empty and therefore the change must be applied to all text starting
  6432. at the cursor/selection start]
  6433. 2006-01-03 Peter Dennis Bartok <[email protected]>
  6434. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  6435. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  6436. * X11Keyboard.cs: Switched to new way of calling PostMessage
  6437. 2006-01-03 Peter Dennis Bartok <[email protected]>
  6438. * Theme.cs: Added theme interface for images to allow the theme to
  6439. control what images are used for things like FileDialog, MessageBox
  6440. icons, etc.
  6441. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  6442. 2006-01-03 Alexander Olk <[email protected]>
  6443. * FileDialog.cs:
  6444. - Removed some dead code
  6445. - Opening a recently used file does work now
  6446. - Small UI enhancements
  6447. - Refactoring
  6448. 2006-01-02 Alexander Olk <[email protected]>
  6449. * FileDialog.cs: Forgot too add __MonoCS__
  6450. 2006-01-02 Alexander Olk <[email protected]>
  6451. * FileDialog.cs: We are able to read recently used files now let's
  6452. go on and write them.
  6453. 2006-01-01 Alexander Olk <[email protected]>
  6454. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  6455. button
  6456. * MimeIcon.cs: Do a check for the top level media type also
  6457. 2005-12-31 Alexander Olk <[email protected]>
  6458. * ThemeClearlooks.cs:
  6459. - Added CPDrawStringDisabled
  6460. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  6461. some chars if the text doesn't fit into text_rect
  6462. - DrawListViewItem: If View = View.LargeIcon center the image;
  6463. rewrote the drawing of ListViewItem.Text if View =
  6464. View.LargeIcon
  6465. 2005-12-31 Alexander Olk <[email protected]>
  6466. * MimeIcon.cs: Use default KDE icon theme if there is no
  6467. "48x48" directory for the current icon theme, fixes #77114
  6468. * Mime.cs: Disable not working and actually not used code.
  6469. * ThemeWin32Classic.cs:
  6470. - Replace "new SolidBrush" in GetControlBackBrush and
  6471. GetControlForeBrush with ResPool.GetSolidBrush
  6472. - Changed DrawListViewItem from private to protected virtual
  6473. * FileDialog.cs:
  6474. - Added form.MaximizeBox = true
  6475. - Don't throw an exception if there is a broken symbolic link
  6476. 2005-12-23 Jackson Harper <[email protected]>
  6477. * TabControl.cs: Give the panels focus, keyboard navigation is
  6478. fixed so this works correctly now.
  6479. - We need these key events also.
  6480. * ToolBar.cs: Remove some of the poor mans double buffering.
  6481. 2005-12-24 Alexander Olk <[email protected]>
  6482. * ComboBox.cs: The internal TextBox now returns the focus.
  6483. 2005-12-23 Jackson Harper <[email protected]>
  6484. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  6485. 2005-12-23 Peter Dennis Bartok <[email protected]>
  6486. * Control.cs: Removed debug code
  6487. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  6488. implicit children
  6489. 2005-12-23 Peter Dennis Bartok <[email protected]>
  6490. * Control.cs: When creating the control, update the Z-order after
  6491. all it's children are created, too. (Fixes nexxia not showing
  6492. picturebox bug)
  6493. 2005-12-23 Peter Dennis Bartok <[email protected]>
  6494. * Control.cs: Do not update the anchoring distances if layout is
  6495. suspended, instead do it once layout is resumed
  6496. 2005-12-22 Peter Dennis Bartok <[email protected]>
  6497. * Control.cs:
  6498. - After many hours of debugging, for both Jackson and
  6499. myself, it turns out that it helps to set the parent of a control
  6500. if you want to actually see it onscreen. In the spirit of that
  6501. discovery, we're now setting the parent of the control and
  6502. it's children when the control's handle is created. This fix
  6503. will make Lutz Roeder's Reflector run happily.
  6504. - now just creating the handle instead of the whole control when
  6505. getting a graphics context for the control.
  6506. 2005-12-22 Peter Dennis Bartok <[email protected]>
  6507. * ScrollableControl.cs: When calculating the canvas, don't consider
  6508. the scrollbar widths. Instead, predict if horizontal scrollbar
  6509. will affect canvas when deciding on vertical display and vice versa.
  6510. 2005-12-22 Peter Dennis Bartok <[email protected]>
  6511. * RichTextBox.cs: Set default RTF font for documents that don't
  6512. have a font table (Fixes #77076)
  6513. 2005-12-22 Jackson Harper <[email protected]>
  6514. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  6515. clipboard. This prevents a NullRef in that case.
  6516. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  6517. clipboard. PRIMARY is for the currently selected text only. (We
  6518. should implement PRIMARY at some point.
  6519. 2005-12-21 Peter Dennis Bartok <[email protected]>
  6520. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  6521. a Unicode function with a structure that was defined in Ansi way.
  6522. This fixes #76942.
  6523. 2005-12-21 Jackson Harper <[email protected]>
  6524. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  6525. on. Because thats how it rolls. (and this avoids it using ambient
  6526. colours).
  6527. * ThemeWin32Classic.cs: Use the proper back color for filling.
  6528. * Menu.cs: Use the system menu bar color for drawing menu
  6529. bars. Using the window back color will bring ambient colours into
  6530. the picture.
  6531. 2005-12-21 Alexander Olk <[email protected]>
  6532. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  6533. Bitmaps were created and not disposed.
  6534. 2005-12-21 Peter Dennis Bartok <[email protected]>
  6535. * Control.cs (CreateControl): Don't do anything if the control is
  6536. already created, otherwise we'd fire the OnCreated event more than
  6537. once
  6538. 2005-12-21 Peter Dennis Bartok <[email protected]>
  6539. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  6540. will always match. Instead return -1. Fixes #76464.
  6541. 2005-12-21 Peter Dennis Bartok <[email protected]>
  6542. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  6543. neither the beginning nor the end of the line (Fixes bug #76479)
  6544. 2005-12-21 Peter Dennis Bartok <[email protected]>
  6545. * Control.cs:
  6546. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  6547. where handle is invalid
  6548. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  6549. instead of slower linear search
  6550. * NativeWindow.cs: Don't remove the window from the hashtable until
  6551. after the driver has destroyed it (since the driver might use
  6552. Control.FromHandle to lookup the control object
  6553. * Hwnd.cs: Added DestroyPending property to track if a window is
  6554. already destroyed as far as the driver is concerned and only hasn't
  6555. yet notified the control
  6556. * XplatUIX11.cs:
  6557. - Activate(): Check if the window is still valid before using the
  6558. handle
  6559. - Implemented DestroyChildWindow() method to mark child windows as
  6560. destroyed when a window is destroyed. This prevents situations
  6561. where we might call an X method based on queued events for a
  6562. window that already has been destroyed but we haven't yet pulled
  6563. the destroy method from the queue.
  6564. - Added a call to the new DestroyChildWindow() method to the drivers
  6565. DestroyWindow code. Also now marking the destroyed window itself
  6566. as pending
  6567. 2005-12-20 Jackson Harper <[email protected]>
  6568. * StatusBar.cs:
  6569. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  6570. anymore. Just do them when needed, also track the rects of panels
  6571. so that we can optimize refreshing more in the future.
  6572. 2005-12-20 Alexander Olk <[email protected]>
  6573. * ColorDialog.cs: Fixed focus drawing in small color controls
  6574. 2005-12-19 Jackson Harper <[email protected]>
  6575. * InternalWindowManager.cs:
  6576. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  6577. moving windows works properly.
  6578. 2005-12-19 Peter Dennis Bartok <[email protected]>
  6579. * Control.cs:
  6580. - Removed call to InitLayout() from SetBoundsCore(); doc says
  6581. it's only called when a control is added to a container
  6582. - Split InitLayout logic, moved to separate UpdateDistances() method
  6583. since we need to perform those calculations more often than just
  6584. when adding the control to a container. (Needed to fix #77022)
  6585. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  6586. - Reduced the OnBindingContextChanged events count, don't send them
  6587. unless the control is created, we still aren't totally matching
  6588. MS, but I can't quite figure out some of their rules
  6589. 2005-12-18 Alexander Olk <[email protected]>
  6590. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  6591. stripes
  6592. 2005-12-18 Alexander Olk <[email protected]>
  6593. * ThemeClearlooks.cs:
  6594. - Updated ProgressBar drawing
  6595. - Corrected drawing of ScrollBars and scroll buttons
  6596. - Some temporary fixes for minor pixel artefacts
  6597. 2005-12-18 Peter Dennis Bartok <[email protected]>
  6598. * Control.cs:
  6599. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  6600. cause events to be sent in the same order as MS does.
  6601. - Added ChangeParent() method to trigger various OnXXXChanged events
  6602. that need to be fired when a parent changes (This is a reworking
  6603. of the patch from r54254, with the X11 errors fixed)
  6604. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  6605. since on MS we get OnLayoutChanged events when calling Clear()
  6606. - Changed Enabled property to consider parent state as well, if a
  6607. parent is not enabled, the control will not be either
  6608. - Changed Parent property to simply call Controls.Add() since that
  6609. now does all the work required, this way we avoid code duplication
  6610. - Threw in a few OnBindingsContextChanged calls to try and match
  6611. when MS sends them. We seem to send a few too many, though.
  6612. - Added call to CreateControl when adding the control to a parent.
  6613. We were never calling CreateControl. Still needs some work, in
  6614. some places we treat HandleCreated and ControlCreated as equal,
  6615. which is wrong
  6616. - Removed obsolete commented out code from UpdateZOrder()
  6617. 2005-12-18 Alexander Olk <[email protected]>
  6618. * ThemeClearlooks.cs: Updated TrackBar drawing.
  6619. 2005-12-17 Alexander Olk <[email protected]>
  6620. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  6621. 2005-12-17 Alexander Olk <[email protected]>
  6622. * FileDialog.cs: Add the Help button and the open readonly
  6623. checkbox only if needed
  6624. 2005-12-16 Jackson Harper <[email protected]>
  6625. * Control.cs: Make sure we have an active menu before trying to
  6626. process commands on it. Prevents menu-less forms from crashing
  6627. when Alt is pressed.
  6628. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  6629. Dieter Bremes.
  6630. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  6631. 2.0 build.
  6632. 2005-12-16 Jackson Harper <[email protected]>
  6633. * InternalWindowManager.cs: Don't translate tool windows screen
  6634. coordinates. This fixes windows 'bouncing' around when being moved.
  6635. 2005-12-15 Peter Dennis Bartok <[email protected]>
  6636. * TextBoxBase.cs:
  6637. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  6638. not quite MS compatible, MS uses that number only for single line
  6639. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  6640. the limit at 2GB)
  6641. - Now enforcing the MaxLength limit when entering characters
  6642. - Added argument to internal Paste() method to track if it's called
  6643. from programatically or via keyboard, since keyboard driven pastes
  6644. need to enforce max-length
  6645. - Added logic to Paste to only paste as many chars as MaxLength
  6646. allows
  6647. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  6648. * TextControl.cs:
  6649. - Added Length property to return number of characters in document
  6650. - Added private CharCount property which only tracks actual chars
  6651. in the document (no linefeeds) and fires event when CharCount
  6652. changes
  6653. - Added tracking of character count to all methods that alter it
  6654. - Added LengthChanged event to allow applications to subscribe
  6655. to any changes to the document
  6656. 2005-12-15 Peter Dennis Bartok <[email protected]>
  6657. * TextBox.cs:
  6658. - Removed local password_char field (moved to TextBoxBase)
  6659. - Now setting the document's password var when password is
  6660. set
  6661. * TextBoxBase.cs:
  6662. - Added password_char field (needed here so MultiLine can
  6663. access it)
  6664. - Added logic to MultiLine property setter to set the document's
  6665. variable when password display is allowed
  6666. - Removed debug code and made some debug code conditional
  6667. * TextControl.cs:
  6668. - Added RecalculatePasswordLine() method to handle special password
  6669. char only lines
  6670. - Added PasswordChar property, also added related tracking vars
  6671. - Draw() method now uses local text var for grabbing text to draw,
  6672. this var is set to line.text unless we're doing password display,
  6673. then it is set to the pre-generated all-password-chars line
  6674. - Added calling RecalculatePasswordLine() method for password lines
  6675. 2005-12-14 Peter Dennis Bartok <[email protected]>
  6676. * Hwnd.cs:
  6677. - Added Reparented property to allow tracking of Window Manager
  6678. reparenting actions (which affect X/Y calculations of toplevel
  6679. windows)
  6680. - Made ToString() print window handles in hex
  6681. * XplatUIX11.cs:
  6682. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  6683. determine if X/Y needs offsetting
  6684. - AddConfigureNotify(): Fixed offset calculations
  6685. - Now adds ReparentNotify messages into the queue
  6686. - Now processes ReparentNotify messages and causes a
  6687. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  6688. is reparented (as most likely it's X/Y coordinates are changed
  6689. due to that)
  6690. 2005-12-14 Jackson Harper <[email protected]>
  6691. * XplatUIX11.cs: Tool windows still need to respek focus.
  6692. 2005-12-14 Peter Dennis Bartok <[email protected]>
  6693. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  6694. have a working release
  6695. 2005-12-13 Jackson Harper <[email protected]>
  6696. * Form.cs: Update styles after setting the border style regardless
  6697. of whether or not the window is using a window manager.
  6698. 2005-12-13 Jackson Harper <[email protected]>
  6699. * Form.cs: We now hook into an internal window manager instead of just an
  6700. MDI subsystem, this is so we can have properly behaving tool windows.
  6701. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  6702. * InternalWindowManager.cs: New internal class that acts as a
  6703. window manager for tool windows and as a base for mdi windows.
  6704. * MdiWindowManager.cs: New class that acts as a window manager for
  6705. mdi windows.
  6706. 2005-12-12 Jackson Harper <[email protected]>
  6707. * Control.cs: Updates so we match behavoir for for implicit
  6708. controls. Fixes explosions in MDI.
  6709. 2005-12-12 Jackson Harper <[email protected]>
  6710. * Control.cs: Implement Invalidate (Region).
  6711. 2005-12-12 Peter Dennis Bartok <[email protected]>
  6712. * Control.cs:
  6713. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  6714. the same events as MS does. MS fires events for each property
  6715. except, for unknown reasons, Cursor, when the control is reparented.
  6716. I can't seem to totally match add/remove since MS also fires some
  6717. VisibleChanged events, which makes no sense. Consolidated the
  6718. parenting code into a separate method so it can be called from
  6719. both Add and Remove. set_Parent no longer needs any special logic
  6720. as it calls the parent's add method which implicitly fires
  6721. all events
  6722. - Removed some obsolete code and debug output
  6723. - Enabled state is inherited from parents, if this is enabled
  6724. 2005-12-08 Peter Dennis Bartok <[email protected]>
  6725. * Form.cs: Removed commented out code
  6726. 2005-12-08 Peter Dennis Bartok <[email protected]>
  6727. * Control.cs:
  6728. - Added internal version of Invoke, with additional argument
  6729. indicating if we're calling it from a Dispose() handler. That
  6730. way we can avoid BeginInvoke throwing an exception if we're
  6731. calling for an already destroyed window.
  6732. - Added a dispose argument to BeginInvokeInternal, and made the
  6733. check if a valid window handle chain exists conditional on
  6734. it not being a dispose call
  6735. - Removed code in DestroyHandle to destroy our children. Since we
  6736. now handle the WM_DESTROY message we will catch all our children
  6737. being destroyed.
  6738. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  6739. * Form.cs:
  6740. - Added a field to track the application context of the form.
  6741. - No need to set closing variable as response to WM_CLOSE, instead
  6742. we destroy the window. We also call PostQuitMessage if the form
  6743. has an application context (which makes it the main app form,
  6744. which, when closed terminates the app)
  6745. * XplatUI.cs:
  6746. - Dropped Exit() method, it's naming was confusing
  6747. - Added PostQuitMessage() which causes GetMessage to return false
  6748. once the message queue is empty
  6749. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  6750. PostQuitMessage()
  6751. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  6752. no longer a valid XplatUI method, but left it in since it's used
  6753. internally. Added empty PostQuitMessage() method.
  6754. * MenuAPI.cs: Replaced call to Exit() with call to
  6755. PostQuitMessage, even though this is probably no longer needed.
  6756. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  6757. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  6758. * Application.cs:
  6759. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  6760. - Removed old debug code that would call XplatUI for exception
  6761. display, enabled standard exception handling (Still not enabled
  6762. though, until NativeWindow's ExternalExceptionHandler define
  6763. is removed
  6764. * NativeWindow.cs:
  6765. - Added internal method to allow control to update NativeWindow
  6766. after a window has been destroyed
  6767. - Added handling of already destroyed windows when calling i
  6768. DestroyWindow
  6769. - Added removal of handle from list on ReleaseHandle
  6770. * XplatUIX11.cs:
  6771. - Dropped GetMessageResult var and related code
  6772. - Added PostQuitState to field to track if PostQuitMessage has been
  6773. called
  6774. - Dropped Exit() method
  6775. - Added PostQuitMessage() method
  6776. - GetMessage now will return false if PostQuitState is set and no
  6777. more messages are in the queue.
  6778. - Expose handler will no longer generate WM_PAINT messages if we are
  6779. in PostQuitState since it's very likely any windows have already
  6780. been destroyed, and since Hwnd won't get updated until we have
  6781. processed the DestroyNotify we'd be causing X errors.
  6782. 2005-12-07 Peter Dennis Bartok <[email protected]>
  6783. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  6784. Thanks to Mike for pointing out the err of my ways.
  6785. 2005-12-07 Peter Dennis Bartok <[email protected]>
  6786. * Control.cs(PreProcessMessage): Moved menu handling back, but
  6787. after all other key handling, to match MS (who handles Menu in
  6788. DefWndProc)
  6789. * Menu.cs (WndProc): Removed my brainfart
  6790. 2005-12-07 Peter Dennis Bartok <[email protected]>
  6791. * Control.cs(PreProcessMessage): Removed special menu handling
  6792. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  6793. 2005-12-07 Mike Kestner <[email protected]>
  6794. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  6795. state according in tracker.
  6796. * Menu.cs : promote tracker field to base class and provide a tracker
  6797. lookup capability. Add/Remove shortcuts dynamically if the top menu
  6798. has a tracker. Unparent items that are removed from the collection.
  6799. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  6800. * Theme*.cs: add always_show_hotkeys field to support configurability
  6801. of mnemonic display. win32 doesn't show mnemonics until Alt is
  6802. pressed.
  6803. 2005-12-07 Jackson Harper <[email protected]>
  6804. * MdiChildContext.cs: Use Control.ResetCursor.
  6805. * Control.cs: ResetCursor needs to set the property so that the
  6806. correct XplatUI call gets made.
  6807. 2005-12-07 Peter Dennis Bartok <[email protected]>
  6808. * Control.cs: More fixes to make our key events match MS. We
  6809. were not setting the modifier state on KeyData, and we were
  6810. not generating any events when Alt was pressed with a key
  6811. since handling of WM_SYSxxx was missing for the OnKey methods.
  6812. 2005-12-07 Jackson Harper <[email protected]>
  6813. * MdiChildContext.cs: reenable the sizing code.
  6814. - When the mouse leaves a window reset its cursor.
  6815. 2005-12-07 Alexander Olk <[email protected]>
  6816. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  6817. 2005-12-07 Peter Dennis Bartok <[email protected]>
  6818. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  6819. widths of Fixed3D borders
  6820. 2005-12-07 Jackson Harper <[email protected]>
  6821. * MdiClient.cs: Fix warnings. Earn Mike's love.
  6822. 2005-12-07 Alexander Olk <[email protected]>
  6823. * ThemeClearlooks.cs:
  6824. - Adjusted mouse over button color
  6825. - Added first parts of CheckBox drawing
  6826. - Added correct color for selected text background
  6827. - Fixed ComboBox drawing
  6828. - Added CPDrawBorder3D and CPDrawBorder
  6829. 2005-12-06 Peter Dennis Bartok <[email protected]>
  6830. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  6831. 2005-12-06 Peter Dennis Bartok <[email protected]>
  6832. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  6833. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  6834. alert users via sound. We could add an enum arg with different
  6835. types of alerts in the future
  6836. 2005-12-06 Peter Dennis Bartok <[email protected]>
  6837. * Control.cs: Fix behaviour problems pointed out by Mike
  6838. 2005-12-05 Mike Kestner <[email protected]>
  6839. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  6840. prop setters. Calls parent.Refresh for now, but could be maybe be
  6841. optimized with an internal method on StatusBar at some point.
  6842. [Fixes #76513]
  6843. 2005-12-05 Peter Dennis Bartok <[email protected]>
  6844. * RichTextBox.cs: Implemented get_SelectionColor
  6845. 2005-12-05 Alexander Olk <[email protected]>
  6846. * ThemeClearlooks.cs:
  6847. - Removed dead code
  6848. - Draw black button border only if button is Form.AcceptButton
  6849. - Draw correct button color for pressed RadioButton if the mouse
  6850. has entered the button
  6851. - Updated ProgressBar drawing!
  6852. - Updated CPDrawSizeGrip drawing
  6853. - Updated StatusBarPanel drawing
  6854. 2005-12-05 Mike Kestner <[email protected]>
  6855. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  6856. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  6857. 2005-12-04 Alexander Olk <[email protected]>
  6858. * ThemeClearlooks.cs: Initial check-in, activate with
  6859. export MONO_THEME=clearlooks
  6860. * ThemeEngine.cs: Added ThemeClearlooks
  6861. 2005-12-03 Mike Kestner <[email protected]>
  6862. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  6863. [Fixes #76897]
  6864. 2005-12-02 Jackson Harper <[email protected]>
  6865. * Form.cs: If the child form has no menu the default main menu is
  6866. used as the active menu.
  6867. 2005-12-02 Peter Dennis Bartok <[email protected]>
  6868. * ListBox.cs: Check if any items exist before trying to resolve
  6869. coordinates into items
  6870. 2005-12-02 Peter Dennis Bartok <[email protected]>
  6871. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  6872. as the second color for the background hatch
  6873. 2005-12-02 Peter Dennis Bartok <[email protected]>
  6874. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  6875. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  6876. sure that what we pass to FormatText is always 1-based. Fixes #76885
  6877. 2005-11-29 Miguel de Icaza <[email protected]>
  6878. * NumericUpDown.cs (EndInit): When we are done initializing,
  6879. reflect any updates on the UI.
  6880. 2005-12-02 Jackson Harper <[email protected]>
  6881. * ImplicitHScrollBar.cs:
  6882. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  6883. their container controls.
  6884. * TreeView.cs: Use the new implicit scrollbars.
  6885. 2005-12-02 Jackson Harper <[email protected]>
  6886. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  6887. can play with it.
  6888. * TreeNodeCollection.cs: If we remove the topnode we need to
  6889. update topnode to the next node in line.
  6890. - When clearing nodes go through the same process as removing
  6891. them, so they get depareneted and checked if they are top node.
  6892. 2005-12-01 Jackson Harper <[email protected]>
  6893. * TreeView.cs: When imagelists are used the image area is
  6894. selectable as well as the text.
  6895. - If there are no selected nodes select the first one.
  6896. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  6897. so don't do it more then we need to.
  6898. 2005-12-01 Jackson Harper <[email protected]>
  6899. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  6900. that arrows can be scaled.
  6901. 2005-12-01 Jackson Harper <[email protected]>
  6902. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  6903. fail. Patch by Dieter Bremes
  6904. 2005-11-30 Jackson Harper <[email protected]>
  6905. * Form.cs: Property is 2.0 only
  6906. * PrintDialog.cs: Signature fix.
  6907. 2005-11-30 Peter Dennis Bartok <[email protected]>
  6908. * TextControl.cs:
  6909. - No longer artificially moves text 2 pixels down (now that we have
  6910. borders this is no longer needed)
  6911. - Added calcs for left, hanging and right indent
  6912. 2005-11-23 Mike Kestner <[email protected]>
  6913. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  6914. 2005-11-30 Jackson Harper <[email protected]>
  6915. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  6916. get cloned as part of CloneMenu ().
  6917. * Menu.cs: Make sure the parent of the items get set correctly
  6918. when they are added. And the owners are notified of the changes.
  6919. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  6920. we can change the menu being displayed/handled by the form without
  6921. changing the menu assosciated with the form.
  6922. - Don't let Mdi children draw/handle menus.
  6923. 2005-11-30 Jackson Harper <[email protected]>
  6924. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  6925. a MenuChanged event. Just to make the API a little more
  6926. consistent.
  6927. * MainMenu.cs:
  6928. * MenuItem.cs: Use the new OnMenuChanged
  6929. * MdiChildContext.cs: Handle menu merging.
  6930. * Form.cs: Implement MergedMenu.
  6931. 2005-11-30 Jackson Harper <[email protected]>
  6932. * Menu.cs: We were misusing Add. Add goes behind the specified
  6933. index according to the docs, and does not replace the specified
  6934. index. So I added an Insert method.
  6935. 2005-11-30 Peter Dennis Bartok <[email protected]>
  6936. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  6937. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  6938. is for Jackson
  6939. * RichTextBox.cs: Added calls to base for DnD events
  6940. 2005-11-28 Peter Dennis Bartok <[email protected]>
  6941. * TextControl.cs:
  6942. - Fixed drag-selection related crash; style fixes
  6943. - Implemented undo class
  6944. o Implemented method to capture document state for specified
  6945. range in document tree
  6946. o Implemented method to restore captured document state
  6947. o Implemented cursor tracking
  6948. o Implemented basic undo stack
  6949. - Added undo cursor tracking to methods altering cursor location
  6950. - Added undo tracking to selection deletion (still missing
  6951. other text-altering hookups)
  6952. * RichTextBox.cs:
  6953. - Added SelectionLength property
  6954. - Implemented CanPaste()
  6955. - Implemented Paste()
  6956. - Added missing protected methods
  6957. - Fixed RTF->Document conversion; now uses font index 0 and color
  6958. index 0 as the default font for the parsed text
  6959. - Fixed RTF<->Document font size translation
  6960. - Fixed RTF generation, now properly handles cross-tag boundaries
  6961. for single line selection
  6962. - No longer always appends blank line to generated RTF
  6963. - Removed TODOs
  6964. - Added missing attributes
  6965. - Hooked up undo-related methods
  6966. * TextBoxBase.cs:
  6967. - Implemented Copy()
  6968. - Implemented Paste()
  6969. - Implemented Cut()
  6970. - Fixed caret mis-behaviour on backspace across line-boundaries
  6971. 2005-11-29 Jackson Harper <[email protected]>
  6972. * MdiClient.cs: Add a method for activating mdi children. Very
  6973. basic right now. I imagine someday it might need more girth.
  6974. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  6975. children windows names are added to the menu item.
  6976. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  6977. mdilist. This happens regardless of whether or not there are any
  6978. mdi windows to see in the list, and according to my tests happens
  6979. before the items are even added. Also happens if there isn't even
  6980. an mdi client to get windows from.
  6981. 2005-11-29 Alexander Olk <[email protected]>
  6982. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  6983. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  6984. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  6985. * DataGridTableStyle.cs:
  6986. - Create always the styles for the missing columns even if they are
  6987. provided by the user (not default table style)
  6988. * DataGrid.cs:
  6989. - Fixes bug 76770
  6990. - Fixes SetDataBinding (always re-attach source)
  6991. - Fixes SetNewDataSource (only clear styles if they are not for
  6992. this source)
  6993. - Expands OnTableStylesCollectionChanged to handle style refresh
  6994. and remove properly
  6995. 2005-11-29 Jackson Harper <[email protected]>
  6996. * FileDialog.cs: Implement missing bits, remove some dead
  6997. code.
  6998. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  6999. creation of the panel so that the options set on the dialog are
  7000. seen when the panel is created.
  7001. * TreeView.cs: raise a click when items are clicked.
  7002. 2005-11-29 Jackson Harper <[email protected]>
  7003. * MdiClient.cs: Pass some signature methods through to base.
  7004. 2005-11-28 Jackson Harper <[email protected]>
  7005. * ListView.cs: Raise the click event when items are clicked.
  7006. 2005-11-28 Jackson Harper <[email protected]>
  7007. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  7008. a nullref.
  7009. 2005-11-27 Alexander Olk <[email protected]>
  7010. * ThemeNice.cs: - Removed 1 pixel bitmaps
  7011. - Use SmoothingMode.AntiAlias where it makes sense
  7012. (ScrollButton arrow for example)
  7013. - Enhanced Button focus drawing
  7014. - Fixed ComboBox drawing (no artefacts anymore, focus
  7015. rectangle is back again, reduced size of ComboButton, etc.)
  7016. - Fixed RadioButton focus drawing for Appearence.Button
  7017. - Slight ScrollButton redesign
  7018. - Some LinearGradientBrush size fixes
  7019. - GroupBoxes have now rounded edges
  7020. - Fixed StatusBar drawing
  7021. 2005-11-25 Alexander Olk <[email protected]>
  7022. * ThemeNice.cs: - Remove dead code
  7023. - use correct background colors for menus, etc.
  7024. - Fake pixel drawing with 1 pixel bitmaps
  7025. 2005-11-24 Jackson Harper <[email protected]>
  7026. * MdiClient.cs: Size the scrollbars when resizing the window.
  7027. - Resize the maximized windows when the client is resized
  7028. * Form.cs: Make the child context available
  7029. 2005-11-23 Jackson Harper <[email protected]>
  7030. * MdiChildContext.cs: Don't size windows if they are maximized.
  7031. 2005-11-23 Mike Kestner <[email protected]>
  7032. * ContextMenu.cs: use MenuTracker.
  7033. * Control.cs: remove menu handle usage.
  7034. * Form.cs: remove menu handle usage.
  7035. * Hwnd.cs: remove menu handle usage.
  7036. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  7037. motion and clicks to the new Tracker handlers.
  7038. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  7039. and handle usage.
  7040. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  7041. Killed the MENU and MENUITEM data types and associated collections
  7042. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  7043. MenuTracker class that exposes the leftovers from the old MenuAPI
  7044. static methods. Restructured Capture handling so that only one grab is
  7045. done for the entire menu hierarchy instead of handing off grabs to
  7046. submenus. Tracker now has an invisible control to Capture when active.
  7047. * MenuItem.cs: add sizing accessors, kill Create
  7048. and handle usage.
  7049. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  7050. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  7051. MENU(ITEM). remove menu handle usage, use Menu directly.
  7052. * XplatUIDriver.cs: remove menu handle usage.
  7053. * XplatUIOSX.cs: remove menu handle usage.
  7054. * XplatUIWin32.cs: remove menu handle usage.
  7055. * XplatUIX11.cs: remove menu handle usage.
  7056. 2005-11-22 Jackson Harper <[email protected]>
  7057. * Hwnd.cs: Don't compute the menu size for
  7058. DefaultClientRectangle.
  7059. - Reenable menu sizes being computed for GetClienRectangle.
  7060. * Form.cs: Remove comment of trechery
  7061. 2005-11-22 Jackson Harper <[email protected]>
  7062. * Hwnd.cs: The adjustments for the menu bar are made when it is
  7063. attached to the form.
  7064. 2005-11-19 Jackson Harper <[email protected]>
  7065. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  7066. (just like on windows).
  7067. 2005-11-19 Jackson Harper <[email protected]>
  7068. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  7069. use real buttons anymore because they are in non client area. The
  7070. one TODO here is that I need to somehow invalidate a section of
  7071. the non client area.
  7072. 2005-11-18 Jackson Harper <[email protected]>
  7073. * Control.cs: Put the enum check back in now that MDI doesnt have
  7074. to use this to set border styles.
  7075. * Form.cs: Only set mdi child windows borders if the handle has
  7076. been created.
  7077. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  7078. this directly on to the driver.
  7079. - Get the move start position before adjusting for the titlebar
  7080. height, this fixes the windows "skipping" when they are first
  7081. moved.
  7082. 2005-11-18 Jackson Harper <[email protected]>
  7083. * XplatUIX11.cs: Just compute the mdi borders separately as they
  7084. don't totally match up with normal form borders.
  7085. 2005-11-18 Jackson Harper <[email protected]>
  7086. * Control.cs: Set WS_ styles for borders, so that the driver does
  7087. not have to retrieve the control instance to figure out what kind
  7088. of borders it should have.
  7089. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  7090. driver can know its an mdi child easily.
  7091. * XplatUIX11.cs: Get the border styles and whether the window is
  7092. MDI from the Styles and ExStyles params instead of having to get a
  7093. control. This prevents a chicken and egg problem.
  7094. 2005-11-18 Jackson Harper <[email protected]>
  7095. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  7096. 2005-11-18 Jackson Harper <[email protected]>
  7097. * MdiClient.cs: Calculate when to add and remove scrollbars
  7098. correctly.
  7099. * MdiChildContext.cs: Adjust the y position to take the titlebar
  7100. into account.
  7101. - No height for FormBorderStyle.None
  7102. 2005-11-18 Jackson Harper <[email protected]>
  7103. * Control.cs: Allow non enum values to be used for
  7104. InternalBorderStyle. MDI does this to set a special border style.
  7105. - New utility methods for converting points to/from client coords
  7106. - Add the newly created control to the Controls collection before
  7107. updating its style. This way UpdateStyle can walk the control
  7108. heirarchy to find the control if needed.
  7109. so I don't need to create a new Point object all the time.
  7110. * Form.cs: Let MDI windows handle their border styles.
  7111. - Set styles on MDI windows so the correct title style is derived.
  7112. * MdiChildContext.cs: Move all the painting and window handling
  7113. into the non client area.
  7114. - Use correct sizing and put correct buttons on frames based on
  7115. the FormBorderStyle.
  7116. - Notify the mdi client about scrolling
  7117. - Need to handle the buttons ourselves now, because they are all
  7118. in non client areas and we can't add controls there.
  7119. * MdiClient.cs: Halfway to scrolling, this implementation is
  7120. somewhat broken though, we need to check to make sure other
  7121. windows aren't causing scrolling before removing the bars. Also
  7122. the bars need to be drawn on top, maybe I can switch implicit
  7123. controls to be on top.
  7124. * Hwnd.cs: caption_height and tool_caption_height are now
  7125. properties of an hwnd, this way they can be set by the driver
  7126. based on the type of window they are. In X11 the window manager
  7127. handles the decorations so caption_height is zero unless its an
  7128. MDI window.
  7129. - Add 3 pixel borders for MDI windows (0xFFFF).
  7130. - Get rid of some code duplication, have DefaultClientRectanle
  7131. just call GetClientRectangle.
  7132. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  7133. Hwnd now.
  7134. - Set border styles differently for mdi windows.
  7135. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  7136. Hwnd now.
  7137. 2005-11-15 Mike Kestner <[email protected]>
  7138. * Menu.cs: when adding an item to the collection, if item is already
  7139. parented, remove it from the parent.
  7140. 2005-11-13 Alexander Olk <[email protected]>
  7141. * X11DesktopColors.cs: Added KDE support
  7142. 2005-11-11 Peter Dennis Bartok <[email protected]>
  7143. * XplatUIWin32.cs:
  7144. - Clipboard methods now can translate Rtf format
  7145. - No longer removes clipboard contents whenever a new format is added
  7146. to allow placing multiple formats on the clipboard
  7147. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  7148. will place all formats contained in it onto the clipboard. Also
  7149. now cleans the clipboard before placing a new object onto it
  7150. * RichTextBox.cs:
  7151. - Implemented set_Rtf
  7152. - Implemented set_SelectedRtf
  7153. - Created InsertRTFFromStream() method to allow single code base
  7154. for all properties and methods that insert RTF into document
  7155. - Removed debug output
  7156. * TextControl.cs:
  7157. - Fixed Delete(int) to fix up line numbers
  7158. - Fixed ReplaceSelection to combine start and end line
  7159. - Fixed serious DeleteChars bug that would leave the document tree
  7160. broken
  7161. - Improved DumpTree with several logic checks to detect broken
  7162. document trees
  7163. - Removed debug lines
  7164. - Fixed Caret.WordForward/WordBack moving code, now always also
  7165. updates caret.tag (fixes crash when word-selecting across tag
  7166. boundaries via keyboard)
  7167. - Added Insert() method for inserting multiline text into documents
  7168. - Fixed DeleteChars() calculation errors that would cause a broken
  7169. tag chain with multiple tag lines
  7170. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  7171. - Split() no longer moves caret if split is at caret location
  7172. - ReplaceSelection() now updates the cursor and re-displays it
  7173. - ReplaceSelection() now uses new Insert() method to avoid code
  7174. duplication
  7175. - FormatText() can now handle formatting partial lines
  7176. * TextBoxBase.cs:
  7177. - Append now uses new TextControl.Insert() method (this avoids
  7178. duplicate code)
  7179. - Implemented Ctrl-X (Cut) (
  7180. - Implemented Ctrl-C (Copy)
  7181. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  7182. regeneration when pasting text; roundtripping Copy&Paste within
  7183. edit control still fails due to some calculation bugs in GenerateRTF)
  7184. - The Delete key will now remove the current selection if it is visible
  7185. * TextBox.cs: Removed debug lines
  7186. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  7187. driver to be initialized and can't therefore be done via a static ctor)
  7188. 2005-11-10 Peter Dennis Bartok <[email protected]>
  7189. * TextControl.cs: Added backend code for finding char arrays and strings
  7190. * TextBoxBase.cs:
  7191. - Added mouse wheel scroll support
  7192. - Added support for VScroll and HScroll events
  7193. * RichTextBox.cs:
  7194. - Implemented all seven Find() variants
  7195. - Implemented GetCharFromPosition()
  7196. - Implemented GetCharIndexFromPosition()
  7197. - Implemented GetLineFromIndex()
  7198. - Implemented GetPositionFromCharIndex();
  7199. - Implemented SaveFile for PlainText and UnicodeText
  7200. - Fixed set_Font, now setting a new font applies that font to
  7201. the whole document
  7202. - Implemented generic Document to RTF converter
  7203. - Implemented SaveFile for RichText format (still missing unicode
  7204. conversion for non-ansi chars)
  7205. - Implemented get_Rtf
  7206. - Implemented get_SelectedRtf
  7207. 2005-11-09 Peter Dennis Bartok <[email protected]>
  7208. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  7209. to allow any captures to be released before triggering OnClick. This
  7210. way a click handler may capture the mouse without interference.
  7211. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  7212. This way we send them even though X may not allow a grab (if the window
  7213. isn't visible, for example)
  7214. 2005-11-08 Pedro Martinez Julia <[email protected]>
  7215. * DataGridViewRowEventArgs.cs: DataGridView implementation
  7216. * DataGridViewElement.cs: DataGridView implementation
  7217. * DataGridViewComboBoxCell.cs: DataGridView implementation
  7218. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  7219. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  7220. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  7221. * ImageLayout.cs: DataGridView implementation
  7222. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  7223. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  7224. * DataGridViewSelectionMode.cs: DataGridView implementation
  7225. * IDataGridViewEditingControl.cs: DataGridView implementation
  7226. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  7227. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  7228. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  7229. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  7230. * DataGridViewColumnSortMode.cs: DataGridView implementation
  7231. * DataGridView.cs: DataGridView implementation
  7232. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  7233. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  7234. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  7235. * Padding.cs: DataGridView implementation
  7236. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  7237. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  7238. * DataGridViewRowEventHandler.cs: DataGridView implementation
  7239. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  7240. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  7241. * DataGridViewButtonCell.cs: DataGridView implementation
  7242. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  7243. * DataGridViewEditMode.cs: DataGridView implementation
  7244. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  7245. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  7246. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  7247. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  7248. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  7249. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  7250. * DataGridViewCellEventHandler.cs: DataGridView implementation
  7251. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  7252. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  7253. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  7254. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  7255. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  7256. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  7257. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  7258. * QuestionEventArgs.cs: DataGridView implementation
  7259. * IDataGridViewEditingCell.cs: DataGridView implementation
  7260. * DataGridViewTriState.cs: DataGridView implementation
  7261. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  7262. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  7263. * DataGridViewColumnCollection.cs: DataGridView implementation
  7264. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  7265. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  7266. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  7267. * DataGridViewColumn.cs: DataGridView implementation
  7268. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  7269. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  7270. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  7271. * DataGridViewRow.cs: DataGridView implementation
  7272. * DataGridViewImageCellLayout.cs: DataGridView implementation
  7273. * DataGridViewImageCell.cs: DataGridView implementation
  7274. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  7275. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  7276. * DataGridViewHeaderCell.cs: DataGridView implementation
  7277. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  7278. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  7279. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  7280. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  7281. * QuestionEventHandler.cs: DataGridView implementation
  7282. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  7283. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  7284. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  7285. * DataGridViewCell.cs: DataGridView implementation
  7286. * DataGridViewCellEventArgs.cs: DataGridView implementation
  7287. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  7288. * DataGridViewCellStyle.cs: DataGridView implementation
  7289. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  7290. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  7291. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  7292. * TextFormatFlags.cs: DataGridView implementation
  7293. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  7294. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  7295. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  7296. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  7297. * DataGridViewButtonColumn.cs: DataGridView implementation
  7298. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  7299. * HandledMouseEventArgs.cs: DataGridView implementation
  7300. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  7301. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  7302. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  7303. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  7304. * DataGridViewRowCollection.cs: DataGridView implementation
  7305. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  7306. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  7307. * DataGridViewHitTestType.cs: DataGridView implementation
  7308. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  7309. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  7310. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  7311. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  7312. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  7313. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  7314. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  7315. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  7316. * DataGridViewContentAlignment.cs: DataGridView implementation
  7317. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  7318. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  7319. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  7320. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  7321. * DataGridViewPaintParts.cs: DataGridView implementation
  7322. * DataGridViewCellCollection.cs: DataGridView implementation
  7323. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  7324. * DataGridViewImageColumn.cs: DataGridView implementation
  7325. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  7326. * DataGridViewElementStates.cs: DataGridView implementation
  7327. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  7328. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  7329. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  7330. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  7331. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  7332. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  7333. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  7334. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  7335. * DataGridViewTextBoxCell.cs: DataGridView implementation
  7336. * DataGridViewBand.cs: DataGridView implementation
  7337. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  7338. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  7339. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  7340. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  7341. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  7342. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  7343. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  7344. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  7345. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  7346. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  7347. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  7348. 2005-11-08 Peter Dennis Bartok <[email protected]>
  7349. * ThemeWin32Classic.cs:
  7350. - Draw the outside focus rectangle around buttons
  7351. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  7352. doesn't use end caps for every dash of a line anymore. This
  7353. workaround ignores the forecolor.
  7354. 2005-11-08 Kornél Pál <[email protected]>
  7355. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  7356. endian safe.
  7357. 2005-11-07 Jackson Harper <[email protected]>
  7358. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  7359. 2005-11-07 Jackson Harper <[email protected]>
  7360. * ScrollableControl.cs: Calculate the maximum and change vars
  7361. (more) correctly so that scrollbars appear as a sensible size.
  7362. 2005-11-04 Jackson Harper <[email protected]>
  7363. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  7364. collection.
  7365. * TreeView.cs: When the tree is sorted null out the top_node so
  7366. that it is recalculated.
  7367. - Use dotted lines instead of dashed lines to match MS better.
  7368. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  7369. * ListView.cs:
  7370. - Implements key search for items. Useful when browsing files with FileDialog
  7371. - When changing view mode or when clear the items reset scrollbar positions
  7372. 2005-11-04 Jackson Harper <[email protected]>
  7373. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  7374. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  7375. as to what the method may do as there is no real way of creating a
  7376. derived CurrencyManager and calling the method.
  7377. 2005-11-03 Jackson Harper <[email protected]>
  7378. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  7379. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  7380. method which seems to just be used internally to refresh the tabs.
  7381. 2005-11-03 Jackson Harper <[email protected]>
  7382. * TabControl.cs: Implement the remove method. Fix some broken
  7383. comments.
  7384. 2005-11-03 Peter Dennis Bartok <[email protected]>
  7385. * DateTimePicker.cs:
  7386. - Added missing DateTimePickerAccessibleObject class
  7387. - Added missing events
  7388. - Added OnFontChanged method
  7389. * Form.cs: Added missing attributes
  7390. * TreeView.cs: Added missing attributes
  7391. 2005-11-03 Peter Dennis Bartok <[email protected]>
  7392. * GridItemCollection.cs: Fix signatures
  7393. 2005-11-03 Peter Dennis Bartok <[email protected]>
  7394. * XplatUI.cs: Updated build rev/date
  7395. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  7396. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  7397. * Application.cs: Trigger context-specific ExitThread events
  7398. 2005-11-03 Jackson Harper <[email protected]>
  7399. * Menu.cs:
  7400. * MainMenu.cs:
  7401. * GridTableStylesCollection.cs:
  7402. * Timer.cs:
  7403. * TabPage.cs:
  7404. * HelpProvider.cs:
  7405. * StatusBar.cs:
  7406. * MonthCalendar.cs: Signature fixes
  7407. 2005-11-03 Jackson Harper <[email protected]>
  7408. * TreeNodeCollection.cs: Remove should not be virtual.
  7409. * TreeView.cs: Implement the last of the missing methods.
  7410. 2005-11-03 Jackson Harper <[email protected]>
  7411. * TreeNodeConverter.cs: Implement to get off my class-status back.
  7412. 2005-11-03 Jackson Harper <[email protected]>
  7413. * TreeView.cs: Hookup the bits for drag and drop.
  7414. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  7415. that nodes can be moved from tree to tree easily this just causes
  7416. all sorts of problems.
  7417. * TreeNodeCollection: Don't need to give treenodes an index and
  7418. treeview anymore when they are added, these are computed on the
  7419. fly. Also make sure to remove a node before its added.
  7420. 2005-11-03 Peter Dennis Bartok <[email protected]>
  7421. * TextControl.cs:
  7422. - Added CaretSelection enum
  7423. - Added comparison methods to Marker struct, makes selection code
  7424. more readable
  7425. - Added SelectionStart and SelectionEnd as 'moveable' location for
  7426. the CaretDirection enum and handler
  7427. - Added selection_prev variable to track optimized invalidation for
  7428. word and line selection
  7429. - Added SelectionVisible property (returns true if there is a valid
  7430. selection)
  7431. - Switched CaretHasFocus to only display the caret if there is no
  7432. visible selection
  7433. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  7434. using the direct character index; should be much faster
  7435. - Added various conditional debug statements
  7436. - Fixed invalidation calculation for selection ranges
  7437. - Added ExpandSelection() method to support word and line selection
  7438. - Switched SetSelectionToCaret to use new Marker compare overloads
  7439. - Added central IsWordSeparator() method to determine word
  7440. separators/whitespace and FindWordSeparator() to streamline common
  7441. usage of IsWordSeparator()
  7442. * TextBoxBase.cs:
  7443. - Removed unneeded grabbed variable, it was just mirroring
  7444. Control.Capture
  7445. - No longer firing OnTextChanged event when Text setter is called,
  7446. since the base will fire the event for us
  7447. - Added handling of Ctrl-Up/Down selection
  7448. - Added handling of Shift-Cursorkey selection
  7449. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  7450. words
  7451. - Added handling of Shift and Ctrl-Shift-Home/End selection
  7452. - Removed some debug output
  7453. - Added handling for single/double/tripple-click to place caret/
  7454. select word/select line respectively (Fixes bug #76031)
  7455. - Added support for drag expansion of word/line selection
  7456. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  7457. current selection
  7458. 2005-11-02 Jackson Harper <[email protected]>
  7459. * X11Dnd.cs: If the drag is going to and from a MWF window just
  7460. copy the data instead of sending it out through the X Selection
  7461. mechanism.
  7462. 2005-11-02 Jackson Harper <[email protected]>
  7463. * X11Dnd.cs:
  7464. * XplatUIX11.cs: When in a drag we don't want motion notify
  7465. messages to get passed on to the other controls. This prevents
  7466. mouse move messages from showing up in the drag source.
  7467. 2005-11-02 Jackson Harper <[email protected]>
  7468. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  7469. the correct button is release to end a drag.
  7470. * XplatUIX11.cs: Make the button state internal so the drag system
  7471. can access it. Dragging needs to know about all button releases,
  7472. not just left button.
  7473. 2005-11-02 Miguel de Icaza <[email protected]>
  7474. * Form.cs (Icon): If the icon is null, reset the icon to the
  7475. default value.
  7476. * Cursor.cs: When writing the AND-mask bitmap do not include the
  7477. number of colors, but hardcode those to two (black and white),
  7478. fixes the loading of color cursors (Paint Dot Net).
  7479. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  7480. turn off autoscaling.
  7481. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  7482. 2005-11-02 Jackson Harper <[email protected]>
  7483. * X11Dnd.cs: Make sure to send a status message if the pointer
  7484. enters a control that can not accept a drop, otherwise the cursor
  7485. isn't updated correctly. Also tried to compress the lines of code
  7486. a bit.
  7487. 2005-11-02 Jackson Harper <[email protected]>
  7488. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  7489. set actions correctly. This isn't perfect as XDND and win32 have
  7490. some differences on how you allow actions. I'll clear this up by
  7491. adding a path for drag from MWF to MWF windows.
  7492. * XplatUIX11.cs: Hook into the dnd system.
  7493. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  7494. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  7495. previously shown but they are no longer need it. Very obvious when
  7496. browsing files with FileDialog.
  7497. 2005-11-01 Peter Dennis Bartok <[email protected]>
  7498. * Control.cs: We always need to call OnPaintBackground. We pretty much
  7499. ignore AllPaintingInWmPaint and always do the painting there, whether
  7500. it's set or not, since we always ignore the WM_ERASEBKGND message
  7501. (which we don't generate on X11). This fixes #76616.
  7502. * Panel.cs: Removed unneeded background painting. This happens properly
  7503. in Control.cs already
  7504. 2005-10-31 Mike Kestner <[email protected]>
  7505. * Menu.cs: Add items to collection before setting their index.
  7506. * MenuItem.cs : add range checking with ArgumentException like MS.
  7507. [Fixes #76510]
  7508. 2005-10-31 Jackson Harper <[email protected]>
  7509. * ListBox.cs: Invalidate if the area is visible at all not just
  7510. contained in the visible rect. Fixes unselection of semi visible
  7511. items.
  7512. 2005-10-31 Jackson Harper <[email protected]>
  7513. * Control.cs: Consistently name the dnd methods. Make them
  7514. internal so we can override them to match some MS behavoir
  7515. internally.
  7516. * Win32DnD.cs: Use the new consistent names.
  7517. 2005-10-31 Jackson Harper <[email protected]>
  7518. * TreeView.cs: Don't draw the selected node when we lose focus.
  7519. 2005-10-31 Jackson Harper <[email protected]>
  7520. * X11Dnd.cs: We still need to reset the state even though a full
  7521. reset isn't being done, otherwise status's still get sent all over
  7522. the place.
  7523. 2005-10-31 Jackson Harper <[email protected]>
  7524. * Control.cs: Make the dnd_aware flag internal so the dnd
  7525. subsystem can check it. Catch exceptions thrown in dnd handlers to
  7526. match MS behavoir.
  7527. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  7528. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  7529. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  7530. flags to reduce the number of dnd enters/status's sent.
  7531. 2005-10-31 Jackson Harper <[email protected]>
  7532. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  7533. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  7534. * PictureBox.cs: Fixes 76512
  7535. 2005-10-28 Jackson Harper <[email protected]>
  7536. * X11Dnd.cs: Early implementation to support winforms being a drag
  7537. source for data on X11. Also restructured the converters so they
  7538. can go both ways now.
  7539. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  7540. 2005-10-27 Peter Dennis Bartok <[email protected]>
  7541. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  7542. clipboard requests
  7543. 2005-10-27 Jackson Harper <[email protected]>
  7544. * TreeNode.cs: Implement serialization so my DnD examples will work.
  7545. 2005-10-24 Kornél Pál <[email protected]>
  7546. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  7547. TreeView.cs: Don't dispose objects that are not owned.
  7548. 2005-10-24 Peter Dennis Bartok <[email protected]>
  7549. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  7550. should retrieve the current cursor and report that, but XplatUI
  7551. doesn't (yet) have an interface for that (and I'm not sure I even
  7552. can, on X11)
  7553. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  7554. until any message loop processing is done (and the WM_SETCURSOR
  7555. replaces the cursor to the proper one)
  7556. * XplatUIX11.cs:
  7557. - Fixed override behaviour, we can't set the cursor globally on X11,
  7558. just for our windows.
  7559. - Invalidating the System.Drawing X11 display handle when we are
  7560. shutting down
  7561. * Control.cs: Fix to make csc happy
  7562. 2005-10-23 Peter Dennis Bartok <[email protected]>
  7563. * TextBoxBase.cs:
  7564. - get_Text: Add last line (without trailing newline) to returned
  7565. value (Fixes 76212)
  7566. - get_TextLength: Count last line in returned length
  7567. - ToString: Call Text property instead of duplicating code
  7568. 2005-10-23 Kornél Pál <[email protected]>
  7569. * ImageList.cs: Dispose ImageAttributes objects.
  7570. 2005-10-22 Kornél Pál <[email protected]>
  7571. * ImageList.cs: Use attribute constructors with less arguments where
  7572. possible.
  7573. 2005-10-22 Kornél Pál <[email protected]>
  7574. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  7575. Use typeof instead of strings when assembly is referenced. Added
  7576. some more comments.
  7577. 2005-10-21 Jackson Harper <[email protected]>
  7578. * ListView.cs: Raise a double click event. Also tried to somewhat
  7579. fix when the selectedindexchanged event is raised. Its still
  7580. broken though.
  7581. 2005-10-21 Jackson Harper <[email protected]>
  7582. * TreeView.cs: New method to invalidate the plus minus area of a
  7583. node without invalidating the whole node (maybe this can be used
  7584. in some more places).
  7585. * TreeNodeCollection.cs: When adding to an empty node we need to
  7586. invalidate its plus minus area so the little block shows up.
  7587. 2005-10-21 Jackson Harper <[email protected]>
  7588. * TreeView.cs: Make sure that when we invalidate a node the bounds
  7589. are big enough to cover the selected box and the focus
  7590. rectangle. Use a different colour for the lines connecting nodes
  7591. so they show up with all themes.
  7592. 2005-10-21 Peter Dennis Bartok <[email protected]>
  7593. * NativeWindow.cs: Don't call anything that could call into the driver,
  7594. we might be on a different thread.
  7595. 2005-10-21 Peter Dennis Bartok <[email protected]>
  7596. * Control.cs(Dispose): Since Dispose might run on a different thread,
  7597. make sure that we call methods that could call into the driver via
  7598. invoke, to avoid thread issues
  7599. 2005-10-21 Peter Dennis Bartok <[email protected]>
  7600. * XplatUI.cs: Removed finalizer
  7601. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  7602. not allowing to be called on the finalizer thread.
  7603. 2005-10-21 Kornél Pál <[email protected]>
  7604. * ImageList.cs:
  7605. - Reverted r51889 and r51891.
  7606. - Added ImageListItem class that stores unmodified image items and image
  7607. properties required to create list images until handle is created.
  7608. - Added AddItem and moved image creation logic to AddItemInternal.
  7609. - Added CreateHandle method that creates images based on unmodified items.
  7610. - Added DestroyHandle that changes state to store unmodified items.
  7611. - Add and AddStrip methods no more create handle.
  7612. - ReduceColorDepth has no return value.
  7613. - Dispose destroys handle.
  7614. - Modified other methods to reflect the above changes.
  7615. - Implemented key support.
  7616. - Added profile 2.0 members and attributes.
  7617. - Added private Reset and ShouldSerialize methods that provide the same
  7618. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  7619. them as they are private.
  7620. - Added some more comments about implementation details.
  7621. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  7622. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  7623. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  7624. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  7625. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  7626. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  7627. * DataGridColumnStyle.cs: Remove debug message
  7628. 2005-10-20 Jackson Harper <[email protected]>
  7629. * TreeView.cs: We can always get input keys regardless of whether
  7630. or not editing is enabled. They are used for navigation.
  7631. 2005-10-20 Jackson Harper <[email protected]>
  7632. * TreeNode.cs: Use the viewport rect for determining if a node
  7633. needs to be moved for visibility. Don't use Begin/End edit. This
  7634. calls a full refresh when its done.
  7635. * TreeView.cs: New SetBottom works correctly. Make the viewport
  7636. rect property internal so the treenodes can see it. When clicking
  7637. on a node we need to ensure that its visible because it might just
  7638. be partly visible when clicked.
  7639. 2005-10-20 Jackson Harper <[email protected]>
  7640. * TreeNodeCollection.cs: Remove debug code.
  7641. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  7642. * Datagrid.cs: Implements column sorting in Datagrid
  7643. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  7644. 2005-10-20 Jackson Harper <[email protected]>
  7645. * TreeNodeCollection.cs: Remove items properly. Update the correct
  7646. area after removing them.
  7647. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  7648. * Datagrid.cs: Should not call base.OnPaintBackground
  7649. 2005-10-20 Peter Dennis Bartok <[email protected]>
  7650. * XplatUIX11.cs (GetMessage):
  7651. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  7652. window instead of client window
  7653. - Now properly calculates NC_xBUTTONUP message coordinates
  7654. - ScreenToMenu now properly calculates it's coordinates of whole
  7655. window, since menus are in the whole window, not in the client
  7656. window
  7657. - Added WholeToScreen coordinate translation method
  7658. 2005-10-20 Peter Dennis Bartok <[email protected]>
  7659. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  7660. want to return a message, loop back to the beginning of the function
  7661. and grab the next real message to process instead.
  7662. 2005-10-20 Peter Dennis Bartok <[email protected]>
  7663. * Splitter.cs: Properly set limits if no filler control is used
  7664. 2005-10-19 Jackson Harper <[email protected]>
  7665. * ColorDialog.cs: Don't show the help button if it is not enabled
  7666. instead of disabling it (this is what MS does). Don't create the
  7667. panel until the dialog is run, otherwise the vars (such as
  7668. ShowHelp) are not set yet.
  7669. 2005-10-19 Jackson Harper <[email protected]>
  7670. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  7671. are reduced when adding nodes.
  7672. * TreeNode.cs:
  7673. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  7674. tree.
  7675. 2005-10-19 Jackson Harper <[email protected]>
  7676. * FolderBrowserDialog.cs: End editing our treeview so the window
  7677. actually gets refreshed.
  7678. 2005-10-18 Peter Dennis Bartok <[email protected]>
  7679. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  7680. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  7681. inside of WM_PAINT
  7682. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  7683. * MenuAPI.cs: Returns after Hidding window
  7684. * XplatUIX11.cs: Added TODO found while debugging menu issues
  7685. 2005-10-18 Peter Dennis Bartok <[email protected]>
  7686. * XplatUIX11.cs: Do not re-map the whole window when it's size
  7687. becomes non-zero unless it's supposed to be actually visible
  7688. 2005-10-18 Jackson Harper <[email protected]>
  7689. * TreeView.cs: We don't need to keep a count anymore.
  7690. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  7691. use the Grow method.
  7692. 2005-10-18 Jackson Harper <[email protected]>
  7693. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  7694. implement it manually here.
  7695. 2005-10-18 Jackson Harper <[email protected]>
  7696. * ImageList.cs: Dont kill the list when the colour depth is
  7697. changed, just change the colour depth of all the images.
  7698. - Same goes for setting the image size. Just resize them all
  7699. instead of killing the list softly.
  7700. 2005-10-18 Jackson Harper <[email protected]>
  7701. * Control.cs: Don't invalidate empty rectangles.
  7702. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  7703. * ListViewItem.cs:
  7704. - Adds checked item to the Checked/Item lists (where empty before)
  7705. - Do not add items to the Selected lists if they are already present
  7706. * ListView.cs:
  7707. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  7708. - When deleting items make sure that we delete them for the Selected
  7709. and Checked list also.
  7710. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  7711. * Label.cs: Dispose objects no longer used
  7712. * ThemeWin32Classic.cs: Dispose objects no longer used
  7713. 2005-10-18 Jackson Harper <[email protected]>
  7714. * TabControl.cs: Don't refresh the whole control when the tabs are
  7715. scrolled, we just need to refresh the tab area.
  7716. 2005-10-17 Jackson Harper <[email protected]>
  7717. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  7718. after handle when we need it.
  7719. 2005-10-17 Peter Dennis Bartok <[email protected]>
  7720. * Control.cs: When the parent size changes, recalculate anchor
  7721. positions. Partial fix for #76462
  7722. 2005-10-17 Peter Dennis Bartok <[email protected]>
  7723. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  7724. drawn. Fixes #76462
  7725. 2005-10-17 Jackson Harper <[email protected]>
  7726. * MonthCalendar.cs: Don't create the numeric up down until our
  7727. handle is created. Otherwise our handle is created in the
  7728. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  7729. yet.
  7730. 2005-10-17 Jackson Harper <[email protected]>
  7731. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  7732. correctly.
  7733. 2005-10-17 Rafael Teixeira <[email protected]>
  7734. * TreeNode.cs : small logical fix (was using local var instead of field)
  7735. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  7736. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  7737. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  7738. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  7739. 2005-10-16 Peter Dennis Bartok <[email protected]>
  7740. * Control.cs:
  7741. - Re-implemented anchoring code. My first version was really broken.
  7742. This fixes bug #76033. Unlike the previous implementation we will
  7743. no longer have round errors since all numbers are calculated from
  7744. scratch every time. Removed various anchor-related obsolete vars.
  7745. - InitLayout no longer causes layout event firing and layout to be
  7746. performed
  7747. 2005-10-16 Jackson Harper <[email protected]>
  7748. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  7749. which was broken).
  7750. 2005-10-16 Jackson Harper <[email protected]>
  7751. * TabControl.cs: Remove debug code.
  7752. 2005-10-16 Jackson Harper <[email protected]>
  7753. * XEventQueue.cs: Increase the default queue size (very simple
  7754. apps needed to grow the queue).
  7755. * Hwnd.cs: No finalizer so we don't need to suppress
  7756. finalization. Compute the invalid area manually so a new rectangle
  7757. does not newto be created.
  7758. * ScrollableControl.cs: Don't set any params (otherwise visibility
  7759. isn't set correctly).
  7760. * MdiChildContext.cs: New constructor takes the mdi parent so it
  7761. doesn't have to be computed and avoids a crash on windows. Draw
  7762. the window icon properly, and allow the text to be seen.
  7763. * Form.cs: Use new MdiChildContext constructor. Make sure the
  7764. child context isn't null in wndproc.
  7765. * TabControl.cs: Don't set focus, this is muddling keyboard
  7766. behavoir. Expand the tab rows when a window size increase will
  7767. allow extra tabs to be seen. Don't allow tabs smaller than the
  7768. width of a window to be scrolled out of view.
  7769. * TreeNode.cs:
  7770. * TreeView.cs: Use measure string to calculate a nodes width, the
  7771. width is cached and only updated when the text or the font is
  7772. changed. Don't check for expand/collapse clicks on the first level
  7773. nodes if root lines are disabled.
  7774. 2005-10-16 Ritvik Mayank <[email protected]>
  7775. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  7776. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  7777. * DataGridBoolColumn.cs: fixes warning
  7778. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  7779. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  7780. to match more to match more precisely the MS Net behavior
  7781. 2005-10-13 Peter Dennis Bartok <[email protected]>
  7782. * Hwnd.cs: Added field to track if window is mapped
  7783. * XplatUIX11.cs:
  7784. - Unmap windows if they become 0-size, re-map when
  7785. they are >0 again; fixes #76035
  7786. - Re-set our error handler after initializing X11Desktop
  7787. to override any error handlers Gtk or whatever was called
  7788. may have set.
  7789. 2005-10-13 Peter Dennis Bartok <[email protected]>
  7790. * CheckedListBox.cs: Removed unused vars
  7791. * ListView.cs: Fixed signatures
  7792. * RichTextBox.cs: Removed unused vars
  7793. * TextBoxBase.cs: Removed unused vars
  7794. * XplatUIWin32.cs: Removed unused vars
  7795. * XplatUIX11.cs: Removed unused vars
  7796. * XplatUI.cs: Updated version and date to latest published
  7797. 2005-10-13 Peter Dennis Bartok <[email protected]>
  7798. * Cursor.cs: Added private .ctor to work around a bug in
  7799. resourceset (Thanks to Geoff Norton for the help on this)
  7800. * SplitterEventArgs.cs: Made fields accessible so we don't
  7801. waste boatloads of objects and can reuse the same one
  7802. in Splitter
  7803. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  7804. any captions and borders when generating screen coordinates
  7805. * Splitter.cs: Reimplemented control, now fully complete, uses
  7806. rubberband drawing, supports and obeys all properties, has
  7807. proper cursors
  7808. 2005-10-13 Miguel de Icaza <[email protected]>
  7809. * Form.cs (Form): Setup default values for autoscale and
  7810. autoscale_base_size; Make these instance variables, not static
  7811. variables.
  7812. (OnLoad): on the first load, adjust the size of the form.
  7813. 2005-10-13 Peter Dennis Bartok <[email protected]>
  7814. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  7815. width argument to DrawReversibleRectangle()
  7816. * XplatUIWin32.cs, XplatUIX11.cs:
  7817. - Implemented width for DrawReversibleRectangle()
  7818. - Added logic to DrawReversibleRectangle that recognizes a zero
  7819. width or height and only draws a line in that situation
  7820. 2005-10-12 Peter Dennis Bartok <[email protected]>
  7821. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  7822. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  7823. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  7824. method (it uses our FosterParent window to get a graphics context)
  7825. 2005-10-12 Peter Dennis Bartok <[email protected]>
  7826. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  7827. and SetWindowBackground methods
  7828. * Control.cs:
  7829. - Setting proper ControlStyles
  7830. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  7831. EraseWindowBackground, instead we draw the window background
  7832. ourselves in PaintControlBackground. This behaviour is
  7833. required to match MS, where, when OnPaintBackground is not
  7834. called, the background is not drawn.
  7835. - Removed unneeded Refresh() in set_Text
  7836. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  7837. * XplatUIX11.cs:
  7838. - Created DeriveStyles method to translate from CreateParams to
  7839. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  7840. matches FormBorderStyle enum values)
  7841. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  7842. style calculations into single DeriveStyles method
  7843. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  7844. from redrawing the whole window on any resize or expose.
  7845. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  7846. all styles were applied to our whole/client window appropriately
  7847. - Removed EraseWindowBackground() and SetWindowBackground() methods
  7848. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  7849. no longer clear/redraw the background through X
  7850. - Removed handling of erase_pending bit, we have no use for it (or
  7851. so it seems)
  7852. * XplatUIOSX.cs:
  7853. - Removed generation and handling of WM_ERASEBKGND message
  7854. - Removed EraseWindowBackground() and SetWindowBackground() methods
  7855. - Removed handling of hwnd.ErasePending flag
  7856. * XplatUIWin32.cs:
  7857. - Removed EraseWindowBackground() and SetWindowBackground() methods
  7858. - We no longer call EraseWindowBackground on PaintEventStart, we
  7859. ignore the fErase flag, erasing is handled in Control in the
  7860. background handler
  7861. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  7862. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  7863. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  7864. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  7865. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  7866. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  7867. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  7868. 2005-10-12 Jonathan Chambers <[email protected]>
  7869. * PropertyGrids.cs: Get sub properties
  7870. * PropertyGridView.cs: Fix drawing code
  7871. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  7872. * ListBox.cs: Fixes 76383
  7873. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  7874. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  7875. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  7876. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  7877. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  7878. * ComboBox.cs: Fixes border drawing
  7879. 2005-10-10 Miguel de Icaza <[email protected]>
  7880. * MimeIcon.cs: Ignore errors if the file can not be read.
  7881. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  7882. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  7883. - Fixed border calculations
  7884. - Fixed horizontal scrolling in single column listboxes
  7885. - Fixed drawing issues
  7886. 2005-10-10 Peter Dennis Bartok <[email protected]>
  7887. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  7888. FormBorderStyle enum
  7889. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  7890. code to determine FormBorderStyles from CreateParams
  7891. * Form.cs:
  7892. - Fixed bug where we'd set the wrong window styles if we were
  7893. not creating an MDI window
  7894. - Added call to XplatUI.SetBorderStyle when form borders are set
  7895. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  7896. * Hwnd.cs:
  7897. - Removed obsolete edge style
  7898. - Switched from BorderStyle to FormBorderStyle
  7899. 2005-10-10 Jackson Harper <[email protected]>
  7900. * Form.cs: Use the property to get the window handle instead of
  7901. accessing it directly. Prevents a null reference exception.
  7902. 2005-10-10 Jackson Harper <[email protected]>
  7903. * TreeView.cs: Don't adjust the rect given to DrawString now that
  7904. our libgdiplus draws correctly.
  7905. 2005-10-08 Jackson Harper <[email protected]>
  7906. * TreeView.cs: Don't try to find the clicked on node if there are
  7907. no nodes in the tree.
  7908. 2005-10-08 Alexander Olk <[email protected]>
  7909. * RichTextBox.cs:
  7910. restore
  7911. 2005-10-08 Alexander Olk <[email protected]>
  7912. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  7913. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  7914. ErrorProvider.cs:
  7915. Use ResPool for brushes and dispose System.Drawing objects that
  7916. are not used anymore.
  7917. 2005-10-07 Jackson Harper <[email protected]>
  7918. * MdiChildContext.cs: Use the new borders instead of drawing them
  7919. ourselves.
  7920. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  7921. * Calling UpdateBounds after changing the window's BorderStyle
  7922. since the style can change the ClientSize
  7923. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7924. * Control.cs: Made PaintControlBackground virtual
  7925. * Panel.cs: Overriding PaintControlBackground instead of using paint
  7926. event; paint event method was interfering with 'real' users of the
  7927. event.
  7928. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  7929. * ThemeWin32Classic.cs: remove border drawing since it is handled
  7930. by the base control class now and was causing double border drawing.
  7931. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7932. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  7933. but it does seem to match MS behaviour. This fixes bug #75324
  7934. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7935. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  7936. somewhat hackish looking
  7937. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7938. * TextBoxBase.cs:
  7939. - We now accept Enter even if AcceptEnter is false, if the containing
  7940. form does not have an AcceptButton configured (fixes bug #76355)
  7941. - Calculations are now fixed to no longer use Width/Height, but
  7942. ClientSize.Width/Height, since we now support borders (this was
  7943. a result of fixing borders and therefore bug #76166)
  7944. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  7945. true (fixes bug #76354)
  7946. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7947. * Control.cs:
  7948. - Defaulting BorderStyle and setting it in XplatUI when our window
  7949. is created
  7950. - Added enum check to InternalBorderStyle setter
  7951. * XplatUIX11.cs:
  7952. - Added drawing of window borders
  7953. - Now properly calculates WM decorations offset for toplevel
  7954. windows (fixes bug #74763)
  7955. * XplatUIWin32.cs:
  7956. - Implemented BorderStyles for windows (we're letting win32 draw
  7957. the border for us)
  7958. - Fixed the signature for SetWindowLong
  7959. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  7960. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  7961. setting borders
  7962. * UpDownBase.cs: Remove drawing of borders, this is handled by
  7963. the driver, outside the client area
  7964. * ListView.cs: Removed bogus border calculations. The control should
  7965. be oblivious to borders, since those are not part of the client
  7966. area.
  7967. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  7968. * ThemeWin32Classic.cs: Removed border calculations from ListView
  7969. drawing code
  7970. 2005-10-06 Jackson Harper <[email protected]>
  7971. * MdiChildContext.cs: Clear out the old virtual position remove
  7972. all the unneeded calls to CreateGraphics.
  7973. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7974. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  7975. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7976. * Form.cs:
  7977. - Added loading and setting of our new default icon
  7978. - Only set icon if window is already created
  7979. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7980. * Label.cs:
  7981. - Do not explicitly set the foreground and background colors, to
  7982. allow inheriting from parents (fixes #76302)
  7983. - Use Control's InternalBorderStyle property to deal with borders
  7984. 2005-10-06 Jackson Harper <[email protected]>
  7985. * MdiChildContext.cs: Use the new xplatui function to draw a
  7986. reversible rect.
  7987. 2005-10-06 Jackson Harper <[email protected]>
  7988. * Form.cs: Add the parent before creating the child context cause
  7989. we need the parent when setting up the child.
  7990. 2005-10-06 Jackson Harper <[email protected]>
  7991. * FolderBrowserDialog.cs: redo the tree population code so a
  7992. second thread isn't used. Should be a lot faster and more stable
  7993. now.
  7994. 2005-10-05 Jackson Harper <[email protected]>
  7995. * TreeView.cs: There are no expand/collapse boxes if the node has
  7996. no children.
  7997. 2005-10-05 Jackson Harper <[email protected]>
  7998. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  7999. 2005-10-05 Alexander Olk <[email protected]>
  8000. * FileDialog.cs: Fix InitialDirectory
  8001. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  8002. * ComboBox.cs:
  8003. - Fixes changing between styles
  8004. - Fixes simple mode
  8005. - Fixes last item crashing when navigating with keyboard
  8006. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  8007. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  8008. 2005-10-05 Jackson Harper <[email protected]>
  8009. * TreeView.cs: If updating the root node do a full refresh.
  8010. * TreeNode.cs: The root node should be expanded by default. Also
  8011. added a utility prop to tell if we are the root node.
  8012. * TreeNodeCollection.cs: Only refresh if the node we are being
  8013. added to is expanded. Also added a comment on a potential
  8014. optimization.
  8015. 2005-10-04 Peter Dennis Bartok <[email protected]>
  8016. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  8017. in dispose method. Fixes #76330
  8018. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  8019. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  8020. - Implements vertical and horizontal scrolling using XplatUI
  8021. - Fixes keyboard navagation
  8022. - Fixes EnsureVisible
  8023. - Drawing fixes
  8024. - Handles and draws focus properly
  8025. 2005-10-04 Kornél Pál <[email protected]>
  8026. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  8027. Create handle. NET_2_0: Destroy handle when value is null.
  8028. 2005-10-03 Jackson Harper <[email protected]>
  8029. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  8030. revert and a new patch to prevent the thumb from refreshing so
  8031. much.
  8032. 2005-10-02 Jackson Harper <[email protected]>
  8033. * ScrollBar.cs: Don't update position if it hasn't actually
  8034. changed. This occurs when you hold down the increment/decrement
  8035. buttons and the thumb gets to the max/min.
  8036. 2005-10-01 Jackson Harper <[email protected]>
  8037. * Form.cs:
  8038. * MdiChildContext.cs:
  8039. * MdiClient.cs: Implement ActiveMdiChild in Form.
  8040. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  8041. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  8042. 2005-10-01 Peter Dennis Bartok <[email protected]>
  8043. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  8044. be found
  8045. 2005-09-30 Jackson Harper <[email protected]>
  8046. * ListBox.cs: Don't do a full refresh unless some data has
  8047. actually changed.
  8048. 2005-09-30 Jackson Harper <[email protected]>
  8049. * TreeView.cs: Make sure that the checkboxes size is factored in
  8050. even when not visible.
  8051. 2005-09-30 Peter Dennis Bartok <[email protected]>
  8052. * FileDialog.cs: Fix Jordi's build break
  8053. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  8054. * FileDialog.cs:
  8055. - Use standard the Windows colours for the combobox as espected
  8056. - Dispose objects that use resouces when no longer need them
  8057. 2005-09-30 Peter Dennis Bartok <[email protected]>
  8058. * X11DesktopColors.cs: Initial incomplete implementation
  8059. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  8060. 2005-09-30 Peter Dennis Bartok <[email protected]>
  8061. * Theme.cs:
  8062. - Switched Theme color names to match the names defined in
  8063. System.Drawing.KnownColors. Life's hard enough, no need to make
  8064. it harder.
  8065. - Added setters to all theme color properties so themes can set
  8066. their color schemes. The setters also propagate the color changes
  8067. to System.Drawing.KnownColors via reflection
  8068. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  8069. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  8070. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  8071. use the new, more logical theme color names
  8072. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  8073. post-NT colors
  8074. * ThemeWin32Classic.cs:
  8075. - Removed code to set the old classic Windows colors. Instead it
  8076. now relies on the colors returned by System.Drawing.KnownColors
  8077. which will be either modern static colors (Unix) or colors
  8078. read from the user's configuration (Win32)
  8079. - Updated to use the new, more logical theme color names
  8080. - Switched DataGrid drawing code to use only Theme colors instead of
  8081. a mix of System.Drawing.KnownColors and Theme colors
  8082. - DrawFrameControl(): Removed code that fills the button area, the
  8083. fill would overwrite any previous fill done by a control. This
  8084. fixes bug #75338
  8085. - Added DrawReversibleRectangle() stub
  8086. * ScrollableControl.cs: Set visible state to false when scrollbars
  8087. are removed (pdn fix)
  8088. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  8089. DrawReversibleRectangle() method to allow drawing primitive
  8090. 'rubber bands'
  8091. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  8092. 2005-09-30 Kornél Pál <[email protected]>
  8093. * ImageList.cs: Add(Icon): Create handle.
  8094. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  8095. * ListView.cs:
  8096. * ThemeWin32Classic.cs:
  8097. - Fixes detail mode
  8098. - Sets clippings
  8099. - Issues with drawing
  8100. 2005-09-30 Kornél Pál <[email protected]>
  8101. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  8102. source has to be the ImageList.
  8103. 2005-09-30 Kornél Pál <[email protected]>
  8104. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  8105. 2005-09-30 Kornél Pál <[email protected]>
  8106. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  8107. 2005-09-30 Kornél Pál <[email protected]>
  8108. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  8109. 2005-09-29 Jonathan Chambers <[email protected]>
  8110. * GridItem.cs: Fixed TODOs
  8111. * GridItemCollection.cs: Added ICollection interface
  8112. 2005-09-30 Kornél Pál <[email protected]>
  8113. * ImageList.cs: Resize icons when needed.
  8114. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  8115. * ListViewItem.cs
  8116. - Fixes GetBounds and returns on screen rects
  8117. * ListView.cs:
  8118. - Fixes vertical and horzintal scrolling of items
  8119. * ThemeWin32Classic.cs:
  8120. - Fixes drawing
  8121. 2005-09-29 Raja R Harinath <[email protected]>
  8122. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  8123. 2005-09-29 Kornél Pál <[email protected]>
  8124. * ImageList.cs: Added comments about handle creation. Moved Handle,
  8125. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  8126. Handle is created in Add methods.
  8127. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  8128. * DataGridDrawingLogic.cs:
  8129. - Takes rows into account on Colum calculations
  8130. - Returns the column when clickig
  8131. * DataGrid.cs:
  8132. - Fixes default HitTestInfo values
  8133. - Fixes HitTestInfo.ToString
  8134. - Fixes ResetBackColor
  8135. 2005-09-28 Jackson Harper <[email protected]>
  8136. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  8137. sizing or cursor changes). Also added some temp code to draw the
  8138. titlebars text (Makes dev a little easier).
  8139. 2005-09-28 Kornél Pál <[email protected]>
  8140. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  8141. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  8142. * ListBox.cs: Fixes bug 76253
  8143. 2005-09-28 Kornél Pál <[email protected]>
  8144. * ImageList.cs: Added comments about the current implementation. Added
  8145. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  8146. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  8147. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  8148. with Bitmap.LockBits for better performance. Revised the whole file to
  8149. match MS.NET behaviour and provide better performance. Non-public
  8150. interface members are calling public members even when they throw
  8151. NotSupportedException for better maintainability. Moved ColorDepth,
  8152. ImageSize, ImageStream and TransparentColor implementations to
  8153. ImageCollection for better performance as these properties are not used
  8154. by ImageList.
  8155. * ImageListStreamer.cs: Added a new internal constructor that takes an
  8156. ImageList.ImageCollection and serializes Images based on
  8157. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  8158. match ImageList property name.
  8159. 2005-09-28 Kazuki Oikawa <[email protected]>
  8160. * ListBox.cs: Fixes IndexFromPoint for last item
  8161. 2005-09-27 Jackson Harper <[email protected]>
  8162. * Form.cs: Set the position of new mdi children correctly.
  8163. 2005-09-27 Jackson Harper <[email protected]>
  8164. * MdiClient.cs: New mdi children need to be added to the back of
  8165. the controls collection so the zorder is set correctly. Also add a
  8166. count of all the child windows that have been created.
  8167. 2005-09-27 Jackson Harper <[email protected]>
  8168. * Form.cs (CreateParams): Setup MDI forms correctly.
  8169. 2005-09-27 Jackson Harper <[email protected]>
  8170. * MdiChildContext.cs:
  8171. * MonthCalendar.cs:
  8172. * UpDownBase.cs:
  8173. * ListBox.cs:
  8174. * ListView.cs:
  8175. * TextBoxBase.cs:
  8176. * TreeView.cs:
  8177. * ScrollableControl.cs:
  8178. * ComboBox.cs: Add implicit controls using the new implict control
  8179. functionality in ControlCollection. Also try to block multiple
  8180. control add in a suspend/resume layout to save some cycles.
  8181. 2005-09-27 Jackson Harper <[email protected]>
  8182. * Control.cs: Add functionality to the controls collection to add
  8183. 'implicit controls' these are controls that are created by the
  8184. containing control but should not be exposed to the user. Such as
  8185. scrollbars in the treeview.
  8186. * Form.cs: The list var of the ControlsCollection is no longer
  8187. available because of the potential of implicit controls getting
  8188. ignored by someone accessing the list directly.
  8189. 2005-09-26 Peter Dennis Bartok <[email protected]>
  8190. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  8191. loose it's parent. (Fixed bug introduced in r49103 when we added
  8192. setting the child parent to null on Remove)
  8193. 2005-09-26 Gert Driesen <[email protected]>
  8194. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  8195. * Splitter.cs: Added missing attributes for BorderStyle property.
  8196. * TextBoxBase.cs: Marked Calculate* methods internal.
  8197. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  8198. MS.NET.
  8199. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  8200. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  8201. 2005-09-25 Jackson Harper <[email protected]>
  8202. * TreeView.cs: Update the node bounds correctly regardless of
  8203. whether the node is visible.
  8204. 2005-09-25 Jackson Harper <[email protected]>
  8205. * ImageList.cs: Don't dispose the image after it is added to the
  8206. image list. Only reformat images that need to be resized.
  8207. 2005-09-25 Jackson Harper <[email protected]>
  8208. * ImageList.cs: Don't set the format when changing the image.
  8209. 2005-09-25 Jackson Harper <[email protected]>
  8210. * TreeView.cs: We can't just assume the node has a font. Use the
  8211. treeviews font if no node font is available.
  8212. 2005-09-25 Jackson Harper <[email protected]>
  8213. * TreeView.cs: Allow the scrollbars to be reset with negative
  8214. values.
  8215. - Don't add scrollbars to negative sized windows.
  8216. 2005-09-23 Jackson Harper <[email protected]>
  8217. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  8218. old Mono.Posix. Also remove some stray code that shouldn't have
  8219. been committed.
  8220. 2005-09-23 Jackson Harper <[email protected]>
  8221. * TreeView.cs: Attempt at proper sizing of the horizontal
  8222. scrollbar. Also don't resize the scrollbars unless they are
  8223. visible.
  8224. 2005-09-23 Jackson Harper <[email protected]>
  8225. * TreeView.cs: We don't need to expand the invalid area when the
  8226. selection changes, as this is all drawn in the node's bounding
  8227. box. The area needs to be expanded (previous typo was contracting
  8228. it) when the focus rect moves.
  8229. 2005-09-23 Jackson Harper <[email protected]>
  8230. * TreeView.cs: Display the selection box under the correct
  8231. circumstances. We were rendering white text with no selection box
  8232. before.
  8233. 2005-09-23 Peter Dennis Bartok <[email protected]>
  8234. * TextControl.cs(Split): Now updates selection start/end if it points
  8235. into a line that's being split. Fixes a FIXME and bug #75258
  8236. 2005-09-23 Jackson Harper <[email protected]>
  8237. * Binding.cs:
  8238. * ListControl.cs: Don't use the path when retrieving binding
  8239. managers from the binding context. My bat sense tells me that the
  8240. path is only used on insertion.
  8241. 2005-09-22 Jackson Harper <[email protected]>
  8242. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  8243. 2005-09-22 Jackson Harper <[email protected]>
  8244. * Splitter.cs: There are special cursors used for splitting.
  8245. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  8246. 2005-09-22 Jackson Harper <[email protected]>
  8247. * Splitter.cs: Change the cursor appropriately when the splitter
  8248. is moused over, so the user actually knows there is a splitter
  8249. there.
  8250. 2005-09-22 Hisham Mardam Bey <[email protected]>
  8251. * Label.cs : Fix ToString method to give same output as MS.NET
  8252. 2005-09-22 Jackson Harper <[email protected]>
  8253. * TreeView.cs: Create the scrollbars when the handle is created
  8254. and add them right away, just make them invisble. Also account for
  8255. the window being shrunk vertically to the point that the vert
  8256. scrollbar needs to be added.
  8257. - Remove some 0.5 adjustments to get around anti aliasing issues.
  8258. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  8259. * MainMenu.cs: Fixes default value
  8260. * MenuItem.cs: Fixes default value
  8261. 2005-09-22 Kazuki Oikawa <[email protected]>
  8262. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  8263. 2005-09-21 Jackson Harper <[email protected]>
  8264. * Control.cs: Don't try to set the border style on the window if
  8265. it hasn't been created. When the window is created the border
  8266. style will be used.
  8267. 2005-09-21 Peter Dennis Bartok <[email protected]>
  8268. * Control.cs (Update): Don't call XplatUI if we don't have a
  8269. window handle yet
  8270. 2005-09-21 Peter Dennis Bartok <[email protected]>
  8271. * ContainerControl.cs: Instead of throwing an exception, print
  8272. a one-time warning about Validate not being implemented
  8273. * XplatUIWin32.cs: Removed debug output
  8274. 2005-09-21 Peter Dennis Bartok <[email protected]>
  8275. * Control.cs: Only set XplatUI background if we expect the windowing
  8276. system to handle the background. This stops controls that draw their
  8277. own background from flickering
  8278. * XplatUIX11.cs: Support custom visuals and colormaps for window
  8279. creation. This allows, amongst other things, using MWF X11 windows
  8280. with OpenGL.
  8281. 2005-09-21 Peter Dennis Bartok <[email protected]>
  8282. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  8283. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  8284. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  8285. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  8286. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  8287. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  8288. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  8289. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  8290. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  8291. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  8292. GridColumnStylesCollection.cs,
  8293. IDataGridColumnStyleEditingNotificationService.cs,
  8294. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  8295. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  8296. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  8297. TreeNodeCollection.cs, AmbientProperties.cs,
  8298. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  8299. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  8300. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  8301. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  8302. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  8303. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  8304. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  8305. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  8306. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  8307. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  8308. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  8309. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  8310. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  8311. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  8312. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  8313. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  8314. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  8315. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  8316. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  8317. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  8318. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  8319. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  8320. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  8321. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  8322. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  8323. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  8324. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  8325. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  8326. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  8327. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  8328. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  8329. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  8330. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  8331. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  8332. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  8333. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  8334. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  8335. 2005-09-21 Jackson Harper <[email protected]>
  8336. * TreeNode.cs: Call Before/After Expand not Collapse when
  8337. expanding.
  8338. 2005-09-20 Jackson Harper <[email protected]>
  8339. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  8340. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  8341. * ListViewItem.cs:
  8342. - Fixes bug 76120
  8343. - Fixes proper storing of subitems
  8344. - Fixes not updated items
  8345. 2005-09-20 Peter Dennis Bartok <[email protected]>
  8346. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  8347. things if our window handle isn't created yet. Also disabled
  8348. debug for TextBoxBase
  8349. 2005-09-20 Peter Dennis Bartok <[email protected]>
  8350. * MenuAPI.cs: Remove filtering of events to allow menu usage
  8351. 2005-09-20 Miguel de Icaza <[email protected]>
  8352. * Cursor.cs: Allow null to be passed to Cursor.Current.
  8353. 2005-09-20 Alexander Olk <[email protected]>
  8354. * ThemeWin32Classic.cs:
  8355. - Change some private methods/fields to protected virtual so that
  8356. they can be accessed and overriden in derived classes
  8357. - First refactoring of some methods. Derived themes now don't
  8358. need to duplicate the complete code from ThemeWin32Classic
  8359. * ThemeNice.cs:
  8360. - Added nice StatusBar
  8361. - Derive from ThemeWin32Classic and not Theme
  8362. - Removed duplicate ThemeWin32Classic code
  8363. 2005-09-20 Miguel de Icaza <[email protected]>
  8364. * Control.cs (ControlCollection.Add): If the value null is passed
  8365. the control is ignored.
  8366. Optimize this loop.
  8367. 2005-09-19 Peter Dennis Bartok <[email protected]>
  8368. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  8369. PostQuitMessage state.
  8370. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  8371. 2005-09-19 Peter Dennis Bartok <[email protected]>
  8372. * Application.cs: Our constructor will never get called, move
  8373. initialization to fields; fixes bug #75933
  8374. 2005-09-19 Hisham Mardam Bey <[email protected]>
  8375. * FileDialog.cs :
  8376. - Allow files to be selected properly using file name
  8377. combo box.
  8378. - Add ability to change diretory (absolute / relative)
  8379. using file name combo box.
  8380. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  8381. * ListBox.cs:
  8382. - Fixes Multicolumn listboxes item wrong calculations
  8383. - Allows to click when only one item is in the listbox
  8384. - Fixes crash when no items using keyboard navigation
  8385. 2005-09-16 Alexander Olk <[email protected]>
  8386. * ComboBox.cs: Reverted almost everything from the latest patch which
  8387. broke ComboBox
  8388. 2005-09-16 Kazuki Oikawa <[email protected]>
  8389. * ToolTip.cs:
  8390. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  8391. * ComboBox.cs:
  8392. - When DropDownStyle is Simple, it does not show scrollbar
  8393. to the last item of the list.
  8394. - When DropDownStyle is Simple, it crashed when the list was
  8395. scrolled down with the down cursor key.
  8396. - Fixed a bug that when DropDownStyle is DropDownList, the
  8397. selected item was not shown.
  8398. - The position of the selected item was not preserved when
  8399. the next dropdown happened.
  8400. * ThemeWin32Classic.cs:
  8401. - Items were wrapped at the right end.
  8402. * CheckedListBox.cs:
  8403. - Fixed Add method
  8404. * ListBox.cs:
  8405. - Items should be fully shown.
  8406. - When resizing and vertical scrollbar disappeared, the item
  8407. of index 0 should be on the top of the list.
  8408. - GetItemRectangle should consider the size of ver. scrollbar
  8409. * StatusBar.cs:
  8410. - SizingGrip area should not be allocated when it is not
  8411. displayed.
  8412. - Now it reflects MinWidth of the containing panel and
  8413. fixed a crash that happens when its width becomes so small.
  8414. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  8415. * CheckedListBox.cs: Fixes bug 76028
  8416. * ListBox.cs: Fixes bug 76028
  8417. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  8418. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  8419. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  8420. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  8421. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  8422. 2005-09-09 Jonathan Chambers <[email protected]>
  8423. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  8424. 2005-09-09 Jonathan Chambers <[email protected]>
  8425. * IRootGridEntry.cs: Added
  8426. * PropertyGridCommands.cs: Added
  8427. * PropertiesTab.cs: Added missing methods and property
  8428. * PropertyGridView.cs: Made class internal
  8429. * PropertyGridTextBox.cs: Made class internal
  8430. 2005-09-09 Alexander Olk <[email protected]>
  8431. * MimeIcon.cs: Try to check some other environment variables
  8432. if "DESKTOP_SESSION" returns "default"
  8433. 2005-09-09 Alexander Olk <[email protected]>
  8434. * ThemeNice.cs: Corrected background colors (e.g. menus)
  8435. * ColorDialog.cs: Use correct background colors for controls
  8436. 2005-09-09 Alexander Olk <[email protected]>
  8437. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  8438. 2005-09-08 Peter Dennis Bartok <[email protected]>
  8439. * RichTextBox.cs: Added initial implementation
  8440. * lang.cs: Removed. Was accidentally checked in long time ago
  8441. * TODO: Removed. Contents were obsolete
  8442. 2005-09-06 Jonathan Chambers <[email protected]>
  8443. * PropertiesTab.cs : Added
  8444. 2005-09-06 Jonathan Chambers <[email protected]>
  8445. * PropertyGrid.cs : Update
  8446. * PropertyGridView.cs : Update
  8447. * System.Windows.Forms.resx : Added images and strings
  8448. 2005-09-06 Peter Dennis Bartok <[email protected]>
  8449. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  8450. 2005-09-06 Peter Dennis Bartok <[email protected]>
  8451. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  8452. a busy loop right after the Ungrab the X11 display is otherwise
  8453. blocked
  8454. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  8455. * ThemeWin32Classic.cs: Optimise the use of clipping
  8456. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  8457. * DataGrid.cs: fixes recursion bug
  8458. 2005-09-03 Alexander Olk <[email protected]>
  8459. * ThemeNice.cs:
  8460. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  8461. - Cleanup
  8462. 2005-09-02 Alexander Olk <[email protected]>
  8463. * ThemeNice.cs: Draw nice ProgressBars
  8464. 2005-09-01 Miguel de Icaza <[email protected]>
  8465. * VScrollBar.cs: Another buglet found by Aaron's tool.
  8466. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  8467. bug finder.
  8468. 2005-08-30 Alexander Olk <[email protected]>
  8469. * ThemeNice.cs:
  8470. - Added nicer menu drawing
  8471. - Updated DrawTab
  8472. - some refactoring
  8473. 2005-08-30 Peter Dennis Bartok <[email protected]>
  8474. * CreateParams.cs (ToString): Made output match MS
  8475. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  8476. handle is already created (to avoid forcing window creation)
  8477. * XplatUIX11.cs: Set window text to caption after creating window,
  8478. in case Text was set before window was created
  8479. * Form.cs: Use this.Text instead of a static string as caption
  8480. 2005-08-30 Peter Dennis Bartok <[email protected]>
  8481. * NotifyIcon.cs: Don't set the window to visible; this screws
  8482. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  8483. OnPaint without a bitmap)
  8484. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  8485. happen very often anyway; we could add the check to the WM_PAINT
  8486. event generation code
  8487. 2005-08-30 Peter Dennis Bartok <[email protected]>
  8488. * NotifyIcon.cs: Fill the icon area with a background color, to
  8489. avoid 'residue' when transparent icons are drawn
  8490. * XplatUIX11.cs:
  8491. - Handle whole_window == client_window when destroying windows
  8492. - SystrayAdd(): Set client_window to whole_window value to
  8493. get mouse and other events passed to NotifyIcon
  8494. 2005-08-30 Peter Dennis Bartok <[email protected]>
  8495. * Form.cs: Set proper default for Opacity property
  8496. * NotifyIcon.cs:
  8497. - ShowSystray(): Don't bother creating telling the OS
  8498. about the systray item if no icon is provided
  8499. - Now handles WM_NCPAINT message to deal with whole/client window
  8500. split
  8501. - Create window as visible to not get caught by Expose optimization
  8502. * Hwnd.cs: Removed debug message
  8503. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  8504. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  8505. PaintEventStart/End to use new client argument
  8506. * TextBoxBase.cs:
  8507. - Commented out debug messages
  8508. - Switched PaintEventStart/End to use new client argument
  8509. * XplatUI.cs: Added client window bool to PaintEventStart()/
  8510. PaintEventEnd() calls, to support drawing in non-client areas
  8511. * XplatUIDriver.cs:
  8512. - Added client window bool to PaintEventStart()/PaintEventEnd()
  8513. calls, to support drawing in non-client areas
  8514. - Added conditional compile to allow using MWF BeginInvoke
  8515. on MS runtime
  8516. * XplatUIX11.cs:
  8517. - Added some conditional debug output
  8518. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  8519. whole/client window split
  8520. - Implemented handling of client argument to PaintEventStart()/End()
  8521. * Control.cs:
  8522. - Throw exception if BeginInvoke() is called and the window handle
  8523. or one of the window's parent handles is not created
  8524. - Added conditional compile to allow using MWF BeginInvoke on
  8525. MS runtime
  8526. - get_Parent(): Only sets parent if handle is created. This avoids
  8527. forcing window handle creation when parent is set.
  8528. - Now fires Layout and Parent changed events in proper order
  8529. - Switched to use Handle instead of window.Handle for Z-Order setting,
  8530. the get_Parent() patch above causes us to possibly get null for 'window'
  8531. - Implemented handling of client argument to PaintEventStart()/End()
  8532. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  8533. default handling)
  8534. - Now sends a Refresh() to all child windows when Refresh() is called
  8535. 2005-08-29 Peter Dennis Bartok <[email protected]>
  8536. * Form.cs: Added (non-functional) Opacity property
  8537. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  8538. 2005-08-29 Alexander Olk <[email protected]>
  8539. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  8540. use export MONO_THEME=nice to activate it.
  8541. Currently supported controls:
  8542. - Button
  8543. - ComboBox
  8544. - ScrollBar
  8545. - TabControl (TabAlignment.Top only, other will follow)
  8546. * ThemeEngine.cs: Add theme nice
  8547. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  8548. if enabled
  8549. 2005-08-25 Jonathan Chambers <[email protected]>
  8550. * Splitter.cs: Resize docked control and its neighbor.
  8551. 2005-08-24 Rafael Teixeira <[email protected]>
  8552. -- Making Windows with Menus layout correctly --
  8553. * Form.cs : The first leg of the fix
  8554. Menu setter - adjust Client Size as needed to make space for the menu
  8555. SetClientSizeCore - doesn't call base version to be able to pass the
  8556. menu handle to XplatUI.CalculateWindowRect
  8557. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  8558. * XplatUIX11.cs: The critical second leg of the fix
  8559. GetWindowPos needs to use a recalculated client_rect
  8560. so that resizing the window doesn't break layout of child controls.
  8561. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  8562. Lots of \t\n killed
  8563. 2005-08-23 Peter Dennis Bartok <[email protected]>
  8564. * Label.cs: Now properly recalculates width and height on Font and Text
  8565. changes if AutoSize is set
  8566. 2005-08-19 Rafael Teixeira <[email protected]>
  8567. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  8568. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  8569. * ImageList.cs: Makes ToString method compatible with MS
  8570. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  8571. * MenuAPI.cs: fixes bug 75716
  8572. 2005-08-11 Umadevi S <[email protected]>
  8573. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  8574. 2005-08-11 Umadevi S <[email protected]>
  8575. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  8576. 2005-08-10 Umadevi S <[email protected]>
  8577. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  8578. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  8579. * Menu.cs: fixes bug 75700
  8580. * MenuAPI.cs: fixes navigation issues
  8581. 2005-08-09 Umadevi S <[email protected]>
  8582. * CheckedListBox.cs - simple fix for GetItemChecked.
  8583. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  8584. * ComboBox.cs: Serveral fixes
  8585. * ListBox.cs: Serveral fixes
  8586. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  8587. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  8588. * ListBox.cs: Fixes FindString methods
  8589. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  8590. * DataGrid.cs: fixes bugs exposed by new tests
  8591. 2005-08-04 Peter Dennis Bartok <[email protected]>
  8592. * Mime.cs: Compile Mono assembly references only if compiling
  8593. with Mono (Allows to build with VS.Net again)
  8594. 2005-07-28 Marek Safar <[email protected]>
  8595. * Control.cs (PaintControlBackground): Draw background image
  8596. corrrectly.
  8597. (CheckForIllegalCrossThreadCalls): Stubbed.
  8598. * Form.cs (OnCreateControl): Center when should be centered.
  8599. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  8600. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  8601. * Binding.cs: Binding to properties should be case unsensitive
  8602. 2005-07-18 [email protected]
  8603. * DataGrid.cs: fixes setmember order
  8604. 2005-07-07 Alexander Olk <[email protected]>
  8605. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  8606. * FileDialog.cs: FileDialog is now resizable and uses the new
  8607. MimeIconEngine
  8608. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  8609. * DataGridTextBoxColumn.cs: default value
  8610. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  8611. * GridTableStylesCollection.cs: fixes checking MappingName
  8612. * DataGridDrawingLogic.cs: fixes drawing logic issues
  8613. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  8614. * DataGrid.cs: fixes
  8615. 2005-07-06 Alexander Olk <[email protected]>
  8616. * MimeGenerated.cs: Use case sensitive comparer for
  8617. NameValueCollections
  8618. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  8619. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  8620. * ThemeWin32Classic.cs: bug fixes, code refactoring
  8621. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  8622. * DataGrid.cs: bug fixes, code refactoring
  8623. * DataGridTextBox.cs: bug fixes, code refactoring
  8624. * DataGridColumnStyle.cs: bug fixes, code refactoring
  8625. * Theme.cs: bug fixes, code refactoring
  8626. 2005-07-01 Peter Bartok <[email protected]>
  8627. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  8628. and other text box usage
  8629. 2005-07-01 Jackson Harper <[email protected]>
  8630. * TabControl.cs: Make sure the bottom of the tab covers the pages
  8631. border.
  8632. 2005-06-30 Peter Bartok <[email protected]>
  8633. * Form.cs (ShowDialog): Assign owner of the dialog
  8634. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  8635. might have been moved to a tag with different height
  8636. 2005-06-30 Jackson Harper <[email protected]>
  8637. * Form.cs: Don't create an infinite loop when setting focus
  8638. * MenuItem.cs: Don't dirty the parents if we don't have any
  8639. 2005-06-29 Ben Maurer <[email protected]>
  8640. * LibSupport.cs: Rename
  8641. 2005-06-29 Peter Bartok <[email protected]>
  8642. * TextBoxBase.cs: Re-align caret after deleting a character
  8643. * TextControl.cs:
  8644. - DeleteChars(): Ensure that tag covers the provided position
  8645. - StreamLine(): Drop reference for dropped tag
  8646. 2005-06-29 Peter Bartok <[email protected]>
  8647. * TextControl.cs:
  8648. - Selections now work properly, anchoring at the initial location
  8649. and properly extending in either direction (SetSelectionToCaret(),
  8650. SetSelectionStart() and SetSelectionEnd())
  8651. - No longer redraws the whole control on selection change, now
  8652. calculates delta between previous and new selection and only
  8653. invalidates/redraws that area
  8654. - Fixed FindPos() math off-by-one errors
  8655. - Changed DeleteChars() to verify the provided tag covers the
  8656. provided position, selections may have a tag that doesn't cover
  8657. the position if the selection is at a tag border
  8658. - Fixed off-by-one errors in DeleteChars()
  8659. - Added missing streamlining check in DeleteChars() to remove
  8660. zero-length tags
  8661. - Implemented Invalidate() method, now properly calculates exposures
  8662. between two given lines/positions
  8663. - Implemented SetSelection()
  8664. - Obsoleted and removed FixupSelection()
  8665. - Improved RecalculateDocument() logic, removing code duplication
  8666. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  8667. * LibSupport.cs: changes to match different input/output arguments.
  8668. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  8669. * LibSupport.cs: added libsupport.so init routine.
  8670. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  8671. * ControlBindingsCollection.cs
  8672. - Throws an exception on null datasource when adding
  8673. - Checks for duplicated bindings when adding
  8674. 2005-06-28 Jackson Harper <[email protected]>
  8675. * TreeView.cs (OnKeyDown): Support left and right properly
  8676. (navigates as well as expanding and collapsing.
  8677. - Add support for Multiply, this expands all the selected nodes
  8678. children.
  8679. - Fix some tabbing.
  8680. 2005-06-28 Jackson Harper <[email protected]>
  8681. * TreeView.cs: Implement keyboard navigation, currently supports,
  8682. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  8683. support for toggling checkboxes with the space bar.
  8684. 2005-06-28 Jackson Harper <[email protected]>
  8685. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  8686. tree.
  8687. 2005-06-28 Jackson Harper <[email protected]>
  8688. * TreeView.cs: Add missing event.
  8689. 2005-06-27 Peter Bartok <[email protected]>
  8690. * TextControl.cs:
  8691. - Made line ending size configurable (now allows for counting
  8692. lineendings as \n or \r\n)
  8693. - Added margin to viewport to keep caret visible on right side
  8694. - Fixed translation routines for line/pos to documentpos to consider
  8695. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  8696. - Fixed some line-endings to be unix style
  8697. - Fixed Document.FormatText to perform it's calculations 1-based
  8698. - Added descriptions for a few methods that might otherwise get
  8699. used wrong
  8700. - Added NOTE section with some basic conventions to remember at
  8701. the top of the file
  8702. - Major fixup for RichTextBox selection drawing:
  8703. * Fixed crashes when multiple tags on a single line were selected
  8704. * fixed selection box drawing not overlaying text
  8705. * fixed bogus offset calculation for tags not starting at index 1
  8706. * Switched behaviour from using multiple Substrings of a
  8707. StringBuilder.ToString() to using multiple
  8708. StringBuilder.ToString(start, length) statements, hoping this is
  8709. faster (kept original version commented out in the code, in case
  8710. original version was faster)
  8711. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  8712. alignment != Left
  8713. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  8714. call it as well
  8715. 2005-06-27 Jackson Harper <[email protected]>
  8716. * TabControl.cs: Move to the left and right with the arrow
  8717. keys. These keys don't cycle beyond first and last like
  8718. tab. Refresh all the tabs when scrolling them to the left or
  8719. right.
  8720. 2005-06-27 Jackson Harper <[email protected]>
  8721. * TabControl.cs:
  8722. - ToString: Added method
  8723. - CreateParams: Remove TODO and comment
  8724. - OnKeyDown: Cycle through bounds properly.
  8725. - SelectedIndex: Scroll to the right or left if we need to
  8726. display the newly selected tab.
  8727. 2005-06-23 Jackson Harper <[email protected]>
  8728. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  8729. set.
  8730. 2005-06-23 Jackson Harper <[email protected]>
  8731. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  8732. CTRL-SHIFT-TAB, and HOME, END are there any others?
  8733. 2005-06-23 Jackson Harper <[email protected]>
  8734. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  8735. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  8736. * DataGridTextBoxColumn.cs: fixes and enhancements
  8737. * ThemeWin32Classic.cs: fixes and enhancements
  8738. * DataGridBoolColumn.cs: fixes and enhancements
  8739. * DataGridDrawingLogic.cs: fixes and enhancements
  8740. * CurrencyManager.cs: fixes and enhancements
  8741. * DataGrid.cs: fixes and enhancements
  8742. * DataGridColumnStyle.cs: fixes and enhancements
  8743. 2005-06-22 Jackson Harper <[email protected]>
  8744. * TabControl.cs: Add some missing methods that just call into the
  8745. base. Make the TabPageCollection's IList interface behave in the
  8746. same manner as the MS implementation.
  8747. 2005-06-22 Peter Bartok <[email protected]>
  8748. * TextControl.cs: Added sanity check
  8749. * TextBoxBase.cs:
  8750. - Fixed wrapping behaviour, don't set wrap on single line controls
  8751. (this fixes the breakage of colordialog introduced in an earlier
  8752. checkin)
  8753. - Added rudimentary support for autoscrolling right-aligned controls
  8754. (still needs fixing, also, center alignment scroll is missing)
  8755. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  8756. * ScrollBar.cs: Fixes thumbpos on Maximum values
  8757. 2005-06-21 Jonathan Chambers <[email protected]>
  8758. * PropertyGridView.cs: Pass context information to UITypeEditors
  8759. 2005-06-21 Peter Bartok <[email protected]>
  8760. * TextBoxBase.cs:
  8761. - Now calling PositionCaret with absolute space coordinates
  8762. - Enabled vertical scrolling
  8763. - Better tracking of scrollbar changes, tied into WidthChange
  8764. event
  8765. - Improved cursor tracking
  8766. - Removed debug output
  8767. * TextControl.cs:
  8768. - PositionCaret coordinates are now works in absolute space, not
  8769. the canvas
  8770. - Improved tracking of document size
  8771. - Added events for width and height changes
  8772. 2005-06-21 Peter Bartok <[email protected]>
  8773. * Form.cs: Set focus to active control when form is activated
  8774. * TextControl.cs:
  8775. - Added word-wrap functionality to RecalculateLine()
  8776. - Added some short function descriptions for VS.Net to aid in
  8777. writing dependent controls
  8778. - Added Caret property, returning the current coords of the caret
  8779. - Added ViewPortWidth and ViewPortHeight properties
  8780. - Added Wrap property
  8781. - Added CaretMoved event
  8782. - Removed some old debug code
  8783. - Split() can now create soft splits
  8784. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  8785. - Added method to format existing text
  8786. - Fixed size/alignment calculations to use viewport
  8787. - RecalculateDocument now can handle changing line-numbers while
  8788. calculating lines
  8789. * TextBox.cs:
  8790. - Added some wrap logic, we don't wrap if alignment is not left
  8791. - Added casts for scrollbar var, base class switched types to
  8792. also support RichTextBoxA
  8793. - Implemented handling of scrollbar visibility flags
  8794. * TextBoxBase.cs:
  8795. - Switched scrollbars type to RichTextBoxScrollBars to support
  8796. RichTextBox
  8797. - Added tracking of canvas width/height
  8798. - Switched scrollbars to be not selectable (to keep focus on text)
  8799. - Added central CalculateDocument() method to handle all redraw
  8800. requirements
  8801. - Added ReadOnly support
  8802. - Added WordWrap support
  8803. - Fixed handling of Enter key (we now treat it as a DialogKey)
  8804. - Fixed caret positioning when h or v scroll is not zero
  8805. - Fixed placing/generation of vertical scrollbar
  8806. - Added CalculateScrollBars() method to allow updating scrollbar
  8807. limits and visibility
  8808. - Fixed handling of horizontal scroll
  8809. - Added handling of vertical scroll
  8810. - Implemented auto-'jump' when caret moves to close to a left or
  8811. right border and there is text to be scrolled into view (currently
  8812. there's the potential for a stack overflow, until a bug in
  8813. scrollbar is fixed)
  8814. 2005-06-21 Geoff Norton <[email protected]>
  8815. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  8816. 2005-06-19 Alexander Olk <[email protected]>
  8817. * Mime.cs:
  8818. - added inodes.
  8819. - return application/x-zerosize for files with size zero
  8820. (if no extension pattern matches).
  8821. - check matches collection for strings too.
  8822. - return only the first mime type if the name value
  8823. collection has more than one mime type.
  8824. 2005-06-18 Jonathan Chambers <[email protected]>
  8825. * PropertyGrid.cs: Cleaned up some TODOs
  8826. * PropertyGridView.cs: Added support for UITypeEditors
  8827. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  8828. * DataGrid.cs: clears cached value
  8829. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  8830. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  8831. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  8832. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  8833. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  8834. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  8835. * ThemeWin32Classic.cs: fixes colour
  8836. 2005-06-15 Peter Bartok <[email protected]>
  8837. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  8838. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  8839. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  8840. * Control.cs: Added some MWFCategory and MWFDescription attributes
  8841. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  8842. 2005-06-15 Alexander Olk <[email protected]>
  8843. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  8844. usage
  8845. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  8846. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  8847. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  8848. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  8849. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  8850. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  8851. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  8852. 2005-06-13 Jackson Harper <[email protected]>
  8853. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  8854. isn't printed when the user enables dropping. (X11 does accept
  8855. drops).
  8856. 2005-06-13 Jackson Harper <[email protected]>
  8857. * TreeView.cs: Remove some TODOS.
  8858. 2005-06-13 Jackson Harper <[email protected]>
  8859. * Form.cs: Hook into the mdi framework.
  8860. * MdiClient.cs: Use the base control collections add method so
  8861. parents get setup correctly. Set the default back colour and dock
  8862. style.
  8863. * MdiChildContext.cs: New class, this bad actor handles an
  8864. instance of an MDI window. Right now there is only basic
  8865. support. You can drag, close, and resize windows. Minimize and
  8866. Maximize are partially implemented.
  8867. 2005-06-13 Jackson Harper <[email protected]>
  8868. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  8869. freaky when both vals are negative. NOTE: There are probably other
  8870. places in XplatUIX11 that this needs to be done.
  8871. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  8872. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  8873. * DataGridColumnStyle.cs: fixes signature
  8874. 2005-06-12 Jackson Harper <[email protected]>
  8875. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  8876. windows.
  8877. 2005-06-11 Jackson Harper <[email protected]>
  8878. * StatusBarPanel.cs: Signature cleanups. Implement
  8879. BeginInit/EndInit.
  8880. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  8881. * DataGridTextBoxColumn.cs: Honors aligment
  8882. * GridColumnStylesCollection.cs: Contains is case unsensitive
  8883. * GridTableStylesCollection.cs: several fixes
  8884. * DataGridTableStyle.cs: default column creation
  8885. * DataGridDrawingLogic.cs: fixes
  8886. * CurrencyManager.cs: ListName property
  8887. * DataGrid.cs: multiple styles support
  8888. * DataGridColumnStyle.cs: fixes
  8889. 2005-06-10 Peter Bartok <[email protected]>
  8890. * Control.cs(Select): Moved SetFocus call to avoid potential
  8891. loops if controls change the active control when getting focus
  8892. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  8893. the up/down buttons
  8894. 2005-06-10 Matthias Felgner <[email protected]>
  8895. * ImageListConverter.cs: Implemented
  8896. 2005-06-10 John BouAntoun <[email protected]>
  8897. * MonthCalendar.cs: Wired in NumericUpDown control for year
  8898. 2005-06-10 John BouAntoun <[email protected]>
  8899. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  8900. DoubleClick events, since they are not meant to be fired.
  8901. 2005-06-09 Peter Bartok <[email protected]>
  8902. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  8903. Jonathan's standalone controls into MWF, implemented missing
  8904. events, attributes and methods; added xxxAccessible classes
  8905. * AccessibleObject.cs: Made fields internal so other classes
  8906. can change them if needed
  8907. 2005-06-09 Jonathan Gilbert <[email protected]>
  8908. * UpDownBase.cs: Complete implementation
  8909. * NumericUpDown.cs: Complete implementation
  8910. * DomainUpDown.cs: Complete implementation
  8911. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  8912. * DataGridTextBoxColumn.cs: drawing fixes
  8913. * DataGridCell.cs: fixes ToString method to match MSNet
  8914. * DataGridTableStyle.cs: fixes
  8915. * DataGridBoolColumn.cs: fixes, drawing
  8916. * DataGridDrawingLogic.cs: fixes, new methods
  8917. * DataGridTextBox.cs: Keyboard and fixes
  8918. * DataGrid.cs:
  8919. - Keyboard navigation
  8920. - Scrolling fixes
  8921. - Row selection (single, multiple, deletion, etc)
  8922. - Lots of fixes
  8923. 2005-06-07 Jackson Harper <[email protected]>
  8924. * ThemeWin32Classic.cs: Clear the background area when drawing
  8925. buttons.
  8926. 2005-06-06 Peter Bartok <[email protected]>
  8927. * ImageListStreamer.cs: Fixed signature for GetData
  8928. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  8929. * ComboBox.cs:
  8930. - Added missing ChildAccessibleObject class
  8931. - Added missing OnXXXFocus overrides, switched to using those
  8932. instead of the event handler
  8933. * Control.cs:
  8934. - Added Parent property for ControlAccessibleObject
  8935. - Fixed signatures
  8936. - Fixed attributes
  8937. - Added ResetBindings()
  8938. * ListBindingConverter.cs: Implemented some methods
  8939. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  8940. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  8941. * ContainerControl.cs: Fixed signature, now subscribing to the
  8942. ControlRemoved event instead of overriding the handler, LAMESPEC
  8943. * CurrencyManager.cs: Added missing attribute
  8944. * MonthCalendar.cs: Added missing properties
  8945. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  8946. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  8947. 2005-06-06 Gaurav Vaish and Ankit Jain
  8948. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  8949. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  8950. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  8951. * Control.cs: fixes CreateParams Width / Height.
  8952. 2005-06-05 Peter Bartok <[email protected]>
  8953. * Win32DnD.cs: Removed compilation warnings
  8954. 2005-06-05 Peter Bartok <[email protected]>
  8955. * Control.cs (CreateParams): Since we don't know if one of the
  8956. properties we use is overridden, lets make sure if we fail accessing
  8957. we continue with a backup plan
  8958. 2005-06-05 Peter Bartok <[email protected]>
  8959. * Win32DnD.cs:
  8960. - Removed debug output
  8961. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  8962. struct
  8963. - Plugged resource leak
  8964. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  8965. MS size
  8966. 2005-06-05 Peter Bartok <[email protected]>
  8967. * XplatUIWin32.cs: Removed DnD code
  8968. * Win32DnD.cs: Implemented drop source and drop target functionality
  8969. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  8970. * UpDownBase.cs: remove duplicate addition of event, enable some code
  8971. that was commented out.
  8972. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  8973. Validate input when a key is pressed. It works fine now for every
  8974. combination of Hexadecimal. Only missing some drawing love when sharing
  8975. space with other controls.
  8976. 2005-06-04 Peter Bartok <[email protected]>
  8977. * Control.cs:
  8978. - We need to pass a window for DragDrop, so enable callback events
  8979. - Added DnD callback events when being a DragSource
  8980. * XplatUI.cs (StartDrag): Added window handle argument
  8981. * XplatUIDriver.cs (StartDrag): Added window handle argument
  8982. * QueryContinueDragEventArgs: Made fields internally accessible so
  8983. drivers can set them
  8984. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  8985. can set them
  8986. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  8987. * DataGridTextBoxColumn.cs: column text editing
  8988. * DataGridTableStyle.cs: Respect columns styles created by the user
  8989. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  8990. * DataGridBoolColumn.cs: bool column editing
  8991. * DataGrid.cs: fixes to scrolling, properties, etc
  8992. * DataGridTextBox.cs: handle keyboard
  8993. * DataGridColumnStyle.cs: fixes
  8994. 2005-06-02 Jackson Harper <[email protected]>
  8995. * ImageListStreamer.cs: Somewhat broken implementation of
  8996. GetObjectData. The RLE needs some work to match MS properly.
  8997. 2005-06-02 Jackson Harper <[email protected]>
  8998. * X11Dnd.cs: Attempting to keep at least one file in MWF
  8999. monostyled.
  9000. 2005-06-02 Peter Bartok <[email protected]>
  9001. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  9002. that way
  9003. 2005-06-02 Peter Bartok <[email protected]>
  9004. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  9005. * XplatUI.cs: Added DoDragDrop() method
  9006. * XplatUIDriver.cs: Added DoDragDrop() method
  9007. 2005-06-02 Jackson Harper <[email protected]>
  9008. * Splitter.cs: Implement BorderStyle.
  9009. 2005-06-02 Jackson Harper <[email protected]>
  9010. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  9011. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  9012. X11 using XDND.
  9013. 2005-06-02 Peter Bartok <[email protected]>
  9014. * DataObject.cs:
  9015. - Added Data setter
  9016. - Fixed broken insertion code for SetData, now also
  9017. overwrites any existing entry of the same format name
  9018. * Hwnd.cs: Added list of pointers that automatically gets
  9019. freed when the window is disposed
  9020. * XplatUI.cs: Call driver initialization method when loading
  9021. a driver
  9022. * Control.cs:
  9023. - OnDragLeave takes EventArgs, not DragEventArgs
  9024. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  9025. supported
  9026. - Forces style update when drop state changes
  9027. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  9028. not perfect since we cannot (yet) call the IDataObject.GetData()
  9029. method, we keep getting 0x80004005 error, dunno why)
  9030. 2005-06-02 Peter Bartok <[email protected]>
  9031. * DragEventArgs.cs: Make fields internal so we can cache the
  9032. object and re-set the fields from XplatUI
  9033. 2005-06-02 Jackson Harper <[email protected]>
  9034. * Control.cs: Add some internal methods so the DnD subsystem can
  9035. raise DnD events. Also call into the driver when AllowDrop is set.
  9036. * XplatUI.cs:
  9037. * XplatUIDriver.cs: New method for setting whether or not a window
  9038. is allowed to accept drag and drop messages.
  9039. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  9040. * ScrollBar.cs: Make sure that values sent in Scroll events
  9041. are always between Maximum and Minimum.
  9042. 2005-06-01 Marek Safar <[email protected]>
  9043. * Menu.cs: Call MenuChanged when menuitem visibility has been
  9044. changed.
  9045. * MenuItem.cs: Rebuild menu when item is (not) visible.
  9046. * MainMenu.cs: MainMenu has special MenuChanged.
  9047. * Theme.cs: Caption and FrameBorderSize are not fixed.
  9048. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  9049. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  9050. * XplatUIX11.cs,
  9051. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  9052. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  9053. 2005-05-30 Jackson Harper <[email protected]>
  9054. * DataFormat.cs: We can't statically initialize this stuff because
  9055. it calls into the xplatui and could create a loop. So we lazy init
  9056. it.
  9057. 2005-05-28 Jackson Harper <[email protected]>
  9058. * Control.cs: Proper implementation of Product(Name/Version).
  9059. 2005-05-27 Jackson Harper <[email protected]>
  9060. * DataObject.cs: Dont crash if no data is found.
  9061. 2005-05-26 Rafael Teixeira <[email protected]>
  9062. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  9063. as per status page, guessing it should be set to true
  9064. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  9065. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  9066. * DataGridTableStyle.cs: set proper formatting text, def header text
  9067. * ThemeWin32Classic.cs: new themable paramaters
  9068. * DataGridBoolColumn.cs: paint check box, get data, fixes
  9069. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  9070. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  9071. * DataGridColumnStyle.cs: fixes
  9072. * Theme.cs: new themable paramaters
  9073. 2005-05-26 Peter Bartok <[email protected]>
  9074. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  9075. 2005-05-24 Jonathan S. Chambers <[email protected]>
  9076. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  9077. 2005-05-24 Peter Bartok <[email protected]>
  9078. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  9079. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  9080. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  9081. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  9082. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  9083. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  9084. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  9085. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  9086. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  9087. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  9088. missing attributes, etc
  9089. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  9090. 2005-05-24 Peter Bartok <[email protected]>
  9091. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  9092. when user tries to get help
  9093. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  9094. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  9095. to suppress warnings
  9096. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  9097. avoid unreachable code warning
  9098. 2005-05-20 Peter Bartok <[email protected]>
  9099. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  9100. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  9101. * DataGridTextBoxColumn.cs: Basic painting methods
  9102. * DataGridTableStyle.cs: Set table style in the column
  9103. * ThemeWin32Classic.cs: Use Theme for colors
  9104. * DataGridDrawingLogic.cs: Implement more drawing
  9105. * DataGrid.cs: drawing, theming, enhacements, fixes
  9106. * DataGridColumnStyle.cs: fixes, drawing
  9107. * Theme.cs: theming for Datagrid
  9108. 2005-05-20 Peter Bartok <[email protected]>
  9109. * Cursor.cs: Implemented GetObjectData() method
  9110. 2005-05-20 Peter Bartok <[email protected]>
  9111. * Cursors.cs: Added setting of cursor name
  9112. * Cursor.cs:
  9113. - Implemented constructors
  9114. - Implemented Draw and DrawStretched
  9115. - Implemented Current property
  9116. - Implemented == and != operators
  9117. - Implemented Dispose()
  9118. - Implemented ToString
  9119. - Added missing attributes
  9120. * XplatUIX11.cs:
  9121. - Added missing reset for OverrideCursor when DoEvents is called
  9122. - Fixed creation of cursor, logic was wrong
  9123. * XplatUIWin32.cs:
  9124. - Added missing reset for OverrideCursor when DoEvents is called
  9125. - Fixed creation of cursor, bit arrays were swapped
  9126. * Clipboard.cs: Removed obsolete MonoTODO attribute
  9127. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  9128. * ComboBox.cs: fixes OnSelectedItemChanged
  9129. * ControlBindingsCollection.cs: fixes item range check
  9130. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  9131. * UpDownBase.cs:
  9132. - Calc preferred height properly
  9133. - Implement missing properties
  9134. * NumericUpDown.cs: Implement missing events
  9135. 2005-05-19 Jackson Harper <[email protected]>
  9136. * TabControl.cs: New method that resizes the tab pages before
  9137. redrawing them. This as needed as the control is double buffered
  9138. and sizing will not be recalculated unless ResizeTabPages is
  9139. called.
  9140. * TabPage.cs: Set base.Text instead of Text in the constructor so
  9141. that UpdateOwner does not get called. Use the new Redraw method of
  9142. TabControl instead of Refresh so the sizing is recalculated.
  9143. * ThemeWin32Classic.cs: Draw the text for button tabs.
  9144. 2005-05-19 Jackson Harper <[email protected]>
  9145. * Control.cs: Paint control background images. Fix typo where
  9146. PaintControlBackground was not getting called correctly.
  9147. 2005-05-19 Peter Bartok <[email protected]>
  9148. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  9149. I can investigate, apparently I broke FileDialog
  9150. 2005-05-19 Marek Safar <[email protected]>
  9151. * AxHost.cs: Some simple properties.
  9152. * Control.cs: window must be accessible after ctor.
  9153. * Form.cs: Added TransparencyKey property.
  9154. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  9155. * XplatUIWin32.cs: SetBorderStyle implemented.
  9156. 2005-05-18 Peter Bartok <[email protected]>
  9157. * DataObject.cs: Entries are not global but particular to the
  9158. DataObject, now it behaves that way
  9159. * XplatUIWin32.cs: Implemented Clipboard methods
  9160. * Clipboard.cs: Implemented
  9161. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  9162. * XplatUIOSX.cs: Updated to final clipboard prototypes
  9163. * XplatUIX11.cs: Implemented Clipboard methods
  9164. * XplatUIDriver.cs: Updated to final clipboard prototypes
  9165. * XplatUIStructs.cs:
  9166. - Added BITMAPINFOHEADER struct
  9167. - Added ClipboardFormats enum
  9168. * X11Structs.cs:
  9169. - Added ClipboardStruct
  9170. - Added Atom enum items for clipboard types
  9171. - Fixed atom types for Selection event structures
  9172. * DataFormats.cs:
  9173. - Added internal properties and methods for drivers to enumerate
  9174. all known formats
  9175. - Switched initialization method to allow drivers to assign their
  9176. own IDs even for the MS predefined clipboard IDs
  9177. * XplatUI.cs: Updated to final clipboard interface
  9178. 2005-05-18 Jonathan S. Chambers <[email protected]>
  9179. * PropertyGridView.cs: Fixed compiler warnings.
  9180. 2005-05-18 Jonathan S. Chambers <[email protected]>
  9181. * PropertyGrid.cs: Added some event calls
  9182. * PropertyGridView.cs: Change drawing code to use double buffering
  9183. * PropertyGridTextBox.cs: Changed Text property name
  9184. * GridItem.cs: Added Bounds property.
  9185. * GridEntry.cs: Added Bounds property.
  9186. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  9187. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  9188. since GetType() may not return the correct type if the object is
  9189. a remoting proxy.
  9190. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  9191. * TreeNodeCollection.cs: fixes get/set item ranges
  9192. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  9193. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  9194. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  9195. * ComboBox.cs: Fix item range comparation
  9196. * ListView.cs: Fix item range comparation
  9197. 2005-05-03 Alexander Olk <[email protected]>
  9198. * FontDialog.cs:
  9199. - Clear example panel when OnPaint is called
  9200. - Better solution for displaying the example panel text
  9201. - Select default indexes in the ListBoxes
  9202. 2005-05-11 Geoff Norton <[email protected]>
  9203. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  9204. 2005-05-11 Peter Bartok <[email protected]>
  9205. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  9206. * SelectionRangeConverter.cs: Implemented
  9207. * PropertyGrid.cs: Fixed attribute value
  9208. * Control.cs:
  9209. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  9210. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  9211. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  9212. that's common to all drivers. First methods to go there are
  9213. Sebastien Pouliot's CAS Stack Propagation helper methods
  9214. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  9215. Sebastien Pouliot for CAS Stack Propagation
  9216. 2005-05-11 Geoff Norton <[email protected]>
  9217. * OSXStructs.cs:
  9218. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  9219. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  9220. * DataGridTextBoxColumn.cs: fixed some members
  9221. * GridColumnStylesCollection.cs: indexed column is case insensitive
  9222. * DataGridTableStyle.cs: fixes
  9223. * ThemeWin32Classic.cs: add new theme parameter
  9224. * Theme.cs: add new theme parameter
  9225. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  9226. * DataGrid.cs: fixes, new internal properties, etc.
  9227. * DataGridColumnStyle.cs: allows to set grid value
  9228. *
  9229. 2005-05-10 Peter Bartok <[email protected]>
  9230. * AccessibleObject.cs:
  9231. - Removed MonoTODO attribute on help, method is correct
  9232. - Fixed Bounds property
  9233. * AxHost.cs: Moved MonoTODO
  9234. * ButtonBase.cs: Now setting AccessibleObject properties
  9235. * RadioButton.cs: Setting proper AccessibleObject role
  9236. * CheckBox.cs: Setting proper AccessibleObject role
  9237. * ControlBindingsCollection.cs: Added properties, methods and attributes
  9238. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  9239. userdefined DataFormats.Format items as well
  9240. * ListControl.cs: Removed data_member from the public eye
  9241. * OpenFileDialog.cs:
  9242. - Made class sealed
  9243. - Added missing attributes
  9244. * SaveFileDialog.cs: Added missing attributes
  9245. * ImageListStreamer.cs: Fixed code that caused warnings
  9246. * LinkLabel.cs: Removed unreachable code
  9247. * TreeView.cs: Fixed code that caused warnings
  9248. * PropertyGridView.cs: Fixed code that caused warnings
  9249. * GridColumnStylesCollection.cs: Added missing attributes
  9250. * GridTableStylesCollection: Added missing attribute
  9251. * PropertyManager: Added .ctor
  9252. * SecurityIDType: Added
  9253. * DataObject.cs: Implemented class
  9254. * LinkArea.cs: Added missing attribute
  9255. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  9256. * RadioButton.cs: call base method to allow to fire OnClick event
  9257. * UpDownBase.cs: OnMouseUp call base method
  9258. * CheckedListBox.cs: call base method before returning
  9259. * TrackBar.cs: call base method before returning
  9260. 2005-05-10 Peter Bartok <[email protected]>
  9261. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  9262. for messages
  9263. 2005-05-10 Peter Bartok <[email protected]>
  9264. * DataFormats.cs: Implemented
  9265. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  9266. XplatUIX11.cs: Added Clipboard APIs
  9267. * XplatUIWin32.cs: Implemented Clipboard APIs
  9268. * FolderBrowserDialog.cs: Added missing event, attributes
  9269. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  9270. * CheckBox.cs: call base method to allow to fire OnClick event
  9271. 2005-05-09 Sebastien Pouliot <[email protected]>
  9272. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  9273. 2005-05-06 Peter Bartok <[email protected]>
  9274. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  9275. * Screen.cs: Implemented
  9276. * HelpNavigator.cs: Added
  9277. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  9278. property
  9279. * HelpProvider.cs: Implemented all we can do until we have a CHM
  9280. help library (which means that "What's This" does work now)
  9281. 2005-05-06 Jackson Harper <[email protected]>
  9282. * XplatUIX11.cs: Fix waking up the main loop.
  9283. 2005-05-05 Peter Bartok <[email protected]>
  9284. * XplatUI.cs: Updated revision
  9285. * Form.cs: Removed enless loop
  9286. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  9287. * Label.cs (OnPaint): Added call to base.OnPaint()
  9288. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  9289. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  9290. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  9291. * AxHost.cs: Added
  9292. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  9293. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  9294. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  9295. reuse of ToolTipWindow by other controls
  9296. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  9297. * XplatUIX11.cs: Now clipping drawing area (experimental)
  9298. * PictureBox.cs: Moved base.OnPaint() call to end of method
  9299. * Theme.cs: Fixed ToolTip abstracts to match new format
  9300. * ErrorProvider.cs: Implemented
  9301. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  9302. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  9303. * LinkLabel.cs:
  9304. - Adds cursors
  9305. - Handles focus
  9306. - Implements LinkBehavior
  9307. - Fixes many issues
  9308. 2005-05-03 Jackson Harper <[email protected]>
  9309. * ListView.cs: Calculate the scrollbar positioning on resize and
  9310. paint, so they get put in the correct place.
  9311. 2005-05-03 Alexander Olk <[email protected]>
  9312. * ColorDialogs.cs: The small color panels are now handled by
  9313. SmallColorControl. This fixes drawing of the focus rectangle
  9314. and adds a 3D border.
  9315. 2005-05-03 Peter Bartok <[email protected]>
  9316. * Control.cs: Modified version of Jonathan Chamber's fix for
  9317. double-buffering
  9318. 2005-05-03 Jackson Harper <[email protected]>
  9319. * ListView.cs: Remove redraw variable. Control now handles whether
  9320. or not a redraw needs to be done, and will only raise the paint
  9321. event if redrawing is needed.
  9322. 2005-05-03 Jackson Harper <[email protected]>
  9323. * Splitter.cs: No decorations for the splitter form. Cache the
  9324. hatch brush.
  9325. 2005-05-03 Jackson Harper <[email protected]>
  9326. * TreeView.cs: Use dashed lines to connect nodes. Use the
  9327. ControlPaint method for drawing the focus rect instead of doing
  9328. that in treeview.
  9329. 2005-05-02 Peter Bartok <[email protected]>
  9330. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  9331. 2005-04-29 Jackson Harper <[email protected]>
  9332. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  9333. entire image buffer. Just clear the clipping rectangle.
  9334. 2005-04-29 Jackson Harper <[email protected]>
  9335. * ThemeWin32Classic.cs: Don't draw list view items that are
  9336. outside the clipping rectangle.
  9337. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  9338. * ListBox.cs: added horizontal item scroll
  9339. 2005-04-29 Jackson Harper <[email protected]>
  9340. * ThemeWin32Classic.cs: Remove some old debug code that was
  9341. causing flicker with the new double buffering code.
  9342. 2005-04-29 John BouAntoun <[email protected]>
  9343. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  9344. behave like combobox and comboboxlist (still not sure if this is
  9345. correct though).
  9346. 2005-04-28 Jackson Harper <[email protected]>
  9347. * ThemeWin32Classic.cs: Don't fill the middle of progress
  9348. bars. This fills areas outside of the clip bounds that don't need
  9349. to be filled.
  9350. 2005-04-28 Jackson Harper <[email protected]>
  9351. * Control.cs: Don't expose functionality to touch the image buffers.
  9352. * ProgressBar.cs:
  9353. * ListView.cs: We do not need to (and no longer can) manipulate
  9354. the image buffers directly. All of this is handled by Control.
  9355. 2005-04-28 Peter Bartok <[email protected]>
  9356. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  9357. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  9358. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  9359. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  9360. * Combobox:
  9361. - Adjust control's height for non-simple comboboxes (bug fix)
  9362. - Remove dead code
  9363. * MenuAPI.cs: remove unused var
  9364. * ScrollBar.cs: remove unsed var
  9365. * ListBox.cs: unselect items when clearing
  9366. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  9367. * ListControl.cs: honors OnPositionChanged and default Selected Item
  9368. * ListBox.cs: unselect items when clearing
  9369. 2005-04-27 Jackson Harper <[email protected]>
  9370. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  9371. if a "correct" keyboard is not found. This will make us not crash,
  9372. but might give some users bad keyboard layouts...seems to be the
  9373. same thing rewind does.
  9374. 2005-04-27 Jackson Harper <[email protected]>
  9375. * BindingManagerBase.cs: Attach the current/position changed
  9376. handlers to their respective events.
  9377. 2005-04-27 Jackson Harper <[email protected]>
  9378. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  9379. not just a blit.
  9380. * ThemeWin32Classic.cs: Don't fill the background for picture
  9381. boxes. This could overright user drawing.
  9382. * ComboBox.cs: Just fill the clipping rect not the entire client
  9383. rect when drawing the background. This prevents pieces of the
  9384. image buffer from getting overwritten and is theoretically faster.
  9385. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  9386. * ComboBox.cs: Databinding support fixes, fire missing events
  9387. * ListControl.cs: implement missing methods and properties, fixes
  9388. * ThemeWin32Classic.cs: Databiding support on Drawing
  9389. * CheckedListBox.cs: Databinding support fixes, fire missing events
  9390. * ListBox.cs: Databinding support fixes, fire missing events
  9391. 2005-04-25 Peter Bartok <[email protected]>
  9392. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  9393. 2005-04-25 Jackson Harper <[email protected]>
  9394. * TreeView.cs: Use the horizontal scrollbars height not width when
  9395. determining how much of the client area is available.
  9396. 2005-04-25 Jackson Harper <[email protected]>
  9397. * Control.cs: Double buffering is handled differently now. As per
  9398. the spec, the extra buffer is created in the WM_PAINT message and
  9399. passed down to the control's drawing code.
  9400. * GroupBox.cs:
  9401. * Label.cs:
  9402. * CheckBox.cs:
  9403. * ProgressBar.cs:
  9404. * RadioButton.cs:
  9405. * ColorDialog.cs:
  9406. * ComboBox.cs:
  9407. * PropertyGridView.cs:
  9408. * UpDownBase.cs:
  9409. * MessageBox.cs:
  9410. * MenuAPI.cs:
  9411. * ListView.cs:
  9412. * ButtonBase.cs:
  9413. * SizeGrip.cs:
  9414. * ScrollBar.cs:
  9415. * ListBox.cs:
  9416. * TrackBar.cs:
  9417. * ToolBar.cs:
  9418. * PictureBox.cs:
  9419. * DateTimePicker.cs:
  9420. * StatusBar.cs:
  9421. * TreeView.cs: Update to new double buffering system.
  9422. * MonthCalendar.cs: Uncomment block, as Capture is now
  9423. working. Update to new double buffering
  9424. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  9425. * PaintEventArgs.cs: New internal method allows us to set the
  9426. graphics object. This is used for double buffering.
  9427. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  9428. rectangle. The internal paint_area var has been removed from
  9429. StatusBar. The clipping rect should be used instead.
  9430. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  9431. * TabPage.cs: The RefreshTabs method was removed, so just call the
  9432. tab controls Refresh method now.
  9433. * TabControl.cs: Update to new double buffering. Make sure the
  9434. handle is created before sizing the tab pages, otherwise we will
  9435. get stuck in a loop.
  9436. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  9437. * LinkLabel.cs: Fix typo, bug #74719; patch
  9438. from Borja Sanchez Zamorano
  9439. 2005-04-22 Jackson Harper <[email protected]>
  9440. * TreeNode.cs: Implement Handle stuff.
  9441. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  9442. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  9443. * DataGridTextBoxColumn.cs: call base constructors, fixes
  9444. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  9445. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  9446. * DataGridTableStyle.cs: implements create default column styles
  9447. * DataGridBoolColumn.cs: which types can handle
  9448. * DataGrid.cs: missing methods, fixes, new functionality
  9449. * DataGridColumnStyle.cs: fixes
  9450. 2005-04-20 Alexander Olk <[email protected]>
  9451. * FolderBrowserDialog.cs:
  9452. - Use a thread to fill the TreeView
  9453. - Adjusted some sizes
  9454. 2005-04-19 Peter Bartok <[email protected]>
  9455. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  9456. property. Fixes #74360.
  9457. 2005-04-19 Jackson Harper <[email protected]>
  9458. * XEventQueue.cs: Lock when getting the lockqueue size.
  9459. * PictureBox.cs: Call base OnPaint
  9460. 2005-04-19 Peter Bartok <[email protected]>
  9461. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  9462. messages were no longer being processed (this broke BeginInvoke)
  9463. 2005-04-18 Jackson Harper <[email protected]>
  9464. * TreeView.cs: buglet that caused node images to get drawn
  9465. regardless of whether or not they were in the clipping rectangle.
  9466. 2005-04-18 Jackson Harper <[email protected]>
  9467. * CurrencyManager.cs: There are four rules for GetItemProperties:
  9468. - If the type is an array use the element type of the array
  9469. - If the type is a typed list, use the type
  9470. - If the list contains an Item property that is not an object, use
  9471. that property
  9472. - use the first element of the list if there are any elements in
  9473. the list.
  9474. 2005-04-17 Jackson Harper <[email protected]>
  9475. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  9476. click. This handles offsets for scrolling properly and reduces
  9477. memory. Also fixed GetNode to not offset now that TopNode works
  9478. properly.
  9479. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  9480. 2005-04-17 Jackson Harper <[email protected]>
  9481. * CursorConverter.cs: Initial implementation.
  9482. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  9483. * ListControl.cs: work towards complex data binding support on ListControl
  9484. * CurrencyManager.cs: work towards complex data binding support on ListControl
  9485. * ListBox.cs: work towards complex data binding support on ListControl
  9486. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  9487. * GridTableStylesCollection.cs: fixes name and constructor
  9488. * DataGridTableStyle.cs: fixes
  9489. * DataGridBoolColumn.cs: fixes names and constructors
  9490. * DataGrid.cs: define methods and properties. Some init implementations
  9491. * DataGridCell.cs: define methods and properties. Some init implementations
  9492. * GridTablesFactory.cs: Define methods and properties
  9493. 2005-04-15 Geoff Norton <[email protected]>
  9494. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  9495. graphics port changes. We still want the coordinates in global screen
  9496. coordinates.
  9497. 2005-04-14 Jackson Harper <[email protected]>
  9498. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  9499. check plus minus or checkbox clicks unless those features are enabled.
  9500. 2005-04-14 Jackson Harper <[email protected]>
  9501. * TreeView.cs: Add methods for setting the top and bottom visible
  9502. nodes. TreeNode::EnsureVisible uses these methods.
  9503. * TreeNode.cs: Implement EnsureVisible
  9504. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  9505. * Form.cs: Pospone menu assignation if the window has not been created yet
  9506. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  9507. size and position
  9508. 2005-04-12 Jackson Harper <[email protected]>
  9509. * TreeView.cs: Set the TopNode properly when scrolling
  9510. occurs. This has the added benifit of reducing the amount of
  9511. walking that needs to be done when drawing. Also removed an old
  9512. misleading TODO.
  9513. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  9514. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  9515. * Timer.cs: fixes interval setting when the timer is already enabled
  9516. 2005-04-10 Alexander Olk <[email protected]>
  9517. * FolderBrowserDialog.cs: First approach
  9518. 2005-04-09 Peter Bartok <[email protected]>
  9519. * FolderBrowserDialog: Added
  9520. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  9521. * LinkLabel.cs: move drawing code into the theme
  9522. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  9523. * Theme.cs: define DrawLinkLabel method
  9524. 2005-04-05 Jackson Harper <[email protected]>
  9525. * BindingContext.cs: Use weak references so these bad actors don't
  9526. stay alive longer then they need to.
  9527. 2005-04-05 Jackson Harper <[email protected]>
  9528. * ListControl.cs: Basic implementation of complex databinding.
  9529. * ComboBox.cs:
  9530. * ListBox.cs: Add calls to ListControl databinding methods.
  9531. 2005-04-05 Alexander Olk <[email protected]>
  9532. * FileDialog.cs:
  9533. - Don't change PopupButtonState to Normal when the
  9534. PopupButton gets pressed several times.
  9535. - Renamed ButtonPanel to PopupButtonPanel
  9536. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  9537. * ColorDialog.cs: Use cached objects instead of creating them
  9538. * LinkLabel.cs: Use cached objects instead of creating them
  9539. * Splitter.cs: Use cached objects instead of creating them
  9540. * FontDialog.cs: Use cached objects instead of creating them
  9541. * PropertyGridView.cs: Use cached objects instead of creating them
  9542. * MessageBox.cs: Use cached objects instead of creating them
  9543. * FileDialog.cs: Use cached objects instead of creating them
  9544. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  9545. * TreeView.cs: Use cached objects instead of creating them
  9546. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  9547. * Control.cs: use Equals to compare the font since no == op
  9548. * ScrollBar.cs: use Equals to compare the font since no == op
  9549. 2005-04-04 Alexander Olk <[email protected]>
  9550. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  9551. 2005-04-01 Jackson Harper <[email protected]>
  9552. * Binding.cs: Implement IsBinding.
  9553. * BindingManagerBase.cs:
  9554. * PropertyManager.cs:
  9555. * CurrencyManager.cs: Add IsSuspended property.
  9556. 2005-04-01 Jackson Harper <[email protected]>
  9557. * Binding.cs: Had some IsAssignableFrom calls backwards.
  9558. 2005-04-01 Jackson Harper <[email protected]>
  9559. * Binding.cs: Handle null data members when pulling data.
  9560. * PropertyManager.cs: Handle the data member being a property that
  9561. does not exist.
  9562. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  9563. * DataGridTextBoxColumn.cs: fixes signature
  9564. * DataGrid.cs: calls right constructor
  9565. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  9566. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  9567. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  9568. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  9569. * DataGridTableStyle.cs: implements DataGridTableStyle
  9570. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  9571. * DataGridTextBox.cs: implements DataGridTextBox
  9572. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  9573. 2005-03-31 Alexander Olk <[email protected]>
  9574. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  9575. 2005-03-29 Peter Bartok <[email protected]>
  9576. * Application.cs:
  9577. - Properly implemented CompanyName property
  9578. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  9579. returns a path that includes CompanyName, ProductName and
  9580. Version (fixes bug #70330)
  9581. 2005-03-29 Stefan Buehler <[email protected]>
  9582. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  9583. fixes bug #72588.
  9584. 2005-03-28 Alexander Olk <[email protected]>
  9585. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  9586. - Added ReadOnly CheckBox
  9587. - Further refactoring: moved some code from Open-/SaveFileDialog
  9588. to FileDialog
  9589. 2005-03-28 Alexander Olk <[email protected]>
  9590. * OpenFileDialog.cs: Fixed CheckFileExists
  9591. * FileDialog.cs:
  9592. Moved FileView and DirComboBox outside FileDialog class.
  9593. They can now be used outside FileDialog
  9594. 2005-03-27 Alexander Olk <[email protected]>
  9595. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  9596. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  9597. 2005-03-27 Alexander Olk <[email protected]>
  9598. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  9599. - Added missing CreatePrompt property in SaveDialog
  9600. - Overall SaveDialog handling should be better now
  9601. - Added non standard ShowHiddenFiles property
  9602. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  9603. - Added InitialDirectory and RestoreDirectory support
  9604. 2005-03-26 Alexander Olk <[email protected]>
  9605. * FileDialog.cs: Made dirComboBox usable
  9606. 2005-03-24 Alexander Olk <[email protected]>
  9607. * FileDialog.cs: Added Filter support (case sensitiv)
  9608. 2005-03-24 Jackson Harper <[email protected]>
  9609. * TabControl.cs: Need a couple more pixels for the lines.
  9610. 2005-03-23 Jackson Harper <[email protected]>
  9611. * TabControl.cs: Give the tab page focus when it is selected.
  9612. 2005-03-23 Jackson Harper <[email protected]>
  9613. * TabControl.cs: Account for the drawing of tabs borders when
  9614. invalidating. If the slider was clicked dont do click detection on
  9615. the tabs.
  9616. 2005-03-23 Jackson Harper <[email protected]>
  9617. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  9618. 2005-03-22 Jonathan Chambers <[email protected]>
  9619. * CategoryGridEntry.cs: Added
  9620. * GridItem.cs: Added helper properties
  9621. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  9622. * GridEntry.cs: Updated code for collection
  9623. * PropertyGrid.cs: Cleaned up some formatting
  9624. * PropertyGridView.cs: Added drop down functionality for enums.
  9625. * GridItemCollection.cs: Added enumerator logic
  9626. * PropertyGridEntry.cs: Added
  9627. 2005-03-19 Alexander Olk <[email protected]>
  9628. * FileDialog.cs:
  9629. - Removed unnecessary commented code
  9630. - Fixed handling for entering the filename manually in the combobox
  9631. 2005-03-19 Alexander Olk <[email protected]>
  9632. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  9633. 2005-03-18 Peter Bartok <[email protected]>
  9634. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  9635. them being touching the border
  9636. 2005-03-18 Peter Bartok <[email protected]>
  9637. * TextControl.cs: Quick hack to center text better
  9638. 2005-03-18 Peter Bartok <[email protected]>
  9639. * ControlPaint.cs:
  9640. - Don't throw NotImplemented exceptions, just print a notice once
  9641. instead (requested by Miguel). This makes running existing SWF
  9642. apps a bit easier
  9643. * Control.cs:
  9644. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  9645. - Added context menu trigger on right click
  9646. * Panel.cs: Trigger invalidate on resize
  9647. * StatusBar.cs:
  9648. - Removed old double-buffer drawing
  9649. - Added ResizeRedraw style to force proper update of statusbar
  9650. * ListView.cs:
  9651. - Removed debug output
  9652. * ThemeWin32Classic.cs:
  9653. - Fixed drawing of status bar, now draws Text property if there
  9654. are no defined panels
  9655. 2005-03-18 Jackson Harper <[email protected]>
  9656. * ImageList.cs: When the image stream is set pull all the images
  9657. from it.
  9658. * ImageListStreamer.cs: Implement reading image list streams.
  9659. 2005-03-18 Peter Bartok <[email protected]>
  9660. * ThemeWin32Classic.cs (DrawPictureBox):
  9661. - Fixed calculations for centered drawing
  9662. - Fixed drawing for normal mode, not scaling the image on normal
  9663. 2005-03-18 Peter Bartok <[email protected]>
  9664. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  9665. textbox
  9666. * FileDialog.cs:
  9667. - Made Open/Save button the accept button for FileDialog
  9668. - Tied the cancel button to the IButtonControl cancel button
  9669. - Save/Open now properly builds the pathname
  9670. - Now handles user-entered text
  9671. - Preventing crash on right-click if no item is selected
  9672. - Fixed Text property, now uses contents of textbox
  9673. - Fixed SelectedText property, now just returns the text part that
  9674. is selected in the text box
  9675. 2005-03-18 Jackson Harper <[email protected]>
  9676. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  9677. rect, make sure to de-adjust the interior rect after drawing the
  9678. tab text.
  9679. 2005-03-18 Peter Bartok <[email protected]>
  9680. * MenuAPI.cs: Remove menu *before* executing selected action to
  9681. prevent the menu from 'hanging around'
  9682. 2005-03-17 Geoff Norton <[email protected]>
  9683. * XplatUIOSX.cs: Implemented WorkingArea property
  9684. 2005-03-17 Peter Bartok <[email protected]>
  9685. * XplatUIX11.cs: Fixed menu coord calculations
  9686. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  9687. for calculating offsets
  9688. 2005-03-17 Peter Bartok <[email protected]>
  9689. * Hwnd.cs: Do not consider menu presence for default client
  9690. rectangle location/size
  9691. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  9692. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  9693. translation functions
  9694. * FileDialog.cs: Fixed (what I presume is a) typo
  9695. 2005-03-17 Jonathan Gilbert <[email protected]>
  9696. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  9697. X access (avoids X-Async errors)
  9698. 2005-03-16 Jackson Harper <[email protected]>
  9699. * TabControl.cs: Raise the SelectedIndexChanged event.
  9700. 2005-03-16 Alexander Olk <[email protected]>
  9701. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  9702. - Removed vertical ToolBar and replaced it with a custom panel
  9703. (desktop and home button already work)
  9704. - Added Help button (some controls get resized or relocated then)
  9705. - Draw correct text depending on Open or Save.
  9706. - Fixed some typos...
  9707. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  9708. * ScrollBar.cs:
  9709. - Only change Maximum and Minimum when need it (bug fix)
  9710. 2005-03-15 Peter Bartok <[email protected]>
  9711. * Form.cs: Use Handle for icon, to trigger creation if
  9712. the window does not yet exist
  9713. * Control.cs:
  9714. - CanSelect: Slight performance improvement
  9715. - Focus(): Preventing possible recursion
  9716. - Invalidate(): Removed ControlStyle based clear flag setting
  9717. - WM_PAINT: fixed logic for calling OnPaintBackground
  9718. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  9719. EraseWindowBackground if the control doesn't paint background
  9720. * XplatUIWin32.cs:
  9721. - Moved EraseWindowBackground() method to internal methods
  9722. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  9723. is sent via SendMessage on BeginPaint call on Win32
  9724. * XplatUIX11.cs:
  9725. - Added EraseWindowBackground() method
  9726. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  9727. PaintEventStart, which more closely matches Win32 behaviour
  9728. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  9729. - Fixed SetFocus() to properly deal with client and whole windows
  9730. * Hwnd.cs: Added ErasePending property
  9731. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  9732. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  9733. 2005-03-12 Geoff Norton <[email protected]>
  9734. * XplatUIOSX.cs:
  9735. - Fix hard loop when timers exist.
  9736. - Fix bugs with middle and right click for 3 button mice.
  9737. 2005-03-11 Peter Bartok <[email protected]>
  9738. * XplatUIX11.cs:
  9739. - get_WorkingArea: Need to call X directly, GetWindowPos only
  9740. returns cached data now
  9741. - Added sanity check to GetWindowPos hwnd usage
  9742. 2005-03-11 Jackson Harper <[email protected]>
  9743. * BindingManagerBase.cs: This method isn't used anymore as
  9744. PullData now updates the data in the control.
  9745. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  9746. * Form.cs: fixes menu drawing on X11
  9747. * MenuAPI.cs: fixes menu drawing on X11
  9748. 2005-03-11 Peter Bartok <[email protected]>
  9749. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  9750. from Jonathan Gilbert; should fix bug #73606
  9751. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  9752. in Screen coordinates. Thanks, Jordi.
  9753. * Form.cs: Added missing attribute
  9754. 2005-03-11 Peter Bartok <[email protected]>
  9755. * Form.cs:
  9756. - Rudimentary Mdi support
  9757. - Removed outdated FormParent code
  9758. - Implemented lots of missing properties and methods, still missing
  9759. transparency support
  9760. - Added missing attributes
  9761. - Implemented support for MaximumBounds
  9762. - Added firing of various events
  9763. * XplatUI.cs: Added SetIcon() method
  9764. * XplatUIDriver.cs: Added SetIcon() abstract
  9765. * XplatUIOSX.cs: Stubbed out SetIcon() method
  9766. * XplatUIX11.cs:
  9767. - Implemented SetIcon() support
  9768. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  9769. - Switched to unix line endings
  9770. * XplatUIWin32.cs:
  9771. - Made POINT internal so for can access it as part of MINMAX
  9772. - Implemented SetIcon() support
  9773. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  9774. native Mdi support again, might have to go managed)
  9775. * Control.cs: Now fires the StyleChanged event
  9776. * MdiClient.cs: Added; still mostly empty
  9777. 2005-03-10 Peter Bartok <[email protected]>
  9778. * SaveFileDialog.cs: Added emtpy file
  9779. 2005-03-08 Peter Bartok <[email protected]>
  9780. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  9781. in turn triggers OnCreateContro) when creating a handle for the
  9782. first time.
  9783. * TextControl.cs: Fixed endless loop in certain cases when
  9784. replacing the current selection
  9785. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  9786. * ScrollBar.cs:
  9787. - Honors NewValue changes in Scroll events allowing apps to change it
  9788. - Adds First and Last Scroll events
  9789. - Fixes Thumb events
  9790. 2005-03-07 Peter Bartok <[email protected]>
  9791. * Hwnd.cs: Added DefaultClientRectangle property
  9792. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  9793. more detailed debug information
  9794. * XplatUIX11.cs:
  9795. - Fixed size-change feedback loop, where we would pull an old size
  9796. off the queue and mistakenly change our window's size to an
  9797. earlier value
  9798. - Now compressing ConfigureNotify events, to reduce looping and
  9799. redraw issues
  9800. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  9801. is called
  9802. 2005-03-07 Jackson Harper <[email protected]>
  9803. * Binding.cs: Push data pushes from data -> property. Check if the
  9804. property is readonly when attempting to set it.
  9805. 2005-03-07 Jackson Harper <[email protected]>
  9806. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  9807. instead of IsSubclassOf. Pulling data now sets the value on the
  9808. control.
  9809. * PropertyManager.cs:
  9810. * CurrencyManager.cs: Just need to pull data when updating now,
  9811. because PullData will set the value on the control.
  9812. 2005-03-04 Jackson Harper <[email protected]>
  9813. * Binding.cs: Implement data type parsing and converting on pulled
  9814. data. TODO: Are there more ways the data can be converted?
  9815. 2005-03-04 Jackson Harper <[email protected]>
  9816. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  9817. controls Validating method so we can repull the data when the
  9818. control loses focus.
  9819. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  9820. * ColumnHeader.cs:
  9821. - Fixes null string format
  9822. * ListView.cs:
  9823. - Adds enum type checks
  9824. - Fixes redrawing and recalc need after changing some properties
  9825. - Fixes on focus_item set after the event
  9826. - Fixes adding columns after the control has been created
  9827. * ThemeWin32Classic.cs:
  9828. - Fixes CheckBox focus rectangle
  9829. - Fixes ColumnHeader drawing
  9830. 2005-03-03 Jackson Harper <[email protected]>
  9831. * Binding.cs: Bind to <Property>Changed events so we can detect
  9832. when properties are changed and update the data.
  9833. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  9834. * ImageList.cs:
  9835. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  9836. - Fixes ImageList constructor with ImageList container
  9837. - Fixes image scaling (wrong parameters at DrawImage)
  9838. 2005-02-02 Jackson Harper <[email protected]>
  9839. * Binding.cs: Make property searches case-insensitive. Eliminate
  9840. some duplicated code.
  9841. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  9842. * ComboBox.cs:
  9843. - Handle focus event
  9844. - Fix scrollbar events
  9845. - Discard highlighted item if remove it
  9846. - Fixes SelectedItem with strings
  9847. 2005-03-01 Peter Bartok <[email protected]>
  9848. * Control.cs:
  9849. - Fixed Visible property, now follows (once again) parent chain
  9850. to return false if any control in the chain is visible=false
  9851. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  9852. - Fixed several places where is_visible instead of Visible was used
  9853. - Implemented FIXME related to focus selection when setting focused
  9854. control to be invisible
  9855. * XplatUIWin32.cs: Now using proper method to find out if window is
  9856. visible. Thanks to Jordi for pointing it out
  9857. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  9858. * ComboBox.cs: show/hide scrollbar instead of creating it
  9859. 2005-02-27 Jackson Harper <[email protected]>
  9860. * CurrencyManager.cs: Add PositionChanged stuff.
  9861. 2005-02-27 Peter Bartok <[email protected]>
  9862. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  9863. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  9864. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  9865. * XplatUIX11.cs:
  9866. - Implemented GetMenuDC()
  9867. - Implemented GetMenuOrigin()
  9868. - Implemented ReleaseMenuDC()
  9869. - Implemented generation of WM_NCPAINT message
  9870. - Implemented generation and handling of WM_NCCALCSIZE message
  9871. * Form.cs: Added debug helper message for Jordi's menu work
  9872. * Hwnd.cs:
  9873. - Modified ClientRect property; added setter, fixed getter to handle
  9874. setting of ClientRect
  9875. - Added MenuOrigin property
  9876. 2005-02-26 Peter Bartok <[email protected]>
  9877. * XplatUIX11.cs:
  9878. - Destroys the caret if a window that's being destroyed contains it
  9879. - Ignores expose events coming from the X11 queue for windows that
  9880. already are destroyed
  9881. - Now uses the proper variable for handling DestroyNotify, before we
  9882. marked the wrong window as destroyed
  9883. - Improved/added some debug output
  9884. 2005-02-26 Peter Bartok <[email protected]>
  9885. * X11Keyboard.cs: Fixes to work on 64bit systems
  9886. 2005-02-26 Peter Bartok <[email protected]>
  9887. * Control.cs:
  9888. - Now calling OnHandleDestroyed from DestroyHandle()
  9889. instead of Dispose()
  9890. - Removed bogus call to controls.Remove() from DestroyHandle()
  9891. 2005-02-26 Peter Bartok <[email protected]>
  9892. * Control.cs: Properly destroy child windows when our handle is
  9893. destroyed
  9894. 2005-02-25 Peter Bartok <[email protected]>
  9895. * XplatUI.cs:
  9896. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  9897. - Alphabetized Static Methods and Subclasses
  9898. * XplatUIX11.cs:
  9899. - Added XException class to allow custom handling of X11 exceptions
  9900. - Created custom X11 error handler, tied into XException class
  9901. - Added support for MONO_XEXCEPTIONS env var to allow the user
  9902. to either throw an exception on X errors or continue running
  9903. after displaying the error
  9904. - Added handling of DestroyNotify message
  9905. - Added handler for CreateNotify message (still disabled)
  9906. - Improved (tried to at least) Where method to provide file and lineno
  9907. * X11Structs.cs:
  9908. - Added XErrorHandler delegate
  9909. - Added XRequest enumeration (to suppor translation of errors)
  9910. 2005-02-25 Jackson Harper <[email protected]>
  9911. * PropertyManager.cs: Implement editing features
  9912. * CurrencyManager.cs:
  9913. * Binding.cs: First attempt at UpdateIsBinding
  9914. * BindingManagerBase.cs: Call UpdateIsBinding before
  9915. pushing/pulling data.
  9916. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  9917. * MenuAPI.cs: Respect disabled items
  9918. * ThemeWin32Classic.cs
  9919. - Caches ImageAttributes creation for DrawImageDisabled
  9920. - Fixes vertical menu line drawing
  9921. - Draws disabled arrows in disable menu items
  9922. 2005-02-24 Peter Bartok <[email protected]>
  9923. * Hwnd.cs:
  9924. - Added UserData property to allow associating arbitrary objects
  9925. with the handle
  9926. - Fixed leak; now removing Hwnd references from static windows array
  9927. * XplatUIWin32.cs:
  9928. - Fixed Graphics leak in PaintEventEnd
  9929. - Removed usage of HandleData, switched over to Hwnd class
  9930. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  9931. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  9932. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  9933. * ScrollBar.cs: Fixes bug
  9934. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  9935. keyboard navigation enhancements
  9936. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  9937. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  9938. * GroupBox.cs: Add control styles
  9939. * Label.cs: Add control styles
  9940. * UpDownBase.cs: Add control styles
  9941. * ListBox.cs: Add control styles
  9942. * XplatUIWin32.cs: Fixes wrong parameter order
  9943. 2005-02-23 Chris Bacon <[email protected]>
  9944. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  9945. 2005-02-23 Jackson Harper <[email protected]>
  9946. * PropertyManager.cs: Implement property binding. This doesn't
  9947. seem to work yet though as (I think) there are some bugs in
  9948. System.ComponentModel.PropertyDescriptor.
  9949. * BindingContext.cs: Use new PropertyManager constructor.
  9950. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  9951. * ProgressBar.cs: use clip region in ProgressBar
  9952. * ThemeWin32Classic.cs: use clip region in ProgressBar
  9953. 2004-02-22 Jackson Harper <[email protected]>
  9954. * BindingsCollection.cs: Remove some debug code.
  9955. 2005-02-22 Jackson Harper <[email protected]>
  9956. * BindingContext.cs:
  9957. * ControlBindingsCollection.cs:
  9958. * CurrencyManager.cs:
  9959. * Binding.cs:
  9960. * BindingManagerBase.cs: Initial implementation
  9961. * BindingsCollection.cs: Add an internal contains method that the
  9962. BindingManagerBase uses to ensure bindings aren't added twice to
  9963. the collection.
  9964. * PropertyManager.cs: Stubbed out.
  9965. * Control.cs:
  9966. * ContainerControl.cs: Hook up databinding
  9967. 2005-02-22 Geoff Norton <[email protected]>
  9968. * XplatUIOSX.cs:
  9969. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  9970. Fixed Invalidate/Update chain.
  9971. Fixed tons of other minor bugs (this is almost a complete rewrite).
  9972. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  9973. * ComboBox.cs: do subcontrol creation when the control is created
  9974. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  9975. * Label.cs: fixes image drawing (image and imagelist)
  9976. * ThemeWin32Classic.cs: cache brushes
  9977. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  9978. * Form.cs: Move menu drawing code to Theme class
  9979. * ComboBox.cs: Move ComboBox drawing code to Theme class
  9980. * MenuItem.cs: Move menu drawing code to Theme class
  9981. * MenuAPI.cs: Move menu drawing code to Theme class
  9982. * ThemeWin32Classic.cs: New methods
  9983. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  9984. * ListBox.cs: Move Listbox drawing code to Theme class
  9985. * Theme.cs: New methods
  9986. 2005-02-20 Peter Bartok <[email protected]>
  9987. * Control.cs:
  9988. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  9989. only process mnemonics on those)
  9990. - Fixed event sequence for key handling; first calling
  9991. ProcessKeyEventArgs now
  9992. * TextBoxBase.cs:
  9993. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  9994. for processing non-character keys
  9995. - Fixed WM_CHAR to generate proper event sequence before processing
  9996. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  9997. generation
  9998. 2005-02-19 Peter Bartok <[email protected]>
  9999. * UserControl.cs: Added TextChanged event; added attributes
  10000. * SizeGrip.cs: Implemented resizing and optional display of grip
  10001. * Form.cs: Fixed attribute
  10002. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  10003. Changed meaning of ScrollWindow bool argument; instead of the
  10004. clear attribute (which will be true usually anyway), it gives the
  10005. option of moving child controls as well.
  10006. * XplatUIX11.cs:
  10007. - Changed to match new ScrollWindow argument
  10008. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  10009. now handles the implicit parent window a WM puts around us
  10010. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  10011. to work)
  10012. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  10013. * TreeView.cs: Adjusted to new ScrollWindow arguments
  10014. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  10015. * Form.cs: Menu integration with non-client area
  10016. * MenuItem.cs: Menu integration with non-client area
  10017. * MenuAPI.cs: Menu integration with non-client area
  10018. 2005-02-18 Peter Bartok <[email protected]>
  10019. * MethodInvoker.cs: Added
  10020. * MdiLayout.cs: Added
  10021. * SendKeys.cs: Started implementation
  10022. * ErrorIconAlignment.cs: Added
  10023. 2005-02-18 Peter Bartok <[email protected]>
  10024. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  10025. * Form.cs: Added handling for Menu-related Non-client messages
  10026. 2005-02-17 Peter Bartok <[email protected]>
  10027. * UpDownBase.cs: Fixed typo, compilation errors
  10028. * DomainUpDown.cs: Fixed attribute value
  10029. 2005-02-16 Miguel de Icaza <[email protected]>
  10030. * UpDownBase.cs: Attach entry events.
  10031. Propagate events.
  10032. Add ForeColor property, Focused, InterceptArrowKeys (interception
  10033. does not work yet).
  10034. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  10035. * Form.cs:
  10036. - Redraw non client are on Setmenu
  10037. - Calc proper menu starting point
  10038. 2005-02-17 Peter Bartok <[email protected]>
  10039. * Application.cs: Fixed message_filter check
  10040. 2005-02-17 Peter Bartok <[email protected]>
  10041. * Application.cs: Now calls registered message filters
  10042. * DockStyle.cs: Fixed attribute
  10043. * Form.cs: Fixed attribute
  10044. * Menu.cs: Fixed attribute
  10045. * ToolTip.cs: Fixed attribute
  10046. * TreeNode.cs: Added missing attributes and arranged in regions
  10047. * PropertyGrid.cs: Fixed signatures
  10048. * TreeNodeCollection.cs: Added attributes
  10049. * Splitter.cs: Added missing attributes; arranged into regions
  10050. * TabPage.cs: Added missing attributes; arranged into regions
  10051. * TextBoxBase.cs: Added missing attributes
  10052. * TextBox.cs: Added missing attributes
  10053. * ArrangeDirection.cs: Added missing attributes
  10054. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  10055. * ToolBarButton.cs: Fixed attributes
  10056. * AnchorStyles.cs: Fixed attribute
  10057. * TrackBar.cs: Fixed attributes
  10058. * TabControl.cs: Added missing attributes and arranged into regions
  10059. * ToolBar.cs: Fixed attribute
  10060. * StatusBar.cs: Fixed signature, organized into regions and added
  10061. attributes
  10062. * StatusBarPanel.cs: Fixed attributes
  10063. * ContentsResizedEventArgs.cs: Implemented
  10064. * ContentsResizedEventHandler.cs: Implemented
  10065. * DateBoldEventArgs.cs: Implemented
  10066. * DateBoldEventHandler.cs: Implemented
  10067. * UpDownEventArgs.cs: Implemented
  10068. * UpDownEventHandler.cs: Implemented
  10069. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  10070. * Form.cs: first Menu NC refactoring
  10071. * MenuAPI.cs: first Menu NC refactoring
  10072. 2005-02-16 Peter Bartok <[email protected]>
  10073. * ImeMode.cs: Added missing attributes
  10074. * Menu.cs: Fixed attribute
  10075. * GroupBox.cs: Fixed attribute
  10076. * Label.cs: Fixed attribute
  10077. * ColorDialog.cs (RunDialog): Removed TODO attribute
  10078. * ComboBox.cs: Fixed attributes
  10079. * ListControl.cs: Added missing attributes
  10080. * PropertyGrid.cs: Fixed attributes
  10081. * Control.cs: Fixed attributes
  10082. * ListViewItem.cs: Added TypeConverter attribute
  10083. * NotifyIcon.cs: Fixed attributes
  10084. * ListView.cs: Fixed attributes
  10085. * ButtonBase.cs: Fixed attribute
  10086. * ImageList.cs: Added missing attributes
  10087. * ContainerControl.cs: Fixed signature
  10088. * CheckedListBox.cs: Fixed attribute; added missing attributes
  10089. * Panel.cs: Fixed attributes
  10090. * PropertyTabChangedEventArgs.cs: Added missing attribute
  10091. * PropertyValueChangedEventArgs.cs: Added missing attribute
  10092. * Binding.cs: Fixed attribute
  10093. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  10094. * ListBox.cs: Fixed attribute; added missing attributes;
  10095. * ScrollableControl.cs: Added missing attributes
  10096. * PictureBox.cs: Added missing attributes; implemented missing property
  10097. * DateTimePicker.cs: Added missing attributes
  10098. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  10099. * MonthCalendar.cs: Fixed attributes
  10100. * StatusBarPanel.cs: Added missing attributes
  10101. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  10102. 2005-02-16 Peter Bartok <[email protected]>
  10103. * TextBoxBase.cs: The previous method to enforce height yet remember
  10104. the requested high was less than ideal, this is an attempt to do
  10105. it better.
  10106. * Control.cs: Added comment about possible problem
  10107. * Copyright: Updated format
  10108. * GridItemType.cs: Fixed swapped values
  10109. 2005-02-15 Jackson Harper <[email protected]>
  10110. * BaseCollection.cs: Use property so we never access an
  10111. uninitialized list. Also initialize the list in the property.
  10112. 2005-02-15 Peter Bartok <[email protected]>
  10113. * GroupBox.cs (ProcessMnemonic): Implemented
  10114. * Label.cs (ProcessMnemonic): Implemented
  10115. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  10116. hotkeys
  10117. 2005-02-15 Peter Bartok <[email protected]>
  10118. * RadioButton.cs (ProcessMnemonic): Implemented
  10119. * CheckBox.cs (ProcessMnemonic): Implemented
  10120. * Control.cs:
  10121. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  10122. handling
  10123. - Added internal method to allow calling ProcessMnemonic from other
  10124. controls
  10125. * ContainerControl.cs:
  10126. - Started support for handling validation chain handling
  10127. - Implemented ProcessMnemonic support
  10128. - Added Select() call to Active, to make sure the active control
  10129. receives focus
  10130. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  10131. FormParent rewrite)
  10132. * ThemeWin32Classic.cs:
  10133. - DrawCheckBox(): Fixed stringformat to show hotkeys
  10134. - DrawRadioButton(): Fixed stringformat to show hotkeys
  10135. * CommonDialog.cs: Removed WndProc override, not needed
  10136. 2005-02-14 Peter Bartok <[email protected]>
  10137. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  10138. missed those in the rewrite
  10139. 2005-02-14 Miguel de Icaza <[email protected]>
  10140. * NumericUpDown.cs (Increment, ToString): Add.
  10141. (DecimalPlaces): implement.
  10142. Add attributes.
  10143. * UpDownBase.cs: Add the designer attributes.
  10144. 2005-02-13 Peter Bartok <[email protected]>
  10145. * Panel.cs: Removed border_style, now in Control
  10146. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  10147. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  10148. 2005-02-13 Peter Bartok <[email protected]>
  10149. * MouseButtons.cs: Added missing attributes
  10150. * XplatUIStructs.cs: Added enumeration for title styles
  10151. * LeftRightAlignment.cs: Added missing attributes
  10152. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  10153. it compatible with Graphics.FromHwnd()
  10154. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  10155. * Keys.cs: Added missing attributes
  10156. * SelectionRange.cs: Added missing attributes
  10157. * SelectionRangeConverter.cs: Added
  10158. * XplatUI.cs:
  10159. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  10160. ReleaseMenuDC methods
  10161. - Renamed ReleaseWindow to UngrabWindow
  10162. - Added proper startup notice to allow version identification
  10163. * Form.cs:
  10164. - Added missing attributes
  10165. - Removed FormParent concept
  10166. * Label.cs: Removed border_style field, now in Control
  10167. * RadioButton.cs: Now properly selects RadioButton when focus is
  10168. received
  10169. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  10170. * Control.cs:
  10171. - Added missing attributes
  10172. - Added borderstyle handling
  10173. - Removed FormParent concept support
  10174. - Fixed calls to XplatUI to match changed APIs
  10175. - Fixed bug that would case us to use disposed Graphics objects
  10176. - Removed unneeded internal methods
  10177. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  10178. - SelectNextControl(): Fixed to properly check common parents
  10179. * TextBoxBase.cs: Removed border_style field (now in Control)
  10180. * MessageBox.cs:
  10181. - Patch by Robert Thompson ([email protected]): Added icon support,
  10182. fixed calculations for form size
  10183. - Added support for localized strings and icons
  10184. - Improved form size calculations, added border
  10185. * ListView.cs: Removed border_style field (now in Control)
  10186. * X11Structs.cs: Moved several structs from X11 driver here
  10187. * X11Keyboard.cs: Changed debug message
  10188. * Application.cs: Removed FormParent concept support
  10189. * CommonDialog.cs:
  10190. - Resetting end_modal flag
  10191. - Removed FormParent concept support
  10192. * NativeWindow.cs: Removed FormParent concept support
  10193. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  10194. Client area and Non-Client whole window to allow support for WM_NC
  10195. messages
  10196. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  10197. prevent using it until it supports Hwnd as per Geoff Norton's request
  10198. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  10199. * PictureBox.cs: Removed border_style field, now in Control
  10200. * XplatUIWin32.cs: Added new driver methods
  10201. 2005-02-12 Peter Bartok <[email protected]>
  10202. * OpacityConverter.cs: Implemented
  10203. * Hwnd.cs: Internal class to support drivers that need to emulate
  10204. client area/non-client area window behaviour
  10205. 2005-02-11 Peter Bartok <[email protected]>
  10206. * KeysConverter.cs: Implemented
  10207. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  10208. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  10209. * LinkLabel: Added missing attributes
  10210. * MainMenu.cs: fixes ToString
  10211. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  10212. * ListBox.cs: fixes event position
  10213. * TrackBar.cs: adds missing attributes and events
  10214. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  10215. * MenuItem.cs: Use SystemInformation and bug fixes
  10216. * MenuAPI.cs: Use SystemInformation and bug fixes
  10217. 2005-02-09 Jackson Harper <[email protected]>
  10218. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  10219. their keystate otherwise things like VK_MENU get stuck "on".
  10220. 2005-02-09 Kazuki Oikawa <[email protected]>
  10221. * ListBox.cs: Fixes AddRange bug
  10222. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  10223. * ProgressBar.cs
  10224. - Add missing attributes
  10225. - Add missing method
  10226. * CheckedListBox.cs: Added missing attributes
  10227. - Add missing attributes
  10228. - Remove extra method
  10229. * ComboBox.cs: Added missing attributes
  10230. * VScrollBar.cs: Added missing attributes
  10231. * ScrollBar.cs: Added missing attributes
  10232. * ListBox.cs: Fixes signature, add missing consts
  10233. * LinkArea.cs: Added missing attributes
  10234. 2005-02-08 Peter Bartok <[email protected]>
  10235. * Menu.cs: Added missing attributes
  10236. * MainMenu.cs: Added missing attributes
  10237. * GroupBox.cs: Added missing attributes
  10238. * Label.cs: Added missing attributes
  10239. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  10240. * ColorDialog.cs:
  10241. - Added Instance and Options properties
  10242. - Added missing attributes
  10243. * Cursor.cs: Made Serializable
  10244. * NotifyIcon: Added missing attributes
  10245. * MenuItem.cs: Added missing attributes
  10246. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  10247. * Panel.cs: Added Missing attributes
  10248. * MonthCalendar.cs: Fixed CreateParams
  10249. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  10250. * LinkLabel.cs:
  10251. - Fixes signature
  10252. - Fixes issues with links
  10253. - Adds the class attributes
  10254. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  10255. * ComboBox.cs:
  10256. - Fixes button when no items available in dropdown
  10257. - Fixes repainting problems
  10258. - Adds the class attributes
  10259. 2005-02-07 Geoff Norton <[email protected]>
  10260. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  10261. the current theme. Cache these on startup.
  10262. 2005-02-07 Jackson Harper <[email protected]>
  10263. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  10264. the scrollbar buttons when they are depressed.
  10265. 2005-02-07 Geoff Norton <[email protected]>
  10266. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  10267. Get the display size from the main displayid. We currently dont
  10268. support multiple display configurations.
  10269. 2005-02-07 Geoff Norton <[email protected]>
  10270. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  10271. 2005-02-07 Miguel de Icaza <[email protected]>
  10272. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  10273. 2005-02-05 Jonathan Chambers <[email protected]>
  10274. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  10275. 2005-02-04 Jackson Harper <[email protected]>
  10276. * ThemeWin32Classic.cs: Respect the clipping rect when
  10277. drawing. Only fill the intersection of clips and rects so there
  10278. isn't a lot of large fills.
  10279. * ScrollBar.cs: Pass the correct clipping rect to the theme
  10280. engine. Remove some debug code.
  10281. 2005-02-05 John BouAntoun <[email protected]>
  10282. * DateTimePicker.cs:
  10283. - Fixed crash on DateTime.Parse, use Constructor instead
  10284. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  10285. * MenuItem.cs:
  10286. * MenuAPI.cs:
  10287. - Owner draw support (MeasureItem and DrawItem)
  10288. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  10289. * Menu.cs:
  10290. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  10291. - Fixes MenuItems.Add range
  10292. * MenuItem.cs:
  10293. - MergeMenu and Clone and CloneMenu functions
  10294. 2005-02-03 Jackson Harper <[email protected]>
  10295. * ScrollBar.cs: Make abstract
  10296. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  10297. is abstract.
  10298. 2005-02-03 Jackson Harper <[email protected]>
  10299. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  10300. all the unneeded refreshes and uses invalidates with properly
  10301. computed rects.
  10302. 2005-02-03 Peter Bartok <[email protected]>
  10303. * ComponentModel.cs: Added
  10304. * IDataGridEditingService.cs: Added
  10305. * Timer.cs: Added missing attributes
  10306. * ToolTip.cs: Added missing attributes
  10307. 2005-02-03 Jonathan Chambers <[email protected]>
  10308. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  10309. 2005-02-03 Peter Bartok <[email protected]>
  10310. * ListBox.cs: Added missing attributes
  10311. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  10312. * ListBox.cs:
  10313. - Fixes font height after font change
  10314. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  10315. 2005-02-02 Peter Bartok <[email protected]>
  10316. * HandleData.cs: Introduced static methods to allow class
  10317. to be more self-contained and track it's own HandleData objects
  10318. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  10319. HandleData to use new static methods
  10320. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  10321. * Combobox.cs:
  10322. - Fixes default size and PreferredHeight
  10323. - Missing events
  10324. - ObjectCollection.Insert implementation
  10325. * ListControl.cs
  10326. - Fixes signature
  10327. * ListBox.cs:
  10328. - Several fixes
  10329. - ObjectCollection.Insert implementation
  10330. - No selection after clean
  10331. - Small fixes
  10332. 2005-01-31 John BouAntoun <[email protected]>
  10333. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  10334. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  10335. * Combobox.cs:
  10336. - Caches ItemHeight calculation for OwnerDrawVariable
  10337. - Handles dropdown properly
  10338. - Fixes several minor bugs
  10339. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  10340. * ListBox.cs:
  10341. - Fixes 71946 and 71950
  10342. - Fixes changing Multicolumn on the fly
  10343. - Fixes keyboard navigation on Multicolumn listboxes
  10344. 2005-01-31 Geoff Norton <[email protected]>
  10345. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  10346. crash reporter log.
  10347. 2005-01-31 Geoff Norton <[email protected]>
  10348. * XplatUIOSX.cs: Allow applications to actually exit.
  10349. 2005-01-31 Geoff Norton <[email protected]>
  10350. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  10351. their parent at creation time rather than lazily later. Fixes a major
  10352. regression we were experiencing.
  10353. 2005-01-31 John BouAntoun <[email protected]>
  10354. * ThemeWin32Classic.cs: more date time picker painting fixes
  10355. * DateTimePicker.cs: more monthcalendar drop down fixes
  10356. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  10357. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  10358. * ScrollBar.cs:
  10359. - When moving the thumb going outside the control should stop the moving
  10360. - Adds the firing of missing events
  10361. - Fixes no button show if Size is not specified
  10362. - End / Home keys for keyboard navigation
  10363. 2005-01-30 Peter Bartok <[email protected]>
  10364. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  10365. sanity check to prevent theoretical loop
  10366. * XplatUIWin32.cs (SetVisible): Removed debug output
  10367. * XplatUIX11.cs (SystrayChange): Added sanity check
  10368. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  10369. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  10370. behaviour, valid until the X11 client window rewrite is done
  10371. * TextBox.cs (ctor): Setting proper default foreground and background
  10372. colors
  10373. 2005-01-30 John BouAntoun <[email protected]>
  10374. * Theme: Added DrawDateTimePicker to interface
  10375. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  10376. * DateTimePicker.cs: Created (still needs keys and painting code)
  10377. * DateTimePickerFormat.cs: added
  10378. * MonthCalendar.cs: fixed CreateParams for popup window mode
  10379. 2005-01-29 Peter Bartok <[email protected]>
  10380. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  10381. this should also the calculations for ligher/darker
  10382. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  10383. 2005-01-29 Peter Bartok <[email protected]>
  10384. * ArrangeDirection.cs: Added
  10385. * ArrangeStartingPositon.cs: Added
  10386. * SystemInformation.cs: Implemented
  10387. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  10388. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  10389. used by SystemInformation class
  10390. * X11Strucs.cs: Added XSizeHints structure
  10391. * MenuAPI.cs:
  10392. - Fixed CreateParams to make sure the menu window is always visible
  10393. - TrackPopupMenu: Added check to make sure we don't draw the
  10394. menu offscreen
  10395. 2005-01-29 Peter Bartok <[email protected]>
  10396. * HandleData.cs: Added method for altering invalid area
  10397. * TextBoxBase.cs: Implemented TextLength
  10398. 2005-01-28 Peter Bartok <[email protected]>
  10399. * XplatUIX11.cs: Improvement over last patch, not sending
  10400. the WM_PAINT directly anymore, instead we scroll any pending
  10401. exposed areas and let the system pick out the WM_PAINT later
  10402. 2005-01-28 Peter Bartok <[email protected]>
  10403. * SWF.csproj: Deleted, no longer used. Instead,
  10404. Managed.Windows.Forms/SWF.csproj should be used
  10405. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  10406. directly, to avoid a potential race condition with the next
  10407. scroll
  10408. 2005-01-28 Peter Bartok <[email protected]>
  10409. * XplatUI.cs: Made class internal
  10410. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  10411. * CheckedListBox.cs:
  10412. - Draw focus
  10413. - Fixed Drawing
  10414. - Missing methods and events
  10415. 2005-01-27 Peter Bartok <[email protected]>
  10416. * Application.cs (Run): Don't use form if we don't have one
  10417. 2005-01-27 Peter Bartok <[email protected]>
  10418. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  10419. 2005-01-27 Peter Bartok <[email protected]>
  10420. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  10421. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  10422. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  10423. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  10424. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  10425. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  10426. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  10427. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  10428. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  10429. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  10430. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  10431. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  10432. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  10433. * Combobox.cs:
  10434. - Draw focus on Simple Combobox
  10435. - Fixes drawing issues
  10436. - fixes 71834
  10437. 2005-01-27 Peter Bartok <[email protected]>
  10438. * Form.cs:
  10439. - Place window in default location, instead of hardcoded 0/0
  10440. - Send initial LocationChanged event
  10441. * Control.cs:
  10442. - UpdateBounds after creation to find out where the WM placed us
  10443. - Make sure that if the ParentForm changes location the Form
  10444. is notified
  10445. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  10446. to the root, but to whatever the WM placed around us.
  10447. Translate to root coordinates before returning toplevel
  10448. coordinates
  10449. * XplatUIWin32.cs: Removed debug output
  10450. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  10451. flag to GetWindowPos, to allow translation of coordinates on X11
  10452. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  10453. * ListBox.cs: connect LostFocus Event
  10454. 2005-01-27 Peter Bartok <[email protected]>
  10455. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  10456. XplatUIX11.cs: Extended the Systray API
  10457. * Form.cs: Removed debug output
  10458. * Application.cs: Fixed focus assignment, always need to call
  10459. XplatUI.Activate() since Form.Activate() has rules that may
  10460. prevent activation
  10461. * NotifyIcon.cs: Should be complete now
  10462. * ToolTip.cs: Worked around possible timer bug
  10463. 2005-01-27 Jackson Harper <[email protected]>
  10464. * TabControl.cs:
  10465. - Only invalidate the effected tabs when the
  10466. selected index changes. This reduces drawing and gets rid of some
  10467. flicker.
  10468. - Only refresh if the tabs need to be shifted, otherwise only
  10469. invalidate the slider button.
  10470. - On windows the tabs are not filled to right if the slider is
  10471. visible.
  10472. 2005-01-27 Jackson Harper <[email protected]>
  10473. * TabControl.cs: Only refresh on mouseup if we are showing the
  10474. slider. Also only invalidate the button whose state has changed.
  10475. 2005-01-26 Peter Bartok <[email protected]>
  10476. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  10477. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  10478. and SystrayRemove() methods
  10479. * XplatUIOSX.cs: Stubbed Systray methods
  10480. * XplatUIX11.cs:
  10481. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  10482. methods
  10483. - Fixed broken XChangeProperty calls (marshalling messed up things)
  10484. * X11Structs.cs: Added enums and structs required for Size hinting
  10485. * NotifyIcon.cs: Added & implemented
  10486. 2005-01-26 Jackson Harper <[email protected]>
  10487. * TabControl.cs: Space vertically layed out tabs properly.
  10488. 2005-01-26 Peter Bartok <[email protected]>
  10489. * Form.cs (CreateClientParams): Always set the location to 0,0
  10490. since we're a child window.
  10491. * Control.cs (SetVisibleCore): Always explicitly setting the location
  10492. of a toplevel window, apparently X11 doesn't like to move windows
  10493. while they're not mapped.
  10494. 2005-01-26 Jackson Harper <[email protected]>
  10495. * TabControl.cs: Implement FillToRight size mode with vertically
  10496. rendered tabs.
  10497. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  10498. * ControlPaint.cs, ThemeWin32Classic.cs
  10499. - Fixes DrawFocusRectangle
  10500. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  10501. * MenuAPI.cs:
  10502. - MenuBar tracking only starts when item is first clicked
  10503. - Fixes menu hidding for multiple subitems
  10504. - Unselect item in MenuBar when item Executed
  10505. - Fixes bug 71495
  10506. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  10507. * ListControl.cs:
  10508. - IsInputKey for ListBox
  10509. * ListBox.cs:
  10510. - Focus item
  10511. - Shift and Control item selection
  10512. - Implement SelectionMode.MultiExtended
  10513. - Fixes RightToLeft
  10514. * ComboBox.cs:
  10515. - IsInputKey implemented
  10516. - Do not generate OnTextChangedEdit on internal txt changes
  10517. 2005-01-23 Peter Bartok <[email protected]>
  10518. * AccessibleObject.cs: Partially implemented Select()
  10519. * MonthCalendar.cs: Added missing attributes and events
  10520. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  10521. form can properly override CreateParams.
  10522. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  10523. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  10524. Control performs Invalidate & Update
  10525. * NativeWindow (CreateHandle): Added special handling for Form
  10526. and Form.FormParent classes to allow overriding of From.CreateParams
  10527. * Control.cs:
  10528. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  10529. name 'owner'
  10530. - ControlNativeWindow: Added Owner property
  10531. - Removed usage of Refresh() on property changes, changed into
  10532. Invalidate(), we need to wait until the queue is processed for
  10533. updates, direct calls might cause problems if not all vars for
  10534. Paint are initialized
  10535. - Added call to UpdateStyles() when creating the window, to set any
  10536. styles that CreateWindow might have ignored.
  10537. - Added support for Form CreateParent overrides to UpdateStyles()
  10538. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  10539. CreateParams are now properly overridable
  10540. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  10541. CreateParams are now properly overridable
  10542. 2005-01-23 Miguel de Icaza <[email protected]>
  10543. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  10544. OnTextBoxChanged.
  10545. Capture LostFocus and OnTextBoxChanged. The later introduces a
  10546. recursive invocation that I have not figured out yet.
  10547. Reset the timer when not using (it was accumulating).
  10548. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  10549. user has made changes that require validation.
  10550. Reset changing to avoid loops.
  10551. 2005-01-22 Miguel de Icaza <[email protected]>
  10552. * NumericUpDown.cs: Display value at startup.
  10553. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  10554. ValidateEditText.
  10555. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  10556. filled in. Added some basic parsing of text.
  10557. Still missing the OnXXX method overrides, and figuring out the
  10558. events that must be emitted.
  10559. * UpDownBase.cs: Handle UserEdit on the Text property.
  10560. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  10561. * ComboBox.cs:
  10562. - Fixes IntegralHeight
  10563. - ToString method
  10564. 2005-01-21 Jackson Harper <[email protected]>
  10565. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  10566. is set so that the page visibility is updated and the tabs are
  10567. sized correctly.
  10568. 2005-01-21 Jackson Harper <[email protected]>
  10569. * TabControl.cs: Use cliping rectangle for blitting. Give the
  10570. theme the clipping rect so we can do clipping while
  10571. drawing. Remove some debug code.
  10572. 2005-01-21 Jackson Harper <[email protected]>
  10573. * TabPage.cs: Add a new method so tab pages can force the tab
  10574. control to recalculate the tab page sizes.
  10575. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  10576. sizes.
  10577. 2005-01-20 Jackson Harper <[email protected]>
  10578. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  10579. 2005-01-20 Jackson Harper <[email protected]>
  10580. * TreeView.cs: Set the bounds for nodes properly. They were
  10581. getting screwed up when checkboxes were not enabled, but images
  10582. were.
  10583. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  10584. * ListBox.cs:
  10585. - Owner draw support
  10586. - Fixes
  10587. 2005-01-20 Jackson Harper <[email protected]>
  10588. * XplatUIStructs.cs: More misc keys
  10589. * X11Keyboard.cs: Ignore some control keys.
  10590. 2005-01-20 Jackson Harper <[email protected]>
  10591. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  10592. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  10593. 2005-01-19 Peter Bartok <[email protected]>
  10594. * Control.cs: Un-selecting the control when it is loosing focus
  10595. 2005-01-19 Jackson Harper <[email protected]>
  10596. * TreeView.cs: Hook up to the text controls leave event so we can
  10597. end editing when the users clicks outside the text box.
  10598. 2005-01-19 Jackson Harper <[email protected]>
  10599. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  10600. get set in the conversion array.
  10601. 2005-01-19 Peter Bartok <[email protected]>
  10602. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  10603. focus is properly set
  10604. * Button.cs:
  10605. - Added missing attributes
  10606. - removed styles, those are already set in the base class
  10607. * ButtonBase.cs:
  10608. - Added missing attributes
  10609. - Added clip window styles
  10610. * CheckBox.cs: Added missing attributes
  10611. * CommonDialog.cs:
  10612. - FormParentWindow.CreateParams: Added required clip styles
  10613. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  10614. also filters modifier keys
  10615. * MessageBox.cs:
  10616. - Added assignment of Accept and Cancel button to enable Enter
  10617. and Esc keys in MessageBox dialogs
  10618. - FormParentWindow.CreateParams: Added required clip styles
  10619. * RadioButton.cs: Added missing attributes
  10620. * TextControl.cs: No longer draws selection if control does not
  10621. have focus
  10622. * TextBoxBase.cs:
  10623. - Now draws simple rectangle around test area to make it obvious
  10624. there's a control. This is a hack until we properly support borders
  10625. - A few simple fixes to support selections better, now erases selected
  10626. text when typing, and resets selection when using movement keys
  10627. 2005-01-19 Miguel de Icaza <[email protected]>
  10628. * UpDownBase.cs: Added some new properties.
  10629. * DomainUpDown.cs: Implement a lot to get my test working.
  10630. 2005-01-19 Geoff Norton <[email protected]>
  10631. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  10632. 2005-01-19 Geoff Norton <[email protected]>
  10633. * OSXStructs (WindowAttributes): Fixed csc complaints
  10634. 2005-01-19 Geoff Norton <[email protected]>
  10635. * XplayUIOSX.cs:
  10636. OSXStructs.cs: Initial refactor to move enums and consts into
  10637. OSXStructs and use them in the driver for greater readability.
  10638. 2005-01-19 Geoff Norton <[email protected]>
  10639. * XplatUIOSX.cs: Initial support for Standard Cursors.
  10640. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  10641. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  10642. * ComboBox.cs: ability to change style when the ctrl is already
  10643. created, missing methods and events, bug fixes, signature fixes
  10644. 2005-01-19 Peter Bartok <[email protected]>
  10645. * Cursors.cs (ctor): Added ctor to fix signature
  10646. 2005-01-18 Peter Bartok <[email protected]>
  10647. * Button.cs: Implemented DoubleClick event
  10648. * ButtonBase.cs:
  10649. - Fixed keyboard handling to behave like MS, where the press of
  10650. Spacebar is equivalent to a mousedown, and the key release is
  10651. equivalent to mouseup. Now a spacebar push will give the same
  10652. visual feedback like a mouse click.
  10653. - Added missing attributes
  10654. - Added ImeModeChanged event
  10655. - Added support for generating DoubleClick event for derived classes
  10656. * CheckBox.cs:
  10657. - Implemented DoubleClick event
  10658. - Added missing attributes
  10659. * CommonDialog.cs: Added missing attribute
  10660. * ContextMenu.cs: Added missing attributes
  10661. * RadioButton.cs:
  10662. - AutoChecked buttons do not allow to be unselected when clicked
  10663. (otherwise we might end up with no selected buttons in a group)
  10664. - Added missing attributes
  10665. - Implemented DoubleClickEvent
  10666. * ThreadExceptionDialog.cs: Enabled TextBox code
  10667. 2005-01-18 Peter Bartok <[email protected]>
  10668. * Form.cs: Removed debug output
  10669. * Button.cs: Added support for DoubleClick method
  10670. 2005-01-18 Peter Bartok <[email protected]>
  10671. * Form.cs:
  10672. - Added method to parent window that allows triggering size
  10673. calculations when a menu is added/removed
  10674. - set_Menu: Cleaned up mess from early days of Form and Control,
  10675. now properly triggers a recalc when a menu is added/removed
  10676. - Added case to select form itself as focused form if no child
  10677. controls exist
  10678. - Added PerformLayout call when showing dialog, to ensure properly
  10679. placed controls
  10680. * Control.cs:
  10681. - Select(): Made internal so Form can access it
  10682. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  10683. status
  10684. * Application.cs (Run): Removed hack and calls PerformLayout instead
  10685. to trigger calculation when Form becomes visible
  10686. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  10687. * ComboBox.cs: fixes for ownerdraw
  10688. 2005-01-18 Peter Bartok <[email protected]>
  10689. * TextControl.cs:
  10690. - Sentinel is no longer static, each Document gets it's own, this
  10691. avoids locking or alternatively overwrite problems when more
  10692. than one text control is used simultaneously.
  10693. - Switched to use Hilight and HilightText brushes for text selection
  10694. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  10695. 2005-01-18 Peter Bartok <[email protected]>
  10696. * Control.cs:
  10697. - Hooked up the following events:
  10698. o ControlAdded
  10699. o ControlRemoved
  10700. o HandleDestroyed
  10701. o ImeModeChanged
  10702. o ParentChanged
  10703. o TabStopChanged
  10704. o Invalidated
  10705. o SystemColorsChanged
  10706. o ParentFontChanged
  10707. o Move
  10708. - Removed debug output
  10709. - Added a call to the current theme's ResetDefaults when a color change
  10710. is detected
  10711. * Form.cs: Now setting the proper ImeMode
  10712. * Theme.cs: Defined a method to force recreation of cached resources
  10713. and rereading of system defaults (ResetDefaults())
  10714. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  10715. 2005-01-17 Peter Bartok <[email protected]>
  10716. * Control.cs: Added missing attributes
  10717. 2005-01-17 Jackson Harper <[email protected]>
  10718. * TreeNode.cs: Implement editing. Add missing properties selected
  10719. and visible.
  10720. * TreeView.cs: Implement node editing. Also some fixes to use
  10721. Invalidate (invalid area) instead of Refresh when selecting.
  10722. 2005-01-17 Peter Bartok <[email protected]>
  10723. * Control.cs:
  10724. - Implemented InvokeGotFocus() method
  10725. - Implemented InvokeLostFocus() method
  10726. - Implemented InvokePaint() method
  10727. - Implemented InvokePaintBackground() method
  10728. - Implemented InvokeClick() method
  10729. - Implemented FindForm() method
  10730. - Implemented RectangleToClient() method
  10731. - Implemented ClientToRectangle() method
  10732. - Implemented ResetBackColor() method
  10733. - Implemented ResetCursor() method
  10734. - Implemented ResetFont() method
  10735. - Implemented ResteForeColor() method
  10736. - Implemented ResetImeMode() method
  10737. - Implemented ResetLeftToRight() method
  10738. - Implemented ResetText() method
  10739. - Implemented Scale() methods
  10740. - Implemented ScaleCore() method
  10741. - Implemented Update() method
  10742. - Removed unused variables
  10743. - Stubbed AccessibilityNotifyClients and
  10744. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  10745. with those yet)
  10746. - Now setting proper default for RightToLeft property
  10747. - Fixed bug in SetClientSizeCore that would cause windows to get
  10748. really big
  10749. - Now sending Click/DoubleClick events
  10750. - Now selecting controls when left mouse button is clicked on
  10751. selectable control
  10752. * AccessibleEvents.cs: Added
  10753. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  10754. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  10755. * XplatUIWin32.cs: Implemented UpdateWindow() method
  10756. * XplatUIX11.cs: Implemented UpdateWindow() method
  10757. * Form.cs: Removed stray semicolon causing CS0162 warning
  10758. * ThemeWin32Classic.cs: Fixed unused variable warnings
  10759. * ScrollableControl.cs: Now calls base method for ScaleCore
  10760. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  10761. style to avoid interference with internal click handler (which is
  10762. different than standard Control click handling)
  10763. * RadioButton.cs:
  10764. - Now unchecks all sibling radio buttons when control is
  10765. selected (Fixes #68756)
  10766. - Removed internal tabstop variable, using the one inherited from
  10767. Control
  10768. 2005-01-17 Jackson Harper <[email protected]>
  10769. * NavigateEventArgs.cs: Fix base type.
  10770. * LinkLabel.cs: Sig fix
  10771. 2005-01-17 Jackson Harper <[email protected]>
  10772. * TreeView.cs: Only invalidate the effected nodes bounds when
  10773. selecting nodes.
  10774. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  10775. * XplatUIWin32.cs: fixes Win32 marshaling
  10776. * XplatUIX11.cs: fixes method signature
  10777. 2005-01-17 Peter Bartok <[email protected]>
  10778. * XplatUIX11.cs: Clean up resources when we no longer need them
  10779. 2005-01-17 Peter Bartok <[email protected]>
  10780. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  10781. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  10782. and DestroyCursor() methods.
  10783. * Cursor.cs: Partially implemented, now supports standard cursors;
  10784. still contains some debug code
  10785. * Cursors.cs: Implemented class
  10786. * Control.cs:
  10787. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  10788. appropriate cursor
  10789. - Implemented Cursor property
  10790. - Replaced break; with return; more straightforwar and possibly
  10791. faster
  10792. - Now properly setting the result for WM_HELP
  10793. * X11Structs.cs: Added CursorFontShape enum
  10794. * XplatUIStructs.cs:
  10795. - Added StdCursor enum (to support DefineStdCursor() method)
  10796. - Added HitTest enum (to support sending WM_SETCURSOR message)
  10797. * XplatUIX11.cs:
  10798. - Now sends the WM_SETCURSOR message
  10799. - Implemented new cursor methods
  10800. * XplatUIOSX.cs: Stubbed new cursor methods
  10801. * XplatUIWin32.cs:
  10802. - Implemented new cursor methods
  10803. - Added GetSystemMetrics function and associated enumeration
  10804. 2005-01-15 Peter Bartok <[email protected]>
  10805. * Control.cs:
  10806. - WndProc(): Now handles EnableNotifyMessage
  10807. - SelectNextControl(): Fixed bug where if no child or sibling
  10808. controls exist we looped endlessly
  10809. 2005-01-14 Jackson Harper <[email protected]>
  10810. * TreeView.cs: Recalculate the tab pages when a new one is added
  10811. so that the proper bounding rects are created.
  10812. 2005-01-14 Jackson Harper <[email protected]>
  10813. * TreeView.cs: Draw a gray box instead of a grip in the lower
  10814. right hand corner when there are both horizontal and vertical
  10815. scroll bars.
  10816. 2005-01-14 Jackson Harper <[email protected]>
  10817. * Control.cs: When erasing backgrounds use FromHwnd instead of
  10818. FromHdc when there is a NULL wparam. This occurs on the X driver.
  10819. * XplatUIX11.cs: Set the wparam to NULL.
  10820. 2005-01-13 Jackson Harper <[email protected]>
  10821. * PictureBox.cs: Implement missing methods (except ToString, need
  10822. to test that on windows) and events. When visibility is changed we
  10823. need to redraw the image because the buffers are killed. When size
  10824. is changed refresh if the sizemode needs it.
  10825. 2005-01-13 Peter Bartok <[email protected]>
  10826. * Control.cs (SelectNextControl): Was using wrong method to select
  10827. a control
  10828. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  10829. * ComboBox.cs: fixes dropstyle
  10830. 2005-01-13 Peter Bartok <[email protected]>
  10831. * Form.cs:
  10832. - Implemented Select() override
  10833. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  10834. - Now sets keyboard focus on startup
  10835. * Control.cs (SelectNextControl): Now properly handles directed=true
  10836. * TextBoxBase.cs:
  10837. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  10838. - Added (really bad) focus rectangle (mostly for testing)
  10839. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  10840. to enforce redraw on focus changes
  10841. * ContainerControl.cs:
  10842. - Fixed detection of Shift-Tab key presses
  10843. - Fixed traversal with arrow keys
  10844. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  10845. gonna keep this or if it's complete yet
  10846. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  10847. * ComboBox.cs: missing properties, fixes
  10848. 2005-01-13 Peter Bartok <[email protected]>
  10849. * Panel.cs (ctor): Setting Selectable window style to off
  10850. * Splitter.cs (ctor): Setting Selectable window style to off
  10851. * GroupBox.cs (ctor): Setting Selectable window style to off
  10852. * Label.cs (ctor): Setting Selectable window style to off
  10853. 2005-01-12 Miguel de Icaza <[email protected]>
  10854. * UpDownBase.cs (InitTimer): If the timer has been already
  10855. created, enable it.
  10856. Use a TextBox instead of a Label.
  10857. 2005-01-12 Jackson Harper <[email protected]>
  10858. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  10859. draw the connecting node lines (when ShowLines is true).
  10860. * TreeNode.cs: The nodes index can now be updated. This is used
  10861. when a node collection is sorted.
  10862. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  10863. insert or an existing unsorted node collection can be sorted.
  10864. 2005-01-12 Peter Bartok <[email protected]>
  10865. * ContainerControl.cs: Implemented ProcessDialogKeys()
  10866. 2005-01-12 Peter Bartok <[email protected]>
  10867. * Control.cs:
  10868. - Implemented SelectNextControl() method
  10869. - Several focus related bug fixes
  10870. - Fixed Docking calculations to match MS documentation and
  10871. behaviour
  10872. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  10873. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  10874. bug fixes
  10875. 2005-01-12 Peter Bartok <[email protected]>
  10876. * Control.cs:
  10877. - Fixed broken Contains() method
  10878. - Implemented GetNextControl() method. Finally. This is the pre-
  10879. requisite for focus handling.
  10880. 2005-01-12 Peter Bartok <[email protected]>
  10881. * OSXStrucs.cs: Added
  10882. 2005-01-12 Peter Bartok <[email protected]>
  10883. * XplatUIWin32.cs:
  10884. - Removed PeekMessageFlags
  10885. - Implemented SetWindowStyle() method
  10886. * XplatUIStructs.cs: Added PeekMessageFlags
  10887. * X11Structs: Added missing border_width field to XWindowChanges struct
  10888. * XplatUIX11.cs:
  10889. - PeekMessage: Now throws exception if flags which are not yet
  10890. supported are passed
  10891. - Implemented SetWindowStyle() method
  10892. - Fixed SetZOrder to handle AfterHwnd properly
  10893. * XplatUI.cs: Added SetWindowStyle() method
  10894. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  10895. * Control.cs:
  10896. - Implemented UpdateStyles() method
  10897. - Implemented UpdateZOrder() method
  10898. * XplatUIOSX.cs: Added SetWindowStyle() stub
  10899. 2005-01-12 Geoff Norton <[email protected]>
  10900. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  10901. button mouse).
  10902. 2005-01-11 Jackson Harper <[email protected]>
  10903. * TreeView.cs: Still need to draw lines to siblings even if out of
  10904. the current node is out of the clip.
  10905. 2005-01-11 Jackson Harper <[email protected]>
  10906. * TreeView.cs: When setting the hbar/vbar/grip position use
  10907. SetBounds so that perform layout is only called once. Also suspend
  10908. and resume layout so layout is only done once for all controls.
  10909. - Removed some debug fluff
  10910. * SizeGrip.cs: Call base implmentation in overriding methods.
  10911. - When visibility is changed the drawing buffers are killed so we
  10912. need to redraw.
  10913. 2005-01-11 Jackson Harper <[email protected]>
  10914. * TreeView.cs: Calculate the open node count while drawing. This
  10915. saves us an entire tree traversal for every paint operation. Use
  10916. a member var for the open node count so less vars are passed around.
  10917. 2005-01-11 John BouAntoun <[email protected]>
  10918. * MonthCalendar.cs:
  10919. - fixed selection to use mousemove, not mouse polling on timer
  10920. * ThemeWin32Classic.cs
  10921. - removed redundant unused variable "no_more_content"
  10922. 2005-01-11 Peter Bartok <[email protected]>
  10923. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  10924. are pending, so it now calls PeekMessage instead of GetMessage;
  10925. implemented a incomplete version of PeekMessage
  10926. 2005-01-11 Peter Bartok <[email protected]>
  10927. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  10928. I18n issues
  10929. * TextBoxBase.cs: Added sending of TextChanged event
  10930. 2005-01-10 Jackson Harper <[email protected]>
  10931. * TreeView.cs: Try not to draw outside the clipping rectangle on
  10932. each node element.
  10933. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  10934. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  10935. 2005-01-10 Jackson Harper <[email protected]>
  10936. * TreeView.cs:
  10937. - Implement fast scrolling. Now only the newly
  10938. exposed nodes are drawn and the old image is moved using the
  10939. XplatUI::ScrollWindow method.
  10940. - Factor in height of nodes when calculating whether or not the
  10941. node is in the clipping rect.
  10942. 2005-01-10 Jackson Harper <[email protected]>
  10943. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  10944. 2005-01-10 Peter Bartok <[email protected]>
  10945. * Application.cs: Added temporary hack to resolve all our resize
  10946. required issues on startup. This will get fixed properly at
  10947. some point in the future
  10948. 2005-01-10 Jackson Harper <[email protected]>
  10949. * SizeGrip.cs: New internal class that is used as a sizing
  10950. grip control...hence the name.
  10951. 2005-01-10 Peter Bartok <[email protected]>
  10952. * Control.cs: Implemented proper TabIndex handling, now assigning
  10953. a tabindex when a control is added to a container
  10954. * GroupBox.cs (ctor): Now sets the Container style bit, required
  10955. for Control.GetNextControl()
  10956. 2005-01-09 Jackson Harper <[email protected]>
  10957. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  10958. 2005-01-09 Peter Bartok <[email protected]>
  10959. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  10960. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  10961. an overload for ScrollWindow to allow only scrolling a rectangle
  10962. 2005-01-09 Peter Bartok <[email protected]>
  10963. * Form.cs:
  10964. - Implemented SetDesktopBounds method
  10965. - Implemented SetDesktopLocation method
  10966. 2005-01-08 Jackson Harper <[email protected]>
  10967. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  10968. the node count has changed, this removes to VScroll::Refresh calls
  10969. when drawing.
  10970. 2005-01-08 Geoff Norton <[email protected]>
  10971. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  10972. 2005-01-07 Jackson Harper <[email protected]>
  10973. * TreeNode.cs: Just update the single node when it is
  10974. checked. Don't refresh after toggling, the Expand/Collapse already
  10975. handles this.
  10976. * TreeView.cs: Respect clipping a little more when drawing. Try
  10977. not to redraw things that don't need to be redrawn. Just hide the
  10978. scrollbars when they are no longer needed instead of removing
  10979. them, so they don't have to be created again and again.
  10980. 2005-01-07 Geoff Norton <[email protected]>
  10981. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  10982. coordinates to window space to place the caret properly, FIXED.
  10983. Implement GetWindowState & SetWindowState
  10984. 2005-01-06 Peter Bartok <[email protected]>
  10985. * Form.cs:
  10986. - Implemented ClientSize property
  10987. - Implemented DesktopBounds property
  10988. - Implemented DesktopLocation property
  10989. - Implemented IsRestrictedWindow property
  10990. - Implemented Size property
  10991. - Implemented TopLevel property
  10992. - Implemented FormWindowState property
  10993. * Control.cs:
  10994. - Implemented GetTopLevel() method
  10995. - Implemented SetTopLevel() method
  10996. * X11Structs.cs (Atom):
  10997. - Added AnyPropertyType definition
  10998. - Added MapState definiton and updated XWindowAttribute struct
  10999. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  11000. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  11001. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  11002. * XplatUIWin32.cs:
  11003. - Implemented GetWindowState() and SetWindowState() methods
  11004. - Fixed Win32GetWindowLong return type
  11005. * XplatUIX11.cs:
  11006. - Introduced central function for sending NET_WM messages
  11007. - Implemented GetWindowState() and SetWindowState() methods
  11008. * TextBoxBase.cs (set_Lines):
  11009. - Now uses Foreground color for text added via Text property (Duh!)
  11010. - Added code to remember programmatically requested size (fixes
  11011. behaviour when Multiline is set after Size)
  11012. - Added AutoSize logic
  11013. 2005-01-06 Jackson Harper <[email protected]>
  11014. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  11015. 2005-01-06 Jackson Harper <[email protected]>
  11016. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  11017. set to less then 0.
  11018. 2005-01-06 Jackson Harper <[email protected]>
  11019. * ScrollableControl.cs: Lazy init the scrollbars.
  11020. 2005-01-06 Jackson Harper <[email protected]>
  11021. * Theme.cs: Speed up getting pens and solid brushes, by using
  11022. their ARGB as a hash instead of tostring and not calling Contains.
  11023. 2005-01-06 Peter Bartok <[email protected]>
  11024. * Form.cs:
  11025. - Implemented OnActivated and OnDeactivate event trigger
  11026. - Implemented Activate() method
  11027. - Fixed ShowDialog() to activate the form that was active before
  11028. the dialog was shown
  11029. * XplatUIX11.cs:
  11030. - Added global active_window var that tracks the currently active
  11031. X11 window
  11032. - Now always grabs Property changes from the root window to always
  11033. catch changes on the active window property
  11034. - Added code to PropertyNotify handler to send Active/Inactive
  11035. messages when state changes. This puts X11 and Win32 en par on
  11036. WM_ACTIVATE notifications (except for double notifications when
  11037. the user clicks away from our modal window to another one of our
  11038. windows)
  11039. 2005-01-05 Jackson Harper <[email protected]>
  11040. * ImageList.cs: Implment ctor
  11041. 2005-01-05 Geoff Norton <[email protected]>
  11042. * XplatUIOSX.cs: Implement Activate/SetTopmost
  11043. 2005-01-05 Geoff Norton <[email protected]>
  11044. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  11045. 2005-01-05 Geoff Norton <[email protected]>
  11046. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  11047. 2005-01-05 Peter Bartok <[email protected]>
  11048. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  11049. XplatUIOSX.cs: Added GetActive method to return the currently
  11050. active window for the application (or null, if none is active)
  11051. * Form.cs:
  11052. - Implemented ActiveForm
  11053. - Commented out owner assignment for modal dialogs (causes problems
  11054. on Win32, since the owner will be disabled)
  11055. - Reworked some Active/Focus handling (still incomplete)
  11056. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  11057. (causes problems on Win32, since the owner will be disabled)
  11058. * IWin32Window: Added ComVisible attribute
  11059. 2005-01-05 Peter Bartok <[email protected]>
  11060. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  11061. required XplatUI functions.
  11062. 2005-01-05 Peter Bartok <[email protected]>
  11063. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  11064. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  11065. to implement focus and activation handling; still incomplete and
  11066. with debug output
  11067. 2005-01-04 Peter Bartok <[email protected]>
  11068. * TextBoxBase.cs: Changed access level for Document property to
  11069. match switch to internal for TextControl
  11070. 2005-01-04 Peter Bartok <[email protected]>
  11071. * AccessibleObject: Added ComVisible attribute
  11072. 2005-01-04 Jackson Harper <[email protected]>
  11073. * X11Keyboard.cs: Remove unneeded var.
  11074. 2005-01-04 Jackson Harper <[email protected]>
  11075. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  11076. but PAINT.
  11077. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  11078. ClientMessage. This makes apps exit cleanly (more often).
  11079. 2005-01-04 Jackson Harper <[email protected]>
  11080. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  11081. handling focus, return correct colors and fonts,
  11082. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  11083. handle selection, horizontal scrolling, and mouse interaction.
  11084. 2005-01-04 Peter Bartok <[email protected]>
  11085. * ICommandExecutor.cs: Added
  11086. * IDataGridColumnStyleEditingNotificationService.cs: Added
  11087. * IFeatureSupport.cs: Added
  11088. * IFileReaderService.cs: Added
  11089. * IDataObject.cs: Added ComVisible attribute
  11090. * AmbientProperties.cs: Added
  11091. * BaseCollection.cs: Added missing attributes
  11092. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  11093. * BaseCollection.cs: Added missing attributes
  11094. * Binding.cs: Added TypeConverter attribute
  11095. * BindingContext.cs: Added DefaultEvent attribute
  11096. * BindingsCollection.cs: Added DefaultEvent attribute
  11097. * Button.cs: Added DefaultValue attribute
  11098. * DragEventArgs.cs: Added ComVisible attribute
  11099. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  11100. * KeyEventArgs.cs: Added ComVisible attribute
  11101. * KeyPressEventArgs.cs: Added ComVisible attribute
  11102. * MouseEventArgs.cs: Added ComVisible attribute
  11103. * NavigateEventArgs.cs: Added
  11104. * NavigateEventHandler.cs: Added
  11105. * FeatureSupport.cs: Added
  11106. * OSFeature.cs: Added
  11107. * Theme.cs: Added abstract Version property to support OSFeature
  11108. * ThemeWin32Classic.cs: Added Version property to
  11109. support OSFeature.Themes
  11110. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  11111. the proper styles to avoid background drawing are set, also doesn't
  11112. match MS signature
  11113. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  11114. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  11115. * ScrollEventArgs.cs: Added ComVisible attribute
  11116. * SplitterEventArgs.cs: Added ComVisible attribute
  11117. * AccessibleSelection.cs: Added Flags attribute
  11118. * Appearance.cs: Added ComVisible attribute
  11119. * Border3DSide.cs: Added ComVisible attribute
  11120. * Border3DStyle.cs: Added ComVisible attribute
  11121. * BorderStyle.cs: Added ComVisible attribute
  11122. * DragAction.cs: Added ComVisible attribute
  11123. * ErrorBlinkStyle.cs: Added
  11124. * ScrollEventType.cs: Added ComVisible attribute
  11125. * AnchorStyles.cs: Added Editor attribute
  11126. * DockStyle.cs: Added Editor attribute
  11127. * HorizontalAlignment.cs: Added ComVisible attribute
  11128. * HelpEventArgs.cs: Added ComVisible attribute
  11129. * PaintEventArgs.cs: Added IDisposable
  11130. 2005-01-04 Peter Bartok <[email protected]>
  11131. * TextControl.cs: Switched Line, LineTag and Document classes to
  11132. internal
  11133. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  11134. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  11135. Simple mode, fixes, IntegralHeight, etc.
  11136. 2005-01-04 Peter Bartok <[email protected]>
  11137. * TextBoxBase.cs: Using proper font variable now
  11138. 2005-01-04 Peter Bartok <[email protected]>
  11139. * Form.cs (ShowDialog): Set parent to owner, if provided
  11140. * GroupBox.cs: Removed unused vars
  11141. * TextControl.cs:
  11142. - Added GetHashCode() for Document and LineTag classes
  11143. - Removed unused variables
  11144. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  11145. to allow translation between continuous char position and line/pos
  11146. * CheckBox.cs: Removed vars that are provided by base class
  11147. * RadioButton.cs: Removed vars that are provided by base class, added
  11148. new keyword where required
  11149. * LinkLabel.cs: Added new keyword where required
  11150. * Control.cs (WndProc): Removed unused variable
  11151. * TextBoxBase.cs:
  11152. - Finished SelectionLength property
  11153. - Implemented SelectionStart property
  11154. - Implemented Text property
  11155. - Removed unused vars
  11156. * MessageBox.cs: Added new keyword where required
  11157. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  11158. WndProc signature
  11159. * MenuAPI.cs: Added new keyword where required
  11160. * ButtonBase.cs: Removed vars that are provided by base class, added
  11161. new keyword where required
  11162. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  11163. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  11164. into this)
  11165. * Application.cs (Run): Now triggers the ThreadExit event
  11166. * CommonDialog.cs: Added new keyword where required; now properly sets
  11167. parent (owner) for dialog
  11168. * XplatUIX11.cs: Commented out unused vars
  11169. * StatusBar.cs: Fixed signature for Text property
  11170. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  11171. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  11172. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  11173. TrackBar.cs, MonthCalendar.cs: remove unused vars
  11174. 2005-01-03 Jackson Harper <[email protected]>
  11175. * ThemeWin32Classic.cs:
  11176. * X11Keyboard.cs: Remove unused vars.
  11177. 2005-01-03 Peter Bartok <[email protected]>
  11178. * TextBox.cs:
  11179. - set_Text: Tied into TextControl
  11180. - set_TextAlignment: Tied into TextControl
  11181. * TextControl.cs:
  11182. - Added alignment properties and implemented alignment handling
  11183. and drawing (still has a bug, not generating proper expose events)
  11184. - Added new Line() constructor to allow passing the line alignment
  11185. - Fixed selection setting, properly handling end<start now
  11186. - Added aligment considerations to RecalculateDocument()
  11187. * TextBoxBase.cs:
  11188. - Now properly enforces control height for single line controls
  11189. - Added support for CharacterCasing
  11190. - Added IsInputKey override
  11191. - Fixed Keys.Enter logic
  11192. - Added SetBoundsCore override
  11193. - Fixed mouse selection handling
  11194. 2005-01-03 Jackson Harper <[email protected]>
  11195. * TreeView.cs:
  11196. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  11197. - Checkboxes are always aligned to the bottom of the node,
  11198. regardless of item height.
  11199. - Use the node bounds to draw the text so we can center it when
  11200. the item height is greater then the font height.
  11201. - Node::Bounds are only the text part of the node.
  11202. * TreeNode.cs: New method to combine collapsing and unchecking all
  11203. nodes recursively.
  11204. 2005-01-02 Jackson Harper <[email protected]>
  11205. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  11206. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  11207. tree when a check is changed. TODO: Only refresh the checked node.
  11208. 2004-12-30 Jackson Harper <[email protected]>
  11209. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  11210. * TreeNode.cs: When collapsing make sure to never collapse the
  11211. root node.
  11212. 2004-12-29 Jackson Harper <[email protected]>
  11213. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  11214. 2004-12-28 Zoltan Varga <[email protected]>
  11215. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  11216. 2004-12-28 Peter Bartok <[email protected]>
  11217. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  11218. not yet assigned
  11219. 2004-12-28 Peter Bartok <[email protected]>
  11220. * Control.cs (WndProc): Added WM_HELP handler, now generates
  11221. HelpRequested event
  11222. * Form.cs: Added HelpButton property and required support code
  11223. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  11224. 2004-12-28 Peter Bartok <[email protected]>
  11225. * CommonDialog.cs:
  11226. - Made DialogForm.owner variable internal
  11227. - Added check to ensure owner form is set before setting
  11228. owner properties in CreateParams
  11229. 2004-12-28 Geoff Norton <[email protected]>
  11230. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  11231. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  11232. GetCursorPos. Fix major visibility issues. Rework the windowing
  11233. system to support borderless/titleless windows (implements menus).
  11234. Fix GetWindowPos. Implement initial background color support for
  11235. views.
  11236. 2004-12-28 Peter Bartok <[email protected]>
  11237. * Form.cs (get_CreateParams): Make sure we have an owner before using
  11238. the owner variable. Implement proper default if no owner exists
  11239. 2004-12-28 Peter Bartok <[email protected]>
  11240. * In preparation for making Managed.Windows.Forms the default build target
  11241. for System.Windows.Forms, the following stubbed files were added.
  11242. Dialogs are currently being implemented by contributors and are only
  11243. short-term place holders.
  11244. * ColorDialog.cs: Initial check-in (minmal stub)
  11245. * DataGrid.cs: Initial check-in (minimal stub)
  11246. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  11247. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  11248. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  11249. * FontDialog.cs: Initial check-in (minimal stub)
  11250. * FileDialog.cs: Initial check-in (minimal stub)
  11251. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  11252. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  11253. * OpenFileDialog: Initial check-in (minimal stub)
  11254. * IComponentEditorPageSite.cs: Initial check-in
  11255. * Splitter.cs: Initial check-in (for Jackson)
  11256. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  11257. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  11258. * TextBox.cs: Initial check-in; still needs some wiring to
  11259. TextControl backend
  11260. * Form.cs: Implemented ControlBox property
  11261. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  11262. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  11263. * TextControl.cs: Added selection functionality; added todo header
  11264. * TextBoxBase.cs:
  11265. - Implemented Lines property
  11266. - Implemented TextHeight property
  11267. - Implemented SelectedText property
  11268. - Implemented SelectionLength property
  11269. - Implemented SelectAll method
  11270. - Implemented ToString method
  11271. - Removed and cleaned up some debug code
  11272. - Implemented (still buggy) mouse text selection
  11273. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  11274. * ComboBox.cs: Complete DropDownList implementation, fixes.
  11275. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  11276. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  11277. * ComboBoxStyle.cs: ComboBoxStyle enum
  11278. * ComboBox.cs: Initial work on ComboBox control
  11279. 2004-12-21 Peter Bartok <[email protected]>
  11280. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  11281. forward so that anything that creates a window gets the default,
  11282. also no longer uses Visible property in CreateParams to avoid
  11283. walking up the parent chain and possibly get the wrong visible
  11284. status. Fixed IsVisible to no longer walk up to the parent.
  11285. 2004-12-21 Peter Bartok <[email protected]>
  11286. * Form.cs (ShowDialog): Unset modality for the proper window
  11287. 2004-12-20 Peter Bartok <[email protected]>
  11288. * CommonDialog.cs: Initial check-in
  11289. 2004-12-20 Peter Bartok <[email protected]>
  11290. * Control.cs (Visible): Now uses the parent window instead of the
  11291. client area window for the property
  11292. * Form.cs
  11293. - ShowDialog(): Now uses the proper window for modality
  11294. - The default visibility state for the form parent is now false. This
  11295. will prevent the user from seeing all the changes to the form and
  11296. its controls before the application hits Application.Run()
  11297. - Removed some stale commented out code
  11298. * NativeWindow.cs:
  11299. - Added FindWindow() method to have a method to check for existence
  11300. of a window handle
  11301. - Added ability to override default exception handling (for example
  11302. when debugging with VS.Net; to do this the ExternalExceptionHandler
  11303. define must be set
  11304. - Removed some useless debug output
  11305. * XplatUIX11.cs:
  11306. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  11307. not working as expected
  11308. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  11309. property to allow switching back to the modal window if focus is
  11310. given to another one of our windows (Application Modal)
  11311. - Now only sets override_redirect if we create a window
  11312. without WS_CAPTION
  11313. - Moved EventMask selection before mapping of newly created window
  11314. so we can catch the map event as well
  11315. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  11316. - Added various Atom related DllImports
  11317. - Implemented Exit() method
  11318. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  11319. in the CreateParams
  11320. * MessageBox.cs: Now properly deals with the FormParent window by
  11321. providing an override the FormParent CreateParams property to
  11322. set as POPUP instead of OVERLAPPED window.
  11323. 2004-12-19 Geoff Norton <[email protected]>
  11324. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  11325. Minor code cleanup.
  11326. 2004-12-19 Geoff Norton <[email protected]>
  11327. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  11328. 2004-12-18 Peter Bartok <[email protected]>
  11329. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  11330. implementing SetModal() method
  11331. 2004-12-18 Peter Bartok <[email protected]>
  11332. * X11Structs.cs (XGCValues): Fixed type of function element
  11333. * XplatUI.cs: Added ScrollWindow() method
  11334. * XplatUIDriver.cs: Added ScrollWindow() abstract
  11335. * XplatUIWin32.cs: Implemented ScrollWindow() method
  11336. * XplatUIX11.cs: Implemented ScrollWindow() method
  11337. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  11338. 2004-12-17 Geoff Norton <[email protected]>
  11339. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  11340. Some more keyboard support (INCOMPLETE)
  11341. 2004-12-17 Peter Bartok <[email protected]>
  11342. * TextControl.cs:
  11343. - Added color attribute to line tags.
  11344. - Added color argument to all functions dealing with tags
  11345. - Added color argument support to various functions
  11346. - Fixed miss-calculation of baseline/shift in certain circumstances
  11347. * TextBoxBase.cs: Added new color option to test code
  11348. 2004-12-17 Jackson Harper <[email protected]>
  11349. * TreeNode.cs:
  11350. * MonthCalendar.cs: Signature fixes
  11351. 2004-12-17 Geoff Norton <[email protected]>
  11352. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  11353. keyboard event moved it. Create a new graphics context for each paint resolves this
  11354. 2004-12-17 Geoff Norton <[email protected]>
  11355. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  11356. Make caret exist and go blink blink. Initial keyboard support.
  11357. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  11358. works.
  11359. 2004-12-17 Jackson Harper <[email protected]>
  11360. * XplatUIStructs.cs: Updated set of virtual keycodes.
  11361. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  11362. 2004-12-17 Jackson Harper <[email protected]>
  11363. * XplatUIX11.cs: Prune old keyboard code.
  11364. 2004-12-17 Jackson Harper <[email protected]>
  11365. * XplatUIX11.cs: When generating mouse wparams get the modifier
  11366. keys from the ModifierKeys property.
  11367. 2004-12-17 Jackson Harper <[email protected]>
  11368. * X11Keyboard.cs: Send up/down input when generating
  11369. messages. Remove some unused vars.
  11370. 2004-12-17 Jackson Harper <[email protected]>
  11371. * TabControl.cs:
  11372. * TreeView.cs: get rid of warnings.
  11373. 2004-12-17 Jackson Harper <[email protected]>
  11374. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  11375. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  11376. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  11377. CheckedListBox.cs: Implementation
  11378. 2004-12-17 Peter Bartok <[email protected]>
  11379. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  11380. 2004-12-16 Peter Bartok <[email protected]>
  11381. * TextControl.cs:
  11382. - InsertCharAtCaret(): Fixed start pos fixup
  11383. - CaretLine_get: No longer derives the line from the tag, the tag
  11384. could be stale if lines in the document have been added or deleted
  11385. - RebalanceAfterDelete(): Fixed bug in balancing code
  11386. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  11387. - Line.Streamline(): Now can also elminate leading empty tags
  11388. - DumpTree(): Added a few more tests and prevented exception on
  11389. uninitialized data
  11390. - Added Debug section for Combining lines
  11391. - Delete(): Now copies all remaining properties of a line
  11392. * TextBoxBase.cs:
  11393. - Left mousebutton now sets the caret (and middle button still acts
  11394. as formatting tester, which must go away soon)
  11395. - Added Debug section for Deleting/Combining lines
  11396. - Fixed calculations for UpdateView after Combining lines
  11397. 2004-12-16 Peter Bartok <[email protected]>
  11398. * TextControl.cs: Now properly aligns text on a baseline, using the
  11399. new XplatUI.GetFontMetrics() method. Simplified several calculations
  11400. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  11401. defined
  11402. 2004-12-16 Peter Bartok <[email protected]>
  11403. * XplatUI.cs: Added GetFontMetrics() method
  11404. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  11405. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  11406. into libgdiplus, our private GetFontMetrics function
  11407. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  11408. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  11409. 2004-12-16 Jackson Harper <[email protected]>
  11410. * XplatUIStruct.cs: Add enum for dead keys
  11411. * X11Keyboard.cs: Map and unmap dead keys.
  11412. 2004-12-16 Jackson Harper <[email protected]>
  11413. * X11Keyboard.cs: Detect and use the num lock mask.
  11414. 2004-12-16 Peter Bartok <[email protected]>
  11415. * Control.cs (CreateGraphics): Added check to make sure the
  11416. handle of the window exists before calling Graphics.FromHwnd()
  11417. 2004-12-16 Peter Bartok <[email protected]>
  11418. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  11419. contains a lot of code that's not supposed to be there for the
  11420. real thing, but required for developing/testing the textbox
  11421. backend.
  11422. 2004-12-16 Peter Bartok <[email protected]>
  11423. * TextControl.cs:
  11424. - Fixed Streamline method
  11425. - Added FindTag method to Line
  11426. - Added DumpTree method for debugging
  11427. - Added DecrementLines() method for deleting lines
  11428. - Fixed UpdateView to update the cursor to end-of-line on single-line
  11429. updates
  11430. - Added PositionCaret() method
  11431. - Fixed MoveCaret(LineDown) to move into the last line, too
  11432. - Added InsertChar overload
  11433. - Fixed InsertChar tag offset calculations
  11434. - Added DeleteChar() method
  11435. - Added Combine() method for folding lines
  11436. - Fixed Delete() method, no longer allocates wasted Line object and
  11437. now copies all properties when swapping nodes
  11438. - Delete() method now updates document line counter
  11439. 2004-12-15 Jackson Harper <[email protected]>
  11440. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  11441. * X11Keyboard.cs: Expose the currently selected modifier keys
  11442. through a property.
  11443. 2004-12-15 Peter Bartok <[email protected]>
  11444. * TextControl.cs: Initial check-in. Still incomplete
  11445. 2004-12-15 Jackson Harper <[email protected]>
  11446. * TreeNode.cs:
  11447. * TreeView.cs: Fix build on csc (second time today ;-))
  11448. 2004-12-15 Jackson Harper <[email protected]>
  11449. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  11450. is calculated and use this for click testing.
  11451. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  11452. 2004-12-15 Jackson Harper <[email protected]>
  11453. * TreeView.cs: Pass the nodes image index to the image list when
  11454. drawing that image.
  11455. 2004-12-15 Jackson Harper <[email protected]>
  11456. * X11Keyboard.cs: Set messages hwnd.
  11457. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  11458. post_message calls.
  11459. 2004-12-15 Jackson Harper <[email protected]>
  11460. * X11Keyboard.cs: Fix to compile with csc.
  11461. 2004-12-15 Jackson Harper <[email protected]>
  11462. * X11Structs.cs: Add key mask values
  11463. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  11464. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  11465. down/up foo into WM_CHAR foo
  11466. * KeyboardLayouts.cs: Common keyboard layouts
  11467. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  11468. post messages into the main queue.
  11469. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  11470. * Button.cs: implement ProcessMnemonic
  11471. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  11472. brushes everytime
  11473. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  11474. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  11475. 2004-12-12 John BouAntoun <[email protected]>
  11476. * MonthCalendar.cs: Implemented click-hold for next/previous month
  11477. and date selection
  11478. 2004-12-11 Peter Bartok <[email protected]>
  11479. * X11Structs.cs:
  11480. - Added XKeyboardState (moved from XplatUIX11.cs)
  11481. - Added XCreateGC related enums and structures
  11482. - Added GXFunction for XSetFunction
  11483. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  11484. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  11485. CaretVisible() calls
  11486. * ToolTip.cs: Added code to prevent stealing focus from app windows
  11487. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  11488. DestroyCaret, SetCaretPos and CaretVisible)
  11489. * XplatUIX11.cs:
  11490. - Added implementation for caret functions
  11491. - Moved hover variables into a struct, to make it a bit easier
  11492. on the eyes and to debug
  11493. - Removed XKeyboardState (moved to XplatUIX11.cs)
  11494. - Moved Keyboard properties into the properties region
  11495. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  11496. call to get a graphics context for our control
  11497. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  11498. * TreeView.cs: Fixed bug. No matter what color was set it would always
  11499. return SystemColors.Window
  11500. * XplatUIWin32.cs: Implemented caret overrides
  11501. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  11502. * ListBox.cs: fire events, implement missing methods and properties,
  11503. sorting.
  11504. 2004-12-10 John BouAntoun <[email protected]>
  11505. * MonthCalendar.cs: invalidation bug fixing
  11506. * ThemeWin32Classic.cs: paint fixing
  11507. 2004-12-09 Geoff Norton <[email protected]>
  11508. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  11509. prepare the CGContextRef there now.
  11510. 2004-12-09 John BouAntoun <[email protected]>
  11511. * MonthCalendar.cs:
  11512. - optimisationL only invalidate areas that have changed
  11513. * ThemeWin32Classic.cs:
  11514. - only paint parts that intersect with clip_area
  11515. 2004-12-09 Peter Bartok <[email protected]>
  11516. * Application.cs: Undid changes from r37004 which cause problems
  11517. on X11
  11518. 2004-12-09 Ravindra <[email protected]>
  11519. * ToolBar.cs: Added support for displaying ContextMenu
  11520. attached to a button on ToolBar.
  11521. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  11522. property.
  11523. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  11524. * Label.cs: autosize works in text change and removes unnecessary
  11525. invalidate
  11526. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  11527. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  11528. remove warnings
  11529. 2004-12-08 Geoff Norton <[email protected]>
  11530. * XplatUIOSX.cs: Added mouse move/click/grab support
  11531. Remove some debugging WriteLines not needed anymore.
  11532. Add window resizing/positioning.
  11533. Fix visibility on reparenting.
  11534. 2004-12-08 Peter Bartok <[email protected]>
  11535. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  11536. 2004-12-07 Geoff Norton <[email protected]>
  11537. * XplatUIOSX.cs: Initial checkin
  11538. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  11539. 2004-12-03 Ravindra <[email protected]>
  11540. * ListView.cs: Added some keybindings and fixed scrolling.
  11541. ScrollBars listen to ValueChanged event instead of Scroll
  11542. Event. This would let us take care of all changes being
  11543. done in the scrollbars' values programmatically or manually.
  11544. * ListView.cs (CanMultiselect): Added a check for shift key.
  11545. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  11546. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  11547. of ListViewSubItemCollection as well.
  11548. 2004-12-06 Peter Bartok <[email protected]>
  11549. * Control.cs (Parent): Added check and exception to prevent
  11550. circular parenting
  11551. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  11552. * ListBox.cs: implemented clipping, selection single and multiple,
  11553. bug fixing
  11554. 2004-12-03 Ravindra <[email protected]>
  11555. * ListView.cs (ListView_KeyDown):
  11556. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  11557. when CTRL key is pressed.
  11558. * ListViewItem.cs (Selected): Fixed setting the property.
  11559. 2004-12-03 Marek Safar <[email protected]>
  11560. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  11561. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  11562. MinimizeBox, ShowInTaskbar, TopMost properties.
  11563. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  11564. will be implemented).
  11565. 2004-12-03 Marek Safar <[email protected]>
  11566. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  11567. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  11568. tests.
  11569. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  11570. * TreeView.cs: BackColor is Colors.Window.
  11571. 2004-12-01 Jackson Harper <[email protected]>
  11572. * TreeView.cs: When resizing the tree if the user is making it
  11573. smaller we don't get expose events, so we need to handle adding
  11574. the horizontal scrollbar in the size changed handler as well as
  11575. the expose handler.
  11576. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  11577. * DrawItemState.cs: fixes wrong enum values
  11578. 2004-12-01 Jackson Harper <[email protected]>
  11579. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  11580. 2004-12-01 Jackson Harper <[email protected]>
  11581. * NodeLabelEditEventArgs.cs:
  11582. * NodeLabelEditEventHandler.cs:
  11583. * OpenTreeNodeEnumerator.cs:
  11584. * TreeNode.cs:
  11585. * TreeNodeCollection.cs:
  11586. * TreeView.cs:
  11587. * TreeViewAction.cs:
  11588. * TreeViewCancelEventArgs.cs:
  11589. * TreeViewCancelEventHandler.cs:
  11590. * TreeViewEventArgs.cs:
  11591. * TreeViewEventHandler.cs: Initial implementation.
  11592. 2004-12-01 Ravindra <[email protected]>
  11593. * ListView.cs (CalculateListView): Fixed scrolling related
  11594. calculations. Also, removed some debug statements from other
  11595. places.
  11596. * ListViewItem.cs: Changed access to 'selected' instance variable
  11597. from private to internal.
  11598. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  11599. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  11600. * ThemeWin32Classic.cs: remove cache of brush and pens for
  11601. specific controls and use the global system, fixes scrollbutton
  11602. bugs (for small sizes, disabled, etc)
  11603. * ScrollBar.cs: does not show the thumb for very small controls
  11604. (as MS) and allow smaller buttons that the regular size
  11605. 2004-12-01 Miguel de Icaza <[email protected]>
  11606. * UpDownBase.cs: Add abstract methods for the interface.
  11607. Add new virtual methods (need to be hooked up to TextEntry when it
  11608. exists).
  11609. Add override methods for most features.
  11610. Computes the size, forces the height of the text entry.
  11611. * NumericUpDown.cs: Put here the current testing code.
  11612. * Set eol-style property on all files that do not have mixed line
  11613. endings, to minimize the future problems. There are still a few
  11614. files with mixed endings, and someone should choose whether they
  11615. want to move it or not.
  11616. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  11617. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  11618. System.Colors
  11619. 2004-11-30 Ravindra <[email protected]>
  11620. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  11621. drawing and replaced use of SystemColors by theme colors.
  11622. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  11623. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  11624. same ListViewItem is being added more than once.
  11625. 2004-11-30 John BouAntoun <[email protected]>
  11626. * MonthCalendar.cs:
  11627. - ControlStyles love to make the control not flicker
  11628. 2004-11-30 Peter Bartok <[email protected]>
  11629. * CharacterCasing.cs: Added
  11630. 2004-11-29 Peter Bartok <[email protected]>
  11631. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  11632. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  11633. I am removing these files as they conflict with already completed
  11634. work. While it is fantastic to get contributions to MWF, I
  11635. respectfully ask that everyone please coordinate their contributions
  11636. through mono-winforms-list or #mono-winforms at this time. We're
  11637. explicitly avoiding stubbing and don't want controls that don't have
  11638. their basic functionality implemented in svn. Please also see
  11639. http://www.mono-project.com/contributing/winforms.html
  11640. 2004-11-29 Marek Safar <[email protected]>
  11641. * Application.cs (ModalRun): Don't hang after exit.
  11642. * Theme.cs: New TreeViewDefaultSize property.
  11643. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  11644. with less hardcoded SystemColors constant.
  11645. Implemented TreeViewDefaultSize.
  11646. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  11647. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  11648. 2004-11-29 John BouAntoun <[email protected]>
  11649. * MonthCalendar.cs:
  11650. - Fix NextMonthDate and PrevMonthDate click moving calendar
  11651. 2004-11-26 John BouAntoun <[email protected]>
  11652. * MonthCalendar.cs:
  11653. - Fix usage of ScrollChange Property when scrolling months
  11654. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  11655. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  11656. - Fixes menu destroying
  11657. - Support adding and removing items on already created menus
  11658. 2004-11-26 John BouAntoun <[email protected]>
  11659. * MonthCalendar.cs:
  11660. - Re-worked all bolded dates handling to match win32
  11661. * ThemeWin32Classic.cs:
  11662. - Fixed rendering with bolded dates
  11663. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  11664. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  11665. - Horizontal scroolbar
  11666. - Multicolumn
  11667. - Fixes
  11668. 2004-11-25 John BouAntoun <[email protected]>
  11669. * MonthCalendar.cs:
  11670. - Fix Usage of MaxSelectionCount from SelectionRange
  11671. - Fixed Shift + Cursor Selection
  11672. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  11673. - Fixed normal cursor selection to be compat with win32
  11674. - Fixed Shift + Mouse Click selection
  11675. 2004-11-24 Peter Bartok <[email protected]>
  11676. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  11677. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  11678. * XplatUIX11.cs:
  11679. - CreatedKeyBoardMsg now updates keystate with Alt key
  11680. - Added workaround for timer crash to CheckTimers, Jackson will
  11681. develop a proper fix and check in later
  11682. - Implemented DispatchMessage
  11683. - Removed calling the native window proc from GetMessage (call
  11684. now moved to DispatchMessage)
  11685. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  11686. the keydata (Fixes bug #69831)
  11687. * XplatUIWin32.cs:
  11688. - (DispatchMessage): Switched to return IntPtr
  11689. - Added DllImport for SetFocus
  11690. 2004-11-24 Ravindra <[email protected]>
  11691. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  11692. background drawing.
  11693. * ListViewItem.cs: Fixed various properties, calculations
  11694. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  11695. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  11696. and some internal properties. Fixed MouseDown handler and Paint
  11697. method.
  11698. 2004-11-24 John BouAntoun <[email protected]>
  11699. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  11700. 2004-11-24 John BouAntoun <[email protected]>
  11701. * ContainerControl.cs: correct accidental check in of local changes
  11702. 2004-11-24 John BouAntoun <[email protected]>
  11703. * ThemeWin32Classic.cs:
  11704. - Fixed Drawing Last month in grid (sometimes not showing)
  11705. * MonthCalendar.cs:
  11706. - Fixed title width calculation bug (makeing title small)
  11707. 2004-11-23 Peter Bartok <[email protected]>
  11708. * XplatUIX11.cs:
  11709. - Added generation of WM_MOUSEHOVER event
  11710. - Added missing assignment of async_method atom
  11711. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  11712. 2004-11-23 John BouAntoun <[email protected]>
  11713. * ThemeWin32Classic.cs:
  11714. - Fixed Drawing of today circle when showtodaycircle not set
  11715. - fixed drawing of first and last month in the grid (gay dates)
  11716. * MonthCalendar.cs:
  11717. - Fixed Drawing of today circle
  11718. - Fixed drawing of grady dates
  11719. - Fixed HitTest for today link when ShowToday set to false
  11720. - Fixed DefaultSize to obey ShowToday
  11721. 2004-11-23 John BouAntoun <[email protected]>
  11722. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  11723. * System.Windows.Forms/Theme.cs
  11724. * MonthCalendar.cs: added for MonthCalendar
  11725. * SelectionRange.cs: added for MonthCalendar
  11726. * Day.cs: added for MonthCalendar: added for MonthCalendar
  11727. * DateRangeEventArgs.cs: added for MonthCalendar
  11728. * DateRangeEventHandler.cs: added for MonthCalendar
  11729. 2004-11-22 Ravindra <[email protected]>
  11730. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  11731. property.
  11732. 2004-11-22 Miguel de Icaza <[email protected]>
  11733. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  11734. event handler.
  11735. * NumericUpDown.cs: Added new implementation.
  11736. * UpDownBase.cs: Added new implementation.
  11737. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  11738. implementations.
  11739. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  11740. implementations.
  11741. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  11742. methods.
  11743. 2004-11-21 Miguel de Icaza <[email protected]>
  11744. * Timer.cs (Dispose): Should call the base dispose when
  11745. overriding.
  11746. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  11747. * ScrollBar.cs: updates thumb position when max, min or increment
  11748. is changed
  11749. 2004-11-21 Ravindra <[email protected]>
  11750. * ListView.cs: Implemented item selection, activation and
  11751. column header style. Fixed properties to do a redraw, if
  11752. required. Added support for MouseHover, DoubleClick, KeyDown
  11753. and KeyUp event handling and some minor fixes.
  11754. * ListViewItem.cs: Fixed constructor.
  11755. * ThemeWin32Classic.cs: Improved drawing for ListView.
  11756. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  11757. * ThemeWin32Classic.cs: initial listbox drawing code
  11758. * DrawMode.cs: new enumerator
  11759. * ListControl.cs: stubbed class
  11760. * ListBox.cs: initial implementation
  11761. * Theme.cs: new methods definitions
  11762. * SelectionMode.cs: new enumerator
  11763. 2004-11-17 Peter Bartok <[email protected]>
  11764. * XplatUIWin32.cs: Added double-click events to the class style
  11765. * Control.cs (WndProc):
  11766. - Added handling of click-count to MouseDown/ MouseUp events.
  11767. - Added handling of middle and right mouse buttons
  11768. - Removed old debug code
  11769. 2004-11-17 Jackson Harper <[email protected]>
  11770. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  11771. 2004-11-17 Ravindra <[email protected]>
  11772. * ListView.cs: Added event handling for MouseMove/Up/Down.
  11773. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  11774. * ThemeWin32Classic.cs: We need to clear the graphics context and
  11775. draw column header in a proper state.
  11776. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  11777. * Menu.cs: fixes signature
  11778. 2004-11-16 Peter Bartok <[email protected]>
  11779. * XplatUIX11.cs (GetMessage): Implemented generation of
  11780. double click mouse messages
  11781. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  11782. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  11783. not by menu
  11784. 2004-11-11 Peter Bartok <[email protected]>
  11785. * HandleData.cs: Added Visible property
  11786. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  11787. HandleData
  11788. * XplatUIX11.cs: Removed old debug leftovers
  11789. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  11790. * Control.cs (WndProc): Removed old debug leftovers,
  11791. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  11792. needed WM_SIZE handling
  11793. 2004-11-11 Jackson Harper <[email protected]>
  11794. * OwnerDrawPropertyBag.cs:
  11795. * TreeViewImageIndexConverter.cs: Initial implementation
  11796. 2004-11-10 Jackson Harper <[email protected]>
  11797. * ThemeWin32Classic.cs:
  11798. * TabControl.cs: instead of moving tabs by the slider pos just
  11799. start drawing at the tab that is offset by the slider. This way
  11800. scrolling always moves by exactly one tab.
  11801. 2004-11-10 Jackson Harper <[email protected]>
  11802. * TabControl.cs: You can only scroll left when the slider has
  11803. already ben moved right.
  11804. 2004-11-10 Jackson Harper <[email protected]>
  11805. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  11806. the clip area.
  11807. 2004-11-10 Jackson Harper <[email protected]>
  11808. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  11809. clip area.
  11810. 2004-11-09 Jackson Harper <[email protected]>
  11811. * TabControl.cs (CalcXPos): New helper method so we can determine
  11812. the proper place to start drawing vertical tabs.
  11813. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  11814. 2004-11-09 Jackson Harper <[email protected]>
  11815. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  11816. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  11817. and Bottom, left and right are illegal values for this and
  11818. multiline is enabled when the alignment is set to left or right.
  11819. (DrawTab): Each alignment block should draw the text itself now
  11820. because Left requires special love. Also add rendering for Left
  11821. aligned tabs.
  11822. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  11823. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  11824. does not destroy the windows, removes debugging messages
  11825. 2004-11-09 jba <[email protected]>
  11826. * ThemeWin32Classic.cs
  11827. (DrawButtonBase): Fix verticle text rect clipping in windows
  11828. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  11829. rendering and incorrect text rect clipping
  11830. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  11831. rendering and incorrect text rect clipping
  11832. 2004-11-08 Jackson Harper <[email protected]>
  11833. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  11834. bottom when they are bottom aligned so the bottoms of the tabs get
  11835. displayed.
  11836. * TabControl.cs (DropRow): Move rows up instead of down when the
  11837. tab control is bottom aligned.
  11838. 2004-11-08 13:59 pbartok
  11839. * XplatUIX11.cs:
  11840. - Added handling for various window styles
  11841. - Added handling for popup windows
  11842. - Added SetTopmost handling
  11843. 2004-11-08 13:55 pbartok
  11844. * XplatUIWin32.cs:
  11845. - Added argument to SetTopmost method
  11846. - Fixed broken ClientToScreen function
  11847. 2004-11-08 13:53 pbartok
  11848. * XplatUIStructs.cs:
  11849. - Added missing WS_EX styles
  11850. 2004-11-08 13:53 pbartok
  11851. * XplatUI.cs, XplatUIDriver.cs:
  11852. - Added argument to SetTopmost
  11853. 2004-11-08 13:52 pbartok
  11854. * X11Structs.cs:
  11855. - Added XSetWindowAttributes structure
  11856. - Improved XWindowAttributes structure
  11857. - Added SetWindowValuemask enum
  11858. - Added window creation arguments enum
  11859. - Added gravity enum
  11860. - Added Motif hints structure
  11861. - Added various Motif flags and enums
  11862. - Added PropertyMode enum for property functions
  11863. 2004-11-08 13:50 pbartok
  11864. * Form.cs:
  11865. - Fixed arguments for updated SetTopmost method
  11866. 2004-11-08 13:49 pbartok
  11867. * ToolTip.cs:
  11868. - Fixed arguments for updated SetTopmost function
  11869. - Fixed usage of PointToClient
  11870. 2004-11-08 13:44 pbartok
  11871. * MenuAPI.cs:
  11872. - Added Clipping of children and siblings
  11873. 2004-11-08 13:41 pbartok
  11874. * MainMenu.cs:
  11875. - Removed SetMenuBarWindow call. We do this in Form.cs
  11876. 2004-11-08 13:40 jackson
  11877. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  11878. scrolling jimmi in the correct location with bottom aligned tabs
  11879. 2004-11-08 13:36 pbartok
  11880. * ContainerControl.cs:
  11881. - Implemented BindingContext
  11882. - Implemented ParentForm
  11883. 2004-11-08 12:46 jackson
  11884. * TabControl.cs: Put bottom rendered tabs in the right location
  11885. 2004-11-08 07:15 jordi
  11886. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  11887. removes dead code
  11888. 2004-11-05 17:30 jackson
  11889. * TabControl.cs: When selected tabs are expanded make sure they
  11890. don't go beyond the edges of the tab control
  11891. 2004-11-05 14:57 jackson
  11892. * TabControl.cs: Reset show_slider so if the control is resized to
  11893. a size where it is no longer needed it's not displayed anymore
  11894. 2004-11-05 13:16 jackson
  11895. * TabControl.cs: Make tab pages non visible when added to the
  11896. control
  11897. 2004-11-05 12:42 jackson
  11898. * TabControl.cs: Implement SizeMode.FillToRight
  11899. 2004-11-05 12:16 jackson
  11900. * Control.cs: Do not call CreateHandle if the handle is already
  11901. created
  11902. 2004-11-05 11:46 jackson
  11903. * TabControl.cs: Remove superflous call to CalcTabRows
  11904. 2004-11-05 09:07 jackson
  11905. * XplatUIX11.cs: Update for Mono.Posix changes
  11906. 2004-11-05 07:00 ravindra
  11907. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  11908. scrolling.
  11909. 2004-11-04 22:47 jba
  11910. * ThemeWin32Classic.cs:
  11911. - Fix Button rendering for FlatStyle = Flat or Popup
  11912. - Fix RadioButton and CheckBox rendering when Appearance = Button
  11913. (normal and flatstyle).
  11914. - Correct outer rectangle color when drawing focus rectangle
  11915. - Adjust button bounds to be 1 px smaller when focused
  11916. - Make button not draw sunken 3d border when pushed (windows compat)
  11917. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  11918. - Offset the text in RadioButton and Checkbox when being rendered as
  11919. a button.
  11920. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  11921. radiobuttons
  11922. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  11923. - Fixed disabled text rendering for normally rendered radiobuttons
  11924. 2004-11-04 10:26 jackson
  11925. * TabControl.cs: Recalculate tab rows when resizing
  11926. 2004-11-04 07:47 jordi
  11927. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  11928. collection completion, drawing issues, missing features
  11929. 2004-11-04 05:03 ravindra
  11930. * ScrollBar.cs:
  11931. - We need to recalculate the Thumb area when
  11932. LargeChange/maximum/minimum values are changed.
  11933. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  11934. than minimum. This is required to handle the case if large_change is
  11935. more than max, and use LargeChange property instead of large_change
  11936. variable.
  11937. - We return max+1 when large_change is more than max, like MS does.
  11938. 2004-11-04 04:29 ravindra
  11939. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  11940. - Changed default value signatures (prefixed all with ListView).
  11941. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  11942. ListView.
  11943. - Fixed calculations for ListViewItem and implemented Clone()
  11944. method.
  11945. 2004-11-04 04:26 ravindra
  11946. * Theme.cs, ThemeWin32Classic.cs:
  11947. - Changed default ListView values signatures (prefixed all with
  11948. ListView).
  11949. - Fixed default size values for VScrollBar and HScrollBar.
  11950. - Fixed DrawListViewItem method.
  11951. 2004-11-04 04:05 ravindra
  11952. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  11953. 2004-11-04 04:04 ravindra
  11954. * ImageList.cs: Implemented the missing overload for Draw method.
  11955. 2004-11-03 19:29 jackson
  11956. * TabControl.cs: Handle dropping rows on selection properly
  11957. 2004-11-03 11:59 jackson
  11958. * TabControl.cs: remove debug code
  11959. 2004-11-03 11:52 jackson
  11960. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  11961. the scrolly widgerywoo
  11962. 2004-11-02 13:52 jackson
  11963. * TabControl.cs: Resize the tab pages and tabs when the tab control
  11964. is resized
  11965. 2004-11-02 13:40 jackson
  11966. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  11967. selected tab to the bottom
  11968. 2004-11-02 13:39 jackson
  11969. * TabPage.cs: Store the tab pages row
  11970. 2004-11-02 12:33 jordi
  11971. * MenuItem.cs: fixes handle creation
  11972. 2004-11-02 11:42 jackson
  11973. * TabControl.cs: signature fix
  11974. 2004-11-02 08:56 jackson
  11975. * TabControl.cs: Calculate whether the tab is on an edge properly.
  11976. Remove top secret debugging code
  11977. 2004-11-01 19:57 jackson
  11978. * TabControl.cs: Add click handling, and proper sizing
  11979. 2004-11-01 19:47 jackson
  11980. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  11981. tab controls
  11982. 2004-11-01 19:39 jackson
  11983. * TabPage.cs: add internal property to store the bounds of a tab
  11984. page
  11985. 2004-10-30 04:23 ravindra
  11986. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  11987. values.
  11988. 2004-10-30 04:21 ravindra
  11989. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  11990. fixed calculations.
  11991. 2004-10-30 03:06 pbartok
  11992. * XplatUIX11.cs:
  11993. - Removed extension of DllImported libs
  11994. 2004-10-29 09:55 jordi
  11995. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  11996. navigation, itemcollection completion, menu fixes
  11997. 2004-10-27 22:58 pbartok
  11998. * XplatUIX11.cs:
  11999. - Now throws a nice error message when no X display could be opened
  12000. 2004-10-26 13:51 jordi
  12001. * ListView.cs: removes warning
  12002. 2004-10-26 03:55 ravindra
  12003. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  12004. ThemeWin32Classic.cs: Some formatting for my last checkins.
  12005. 2004-10-26 03:36 ravindra
  12006. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  12007. control and default values.
  12008. 2004-10-26 03:35 ravindra
  12009. * Theme.cs: Added some default values for ListView control.
  12010. 2004-10-26 03:33 ravindra
  12011. * ToolBar.cs: ToolBar should use the user specified button size, if
  12012. there is any. Added a size_specified flag for the same.
  12013. 2004-10-26 03:33 ravindra
  12014. * ColumnHeader.cs: Added some internal members and calculations for
  12015. ColumnHeader.
  12016. 2004-10-26 03:32 ravindra
  12017. * ListViewItem.cs: Calculations for ListViewItem.
  12018. 2004-10-26 03:31 ravindra
  12019. * ListView.cs: Added some internal members and calculations for
  12020. ListView.
  12021. 2004-10-22 13:31 jordi
  12022. * MenuAPI.cs: speedup menus drawing
  12023. 2004-10-22 13:16 jackson
  12024. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  12025. expose event
  12026. 2004-10-22 11:49 jackson
  12027. * Control.cs: oops
  12028. 2004-10-22 11:41 jackson
  12029. * Control.cs: Check to see if the window should have its background
  12030. repainted by X when drawing.
  12031. 2004-10-22 11:31 jackson
  12032. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  12033. clear is true, this way we do not get flicker from X repainting the
  12034. background
  12035. 2004-10-22 11:28 jackson
  12036. * XEventQueue.cs: Queue properly
  12037. 2004-10-21 09:38 jackson
  12038. * XEventQueue.cs: Fix access modifier
  12039. 2004-10-21 09:36 jackson
  12040. * XEventQueue.cs: Don't loose messages
  12041. 2004-10-21 09:22 jackson
  12042. * XEventQueue.cs: Don't loose messages
  12043. 2004-10-20 04:15 jordi
  12044. * BootMode.cs: enum need it by SystemInfo
  12045. 2004-10-19 21:58 pbartok
  12046. * XplatUIWin32.cs:
  12047. - Small sanity check
  12048. 2004-10-19 21:56 pbartok
  12049. * Form.cs:
  12050. - Added private FormParentWindow class which acts as the container
  12051. for our form and as the non-client area where menus are drawn
  12052. - Added/Moved required tie-ins to Jordi's menus
  12053. - Fixed/Implemented the FormStartPosition functionality
  12054. 2004-10-19 21:52 pbartok
  12055. * Control.cs:
  12056. - Removed unneeded locals
  12057. - Added code to all size and location properties to understand and
  12058. deal with the parent container of Form
  12059. 2004-10-19 21:33 pbartok
  12060. * Application.cs:
  12061. - Fixed to deal with new Form subclasses for menus
  12062. 2004-10-19 17:48 jackson
  12063. * XEventQueue.cs: commit correct version of file
  12064. 2004-10-19 16:50 jackson
  12065. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  12066. 2004-10-19 16:15 jordi
  12067. * MenuAPI.cs: MenuBarCalcSize returns the height
  12068. 2004-10-19 08:31 pbartok
  12069. * Control.cs:
  12070. - Added missing call to PreProcessMessage before calling OnXXXKey
  12071. methods
  12072. 2004-10-19 00:04 ravindra
  12073. * ToolTip.cs: Fixed constructor.
  12074. 2004-10-18 09:31 jordi
  12075. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  12076. 2004-10-18 09:26 jordi
  12077. * MenuItem.cs: fixes MenuItem class signature
  12078. 2004-10-18 08:56 jordi
  12079. * MenuAPI.cs: prevents windows from showing in the taskbar
  12080. 2004-10-18 00:28 ravindra
  12081. * ToolTip.cs: Suppressed a warning message.
  12082. 2004-10-18 00:27 ravindra
  12083. * Control.cs: Default value of visible property must be true.
  12084. 2004-10-17 23:19 pbartok
  12085. * ToolTip.cs:
  12086. - Complete implementation
  12087. 2004-10-17 23:19 pbartok
  12088. * XplatUIX11.cs:
  12089. - Added EnableWindow method
  12090. - Added SetModal stub
  12091. - Added generation of WM_ACTIVATE message (still needs testing)
  12092. - Added SetTopMost stub
  12093. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  12094. 2004-10-17 23:17 pbartok
  12095. * XplatUIWin32.cs:
  12096. - Removed VirtualKeys to XplatUIStructs
  12097. - Implemented SetTopMost method
  12098. - Implemented EnableWindow method
  12099. - Bugfix in ScreenToClient()
  12100. - Bugfixes in ClientToScreen()
  12101. 2004-10-17 22:51 pbartok
  12102. * XplatUIStructs.cs:
  12103. - Added WS_EX styles to WindowStyles enumeration
  12104. 2004-10-17 22:50 pbartok
  12105. * XplatUI.cs, XplatUIDriver.cs:
  12106. - Added method for enabling/disabling windows
  12107. - Added method for setting window modality
  12108. - Added method for setting topmost window
  12109. 2004-10-17 22:49 pbartok
  12110. * ThemeWin32Classic.cs:
  12111. - Added ToolTip drawing code
  12112. 2004-10-17 22:49 pbartok
  12113. * Theme.cs:
  12114. - Added ToolTip abstracts
  12115. 2004-10-17 22:47 pbartok
  12116. * Form.cs:
  12117. - Fixed Form.ControlCollection to handle owner relations
  12118. - Added Owner/OwnedForms handling
  12119. - Implemented Z-Ordering for owned forms
  12120. - Removed unneeded private overload of ShowDialog
  12121. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  12122. so I hope)
  12123. - Fixed Close(), had wrong default
  12124. - Added firing of OnLoad event
  12125. - Added some commented out debug code for Ownership handling
  12126. 2004-10-17 22:16 pbartok
  12127. * Control.cs:
  12128. - Fixed/implemented flat list of controls
  12129. 2004-10-17 22:14 pbartok
  12130. * Application.cs:
  12131. - Added code to simulate modal dialogs on Win32
  12132. 2004-10-17 16:11 jordi
  12133. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  12134. mouse event
  12135. 2004-10-17 13:39 jordi
  12136. * MenuAPI.cs: menu drawing fixes
  12137. 2004-10-15 09:10 ravindra
  12138. * StructFormat.cs: General Enum.
  12139. 2004-10-15 09:09 ravindra
  12140. * SizeGripStyle.cs: Enum for Form.
  12141. 2004-10-15 09:08 ravindra
  12142. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  12143. in Theme for ListView.
  12144. 2004-10-15 09:06 ravindra
  12145. * ColumnHeader.cs: Flushing some formatting changes.
  12146. 2004-10-15 09:05 ravindra
  12147. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  12148. style.
  12149. 2004-10-15 09:03 ravindra
  12150. * ListView.cs: Implemented Paint method and fixed coding style.
  12151. 2004-10-15 07:34 jordi
  12152. * MenuAPI.cs: fix for X11
  12153. 2004-10-15 07:32 ravindra
  12154. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  12155. - Renamed Paint() method to Draw() for clarity. Also, moved
  12156. DrawImage() to OnPaint().
  12157. 2004-10-15 07:25 ravindra
  12158. * CheckBox.cs, RadioButton.cs:
  12159. - Removed Redraw (), we get it from ButtonBase.
  12160. - Implemented Paint (), to do class specific painting.
  12161. 2004-10-15 07:16 ravindra
  12162. * ButtonBase.cs:
  12163. - Redraw () is not virtual now.
  12164. - Added an internal virtual method Paint (), so that
  12165. derived classes can do their painting on their own.
  12166. - Modified OnPaint () to call Paint ().
  12167. 2004-10-15 06:43 jordi
  12168. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  12169. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  12170. 2004-10-15 00:30 ravindra
  12171. * MessageBox.cs:
  12172. - MessageBox on windows does not have min/max buttons.
  12173. This change in CreateParams fixes this on Windows. We
  12174. still need to implement this windowstyle behavior in
  12175. our X11 driver.
  12176. 2004-10-14 05:14 ravindra
  12177. * ToolBar.cs:
  12178. - Changed Redraw () to do a Refresh () always.
  12179. - Fixed the MouseMove event handling when mouse is pressed,
  12180. ie drag event handling.
  12181. - Replaced the usage of ToolBarButton.Pressed property to
  12182. ToolBarButton.pressed internal variable.
  12183. 2004-10-14 05:10 ravindra
  12184. * ToolBarButton.cs:
  12185. - Added an internal member 'inside' to handle mouse move
  12186. with mouse pressed ie mouse drag event.
  12187. - Changed 'Pressed' property to return true only when
  12188. 'inside' and 'pressed' are both true.
  12189. - Some coding style love.
  12190. 2004-10-14 00:17 ravindra
  12191. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  12192. public method.
  12193. 2004-10-14 00:15 ravindra
  12194. * ButtonBase.cs: Redraw () related improvements.
  12195. 2004-10-14 00:14 ravindra
  12196. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  12197. removed unnecessary calls to Button.Show () method.
  12198. 2004-10-13 17:50 pbartok
  12199. * XplatUIX11.cs:
  12200. - Formatting fix
  12201. - Removed destroying of window until we solve the problem of X
  12202. destroying the window before us on shutdown
  12203. 2004-10-13 16:32 pbartok
  12204. * ButtonBase.cs:
  12205. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  12206. 2004-10-13 14:18 pbartok
  12207. * XplatUIX11.cs:
  12208. - Added code to destroy the X window
  12209. 2004-10-13 14:18 pbartok
  12210. * XplatUIWin32.cs:
  12211. - Added code to destroy a window
  12212. 2004-10-13 14:12 pbartok
  12213. * ButtonBase.cs:
  12214. - Added the Redraw on Resize that got dropped in the last rev
  12215. 2004-10-13 09:06 pbartok
  12216. * ThemeWin32Classic.cs:
  12217. - Path from John BouAntoun:
  12218. * Fix check rendering (centre correctly for normal style, offset
  12219. correctly for FlatStyle).
  12220. * Fix border color usage (use backcolor) for FlatStyle.Popup
  12221. * Use checkbox.Capture instead of checkbox.is_pressed when
  12222. rendering flatstyle states.
  12223. 2004-10-12 21:48 pbartok
  12224. * ThemeWin32Classic.cs:
  12225. - Removed all occurences of SystemColors and replaced them with the
  12226. matching theme color
  12227. 2004-10-12 21:41 pbartok
  12228. * ThemeWin32Classic.cs:
  12229. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  12230. him using the function for flatstyle drawing
  12231. - Changed functions to use the new version of CPDrawBorder3D
  12232. 2004-10-12 21:15 pbartok
  12233. * ControlPaint.cs:
  12234. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  12235. match MS documentation. They need to return defined colors if the
  12236. passed color matches the configured control color. Thanks to John
  12237. BouAntoun for pointing this out.
  12238. 2004-10-12 20:57 pbartok
  12239. * Control.cs:
  12240. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  12241. color is changed
  12242. 2004-10-12 20:46 pbartok
  12243. * CheckBox.cs:
  12244. - Fix from John BouAntoun: Now properly sets the Appearance property
  12245. 2004-10-12 20:45 pbartok
  12246. * ThemeWin32Classic.cs:
  12247. - Fixes from John BouAntoun: now handles forecolors and backcolors
  12248. for flatstyle rendered controls much better; It also fixes normal
  12249. checkbox rendering when pushed or disabled.
  12250. 2004-10-08 02:50 jordi
  12251. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  12252. work
  12253. 2004-10-07 08:56 jordi
  12254. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  12255. 2004-10-06 03:59 jordi
  12256. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  12257. XplatUIWin32.cs: removes warnings from compilation
  12258. 2004-10-05 12:23 jackson
  12259. * RadioButton.cs: Fix ctor
  12260. 2004-10-05 11:10 pbartok
  12261. * MessageBox.cs:
  12262. - Partial implementation by Benjamin Dasnois
  12263. 2004-10-05 10:15 jackson
  12264. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  12265. by John BouAntoun
  12266. 2004-10-05 03:07 ravindra
  12267. * ToolBar.cs:
  12268. - Removed a private method, Draw ().
  12269. - Fixed the ButtonDropDown event handling.
  12270. - Fixed MouseMove event handling.
  12271. 2004-10-05 03:04 ravindra
  12272. * ThemeWin32Classic.cs:
  12273. - Added DrawListView method and ListViewDefaultSize property.
  12274. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  12275. - Changed DOS style CRLF to Unix format (dos2unix).
  12276. 2004-10-05 03:03 ravindra
  12277. * Theme.cs:
  12278. - Added DrawListView method and ListViewDefaultSize property.
  12279. 2004-10-05 02:42 ravindra
  12280. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  12281. clicks on DropDown arrow.
  12282. 2004-10-04 22:56 jackson
  12283. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  12284. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  12285. Control handle the buffers, derived classes should not have to
  12286. CreateBuffers themselves.
  12287. 2004-10-04 21:20 jackson
  12288. * StatusBar.cs: The control handles resizing the buffers now.
  12289. 2004-10-04 21:18 jackson
  12290. * Control.cs: When resizing the buffers should be invalidated. This
  12291. should be handled in Control not in derived classes.
  12292. 2004-10-04 14:45 jackson
  12293. * TabPage.cs: oops
  12294. 2004-10-04 02:14 pbartok
  12295. * LeftRightAlignment.cs:
  12296. - Initial check-in
  12297. 2004-10-04 01:09 jordi
  12298. * ThemeWin32Classic.cs: fixes right button position causing right
  12299. button not showing on horizontal scrollbars
  12300. 2004-10-02 13:12 pbartok
  12301. * XplatUIX11.cs:
  12302. - Simplified the Invalidate method by using an X call instead of
  12303. generating the expose ourselves
  12304. - Added an expose when the window background is changed
  12305. - Implemented ClientToScreen method
  12306. 2004-10-02 13:08 pbartok
  12307. * XplatUIWin32.cs:
  12308. - Added Win32EnableWindow method (test for implementing modal
  12309. dialogs)
  12310. - Added ClientToScreen method and imports
  12311. 2004-10-02 13:07 pbartok
  12312. * XplatUI.cs, XplatUIDriver.cs:
  12313. - Added ClientToScreen coordinate translation method
  12314. 2004-10-02 13:06 pbartok
  12315. * KeyPressEventArgs.cs:
  12316. - Fixed access level for constructor
  12317. 2004-10-02 13:06 pbartok
  12318. * NativeWindow.cs:
  12319. - Changed access level for the window_collection hash table
  12320. 2004-10-02 13:05 pbartok
  12321. * Form.cs:
  12322. - Added KeyPreview property
  12323. - Added Menu property (still incomplete, pending Jordi's menu work)
  12324. - Implemented ProcessCmdKey
  12325. - Implemented ProcessDialogKey
  12326. - Implemented ProcessKeyPreview
  12327. 2004-10-02 13:02 pbartok
  12328. * Control.cs:
  12329. - Added private method to get the Control object from the window
  12330. handle
  12331. - Implemented ContextMenu property
  12332. - Implemented PointToScreen
  12333. - Implemented PreProcessMessage
  12334. - Implemented IsInputChar
  12335. - Implemented IsInputKey
  12336. - Implemented ProcessCmdKey
  12337. - Completed ProcessKeyEventArgs
  12338. - Fixed message loop to call the proper chain of functions on key
  12339. events
  12340. - Implemented ProcessDialogChar
  12341. - Implemented ProcessDialogKey
  12342. - Implemented ProcessKeyMessage
  12343. - Implemented ProcessKeyPreview
  12344. - Added RaiseDragEvent stub (MS internal method)
  12345. - Added RaiseKeyEvent stub (MS internal method)
  12346. - Added RaiseMouseEvent stub (MS Internal method)
  12347. - Added RaisePaintEvent stub (MS Internal method)
  12348. - Added ResetMouseEventArgs stub (MS Internal method)
  12349. - Implemented RtlTranslateAlignment
  12350. - Implemented RtlTranslateContent
  12351. - Implemented RtlTranslateHorizontal
  12352. - Implemented RtlTranslateLeftRight
  12353. - Added generation of KeyPress event
  12354. 2004-10-02 05:57 ravindra
  12355. * ListViewItem.cs: Added attributes.
  12356. 2004-10-02 05:32 ravindra
  12357. * ListView.cs: Added attributes.
  12358. 2004-10-01 11:53 jackson
  12359. * Form.cs: Implement the Close method so work on MessageBox can
  12360. continue.
  12361. 2004-09-30 14:06 pbartok
  12362. * XplatUIX11.cs:
  12363. - Bug fixes
  12364. 2004-09-30 11:34 jackson
  12365. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  12366. 2004-09-30 07:26 ravindra
  12367. * ListViewItemConverter.cs: Converter for ListViewItem.
  12368. 2004-09-30 07:26 ravindra
  12369. * SortOrder.cs: Enum for ListView control.
  12370. 2004-09-30 07:25 ravindra
  12371. * ColumnHeader.cs: Supporting class for ListView control.
  12372. 2004-09-30 07:24 ravindra
  12373. * ListView.cs, ListViewItem.cs: Initial implementation.
  12374. 2004-09-30 07:20 ravindra
  12375. * ItemActivation.cs: Enum for ListView Control.
  12376. 2004-09-29 20:29 pbartok
  12377. * XplatUIX11.cs:
  12378. - Added lookup of pixel value for background color; tries to get a
  12379. color 'close' to the requested color, it avoids having to create a
  12380. colormap. Depending on the display this could mean the used color
  12381. is slightly off the desired color. Might have to change it to a more
  12382. resource intensive colormap approach, but it will work as a
  12383. workaround to avoid red screens.
  12384. 2004-09-29 14:27 jackson
  12385. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  12386. 2004-09-28 12:44 pbartok
  12387. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  12388. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  12389. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  12390. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  12391. TrackBar.cs, VScrollBar.cs:
  12392. - Streamlined Theme interfaces:
  12393. * Each DrawXXX method for a control now is passed the object for
  12394. the control to be drawn in order to allow accessing any state the
  12395. theme might require
  12396. * ControlPaint methods for the theme now have a CP prefix to avoid
  12397. name clashes with the Draw methods for controls
  12398. * Every control now retrieves it's DefaultSize from the current
  12399. theme
  12400. 2004-09-28 12:17 jackson
  12401. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  12402. drawing
  12403. 2004-09-24 14:57 jackson
  12404. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  12405. Gives us a nice little performance boost.
  12406. 2004-09-24 12:02 jackson
  12407. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  12408. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  12409. Control and supporting classes. Initial checkin
  12410. 2004-09-23 13:08 jackson
  12411. * Form.cs: Temp build fixage
  12412. 2004-09-23 01:39 ravindra
  12413. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  12414. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  12415. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  12416. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  12417. EventHandlers needed by ListView Control.
  12418. 2004-09-22 14:12 pbartok
  12419. * ScrollableControl.cs:
  12420. - Implemented DockPadding property
  12421. - Implemented AutoScroll property
  12422. - Implemented AutoScrollMargin property
  12423. - Implemented AutoScrollMinSize property
  12424. - Implemented AutoScrollPosition property
  12425. - Implemented DisplayRectangle property (still incomplete)
  12426. - Implemented CreateParams property
  12427. - Implemented HScroll property
  12428. - Implemented VScroll property
  12429. - Implemented OnVisibleChanged property
  12430. 2004-09-22 14:09 pbartok
  12431. * Form.cs:
  12432. - Added Form.ControllCollection class
  12433. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  12434. RemoveOwnedForm (still incomplete, missing on-top and common
  12435. minimize/maximize behaviour)
  12436. - Added StartPosition property (still incomplete, does not use when
  12437. creating the form)
  12438. - Added ShowDialog() methods (still incomplete, missing forcing the
  12439. dialog modal)
  12440. 2004-09-22 14:05 pbartok
  12441. * Application.cs:
  12442. - Added message loop for modal dialogs
  12443. 2004-09-22 14:02 pbartok
  12444. * GroupBox.cs:
  12445. - Fixed wrong types for events
  12446. 2004-09-22 14:00 pbartok
  12447. * Shortcut.cs, FormWindowState.cs:
  12448. - Fixed wrong values
  12449. 2004-09-22 12:01 jackson
  12450. * Control.cs: Text is never null
  12451. 2004-09-20 22:14 pbartok
  12452. * XplatUIWin32.cs:
  12453. - Fixed accessibility level for Idle handler
  12454. 2004-09-20 18:54 jackson
  12455. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  12456. XplatUIX11.cs: New message loop that uses poll so we don't get a
  12457. busy loop
  12458. 2004-09-17 10:43 pbartok
  12459. * ScrollBar.cs:
  12460. - Fixed behaviour of arrow buttons. Now properly behaves like
  12461. Buttons (and like Microsoft's scrollbar arrow buttons)
  12462. 2004-09-17 10:14 pbartok
  12463. * ScrollBar.cs:
  12464. - Added missing release of keyboard/mouse capture
  12465. 2004-09-17 06:18 jordi
  12466. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  12467. Theme.cs: Very early menu support
  12468. 2004-09-16 17:45 pbartok
  12469. * XplatUIWin32.cs:
  12470. - Fixed sending a window to the front
  12471. - Added overload for SetWindowPos to avoid casting
  12472. 2004-09-16 17:44 pbartok
  12473. * Control.cs:
  12474. - Added SendToBack and BringToFront methods
  12475. 2004-09-16 07:00 ravindra
  12476. * Copyright: Added Novell URL.
  12477. 2004-09-16 07:00 ravindra
  12478. * ToolBar.cs: Invalidate should be done before redrawing.
  12479. 2004-09-15 21:19 ravindra
  12480. * ColumnHeaderStyle.cs: Enum for ListView Control.
  12481. 2004-09-15 21:18 ravindra
  12482. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  12483. ListView Control.
  12484. 2004-09-13 18:26 jackson
  12485. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  12486. properly
  12487. 2004-09-13 18:13 jackson
  12488. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  12489. a second thread and post messages into the main threads message
  12490. queue. This makes timing much more consistent. Both win2K and XP
  12491. have a minimum timer value of 15 milliseconds, so we now do this
  12492. too.
  12493. 2004-09-13 15:18 pbartok
  12494. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  12495. XplatUIX11.cs:
  12496. - Added Z-Ordering methods
  12497. 2004-09-13 10:56 pbartok
  12498. * Form.cs:
  12499. - Fixed #region names
  12500. - Moved properties and methods into their proper #regions
  12501. 2004-09-13 10:51 pbartok
  12502. * Form.cs:
  12503. - Added Accept and CancelButton properties
  12504. - Added ProcessDialogKey() method
  12505. 2004-09-13 08:18 pbartok
  12506. * IWindowTarget.cs:
  12507. - Initial check-in
  12508. 2004-09-10 21:50 pbartok
  12509. * Control.cs:
  12510. - Added DoDragDrop() [incomplete]
  12511. - Properly implemented 'Visible' handling
  12512. - Added SetVisibleCore()
  12513. - Implemented FindChildAtPoint()
  12514. - Implemented GetContainerControl()
  12515. - Implemented Hide()
  12516. 2004-09-10 19:28 pbartok
  12517. * Control.cs:
  12518. - Moved methods into their appropriate #regions
  12519. - Reordered methods within regions alphabetically
  12520. 2004-09-10 18:57 pbartok
  12521. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  12522. - Added method to retrieve text from window
  12523. 2004-09-10 18:56 pbartok
  12524. * Control.cs:
  12525. - Moved some internal functions into the internal region
  12526. - Implemented FontHeight
  12527. - Implemented RenderRightToLeft
  12528. - Implemented ResizeRedraw
  12529. - Implemented ShowFocusCues
  12530. - Implemented ShowKeyboardCues
  12531. - Implemented FromChildHandle
  12532. - Implemented FromHandle
  12533. - Implemented IsMnemonic
  12534. - Implemented ReflectMessage
  12535. - All public and protected Static Methods are now complete
  12536. 2004-09-10 16:54 pbartok
  12537. * Control.cs:
  12538. - Implemented remaining missing public instance properties
  12539. - Alphabetized some out of order properties
  12540. 2004-09-10 05:51 ravindra
  12541. * PictureBox.cs: Added a check for null image.
  12542. 2004-09-10 00:59 jordi
  12543. * GroupBox.cs: remove cvs tag
  12544. 2004-09-09 05:25 ravindra
  12545. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  12546. 2004-09-09 05:23 ravindra
  12547. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  12548. parent redraw.
  12549. 2004-09-09 02:28 pbartok
  12550. * ThemeWin32Classic.cs:
  12551. - Improve disabled string look
  12552. 2004-09-09 01:15 jordi
  12553. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  12554. args and handler
  12555. 2004-09-08 23:56 ravindra
  12556. * ItemBoundsPortion.cs: It's enum, not a class!
  12557. 2004-09-08 23:47 ravindra
  12558. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  12559. Enums for Form.
  12560. 2004-09-08 21:13 ravindra
  12561. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  12562. ListView control.
  12563. 2004-09-08 21:03 ravindra
  12564. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  12565. avoid crash.
  12566. 2004-09-08 21:01 ravindra
  12567. * ScrollableControl.cs: Removed unreachable code.
  12568. 2004-09-08 06:45 jordi
  12569. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  12570. 2004-09-08 01:00 jackson
  12571. * XplatUIX11.cs: Only run the timers when updating the message
  12572. queue. This effectively gives X messages a higher priority then
  12573. timer messages. Timers still need love though
  12574. 2004-09-07 14:01 jackson
  12575. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  12576. this for us and the handle is no longer valid.
  12577. 2004-09-07 13:59 jackson
  12578. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  12579. loop that manages to not crash. TODO: Add poll and cleanup timers
  12580. 2004-09-07 11:12 jordi
  12581. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  12582. 2004-09-07 03:40 jordi
  12583. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  12584. fixes, methods, multiple links
  12585. 2004-09-06 06:55 jordi
  12586. * Control.cs: Caches ClientRectangle rectangle value
  12587. 2004-09-05 02:03 jordi
  12588. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  12589. certain situations
  12590. 2004-09-04 11:10 jordi
  12591. * Label.cs: Refresh when font changed
  12592. 2004-09-02 16:24 pbartok
  12593. * Control.cs:
  12594. - Added sanity check to creation of double buffer bitmap
  12595. 2004-09-02 16:24 pbartok
  12596. * ButtonBase.cs:
  12597. - Fixed selection of text color
  12598. - Fixed handling of resize event; now properly recreates double
  12599. buffering bitmap
  12600. - Added missing assignment of TextAlignment
  12601. - Added proper default for TextAlignment
  12602. 2004-09-02 14:26 pbartok
  12603. * RadioButton.cs:
  12604. - Added missing RadioButton.RadioButtonAccessibleObject class
  12605. 2004-09-02 14:26 pbartok
  12606. * Control.cs:
  12607. - Added missing Control.ControlAccessibleObject class
  12608. - Started to implement Select()ion mechanisms, still very incomplete
  12609. 2004-09-02 14:25 pbartok
  12610. * AccessibleObject.cs:
  12611. - Added missing methods
  12612. 2004-09-02 14:23 pbartok
  12613. * AccessibleNavigation.cs, AccessibleSelection.cs:
  12614. - Initial check-in
  12615. 2004-09-02 10:32 jordi
  12616. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  12617. pool for pens, brushes, and hatchbruses
  12618. 2004-09-01 15:30 jackson
  12619. * StatusBar.cs: Fix typo
  12620. 2004-09-01 14:44 pbartok
  12621. * RadioButton.cs:
  12622. - Fixed state
  12623. 2004-09-01 14:39 pbartok
  12624. * Button.cs, RadioButton.cs:
  12625. - Functional initial check-in
  12626. 2004-09-01 14:01 pbartok
  12627. * CheckBox.cs:
  12628. - Added missing default
  12629. - Added missing region mark
  12630. 2004-09-01 09:10 jordi
  12631. * Label.cs: fixes method signatures, new methods, events, fixes
  12632. autosize
  12633. 2004-09-01 07:19 jordi
  12634. * Control.cs: Init string variables with an empty object
  12635. 2004-09-01 04:20 jordi
  12636. * Control.cs: fires OnFontChanged event
  12637. 2004-08-31 20:07 pbartok
  12638. * ButtonBase.cs:
  12639. - Enabled display of strings
  12640. 2004-08-31 20:05 pbartok
  12641. * Form.cs:
  12642. - Added (partial) implementation of DialogResult; rest needs to be
  12643. implemented when the modal loop code is done
  12644. 2004-08-31 19:55 pbartok
  12645. * CheckBox.cs:
  12646. - Fixed to match the removal of the needs_redraw concept
  12647. 2004-08-31 19:55 pbartok
  12648. * ButtonBase.cs:
  12649. - Removed the rather odd split between 'needs redraw' and redrawing
  12650. - Now handles the events that require regeneration (ambient
  12651. properties and size)
  12652. 2004-08-31 19:41 pbartok
  12653. * Control.cs:
  12654. - Added firing of BackColorChanged event
  12655. - Added TopLevelControl property
  12656. - Fixed handling of WM_ERASEBKGRND message
  12657. 2004-08-31 12:49 pbartok
  12658. * ButtonBase.cs:
  12659. - Removed debug
  12660. - Minor fixes
  12661. 2004-08-31 12:48 pbartok
  12662. * CheckBox.cs:
  12663. - Finished (famous last words)
  12664. 2004-08-31 04:35 jordi
  12665. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  12666. scrolling bugs, adds new methods
  12667. 2004-08-30 14:42 pbartok
  12668. * CheckBox.cs:
  12669. - Implemented CheckBox drawing code
  12670. 2004-08-30 14:42 pbartok
  12671. * ButtonBase.cs:
  12672. - Made Redraw() and CheckRedraw() virtual
  12673. - Improved mouse up/down/move logic to properly track buttons
  12674. 2004-08-30 09:44 pbartok
  12675. * CheckBox.cs:
  12676. - Updated to fix broken build. Not complete yet.
  12677. 2004-08-30 09:28 pbartok
  12678. * CheckState.cs:
  12679. - Initial checkin
  12680. 2004-08-30 09:17 pbartok
  12681. * Appearance.cs:
  12682. - Initial check-in
  12683. 2004-08-27 16:12 ravindra
  12684. * ToolBarButton.cs: Added TypeConverter attribute.
  12685. 2004-08-27 16:07 ravindra
  12686. * ImageIndexConverter.cs: Implemented.
  12687. 2004-08-27 14:17 pbartok
  12688. * Control.cs:
  12689. - Removed unneeded stack vars
  12690. - First attempt to fix sizing issues when layout is suspended
  12691. 2004-08-25 15:35 jordi
  12692. * ScrollBar.cs: more fixes to scrollbar
  12693. 2004-08-25 14:04 ravindra
  12694. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  12695. Added the missing divider code and grip for ToolBar Control.
  12696. 2004-08-25 13:20 pbartok
  12697. * Control.cs:
  12698. - Control now properly passes the ambient background color to child
  12699. controls
  12700. 2004-08-25 13:20 jordi
  12701. * ScrollBar.cs: small bug fix regarding bar position
  12702. 2004-08-25 12:33 pbartok
  12703. * Timer.cs:
  12704. - Now only calls SetTimer or KillTimer if the enabled state has
  12705. changed
  12706. 2004-08-25 12:33 pbartok
  12707. * XplatUIWin32.cs:
  12708. - Fixed timer handling, now seems to work
  12709. - Improved error message for window creation
  12710. 2004-08-25 12:32 pbartok
  12711. * Control.cs:
  12712. - Fixed generation of MouseUp message
  12713. 2004-08-25 12:29 jordi
  12714. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  12715. and fixes for progressbar
  12716. 2004-08-24 18:43 ravindra
  12717. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  12718. in ToolBar control.
  12719. 2004-08-24 17:15 pbartok
  12720. * Panel.cs:
  12721. - Added #region
  12722. - Added missing events
  12723. - Alphabetized
  12724. 2004-08-24 17:14 pbartok
  12725. * StatusBar.cs, PictureBox.cs:
  12726. - Now uses Control's CreateParams
  12727. 2004-08-24 16:36 pbartok
  12728. * XplatUIX11.cs:
  12729. - Fixed background color handling
  12730. - Fixed sending of enter/leave events on a grab
  12731. 2004-08-24 16:35 pbartok
  12732. * X11Structs.cs:
  12733. - Refined definitions for CrossingEvent
  12734. 2004-08-24 12:37 jordi
  12735. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  12736. formmating, methods signature, and adds missing events
  12737. 2004-08-24 12:24 jordi
  12738. * Control.cs: fire OnEnabledChanged event
  12739. 2004-08-24 11:17 pbartok
  12740. * XplatUIWin32.cs:
  12741. - Implemented SetTimer() and KillTimer()
  12742. 2004-08-24 11:16 pbartok
  12743. * XplatUIX11.cs:
  12744. - Now uses Remove instead of Add to kill the timer
  12745. 2004-08-24 10:16 jackson
  12746. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  12747. picture boxes in the theme now. Draw picture box borders and obey
  12748. sizing modes
  12749. 2004-08-24 05:49 jackson
  12750. * Timer.cs: Remove top secret debugging code
  12751. 2004-08-24 05:34 jackson
  12752. * PictureBox.cs: Temp hack to make picture boxes draw their full
  12753. image
  12754. 2004-08-24 05:29 jackson
  12755. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  12756. XplatUIX11.cs: Move timers to the driver level. On X they are
  12757. queued by the driver and checked on idle.
  12758. 2004-08-24 01:07 jackson
  12759. * XplatUIX11.cs: Use a queue for async messages instead of passing
  12760. them as ClientMessages since that was totally broken. Also simply
  12761. check for events and return an idle message if none are found. This
  12762. gives us an idle handler, and prevents deadlocking when no messages
  12763. are in the queue.
  12764. 2004-08-23 18:19 ravindra
  12765. * XplatUIWin32.cs: Removed the unwanted destructor.
  12766. 2004-08-23 17:27 pbartok
  12767. * ButtonBase.cs:
  12768. - Finishing touches. Works now, just needs some optimizations.
  12769. 2004-08-23 16:53 jordi
  12770. * ScrollBar.cs: small fix
  12771. 2004-08-23 16:45 pbartok
  12772. * Application.cs:
  12773. - Removed debug output
  12774. - Simplifications
  12775. 2004-08-23 16:43 jordi
  12776. * ScrollBar.cs: [no log message]
  12777. 2004-08-23 16:10 pbartok
  12778. * Form.cs:
  12779. - Fixed handling of WM_CLOSE message
  12780. - Removed debug output
  12781. 2004-08-23 16:09 pbartok
  12782. * Application.cs:
  12783. - Added handling of Idle event
  12784. - Added handling of form closing
  12785. - Fixed reporting of MessageLoop property
  12786. - Removed some unneeded code, should provide a bit of a speedup
  12787. 2004-08-23 15:22 pbartok
  12788. * Control.cs:
  12789. - Added InitLayout() method
  12790. - Added code to properly perform layout when Anchor or Dock property
  12791. is changed
  12792. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  12793. LAMESPEC, tried to do it in a way that makes sense
  12794. 2004-08-23 14:10 jordi
  12795. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  12796. properties and methods
  12797. 2004-08-23 13:55 pbartok
  12798. * Control.cs:
  12799. - Properly fixed Jordi's last fix
  12800. - Now uses Cursor's Position property instead of calling XplatUI
  12801. directly
  12802. 2004-08-23 13:44 jordi
  12803. * PaintEventHandler.cs: Adding missing attribute
  12804. 2004-08-23 13:39 pbartok
  12805. * Cursor.cs:
  12806. - Implemented Position property
  12807. 2004-08-23 13:39 pbartok
  12808. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  12809. - Added method to move mouse cursor
  12810. 2004-08-23 13:39 pbartok
  12811. * XplatUIX11.cs:
  12812. - Fixed setting of background color
  12813. - Added method to move mouse cursor
  12814. 2004-08-23 13:16 jordi
  12815. * Control.cs: avoids null exception
  12816. 2004-08-22 17:46 jackson
  12817. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  12818. PictureBox
  12819. 2004-08-22 17:40 jackson
  12820. * XplatUIX11.cs: Add some missing locks
  12821. 2004-08-22 15:10 pbartok
  12822. * Control.cs, Form.cs:
  12823. - Removed OverlappedWindow style from Control, instead it's default
  12824. now is child
  12825. - Made form windows OverlappedWindow by default
  12826. 2004-08-22 13:34 jackson
  12827. * ScrollBar.cs: Update the position through the Value property so
  12828. the OnValueChanged event is raised.
  12829. 2004-08-22 12:04 pbartok
  12830. * SWF.csproj:
  12831. - Added Cursor.cs and UserControl.cs
  12832. 2004-08-22 12:03 pbartok
  12833. * Cursor.cs:
  12834. - Started implementation, not usable yet
  12835. 2004-08-22 12:00 pbartok
  12836. * UserControl.cs:
  12837. - Implemented UserControl (complete)
  12838. 2004-08-21 19:20 ravindra
  12839. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  12840. 2004-08-21 18:49 ravindra
  12841. * ToolBar.cs: Probably this completes the missing attributes in
  12842. toolbar control.
  12843. 2004-08-21 18:03 ravindra
  12844. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  12845. Fixed toolbar control signatures.
  12846. 2004-08-21 16:32 pbartok
  12847. * LinkLabel.cs:
  12848. - Signature Fixes
  12849. 2004-08-21 16:30 pbartok
  12850. * Label.cs:
  12851. - Signature fixes
  12852. 2004-08-21 16:19 pbartok
  12853. * Control.cs, Label.cs:
  12854. - Signature fixes
  12855. 2004-08-21 15:57 pbartok
  12856. * ButtonBase.cs:
  12857. - Added loads of debug output for development
  12858. - Fixed typo in method name
  12859. 2004-08-21 15:52 pbartok
  12860. * ToolBarButtonClickEventArgs.cs:
  12861. - Added missing base class
  12862. 2004-08-21 14:53 pbartok
  12863. * Control.cs:
  12864. - Updated to match new GrabWindow signature
  12865. 2004-08-21 14:51 pbartok
  12866. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  12867. - Added method to get default display size
  12868. 2004-08-21 14:23 pbartok
  12869. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  12870. - Added method to query current grab state
  12871. - Added argument to allow confining a grab to a window
  12872. 2004-08-21 14:22 pbartok
  12873. * Keys.cs:
  12874. - Added [Flags] attribute so that modifiers can be used in bitwise
  12875. ops
  12876. 2004-08-21 14:21 pbartok
  12877. * TrackBar.cs, ScrollBar.cs:
  12878. - Replaced direct XplatUI calls with their Control counterpart
  12879. 2004-08-21 13:32 pbartok
  12880. * Control.cs:
  12881. - Implemented Created property
  12882. 2004-08-21 13:28 pbartok
  12883. * Control.cs:
  12884. - Implemented ContainsFocus
  12885. 2004-08-21 13:26 pbartok
  12886. * Control.cs:
  12887. - Implemented CausesValidation
  12888. 2004-08-21 13:21 pbartok
  12889. * Control.cs:
  12890. - Implemented CanFocus
  12891. - Implemented CanSelect
  12892. - Implemented Capture
  12893. 2004-08-21 12:35 pbartok
  12894. * XplatUIWin32.cs:
  12895. - Fixed bug with Async message handling
  12896. - Implemented getting the ModifierKeys
  12897. 2004-08-21 12:32 jackson
  12898. * AsyncMethodResult.cs: Make sure we have the mutex before we
  12899. release it. Fixes BeginInvoke on windows
  12900. 2004-08-21 11:31 pbartok
  12901. * XplatUIWin32.cs, XplatUIX11.cs:
  12902. - Drivers now return proper mouse state
  12903. 2004-08-21 10:54 jackson
  12904. * Control.cs: Implement EndInvoke
  12905. 2004-08-21 10:48 jackson
  12906. * Timer.cs: Remove unneeded finalizer
  12907. 2004-08-20 19:52 ravindra
  12908. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  12909. in mouse event handling in the ToolBar control.
  12910. 2004-08-20 19:50 ravindra
  12911. * ImageList.cs: Changed draw method to use the arguments passed in
  12912. to draw the image.
  12913. 2004-08-20 18:58 pbartok
  12914. * XplatUIStructs.cs:
  12915. - Added private message for async communication
  12916. 2004-08-20 17:38 ravindra
  12917. * Control.cs: Made RightToLeft property virtual and removed a
  12918. Console.WriteLine.
  12919. 2004-08-20 14:39 jordi
  12920. * ThemeGtk.cs: use style_attach
  12921. 2004-08-20 14:39 pbartok
  12922. * XplatUIWin32.cs:
  12923. - Added jackson's Async code from X11 to Win32
  12924. 2004-08-20 14:09 pbartok
  12925. * SWF.csproj:
  12926. - Added all new files
  12927. 2004-08-20 14:09 pbartok
  12928. * Control.cs:
  12929. - Added call to set window background color
  12930. 2004-08-20 14:03 pbartok
  12931. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  12932. - Added method for setting the window background
  12933. 2004-08-20 14:02 pbartok
  12934. * XplatUIWin32.cs:
  12935. - Added method for setting the background color
  12936. - Added handling for erasing the window background
  12937. 2004-08-20 13:45 jordi
  12938. * TrackBar.cs: fixes timer, new properties and methods
  12939. 2004-08-20 13:34 jackson
  12940. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  12941. correct thread
  12942. 2004-08-20 13:22 jackson
  12943. * Timer.cs: Timer Tick events are now handed through Controls Async
  12944. mechanism so the callbacks are executed in the same thread as X
  12945. 2004-08-20 13:19 jackson
  12946. * XplatUIDriver.cs: Expose functionality to send async messages
  12947. through the driver
  12948. 2004-08-20 13:18 jackson
  12949. * Control.cs: Implement Begininvoke
  12950. 2004-08-20 13:14 jackson
  12951. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  12952. messages through the driver
  12953. 2004-08-20 13:12 jackson
  12954. * XplatUIX11.cs: Lock before all X operations. Also added Async
  12955. method functionality through XSendEvent
  12956. 2004-08-20 13:11 jackson
  12957. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  12958. This will screw up on 64 bit systems)
  12959. 2004-08-20 13:10 jackson
  12960. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  12961. Async messages through X/Win32
  12962. 2004-08-19 19:39 pbartok
  12963. * XplatUIX11.cs:
  12964. - Updated code to match new HandleData.DeviceContext type
  12965. 2004-08-19 19:38 pbartok
  12966. * HandleData.cs:
  12967. - Made DeviceContext a generic object to allow usage from various
  12968. drivers
  12969. - Added support for queueing Windows messages
  12970. 2004-08-19 19:37 pbartok
  12971. * XplatUIWin32.cs:
  12972. - Added generation of MouseEnter, MouseLeave and MouseHover events
  12973. - Added cleanup on EndPaint
  12974. 2004-08-19 19:17 pbartok
  12975. * Control.cs:
  12976. - Added handling of WM_MOUSEHOVER
  12977. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  12978. code
  12979. 2004-08-19 18:55 jordi
  12980. * ThemeGtk.cs: fixes button order
  12981. 2004-08-19 18:12 jordi
  12982. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  12983. 2004-08-19 17:09 pbartok
  12984. * Control.cs:
  12985. - Added Right property
  12986. - Added RightToLeft property
  12987. 2004-08-19 16:27 jordi
  12988. * ThemeGtk.cs: experimental GTK theme support
  12989. 2004-08-19 16:26 jordi
  12990. * ITheme.cs, Theme.cs: move themes from an interface to a class
  12991. 2004-08-19 16:25 jordi
  12992. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  12993. theme enhancaments
  12994. 2004-08-19 16:04 pbartok
  12995. * XplatUIX11.cs:
  12996. - Added colormap basics
  12997. - Added a way to re-initialize with a different display handle
  12998. - Fixed setting of the window background color
  12999. - Added various X11 imports related to colors and colormaps
  13000. 2004-08-19 15:51 pbartok
  13001. * X11Structs.cs:
  13002. - Removed packing hints (Paolo suggested this a while back)
  13003. - fixed colormap type
  13004. - Added default Atom types
  13005. - Added Screen and color structs and enums
  13006. 2004-08-19 15:39 pbartok
  13007. * ImageList.cs:
  13008. - Added missing Draw() method
  13009. - Added missing RecreateHandle event
  13010. 2004-08-19 15:30 pbartok
  13011. * Form.cs:
  13012. - Added handling of WM_CLOSE
  13013. 2004-08-18 13:16 jordi
  13014. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  13015. a table
  13016. 2004-08-18 09:56 jordi
  13017. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  13018. 2004-08-17 15:31 ravindra
  13019. * SWF.csproj: Updated project.
  13020. 2004-08-17 15:25 pbartok
  13021. * Control.cs:
  13022. - Drawing improvement; don't call UpdateBounds if we are not visible
  13023. (or have been minimized)
  13024. 2004-08-17 15:24 pbartok
  13025. * XplatUIWin32.cs:
  13026. - Finished IsVisible
  13027. - Added Win32GetWindowPlacement
  13028. 2004-08-17 15:08 jackson
  13029. * Panel.cs: Initial checkin of the Panel
  13030. 2004-08-17 14:25 pbartok
  13031. * Control.cs:
  13032. - Fixed broken handling of default window sizes
  13033. 2004-08-17 13:29 jackson
  13034. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  13035. has a large startup time.
  13036. 2004-08-17 10:25 jackson
  13037. * HandleData.cs: union areas properly
  13038. 2004-08-17 10:12 jackson
  13039. * HandleData.cs: union areas properly
  13040. 2004-08-16 20:00 ravindra
  13041. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  13042. 2004-08-16 18:48 ravindra
  13043. * ToolBar.cs: Added attributes.
  13044. 2004-08-16 17:17 ravindra
  13045. * SWF.csproj: Updated project.
  13046. 2004-08-16 17:16 jackson
  13047. * XplatUIX11.cs: Check for more expose events before sending a
  13048. WM_PAINT so they can all be grouped together. This makes dragging a
  13049. window across another window redraw in a sane way.
  13050. 2004-08-16 15:47 pbartok
  13051. * Control.cs:
  13052. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  13053. support OnMouseEnter/Leave()
  13054. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  13055. exposure handling
  13056. 2004-08-16 15:46 pbartok
  13057. * XplatUIStructs.cs, XplatUIX11.cs:
  13058. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  13059. OnMouseEnter/Leave()
  13060. 2004-08-16 15:34 jackson
  13061. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  13062. sure messages get the message field set to WM_NULL if they are not
  13063. handled.
  13064. 2004-08-16 15:24 jackson
  13065. * HandleData.cs: HandleData is used for storing message information
  13066. for window handles
  13067. 2004-08-15 17:23 ravindra
  13068. * ColorDepth.cs: Added attribute.
  13069. 2004-08-15 17:23 ravindra
  13070. * SWF.csproj: Updated project for ToolBar Control.
  13071. 2004-08-15 17:20 ravindra
  13072. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  13073. control and also dos2unix format.
  13074. 2004-08-15 17:13 ravindra
  13075. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  13076. ToolBarButtonClickEventArgs.cs,
  13077. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  13078. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  13079. 2004-08-15 15:31 pbartok
  13080. * ButtonBase.cs:
  13081. - First (mostly) working version
  13082. 2004-08-13 16:15 pbartok
  13083. * Control.cs:
  13084. - Fixed Anchor default
  13085. 2004-08-13 15:43 pbartok
  13086. * Control.cs:
  13087. - Changed GetCursorPos signature
  13088. 2004-08-13 15:42 pbartok
  13089. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  13090. - Changed signature for GetCursorPos
  13091. 2004-08-13 15:25 pbartok
  13092. * XplatUIX11.cs:
  13093. - Cleanup
  13094. - Fixed resizing/exposure handling
  13095. 2004-08-13 15:22 jordi
  13096. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  13097. with tickposition
  13098. 2004-08-13 14:55 jordi
  13099. * TrackBar.cs: change from wndproc to events
  13100. 2004-08-13 13:00 jordi
  13101. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  13102. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  13103. 2004-08-13 12:53 pbartok
  13104. * XplatUIWin32.cs:
  13105. - Changed GetWindowPos to also provide client area size
  13106. - Fixed broken prototypes for several win32 functions
  13107. 2004-08-13 12:53 pbartok
  13108. * XplatUI.cs, XplatUIDriver.cs:
  13109. - Changed GetWindowPos to also provide client area size
  13110. 2004-08-13 12:52 pbartok
  13111. * XplatUIX11.cs:
  13112. - Added generation of WM_POSCHANGED
  13113. - Changed GetWindowPos to also provide client area size
  13114. 2004-08-13 12:52 pbartok
  13115. * Control.cs:
  13116. - Added Dispose() and destructor
  13117. - Fixed resizing and bounds calculation
  13118. - Fixed Layout
  13119. - Added memory savings for invisible windows
  13120. 2004-08-13 12:46 jordi
  13121. * TrackBar.cs: adds timer and grap window
  13122. 2004-08-13 10:25 jackson
  13123. * Timer.cs: SWF Timer
  13124. 2004-08-12 16:59 pbartok
  13125. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  13126. - Implemented method to get current mouse position
  13127. 2004-08-12 14:29 jordi
  13128. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  13129. enhancement, fix mouse problems, highli thumb, etc
  13130. 2004-08-12 13:31 pbartok
  13131. * Control.cs:
  13132. - Fixed Anchoring bugs
  13133. 2004-08-12 13:01 jackson
  13134. * StatusBar.cs: Don't forget things
  13135. 2004-08-12 12:54 jackson
  13136. * ThemeWin32Classic.cs: Handle owner draw status bars
  13137. 2004-08-12 12:54 jackson
  13138. * StatusBar.cs: Implement missing properties, events, and methods.
  13139. Handle mouse clicking
  13140. 2004-08-12 10:19 jackson
  13141. * StatusBarPanelClickEventArgs.cs,
  13142. StatusBarPanelClickEventHandler.cs: Classes for handling status
  13143. bar panel click events
  13144. 2004-08-12 10:10 jackson
  13145. * Control.cs: Add missing properties
  13146. 2004-08-12 09:46 pbartok
  13147. * BindingsManagerBase.cs:
  13148. - Name changed to BindingManagerBase.cs
  13149. 2004-08-12 09:25 jordi
  13150. * ScrollableControl.cs: calls ctrlbase instead of exeception
  13151. 2004-08-11 16:28 pbartok
  13152. * InputLanguageChangingEventArgs.cs:
  13153. - Never check in before compiling. Fixes the last check-in
  13154. 2004-08-11 16:26 pbartok
  13155. * InputLanguageChangingEventArgs.cs:
  13156. - More signature fixes
  13157. 2004-08-11 16:20 pbartok
  13158. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  13159. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  13160. ImageListStreamer.cs, InputLanguage.cs,
  13161. InputLanguageChangedEventArgs.cs,
  13162. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  13163. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  13164. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  13165. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  13166. - Signature fixes
  13167. 2004-08-11 16:16 pbartok
  13168. * Application.cs:
  13169. - Fixed Signature
  13170. - Added .Net 1.1 method
  13171. 2004-08-11 15:25 pbartok
  13172. * SWF.csproj:
  13173. - Fixed BindingManagerBase.cs filename
  13174. 2004-08-11 15:22 pbartok
  13175. * BindingManagerBase.cs:
  13176. - Was checked in with wrong filename
  13177. 2004-08-11 14:50 pbartok
  13178. * SWF.csproj:
  13179. - Updated
  13180. 2004-08-11 13:41 jordi
  13181. * XplatUIWin32.cs: Fixes ClientRect
  13182. 2004-08-11 13:19 pbartok
  13183. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  13184. XplatUIX11.cs:
  13185. - We had SetWindowPos and MoveWindow to set window positions and
  13186. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  13187. keep SetWindowPos as matching counterpart
  13188. - Added some X11 sanity checking
  13189. 2004-08-11 12:59 pbartok
  13190. * Control.cs:
  13191. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  13192. (It seems that SetBounds is just a front for SetBoundsCore and
  13193. SetBoundsCore updates the underlying window system and
  13194. UpdateBounds is responsible for updating the variables associated
  13195. with the Control and sending the events)
  13196. - Major cleanup of Size handling; we now have two sizes, client_size
  13197. and bounds. Bounds defines the window with decorations, client_size
  13198. without them.
  13199. 2004-08-11 12:55 pbartok
  13200. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  13201. - Added method to calculate difference between decorated window and
  13202. raw client area
  13203. 2004-08-11 12:54 pbartok
  13204. * Label.cs:
  13205. - Forcing redraw on resize
  13206. 2004-08-11 11:43 pbartok
  13207. * ImageList.cs:
  13208. - Removed disposing of the actual images when the list is disposed
  13209. 2004-08-11 09:13 pbartok
  13210. * Control.cs:
  13211. - Now properly reparents windows
  13212. 2004-08-11 08:37 pbartok
  13213. * Control.cs:
  13214. - Duh!
  13215. 2004-08-11 07:47 pbartok
  13216. * Control.cs:
  13217. - Rewrote the collection stuff. Might not be as fast now, not
  13218. keeping the number of children around and accessible directly, but
  13219. it's more straightforward
  13220. 2004-08-11 07:44 pbartok
  13221. * AccessibleObject.cs:
  13222. - Fixed to match ControlCollection rewrite
  13223. 2004-08-11 07:43 pbartok
  13224. * ImageList.cs:
  13225. - Added missing creation of the collection list
  13226. 2004-08-10 20:08 jackson
  13227. * StatusBar.cs: Get the paint message from WndProc
  13228. 2004-08-10 19:31 jackson
  13229. * ThemeWin32Classic.cs: Create Brushes as little as possible
  13230. 2004-08-10 19:20 jackson
  13231. * UICues.cs: Add Flags attribute
  13232. 2004-08-10 19:19 jackson
  13233. * StatusBarPanel.cs: Signature cleanup
  13234. 2004-08-10 19:10 jackson
  13235. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  13236. Initial implementation of status bar item drawing
  13237. 2004-08-10 17:27 jordi
  13238. * TrackBar.cs: add missing methods, properties, and restructure to
  13239. hide extra ones
  13240. 2004-08-10 16:24 jackson
  13241. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  13242. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  13243. attribute
  13244. 2004-08-10 13:21 jordi
  13245. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  13246. enhancements and standarize on win colors defaults
  13247. 2004-08-10 12:52 jackson
  13248. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  13249. ThemeWin32Classic.cs: Implement DrawItem functionality
  13250. 2004-08-10 12:47 jordi
  13251. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  13252. 2004-08-10 12:32 jordi
  13253. * Control.cs: throw ontextchange event
  13254. 2004-08-10 11:43 pbartok
  13255. * Control.cs:
  13256. - Added more to the still unfinished Dock/Anchor layout code
  13257. 2004-08-10 11:39 pbartok
  13258. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  13259. - Added GetWindowPos method
  13260. 2004-08-10 11:36 pbartok
  13261. * XplatUIWin32.cs:
  13262. - Implemented several methods
  13263. 2004-08-10 09:47 jackson
  13264. * TrackBar.cs: Allow control to handle buffering
  13265. 2004-08-10 09:41 jackson
  13266. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  13267. 2004-08-10 09:24 jackson
  13268. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  13269. 2004-08-10 09:09 jackson
  13270. * StatusBar.cs: Let Control handle all the buffering.
  13271. 2004-08-10 09:08 jackson
  13272. * Control.cs: Control will now handle the buffering code, so each
  13273. control does not have to implement this.
  13274. 2004-08-10 08:34 jackson
  13275. * XplatUIDriver.cs: Use default colors from the theme
  13276. 2004-08-09 17:12 pbartok
  13277. * ImageList.cs:
  13278. - Fixed several bugs Ravindra pointed out
  13279. 2004-08-09 16:11 pbartok
  13280. * Control.cs:
  13281. - Added incomplete dock layout code
  13282. - Added support for mouse wheel
  13283. 2004-08-09 16:09 pbartok
  13284. * XplatUIX11.cs:
  13285. - Added handling for middle and right mousebutton
  13286. - Added handling for mouse wheel
  13287. - Added handling for key state and mouse state and position
  13288. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  13289. messages
  13290. 2004-08-09 15:40 jackson
  13291. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  13292. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  13293. checkin
  13294. 2004-08-09 15:37 jackson
  13295. * StatusBar.cs: Initial implementation of StatusBar
  13296. 2004-08-09 15:36 jackson
  13297. * ITheme.cs: Add support for drawing status bar and getting status
  13298. bar item sizes
  13299. 2004-08-09 15:35 pbartok
  13300. * MouseButtons.cs:
  13301. - Fixed values
  13302. 2004-08-09 15:34 jackson
  13303. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  13304. status bar item sizes
  13305. 2004-08-09 15:21 jackson
  13306. * ThemeWin32Classic.cs: Use known colors for default control
  13307. colours
  13308. 2004-08-09 15:12 jackson
  13309. * ThemeWin32Classic.cs: Make the default font static, it is static
  13310. in control so this doesn't change functionality and creating fonts
  13311. is sloooooow.
  13312. 2004-08-09 14:56 pbartok
  13313. * X11Structs.cs:
  13314. - Added GrabMode enum
  13315. 2004-08-09 14:55 pbartok
  13316. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  13317. - Removed Run method, was only required for initial development
  13318. 2004-08-09 14:51 pbartok
  13319. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  13320. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  13321. capture
  13322. 2004-08-09 13:48 pbartok
  13323. * XplatUIX11.cs:
  13324. - Fixed default sizing for child windows
  13325. 2004-08-09 12:56 pbartok
  13326. * XplatUIX11.cs:
  13327. - Added generation of WM_DESTROY message
  13328. - Added handling of window manager induced shutdown
  13329. 2004-08-09 11:31 jackson
  13330. * ThemeWin32Classic.cs: New names for control properties
  13331. 2004-08-09 11:25 jackson
  13332. * Control.cs: Use new color names
  13333. 2004-08-09 11:02 jackson
  13334. * XplatUI.cs: Get default window properties from the theme
  13335. 2004-08-09 11:01 jackson
  13336. * ITheme.cs: The theme engine now controls default window
  13337. properties
  13338. 2004-08-09 11:00 jackson
  13339. * ThemeWin32Classic.cs: Add default window color properties
  13340. 2004-08-09 10:17 jackson
  13341. * ThemeWin32Classic.cs: Use correct default back color
  13342. 2004-08-09 10:05 jackson
  13343. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  13344. the theme now.
  13345. 2004-08-09 09:56 jackson
  13346. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  13347. 2004-08-09 09:54 jackson
  13348. * Control.cs: Get default properties from the theme.
  13349. 2004-08-09 09:53 jackson
  13350. * ITheme.cs: Themes now handle default control properties
  13351. 2004-08-09 09:53 jackson
  13352. * ThemeWin32Classic.cs: Themes now handle default control
  13353. properties so coloring will be consistent
  13354. 2004-08-08 16:54 jordi
  13355. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  13356. 2004-08-08 15:08 jordi
  13357. * XplatUIX11.cs: fixes keyboard crash
  13358. 2004-08-08 13:47 jordi
  13359. * Label.cs: add cvs header info
  13360. 2004-08-08 12:09 jackson
  13361. * ThemeWin32Classic.cs: Add pen_buttonface
  13362. 2004-08-08 11:52 jordi
  13363. * Label.cs, LinkLabel.cs: [no log message]
  13364. 2004-08-08 11:34 jordi
  13365. * ThemeWin32Classic.cs: Use Windows Standard Colours
  13366. 2004-08-07 17:32 jordi
  13367. * TrackBar.cs: throw exceptions of invalid enums values
  13368. 2004-08-07 17:31 jordi
  13369. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  13370. draw method name
  13371. 2004-08-07 16:56 jackson
  13372. * HorizontalAlignment.cs: Initial checkin
  13373. 2004-08-07 13:16 jordi
  13374. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  13375. methods
  13376. 2004-08-07 13:05 jordi
  13377. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  13378. GetSysColor defines
  13379. 2004-08-06 18:01 pbartok
  13380. * ThemeWin32Classic.cs:
  13381. - Fixed some rounding issues with float/int
  13382. 2004-08-06 18:00 jackson
  13383. * DockStyle.cs, AnchorStyles.cs:
  13384. Add flags and serializable attributes.
  13385. 2004-08-06 17:46 pbartok
  13386. * XplatUIX11.cs:
  13387. - Implemented GetParent
  13388. 2004-08-06 17:18 pbartok
  13389. * TrackBar.cs:
  13390. - Fixed some rounding issues with float/int
  13391. 2004-08-06 17:17 pbartok
  13392. * X11Structs.cs, XplatUIX11.cs:
  13393. - Fixed Refresh and Invalidate
  13394. 2004-08-06 15:30 pbartok
  13395. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  13396. - Fixed recursive loop when resizing
  13397. - Improved/fixed redrawing on expose messages
  13398. 2004-08-06 09:53 jordi
  13399. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  13400. keyboard navigation
  13401. 2004-08-06 08:02 pbartok
  13402. * X11Structs.cs, XplatUIX11.cs:
  13403. - Fixed reparenting
  13404. - Fixed window border creation
  13405. 2004-08-05 15:38 pbartok
  13406. * XplatUIX11.cs:
  13407. - Attempted fix for reparenting problems
  13408. 2004-08-04 15:14 pbartok
  13409. * Control.cs:
  13410. - Fixed Invalidation bug (calculated wrong client area)
  13411. - Added ClientSize setter
  13412. 2004-08-04 15:13 pbartok
  13413. * Form.cs:
  13414. - Added AutoScale properties
  13415. 2004-08-04 15:13 pbartok
  13416. * SWF.csproj:
  13417. - Added latest files
  13418. 2004-08-04 14:11 pbartok
  13419. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  13420. XplatUIX11.cs:
  13421. - Added Invalidate handling
  13422. 2004-08-03 17:09 jordi
  13423. * XplatUIDriver.cs: fixes spelling mistake
  13424. 2004-07-27 09:53 jordi
  13425. * TrackBar.cs: fixes trackbar events, def classname, methods
  13426. signature
  13427. 2004-07-27 09:29 jordi
  13428. * ScrollBar.cs: fixes scrollbar events
  13429. 2004-07-27 04:38 jordi
  13430. * Control.cs: changes to be able to run winforms samples
  13431. 2004-07-26 11:42 jordi
  13432. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  13433. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  13434. 2004-07-26 05:41 jordi
  13435. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  13436. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  13437. implementation
  13438. 2004-07-22 09:22 jordi
  13439. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  13440. check link overlapping, implement events, and fixes
  13441. 2004-07-21 10:28 jordi
  13442. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  13443. 2004-07-21 10:19 jordi
  13444. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  13445. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  13446. LinkLabelLinkClickedEventArgs.cs,
  13447. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  13448. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  13449. implementation
  13450. 2004-07-19 13:09 jordi
  13451. * Control.cs, Label.cs: label control re-written: added missing
  13452. functionlity, events, and properties
  13453. 2004-07-19 10:49 jordi
  13454. * Control.cs: fixes SetBounds logic
  13455. 2004-07-19 01:29 jordi
  13456. * Control.cs: Call RefreshWindow only if the window has created
  13457. 2004-07-15 14:05 pbartok
  13458. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  13459. - Implemented ImageList and ImageList.ImageCollection classes
  13460. - Added ColorDepth enumeration
  13461. - Updated SWF VS.Net project
  13462. 2004-07-15 11:06 jordi
  13463. * XplatUIStructs.cs: added MsgButons enum
  13464. 2004-07-15 11:03 jordi
  13465. * Control.cs: added basic mouse handeling events
  13466. 2004-07-15 03:38 jordi
  13467. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  13468. Vertical TrackBar control implementation
  13469. 2004-07-13 09:33 jordi
  13470. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  13471. 2004-07-13 09:31 jordi
  13472. * Control.cs, Form.cs: commit: new properties and fixes form size
  13473. problems
  13474. 2004-07-09 14:13 miguel
  13475. * ProgressBar.cs: Spelling
  13476. 2004-07-09 11:25 pbartok
  13477. * ProgressBar.cs:
  13478. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  13479. faster
  13480. 2004-07-09 11:17 miguel
  13481. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  13482. * ProgressBar.cs: Fixed spelling for `block'
  13483. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  13484. style guidelines.
  13485. Avoid using the += on rect.X, that exposed a bug in the compiler.
  13486. 2004-07-08 23:21 pbartok
  13487. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  13488. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  13489. BaseCollection.cs, Binding.cs, BindingContext.cs,
  13490. BindingMemberInfo.cs, BindingsCollection.cs,
  13491. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  13492. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  13493. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  13494. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  13495. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  13496. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  13497. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  13498. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  13499. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  13500. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  13501. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  13502. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  13503. InputLanguageChangedEventArgs.cs,
  13504. InputLanguageChangedEventHandler.cs,
  13505. InputLanguageChangingEventArgs.cs,
  13506. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  13507. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  13508. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  13509. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  13510. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  13511. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  13512. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  13513. QueryAccessibilityHelpEventArgs.cs,
  13514. QueryAccessibilityHelpEventHandler.cs,
  13515. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  13516. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  13517. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  13518. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  13519. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  13520. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  13521. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  13522. XplatUIX11.cs, lang.cs:
  13523. - Initial check-in